OSDN Git Service

2008-01-18 Benjamin Kosnik <bkoz@redhat.com>
[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.61 for package-unused version-unused.
4 #
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization.  ##
11 ## --------------------- ##
12
13 # Be more Bourne compatible
14 DUALCASE=1; export DUALCASE # for MKS sh
15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16   emulate sh
17   NULLCMD=:
18   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19   # is contrary to our usage.  Disable this feature.
20   alias -g '${1+"$@"}'='"$@"'
21   setopt NO_GLOB_SUBST
22 else
23   case `(set -o) 2>/dev/null` in
24   *posix*) set -o posix ;;
25 esac
26
27 fi
28
29
30
31
32 # PATH needs CR
33 # Avoid depending upon Character Ranges.
34 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37 as_cr_digits='0123456789'
38 as_cr_alnum=$as_cr_Letters$as_cr_digits
39
40 # The user is always right.
41 if test "${PATH_SEPARATOR+set}" != set; then
42   echo "#! /bin/sh" >conf$$.sh
43   echo  "exit 0"   >>conf$$.sh
44   chmod +x conf$$.sh
45   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
46     PATH_SEPARATOR=';'
47   else
48     PATH_SEPARATOR=:
49   fi
50   rm -f conf$$.sh
51 fi
52
53 # Support unset when possible.
54 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
55   as_unset=unset
56 else
57   as_unset=false
58 fi
59
60
61 # IFS
62 # We need space, tab and new line, in precisely that order.  Quoting is
63 # there to prevent editors from complaining about space-tab.
64 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
65 # splitting by setting IFS to empty value.)
66 as_nl='
67 '
68 IFS=" ""        $as_nl"
69
70 # Find who we are.  Look in the path if we contain no directory separator.
71 case $0 in
72   *[\\/]* ) as_myself=$0 ;;
73   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
74 for as_dir in $PATH
75 do
76   IFS=$as_save_IFS
77   test -z "$as_dir" && as_dir=.
78   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
79 done
80 IFS=$as_save_IFS
81
82      ;;
83 esac
84 # We did not find ourselves, most probably we were run as `sh COMMAND'
85 # in which case we are not to be found in the path.
86 if test "x$as_myself" = x; then
87   as_myself=$0
88 fi
89 if test ! -f "$as_myself"; then
90   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
91   { (exit 1); exit 1; }
92 fi
93
94 # Work around bugs in pre-3.0 UWIN ksh.
95 for as_var in ENV MAIL MAILPATH
96 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
97 done
98 PS1='$ '
99 PS2='> '
100 PS4='+ '
101
102 # NLS nuisances.
103 for as_var in \
104   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
105   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
106   LC_TELEPHONE LC_TIME
107 do
108   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109     eval $as_var=C; export $as_var
110   else
111     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
112   fi
113 done
114
115 # Required to use basename.
116 if expr a : '\(a\)' >/dev/null 2>&1 &&
117    test "X`expr 00001 : '.*\(...\)'`" = X001; then
118   as_expr=expr
119 else
120   as_expr=false
121 fi
122
123 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
124   as_basename=basename
125 else
126   as_basename=false
127 fi
128
129
130 # Name of the executable.
131 as_me=`$as_basename -- "$0" ||
132 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133          X"$0" : 'X\(//\)$' \| \
134          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
135 echo X/"$0" |
136     sed '/^.*\/\([^/][^/]*\)\/*$/{
137             s//\1/
138             q
139           }
140           /^X\/\(\/\/\)$/{
141             s//\1/
142             q
143           }
144           /^X\/\(\/\).*/{
145             s//\1/
146             q
147           }
148           s/.*/./; q'`
149
150 # CDPATH.
151 $as_unset CDPATH
152
153
154 if test "x$CONFIG_SHELL" = x; then
155   if (eval ":") 2>/dev/null; then
156   as_have_required=yes
157 else
158   as_have_required=no
159 fi
160
161   if test $as_have_required = yes &&     (eval ":
162 (as_func_return () {
163   (exit \$1)
164 }
165 as_func_success () {
166   as_func_return 0
167 }
168 as_func_failure () {
169   as_func_return 1
170 }
171 as_func_ret_success () {
172   return 0
173 }
174 as_func_ret_failure () {
175   return 1
176 }
177
178 exitcode=0
179 if as_func_success; then
180   :
181 else
182   exitcode=1
183   echo as_func_success failed.
184 fi
185
186 if as_func_failure; then
187   exitcode=1
188   echo as_func_failure succeeded.
189 fi
190
191 if as_func_ret_success; then
192   :
193 else
194   exitcode=1
195   echo as_func_ret_success failed.
196 fi
197
198 if as_func_ret_failure; then
199   exitcode=1
200   echo as_func_ret_failure succeeded.
201 fi
202
203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
204   :
205 else
206   exitcode=1
207   echo positional parameters were not saved.
208 fi
209
210 test \$exitcode = 0) || { (exit 1); exit 1; }
211
212 (
213   as_lineno_1=\$LINENO
214   as_lineno_2=\$LINENO
215   test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
216   test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
217 ") 2> /dev/null; then
218   :
219 else
220   as_candidate_shells=
221     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
222 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
223 do
224   IFS=$as_save_IFS
225   test -z "$as_dir" && as_dir=.
226   case $as_dir in
227          /*)
228            for as_base in sh bash ksh sh5; do
229              as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
230            done;;
231        esac
232 done
233 IFS=$as_save_IFS
234
235
236       for as_shell in $as_candidate_shells $SHELL; do
237          # Try only shells that exist, to save several forks.
238          if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
239                 { ("$as_shell") 2> /dev/null <<\_ASEOF
240 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
241   emulate sh
242   NULLCMD=:
243   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244   # is contrary to our usage.  Disable this feature.
245   alias -g '${1+"$@"}'='"$@"'
246   setopt NO_GLOB_SUBST
247 else
248   case `(set -o) 2>/dev/null` in
249   *posix*) set -o posix ;;
250 esac
251
252 fi
253
254
255 :
256 _ASEOF
257 }; then
258   CONFIG_SHELL=$as_shell
259                as_have_required=yes
260                if { "$as_shell" 2> /dev/null <<\_ASEOF
261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262   emulate sh
263   NULLCMD=:
264   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
265   # is contrary to our usage.  Disable this feature.
266   alias -g '${1+"$@"}'='"$@"'
267   setopt NO_GLOB_SUBST
268 else
269   case `(set -o) 2>/dev/null` in
270   *posix*) set -o posix ;;
271 esac
272
273 fi
274
275
276 :
277 (as_func_return () {
278   (exit $1)
279 }
280 as_func_success () {
281   as_func_return 0
282 }
283 as_func_failure () {
284   as_func_return 1
285 }
286 as_func_ret_success () {
287   return 0
288 }
289 as_func_ret_failure () {
290   return 1
291 }
292
293 exitcode=0
294 if as_func_success; then
295   :
296 else
297   exitcode=1
298   echo as_func_success failed.
299 fi
300
301 if as_func_failure; then
302   exitcode=1
303   echo as_func_failure succeeded.
304 fi
305
306 if as_func_ret_success; then
307   :
308 else
309   exitcode=1
310   echo as_func_ret_success failed.
311 fi
312
313 if as_func_ret_failure; then
314   exitcode=1
315   echo as_func_ret_failure succeeded.
316 fi
317
318 if ( set x; as_func_ret_success y && test x = "$1" ); then
319   :
320 else
321   exitcode=1
322   echo positional parameters were not saved.
323 fi
324
325 test $exitcode = 0) || { (exit 1); exit 1; }
326
327 (
328   as_lineno_1=$LINENO
329   as_lineno_2=$LINENO
330   test "x$as_lineno_1" != "x$as_lineno_2" &&
331   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
332
333 _ASEOF
334 }; then
335   break
336 fi
337
338 fi
339
340       done
341
342       if test "x$CONFIG_SHELL" != x; then
343   for as_var in BASH_ENV ENV
344         do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
345         done
346         export CONFIG_SHELL
347         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
348 fi
349
350
351     if test $as_have_required = no; then
352   echo This script requires a shell more modern than all the
353       echo shells that I found on your system.  Please install a
354       echo modern shell, or manually run the script under such a
355       echo shell if you do have one.
356       { (exit 1); exit 1; }
357 fi
358
359
360 fi
361
362 fi
363
364
365
366 (eval "as_func_return () {
367   (exit \$1)
368 }
369 as_func_success () {
370   as_func_return 0
371 }
372 as_func_failure () {
373   as_func_return 1
374 }
375 as_func_ret_success () {
376   return 0
377 }
378 as_func_ret_failure () {
379   return 1
380 }
381
382 exitcode=0
383 if as_func_success; then
384   :
385 else
386   exitcode=1
387   echo as_func_success failed.
388 fi
389
390 if as_func_failure; then
391   exitcode=1
392   echo as_func_failure succeeded.
393 fi
394
395 if as_func_ret_success; then
396   :
397 else
398   exitcode=1
399   echo as_func_ret_success failed.
400 fi
401
402 if as_func_ret_failure; then
403   exitcode=1
404   echo as_func_ret_failure succeeded.
405 fi
406
407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
408   :
409 else
410   exitcode=1
411   echo positional parameters were not saved.
412 fi
413
414 test \$exitcode = 0") || {
415   echo No shell found that supports shell functions.
416   echo Please tell autoconf@gnu.org about your system,
417   echo including any error possibly output before this
418   echo message
419 }
420
421
422
423   as_lineno_1=$LINENO
424   as_lineno_2=$LINENO
425   test "x$as_lineno_1" != "x$as_lineno_2" &&
426   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
427
428   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
429   # uniformly replaced by the line number.  The first 'sed' inserts a
430   # line-number line after each line using $LINENO; the second 'sed'
431   # does the real work.  The second script uses 'N' to pair each
432   # line-number line with the line containing $LINENO, and appends
433   # trailing '-' during substitution so that $LINENO is not a special
434   # case at line end.
435   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
436   # scripts with optimization help from Paolo Bonzini.  Blame Lee
437   # E. McMahon (1931-1989) for sed's syntax.  :-)
438   sed -n '
439     p
440     /[$]LINENO/=
441   ' <$as_myself |
442     sed '
443       s/[$]LINENO.*/&-/
444       t lineno
445       b
446       :lineno
447       N
448       :loop
449       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
450       t loop
451       s/-\n.*//
452     ' >$as_me.lineno &&
453   chmod +x "$as_me.lineno" ||
454     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
455    { (exit 1); exit 1; }; }
456
457   # Don't try to exec as it changes $[0], causing all sort of problems
458   # (the dirname of $[0] is not the place where we might find the
459   # original and so on.  Autoconf is especially sensitive to this).
460   . "./$as_me.lineno"
461   # Exit status is that of the last command.
462   exit
463 }
464
465
466 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
467   as_dirname=dirname
468 else
469   as_dirname=false
470 fi
471
472 ECHO_C= ECHO_N= ECHO_T=
473 case `echo -n x` in
474 -n*)
475   case `echo 'x\c'` in
476   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
477   *)   ECHO_C='\c';;
478   esac;;
479 *)
480   ECHO_N='-n';;
481 esac
482
483 if expr a : '\(a\)' >/dev/null 2>&1 &&
484    test "X`expr 00001 : '.*\(...\)'`" = X001; then
485   as_expr=expr
486 else
487   as_expr=false
488 fi
489
490 rm -f conf$$ conf$$.exe conf$$.file
491 if test -d conf$$.dir; then
492   rm -f conf$$.dir/conf$$.file
493 else
494   rm -f conf$$.dir
495   mkdir conf$$.dir
496 fi
497 echo >conf$$.file
498 if ln -s conf$$.file conf$$ 2>/dev/null; then
499   as_ln_s='ln -s'
500   # ... but there are two gotchas:
501   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
502   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503   # In both cases, we have to default to `cp -p'.
504   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
505     as_ln_s='cp -p'
506 elif ln conf$$.file conf$$ 2>/dev/null; then
507   as_ln_s=ln
508 else
509   as_ln_s='cp -p'
510 fi
511 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
512 rmdir conf$$.dir 2>/dev/null
513
514 if mkdir -p . 2>/dev/null; then
515   as_mkdir_p=:
516 else
517   test -d ./-p && rmdir ./-p
518   as_mkdir_p=false
519 fi
520
521 if test -x / >/dev/null 2>&1; then
522   as_test_x='test -x'
523 else
524   if ls -dL / >/dev/null 2>&1; then
525     as_ls_L_option=L
526   else
527     as_ls_L_option=
528   fi
529   as_test_x='
530     eval sh -c '\''
531       if test -d "$1"; then
532         test -d "$1/.";
533       else
534         case $1 in
535         -*)set "./$1";;
536         esac;
537         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
538         ???[sx]*):;;*)false;;esac;fi
539     '\'' sh
540   '
541 fi
542 as_executable_p=$as_test_x
543
544 # Sed expression to map a string onto a valid CPP name.
545 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
546
547 # Sed expression to map a string onto a valid variable name.
548 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
549
550
551
552
553 # Check that we are running under the correct shell.
554 SHELL=${CONFIG_SHELL-/bin/sh}
555
556 case X$lt_ECHO in
557 X*--fallback-echo)
558   # Remove one level of quotation (which was required for Make).
559   ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
560   ;;
561 esac
562
563 ECHO=${lt_ECHO-echo}
564 if test "X$1" = X--no-reexec; then
565   # Discard the --no-reexec flag, and continue.
566   shift
567 elif test "X$1" = X--fallback-echo; then
568   # Avoid inline document here, it may be left over
569   :
570 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
571   # Yippee, $ECHO works!
572   :
573 else
574   # Restart under the correct shell.
575   exec $SHELL "$0" --no-reexec ${1+"$@"}
576 fi
577
578 if test "X$1" = X--fallback-echo; then
579   # used as fallback echo
580   shift
581   cat <<_LT_EOF
582 $*
583 _LT_EOF
584   exit 0
585 fi
586
587 # The HP-UX ksh and POSIX shell print the target directory to stdout
588 # if CDPATH is set.
589 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
590
591 if test -z "$lt_ECHO"; then
592   if test "X${echo_test_string+set}" != Xset; then
593     # find a string as large as possible, as long as the shell can cope with it
594     for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
595       # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
596       if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
597          { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
598       then
599         break
600       fi
601     done
602   fi
603
604   if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
605      echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
606      test "X$echo_testing_string" = "X$echo_test_string"; then
607     :
608   else
609     # The Solaris, AIX, and Digital Unix default echo programs unquote
610     # backslashes.  This makes it impossible to quote backslashes using
611     #   echo "$something" | sed 's/\\/\\\\/g'
612     #
613     # So, first we look for a working echo in the user's PATH.
614
615     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
616     for dir in $PATH /usr/ucb; do
617       IFS="$lt_save_ifs"
618       if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
619          test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
620          echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
621          test "X$echo_testing_string" = "X$echo_test_string"; then
622         ECHO="$dir/echo"
623         break
624       fi
625     done
626     IFS="$lt_save_ifs"
627
628     if test "X$ECHO" = Xecho; then
629       # We didn't find a better echo, so look for alternatives.
630       if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
631          echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
632          test "X$echo_testing_string" = "X$echo_test_string"; then
633         # This shell has a builtin print -r that does the trick.
634         ECHO='print -r'
635       elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
636            test "X$CONFIG_SHELL" != X/bin/ksh; then
637         # If we have ksh, try running configure again with it.
638         ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
639         export ORIGINAL_CONFIG_SHELL
640         CONFIG_SHELL=/bin/ksh
641         export CONFIG_SHELL
642         exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
643       else
644         # Try using printf.
645         ECHO='printf %s\n'
646         if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
647            echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
648            test "X$echo_testing_string" = "X$echo_test_string"; then
649           # Cool, printf works
650           :
651         elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
652              test "X$echo_testing_string" = 'X\t' &&
653              echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
654              test "X$echo_testing_string" = "X$echo_test_string"; then
655           CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
656           export CONFIG_SHELL
657           SHELL="$CONFIG_SHELL"
658           export SHELL
659           ECHO="$CONFIG_SHELL $0 --fallback-echo"
660         elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
661              test "X$echo_testing_string" = 'X\t' &&
662              echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
663              test "X$echo_testing_string" = "X$echo_test_string"; then
664           ECHO="$CONFIG_SHELL $0 --fallback-echo"
665         else
666           # maybe with a smaller string...
667           prev=:
668
669           for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
670             if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
671             then
672               break
673             fi
674             prev="$cmd"
675           done
676
677           if test "$prev" != 'sed 50q "$0"'; then
678             echo_test_string=`eval $prev`
679             export echo_test_string
680             exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
681           else
682             # Oops.  We lost completely, so just stick with echo.
683             ECHO=echo
684           fi
685         fi
686       fi
687     fi
688   fi
689 fi
690
691 # Copy echo and quote the copy suitably for passing to libtool from
692 # the Makefile, instead of quoting the original, which is used later.
693 lt_ECHO=$ECHO
694 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
695    lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
696 fi
697
698
699
700
701 exec 7<&0 </dev/null 6>&1
702
703 # Name of the host.
704 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
705 # so uname gets run too.
706 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
707
708 #
709 # Initializations.
710 #
711 ac_default_prefix=/usr/local
712 ac_clean_files=
713 ac_config_libobj_dir=.
714 LIBOBJS=
715 cross_compiling=no
716 subdirs=
717 MFLAGS=
718 MAKEFLAGS=
719 SHELL=${CONFIG_SHELL-/bin/sh}
720
721 # Identity of this package.
722 PACKAGE_NAME='package-unused'
723 PACKAGE_TARNAME='libstdc++'
724 PACKAGE_VERSION='version-unused'
725 PACKAGE_STRING='package-unused version-unused'
726 PACKAGE_BUGREPORT=''
727
728 ac_unique_file="src/ios.cc"
729 # Factoring default headers for most tests.
730 ac_includes_default="\
731 #include <stdio.h>
732 #ifdef HAVE_SYS_TYPES_H
733 # include <sys/types.h>
734 #endif
735 #ifdef HAVE_SYS_STAT_H
736 # include <sys/stat.h>
737 #endif
738 #ifdef STDC_HEADERS
739 # include <stdlib.h>
740 # include <stddef.h>
741 #else
742 # ifdef HAVE_STDLIB_H
743 #  include <stdlib.h>
744 # endif
745 #endif
746 #ifdef HAVE_STRING_H
747 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
748 #  include <memory.h>
749 # endif
750 # include <string.h>
751 #endif
752 #ifdef HAVE_STRINGS_H
753 # include <strings.h>
754 #endif
755 #ifdef HAVE_INTTYPES_H
756 # include <inttypes.h>
757 #endif
758 #ifdef HAVE_STDINT_H
759 # include <stdint.h>
760 #endif
761 #ifdef HAVE_UNISTD_H
762 # include <unistd.h>
763 #endif"
764
765 ac_subst_vars='SHELL
766 PATH_SEPARATOR
767 PACKAGE_NAME
768 PACKAGE_TARNAME
769 PACKAGE_VERSION
770 PACKAGE_STRING
771 PACKAGE_BUGREPORT
772 exec_prefix
773 prefix
774 program_transform_name
775 bindir
776 sbindir
777 libexecdir
778 datarootdir
779 datadir
780 sysconfdir
781 sharedstatedir
782 localstatedir
783 includedir
784 oldincludedir
785 docdir
786 infodir
787 htmldir
788 dvidir
789 pdfdir
790 psdir
791 libdir
792 localedir
793 mandir
794 DEFS
795 ECHO_C
796 ECHO_N
797 ECHO_T
798 LIBS
799 build_alias
800 host_alias
801 target_alias
802 libtool_VERSION
803 multi_basedir
804 build
805 build_cpu
806 build_vendor
807 build_os
808 host
809 host_cpu
810 host_vendor
811 host_os
812 target
813 target_cpu
814 target_vendor
815 target_os
816 INSTALL_PROGRAM
817 INSTALL_SCRIPT
818 INSTALL_DATA
819 am__isrc
820 CYGPATH_W
821 PACKAGE
822 VERSION
823 ACLOCAL
824 AUTOCONF
825 AUTOMAKE
826 AUTOHEADER
827 MAKEINFO
828 install_sh
829 STRIP
830 INSTALL_STRIP_PROGRAM
831 mkdir_p
832 AWK
833 SET_MAKE
834 am__leading_dot
835 AMTAR
836 am__tar
837 am__untar
838 glibcxx_builddir
839 glibcxx_srcdir
840 toplevel_srcdir
841 CC
842 CFLAGS
843 LDFLAGS
844 CPPFLAGS
845 ac_ct_CC
846 EXEEXT
847 OBJEXT
848 CXX
849 CXXFLAGS
850 ac_ct_CXX
851 LN_S
852 AS
853 AR
854 RANLIB
855 MAINTAINER_MODE_TRUE
856 MAINTAINER_MODE_FALSE
857 MAINT
858 CPP
859 GREP
860 EGREP
861 LIBTOOL
862 SED
863 FGREP
864 LD
865 DUMPBIN
866 ac_ct_DUMPBIN
867 NM
868 lt_ECHO
869 CXXCPP
870 enable_shared
871 enable_static
872 GLIBCXX_HOSTED_TRUE
873 GLIBCXX_HOSTED_FALSE
874 GLIBCXX_BUILD_PCH_TRUE
875 GLIBCXX_BUILD_PCH_FALSE
876 glibcxx_PCHFLAGS
877 CSTDIO_H
878 BASIC_FILE_H
879 BASIC_FILE_CC
880 check_msgfmt
881 glibcxx_MOFILES
882 glibcxx_POFILES
883 glibcxx_localedir
884 USE_NLS
885 CLOCALE_H
886 CMESSAGES_H
887 CCODECVT_CC
888 CCOLLATE_CC
889 CCTYPE_CC
890 CMESSAGES_CC
891 CMONEY_CC
892 CNUMERIC_CC
893 CTIME_H
894 CTIME_CC
895 CLOCALE_CC
896 CLOCALE_INTERNAL_H
897 ALLOCATOR_H
898 ALLOCATOR_NAME
899 C_INCLUDE_DIR
900 GLIBCXX_C_HEADERS_C_TRUE
901 GLIBCXX_C_HEADERS_C_FALSE
902 GLIBCXX_C_HEADERS_C_STD_TRUE
903 GLIBCXX_C_HEADERS_C_STD_FALSE
904 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
905 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
906 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
907 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
908 GLIBCXX_C_HEADERS_EXTRA_TRUE
909 GLIBCXX_C_HEADERS_EXTRA_FALSE
910 DEBUG_FLAGS
911 GLIBCXX_BUILD_DEBUG_TRUE
912 GLIBCXX_BUILD_DEBUG_FALSE
913 ENABLE_PARALLEL_TRUE
914 ENABLE_PARALLEL_FALSE
915 EXTRA_CXX_FLAGS
916 glibcxx_thread_h
917 WERROR
918 SECTION_FLAGS
919 SECTION_LDFLAGS
920 OPT_LDFLAGS
921 LIBMATHOBJS
922 LIBICONV
923 LTLIBICONV
924 SYMVER_FILE
925 port_specific_symbol_files
926 ENABLE_SYMVERS_TRUE
927 ENABLE_SYMVERS_FALSE
928 ENABLE_SYMVERS_GNU_TRUE
929 ENABLE_SYMVERS_GNU_FALSE
930 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
931 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
932 ENABLE_SYMVERS_DARWIN_TRUE
933 ENABLE_SYMVERS_DARWIN_FALSE
934 ENABLE_VISIBILITY_TRUE
935 ENABLE_VISIBILITY_FALSE
936 GLIBCXX_LDBL_COMPAT_TRUE
937 GLIBCXX_LDBL_COMPAT_FALSE
938 baseline_dir
939 ATOMICITY_SRCDIR
940 ATOMIC_WORD_SRCDIR
941 ATOMIC_FLAGS
942 CPU_DEFINES_SRCDIR
943 ABI_TWEAKS_SRCDIR
944 OS_INC_SRCDIR
945 ERROR_CONSTANTS_SRCDIR
946 glibcxx_prefixdir
947 gxx_include_dir
948 glibcxx_toolexecdir
949 glibcxx_toolexeclibdir
950 GLIBCXX_INCLUDES
951 TOPLEVEL_INCLUDES
952 OPTIMIZE_CXXFLAGS
953 WARN_FLAGS
954 LIBSUPCXX_PICFLAGS
955 LIBOBJS
956 LTLIBOBJS'
957 ac_subst_files=''
958       ac_precious_vars='build_alias
959 host_alias
960 target_alias
961 CPP
962 CPPFLAGS
963 CXX
964 CXXFLAGS
965 LDFLAGS
966 LIBS
967 CCC
968 CXXCPP'
969
970
971 # Initialize some variables set by options.
972 ac_init_help=
973 ac_init_version=false
974 # The variables have the same names as the options, with
975 # dashes changed to underlines.
976 cache_file=/dev/null
977 exec_prefix=NONE
978 no_create=
979 no_recursion=
980 prefix=NONE
981 program_prefix=NONE
982 program_suffix=NONE
983 program_transform_name=s,x,x,
984 silent=
985 site=
986 srcdir=
987 verbose=
988 x_includes=NONE
989 x_libraries=NONE
990
991 # Installation directory options.
992 # These are left unexpanded so users can "make install exec_prefix=/foo"
993 # and all the variables that are supposed to be based on exec_prefix
994 # by default will actually change.
995 # Use braces instead of parens because sh, perl, etc. also accept them.
996 # (The list follows the same order as the GNU Coding Standards.)
997 bindir='${exec_prefix}/bin'
998 sbindir='${exec_prefix}/sbin'
999 libexecdir='${exec_prefix}/libexec'
1000 datarootdir='${prefix}/share'
1001 datadir='${datarootdir}'
1002 sysconfdir='${prefix}/etc'
1003 sharedstatedir='${prefix}/com'
1004 localstatedir='${prefix}/var'
1005 includedir='${prefix}/include'
1006 oldincludedir='/usr/include'
1007 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1008 infodir='${datarootdir}/info'
1009 htmldir='${docdir}'
1010 dvidir='${docdir}'
1011 pdfdir='${docdir}'
1012 psdir='${docdir}'
1013 libdir='${exec_prefix}/lib'
1014 localedir='${datarootdir}/locale'
1015 mandir='${datarootdir}/man'
1016
1017 ac_prev=
1018 ac_dashdash=
1019 for ac_option
1020 do
1021   # If the previous option needs an argument, assign it.
1022   if test -n "$ac_prev"; then
1023     eval $ac_prev=\$ac_option
1024     ac_prev=
1025     continue
1026   fi
1027
1028   case $ac_option in
1029   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1030   *)    ac_optarg=yes ;;
1031   esac
1032
1033   # Accept the important Cygnus configure options, so we can diagnose typos.
1034
1035   case $ac_dashdash$ac_option in
1036   --)
1037     ac_dashdash=yes ;;
1038
1039   -bindir | --bindir | --bindi | --bind | --bin | --bi)
1040     ac_prev=bindir ;;
1041   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1042     bindir=$ac_optarg ;;
1043
1044   -build | --build | --buil | --bui | --bu)
1045     ac_prev=build_alias ;;
1046   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1047     build_alias=$ac_optarg ;;
1048
1049   -cache-file | --cache-file | --cache-fil | --cache-fi \
1050   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1051     ac_prev=cache_file ;;
1052   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1053   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1054     cache_file=$ac_optarg ;;
1055
1056   --config-cache | -C)
1057     cache_file=config.cache ;;
1058
1059   -datadir | --datadir | --datadi | --datad)
1060     ac_prev=datadir ;;
1061   -datadir=* | --datadir=* | --datadi=* | --datad=*)
1062     datadir=$ac_optarg ;;
1063
1064   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1065   | --dataroo | --dataro | --datar)
1066     ac_prev=datarootdir ;;
1067   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1068   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1069     datarootdir=$ac_optarg ;;
1070
1071   -disable-* | --disable-*)
1072     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1073     # Reject names that are not valid shell variable names.
1074     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1075       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1076    { (exit 1); exit 1; }; }
1077     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1078     eval enable_$ac_feature=no ;;
1079
1080   -docdir | --docdir | --docdi | --doc | --do)
1081     ac_prev=docdir ;;
1082   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1083     docdir=$ac_optarg ;;
1084
1085   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1086     ac_prev=dvidir ;;
1087   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1088     dvidir=$ac_optarg ;;
1089
1090   -enable-* | --enable-*)
1091     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1092     # Reject names that are not valid shell variable names.
1093     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1094       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1095    { (exit 1); exit 1; }; }
1096     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1097     eval enable_$ac_feature=\$ac_optarg ;;
1098
1099   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1100   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1101   | --exec | --exe | --ex)
1102     ac_prev=exec_prefix ;;
1103   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1104   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1105   | --exec=* | --exe=* | --ex=*)
1106     exec_prefix=$ac_optarg ;;
1107
1108   -gas | --gas | --ga | --g)
1109     # Obsolete; use --with-gas.
1110     with_gas=yes ;;
1111
1112   -help | --help | --hel | --he | -h)
1113     ac_init_help=long ;;
1114   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1115     ac_init_help=recursive ;;
1116   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1117     ac_init_help=short ;;
1118
1119   -host | --host | --hos | --ho)
1120     ac_prev=host_alias ;;
1121   -host=* | --host=* | --hos=* | --ho=*)
1122     host_alias=$ac_optarg ;;
1123
1124   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1125     ac_prev=htmldir ;;
1126   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1127   | --ht=*)
1128     htmldir=$ac_optarg ;;
1129
1130   -includedir | --includedir | --includedi | --included | --include \
1131   | --includ | --inclu | --incl | --inc)
1132     ac_prev=includedir ;;
1133   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1134   | --includ=* | --inclu=* | --incl=* | --inc=*)
1135     includedir=$ac_optarg ;;
1136
1137   -infodir | --infodir | --infodi | --infod | --info | --inf)
1138     ac_prev=infodir ;;
1139   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1140     infodir=$ac_optarg ;;
1141
1142   -libdir | --libdir | --libdi | --libd)
1143     ac_prev=libdir ;;
1144   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1145     libdir=$ac_optarg ;;
1146
1147   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1148   | --libexe | --libex | --libe)
1149     ac_prev=libexecdir ;;
1150   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1151   | --libexe=* | --libex=* | --libe=*)
1152     libexecdir=$ac_optarg ;;
1153
1154   -localedir | --localedir | --localedi | --localed | --locale)
1155     ac_prev=localedir ;;
1156   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1157     localedir=$ac_optarg ;;
1158
1159   -localstatedir | --localstatedir | --localstatedi | --localstated \
1160   | --localstate | --localstat | --localsta | --localst | --locals)
1161     ac_prev=localstatedir ;;
1162   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1163   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1164     localstatedir=$ac_optarg ;;
1165
1166   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1167     ac_prev=mandir ;;
1168   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1169     mandir=$ac_optarg ;;
1170
1171   -nfp | --nfp | --nf)
1172     # Obsolete; use --without-fp.
1173     with_fp=no ;;
1174
1175   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1176   | --no-cr | --no-c | -n)
1177     no_create=yes ;;
1178
1179   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1180   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1181     no_recursion=yes ;;
1182
1183   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1184   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1185   | --oldin | --oldi | --old | --ol | --o)
1186     ac_prev=oldincludedir ;;
1187   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1188   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1189   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1190     oldincludedir=$ac_optarg ;;
1191
1192   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1193     ac_prev=prefix ;;
1194   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1195     prefix=$ac_optarg ;;
1196
1197   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1198   | --program-pre | --program-pr | --program-p)
1199     ac_prev=program_prefix ;;
1200   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1201   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1202     program_prefix=$ac_optarg ;;
1203
1204   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1205   | --program-suf | --program-su | --program-s)
1206     ac_prev=program_suffix ;;
1207   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1208   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1209     program_suffix=$ac_optarg ;;
1210
1211   -program-transform-name | --program-transform-name \
1212   | --program-transform-nam | --program-transform-na \
1213   | --program-transform-n | --program-transform- \
1214   | --program-transform | --program-transfor \
1215   | --program-transfo | --program-transf \
1216   | --program-trans | --program-tran \
1217   | --progr-tra | --program-tr | --program-t)
1218     ac_prev=program_transform_name ;;
1219   -program-transform-name=* | --program-transform-name=* \
1220   | --program-transform-nam=* | --program-transform-na=* \
1221   | --program-transform-n=* | --program-transform-=* \
1222   | --program-transform=* | --program-transfor=* \
1223   | --program-transfo=* | --program-transf=* \
1224   | --program-trans=* | --program-tran=* \
1225   | --progr-tra=* | --program-tr=* | --program-t=*)
1226     program_transform_name=$ac_optarg ;;
1227
1228   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1229     ac_prev=pdfdir ;;
1230   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1231     pdfdir=$ac_optarg ;;
1232
1233   -psdir | --psdir | --psdi | --psd | --ps)
1234     ac_prev=psdir ;;
1235   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1236     psdir=$ac_optarg ;;
1237
1238   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1239   | -silent | --silent | --silen | --sile | --sil)
1240     silent=yes ;;
1241
1242   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1243     ac_prev=sbindir ;;
1244   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1245   | --sbi=* | --sb=*)
1246     sbindir=$ac_optarg ;;
1247
1248   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1249   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1250   | --sharedst | --shareds | --shared | --share | --shar \
1251   | --sha | --sh)
1252     ac_prev=sharedstatedir ;;
1253   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1254   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1255   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1256   | --sha=* | --sh=*)
1257     sharedstatedir=$ac_optarg ;;
1258
1259   -site | --site | --sit)
1260     ac_prev=site ;;
1261   -site=* | --site=* | --sit=*)
1262     site=$ac_optarg ;;
1263
1264   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1265     ac_prev=srcdir ;;
1266   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1267     srcdir=$ac_optarg ;;
1268
1269   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1270   | --syscon | --sysco | --sysc | --sys | --sy)
1271     ac_prev=sysconfdir ;;
1272   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1273   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1274     sysconfdir=$ac_optarg ;;
1275
1276   -target | --target | --targe | --targ | --tar | --ta | --t)
1277     ac_prev=target_alias ;;
1278   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1279     target_alias=$ac_optarg ;;
1280
1281   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1282     verbose=yes ;;
1283
1284   -version | --version | --versio | --versi | --vers | -V)
1285     ac_init_version=: ;;
1286
1287   -with-* | --with-*)
1288     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1289     # Reject names that are not valid shell variable names.
1290     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1291       { echo "$as_me: error: invalid package name: $ac_package" >&2
1292    { (exit 1); exit 1; }; }
1293     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1294     eval with_$ac_package=\$ac_optarg ;;
1295
1296   -without-* | --without-*)
1297     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1298     # Reject names that are not valid shell variable names.
1299     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1300       { echo "$as_me: error: invalid package name: $ac_package" >&2
1301    { (exit 1); exit 1; }; }
1302     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1303     eval with_$ac_package=no ;;
1304
1305   --x)
1306     # Obsolete; use --with-x.
1307     with_x=yes ;;
1308
1309   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1310   | --x-incl | --x-inc | --x-in | --x-i)
1311     ac_prev=x_includes ;;
1312   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1313   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1314     x_includes=$ac_optarg ;;
1315
1316   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1317   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1318     ac_prev=x_libraries ;;
1319   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1320   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1321     x_libraries=$ac_optarg ;;
1322
1323   -*) { echo "$as_me: error: unrecognized option: $ac_option
1324 Try \`$0 --help' for more information." >&2
1325    { (exit 1); exit 1; }; }
1326     ;;
1327
1328   *=*)
1329     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1330     # Reject names that are not valid shell variable names.
1331     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1332       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1333    { (exit 1); exit 1; }; }
1334     eval $ac_envvar=\$ac_optarg
1335     export $ac_envvar ;;
1336
1337   *)
1338     # FIXME: should be removed in autoconf 3.0.
1339     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1340     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1341       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1342     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1343     ;;
1344
1345   esac
1346 done
1347
1348 if test -n "$ac_prev"; then
1349   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1350   { echo "$as_me: error: missing argument to $ac_option" >&2
1351    { (exit 1); exit 1; }; }
1352 fi
1353
1354 # Be sure to have absolute directory names.
1355 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1356                 datadir sysconfdir sharedstatedir localstatedir includedir \
1357                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1358                 libdir localedir mandir
1359 do
1360   eval ac_val=\$$ac_var
1361   case $ac_val in
1362     [\\/$]* | ?:[\\/]* )  continue;;
1363     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1364   esac
1365   { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1366    { (exit 1); exit 1; }; }
1367 done
1368
1369 # There might be people who depend on the old broken behavior: `$host'
1370 # used to hold the argument of --host etc.
1371 # FIXME: To remove some day.
1372 build=$build_alias
1373 host=$host_alias
1374 target=$target_alias
1375
1376 # FIXME: To remove some day.
1377 if test "x$host_alias" != x; then
1378   if test "x$build_alias" = x; then
1379     cross_compiling=maybe
1380     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1381     If a cross compiler is detected then cross compile mode will be used." >&2
1382   elif test "x$build_alias" != "x$host_alias"; then
1383     cross_compiling=yes
1384   fi
1385 fi
1386
1387 ac_tool_prefix=
1388 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1389
1390 test "$silent" = yes && exec 6>/dev/null
1391
1392
1393 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1394 ac_ls_di=`ls -di .` &&
1395 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1396   { echo "$as_me: error: Working directory cannot be determined" >&2
1397    { (exit 1); exit 1; }; }
1398 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1399   { echo "$as_me: error: pwd does not report name of working directory" >&2
1400    { (exit 1); exit 1; }; }
1401
1402
1403 # Find the source files, if location was not specified.
1404 if test -z "$srcdir"; then
1405   ac_srcdir_defaulted=yes
1406   # Try the directory containing this script, then the parent directory.
1407   ac_confdir=`$as_dirname -- "$0" ||
1408 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1409          X"$0" : 'X\(//\)[^/]' \| \
1410          X"$0" : 'X\(//\)$' \| \
1411          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1412 echo X"$0" |
1413     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1414             s//\1/
1415             q
1416           }
1417           /^X\(\/\/\)[^/].*/{
1418             s//\1/
1419             q
1420           }
1421           /^X\(\/\/\)$/{
1422             s//\1/
1423             q
1424           }
1425           /^X\(\/\).*/{
1426             s//\1/
1427             q
1428           }
1429           s/.*/./; q'`
1430   srcdir=$ac_confdir
1431   if test ! -r "$srcdir/$ac_unique_file"; then
1432     srcdir=..
1433   fi
1434 else
1435   ac_srcdir_defaulted=no
1436 fi
1437 if test ! -r "$srcdir/$ac_unique_file"; then
1438   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1439   { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1440    { (exit 1); exit 1; }; }
1441 fi
1442 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1443 ac_abs_confdir=`(
1444         cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1445    { (exit 1); exit 1; }; }
1446         pwd)`
1447 # When building in place, set srcdir=.
1448 if test "$ac_abs_confdir" = "$ac_pwd"; then
1449   srcdir=.
1450 fi
1451 # Remove unnecessary trailing slashes from srcdir.
1452 # Double slashes in file names in object file debugging info
1453 # mess up M-x gdb in Emacs.
1454 case $srcdir in
1455 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1456 esac
1457 for ac_var in $ac_precious_vars; do
1458   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1459   eval ac_env_${ac_var}_value=\$${ac_var}
1460   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1461   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1462 done
1463
1464 #
1465 # Report the --help message.
1466 #
1467 if test "$ac_init_help" = "long"; then
1468   # Omit some internal or obsolete options to make the list less imposing.
1469   # This message is too long to be a string in the A/UX 3.1 sh.
1470   cat <<_ACEOF
1471 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1472
1473 Usage: $0 [OPTION]... [VAR=VALUE]...
1474
1475 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1476 VAR=VALUE.  See below for descriptions of some of the useful variables.
1477
1478 Defaults for the options are specified in brackets.
1479
1480 Configuration:
1481   -h, --help              display this help and exit
1482       --help=short        display options specific to this package
1483       --help=recursive    display the short help of all the included packages
1484   -V, --version           display version information and exit
1485   -q, --quiet, --silent   do not print \`checking...' messages
1486       --cache-file=FILE   cache test results in FILE [disabled]
1487   -C, --config-cache      alias for \`--cache-file=config.cache'
1488   -n, --no-create         do not create output files
1489       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1490
1491 Installation directories:
1492   --prefix=PREFIX         install architecture-independent files in PREFIX
1493                           [$ac_default_prefix]
1494   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1495                           [PREFIX]
1496
1497 By default, \`make install' will install all the files in
1498 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1499 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1500 for instance \`--prefix=\$HOME'.
1501
1502 For better control, use the options below.
1503
1504 Fine tuning of the installation directories:
1505   --bindir=DIR           user executables [EPREFIX/bin]
1506   --sbindir=DIR          system admin executables [EPREFIX/sbin]
1507   --libexecdir=DIR       program executables [EPREFIX/libexec]
1508   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1509   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1510   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1511   --libdir=DIR           object code libraries [EPREFIX/lib]
1512   --includedir=DIR       C header files [PREFIX/include]
1513   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1514   --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
1515   --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
1516   --infodir=DIR          info documentation [DATAROOTDIR/info]
1517   --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
1518   --mandir=DIR           man documentation [DATAROOTDIR/man]
1519   --docdir=DIR           documentation root [DATAROOTDIR/doc/libstdc++]
1520   --htmldir=DIR          html documentation [DOCDIR]
1521   --dvidir=DIR           dvi documentation [DOCDIR]
1522   --pdfdir=DIR           pdf documentation [DOCDIR]
1523   --psdir=DIR            ps documentation [DOCDIR]
1524 _ACEOF
1525
1526   cat <<\_ACEOF
1527
1528 Program names:
1529   --program-prefix=PREFIX            prepend PREFIX to installed program names
1530   --program-suffix=SUFFIX            append SUFFIX to installed program names
1531   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1532
1533 System types:
1534   --build=BUILD     configure for building on BUILD [guessed]
1535   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1536   --target=TARGET   configure for building compilers for TARGET [HOST]
1537 _ACEOF
1538 fi
1539
1540 if test -n "$ac_init_help"; then
1541   case $ac_init_help in
1542      short | recursive ) echo "Configuration of package-unused version-unused:";;
1543    esac
1544   cat <<\_ACEOF
1545
1546 Optional Features:
1547   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1548   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1549   --enable-multilib       build many library versions (default)
1550   --enable-maintainer-mode  enable make rules and dependencies not useful
1551                           (and sometimes confusing) to the casual installer
1552   --enable-shared[=PKGS]  build shared libraries [default=yes]
1553   --enable-static[=PKGS]  build static libraries [default=yes]
1554   --enable-fast-install[=PKGS]
1555                           optimize for fast installation [default=yes]
1556   --disable-libtool-lock  avoid locking (might break parallel builds)
1557   --disable-hosted-libstdcxx
1558                           only build freestanding C++ runtime support
1559   --enable-sjlj-exceptions
1560                           force use of builtin_setjmp for exceptions
1561                           [default=auto]
1562   --enable-libstdcxx-pch  build pre-compiled libstdc++ headers
1563                           [default=$is_hosted]
1564   --enable-cstdio=PACKAGE use target-specific I/O package [default=stdio]
1565   --enable-clocale[=MODEL]
1566                           use MODEL for target locale package [default=auto]
1567   --enable-nls            use Native Language Support (default)
1568   --enable-libstdcxx-allocator=KIND
1569                           use KIND for target std::allocator base
1570                           [default=auto]
1571   --enable-cheaders=KIND  construct "C" headers for g++ [default=$c_model]
1572   --enable-long-long      enable template specializations for 'long long'
1573                           [default=yes]
1574   --enable-wchar_t        enable template specializations for 'wchar_t'
1575                           [default=yes]
1576   --enable-c99            turns on ISO/IEC 9899:1999 support [default=yes]
1577   --enable-concept-checks use Boost-derived template checks [default=no]
1578   --enable-libstdcxx-debug-flags=FLAGS
1579                           pass compiler FLAGS when building debug library
1580                           [default="-g3 -O0"]
1581   --enable-libstdcxx-debug
1582                           build extra debug library [default=no]
1583   --enable-cxx-flags=FLAGS
1584                           pass compiler FLAGS when building library [default=]
1585   --enable-fully-dynamic-string
1586                           do not put empty strings in per-process static
1587                           memory [default=no]
1588   --enable-tls            Use thread-local storage [default=yes]
1589   --disable-rpath         do not hardcode runtime library paths
1590   --enable-linux-futex    use the Linux futex system call [default=default]
1591   --enable-symvers=STYLE  enables symbol versioning of the shared library
1592                           [default=yes]
1593   --enable-visibility     enables visibility safe usage [default=yes]
1594   --enable-version-specific-runtime-libs
1595                           Specify that runtime libraries should be installed
1596                           in a compiler-specific directory
1597
1598 Optional Packages:
1599   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1600   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1601   --with-target-subdir=SUBDIR
1602                           configuring in a subdirectory
1603   --with-cross-host=HOST  configuring with a cross compiler
1604   --with-newlib           assume newlib as a system C library
1605   --with-pic              try to use only PIC/non-PIC objects [default=use
1606                           both]
1607   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1608   --with-gnu-ld           assume the C compiler uses GNU ld default=no
1609   --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
1610   --without-libiconv-prefix     don't search for libiconv in includedir and libdir
1611   --with-gxx-include-dir=DIR
1612                           installation directory for include files
1613
1614 Some influential environment variables:
1615   CC          C compiler command
1616   CFLAGS      C compiler flags
1617   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1618               nonstandard directory <lib dir>
1619   LIBS        libraries to pass to the linker, e.g. -l<library>
1620   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1621               you have headers in a nonstandard directory <include dir>
1622   CXX         C++ compiler command
1623   CXXFLAGS    C++ compiler flags
1624   CPP         C preprocessor
1625   CXXCPP      C++ preprocessor
1626
1627 Use these variables to override the choices made by `configure' or to help
1628 it to find libraries and programs with nonstandard names/locations.
1629
1630 _ACEOF
1631 ac_status=$?
1632 fi
1633
1634 if test "$ac_init_help" = "recursive"; then
1635   # If there are subdirs, report their specific --help.
1636   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1637     test -d "$ac_dir" || continue
1638     ac_builddir=.
1639
1640 case "$ac_dir" in
1641 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1642 *)
1643   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1644   # A ".." for each directory in $ac_dir_suffix.
1645   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1646   case $ac_top_builddir_sub in
1647   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1648   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1649   esac ;;
1650 esac
1651 ac_abs_top_builddir=$ac_pwd
1652 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1653 # for backward compatibility:
1654 ac_top_builddir=$ac_top_build_prefix
1655
1656 case $srcdir in
1657   .)  # We are building in place.
1658     ac_srcdir=.
1659     ac_top_srcdir=$ac_top_builddir_sub
1660     ac_abs_top_srcdir=$ac_pwd ;;
1661   [\\/]* | ?:[\\/]* )  # Absolute name.
1662     ac_srcdir=$srcdir$ac_dir_suffix;
1663     ac_top_srcdir=$srcdir
1664     ac_abs_top_srcdir=$srcdir ;;
1665   *) # Relative name.
1666     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1667     ac_top_srcdir=$ac_top_build_prefix$srcdir
1668     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1669 esac
1670 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1671
1672     cd "$ac_dir" || { ac_status=$?; continue; }
1673     # Check for guested configure.
1674     if test -f "$ac_srcdir/configure.gnu"; then
1675       echo &&
1676       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1677     elif test -f "$ac_srcdir/configure"; then
1678       echo &&
1679       $SHELL "$ac_srcdir/configure" --help=recursive
1680     else
1681       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1682     fi || ac_status=$?
1683     cd "$ac_pwd" || { ac_status=$?; break; }
1684   done
1685 fi
1686
1687 test -n "$ac_init_help" && exit $ac_status
1688 if $ac_init_version; then
1689   cat <<\_ACEOF
1690 package-unused configure version-unused
1691 generated by GNU Autoconf 2.61
1692
1693 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1694 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1695 This configure script is free software; the Free Software Foundation
1696 gives unlimited permission to copy, distribute and modify it.
1697 _ACEOF
1698   exit
1699 fi
1700 cat >config.log <<_ACEOF
1701 This file contains any messages produced by compilers while
1702 running configure, to aid debugging if configure makes a mistake.
1703
1704 It was created by package-unused $as_me version-unused, which was
1705 generated by GNU Autoconf 2.61.  Invocation command line was
1706
1707   $ $0 $@
1708
1709 _ACEOF
1710 exec 5>>config.log
1711 {
1712 cat <<_ASUNAME
1713 ## --------- ##
1714 ## Platform. ##
1715 ## --------- ##
1716
1717 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1718 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1719 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1720 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1721 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1722
1723 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1724 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1725
1726 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1727 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1728 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1729 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1730 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1731 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1732 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1733
1734 _ASUNAME
1735
1736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1737 for as_dir in $PATH
1738 do
1739   IFS=$as_save_IFS
1740   test -z "$as_dir" && as_dir=.
1741   echo "PATH: $as_dir"
1742 done
1743 IFS=$as_save_IFS
1744
1745 } >&5
1746
1747 cat >&5 <<_ACEOF
1748
1749
1750 ## ----------- ##
1751 ## Core tests. ##
1752 ## ----------- ##
1753
1754 _ACEOF
1755
1756
1757 # Keep a trace of the command line.
1758 # Strip out --no-create and --no-recursion so they do not pile up.
1759 # Strip out --silent because we don't want to record it for future runs.
1760 # Also quote any args containing shell meta-characters.
1761 # Make two passes to allow for proper duplicate-argument suppression.
1762 ac_configure_args=
1763 ac_configure_args0=
1764 ac_configure_args1=
1765 ac_must_keep_next=false
1766 for ac_pass in 1 2
1767 do
1768   for ac_arg
1769   do
1770     case $ac_arg in
1771     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1772     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1773     | -silent | --silent | --silen | --sile | --sil)
1774       continue ;;
1775     *\'*)
1776       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1777     esac
1778     case $ac_pass in
1779     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1780     2)
1781       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1782       if test $ac_must_keep_next = true; then
1783         ac_must_keep_next=false # Got value, back to normal.
1784       else
1785         case $ac_arg in
1786           *=* | --config-cache | -C | -disable-* | --disable-* \
1787           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1788           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1789           | -with-* | --with-* | -without-* | --without-* | --x)
1790             case "$ac_configure_args0 " in
1791               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1792             esac
1793             ;;
1794           -* ) ac_must_keep_next=true ;;
1795         esac
1796       fi
1797       ac_configure_args="$ac_configure_args '$ac_arg'"
1798       ;;
1799     esac
1800   done
1801 done
1802 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1803 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1804
1805 # When interrupted or exit'd, cleanup temporary files, and complete
1806 # config.log.  We remove comments because anyway the quotes in there
1807 # would cause problems or look ugly.
1808 # WARNING: Use '\'' to represent an apostrophe within the trap.
1809 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1810 trap 'exit_status=$?
1811   # Save into config.log some information that might help in debugging.
1812   {
1813     echo
1814
1815     cat <<\_ASBOX
1816 ## ---------------- ##
1817 ## Cache variables. ##
1818 ## ---------------- ##
1819 _ASBOX
1820     echo
1821     # The following way of writing the cache mishandles newlines in values,
1822 (
1823   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1824     eval ac_val=\$$ac_var
1825     case $ac_val in #(
1826     *${as_nl}*)
1827       case $ac_var in #(
1828       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1829 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1830       esac
1831       case $ac_var in #(
1832       _ | IFS | as_nl) ;; #(
1833       *) $as_unset $ac_var ;;
1834       esac ;;
1835     esac
1836   done
1837   (set) 2>&1 |
1838     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1839     *${as_nl}ac_space=\ *)
1840       sed -n \
1841         "s/'\''/'\''\\\\'\'''\''/g;
1842           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1843       ;; #(
1844     *)
1845       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1846       ;;
1847     esac |
1848     sort
1849 )
1850     echo
1851
1852     cat <<\_ASBOX
1853 ## ----------------- ##
1854 ## Output variables. ##
1855 ## ----------------- ##
1856 _ASBOX
1857     echo
1858     for ac_var in $ac_subst_vars
1859     do
1860       eval ac_val=\$$ac_var
1861       case $ac_val in
1862       *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1863       esac
1864       echo "$ac_var='\''$ac_val'\''"
1865     done | sort
1866     echo
1867
1868     if test -n "$ac_subst_files"; then
1869       cat <<\_ASBOX
1870 ## ------------------- ##
1871 ## File substitutions. ##
1872 ## ------------------- ##
1873 _ASBOX
1874       echo
1875       for ac_var in $ac_subst_files
1876       do
1877         eval ac_val=\$$ac_var
1878         case $ac_val in
1879         *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1880         esac
1881         echo "$ac_var='\''$ac_val'\''"
1882       done | sort
1883       echo
1884     fi
1885
1886     if test -s confdefs.h; then
1887       cat <<\_ASBOX
1888 ## ----------- ##
1889 ## confdefs.h. ##
1890 ## ----------- ##
1891 _ASBOX
1892       echo
1893       cat confdefs.h
1894       echo
1895     fi
1896     test "$ac_signal" != 0 &&
1897       echo "$as_me: caught signal $ac_signal"
1898     echo "$as_me: exit $exit_status"
1899   } >&5
1900   rm -f core *.core core.conftest.* &&
1901     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1902     exit $exit_status
1903 ' 0
1904 for ac_signal in 1 2 13 15; do
1905   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1906 done
1907 ac_signal=0
1908
1909 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1910 rm -f -r conftest* confdefs.h
1911
1912 # Predefined preprocessor variables.
1913
1914 cat >>confdefs.h <<_ACEOF
1915 #define PACKAGE_NAME "$PACKAGE_NAME"
1916 _ACEOF
1917
1918
1919 cat >>confdefs.h <<_ACEOF
1920 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1921 _ACEOF
1922
1923
1924 cat >>confdefs.h <<_ACEOF
1925 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1926 _ACEOF
1927
1928
1929 cat >>confdefs.h <<_ACEOF
1930 #define PACKAGE_STRING "$PACKAGE_STRING"
1931 _ACEOF
1932
1933
1934 cat >>confdefs.h <<_ACEOF
1935 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1936 _ACEOF
1937
1938
1939 # Let the site file select an alternate cache file if it wants to.
1940 # Prefer explicitly selected file to automatically selected ones.
1941 if test -n "$CONFIG_SITE"; then
1942   set x "$CONFIG_SITE"
1943 elif test "x$prefix" != xNONE; then
1944   set x "$prefix/share/config.site" "$prefix/etc/config.site"
1945 else
1946   set x "$ac_default_prefix/share/config.site" \
1947         "$ac_default_prefix/etc/config.site"
1948 fi
1949 shift
1950 for ac_site_file
1951 do
1952   if test -r "$ac_site_file"; then
1953     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1954 echo "$as_me: loading site script $ac_site_file" >&6;}
1955     sed 's/^/| /' "$ac_site_file" >&5
1956     . "$ac_site_file"
1957   fi
1958 done
1959
1960 if test -r "$cache_file"; then
1961   # Some versions of bash will fail to source /dev/null (special
1962   # files actually), so we avoid doing that.
1963   if test -f "$cache_file"; then
1964     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1965 echo "$as_me: loading cache $cache_file" >&6;}
1966     case $cache_file in
1967       [\\/]* | ?:[\\/]* ) . "$cache_file";;
1968       *)                      . "./$cache_file";;
1969     esac
1970   fi
1971 else
1972   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1973 echo "$as_me: creating cache $cache_file" >&6;}
1974   >$cache_file
1975 fi
1976
1977 # Check that the precious variables saved in the cache have kept the same
1978 # value.
1979 ac_cache_corrupted=false
1980 for ac_var in $ac_precious_vars; do
1981   eval ac_old_set=\$ac_cv_env_${ac_var}_set
1982   eval ac_new_set=\$ac_env_${ac_var}_set
1983   eval ac_old_val=\$ac_cv_env_${ac_var}_value
1984   eval ac_new_val=\$ac_env_${ac_var}_value
1985   case $ac_old_set,$ac_new_set in
1986     set,)
1987       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1988 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1989       ac_cache_corrupted=: ;;
1990     ,set)
1991       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1992 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1993       ac_cache_corrupted=: ;;
1994     ,);;
1995     *)
1996       if test "x$ac_old_val" != "x$ac_new_val"; then
1997         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1998 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1999         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
2000 echo "$as_me:   former value:  $ac_old_val" >&2;}
2001         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
2002 echo "$as_me:   current value: $ac_new_val" >&2;}
2003         ac_cache_corrupted=:
2004       fi;;
2005   esac
2006   # Pass precious variables to config.status.
2007   if test "$ac_new_set" = set; then
2008     case $ac_new_val in
2009     *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2010     *) ac_arg=$ac_var=$ac_new_val ;;
2011     esac
2012     case " $ac_configure_args " in
2013       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2014       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2015     esac
2016   fi
2017 done
2018 if $ac_cache_corrupted; then
2019   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2020 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2021   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2022 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2023    { (exit 1); exit 1; }; }
2024 fi
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050 ac_ext=c
2051 ac_cpp='$CPP $CPPFLAGS'
2052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2055
2056
2057
2058 ac_config_headers="$ac_config_headers config.h"
2059
2060
2061 # This works around the fact that libtool configuration may change LD
2062 # for this particular configuration, but some shells, instead of
2063 # keeping the changes in LD private, export them just because LD is
2064 # exported.  Only used at the end of this file.
2065 ### am handles this now?  ORIGINAL_LD_FOR_MULTILIBS=$LD
2066
2067 # For libtool versioning info, format is CURRENT:REVISION:AGE
2068 libtool_VERSION=6:10:0
2069
2070
2071 # Find the rest of the source tree framework.
2072 # Default to --enable-multilib
2073 # Check whether --enable-multilib was given.
2074 if test "${enable_multilib+set}" = set; then
2075   enableval=$enable_multilib; case "$enableval" in
2076   yes) multilib=yes ;;
2077   no)  multilib=no ;;
2078   *)   { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
2079 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
2080    { (exit 1); exit 1; }; } ;;
2081  esac
2082 else
2083   multilib=yes
2084 fi
2085
2086
2087 # We may get other options which we leave undocumented:
2088 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2089 # See config-ml.in if you want the gory details.
2090
2091 if test "$srcdir" = "."; then
2092   if test "$with_target_subdir" != "."; then
2093     multi_basedir="$srcdir/$with_multisrctop../.."
2094   else
2095     multi_basedir="$srcdir/$with_multisrctop.."
2096   fi
2097 else
2098   multi_basedir="$srcdir/.."
2099 fi
2100
2101
2102 # Even if the default multilib is not a cross compilation,
2103 # it may be that some of the other multilibs are.
2104 if test $cross_compiling = no && test $multilib = yes \
2105    && test "x${with_multisubdir}" != x ; then
2106    cross_compiling=maybe
2107 fi
2108
2109 ac_config_commands="$ac_config_commands default-1"
2110
2111
2112 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2113 #
2114 # You will slowly go insane if you do not grok the following fact:  when
2115 # building v3 as part of the compiler, the top-level /target/ becomes the
2116 # library's /host/.  configure then causes --target to default to --host,
2117 # exactly like any other package using autoconf.  Therefore, 'target' and
2118 # 'host' will always be the same.  This makes sense both for native and
2119 # cross compilers, just think about it for a little while.  :-)
2120 #
2121 # Also, if v3 is being configured as part of a cross compiler, the top-level
2122 # configure script will pass the "real" host as $with_cross_host.
2123 #
2124 # Do not delete or change the following two lines.  For why, see
2125 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2126 ac_aux_dir=
2127 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2128   if test -f "$ac_dir/install-sh"; then
2129     ac_aux_dir=$ac_dir
2130     ac_install_sh="$ac_aux_dir/install-sh -c"
2131     break
2132   elif test -f "$ac_dir/install.sh"; then
2133     ac_aux_dir=$ac_dir
2134     ac_install_sh="$ac_aux_dir/install.sh -c"
2135     break
2136   elif test -f "$ac_dir/shtool"; then
2137     ac_aux_dir=$ac_dir
2138     ac_install_sh="$ac_aux_dir/shtool install -c"
2139     break
2140   fi
2141 done
2142 if test -z "$ac_aux_dir"; then
2143   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2144 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2145    { (exit 1); exit 1; }; }
2146 fi
2147
2148 # These three variables are undocumented and unsupported,
2149 # and are intended to be withdrawn in a future Autoconf release.
2150 # They can cause serious problems if a builder's source tree is in a directory
2151 # whose full name contains unusual characters.
2152 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2153 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2154 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2155
2156
2157 # Make sure we can run config.sub.
2158 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2159   { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2160 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2161    { (exit 1); exit 1; }; }
2162
2163 { echo "$as_me:$LINENO: checking build system type" >&5
2164 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2165 if test "${ac_cv_build+set}" = set; then
2166   echo $ECHO_N "(cached) $ECHO_C" >&6
2167 else
2168   ac_build_alias=$build_alias
2169 test "x$ac_build_alias" = x &&
2170   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2171 test "x$ac_build_alias" = x &&
2172   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2173 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2174    { (exit 1); exit 1; }; }
2175 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2176   { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2177 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2178    { (exit 1); exit 1; }; }
2179
2180 fi
2181 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2182 echo "${ECHO_T}$ac_cv_build" >&6; }
2183 case $ac_cv_build in
2184 *-*-*) ;;
2185 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2186 echo "$as_me: error: invalid value of canonical build" >&2;}
2187    { (exit 1); exit 1; }; };;
2188 esac
2189 build=$ac_cv_build
2190 ac_save_IFS=$IFS; IFS='-'
2191 set x $ac_cv_build
2192 shift
2193 build_cpu=$1
2194 build_vendor=$2
2195 shift; shift
2196 # Remember, the first character of IFS is used to create $*,
2197 # except with old shells:
2198 build_os=$*
2199 IFS=$ac_save_IFS
2200 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2201
2202
2203 { echo "$as_me:$LINENO: checking host system type" >&5
2204 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2205 if test "${ac_cv_host+set}" = set; then
2206   echo $ECHO_N "(cached) $ECHO_C" >&6
2207 else
2208   if test "x$host_alias" = x; then
2209   ac_cv_host=$ac_cv_build
2210 else
2211   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2212     { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2213 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2214    { (exit 1); exit 1; }; }
2215 fi
2216
2217 fi
2218 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2219 echo "${ECHO_T}$ac_cv_host" >&6; }
2220 case $ac_cv_host in
2221 *-*-*) ;;
2222 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2223 echo "$as_me: error: invalid value of canonical host" >&2;}
2224    { (exit 1); exit 1; }; };;
2225 esac
2226 host=$ac_cv_host
2227 ac_save_IFS=$IFS; IFS='-'
2228 set x $ac_cv_host
2229 shift
2230 host_cpu=$1
2231 host_vendor=$2
2232 shift; shift
2233 # Remember, the first character of IFS is used to create $*,
2234 # except with old shells:
2235 host_os=$*
2236 IFS=$ac_save_IFS
2237 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2238
2239
2240 { echo "$as_me:$LINENO: checking target system type" >&5
2241 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2242 if test "${ac_cv_target+set}" = set; then
2243   echo $ECHO_N "(cached) $ECHO_C" >&6
2244 else
2245   if test "x$target_alias" = x; then
2246   ac_cv_target=$ac_cv_host
2247 else
2248   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2249     { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2250 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2251    { (exit 1); exit 1; }; }
2252 fi
2253
2254 fi
2255 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2256 echo "${ECHO_T}$ac_cv_target" >&6; }
2257 case $ac_cv_target in
2258 *-*-*) ;;
2259 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2260 echo "$as_me: error: invalid value of canonical target" >&2;}
2261    { (exit 1); exit 1; }; };;
2262 esac
2263 target=$ac_cv_target
2264 ac_save_IFS=$IFS; IFS='-'
2265 set x $ac_cv_target
2266 shift
2267 target_cpu=$1
2268 target_vendor=$2
2269 shift; shift
2270 # Remember, the first character of IFS is used to create $*,
2271 # except with old shells:
2272 target_os=$*
2273 IFS=$ac_save_IFS
2274 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2275
2276
2277 # The aliases save the names the user supplied, while $host etc.
2278 # will get canonicalized.
2279 test -n "$target_alias" &&
2280   test "$program_prefix$program_suffix$program_transform_name" = \
2281     NONENONEs,x,x, &&
2282   program_prefix=${target_alias}-
2283 target_alias=${target_alias-$host_alias}
2284
2285 # Handy for debugging:
2286 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
2287
2288 if test "$build" != "$host"; then
2289   # We are being configured with some form of cross compiler.
2290   GLIBCXX_IS_NATIVE=false
2291   case "$host","$target" in
2292     # Darwin crosses can use the host system's libraries and headers,
2293     # because of the fat library support.  Of course, it must be the
2294     # same version of Darwin on both sides.  Allow the user to
2295     # just say --target=foo-darwin without a version number to mean
2296     # "the version on this system".
2297       *-*-darwin*,*-*-darwin*)
2298         hostos=`echo $host | sed 's/.*-darwin/darwin/'`
2299         targetos=`echo $target | sed 's/.*-darwin/darwin/'`
2300         if test $hostos = $targetos -o $targetos = darwin ; then
2301           GLIBCXX_IS_NATIVE=true
2302         fi
2303         ;;
2304
2305       *)
2306
2307         ;;
2308   esac
2309 else
2310   GLIBCXX_IS_NATIVE=true
2311 fi
2312
2313 # Sets up automake.  Must come after AC_CANONICAL_SYSTEM.  Each of the
2314 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
2315 #  1.x:  minimum required version
2316 #  no-define:  PACKAGE and VERSION will not be #define'd in config.h (a bunch
2317 #              of other PACKAGE_* variables will, however, and there's nothing
2318 #              we can do about that; they come from AC_INIT).
2319 #  foreign:  we don't follow the normal rules for GNU packages (no COPYING
2320 #            file in the top srcdir, etc, etc), so stop complaining.
2321 #  no-dependencies:  turns off auto dependency generation (just for now)
2322 #  -Wall:  turns on all automake warnings...
2323 #  -Wno-portability:  ...except this one, since GNU make is now required.
2324 am__api_version='1.10'
2325
2326 # Find a good install program.  We prefer a C program (faster),
2327 # so one script is as good as another.  But avoid the broken or
2328 # incompatible versions:
2329 # SysV /etc/install, /usr/sbin/install
2330 # SunOS /usr/etc/install
2331 # IRIX /sbin/install
2332 # AIX /bin/install
2333 # AmigaOS /C/install, which installs bootblocks on floppy discs
2334 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2335 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2336 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2337 # OS/2's system install, which has a completely different semantic
2338 # ./install, which can be erroneously created by make from ./install.sh.
2339 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2340 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2341 if test -z "$INSTALL"; then
2342 if test "${ac_cv_path_install+set}" = set; then
2343   echo $ECHO_N "(cached) $ECHO_C" >&6
2344 else
2345   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2346 for as_dir in $PATH
2347 do
2348   IFS=$as_save_IFS
2349   test -z "$as_dir" && as_dir=.
2350   # Account for people who put trailing slashes in PATH elements.
2351 case $as_dir/ in
2352   ./ | .// | /cC/* | \
2353   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2354   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2355   /usr/ucb/* ) ;;
2356   *)
2357     # OSF1 and SCO ODT 3.0 have their own names for install.
2358     # Don't use installbsd from OSF since it installs stuff as root
2359     # by default.
2360     for ac_prog in ginstall scoinst install; do
2361       for ac_exec_ext in '' $ac_executable_extensions; do
2362         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2363           if test $ac_prog = install &&
2364             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2365             # AIX install.  It has an incompatible calling convention.
2366             :
2367           elif test $ac_prog = install &&
2368             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2369             # program-specific install script used by HP pwplus--don't use.
2370             :
2371           else
2372             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2373             break 3
2374           fi
2375         fi
2376       done
2377     done
2378     ;;
2379 esac
2380 done
2381 IFS=$as_save_IFS
2382
2383
2384 fi
2385   if test "${ac_cv_path_install+set}" = set; then
2386     INSTALL=$ac_cv_path_install
2387   else
2388     # As a last resort, use the slow shell script.  Don't cache a
2389     # value for INSTALL within a source directory, because that will
2390     # break other packages using the cache if that directory is
2391     # removed, or if the value is a relative name.
2392     INSTALL=$ac_install_sh
2393   fi
2394 fi
2395 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2396 echo "${ECHO_T}$INSTALL" >&6; }
2397
2398 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2399 # It thinks the first close brace ends the variable substitution.
2400 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2401
2402 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2403
2404 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2405
2406 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2407 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2408 # Just in case
2409 sleep 1
2410 echo timestamp > conftest.file
2411 # Do `set' in a subshell so we don't clobber the current shell's
2412 # arguments.  Must try -L first in case configure is actually a
2413 # symlink; some systems play weird games with the mod time of symlinks
2414 # (eg FreeBSD returns the mod time of the symlink's containing
2415 # directory).
2416 if (
2417    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2418    if test "$*" = "X"; then
2419       # -L didn't work.
2420       set X `ls -t $srcdir/configure conftest.file`
2421    fi
2422    rm -f conftest.file
2423    if test "$*" != "X $srcdir/configure conftest.file" \
2424       && test "$*" != "X conftest.file $srcdir/configure"; then
2425
2426       # If neither matched, then we have a broken ls.  This can happen
2427       # if, for instance, CONFIG_SHELL is bash and it inherits a
2428       # broken ls alias from the environment.  This has actually
2429       # happened.  Such a system could not be considered "sane".
2430       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
2431 alias in your environment" >&5
2432 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
2433 alias in your environment" >&2;}
2434    { (exit 1); exit 1; }; }
2435    fi
2436
2437    test "$2" = conftest.file
2438    )
2439 then
2440    # Ok.
2441    :
2442 else
2443    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2444 Check your system clock" >&5
2445 echo "$as_me: error: newly created file is older than distributed files!
2446 Check your system clock" >&2;}
2447    { (exit 1); exit 1; }; }
2448 fi
2449 { echo "$as_me:$LINENO: result: yes" >&5
2450 echo "${ECHO_T}yes" >&6; }
2451 test "$program_prefix" != NONE &&
2452   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2453 # Use a double $ so make ignores it.
2454 test "$program_suffix" != NONE &&
2455   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2456 # Double any \ or $.  echo might interpret backslashes.
2457 # By default was `s,x,x', remove it if useless.
2458 cat <<\_ACEOF >conftest.sed
2459 s/[\\$]/&&/g;s/;s,x,x,$//
2460 _ACEOF
2461 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2462 rm -f conftest.sed
2463
2464 # expand $ac_aux_dir to an absolute path
2465 am_aux_dir=`cd $ac_aux_dir && pwd`
2466
2467 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2468 # Use eval to expand $SHELL
2469 if eval "$MISSING --run true"; then
2470   am_missing_run="$MISSING --run "
2471 else
2472   am_missing_run=
2473   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2474 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2475 fi
2476
2477 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2478 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2479 if test -z "$MKDIR_P"; then
2480   if test "${ac_cv_path_mkdir+set}" = set; then
2481   echo $ECHO_N "(cached) $ECHO_C" >&6
2482 else
2483   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2484 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2485 do
2486   IFS=$as_save_IFS
2487   test -z "$as_dir" && as_dir=.
2488   for ac_prog in mkdir gmkdir; do
2489          for ac_exec_ext in '' $ac_executable_extensions; do
2490            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2491            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2492              'mkdir (GNU coreutils) '* | \
2493              'mkdir (coreutils) '* | \
2494              'mkdir (fileutils) '4.1*)
2495                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2496                break 3;;
2497            esac
2498          done
2499        done
2500 done
2501 IFS=$as_save_IFS
2502
2503 fi
2504
2505   if test "${ac_cv_path_mkdir+set}" = set; then
2506     MKDIR_P="$ac_cv_path_mkdir -p"
2507   else
2508     # As a last resort, use the slow shell script.  Don't cache a
2509     # value for MKDIR_P within a source directory, because that will
2510     # break other packages using the cache if that directory is
2511     # removed, or if the value is a relative name.
2512     test -d ./--version && rmdir ./--version
2513     MKDIR_P="$ac_install_sh -d"
2514   fi
2515 fi
2516 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2517 echo "${ECHO_T}$MKDIR_P" >&6; }
2518
2519 mkdir_p="$MKDIR_P"
2520 case $mkdir_p in
2521   [\\/$]* | ?:[\\/]*) ;;
2522   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2523 esac
2524
2525 for ac_prog in gawk mawk nawk awk
2526 do
2527   # Extract the first word of "$ac_prog", so it can be a program name with args.
2528 set dummy $ac_prog; ac_word=$2
2529 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2530 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2531 if test "${ac_cv_prog_AWK+set}" = set; then
2532   echo $ECHO_N "(cached) $ECHO_C" >&6
2533 else
2534   if test -n "$AWK"; then
2535   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2536 else
2537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2538 for as_dir in $PATH
2539 do
2540   IFS=$as_save_IFS
2541   test -z "$as_dir" && as_dir=.
2542   for ac_exec_ext in '' $ac_executable_extensions; do
2543   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2544     ac_cv_prog_AWK="$ac_prog"
2545     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2546     break 2
2547   fi
2548 done
2549 done
2550 IFS=$as_save_IFS
2551
2552 fi
2553 fi
2554 AWK=$ac_cv_prog_AWK
2555 if test -n "$AWK"; then
2556   { echo "$as_me:$LINENO: result: $AWK" >&5
2557 echo "${ECHO_T}$AWK" >&6; }
2558 else
2559   { echo "$as_me:$LINENO: result: no" >&5
2560 echo "${ECHO_T}no" >&6; }
2561 fi
2562
2563
2564   test -n "$AWK" && break
2565 done
2566
2567 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2568 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2569 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2570 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2571   echo $ECHO_N "(cached) $ECHO_C" >&6
2572 else
2573   cat >conftest.make <<\_ACEOF
2574 SHELL = /bin/sh
2575 all:
2576         @echo '@@@%%%=$(MAKE)=@@@%%%'
2577 _ACEOF
2578 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2579 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2580   *@@@%%%=?*=@@@%%%*)
2581     eval ac_cv_prog_make_${ac_make}_set=yes;;
2582   *)
2583     eval ac_cv_prog_make_${ac_make}_set=no;;
2584 esac
2585 rm -f conftest.make
2586 fi
2587 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2588   { echo "$as_me:$LINENO: result: yes" >&5
2589 echo "${ECHO_T}yes" >&6; }
2590   SET_MAKE=
2591 else
2592   { echo "$as_me:$LINENO: result: no" >&5
2593 echo "${ECHO_T}no" >&6; }
2594   SET_MAKE="MAKE=${MAKE-make}"
2595 fi
2596
2597 rm -rf .tst 2>/dev/null
2598 mkdir .tst 2>/dev/null
2599 if test -d .tst; then
2600   am__leading_dot=.
2601 else
2602   am__leading_dot=_
2603 fi
2604 rmdir .tst 2>/dev/null
2605
2606 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2607   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2608   # is not polluted with repeated "-I."
2609   am__isrc=' -I$(srcdir)'
2610   # test to see if srcdir already configured
2611   if test -f $srcdir/config.status; then
2612     { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2613 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2614    { (exit 1); exit 1; }; }
2615   fi
2616 fi
2617
2618 # test whether we have cygpath
2619 if test -z "$CYGPATH_W"; then
2620   if (cygpath --version) >/dev/null 2>/dev/null; then
2621     CYGPATH_W='cygpath -w'
2622   else
2623     CYGPATH_W=echo
2624   fi
2625 fi
2626
2627
2628 # Define the identity of the package.
2629  PACKAGE='libstdc++'
2630  VERSION='version-unused'
2631
2632
2633 # Some tools Automake needs.
2634
2635 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2636
2637
2638 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2639
2640
2641 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2642
2643
2644 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2645
2646
2647 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2648
2649 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2650
2651 # Installed binaries are usually stripped using `strip' when the user
2652 # run `make install-strip'.  However `strip' might not be the right
2653 # tool to use in cross-compilation environments, therefore Automake
2654 # will honor the `STRIP' environment variable to overrule this program.
2655 if test "$cross_compiling" != no; then
2656   if test -n "$ac_tool_prefix"; then
2657   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2658 set dummy ${ac_tool_prefix}strip; ac_word=$2
2659 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2660 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2661 if test "${ac_cv_prog_STRIP+set}" = set; then
2662   echo $ECHO_N "(cached) $ECHO_C" >&6
2663 else
2664   if test -n "$STRIP"; then
2665   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2666 else
2667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2668 for as_dir in $PATH
2669 do
2670   IFS=$as_save_IFS
2671   test -z "$as_dir" && as_dir=.
2672   for ac_exec_ext in '' $ac_executable_extensions; do
2673   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2674     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2675     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2676     break 2
2677   fi
2678 done
2679 done
2680 IFS=$as_save_IFS
2681
2682 fi
2683 fi
2684 STRIP=$ac_cv_prog_STRIP
2685 if test -n "$STRIP"; then
2686   { echo "$as_me:$LINENO: result: $STRIP" >&5
2687 echo "${ECHO_T}$STRIP" >&6; }
2688 else
2689   { echo "$as_me:$LINENO: result: no" >&5
2690 echo "${ECHO_T}no" >&6; }
2691 fi
2692
2693
2694 fi
2695 if test -z "$ac_cv_prog_STRIP"; then
2696   ac_ct_STRIP=$STRIP
2697   # Extract the first word of "strip", so it can be a program name with args.
2698 set dummy strip; ac_word=$2
2699 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2700 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2701 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2702   echo $ECHO_N "(cached) $ECHO_C" >&6
2703 else
2704   if test -n "$ac_ct_STRIP"; then
2705   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2706 else
2707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2708 for as_dir in $PATH
2709 do
2710   IFS=$as_save_IFS
2711   test -z "$as_dir" && as_dir=.
2712   for ac_exec_ext in '' $ac_executable_extensions; do
2713   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2714     ac_cv_prog_ac_ct_STRIP="strip"
2715     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2716     break 2
2717   fi
2718 done
2719 done
2720 IFS=$as_save_IFS
2721
2722 fi
2723 fi
2724 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2725 if test -n "$ac_ct_STRIP"; then
2726   { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2727 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2728 else
2729   { echo "$as_me:$LINENO: result: no" >&5
2730 echo "${ECHO_T}no" >&6; }
2731 fi
2732
2733   if test "x$ac_ct_STRIP" = x; then
2734     STRIP=":"
2735   else
2736     case $cross_compiling:$ac_tool_warned in
2737 yes:)
2738 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2739 whose name does not start with the host triplet.  If you think this
2740 configuration is useful to you, please write to autoconf@gnu.org." >&5
2741 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2742 whose name does not start with the host triplet.  If you think this
2743 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2744 ac_tool_warned=yes ;;
2745 esac
2746     STRIP=$ac_ct_STRIP
2747   fi
2748 else
2749   STRIP="$ac_cv_prog_STRIP"
2750 fi
2751
2752 fi
2753 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2754
2755 # We need awk for the "check" target.  The system "awk" is bad on
2756 # some platforms.
2757 # Always define AMTAR for backward compatibility.
2758
2759 AMTAR=${AMTAR-"${am_missing_run}tar"}
2760
2761 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772 # Runs configure.host, finds CC, CXX, and assorted other critical bits.  Sets
2773 # up critical shell variables.
2774
2775 ac_ext=c
2776 ac_cpp='$CPP $CPPFLAGS'
2777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2780 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2781 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
2782 # On Suns, sometimes $CPP names a directory.
2783 if test -n "$CPP" && test -d "$CPP"; then
2784   CPP=
2785 fi
2786 if test -z "$CPP"; then
2787   if test "${ac_cv_prog_CPP+set}" = set; then
2788   echo $ECHO_N "(cached) $ECHO_C" >&6
2789 else
2790       # Double quotes because CPP needs to be expanded
2791     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2792     do
2793       ac_preproc_ok=false
2794 for ac_c_preproc_warn_flag in '' yes
2795 do
2796   # Use a header file that comes with gcc, so configuring glibc
2797   # with a fresh cross-compiler works.
2798   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2799   # <limits.h> exists even on freestanding compilers.
2800   # On the NeXT, cc -E runs the code through the compiler's parser,
2801   # not just through cpp. "Syntax error" is here to catch this case.
2802   cat >conftest.$ac_ext <<_ACEOF
2803 /* confdefs.h.  */
2804 _ACEOF
2805 cat confdefs.h >>conftest.$ac_ext
2806 cat >>conftest.$ac_ext <<_ACEOF
2807 /* end confdefs.h.  */
2808 #ifdef __STDC__
2809 # include <limits.h>
2810 #else
2811 # include <assert.h>
2812 #endif
2813                      Syntax error
2814 _ACEOF
2815 if { (ac_try="$ac_cpp conftest.$ac_ext"
2816 case "(($ac_try" in
2817   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2818   *) ac_try_echo=$ac_try;;
2819 esac
2820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2821   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2822   ac_status=$?
2823   grep -v '^ *+' conftest.er1 >conftest.err
2824   rm -f conftest.er1
2825   cat conftest.err >&5
2826   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2827   (exit $ac_status); } >/dev/null && {
2828          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2829          test ! -s conftest.err
2830        }; then
2831   :
2832 else
2833   echo "$as_me: failed program was:" >&5
2834 sed 's/^/| /' conftest.$ac_ext >&5
2835
2836   # Broken: fails on valid input.
2837 continue
2838 fi
2839
2840 rm -f conftest.err conftest.$ac_ext
2841
2842   # OK, works on sane cases.  Now check whether nonexistent headers
2843   # can be detected and how.
2844   cat >conftest.$ac_ext <<_ACEOF
2845 /* confdefs.h.  */
2846 _ACEOF
2847 cat confdefs.h >>conftest.$ac_ext
2848 cat >>conftest.$ac_ext <<_ACEOF
2849 /* end confdefs.h.  */
2850 #include <ac_nonexistent.h>
2851 _ACEOF
2852 if { (ac_try="$ac_cpp conftest.$ac_ext"
2853 case "(($ac_try" in
2854   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2855   *) ac_try_echo=$ac_try;;
2856 esac
2857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2858   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2859   ac_status=$?
2860   grep -v '^ *+' conftest.er1 >conftest.err
2861   rm -f conftest.er1
2862   cat conftest.err >&5
2863   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2864   (exit $ac_status); } >/dev/null && {
2865          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2866          test ! -s conftest.err
2867        }; then
2868   # Broken: success on invalid input.
2869 continue
2870 else
2871   echo "$as_me: failed program was:" >&5
2872 sed 's/^/| /' conftest.$ac_ext >&5
2873
2874   # Passes both tests.
2875 ac_preproc_ok=:
2876 break
2877 fi
2878
2879 rm -f conftest.err conftest.$ac_ext
2880
2881 done
2882 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2883 rm -f conftest.err conftest.$ac_ext
2884 if $ac_preproc_ok; then
2885   break
2886 fi
2887
2888     done
2889     ac_cv_prog_CPP=$CPP
2890
2891 fi
2892   CPP=$ac_cv_prog_CPP
2893 else
2894   ac_cv_prog_CPP=$CPP
2895 fi
2896 { echo "$as_me:$LINENO: result: $CPP" >&5
2897 echo "${ECHO_T}$CPP" >&6; }
2898 ac_preproc_ok=false
2899 for ac_c_preproc_warn_flag in '' yes
2900 do
2901   # Use a header file that comes with gcc, so configuring glibc
2902   # with a fresh cross-compiler works.
2903   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2904   # <limits.h> exists even on freestanding compilers.
2905   # On the NeXT, cc -E runs the code through the compiler's parser,
2906   # not just through cpp. "Syntax error" is here to catch this case.
2907   cat >conftest.$ac_ext <<_ACEOF
2908 /* confdefs.h.  */
2909 _ACEOF
2910 cat confdefs.h >>conftest.$ac_ext
2911 cat >>conftest.$ac_ext <<_ACEOF
2912 /* end confdefs.h.  */
2913 #ifdef __STDC__
2914 # include <limits.h>
2915 #else
2916 # include <assert.h>
2917 #endif
2918                      Syntax error
2919 _ACEOF
2920 if { (ac_try="$ac_cpp conftest.$ac_ext"
2921 case "(($ac_try" in
2922   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2923   *) ac_try_echo=$ac_try;;
2924 esac
2925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2926   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2927   ac_status=$?
2928   grep -v '^ *+' conftest.er1 >conftest.err
2929   rm -f conftest.er1
2930   cat conftest.err >&5
2931   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2932   (exit $ac_status); } >/dev/null && {
2933          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2934          test ! -s conftest.err
2935        }; then
2936   :
2937 else
2938   echo "$as_me: failed program was:" >&5
2939 sed 's/^/| /' conftest.$ac_ext >&5
2940
2941   # Broken: fails on valid input.
2942 continue
2943 fi
2944
2945 rm -f conftest.err conftest.$ac_ext
2946
2947   # OK, works on sane cases.  Now check whether nonexistent headers
2948   # can be detected and how.
2949   cat >conftest.$ac_ext <<_ACEOF
2950 /* confdefs.h.  */
2951 _ACEOF
2952 cat confdefs.h >>conftest.$ac_ext
2953 cat >>conftest.$ac_ext <<_ACEOF
2954 /* end confdefs.h.  */
2955 #include <ac_nonexistent.h>
2956 _ACEOF
2957 if { (ac_try="$ac_cpp conftest.$ac_ext"
2958 case "(($ac_try" in
2959   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2960   *) ac_try_echo=$ac_try;;
2961 esac
2962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2963   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2964   ac_status=$?
2965   grep -v '^ *+' conftest.er1 >conftest.err
2966   rm -f conftest.er1
2967   cat conftest.err >&5
2968   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2969   (exit $ac_status); } >/dev/null && {
2970          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2971          test ! -s conftest.err
2972        }; then
2973   # Broken: success on invalid input.
2974 continue
2975 else
2976   echo "$as_me: failed program was:" >&5
2977 sed 's/^/| /' conftest.$ac_ext >&5
2978
2979   # Passes both tests.
2980 ac_preproc_ok=:
2981 break
2982 fi
2983
2984 rm -f conftest.err conftest.$ac_ext
2985
2986 done
2987 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2988 rm -f conftest.err conftest.$ac_ext
2989 if $ac_preproc_ok; then
2990   :
2991 else
2992   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2993 See \`config.log' for more details." >&5
2994 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2995 See \`config.log' for more details." >&2;}
2996    { (exit 1); exit 1; }; }
2997 fi
2998
2999 ac_ext=c
3000 ac_cpp='$CPP $CPPFLAGS'
3001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3004
3005
3006 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3007 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3008 if test "${ac_cv_path_GREP+set}" = set; then
3009   echo $ECHO_N "(cached) $ECHO_C" >&6
3010 else
3011   # Extract the first word of "grep ggrep" to use in msg output
3012 if test -z "$GREP"; then
3013 set dummy grep ggrep; ac_prog_name=$2
3014 if test "${ac_cv_path_GREP+set}" = set; then
3015   echo $ECHO_N "(cached) $ECHO_C" >&6
3016 else
3017   ac_path_GREP_found=false
3018 # Loop through the user's path and test for each of PROGNAME-LIST
3019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3020 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3021 do
3022   IFS=$as_save_IFS
3023   test -z "$as_dir" && as_dir=.
3024   for ac_prog in grep ggrep; do
3025   for ac_exec_ext in '' $ac_executable_extensions; do
3026     ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3027     { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3028     # Check for GNU ac_path_GREP and select it if it is found.
3029   # Check for GNU $ac_path_GREP
3030 case `"$ac_path_GREP" --version 2>&1` in
3031 *GNU*)
3032   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3033 *)
3034   ac_count=0
3035   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3036   while :
3037   do
3038     cat "conftest.in" "conftest.in" >"conftest.tmp"
3039     mv "conftest.tmp" "conftest.in"
3040     cp "conftest.in" "conftest.nl"
3041     echo 'GREP' >> "conftest.nl"
3042     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3043     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3044     ac_count=`expr $ac_count + 1`
3045     if test $ac_count -gt ${ac_path_GREP_max-0}; then
3046       # Best one so far, save it but keep looking for a better one
3047       ac_cv_path_GREP="$ac_path_GREP"
3048       ac_path_GREP_max=$ac_count
3049     fi
3050     # 10*(2^10) chars as input seems more than enough
3051     test $ac_count -gt 10 && break
3052   done
3053   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3054 esac
3055
3056
3057     $ac_path_GREP_found && break 3
3058   done
3059 done
3060
3061 done
3062 IFS=$as_save_IFS
3063
3064
3065 fi
3066
3067 GREP="$ac_cv_path_GREP"
3068 if test -z "$GREP"; then
3069   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3070 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3071    { (exit 1); exit 1; }; }
3072 fi
3073
3074 else
3075   ac_cv_path_GREP=$GREP
3076 fi
3077
3078
3079 fi
3080 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3081 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3082  GREP="$ac_cv_path_GREP"
3083
3084
3085 { echo "$as_me:$LINENO: checking for egrep" >&5
3086 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3087 if test "${ac_cv_path_EGREP+set}" = set; then
3088   echo $ECHO_N "(cached) $ECHO_C" >&6
3089 else
3090   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3091    then ac_cv_path_EGREP="$GREP -E"
3092    else
3093      # Extract the first word of "egrep" to use in msg output
3094 if test -z "$EGREP"; then
3095 set dummy egrep; ac_prog_name=$2
3096 if test "${ac_cv_path_EGREP+set}" = set; then
3097   echo $ECHO_N "(cached) $ECHO_C" >&6
3098 else
3099   ac_path_EGREP_found=false
3100 # Loop through the user's path and test for each of PROGNAME-LIST
3101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3102 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3103 do
3104   IFS=$as_save_IFS
3105   test -z "$as_dir" && as_dir=.
3106   for ac_prog in egrep; do
3107   for ac_exec_ext in '' $ac_executable_extensions; do
3108     ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3109     { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3110     # Check for GNU ac_path_EGREP and select it if it is found.
3111   # Check for GNU $ac_path_EGREP
3112 case `"$ac_path_EGREP" --version 2>&1` in
3113 *GNU*)
3114   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3115 *)
3116   ac_count=0
3117   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3118   while :
3119   do
3120     cat "conftest.in" "conftest.in" >"conftest.tmp"
3121     mv "conftest.tmp" "conftest.in"
3122     cp "conftest.in" "conftest.nl"
3123     echo 'EGREP' >> "conftest.nl"
3124     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3125     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3126     ac_count=`expr $ac_count + 1`
3127     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3128       # Best one so far, save it but keep looking for a better one
3129       ac_cv_path_EGREP="$ac_path_EGREP"
3130       ac_path_EGREP_max=$ac_count
3131     fi
3132     # 10*(2^10) chars as input seems more than enough
3133     test $ac_count -gt 10 && break
3134   done
3135   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3136 esac
3137
3138
3139     $ac_path_EGREP_found && break 3
3140   done
3141 done
3142
3143 done
3144 IFS=$as_save_IFS
3145
3146
3147 fi
3148
3149 EGREP="$ac_cv_path_EGREP"
3150 if test -z "$EGREP"; then
3151   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3152 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3153    { (exit 1); exit 1; }; }
3154 fi
3155
3156 else
3157   ac_cv_path_EGREP=$EGREP
3158 fi
3159
3160
3161    fi
3162 fi
3163 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3164 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3165  EGREP="$ac_cv_path_EGREP"
3166
3167
3168
3169   # Keep these sync'd with the list in Makefile.am.  The first provides an
3170   # expandable list at autoconf time; the second provides an expandable list
3171   # (i.e., shell variable) at configure time.
3172
3173   SUBDIRS='include libmath libsupc++ src doc po testsuite'
3174
3175   # These need to be absolute paths, yet at the same time need to
3176   # canonicalize only relative paths, because then amd will not unmount
3177   # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
3178   glibcxx_builddir=`${PWDCMD-pwd}`
3179   case $srcdir in
3180     \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
3181     *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
3182   esac
3183   toplevel_srcdir=${glibcxx_srcdir}/..
3184
3185
3186
3187
3188   # We use these options to decide which functions to include.  They are
3189   # set from the top level.
3190
3191 # Check whether --with-target-subdir was given.
3192 if test "${with_target_subdir+set}" = set; then
3193   withval=$with_target_subdir;
3194 fi
3195
3196
3197
3198 # Check whether --with-cross-host was given.
3199 if test "${with_cross_host+set}" = set; then
3200   withval=$with_cross_host;
3201 fi
3202
3203
3204
3205 # Check whether --with-newlib was given.
3206 if test "${with_newlib+set}" = set; then
3207   withval=$with_newlib;
3208 fi
3209
3210
3211   # We're almost certainly being configured before anything else which uses
3212   # C++, so all of our AC_PROG_* discoveries will be cached.  It's vital that
3213   # we not cache the value of CXX that we "discover" here, because it's set
3214   # to something unique for us and libjava.  Other target libraries need to
3215   # find CXX for themselves.  We yank the rug out from under the normal AC_*
3216   # process by sneakily renaming the cache variable.  This also lets us debug
3217   # the value of "our" CXX in postmortems.
3218   #
3219   # We must also force CXX to /not/ be a precious variable, otherwise the
3220   # wrong (non-multilib-adjusted) value will be used in multilibs.  This
3221   # little trick also affects CPPFLAGS, CXXFLAGS, and LDFLAGS.  And as a side
3222   # effect, CXXFLAGS is no longer automagically subst'd, so we have to do
3223   # that ourselves.  Un-preciousing AC_PROG_CC also affects CC and CFLAGS.
3224   #
3225   # -fno-builtin must be present here so that a non-conflicting form of
3226   # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3227
3228
3229
3230
3231   save_CXXFLAGS="$CXXFLAGS"
3232   CXXFLAGS="$CXXFLAGS -fno-builtin"
3233   ac_ext=c
3234 ac_cpp='$CPP $CPPFLAGS'
3235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3238 if test -n "$ac_tool_prefix"; then
3239   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3240 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3241 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3242 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3243 if test "${ac_cv_prog_CC+set}" = set; then
3244   echo $ECHO_N "(cached) $ECHO_C" >&6
3245 else
3246   if test -n "$CC"; then
3247   ac_cv_prog_CC="$CC" # Let the user override the test.
3248 else
3249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3250 for as_dir in $PATH
3251 do
3252   IFS=$as_save_IFS
3253   test -z "$as_dir" && as_dir=.
3254   for ac_exec_ext in '' $ac_executable_extensions; do
3255   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3256     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3257     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3258     break 2
3259   fi
3260 done
3261 done
3262 IFS=$as_save_IFS
3263
3264 fi
3265 fi
3266 CC=$ac_cv_prog_CC
3267 if test -n "$CC"; then
3268   { echo "$as_me:$LINENO: result: $CC" >&5
3269 echo "${ECHO_T}$CC" >&6; }
3270 else
3271   { echo "$as_me:$LINENO: result: no" >&5
3272 echo "${ECHO_T}no" >&6; }
3273 fi
3274
3275
3276 fi
3277 if test -z "$ac_cv_prog_CC"; then
3278   ac_ct_CC=$CC
3279   # Extract the first word of "gcc", so it can be a program name with args.
3280 set dummy gcc; ac_word=$2
3281 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3282 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3283 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3284   echo $ECHO_N "(cached) $ECHO_C" >&6
3285 else
3286   if test -n "$ac_ct_CC"; then
3287   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3288 else
3289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3290 for as_dir in $PATH
3291 do
3292   IFS=$as_save_IFS
3293   test -z "$as_dir" && as_dir=.
3294   for ac_exec_ext in '' $ac_executable_extensions; do
3295   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3296     ac_cv_prog_ac_ct_CC="gcc"
3297     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3298     break 2
3299   fi
3300 done
3301 done
3302 IFS=$as_save_IFS
3303
3304 fi
3305 fi
3306 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3307 if test -n "$ac_ct_CC"; then
3308   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3309 echo "${ECHO_T}$ac_ct_CC" >&6; }
3310 else
3311   { echo "$as_me:$LINENO: result: no" >&5
3312 echo "${ECHO_T}no" >&6; }
3313 fi
3314
3315   if test "x$ac_ct_CC" = x; then
3316     CC=""
3317   else
3318     case $cross_compiling:$ac_tool_warned in
3319 yes:)
3320 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3321 whose name does not start with the host triplet.  If you think this
3322 configuration is useful to you, please write to autoconf@gnu.org." >&5
3323 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3324 whose name does not start with the host triplet.  If you think this
3325 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3326 ac_tool_warned=yes ;;
3327 esac
3328     CC=$ac_ct_CC
3329   fi
3330 else
3331   CC="$ac_cv_prog_CC"
3332 fi
3333
3334 if test -z "$CC"; then
3335           if test -n "$ac_tool_prefix"; then
3336     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3337 set dummy ${ac_tool_prefix}cc; ac_word=$2
3338 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3339 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3340 if test "${ac_cv_prog_CC+set}" = set; then
3341   echo $ECHO_N "(cached) $ECHO_C" >&6
3342 else
3343   if test -n "$CC"; then
3344   ac_cv_prog_CC="$CC" # Let the user override the test.
3345 else
3346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3347 for as_dir in $PATH
3348 do
3349   IFS=$as_save_IFS
3350   test -z "$as_dir" && as_dir=.
3351   for ac_exec_ext in '' $ac_executable_extensions; do
3352   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3353     ac_cv_prog_CC="${ac_tool_prefix}cc"
3354     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3355     break 2
3356   fi
3357 done
3358 done
3359 IFS=$as_save_IFS
3360
3361 fi
3362 fi
3363 CC=$ac_cv_prog_CC
3364 if test -n "$CC"; then
3365   { echo "$as_me:$LINENO: result: $CC" >&5
3366 echo "${ECHO_T}$CC" >&6; }
3367 else
3368   { echo "$as_me:$LINENO: result: no" >&5
3369 echo "${ECHO_T}no" >&6; }
3370 fi
3371
3372
3373   fi
3374 fi
3375 if test -z "$CC"; then
3376   # Extract the first word of "cc", so it can be a program name with args.
3377 set dummy cc; ac_word=$2
3378 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3379 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3380 if test "${ac_cv_prog_CC+set}" = set; then
3381   echo $ECHO_N "(cached) $ECHO_C" >&6
3382 else
3383   if test -n "$CC"; then
3384   ac_cv_prog_CC="$CC" # Let the user override the test.
3385 else
3386   ac_prog_rejected=no
3387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3388 for as_dir in $PATH
3389 do
3390   IFS=$as_save_IFS
3391   test -z "$as_dir" && as_dir=.
3392   for ac_exec_ext in '' $ac_executable_extensions; do
3393   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3394     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3395        ac_prog_rejected=yes
3396        continue
3397      fi
3398     ac_cv_prog_CC="cc"
3399     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3400     break 2
3401   fi
3402 done
3403 done
3404 IFS=$as_save_IFS
3405
3406 if test $ac_prog_rejected = yes; then
3407   # We found a bogon in the path, so make sure we never use it.
3408   set dummy $ac_cv_prog_CC
3409   shift
3410   if test $# != 0; then
3411     # We chose a different compiler from the bogus one.
3412     # However, it has the same basename, so the bogon will be chosen
3413     # first if we set CC to just the basename; use the full file name.
3414     shift
3415     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3416   fi
3417 fi
3418 fi
3419 fi
3420 CC=$ac_cv_prog_CC
3421 if test -n "$CC"; then
3422   { echo "$as_me:$LINENO: result: $CC" >&5
3423 echo "${ECHO_T}$CC" >&6; }
3424 else
3425   { echo "$as_me:$LINENO: result: no" >&5
3426 echo "${ECHO_T}no" >&6; }
3427 fi
3428
3429
3430 fi
3431 if test -z "$CC"; then
3432   if test -n "$ac_tool_prefix"; then
3433   for ac_prog in cl.exe
3434   do
3435     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3436 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3437 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3438 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3439 if test "${ac_cv_prog_CC+set}" = set; then
3440   echo $ECHO_N "(cached) $ECHO_C" >&6
3441 else
3442   if test -n "$CC"; then
3443   ac_cv_prog_CC="$CC" # Let the user override the test.
3444 else
3445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3446 for as_dir in $PATH
3447 do
3448   IFS=$as_save_IFS
3449   test -z "$as_dir" && as_dir=.
3450   for ac_exec_ext in '' $ac_executable_extensions; do
3451   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3452     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3453     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3454     break 2
3455   fi
3456 done
3457 done
3458 IFS=$as_save_IFS
3459
3460 fi
3461 fi
3462 CC=$ac_cv_prog_CC
3463 if test -n "$CC"; then
3464   { echo "$as_me:$LINENO: result: $CC" >&5
3465 echo "${ECHO_T}$CC" >&6; }
3466 else
3467   { echo "$as_me:$LINENO: result: no" >&5
3468 echo "${ECHO_T}no" >&6; }
3469 fi
3470
3471
3472     test -n "$CC" && break
3473   done
3474 fi
3475 if test -z "$CC"; then
3476   ac_ct_CC=$CC
3477   for ac_prog in cl.exe
3478 do
3479   # Extract the first word of "$ac_prog", so it can be a program name with args.
3480 set dummy $ac_prog; ac_word=$2
3481 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3482 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3483 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3484   echo $ECHO_N "(cached) $ECHO_C" >&6
3485 else
3486   if test -n "$ac_ct_CC"; then
3487   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3488 else
3489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3490 for as_dir in $PATH
3491 do
3492   IFS=$as_save_IFS
3493   test -z "$as_dir" && as_dir=.
3494   for ac_exec_ext in '' $ac_executable_extensions; do
3495   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3496     ac_cv_prog_ac_ct_CC="$ac_prog"
3497     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3498     break 2
3499   fi
3500 done
3501 done
3502 IFS=$as_save_IFS
3503
3504 fi
3505 fi
3506 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3507 if test -n "$ac_ct_CC"; then
3508   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3509 echo "${ECHO_T}$ac_ct_CC" >&6; }
3510 else
3511   { echo "$as_me:$LINENO: result: no" >&5
3512 echo "${ECHO_T}no" >&6; }
3513 fi
3514
3515
3516   test -n "$ac_ct_CC" && break
3517 done
3518
3519   if test "x$ac_ct_CC" = x; then
3520     CC=""
3521   else
3522     case $cross_compiling:$ac_tool_warned in
3523 yes:)
3524 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3525 whose name does not start with the host triplet.  If you think this
3526 configuration is useful to you, please write to autoconf@gnu.org." >&5
3527 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3528 whose name does not start with the host triplet.  If you think this
3529 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3530 ac_tool_warned=yes ;;
3531 esac
3532     CC=$ac_ct_CC
3533   fi
3534 fi
3535
3536 fi
3537
3538
3539 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3540 See \`config.log' for more details." >&5
3541 echo "$as_me: error: no acceptable C compiler found in \$PATH
3542 See \`config.log' for more details." >&2;}
3543    { (exit 1); exit 1; }; }
3544
3545 # Provide some information about the compiler.
3546 echo "$as_me:$LINENO: checking for C compiler version" >&5
3547 ac_compiler=`set X $ac_compile; echo $2`
3548 { (ac_try="$ac_compiler --version >&5"
3549 case "(($ac_try" in
3550   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3551   *) ac_try_echo=$ac_try;;
3552 esac
3553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3554   (eval "$ac_compiler --version >&5") 2>&5
3555   ac_status=$?
3556   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3557   (exit $ac_status); }
3558 { (ac_try="$ac_compiler -v >&5"
3559 case "(($ac_try" in
3560   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3561   *) ac_try_echo=$ac_try;;
3562 esac
3563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3564   (eval "$ac_compiler -v >&5") 2>&5
3565   ac_status=$?
3566   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3567   (exit $ac_status); }
3568 { (ac_try="$ac_compiler -V >&5"
3569 case "(($ac_try" in
3570   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3571   *) ac_try_echo=$ac_try;;
3572 esac
3573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3574   (eval "$ac_compiler -V >&5") 2>&5
3575   ac_status=$?
3576   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3577   (exit $ac_status); }
3578
3579 cat >conftest.$ac_ext <<_ACEOF
3580 /* confdefs.h.  */
3581 _ACEOF
3582 cat confdefs.h >>conftest.$ac_ext
3583 cat >>conftest.$ac_ext <<_ACEOF
3584 /* end confdefs.h.  */
3585
3586 int
3587 main ()
3588 {
3589
3590   ;
3591   return 0;
3592 }
3593 _ACEOF
3594 # FIXME: Cleanup?
3595 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3596   (eval $ac_link) 2>&5
3597   ac_status=$?
3598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3599   (exit $ac_status); }; then
3600   gcc_no_link=no
3601 else
3602   gcc_no_link=yes
3603 fi
3604
3605 if test x$gcc_no_link = xyes; then
3606   # Setting cross_compile will disable run tests; it will
3607   # also disable AC_CHECK_FILE but that's generally
3608   # correct if we can't link.
3609   cross_compiling=yes
3610   EXEEXT=
3611 else
3612   cat >conftest.$ac_ext <<_ACEOF
3613 /* confdefs.h.  */
3614 _ACEOF
3615 cat confdefs.h >>conftest.$ac_ext
3616 cat >>conftest.$ac_ext <<_ACEOF
3617 /* end confdefs.h.  */
3618
3619 int
3620 main ()
3621 {
3622
3623   ;
3624   return 0;
3625 }
3626 _ACEOF
3627 ac_clean_files_save=$ac_clean_files
3628 ac_clean_files="$ac_clean_files a.out a.exe b.out"
3629 # Try to create an executable without -o first, disregard a.out.
3630 # It will help us diagnose broken compilers, and finding out an intuition
3631 # of exeext.
3632 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3633 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
3634 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3635 #
3636 # List of possible output files, starting from the most likely.
3637 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
3638 # only as a last resort.  b.out is created by i960 compilers.
3639 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
3640 #
3641 # The IRIX 6 linker writes into existing files which may not be
3642 # executable, retaining their permissions.  Remove them first so a
3643 # subsequent execution test works.
3644 ac_rmfiles=
3645 for ac_file in $ac_files
3646 do
3647   case $ac_file in
3648     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3649     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3650   esac
3651 done
3652 rm -f $ac_rmfiles
3653
3654 if { (ac_try="$ac_link_default"
3655 case "(($ac_try" in
3656   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3657   *) ac_try_echo=$ac_try;;
3658 esac
3659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3660   (eval "$ac_link_default") 2>&5
3661   ac_status=$?
3662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3663   (exit $ac_status); }; then
3664   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3665 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3666 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3667 # so that the user can short-circuit this test for compilers unknown to
3668 # Autoconf.
3669 for ac_file in $ac_files ''
3670 do
3671   test -f "$ac_file" || continue
3672   case $ac_file in
3673     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
3674         ;;
3675     [ab].out )
3676         # We found the default executable, but exeext='' is most
3677         # certainly right.
3678         break;;
3679     *.* )
3680         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3681         then :; else
3682            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3683         fi
3684         # We set ac_cv_exeext here because the later test for it is not
3685         # safe: cross compilers may not add the suffix if given an `-o'
3686         # argument, so we may need to know it at that point already.
3687         # Even if this section looks crufty: it has the advantage of
3688         # actually working.
3689         break;;
3690     * )
3691         break;;
3692   esac
3693 done
3694 test "$ac_cv_exeext" = no && ac_cv_exeext=
3695
3696 else
3697   ac_file=''
3698 fi
3699
3700 { echo "$as_me:$LINENO: result: $ac_file" >&5
3701 echo "${ECHO_T}$ac_file" >&6; }
3702 if test -z "$ac_file"; then
3703   echo "$as_me: failed program was:" >&5
3704 sed 's/^/| /' conftest.$ac_ext >&5
3705
3706 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
3707 See \`config.log' for more details." >&5
3708 echo "$as_me: error: C compiler cannot create executables
3709 See \`config.log' for more details." >&2;}
3710    { (exit 77); exit 77; }; }
3711 fi
3712
3713 ac_exeext=$ac_cv_exeext
3714
3715 # Check that the compiler produces executables we can run.  If not, either
3716 # the compiler is broken, or we cross compile.
3717 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3718 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
3719 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3720 # If not cross compiling, check that we can run a simple program.
3721 if test "$cross_compiling" != yes; then
3722   if { ac_try='./$ac_file'
3723   { (case "(($ac_try" in
3724   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3725   *) ac_try_echo=$ac_try;;
3726 esac
3727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3728   (eval "$ac_try") 2>&5
3729   ac_status=$?
3730   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3731   (exit $ac_status); }; }; then
3732     cross_compiling=no
3733   else
3734     if test "$cross_compiling" = maybe; then
3735         cross_compiling=yes
3736     else
3737         { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3738 If you meant to cross compile, use \`--host'.
3739 See \`config.log' for more details." >&5
3740 echo "$as_me: error: cannot run C compiled programs.
3741 If you meant to cross compile, use \`--host'.
3742 See \`config.log' for more details." >&2;}
3743    { (exit 1); exit 1; }; }
3744     fi
3745   fi
3746 fi
3747 { echo "$as_me:$LINENO: result: yes" >&5
3748 echo "${ECHO_T}yes" >&6; }
3749
3750 rm -f a.out a.exe conftest$ac_cv_exeext b.out
3751 ac_clean_files=$ac_clean_files_save
3752 # Check that the compiler produces executables we can run.  If not, either
3753 # the compiler is broken, or we cross compile.
3754 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3755 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3756 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
3757 echo "${ECHO_T}$cross_compiling" >&6; }
3758
3759 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
3760 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
3761 if { (ac_try="$ac_link"
3762 case "(($ac_try" in
3763   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3764   *) ac_try_echo=$ac_try;;
3765 esac
3766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3767   (eval "$ac_link") 2>&5
3768   ac_status=$?
3769   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3770   (exit $ac_status); }; then
3771   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3772 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3773 # work properly (i.e., refer to `conftest.exe'), while it won't with
3774 # `rm'.
3775 for ac_file in conftest.exe conftest conftest.*; do
3776   test -f "$ac_file" || continue
3777   case $ac_file in
3778     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3779     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3780           break;;
3781     * ) break;;
3782   esac
3783 done
3784 else
3785   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3786 See \`config.log' for more details." >&5
3787 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3788 See \`config.log' for more details." >&2;}
3789    { (exit 1); exit 1; }; }
3790 fi
3791
3792 rm -f conftest$ac_cv_exeext
3793 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3794 echo "${ECHO_T}$ac_cv_exeext" >&6; }
3795
3796 rm -f conftest.$ac_ext
3797 EXEEXT=$ac_cv_exeext
3798 ac_exeext=$EXEEXT
3799 fi
3800 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
3801 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3802 if test "${ac_cv_objext+set}" = set; then
3803   echo $ECHO_N "(cached) $ECHO_C" >&6
3804 else
3805   cat >conftest.$ac_ext <<_ACEOF
3806 /* confdefs.h.  */
3807 _ACEOF
3808 cat confdefs.h >>conftest.$ac_ext
3809 cat >>conftest.$ac_ext <<_ACEOF
3810 /* end confdefs.h.  */
3811
3812 int
3813 main ()
3814 {
3815
3816   ;
3817   return 0;
3818 }
3819 _ACEOF
3820 rm -f conftest.o conftest.obj
3821 if { (ac_try="$ac_compile"
3822 case "(($ac_try" in
3823   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3824   *) ac_try_echo=$ac_try;;
3825 esac
3826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3827   (eval "$ac_compile") 2>&5
3828   ac_status=$?
3829   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3830   (exit $ac_status); }; then
3831   for ac_file in conftest.o conftest.obj conftest.*; do
3832   test -f "$ac_file" || continue;
3833   case $ac_file in
3834     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3835     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3836        break;;
3837   esac
3838 done
3839 else
3840   echo "$as_me: failed program was:" >&5
3841 sed 's/^/| /' conftest.$ac_ext >&5
3842
3843 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3844 See \`config.log' for more details." >&5
3845 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3846 See \`config.log' for more details." >&2;}
3847    { (exit 1); exit 1; }; }
3848 fi
3849
3850 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3851 fi
3852 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3853 echo "${ECHO_T}$ac_cv_objext" >&6; }
3854 OBJEXT=$ac_cv_objext
3855 ac_objext=$OBJEXT
3856 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3857 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3858 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3859   echo $ECHO_N "(cached) $ECHO_C" >&6
3860 else
3861   cat >conftest.$ac_ext <<_ACEOF
3862 /* confdefs.h.  */
3863 _ACEOF
3864 cat confdefs.h >>conftest.$ac_ext
3865 cat >>conftest.$ac_ext <<_ACEOF
3866 /* end confdefs.h.  */
3867
3868 int
3869 main ()
3870 {
3871 #ifndef __GNUC__
3872        choke me
3873 #endif
3874
3875   ;
3876   return 0;
3877 }
3878 _ACEOF
3879 rm -f conftest.$ac_objext
3880 if { (ac_try="$ac_compile"
3881 case "(($ac_try" in
3882   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3883   *) ac_try_echo=$ac_try;;
3884 esac
3885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3886   (eval "$ac_compile") 2>conftest.er1
3887   ac_status=$?
3888   grep -v '^ *+' conftest.er1 >conftest.err
3889   rm -f conftest.er1
3890   cat conftest.err >&5
3891   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3892   (exit $ac_status); } && {
3893          test -z "$ac_c_werror_flag" ||
3894          test ! -s conftest.err
3895        } && test -s conftest.$ac_objext; then
3896   ac_compiler_gnu=yes
3897 else
3898   echo "$as_me: failed program was:" >&5
3899 sed 's/^/| /' conftest.$ac_ext >&5
3900
3901         ac_compiler_gnu=no
3902 fi
3903
3904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3905 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3906
3907 fi
3908 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3909 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3910 GCC=`test $ac_compiler_gnu = yes && echo yes`
3911 ac_test_CFLAGS=${CFLAGS+set}
3912 ac_save_CFLAGS=$CFLAGS
3913 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3914 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3915 if test "${ac_cv_prog_cc_g+set}" = set; then
3916   echo $ECHO_N "(cached) $ECHO_C" >&6
3917 else
3918   ac_save_c_werror_flag=$ac_c_werror_flag
3919    ac_c_werror_flag=yes
3920    ac_cv_prog_cc_g=no
3921    CFLAGS="-g"
3922    cat >conftest.$ac_ext <<_ACEOF
3923 /* confdefs.h.  */
3924 _ACEOF
3925 cat confdefs.h >>conftest.$ac_ext
3926 cat >>conftest.$ac_ext <<_ACEOF
3927 /* end confdefs.h.  */
3928
3929 int
3930 main ()
3931 {
3932
3933   ;
3934   return 0;
3935 }
3936 _ACEOF
3937 rm -f conftest.$ac_objext
3938 if { (ac_try="$ac_compile"
3939 case "(($ac_try" in
3940   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3941   *) ac_try_echo=$ac_try;;
3942 esac
3943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3944   (eval "$ac_compile") 2>conftest.er1
3945   ac_status=$?
3946   grep -v '^ *+' conftest.er1 >conftest.err
3947   rm -f conftest.er1
3948   cat conftest.err >&5
3949   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3950   (exit $ac_status); } && {
3951          test -z "$ac_c_werror_flag" ||
3952          test ! -s conftest.err
3953        } && test -s conftest.$ac_objext; then
3954   ac_cv_prog_cc_g=yes
3955 else
3956   echo "$as_me: failed program was:" >&5
3957 sed 's/^/| /' conftest.$ac_ext >&5
3958
3959         CFLAGS=""
3960       cat >conftest.$ac_ext <<_ACEOF
3961 /* confdefs.h.  */
3962 _ACEOF
3963 cat confdefs.h >>conftest.$ac_ext
3964 cat >>conftest.$ac_ext <<_ACEOF
3965 /* end confdefs.h.  */
3966
3967 int
3968 main ()
3969 {
3970
3971   ;
3972   return 0;
3973 }
3974 _ACEOF
3975 rm -f conftest.$ac_objext
3976 if { (ac_try="$ac_compile"
3977 case "(($ac_try" in
3978   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3979   *) ac_try_echo=$ac_try;;
3980 esac
3981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3982   (eval "$ac_compile") 2>conftest.er1
3983   ac_status=$?
3984   grep -v '^ *+' conftest.er1 >conftest.err
3985   rm -f conftest.er1
3986   cat conftest.err >&5
3987   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3988   (exit $ac_status); } && {
3989          test -z "$ac_c_werror_flag" ||
3990          test ! -s conftest.err
3991        } && test -s conftest.$ac_objext; then
3992   :
3993 else
3994   echo "$as_me: failed program was:" >&5
3995 sed 's/^/| /' conftest.$ac_ext >&5
3996
3997         ac_c_werror_flag=$ac_save_c_werror_flag
3998          CFLAGS="-g"
3999          cat >conftest.$ac_ext <<_ACEOF
4000 /* confdefs.h.  */
4001 _ACEOF
4002 cat confdefs.h >>conftest.$ac_ext
4003 cat >>conftest.$ac_ext <<_ACEOF
4004 /* end confdefs.h.  */
4005
4006 int
4007 main ()
4008 {
4009
4010   ;
4011   return 0;
4012 }
4013 _ACEOF
4014 rm -f conftest.$ac_objext
4015 if { (ac_try="$ac_compile"
4016 case "(($ac_try" in
4017   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4018   *) ac_try_echo=$ac_try;;
4019 esac
4020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4021   (eval "$ac_compile") 2>conftest.er1
4022   ac_status=$?
4023   grep -v '^ *+' conftest.er1 >conftest.err
4024   rm -f conftest.er1
4025   cat conftest.err >&5
4026   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4027   (exit $ac_status); } && {
4028          test -z "$ac_c_werror_flag" ||
4029          test ! -s conftest.err
4030        } && test -s conftest.$ac_objext; then
4031   ac_cv_prog_cc_g=yes
4032 else
4033   echo "$as_me: failed program was:" >&5
4034 sed 's/^/| /' conftest.$ac_ext >&5
4035
4036
4037 fi
4038
4039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4040 fi
4041
4042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4043 fi
4044
4045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4046    ac_c_werror_flag=$ac_save_c_werror_flag
4047 fi
4048 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4049 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
4050 if test "$ac_test_CFLAGS" = set; then
4051   CFLAGS=$ac_save_CFLAGS
4052 elif test $ac_cv_prog_cc_g = yes; then
4053   if test "$GCC" = yes; then
4054     CFLAGS="-g -O2"
4055   else
4056     CFLAGS="-g"
4057   fi
4058 else
4059   if test "$GCC" = yes; then
4060     CFLAGS="-O2"
4061   else
4062     CFLAGS=
4063   fi
4064 fi
4065 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
4066 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
4067 if test "${ac_cv_prog_cc_c89+set}" = set; then
4068   echo $ECHO_N "(cached) $ECHO_C" >&6
4069 else
4070   ac_cv_prog_cc_c89=no
4071 ac_save_CC=$CC
4072 cat >conftest.$ac_ext <<_ACEOF
4073 /* confdefs.h.  */
4074 _ACEOF
4075 cat confdefs.h >>conftest.$ac_ext
4076 cat >>conftest.$ac_ext <<_ACEOF
4077 /* end confdefs.h.  */
4078 #include <stdarg.h>
4079 #include <stdio.h>
4080 #include <sys/types.h>
4081 #include <sys/stat.h>
4082 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4083 struct buf { int x; };
4084 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4085 static char *e (p, i)
4086      char **p;
4087      int i;
4088 {
4089   return p[i];
4090 }
4091 static char *f (char * (*g) (char **, int), char **p, ...)
4092 {
4093   char *s;
4094   va_list v;
4095   va_start (v,p);
4096   s = g (p, va_arg (v,int));
4097   va_end (v);
4098   return s;
4099 }
4100
4101 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4102    function prototypes and stuff, but not '\xHH' hex character constants.
4103    These don't provoke an error unfortunately, instead are silently treated
4104    as 'x'.  The following induces an error, until -std is added to get
4105    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4106    array size at least.  It's necessary to write '\x00'==0 to get something
4107    that's true only with -std.  */
4108 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4109
4110 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4111    inside strings and character constants.  */
4112 #define FOO(x) 'x'
4113 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4114
4115 int test (int i, double x);
4116 struct s1 {int (*f) (int a);};
4117 struct s2 {int (*f) (double a);};
4118 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4119 int argc;
4120 char **argv;
4121 int
4122 main ()
4123 {
4124 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4125   ;
4126   return 0;
4127 }
4128 _ACEOF
4129 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4130         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4131 do
4132   CC="$ac_save_CC $ac_arg"
4133   rm -f conftest.$ac_objext
4134 if { (ac_try="$ac_compile"
4135 case "(($ac_try" in
4136   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4137   *) ac_try_echo=$ac_try;;
4138 esac
4139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4140   (eval "$ac_compile") 2>conftest.er1
4141   ac_status=$?
4142   grep -v '^ *+' conftest.er1 >conftest.err
4143   rm -f conftest.er1
4144   cat conftest.err >&5
4145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4146   (exit $ac_status); } && {
4147          test -z "$ac_c_werror_flag" ||
4148          test ! -s conftest.err
4149        } && test -s conftest.$ac_objext; then
4150   ac_cv_prog_cc_c89=$ac_arg
4151 else
4152   echo "$as_me: failed program was:" >&5
4153 sed 's/^/| /' conftest.$ac_ext >&5
4154
4155
4156 fi
4157
4158 rm -f core conftest.err conftest.$ac_objext
4159   test "x$ac_cv_prog_cc_c89" != "xno" && break
4160 done
4161 rm -f conftest.$ac_ext
4162 CC=$ac_save_CC
4163
4164 fi
4165 # AC_CACHE_VAL
4166 case "x$ac_cv_prog_cc_c89" in
4167   x)
4168     { echo "$as_me:$LINENO: result: none needed" >&5
4169 echo "${ECHO_T}none needed" >&6; } ;;
4170   xno)
4171     { echo "$as_me:$LINENO: result: unsupported" >&5
4172 echo "${ECHO_T}unsupported" >&6; } ;;
4173   *)
4174     CC="$CC $ac_cv_prog_cc_c89"
4175     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
4176 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
4177 esac
4178
4179
4180 ac_ext=c
4181 ac_cpp='$CPP $CPPFLAGS'
4182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4185
4186   ac_ext=cpp
4187 ac_cpp='$CXXCPP $CPPFLAGS'
4188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4191 if test -z "$CXX"; then
4192   if test -n "$CCC"; then
4193     CXX=$CCC
4194   else
4195     if test -n "$ac_tool_prefix"; then
4196   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4197   do
4198     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4199 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4200 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4201 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4202 if test "${glibcxx_cv_prog_CXX+set}" = set; then
4203   echo $ECHO_N "(cached) $ECHO_C" >&6
4204 else
4205   if test -n "$CXX"; then
4206   glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
4207 else
4208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4209 for as_dir in $PATH
4210 do
4211   IFS=$as_save_IFS
4212   test -z "$as_dir" && as_dir=.
4213   for ac_exec_ext in '' $ac_executable_extensions; do
4214   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4215     glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4216     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4217     break 2
4218   fi
4219 done
4220 done
4221 IFS=$as_save_IFS
4222
4223 fi
4224 fi
4225 CXX=$glibcxx_cv_prog_CXX
4226 if test -n "$CXX"; then
4227   { echo "$as_me:$LINENO: result: $CXX" >&5
4228 echo "${ECHO_T}$CXX" >&6; }
4229 else
4230   { echo "$as_me:$LINENO: result: no" >&5
4231 echo "${ECHO_T}no" >&6; }
4232 fi
4233
4234
4235     test -n "$CXX" && break
4236   done
4237 fi
4238 if test -z "$CXX"; then
4239   ac_ct_CXX=$CXX
4240   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4241 do
4242   # Extract the first word of "$ac_prog", so it can be a program name with args.
4243 set dummy $ac_prog; ac_word=$2
4244 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4245 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4246 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
4247   echo $ECHO_N "(cached) $ECHO_C" >&6
4248 else
4249   if test -n "$ac_ct_CXX"; then
4250   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4251 else
4252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4253 for as_dir in $PATH
4254 do
4255   IFS=$as_save_IFS
4256   test -z "$as_dir" && as_dir=.
4257   for ac_exec_ext in '' $ac_executable_extensions; do
4258   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4259     ac_cv_prog_ac_ct_CXX="$ac_prog"
4260     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4261     break 2
4262   fi
4263 done
4264 done
4265 IFS=$as_save_IFS
4266
4267 fi
4268 fi
4269 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4270 if test -n "$ac_ct_CXX"; then
4271   { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
4272 echo "${ECHO_T}$ac_ct_CXX" >&6; }
4273 else
4274   { echo "$as_me:$LINENO: result: no" >&5
4275 echo "${ECHO_T}no" >&6; }
4276 fi
4277
4278
4279   test -n "$ac_ct_CXX" && break
4280 done
4281
4282   if test "x$ac_ct_CXX" = x; then
4283     CXX="g++"
4284   else
4285     case $cross_compiling:$ac_tool_warned in
4286 yes:)
4287 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4288 whose name does not start with the host triplet.  If you think this
4289 configuration is useful to you, please write to autoconf@gnu.org." >&5
4290 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4291 whose name does not start with the host triplet.  If you think this
4292 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4293 ac_tool_warned=yes ;;
4294 esac
4295     CXX=$ac_ct_CXX
4296   fi
4297 fi
4298
4299   fi
4300 fi
4301 # Provide some information about the compiler.
4302 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
4303 ac_compiler=`set X $ac_compile; echo $2`
4304 { (ac_try="$ac_compiler --version >&5"
4305 case "(($ac_try" in
4306   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4307   *) ac_try_echo=$ac_try;;
4308 esac
4309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4310   (eval "$ac_compiler --version >&5") 2>&5
4311   ac_status=$?
4312   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4313   (exit $ac_status); }
4314 { (ac_try="$ac_compiler -v >&5"
4315 case "(($ac_try" in
4316   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4317   *) ac_try_echo=$ac_try;;
4318 esac
4319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4320   (eval "$ac_compiler -v >&5") 2>&5
4321   ac_status=$?
4322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4323   (exit $ac_status); }
4324 { (ac_try="$ac_compiler -V >&5"
4325 case "(($ac_try" in
4326   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4327   *) ac_try_echo=$ac_try;;
4328 esac
4329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4330   (eval "$ac_compiler -V >&5") 2>&5
4331   ac_status=$?
4332   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4333   (exit $ac_status); }
4334
4335 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
4336 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
4337 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
4338   echo $ECHO_N "(cached) $ECHO_C" >&6
4339 else
4340   cat >conftest.$ac_ext <<_ACEOF
4341 /* confdefs.h.  */
4342 _ACEOF
4343 cat confdefs.h >>conftest.$ac_ext
4344 cat >>conftest.$ac_ext <<_ACEOF
4345 /* end confdefs.h.  */
4346
4347 int
4348 main ()
4349 {
4350 #ifndef __GNUC__
4351        choke me
4352 #endif
4353
4354   ;
4355   return 0;
4356 }
4357 _ACEOF
4358 rm -f conftest.$ac_objext
4359 if { (ac_try="$ac_compile"
4360 case "(($ac_try" in
4361   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4362   *) ac_try_echo=$ac_try;;
4363 esac
4364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4365   (eval "$ac_compile") 2>conftest.er1
4366   ac_status=$?
4367   grep -v '^ *+' conftest.er1 >conftest.err
4368   rm -f conftest.er1
4369   cat conftest.err >&5
4370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4371   (exit $ac_status); } && {
4372          test -z "$ac_cxx_werror_flag" ||
4373          test ! -s conftest.err
4374        } && test -s conftest.$ac_objext; then
4375   ac_compiler_gnu=yes
4376 else
4377   echo "$as_me: failed program was:" >&5
4378 sed 's/^/| /' conftest.$ac_ext >&5
4379
4380         ac_compiler_gnu=no
4381 fi
4382
4383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4384 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4385
4386 fi
4387 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
4388 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
4389 GXX=`test $ac_compiler_gnu = yes && echo yes`
4390 ac_test_CXXFLAGS=${CXXFLAGS+set}
4391 ac_save_CXXFLAGS=$CXXFLAGS
4392 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
4393 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
4394 if test "${ac_cv_prog_cxx_g+set}" = set; then
4395   echo $ECHO_N "(cached) $ECHO_C" >&6
4396 else
4397   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4398    ac_cxx_werror_flag=yes
4399    ac_cv_prog_cxx_g=no
4400    CXXFLAGS="-g"
4401    cat >conftest.$ac_ext <<_ACEOF
4402 /* confdefs.h.  */
4403 _ACEOF
4404 cat confdefs.h >>conftest.$ac_ext
4405 cat >>conftest.$ac_ext <<_ACEOF
4406 /* end confdefs.h.  */
4407
4408 int
4409 main ()
4410 {
4411
4412   ;
4413   return 0;
4414 }
4415 _ACEOF
4416 rm -f conftest.$ac_objext
4417 if { (ac_try="$ac_compile"
4418 case "(($ac_try" in
4419   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4420   *) ac_try_echo=$ac_try;;
4421 esac
4422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4423   (eval "$ac_compile") 2>conftest.er1
4424   ac_status=$?
4425   grep -v '^ *+' conftest.er1 >conftest.err
4426   rm -f conftest.er1
4427   cat conftest.err >&5
4428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4429   (exit $ac_status); } && {
4430          test -z "$ac_cxx_werror_flag" ||
4431          test ! -s conftest.err
4432        } && test -s conftest.$ac_objext; then
4433   ac_cv_prog_cxx_g=yes
4434 else
4435   echo "$as_me: failed program was:" >&5
4436 sed 's/^/| /' conftest.$ac_ext >&5
4437
4438         CXXFLAGS=""
4439       cat >conftest.$ac_ext <<_ACEOF
4440 /* confdefs.h.  */
4441 _ACEOF
4442 cat confdefs.h >>conftest.$ac_ext
4443 cat >>conftest.$ac_ext <<_ACEOF
4444 /* end confdefs.h.  */
4445
4446 int
4447 main ()
4448 {
4449
4450   ;
4451   return 0;
4452 }
4453 _ACEOF
4454 rm -f conftest.$ac_objext
4455 if { (ac_try="$ac_compile"
4456 case "(($ac_try" in
4457   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4458   *) ac_try_echo=$ac_try;;
4459 esac
4460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4461   (eval "$ac_compile") 2>conftest.er1
4462   ac_status=$?
4463   grep -v '^ *+' conftest.er1 >conftest.err
4464   rm -f conftest.er1
4465   cat conftest.err >&5
4466   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4467   (exit $ac_status); } && {
4468          test -z "$ac_cxx_werror_flag" ||
4469          test ! -s conftest.err
4470        } && test -s conftest.$ac_objext; then
4471   :
4472 else
4473   echo "$as_me: failed program was:" >&5
4474 sed 's/^/| /' conftest.$ac_ext >&5
4475
4476         ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4477          CXXFLAGS="-g"
4478          cat >conftest.$ac_ext <<_ACEOF
4479 /* confdefs.h.  */
4480 _ACEOF
4481 cat confdefs.h >>conftest.$ac_ext
4482 cat >>conftest.$ac_ext <<_ACEOF
4483 /* end confdefs.h.  */
4484
4485 int
4486 main ()
4487 {
4488
4489   ;
4490   return 0;
4491 }
4492 _ACEOF
4493 rm -f conftest.$ac_objext
4494 if { (ac_try="$ac_compile"
4495 case "(($ac_try" in
4496   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4497   *) ac_try_echo=$ac_try;;
4498 esac
4499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4500   (eval "$ac_compile") 2>conftest.er1
4501   ac_status=$?
4502   grep -v '^ *+' conftest.er1 >conftest.err
4503   rm -f conftest.er1
4504   cat conftest.err >&5
4505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4506   (exit $ac_status); } && {
4507          test -z "$ac_cxx_werror_flag" ||
4508          test ! -s conftest.err
4509        } && test -s conftest.$ac_objext; then
4510   ac_cv_prog_cxx_g=yes
4511 else
4512   echo "$as_me: failed program was:" >&5
4513 sed 's/^/| /' conftest.$ac_ext >&5
4514
4515
4516 fi
4517
4518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4519 fi
4520
4521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4522 fi
4523
4524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4525    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4526 fi
4527 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
4528 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
4529 if test "$ac_test_CXXFLAGS" = set; then
4530   CXXFLAGS=$ac_save_CXXFLAGS
4531 elif test $ac_cv_prog_cxx_g = yes; then
4532   if test "$GXX" = yes; then
4533     CXXFLAGS="-g -O2"
4534   else
4535     CXXFLAGS="-g"
4536   fi
4537 else
4538   if test "$GXX" = yes; then
4539     CXXFLAGS="-O2"
4540   else
4541     CXXFLAGS=
4542   fi
4543 fi
4544 ac_ext=c
4545 ac_cpp='$CPP $CPPFLAGS'
4546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4549
4550   CXXFLAGS="$save_CXXFLAGS"
4551
4552
4553
4554
4555   # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
4556   # available).  Uncomment the next line to force a particular method.
4557   { echo "$as_me:$LINENO: checking whether ln -s works" >&5
4558 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
4559 LN_S=$as_ln_s
4560 if test "$LN_S" = "ln -s"; then
4561   { echo "$as_me:$LINENO: result: yes" >&5
4562 echo "${ECHO_T}yes" >&6; }
4563 else
4564   { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4565 echo "${ECHO_T}no, using $LN_S" >&6; }
4566 fi
4567
4568   #LN_S='cp -p'
4569
4570   if test -n "$ac_tool_prefix"; then
4571   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4572 set dummy ${ac_tool_prefix}as; ac_word=$2
4573 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4574 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4575 if test "${ac_cv_prog_AS+set}" = set; then
4576   echo $ECHO_N "(cached) $ECHO_C" >&6
4577 else
4578   if test -n "$AS"; then
4579   ac_cv_prog_AS="$AS" # Let the user override the test.
4580 else
4581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4582 for as_dir in $PATH
4583 do
4584   IFS=$as_save_IFS
4585   test -z "$as_dir" && as_dir=.
4586   for ac_exec_ext in '' $ac_executable_extensions; do
4587   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4588     ac_cv_prog_AS="${ac_tool_prefix}as"
4589     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4590     break 2
4591   fi
4592 done
4593 done
4594 IFS=$as_save_IFS
4595
4596 fi
4597 fi
4598 AS=$ac_cv_prog_AS
4599 if test -n "$AS"; then
4600   { echo "$as_me:$LINENO: result: $AS" >&5
4601 echo "${ECHO_T}$AS" >&6; }
4602 else
4603   { echo "$as_me:$LINENO: result: no" >&5
4604 echo "${ECHO_T}no" >&6; }
4605 fi
4606
4607
4608 fi
4609 if test -z "$ac_cv_prog_AS"; then
4610   ac_ct_AS=$AS
4611   # Extract the first word of "as", so it can be a program name with args.
4612 set dummy as; ac_word=$2
4613 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4614 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4615 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
4616   echo $ECHO_N "(cached) $ECHO_C" >&6
4617 else
4618   if test -n "$ac_ct_AS"; then
4619   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4620 else
4621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4622 for as_dir in $PATH
4623 do
4624   IFS=$as_save_IFS
4625   test -z "$as_dir" && as_dir=.
4626   for ac_exec_ext in '' $ac_executable_extensions; do
4627   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4628     ac_cv_prog_ac_ct_AS="as"
4629     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4630     break 2
4631   fi
4632 done
4633 done
4634 IFS=$as_save_IFS
4635
4636 fi
4637 fi
4638 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4639 if test -n "$ac_ct_AS"; then
4640   { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
4641 echo "${ECHO_T}$ac_ct_AS" >&6; }
4642 else
4643   { echo "$as_me:$LINENO: result: no" >&5
4644 echo "${ECHO_T}no" >&6; }
4645 fi
4646
4647   if test "x$ac_ct_AS" = x; then
4648     AS=""
4649   else
4650     case $cross_compiling:$ac_tool_warned in
4651 yes:)
4652 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4653 whose name does not start with the host triplet.  If you think this
4654 configuration is useful to you, please write to autoconf@gnu.org." >&5
4655 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4656 whose name does not start with the host triplet.  If you think this
4657 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4658 ac_tool_warned=yes ;;
4659 esac
4660     AS=$ac_ct_AS
4661   fi
4662 else
4663   AS="$ac_cv_prog_AS"
4664 fi
4665
4666   if test -n "$ac_tool_prefix"; then
4667   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4668 set dummy ${ac_tool_prefix}ar; ac_word=$2
4669 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4670 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4671 if test "${ac_cv_prog_AR+set}" = set; then
4672   echo $ECHO_N "(cached) $ECHO_C" >&6
4673 else
4674   if test -n "$AR"; then
4675   ac_cv_prog_AR="$AR" # Let the user override the test.
4676 else
4677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4678 for as_dir in $PATH
4679 do
4680   IFS=$as_save_IFS
4681   test -z "$as_dir" && as_dir=.
4682   for ac_exec_ext in '' $ac_executable_extensions; do
4683   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4684     ac_cv_prog_AR="${ac_tool_prefix}ar"
4685     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4686     break 2
4687   fi
4688 done
4689 done
4690 IFS=$as_save_IFS
4691
4692 fi
4693 fi
4694 AR=$ac_cv_prog_AR
4695 if test -n "$AR"; then
4696   { echo "$as_me:$LINENO: result: $AR" >&5
4697 echo "${ECHO_T}$AR" >&6; }
4698 else
4699   { echo "$as_me:$LINENO: result: no" >&5
4700 echo "${ECHO_T}no" >&6; }
4701 fi
4702
4703
4704 fi
4705 if test -z "$ac_cv_prog_AR"; then
4706   ac_ct_AR=$AR
4707   # Extract the first word of "ar", so it can be a program name with args.
4708 set dummy ar; ac_word=$2
4709 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4710 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4711 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
4712   echo $ECHO_N "(cached) $ECHO_C" >&6
4713 else
4714   if test -n "$ac_ct_AR"; then
4715   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4716 else
4717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4718 for as_dir in $PATH
4719 do
4720   IFS=$as_save_IFS
4721   test -z "$as_dir" && as_dir=.
4722   for ac_exec_ext in '' $ac_executable_extensions; do
4723   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4724     ac_cv_prog_ac_ct_AR="ar"
4725     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4726     break 2
4727   fi
4728 done
4729 done
4730 IFS=$as_save_IFS
4731
4732 fi
4733 fi
4734 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4735 if test -n "$ac_ct_AR"; then
4736   { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
4737 echo "${ECHO_T}$ac_ct_AR" >&6; }
4738 else
4739   { echo "$as_me:$LINENO: result: no" >&5
4740 echo "${ECHO_T}no" >&6; }
4741 fi
4742
4743   if test "x$ac_ct_AR" = x; then
4744     AR=""
4745   else
4746     case $cross_compiling:$ac_tool_warned in
4747 yes:)
4748 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4749 whose name does not start with the host triplet.  If you think this
4750 configuration is useful to you, please write to autoconf@gnu.org." >&5
4751 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4752 whose name does not start with the host triplet.  If you think this
4753 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4754 ac_tool_warned=yes ;;
4755 esac
4756     AR=$ac_ct_AR
4757   fi
4758 else
4759   AR="$ac_cv_prog_AR"
4760 fi
4761
4762   if test -n "$ac_tool_prefix"; then
4763   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4764 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4765 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4766 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4767 if test "${ac_cv_prog_RANLIB+set}" = set; then
4768   echo $ECHO_N "(cached) $ECHO_C" >&6
4769 else
4770   if test -n "$RANLIB"; then
4771   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4772 else
4773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4774 for as_dir in $PATH
4775 do
4776   IFS=$as_save_IFS
4777   test -z "$as_dir" && as_dir=.
4778   for ac_exec_ext in '' $ac_executable_extensions; do
4779   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4780     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4781     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4782     break 2
4783   fi
4784 done
4785 done
4786 IFS=$as_save_IFS
4787
4788 fi
4789 fi
4790 RANLIB=$ac_cv_prog_RANLIB
4791 if test -n "$RANLIB"; then
4792   { echo "$as_me:$LINENO: result: $RANLIB" >&5
4793 echo "${ECHO_T}$RANLIB" >&6; }
4794 else
4795   { echo "$as_me:$LINENO: result: no" >&5
4796 echo "${ECHO_T}no" >&6; }
4797 fi
4798
4799
4800 fi
4801 if test -z "$ac_cv_prog_RANLIB"; then
4802   ac_ct_RANLIB=$RANLIB
4803   # Extract the first word of "ranlib", so it can be a program name with args.
4804 set dummy ranlib; ac_word=$2
4805 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4806 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4807 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4808   echo $ECHO_N "(cached) $ECHO_C" >&6
4809 else
4810   if test -n "$ac_ct_RANLIB"; then
4811   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4812 else
4813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4814 for as_dir in $PATH
4815 do
4816   IFS=$as_save_IFS
4817   test -z "$as_dir" && as_dir=.
4818   for ac_exec_ext in '' $ac_executable_extensions; do
4819   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4820     ac_cv_prog_ac_ct_RANLIB="ranlib"
4821     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4822     break 2
4823   fi
4824 done
4825 done
4826 IFS=$as_save_IFS
4827
4828 fi
4829 fi
4830 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4831 if test -n "$ac_ct_RANLIB"; then
4832   { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4833 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
4834 else
4835   { echo "$as_me:$LINENO: result: no" >&5
4836 echo "${ECHO_T}no" >&6; }
4837 fi
4838
4839   if test "x$ac_ct_RANLIB" = x; then
4840     RANLIB="ranlib-not-found-in-path-error"
4841   else
4842     case $cross_compiling:$ac_tool_warned in
4843 yes:)
4844 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4845 whose name does not start with the host triplet.  If you think this
4846 configuration is useful to you, please write to autoconf@gnu.org." >&5
4847 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4848 whose name does not start with the host triplet.  If you think this
4849 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4850 ac_tool_warned=yes ;;
4851 esac
4852     RANLIB=$ac_ct_RANLIB
4853   fi
4854 else
4855   RANLIB="$ac_cv_prog_RANLIB"
4856 fi
4857
4858
4859   { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
4860 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
4861     # Check whether --enable-maintainer-mode was given.
4862 if test "${enable_maintainer_mode+set}" = set; then
4863   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
4864 else
4865   USE_MAINTAINER_MODE=no
4866 fi
4867
4868   { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
4869 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
4870    if test $USE_MAINTAINER_MODE = yes; then
4871   MAINTAINER_MODE_TRUE=
4872   MAINTAINER_MODE_FALSE='#'
4873 else
4874   MAINTAINER_MODE_TRUE='#'
4875   MAINTAINER_MODE_FALSE=
4876 fi
4877
4878   MAINT=$MAINTAINER_MODE_TRUE
4879
4880
4881
4882   # Set up safe default values for all subsequent AM_CONDITIONAL tests
4883   # which are themselves conditionally expanded.
4884   ## (Right now, this only matters for enable_wchar_t, but nothing prevents
4885   ## other macros from doing the same.  This should be automated.)  -pme
4886   need_libmath=no
4887
4888   # Check for uClibc since Linux platforms use different configuration
4889   # directories depending on the C library in use.
4890   cat >conftest.$ac_ext <<_ACEOF
4891 /* confdefs.h.  */
4892 _ACEOF
4893 cat confdefs.h >>conftest.$ac_ext
4894 cat >>conftest.$ac_ext <<_ACEOF
4895 /* end confdefs.h.  */
4896
4897   #include <stdio.h>
4898   #if __UCLIBC__
4899     _using_uclibc
4900   #endif
4901
4902 _ACEOF
4903 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4904   $EGREP "_using_uclibc" >/dev/null 2>&1; then
4905   uclibc=yes
4906 else
4907   uclibc=no
4908 fi
4909 rm -f conftest*
4910
4911
4912   # Find platform-specific directories containing configuration info.
4913   # Also possibly modify flags used elsewhere, as needed by the platform.
4914
4915   . $glibcxx_srcdir/configure.host
4916   { echo "$as_me:$LINENO: CPU config directory is $cpu_include_dir" >&5
4917 echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
4918   { echo "$as_me:$LINENO: OS config directory is $os_include_dir" >&5
4919 echo "$as_me: OS config directory is $os_include_dir" >&6;}
4920
4921
4922
4923 enable_dlopen=yes
4924
4925
4926
4927
4928
4929 macro_version='2.1a'
4930 macro_revision='1.2435'
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943 ltmain="$ac_aux_dir/ltmain.sh"
4944
4945 # Set options
4946
4947
4948 enable_win32_dll=no
4949
4950
4951 # Check whether --enable-shared was given.
4952 if test "${enable_shared+set}" = set; then
4953   enableval=$enable_shared; p=${PACKAGE-default}
4954     case $enableval in
4955     yes) enable_shared=yes ;;
4956     no) enable_shared=no ;;
4957     *)
4958       enable_shared=no
4959       # Look at the argument we got.  We use all the common list separators.
4960       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4961       for pkg in $enableval; do
4962         IFS="$lt_save_ifs"
4963         if test "X$pkg" = "X$p"; then
4964           enable_shared=yes
4965         fi
4966       done
4967       IFS="$lt_save_ifs"
4968       ;;
4969     esac
4970 else
4971   enable_shared=yes
4972 fi
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982 # Check whether --enable-static was given.
4983 if test "${enable_static+set}" = set; then
4984   enableval=$enable_static; p=${PACKAGE-default}
4985     case $enableval in
4986     yes) enable_static=yes ;;
4987     no) enable_static=no ;;
4988     *)
4989      enable_static=no
4990       # Look at the argument we got.  We use all the common list separators.
4991       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4992       for pkg in $enableval; do
4993         IFS="$lt_save_ifs"
4994         if test "X$pkg" = "X$p"; then
4995           enable_static=yes
4996         fi
4997       done
4998       IFS="$lt_save_ifs"
4999       ;;
5000     esac
5001 else
5002   enable_static=yes
5003 fi
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014 # Check whether --with-pic was given.
5015 if test "${with_pic+set}" = set; then
5016   withval=$with_pic; pic_mode="$withval"
5017 else
5018   pic_mode=default
5019 fi
5020
5021
5022 test -z "$pic_mode" && pic_mode=default
5023
5024
5025
5026
5027
5028
5029
5030 # Check whether --enable-fast-install was given.
5031 if test "${enable_fast_install+set}" = set; then
5032   enableval=$enable_fast_install; p=${PACKAGE-default}
5033     case $enableval in
5034     yes) enable_fast_install=yes ;;
5035     no) enable_fast_install=no ;;
5036     *)
5037       enable_fast_install=no
5038       # Look at the argument we got.  We use all the common list separators.
5039       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
5040       for pkg in $enableval; do
5041         IFS="$lt_save_ifs"
5042         if test "X$pkg" = "X$p"; then
5043           enable_fast_install=yes
5044         fi
5045       done
5046       IFS="$lt_save_ifs"
5047       ;;
5048     esac
5049 else
5050   enable_fast_install=yes
5051 fi
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
5062 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
5063 if test "${ac_cv_path_SED+set}" = set; then
5064   echo $ECHO_N "(cached) $ECHO_C" >&6
5065 else
5066             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5067      for ac_i in 1 2 3 4 5 6 7; do
5068        ac_script="$ac_script$as_nl$ac_script"
5069      done
5070      echo "$ac_script" | sed 99q >conftest.sed
5071      $as_unset ac_script || ac_script=
5072      # Extract the first word of "sed gsed" to use in msg output
5073 if test -z "$SED"; then
5074 set dummy sed gsed; ac_prog_name=$2
5075 if test "${ac_cv_path_SED+set}" = set; then
5076   echo $ECHO_N "(cached) $ECHO_C" >&6
5077 else
5078   ac_path_SED_found=false
5079 # Loop through the user's path and test for each of PROGNAME-LIST
5080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5081 for as_dir in $PATH
5082 do
5083   IFS=$as_save_IFS
5084   test -z "$as_dir" && as_dir=.
5085   for ac_prog in sed gsed; do
5086   for ac_exec_ext in '' $ac_executable_extensions; do
5087     ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5088     { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5089     # Check for GNU ac_path_SED and select it if it is found.
5090   # Check for GNU $ac_path_SED
5091 case `"$ac_path_SED" --version 2>&1` in
5092 *GNU*)
5093   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5094 *)
5095   ac_count=0
5096   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5097   while :
5098   do
5099     cat "conftest.in" "conftest.in" >"conftest.tmp"
5100     mv "conftest.tmp" "conftest.in"
5101     cp "conftest.in" "conftest.nl"
5102     echo '' >> "conftest.nl"
5103     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5104     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5105     ac_count=`expr $ac_count + 1`
5106     if test $ac_count -gt ${ac_path_SED_max-0}; then
5107       # Best one so far, save it but keep looking for a better one
5108       ac_cv_path_SED="$ac_path_SED"
5109       ac_path_SED_max=$ac_count
5110     fi
5111     # 10*(2^10) chars as input seems more than enough
5112     test $ac_count -gt 10 && break
5113   done
5114   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5115 esac
5116
5117
5118     $ac_path_SED_found && break 3
5119   done
5120 done
5121
5122 done
5123 IFS=$as_save_IFS
5124
5125
5126 fi
5127
5128 SED="$ac_cv_path_SED"
5129 if test -z "$SED"; then
5130   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in \$PATH" >&5
5131 echo "$as_me: error: no acceptable $ac_prog_name could be found in \$PATH" >&2;}
5132    { (exit 1); exit 1; }; }
5133 fi
5134
5135 else
5136   ac_cv_path_SED=$SED
5137 fi
5138
5139 fi
5140 { echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
5141 echo "${ECHO_T}$ac_cv_path_SED" >&6; }
5142  SED="$ac_cv_path_SED"
5143   rm -f conftest.sed
5144
5145 test -z "$SED" && SED=sed
5146 Xsed="$SED -e 1s/^X//"
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158 { echo "$as_me:$LINENO: checking for fgrep" >&5
5159 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6; }
5160 if test "${ac_cv_path_FGREP+set}" = set; then
5161   echo $ECHO_N "(cached) $ECHO_C" >&6
5162 else
5163   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5164    then ac_cv_path_FGREP="$GREP -F"
5165    else
5166      # Extract the first word of "fgrep" to use in msg output
5167 if test -z "$FGREP"; then
5168 set dummy fgrep; ac_prog_name=$2
5169 if test "${ac_cv_path_FGREP+set}" = set; then
5170   echo $ECHO_N "(cached) $ECHO_C" >&6
5171 else
5172   ac_path_FGREP_found=false
5173 # Loop through the user's path and test for each of PROGNAME-LIST
5174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5175 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5176 do
5177   IFS=$as_save_IFS
5178   test -z "$as_dir" && as_dir=.
5179   for ac_prog in fgrep; do
5180   for ac_exec_ext in '' $ac_executable_extensions; do
5181     ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5182     { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5183     # Check for GNU ac_path_FGREP and select it if it is found.
5184   # Check for GNU $ac_path_FGREP
5185 case `"$ac_path_FGREP" --version 2>&1` in
5186 *GNU*)
5187   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5188 *)
5189   ac_count=0
5190   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5191   while :
5192   do
5193     cat "conftest.in" "conftest.in" >"conftest.tmp"
5194     mv "conftest.tmp" "conftest.in"
5195     cp "conftest.in" "conftest.nl"
5196     echo 'FGREP' >> "conftest.nl"
5197     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5198     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5199     ac_count=`expr $ac_count + 1`
5200     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5201       # Best one so far, save it but keep looking for a better one
5202       ac_cv_path_FGREP="$ac_path_FGREP"
5203       ac_path_FGREP_max=$ac_count
5204     fi
5205     # 10*(2^10) chars as input seems more than enough
5206     test $ac_count -gt 10 && break
5207   done
5208   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5209 esac
5210
5211
5212     $ac_path_FGREP_found && break 3
5213   done
5214 done
5215
5216 done
5217 IFS=$as_save_IFS
5218
5219
5220 fi
5221
5222 FGREP="$ac_cv_path_FGREP"
5223 if test -z "$FGREP"; then
5224   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5225 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5226    { (exit 1); exit 1; }; }
5227 fi
5228
5229 else
5230   ac_cv_path_FGREP=$FGREP
5231 fi
5232
5233
5234    fi
5235 fi
5236 { echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
5237 echo "${ECHO_T}$ac_cv_path_FGREP" >&6; }
5238  FGREP="$ac_cv_path_FGREP"
5239
5240
5241 test -z "$GREP" && GREP=grep
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261 # Check whether --with-gnu-ld was given.
5262 if test "${with_gnu_ld+set}" = set; then
5263   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5264 else
5265   with_gnu_ld=no
5266 fi
5267
5268 ac_prog=ld
5269 if test "$GCC" = yes; then
5270   # Check if gcc -print-prog-name=ld gives a path.
5271   { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
5272 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
5273   case $host in
5274   *-*-mingw*)
5275     # gcc leaves a trailing carriage return which upsets mingw
5276     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5277   *)
5278     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5279   esac
5280   case $ac_prog in
5281     # Accept absolute paths.
5282     [\\/]* | ?:[\\/]*)
5283       re_direlt='/[^/][^/]*/\.\./'
5284       # Canonicalize the pathname of ld
5285       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5286       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5287         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5288       done
5289       test -z "$LD" && LD="$ac_prog"
5290       ;;
5291   "")
5292     # If it fails, then pretend we aren't using GCC.
5293     ac_prog=ld
5294     ;;
5295   *)
5296     # If it is relative, then search for the first ld in PATH.
5297     with_gnu_ld=unknown
5298     ;;
5299   esac
5300 elif test "$with_gnu_ld" = yes; then
5301   { echo "$as_me:$LINENO: checking for GNU ld" >&5
5302 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
5303 else
5304   { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
5305 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
5306 fi
5307 if test "${lt_cv_path_LD+set}" = set; then
5308   echo $ECHO_N "(cached) $ECHO_C" >&6
5309 else
5310   if test -z "$LD"; then
5311   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5312   for ac_dir in $PATH; do
5313     IFS="$lt_save_ifs"
5314     test -z "$ac_dir" && ac_dir=.
5315     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5316       lt_cv_path_LD="$ac_dir/$ac_prog"
5317       # Check to see if the program is GNU ld.  I'd rather use --version,
5318       # but apparently some variants of GNU ld only accept -v.
5319       # Break only if it was the GNU/non-GNU ld that we prefer.
5320       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5321       *GNU* | *'with BFD'*)
5322         test "$with_gnu_ld" != no && break
5323         ;;
5324       *)
5325         test "$with_gnu_ld" != yes && break
5326         ;;
5327       esac
5328     fi
5329   done
5330   IFS="$lt_save_ifs"
5331 else
5332   lt_cv_path_LD="$LD" # Let the user override the test with a path.
5333 fi
5334 fi
5335
5336 LD="$lt_cv_path_LD"
5337 if test -n "$LD"; then
5338   { echo "$as_me:$LINENO: result: $LD" >&5
5339 echo "${ECHO_T}$LD" >&6; }
5340 else
5341   { echo "$as_me:$LINENO: result: no" >&5
5342 echo "${ECHO_T}no" >&6; }
5343 fi
5344 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
5345 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
5346    { (exit 1); exit 1; }; }
5347 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
5348 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
5349 if test "${lt_cv_prog_gnu_ld+set}" = set; then
5350   echo $ECHO_N "(cached) $ECHO_C" >&6
5351 else
5352   # I'd rather use --version here, but apparently some GNU lds only accept -v.
5353 case `$LD -v 2>&1 </dev/null` in
5354 *GNU* | *'with BFD'*)
5355   lt_cv_prog_gnu_ld=yes
5356   ;;
5357 *)
5358   lt_cv_prog_gnu_ld=no
5359   ;;
5360 esac
5361 fi
5362 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
5363 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
5364 with_gnu_ld=$lt_cv_prog_gnu_ld
5365
5366
5367
5368
5369
5370
5371
5372
5373
5374
5375 { echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
5376 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6; }
5377 if test "${lt_cv_path_NM+set}" = set; then
5378   echo $ECHO_N "(cached) $ECHO_C" >&6
5379 else
5380   if test -n "$NM"; then
5381   # Let the user override the test.
5382   lt_cv_path_NM="$NM"
5383 else
5384   lt_nm_to_check="${ac_tool_prefix}nm"
5385   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5386     lt_nm_to_check="$lt_nm_to_check nm"
5387   fi
5388   for lt_tmp_nm in $lt_nm_to_check; do
5389     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5390     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5391       IFS="$lt_save_ifs"
5392       test -z "$ac_dir" && ac_dir=.
5393       tmp_nm="$ac_dir/$lt_tmp_nm"
5394       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5395         # Check to see if the nm accepts a BSD-compat flag.
5396         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5397         #   nm: unknown option "B" ignored
5398         # Tru64's nm complains that /dev/null is an invalid object file
5399         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5400         */dev/null* | *'Invalid file or object type'*)
5401           lt_cv_path_NM="$tmp_nm -B"
5402           break
5403           ;;
5404         *)
5405           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5406           */dev/null*)
5407             lt_cv_path_NM="$tmp_nm -p"
5408             break
5409             ;;
5410           *)
5411             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5412             continue # so that we can try to find one that supports BSD flags
5413             ;;
5414           esac
5415           ;;
5416         esac
5417       fi
5418     done
5419     IFS="$lt_save_ifs"
5420   done
5421   : ${lt_cv_path_NM=no}
5422 fi
5423 fi
5424 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
5425 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
5426 if test "$lt_cv_path_NM" != "no"; then
5427   NM="$lt_cv_path_NM"
5428 else
5429   # Didn't find any BSD compatible name lister, look for dumpbin.
5430   if test -n "$ac_tool_prefix"; then
5431   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5432   do
5433     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5434 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5435 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5436 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5437 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
5438   echo $ECHO_N "(cached) $ECHO_C" >&6
5439 else
5440   if test -n "$DUMPBIN"; then
5441   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5442 else
5443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5444 for as_dir in $PATH
5445 do
5446   IFS=$as_save_IFS
5447   test -z "$as_dir" && as_dir=.
5448   for ac_exec_ext in '' $ac_executable_extensions; do
5449   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5450     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5451     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5452     break 2
5453   fi
5454 done
5455 done
5456 IFS=$as_save_IFS
5457
5458 fi
5459 fi
5460 DUMPBIN=$ac_cv_prog_DUMPBIN
5461 if test -n "$DUMPBIN"; then
5462   { echo "$as_me:$LINENO: result: $DUMPBIN" >&5
5463 echo "${ECHO_T}$DUMPBIN" >&6; }
5464 else
5465   { echo "$as_me:$LINENO: result: no" >&5
5466 echo "${ECHO_T}no" >&6; }
5467 fi
5468
5469
5470     test -n "$DUMPBIN" && break
5471   done
5472 fi
5473 if test -z "$DUMPBIN"; then
5474   ac_ct_DUMPBIN=$DUMPBIN
5475   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5476 do
5477   # Extract the first word of "$ac_prog", so it can be a program name with args.
5478 set dummy $ac_prog; ac_word=$2
5479 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5480 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5481 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
5482   echo $ECHO_N "(cached) $ECHO_C" >&6
5483 else
5484   if test -n "$ac_ct_DUMPBIN"; then
5485   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5486 else
5487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5488 for as_dir in $PATH
5489 do
5490   IFS=$as_save_IFS
5491   test -z "$as_dir" && as_dir=.
5492   for ac_exec_ext in '' $ac_executable_extensions; do
5493   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5494     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5495     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5496     break 2
5497   fi
5498 done
5499 done
5500 IFS=$as_save_IFS
5501
5502 fi
5503 fi
5504 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5505 if test -n "$ac_ct_DUMPBIN"; then
5506   { echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
5507 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6; }
5508 else
5509   { echo "$as_me:$LINENO: result: no" >&5
5510 echo "${ECHO_T}no" >&6; }
5511 fi
5512
5513
5514   test -n "$ac_ct_DUMPBIN" && break
5515 done
5516
5517   if test "x$ac_ct_DUMPBIN" = x; then
5518     DUMPBIN=":"
5519   else
5520     case $cross_compiling:$ac_tool_warned in
5521 yes:)
5522 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5523 whose name does not start with the host triplet.  If you think this
5524 configuration is useful to you, please write to autoconf@gnu.org." >&5
5525 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5526 whose name does not start with the host triplet.  If you think this
5527 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5528 ac_tool_warned=yes ;;
5529 esac
5530     DUMPBIN=$ac_ct_DUMPBIN
5531   fi
5532 fi
5533
5534
5535   if test "$DUMPBIN" != ":"; then
5536     NM="$DUMPBIN"
5537   fi
5538 fi
5539 test -z "$NM" && NM=nm
5540
5541
5542
5543
5544
5545
5546 { echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
5547 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6; }
5548 if test "${lt_cv_nm_interface+set}" = set; then
5549   echo $ECHO_N "(cached) $ECHO_C" >&6
5550 else
5551   lt_cv_nm_interface="BSD nm"
5552   echo "int some_variable = 0;" > conftest.$ac_ext
5553   (eval echo "\"\$as_me:5553: $ac_compile\"" >&5)
5554   (eval "$ac_compile" 2>conftest.err)
5555   cat conftest.err >&5
5556   (eval echo "\"\$as_me:5556: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5557   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5558   cat conftest.err >&5
5559   (eval echo "\"\$as_me:5559: output\"" >&5)
5560   cat conftest.out >&5
5561   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5562     lt_cv_nm_interface="MS dumpbin"
5563   fi
5564   rm -f conftest*
5565 fi
5566 { echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
5567 echo "${ECHO_T}$lt_cv_nm_interface" >&6; }
5568
5569 # find the maximum length of command line arguments
5570 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5571 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
5572 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5573   echo $ECHO_N "(cached) $ECHO_C" >&6
5574 else
5575     i=0
5576   teststring="ABCD"
5577
5578   case $build_os in
5579   msdosdjgpp*)
5580     # On DJGPP, this test can blow up pretty badly due to problems in libc
5581     # (any single argument exceeding 2000 bytes causes a buffer overrun
5582     # during glob expansion).  Even if it were fixed, the result of this
5583     # check would be larger than it should be.
5584     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5585     ;;
5586
5587   gnu*)
5588     # Under GNU Hurd, this test is not required because there is
5589     # no limit to the length of command line arguments.
5590     # Libtool will interpret -1 as no limit whatsoever
5591     lt_cv_sys_max_cmd_len=-1;
5592     ;;
5593
5594   cygwin* | mingw*)
5595     # On Win9x/ME, this test blows up -- it succeeds, but takes
5596     # about 5 minutes as the teststring grows exponentially.
5597     # Worse, since 9x/ME are not pre-emptively multitasking,
5598     # you end up with a "frozen" computer, even though with patience
5599     # the test eventually succeeds (with a max line length of 256k).
5600     # Instead, let's just punt: use the minimum linelength reported by
5601     # all of the supported platforms: 8192 (on NT/2K/XP).
5602     lt_cv_sys_max_cmd_len=8192;
5603     ;;
5604
5605   amigaos*)
5606     # On AmigaOS with pdksh, this test takes hours, literally.
5607     # So we just punt and use a minimum line length of 8192.
5608     lt_cv_sys_max_cmd_len=8192;
5609     ;;
5610
5611   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5612     # This has been around since 386BSD, at least.  Likely further.
5613     if test -x /sbin/sysctl; then
5614       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5615     elif test -x /usr/sbin/sysctl; then
5616       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5617     else
5618       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
5619     fi
5620     # And add a safety zone
5621     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5622     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5623     ;;
5624
5625   interix*)
5626     # We know the value 262144 and hardcode it with a safety zone (like BSD)
5627     lt_cv_sys_max_cmd_len=196608
5628     ;;
5629
5630   osf*)
5631     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5632     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5633     # nice to cause kernel panics so lets avoid the loop below.
5634     # First set a reasonable default.
5635     lt_cv_sys_max_cmd_len=16384
5636     #
5637     if test -x /sbin/sysconfig; then
5638       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5639         *1*) lt_cv_sys_max_cmd_len=-1 ;;
5640       esac
5641     fi
5642     ;;
5643   sco3.2v5*)
5644     lt_cv_sys_max_cmd_len=102400
5645     ;;
5646   sysv5* | sco5v6* | sysv4.2uw2*)
5647     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5648     if test -n "$kargmax"; then
5649       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
5650     else
5651       lt_cv_sys_max_cmd_len=32768
5652     fi
5653     ;;
5654   *)
5655     lt_cv_sys_max_cmd_len=`getconf ARG_MAX 2> /dev/null`
5656     if test -n $lt_cv_sys_max_cmd_len; then
5657       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5658       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5659     else
5660       # Make teststring a little bigger before we do anything with it.
5661       # a 1K string should be a reasonable start.
5662       for i in 1 2 3 4 5 6 7 8 ; do
5663         teststring=$teststring$teststring
5664       done
5665       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5666       # If test is not a shell built-in, we'll probably end up computing a
5667       # maximum length that is only half of the actual maximum length, but
5668       # we can't tell.
5669       while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5670                  = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5671               test $i != 17 # 1/2 MB should be enough
5672       do
5673         i=`expr $i + 1`
5674         teststring=$teststring$teststring
5675       done
5676       # Only check the string length outside the loop.
5677       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5678       teststring=
5679       # Add a significant safety factor because C++ compilers can tack on
5680       # massive amounts of additional arguments before passing them to the
5681       # linker.  It appears as though 1/2 is a usable value.
5682       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5683     fi
5684     ;;
5685   esac
5686
5687 fi
5688
5689 if test -n $lt_cv_sys_max_cmd_len ; then
5690   { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5691 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
5692 else
5693   { echo "$as_me:$LINENO: result: none" >&5
5694 echo "${ECHO_T}none" >&6; }
5695 fi
5696 max_cmd_len=$lt_cv_sys_max_cmd_len
5697
5698
5699
5700
5701
5702
5703
5704 : ${CP="cp -f"}
5705 : ${MV="mv -f"}
5706 : ${RM="rm -f"}
5707
5708 { echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
5709 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6; }
5710 # Try some XSI features
5711 xsi_shell=no
5712 ( _lt_dummy="a/b/c"
5713   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5714       = c,a/b,, ) >/dev/null 2>&1 \
5715   && xsi_shell=yes
5716 { echo "$as_me:$LINENO: result: $xsi_shell" >&5
5717 echo "${ECHO_T}$xsi_shell" >&6; }
5718
5719
5720 { echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
5721 echo $ECHO_N "checking whether the shell understands \"+=\"... $ECHO_C" >&6; }
5722 lt_shell_append=no
5723 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5724     >/dev/null 2>&1 \
5725   && lt_shell_append=yes
5726 { echo "$as_me:$LINENO: result: $lt_shell_append" >&5
5727 echo "${ECHO_T}$lt_shell_append" >&6; }
5728
5729
5730 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5731   lt_unset=unset
5732 else
5733   lt_unset=false
5734 fi
5735
5736
5737
5738
5739
5740 # test EBCDIC or ASCII
5741 case `echo X|tr X '\101'` in
5742  A) # ASCII based system
5743     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5744   lt_SP2NL='tr \040 \012'
5745   lt_NL2SP='tr \015\012 \040\040'
5746   ;;
5747  *) # EBCDIC based system
5748   lt_SP2NL='tr \100 \n'
5749   lt_NL2SP='tr \r\n \100\100'
5750   ;;
5751 esac
5752
5753
5754
5755
5756
5757
5758
5759
5760
5761 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
5762 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
5763 if test "${lt_cv_ld_reload_flag+set}" = set; then
5764   echo $ECHO_N "(cached) $ECHO_C" >&6
5765 else
5766   lt_cv_ld_reload_flag='-r'
5767 fi
5768 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
5769 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
5770 reload_flag=$lt_cv_ld_reload_flag
5771 case $reload_flag in
5772 "" | " "*) ;;
5773 *) reload_flag=" $reload_flag" ;;
5774 esac
5775 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5776 case $host_os in
5777   darwin*)
5778     if test "$GCC" = yes; then
5779       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5780     else
5781       reload_cmds='$LD$reload_flag -o $output$reload_objs'
5782     fi
5783     ;;
5784 esac
5785
5786
5787
5788
5789
5790
5791
5792
5793
5794
5795 { echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
5796 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
5797 if test "${lt_cv_deplibs_check_method+set}" = set; then
5798   echo $ECHO_N "(cached) $ECHO_C" >&6
5799 else
5800   lt_cv_file_magic_cmd='$MAGIC_CMD'
5801 lt_cv_file_magic_test_file=
5802 lt_cv_deplibs_check_method='unknown'
5803 # Need to set the preceding variable on all platforms that support
5804 # interlibrary dependencies.
5805 # 'none' -- dependencies not supported.
5806 # `unknown' -- same as none, but documents that we really don't know.
5807 # 'pass_all' -- all dependencies passed with no checks.
5808 # 'test_compile' -- check by making test program.
5809 # 'file_magic [[regex]]' -- check by looking for files in library path
5810 # which responds to the $file_magic_cmd with a given extended regex.
5811 # If you have `file' or equivalent on your system and you're not sure
5812 # whether `pass_all' will *always* work, you probably want this one.
5813
5814 case $host_os in
5815 aix4* | aix5*)
5816   lt_cv_deplibs_check_method=pass_all
5817   ;;
5818
5819 beos*)
5820   lt_cv_deplibs_check_method=pass_all
5821   ;;
5822
5823 bsdi[45]*)
5824   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5825   lt_cv_file_magic_cmd='/usr/bin/file -L'
5826   lt_cv_file_magic_test_file=/shlib/libc.so
5827   ;;
5828
5829 cygwin*)
5830   # func_win32_libid is a shell function defined in ltmain.sh
5831   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5832   lt_cv_file_magic_cmd='func_win32_libid'
5833   ;;
5834
5835 mingw* | pw32*)
5836   # Base MSYS/MinGW do not provide the 'file' command needed by
5837   # func_win32_libid shell function, so use a weaker test based on 'objdump',
5838   # unless we find 'file', for example because we are cross-compiling.
5839   if ( file / ) >/dev/null 2>&1; then
5840     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5841     lt_cv_file_magic_cmd='func_win32_libid'
5842   else
5843     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5844     lt_cv_file_magic_cmd='$OBJDUMP -f'
5845   fi
5846   ;;
5847
5848 darwin* | rhapsody*)
5849   lt_cv_deplibs_check_method=pass_all
5850   ;;
5851
5852 freebsd* | dragonfly*)
5853   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5854     case $host_cpu in
5855     i*86 )
5856       # Not sure whether the presence of OpenBSD here was a mistake.
5857       # Let's accept both of them until this is cleared up.
5858       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5859       lt_cv_file_magic_cmd=/usr/bin/file
5860       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5861       ;;
5862     esac
5863   else
5864     lt_cv_deplibs_check_method=pass_all
5865   fi
5866   ;;
5867
5868 gnu*)
5869   lt_cv_deplibs_check_method=pass_all
5870   ;;
5871
5872 hpux10.20* | hpux11*)
5873   lt_cv_file_magic_cmd=/usr/bin/file
5874   case $host_cpu in
5875   ia64*)
5876     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5877     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5878     ;;
5879   hppa*64*)
5880     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]'
5881     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5882     ;;
5883   *)
5884     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5885     lt_cv_file_magic_test_file=/usr/lib/libc.sl
5886     ;;
5887   esac
5888   ;;
5889
5890 interix[3-9]*)
5891   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5892   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5893   ;;
5894
5895 irix5* | irix6* | nonstopux*)
5896   case $LD in
5897   *-32|*"-32 ") libmagic=32-bit;;
5898   *-n32|*"-n32 ") libmagic=N32;;
5899   *-64|*"-64 ") libmagic=64-bit;;
5900   *) libmagic=never-match;;
5901   esac
5902   lt_cv_deplibs_check_method=pass_all
5903   ;;
5904
5905 # This must be Linux ELF.
5906 linux* | k*bsd*-gnu)
5907   lt_cv_deplibs_check_method=pass_all
5908   ;;
5909
5910 netbsd*)
5911   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5912     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5913   else
5914     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5915   fi
5916   ;;
5917
5918 newos6*)
5919   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5920   lt_cv_file_magic_cmd=/usr/bin/file
5921   lt_cv_file_magic_test_file=/usr/lib/libnls.so
5922   ;;
5923
5924 *nto* | *qnx*)
5925   lt_cv_deplibs_check_method=pass_all
5926   ;;
5927
5928 openbsd*)
5929   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5930     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5931   else
5932     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5933   fi
5934   ;;
5935
5936 osf3* | osf4* | osf5*)
5937   lt_cv_deplibs_check_method=pass_all
5938   ;;
5939
5940 rdos*)
5941   lt_cv_deplibs_check_method=pass_all
5942   ;;
5943
5944 solaris*)
5945   lt_cv_deplibs_check_method=pass_all
5946   ;;
5947
5948 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5949   lt_cv_deplibs_check_method=pass_all
5950   ;;
5951
5952 sysv4 | sysv4.3*)
5953   case $host_vendor in
5954   motorola)
5955     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]'
5956     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5957     ;;
5958   ncr)
5959     lt_cv_deplibs_check_method=pass_all
5960     ;;
5961   sequent)
5962     lt_cv_file_magic_cmd='/bin/file'
5963     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5964     ;;
5965   sni)
5966     lt_cv_file_magic_cmd='/bin/file'
5967     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5968     lt_cv_file_magic_test_file=/lib/libc.so
5969     ;;
5970   siemens)
5971     lt_cv_deplibs_check_method=pass_all
5972     ;;
5973   pc)
5974     lt_cv_deplibs_check_method=pass_all
5975     ;;
5976   esac
5977   ;;
5978
5979 tpf*)
5980   lt_cv_deplibs_check_method=pass_all
5981   ;;
5982 esac
5983
5984 fi
5985 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
5986 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
5987 file_magic_cmd=$lt_cv_file_magic_cmd
5988 deplibs_check_method=$lt_cv_deplibs_check_method
5989 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5990
5991
5992
5993
5994
5995
5996
5997
5998
5999
6000
6001
6002 if test -n "$ac_tool_prefix"; then
6003   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6004 set dummy ${ac_tool_prefix}ar; ac_word=$2
6005 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6006 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6007 if test "${ac_cv_prog_AR+set}" = set; then
6008   echo $ECHO_N "(cached) $ECHO_C" >&6
6009 else
6010   if test -n "$AR"; then
6011   ac_cv_prog_AR="$AR" # Let the user override the test.
6012 else
6013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6014 for as_dir in $PATH
6015 do
6016   IFS=$as_save_IFS
6017   test -z "$as_dir" && as_dir=.
6018   for ac_exec_ext in '' $ac_executable_extensions; do
6019   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6020     ac_cv_prog_AR="${ac_tool_prefix}ar"
6021     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6022     break 2
6023   fi
6024 done
6025 done
6026 IFS=$as_save_IFS
6027
6028 fi
6029 fi
6030 AR=$ac_cv_prog_AR
6031 if test -n "$AR"; then
6032   { echo "$as_me:$LINENO: result: $AR" >&5
6033 echo "${ECHO_T}$AR" >&6; }
6034 else
6035   { echo "$as_me:$LINENO: result: no" >&5
6036 echo "${ECHO_T}no" >&6; }
6037 fi
6038
6039
6040 fi
6041 if test -z "$ac_cv_prog_AR"; then
6042   ac_ct_AR=$AR
6043   # Extract the first word of "ar", so it can be a program name with args.
6044 set dummy ar; ac_word=$2
6045 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6046 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6047 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6048   echo $ECHO_N "(cached) $ECHO_C" >&6
6049 else
6050   if test -n "$ac_ct_AR"; then
6051   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6052 else
6053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6054 for as_dir in $PATH
6055 do
6056   IFS=$as_save_IFS
6057   test -z "$as_dir" && as_dir=.
6058   for ac_exec_ext in '' $ac_executable_extensions; do
6059   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6060     ac_cv_prog_ac_ct_AR="ar"
6061     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6062     break 2
6063   fi
6064 done
6065 done
6066 IFS=$as_save_IFS
6067
6068 fi
6069 fi
6070 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6071 if test -n "$ac_ct_AR"; then
6072   { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6073 echo "${ECHO_T}$ac_ct_AR" >&6; }
6074 else
6075   { echo "$as_me:$LINENO: result: no" >&5
6076 echo "${ECHO_T}no" >&6; }
6077 fi
6078
6079   if test "x$ac_ct_AR" = x; then
6080     AR="false"
6081   else
6082     case $cross_compiling:$ac_tool_warned in
6083 yes:)
6084 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6085 whose name does not start with the host triplet.  If you think this
6086 configuration is useful to you, please write to autoconf@gnu.org." >&5
6087 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6088 whose name does not start with the host triplet.  If you think this
6089 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6090 ac_tool_warned=yes ;;
6091 esac
6092     AR=$ac_ct_AR
6093   fi
6094 else
6095   AR="$ac_cv_prog_AR"
6096 fi
6097
6098 test -z "$AR" && AR=ar
6099 test -z "$AR_FLAGS" && AR_FLAGS=cru
6100
6101
6102
6103
6104
6105
6106
6107
6108
6109
6110
6111 if test -n "$ac_tool_prefix"; then
6112   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6113 set dummy ${ac_tool_prefix}strip; ac_word=$2
6114 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6115 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6116 if test "${ac_cv_prog_STRIP+set}" = set; then
6117   echo $ECHO_N "(cached) $ECHO_C" >&6
6118 else
6119   if test -n "$STRIP"; then
6120   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6121 else
6122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6123 for as_dir in $PATH
6124 do
6125   IFS=$as_save_IFS
6126   test -z "$as_dir" && as_dir=.
6127   for ac_exec_ext in '' $ac_executable_extensions; do
6128   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6129     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6130     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6131     break 2
6132   fi
6133 done
6134 done
6135 IFS=$as_save_IFS
6136
6137 fi
6138 fi
6139 STRIP=$ac_cv_prog_STRIP
6140 if test -n "$STRIP"; then
6141   { echo "$as_me:$LINENO: result: $STRIP" >&5
6142 echo "${ECHO_T}$STRIP" >&6; }
6143 else
6144   { echo "$as_me:$LINENO: result: no" >&5
6145 echo "${ECHO_T}no" >&6; }
6146 fi
6147
6148
6149 fi
6150 if test -z "$ac_cv_prog_STRIP"; then
6151   ac_ct_STRIP=$STRIP
6152   # Extract the first word of "strip", so it can be a program name with args.
6153 set dummy strip; ac_word=$2
6154 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6155 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6156 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6157   echo $ECHO_N "(cached) $ECHO_C" >&6
6158 else
6159   if test -n "$ac_ct_STRIP"; then
6160   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6161 else
6162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6163 for as_dir in $PATH
6164 do
6165   IFS=$as_save_IFS
6166   test -z "$as_dir" && as_dir=.
6167   for ac_exec_ext in '' $ac_executable_extensions; do
6168   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6169     ac_cv_prog_ac_ct_STRIP="strip"
6170     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6171     break 2
6172   fi
6173 done
6174 done
6175 IFS=$as_save_IFS
6176
6177 fi
6178 fi
6179 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6180 if test -n "$ac_ct_STRIP"; then
6181   { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6182 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
6183 else
6184   { echo "$as_me:$LINENO: result: no" >&5
6185 echo "${ECHO_T}no" >&6; }
6186 fi
6187
6188   if test "x$ac_ct_STRIP" = x; then
6189     STRIP=":"
6190   else
6191     case $cross_compiling:$ac_tool_warned in
6192 yes:)
6193 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6194 whose name does not start with the host triplet.  If you think this
6195 configuration is useful to you, please write to autoconf@gnu.org." >&5
6196 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6197 whose name does not start with the host triplet.  If you think this
6198 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6199 ac_tool_warned=yes ;;
6200 esac
6201     STRIP=$ac_ct_STRIP
6202   fi
6203 else
6204   STRIP="$ac_cv_prog_STRIP"
6205 fi
6206
6207 test -z "$STRIP" && STRIP=:
6208
6209
6210
6211
6212
6213
6214 if test -n "$ac_tool_prefix"; then
6215   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6216 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6217 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6218 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6219 if test "${ac_cv_prog_RANLIB+set}" = set; then
6220   echo $ECHO_N "(cached) $ECHO_C" >&6
6221 else
6222   if test -n "$RANLIB"; then
6223   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6224 else
6225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6226 for as_dir in $PATH
6227 do
6228   IFS=$as_save_IFS
6229   test -z "$as_dir" && as_dir=.
6230   for ac_exec_ext in '' $ac_executable_extensions; do
6231   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6232     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6233     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6234     break 2
6235   fi
6236 done
6237 done
6238 IFS=$as_save_IFS
6239
6240 fi
6241 fi
6242 RANLIB=$ac_cv_prog_RANLIB
6243 if test -n "$RANLIB"; then
6244   { echo "$as_me:$LINENO: result: $RANLIB" >&5
6245 echo "${ECHO_T}$RANLIB" >&6; }
6246 else
6247   { echo "$as_me:$LINENO: result: no" >&5
6248 echo "${ECHO_T}no" >&6; }
6249 fi
6250
6251
6252 fi
6253 if test -z "$ac_cv_prog_RANLIB"; then
6254   ac_ct_RANLIB=$RANLIB
6255   # Extract the first word of "ranlib", so it can be a program name with args.
6256 set dummy ranlib; ac_word=$2
6257 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6258 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6259 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6260   echo $ECHO_N "(cached) $ECHO_C" >&6
6261 else
6262   if test -n "$ac_ct_RANLIB"; then
6263   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6264 else
6265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6266 for as_dir in $PATH
6267 do
6268   IFS=$as_save_IFS
6269   test -z "$as_dir" && as_dir=.
6270   for ac_exec_ext in '' $ac_executable_extensions; do
6271   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6272     ac_cv_prog_ac_ct_RANLIB="ranlib"
6273     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6274     break 2
6275   fi
6276 done
6277 done
6278 IFS=$as_save_IFS
6279
6280 fi
6281 fi
6282 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6283 if test -n "$ac_ct_RANLIB"; then
6284   { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6285 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
6286 else
6287   { echo "$as_me:$LINENO: result: no" >&5
6288 echo "${ECHO_T}no" >&6; }
6289 fi
6290
6291   if test "x$ac_ct_RANLIB" = x; then
6292     RANLIB=":"
6293   else
6294     case $cross_compiling:$ac_tool_warned in
6295 yes:)
6296 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6297 whose name does not start with the host triplet.  If you think this
6298 configuration is useful to you, please write to autoconf@gnu.org." >&5
6299 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6300 whose name does not start with the host triplet.  If you think this
6301 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6302 ac_tool_warned=yes ;;
6303 esac
6304     RANLIB=$ac_ct_RANLIB
6305   fi
6306 else
6307   RANLIB="$ac_cv_prog_RANLIB"
6308 fi
6309
6310 test -z "$RANLIB" && RANLIB=:
6311
6312
6313
6314
6315
6316
6317 # Determine commands to create old-style static archives.
6318 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
6319 old_postinstall_cmds='chmod 644 $oldlib'
6320 old_postuninstall_cmds=
6321
6322 if test -n "$RANLIB"; then
6323   case $host_os in
6324   openbsd*)
6325     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6326     ;;
6327   *)
6328     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6329     ;;
6330   esac
6331   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6332 fi
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
6356
6357
6358
6359
6360
6361
6362
6363
6364
6365
6366
6367 # If no C compiler was specified, use CC.
6368 LTCC=${LTCC-"$CC"}
6369
6370 # If no C compiler flags were specified, use CFLAGS.
6371 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6372
6373 # Allow CC to be a program name with arguments.
6374 compiler=$CC
6375
6376
6377 # Check for command to grab the raw symbol name followed by C symbol from nm.
6378 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6379 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
6380 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6381   echo $ECHO_N "(cached) $ECHO_C" >&6
6382 else
6383
6384 # These are sane defaults that work on at least a few old systems.
6385 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6386
6387 # Character class describing NM global symbol codes.
6388 symcode='[BCDEGRST]'
6389
6390 # Regexp to match symbols that can be accessed directly from C.
6391 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6392
6393 # Define system-specific variables.
6394 case $host_os in
6395 aix*)
6396   symcode='[BCDT]'
6397   ;;
6398 cygwin* | mingw* | pw32*)
6399   symcode='[ABCDGISTW]'
6400   ;;
6401 hpux*)
6402   if test "$host_cpu" = ia64; then
6403     symcode='[ABCDEGRST]'
6404   fi
6405   ;;
6406 irix* | nonstopux*)
6407   symcode='[BCDEGRST]'
6408   ;;
6409 osf*)
6410   symcode='[BCDEGQRST]'
6411   ;;
6412 solaris*)
6413   symcode='[BDRT]'
6414   ;;
6415 sco3.2v5*)
6416   symcode='[DT]'
6417   ;;
6418 sysv4.2uw2*)
6419   symcode='[DT]'
6420   ;;
6421 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6422   symcode='[ABDT]'
6423   ;;
6424 sysv4)
6425   symcode='[DFNSTU]'
6426   ;;
6427 esac
6428
6429 # If we're using GNU nm, then use its standard symbol codes.
6430 case `$NM -V 2>&1` in
6431 *GNU* | *'with BFD'*)
6432   symcode='[ABCDGIRSTW]' ;;
6433 esac
6434
6435 # Transform an extracted symbol line into a proper C declaration.
6436 # Some systems (esp. on ia64) link data and code symbols differently,
6437 # so use this general approach.
6438 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6439
6440 # Transform an extracted symbol line into symbol name and symbol address
6441 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6442
6443 # Handle CRLF in mingw tool chain
6444 opt_cr=
6445 case $build_os in
6446 mingw*)
6447   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6448   ;;
6449 esac
6450
6451 # Try without a prefix underscore, then with it.
6452 for ac_symprfx in "" "_"; do
6453
6454   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6455   symxfrm="\\1 $ac_symprfx\\2 \\2"
6456
6457   # Write the raw and C identifiers.
6458   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6459     # Fake it for dumpbin and say T for any non-static function
6460     # and D for any global variable.
6461     # Also find C++ and __fastcall symbols from MSVC++,
6462     # which start with @ or ?.
6463     lt_cv_sys_global_symbol_pipe="$AWK '"\
6464 "     {last_section=section; section=\$ 3};"\
6465 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6466 "     \$ 0!~/External *\|/{next};"\
6467 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6468 "     {if(hide[section]) next};"\
6469 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6470 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6471 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6472 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6473 "     ' prfx=^$ac_symprfx"
6474   else
6475     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6476   fi
6477
6478   # Check to see that the pipe works correctly.
6479   pipe_works=no
6480
6481   rm -f conftest*
6482   cat > conftest.$ac_ext <<_LT_EOF
6483 #ifdef __cplusplus
6484 extern "C" {
6485 #endif
6486 char nm_test_var;
6487 void nm_test_func(void);
6488 void nm_test_func(void){}
6489 #ifdef __cplusplus
6490 }
6491 #endif
6492 int main(){nm_test_var='a';nm_test_func();return(0);}
6493 _LT_EOF
6494
6495   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6496   (eval $ac_compile) 2>&5
6497   ac_status=$?
6498   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6499   (exit $ac_status); }; then
6500     # Now try to grab the symbols.
6501     nlist=conftest.nm
6502     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6503   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6504   ac_status=$?
6505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6506   (exit $ac_status); } && test -s "$nlist"; then
6507       # Try sorting and uniquifying the output.
6508       if sort "$nlist" | uniq > "$nlist"T; then
6509         mv -f "$nlist"T "$nlist"
6510       else
6511         rm -f "$nlist"T
6512       fi
6513
6514       # Make sure that we snagged all the symbols we need.
6515       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6516         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6517           cat <<_LT_EOF > conftest.$ac_ext
6518 #ifdef __cplusplus
6519 extern "C" {
6520 #endif
6521
6522 _LT_EOF
6523           # Now generate the symbol file.
6524           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6525
6526           cat <<_LT_EOF >> conftest.$ac_ext
6527
6528 /* The mapping between symbol names and symbols.  */
6529 const struct {
6530   const char *name;
6531   void       *address;
6532 }
6533 lt__PROGRAM__LTX_preloaded_symbols[] =
6534 {
6535   { "@PROGRAM@", (void *) 0 },
6536 _LT_EOF
6537           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6538           cat <<\_LT_EOF >> conftest.$ac_ext
6539   {0, (void *) 0}
6540 };
6541
6542 /* This works around a problem in FreeBSD linker */
6543 #ifdef FREEBSD_WORKAROUND
6544 static const void *lt_preloaded_setup() {
6545   return lt__PROGRAM__LTX_preloaded_symbols;
6546 }
6547 #endif
6548
6549 #ifdef __cplusplus
6550 }
6551 #endif
6552 _LT_EOF
6553           # Now try linking the two files.
6554           mv conftest.$ac_objext conftstm.$ac_objext
6555           lt_save_LIBS="$LIBS"
6556           lt_save_CFLAGS="$CFLAGS"
6557           LIBS="conftstm.$ac_objext"
6558           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6559           if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6560   (eval $ac_link) 2>&5
6561   ac_status=$?
6562   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6563   (exit $ac_status); } && test -s conftest${ac_exeext}; then
6564             pipe_works=yes
6565           fi
6566           LIBS="$lt_save_LIBS"
6567           CFLAGS="$lt_save_CFLAGS"
6568         else
6569           echo "cannot find nm_test_func in $nlist" >&5
6570         fi
6571       else
6572         echo "cannot find nm_test_var in $nlist" >&5
6573       fi
6574     else
6575       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6576     fi
6577   else
6578     echo "$progname: failed program was:" >&5
6579     cat conftest.$ac_ext >&5
6580   fi
6581   rm -f conftest* conftst*
6582
6583   # Do not use the global_symbol_pipe unless it works.
6584   if test "$pipe_works" = yes; then
6585     break
6586   else
6587     lt_cv_sys_global_symbol_pipe=
6588   fi
6589 done
6590
6591 fi
6592
6593 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6594   lt_cv_sys_global_symbol_to_cdecl=
6595 fi
6596 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6597   { echo "$as_me:$LINENO: result: failed" >&5
6598 echo "${ECHO_T}failed" >&6; }
6599 else
6600   { echo "$as_me:$LINENO: result: ok" >&5
6601 echo "${ECHO_T}ok" >&6; }
6602 fi
6603
6604
6605
6606
6607
6608
6609
6610
6611
6612
6613
6614
6615
6616
6617
6618
6619
6620 # Check whether --enable-libtool-lock was given.
6621 if test "${enable_libtool_lock+set}" = set; then
6622   enableval=$enable_libtool_lock;
6623 fi
6624
6625 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6626
6627 # Some flags need to be propagated to the compiler or linker for good
6628 # libtool support.
6629 case $host in
6630 ia64-*-hpux*)
6631   # Find out which ABI we are using.
6632   echo 'int i;' > conftest.$ac_ext
6633   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6634   (eval $ac_compile) 2>&5
6635   ac_status=$?
6636   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6637   (exit $ac_status); }; then
6638     case `/usr/bin/file conftest.$ac_objext` in
6639       *ELF-32*)
6640         HPUX_IA64_MODE="32"
6641         ;;
6642       *ELF-64*)
6643         HPUX_IA64_MODE="64"
6644         ;;
6645     esac
6646   fi
6647   rm -rf conftest*
6648   ;;
6649 *-*-irix6*)
6650   # Find out which ABI we are using.
6651   echo '#line 6651 "configure"' > conftest.$ac_ext
6652   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6653   (eval $ac_compile) 2>&5
6654   ac_status=$?
6655   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6656   (exit $ac_status); }; then
6657     if test "$lt_cv_prog_gnu_ld" = yes; then
6658       case `/usr/bin/file conftest.$ac_objext` in
6659         *32-bit*)
6660           LD="${LD-ld} -melf32bsmip"
6661           ;;
6662         *N32*)
6663           LD="${LD-ld} -melf32bmipn32"
6664           ;;
6665         *64-bit*)
6666           LD="${LD-ld} -melf64bmip"
6667         ;;
6668       esac
6669     else
6670       case `/usr/bin/file conftest.$ac_objext` in
6671         *32-bit*)
6672           LD="${LD-ld} -32"
6673           ;;
6674         *N32*)
6675           LD="${LD-ld} -n32"
6676           ;;
6677         *64-bit*)
6678           LD="${LD-ld} -64"
6679           ;;
6680       esac
6681     fi
6682   fi
6683   rm -rf conftest*
6684   ;;
6685
6686 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6687 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6688   # Find out which ABI we are using.
6689   echo 'int i;' > conftest.$ac_ext
6690   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6691   (eval $ac_compile) 2>&5
6692   ac_status=$?
6693   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6694   (exit $ac_status); }; then
6695     case `/usr/bin/file conftest.o` in
6696       *32-bit*)
6697         case $host in
6698           x86_64-*kfreebsd*-gnu)
6699             LD="${LD-ld} -m elf_i386_fbsd"
6700             ;;
6701           x86_64-*linux*)
6702             LD="${LD-ld} -m elf_i386"
6703             ;;
6704           ppc64-*linux*|powerpc64-*linux*)
6705             LD="${LD-ld} -m elf32ppclinux"
6706             ;;
6707           s390x-*linux*)
6708             LD="${LD-ld} -m elf_s390"
6709             ;;
6710           sparc64-*linux*)
6711             LD="${LD-ld} -m elf32_sparc"
6712             ;;
6713         esac
6714         ;;
6715       *64-bit*)
6716         case $host in
6717           x86_64-*kfreebsd*-gnu)
6718             LD="${LD-ld} -m elf_x86_64_fbsd"
6719             ;;
6720           x86_64-*linux*)
6721             LD="${LD-ld} -m elf_x86_64"
6722             ;;
6723           ppc*-*linux*|powerpc*-*linux*)
6724             LD="${LD-ld} -m elf64ppc"
6725             ;;
6726           s390*-*linux*|s390*-*tpf*)
6727             LD="${LD-ld} -m elf64_s390"
6728             ;;
6729           sparc*-*linux*)
6730             LD="${LD-ld} -m elf64_sparc"
6731             ;;
6732         esac
6733         ;;
6734     esac
6735   fi
6736   rm -rf conftest*
6737   ;;
6738
6739 *-*-sco3.2v5*)
6740   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6741   SAVE_CFLAGS="$CFLAGS"
6742   CFLAGS="$CFLAGS -belf"
6743   { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
6744 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
6745 if test "${lt_cv_cc_needs_belf+set}" = set; then
6746   echo $ECHO_N "(cached) $ECHO_C" >&6
6747 else
6748   ac_ext=c
6749 ac_cpp='$CPP $CPPFLAGS'
6750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6753
6754      if test x$gcc_no_link = xyes; then
6755   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6756 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6757    { (exit 1); exit 1; }; }
6758 fi
6759 cat >conftest.$ac_ext <<_ACEOF
6760 /* confdefs.h.  */
6761 _ACEOF
6762 cat confdefs.h >>conftest.$ac_ext
6763 cat >>conftest.$ac_ext <<_ACEOF
6764 /* end confdefs.h.  */
6765
6766 int
6767 main ()
6768 {
6769
6770   ;
6771   return 0;
6772 }
6773 _ACEOF
6774 rm -f conftest.$ac_objext conftest$ac_exeext
6775 if { (ac_try="$ac_link"
6776 case "(($ac_try" in
6777   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6778   *) ac_try_echo=$ac_try;;
6779 esac
6780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6781   (eval "$ac_link") 2>conftest.er1
6782   ac_status=$?
6783   grep -v '^ *+' conftest.er1 >conftest.err
6784   rm -f conftest.er1
6785   cat conftest.err >&5
6786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6787   (exit $ac_status); } && {
6788          test -z "$ac_c_werror_flag" ||
6789          test ! -s conftest.err
6790        } && test -s conftest$ac_exeext &&
6791        $as_test_x conftest$ac_exeext; then
6792   lt_cv_cc_needs_belf=yes
6793 else
6794   echo "$as_me: failed program was:" >&5
6795 sed 's/^/| /' conftest.$ac_ext >&5
6796
6797         lt_cv_cc_needs_belf=no
6798 fi
6799
6800 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6801       conftest$ac_exeext conftest.$ac_ext
6802      ac_ext=c
6803 ac_cpp='$CPP $CPPFLAGS'
6804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6807
6808 fi
6809 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
6810 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
6811   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6812     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6813     CFLAGS="$SAVE_CFLAGS"
6814   fi
6815   ;;
6816 sparc*-*solaris*)
6817   # Find out which ABI we are using.
6818   echo 'int i;' > conftest.$ac_ext
6819   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6820   (eval $ac_compile) 2>&5
6821   ac_status=$?
6822   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6823   (exit $ac_status); }; then
6824     case `/usr/bin/file conftest.o` in
6825     *64-bit*)
6826       case $lt_cv_prog_gnu_ld in
6827       yes*) LD="${LD-ld} -m elf64_sparc" ;;
6828       *)    LD="${LD-ld} -64" ;;
6829       esac
6830       ;;
6831     esac
6832   fi
6833   rm -rf conftest*
6834   ;;
6835 esac
6836
6837 need_locks="$enable_libtool_lock"
6838
6839 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6840 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6841 if test "${ac_cv_header_stdc+set}" = set; then
6842   echo $ECHO_N "(cached) $ECHO_C" >&6
6843 else
6844   cat >conftest.$ac_ext <<_ACEOF
6845 /* confdefs.h.  */
6846 _ACEOF
6847 cat confdefs.h >>conftest.$ac_ext
6848 cat >>conftest.$ac_ext <<_ACEOF
6849 /* end confdefs.h.  */
6850 #include <stdlib.h>
6851 #include <stdarg.h>
6852 #include <string.h>
6853 #include <float.h>
6854
6855 int
6856 main ()
6857 {
6858
6859   ;
6860   return 0;
6861 }
6862 _ACEOF
6863 rm -f conftest.$ac_objext
6864 if { (ac_try="$ac_compile"
6865 case "(($ac_try" in
6866   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6867   *) ac_try_echo=$ac_try;;
6868 esac
6869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6870   (eval "$ac_compile") 2>conftest.er1
6871   ac_status=$?
6872   grep -v '^ *+' conftest.er1 >conftest.err
6873   rm -f conftest.er1
6874   cat conftest.err >&5
6875   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6876   (exit $ac_status); } && {
6877          test -z "$ac_c_werror_flag" ||
6878          test ! -s conftest.err
6879        } && test -s conftest.$ac_objext; then
6880   ac_cv_header_stdc=yes
6881 else
6882   echo "$as_me: failed program was:" >&5
6883 sed 's/^/| /' conftest.$ac_ext >&5
6884
6885         ac_cv_header_stdc=no
6886 fi
6887
6888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6889
6890 if test $ac_cv_header_stdc = yes; then
6891   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6892   cat >conftest.$ac_ext <<_ACEOF
6893 /* confdefs.h.  */
6894 _ACEOF
6895 cat confdefs.h >>conftest.$ac_ext
6896 cat >>conftest.$ac_ext <<_ACEOF
6897 /* end confdefs.h.  */
6898 #include <string.h>
6899
6900 _ACEOF
6901 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6902   $EGREP "memchr" >/dev/null 2>&1; then
6903   :
6904 else
6905   ac_cv_header_stdc=no
6906 fi
6907 rm -f conftest*
6908
6909 fi
6910
6911 if test $ac_cv_header_stdc = yes; then
6912   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6913   cat >conftest.$ac_ext <<_ACEOF
6914 /* confdefs.h.  */
6915 _ACEOF
6916 cat confdefs.h >>conftest.$ac_ext
6917 cat >>conftest.$ac_ext <<_ACEOF
6918 /* end confdefs.h.  */
6919 #include <stdlib.h>
6920
6921 _ACEOF
6922 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6923   $EGREP "free" >/dev/null 2>&1; then
6924   :
6925 else
6926   ac_cv_header_stdc=no
6927 fi
6928 rm -f conftest*
6929
6930 fi
6931
6932 if test $ac_cv_header_stdc = yes; then
6933   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6934   if test "$cross_compiling" = yes; then
6935   :
6936 else
6937   cat >conftest.$ac_ext <<_ACEOF
6938 /* confdefs.h.  */
6939 _ACEOF
6940 cat confdefs.h >>conftest.$ac_ext
6941 cat >>conftest.$ac_ext <<_ACEOF
6942 /* end confdefs.h.  */
6943 #include <ctype.h>
6944 #include <stdlib.h>
6945 #if ((' ' & 0x0FF) == 0x020)
6946 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6947 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6948 #else
6949 # define ISLOWER(c) \
6950                    (('a' <= (c) && (c) <= 'i') \
6951                      || ('j' <= (c) && (c) <= 'r') \
6952                      || ('s' <= (c) && (c) <= 'z'))
6953 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6954 #endif
6955
6956 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6957 int
6958 main ()
6959 {
6960   int i;
6961   for (i = 0; i < 256; i++)
6962     if (XOR (islower (i), ISLOWER (i))
6963         || toupper (i) != TOUPPER (i))
6964       return 2;
6965   return 0;
6966 }
6967 _ACEOF
6968 rm -f conftest$ac_exeext
6969 if { (ac_try="$ac_link"
6970 case "(($ac_try" in
6971   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6972   *) ac_try_echo=$ac_try;;
6973 esac
6974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6975   (eval "$ac_link") 2>&5
6976   ac_status=$?
6977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6978   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6979   { (case "(($ac_try" in
6980   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6981   *) ac_try_echo=$ac_try;;
6982 esac
6983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6984   (eval "$ac_try") 2>&5
6985   ac_status=$?
6986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6987   (exit $ac_status); }; }; then
6988   :
6989 else
6990   echo "$as_me: program exited with status $ac_status" >&5
6991 echo "$as_me: failed program was:" >&5
6992 sed 's/^/| /' conftest.$ac_ext >&5
6993
6994 ( exit $ac_status )
6995 ac_cv_header_stdc=no
6996 fi
6997 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6998 fi
6999
7000
7001 fi
7002 fi
7003 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7004 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
7005 if test $ac_cv_header_stdc = yes; then
7006
7007 cat >>confdefs.h <<\_ACEOF
7008 #define STDC_HEADERS 1
7009 _ACEOF
7010
7011 fi
7012
7013 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7014
7015
7016
7017
7018
7019
7020
7021
7022
7023 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7024                   inttypes.h stdint.h unistd.h
7025 do
7026 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7027 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7028 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7029 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7030   echo $ECHO_N "(cached) $ECHO_C" >&6
7031 else
7032   cat >conftest.$ac_ext <<_ACEOF
7033 /* confdefs.h.  */
7034 _ACEOF
7035 cat confdefs.h >>conftest.$ac_ext
7036 cat >>conftest.$ac_ext <<_ACEOF
7037 /* end confdefs.h.  */
7038 $ac_includes_default
7039
7040 #include <$ac_header>
7041 _ACEOF
7042 rm -f conftest.$ac_objext
7043 if { (ac_try="$ac_compile"
7044 case "(($ac_try" in
7045   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7046   *) ac_try_echo=$ac_try;;
7047 esac
7048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7049   (eval "$ac_compile") 2>conftest.er1
7050   ac_status=$?
7051   grep -v '^ *+' conftest.er1 >conftest.err
7052   rm -f conftest.er1
7053   cat conftest.err >&5
7054   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7055   (exit $ac_status); } && {
7056          test -z "$ac_c_werror_flag" ||
7057          test ! -s conftest.err
7058        } && test -s conftest.$ac_objext; then
7059   eval "$as_ac_Header=yes"
7060 else
7061   echo "$as_me: failed program was:" >&5
7062 sed 's/^/| /' conftest.$ac_ext >&5
7063
7064         eval "$as_ac_Header=no"
7065 fi
7066
7067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7068 fi
7069 ac_res=`eval echo '${'$as_ac_Header'}'`
7070                { echo "$as_me:$LINENO: result: $ac_res" >&5
7071 echo "${ECHO_T}$ac_res" >&6; }
7072 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7073   cat >>confdefs.h <<_ACEOF
7074 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7075 _ACEOF
7076
7077 fi
7078
7079 done
7080
7081
7082
7083 for ac_header in dlfcn.h
7084 do
7085 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7086 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7087 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7088 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7089   echo $ECHO_N "(cached) $ECHO_C" >&6
7090 else
7091   cat >conftest.$ac_ext <<_ACEOF
7092 /* confdefs.h.  */
7093 _ACEOF
7094 cat confdefs.h >>conftest.$ac_ext
7095 cat >>conftest.$ac_ext <<_ACEOF
7096 /* end confdefs.h.  */
7097 $ac_includes_default
7098
7099 #include <$ac_header>
7100 _ACEOF
7101 rm -f conftest.$ac_objext
7102 if { (ac_try="$ac_compile"
7103 case "(($ac_try" in
7104   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7105   *) ac_try_echo=$ac_try;;
7106 esac
7107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7108   (eval "$ac_compile") 2>conftest.er1
7109   ac_status=$?
7110   grep -v '^ *+' conftest.er1 >conftest.err
7111   rm -f conftest.er1
7112   cat conftest.err >&5
7113   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7114   (exit $ac_status); } && {
7115          test -z "$ac_c_werror_flag" ||
7116          test ! -s conftest.err
7117        } && test -s conftest.$ac_objext; then
7118   eval "$as_ac_Header=yes"
7119 else
7120   echo "$as_me: failed program was:" >&5
7121 sed 's/^/| /' conftest.$ac_ext >&5
7122
7123         eval "$as_ac_Header=no"
7124 fi
7125
7126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7127 fi
7128 ac_res=`eval echo '${'$as_ac_Header'}'`
7129                { echo "$as_me:$LINENO: result: $ac_res" >&5
7130 echo "${ECHO_T}$ac_res" >&6; }
7131 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7132   cat >>confdefs.h <<_ACEOF
7133 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7134 _ACEOF
7135
7136 fi
7137
7138 done
7139
7140
7141
7142 ac_ext=cpp
7143 ac_cpp='$CXXCPP $CPPFLAGS'
7144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7147 if test -z "$CXX"; then
7148   if test -n "$CCC"; then
7149     CXX=$CCC
7150   else
7151     if test -n "$ac_tool_prefix"; then
7152   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
7153   do
7154     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7155 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7156 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7157 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7158 if test "${glibcxx_cv_prog_CXX+set}" = set; then
7159   echo $ECHO_N "(cached) $ECHO_C" >&6
7160 else
7161   if test -n "$CXX"; then
7162   glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
7163 else
7164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7165 for as_dir in $PATH
7166 do
7167   IFS=$as_save_IFS
7168   test -z "$as_dir" && as_dir=.
7169   for ac_exec_ext in '' $ac_executable_extensions; do
7170   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7171     glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
7172     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7173     break 2
7174   fi
7175 done
7176 done
7177 IFS=$as_save_IFS
7178
7179 fi
7180 fi
7181 CXX=$glibcxx_cv_prog_CXX
7182 if test -n "$CXX"; then
7183   { echo "$as_me:$LINENO: result: $CXX" >&5
7184 echo "${ECHO_T}$CXX" >&6; }
7185 else
7186   { echo "$as_me:$LINENO: result: no" >&5
7187 echo "${ECHO_T}no" >&6; }
7188 fi
7189
7190
7191     test -n "$CXX" && break
7192   done
7193 fi
7194 if test -z "$CXX"; then
7195   ac_ct_CXX=$CXX
7196   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
7197 do
7198   # Extract the first word of "$ac_prog", so it can be a program name with args.
7199 set dummy $ac_prog; ac_word=$2
7200 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7201 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7202 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
7203   echo $ECHO_N "(cached) $ECHO_C" >&6
7204 else
7205   if test -n "$ac_ct_CXX"; then
7206   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
7207 else
7208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7209 for as_dir in $PATH
7210 do
7211   IFS=$as_save_IFS
7212   test -z "$as_dir" && as_dir=.
7213   for ac_exec_ext in '' $ac_executable_extensions; do
7214   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7215     ac_cv_prog_ac_ct_CXX="$ac_prog"
7216     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7217     break 2
7218   fi
7219 done
7220 done
7221 IFS=$as_save_IFS
7222
7223 fi
7224 fi
7225 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
7226 if test -n "$ac_ct_CXX"; then
7227   { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
7228 echo "${ECHO_T}$ac_ct_CXX" >&6; }
7229 else
7230   { echo "$as_me:$LINENO: result: no" >&5
7231 echo "${ECHO_T}no" >&6; }
7232 fi
7233
7234
7235   test -n "$ac_ct_CXX" && break
7236 done
7237
7238   if test "x$ac_ct_CXX" = x; then
7239     CXX="g++"
7240   else
7241     case $cross_compiling:$ac_tool_warned in
7242 yes:)
7243 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7244 whose name does not start with the host triplet.  If you think this
7245 configuration is useful to you, please write to autoconf@gnu.org." >&5
7246 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7247 whose name does not start with the host triplet.  If you think this
7248 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7249 ac_tool_warned=yes ;;
7250 esac
7251     CXX=$ac_ct_CXX
7252   fi
7253 fi
7254
7255   fi
7256 fi
7257 # Provide some information about the compiler.
7258 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
7259 ac_compiler=`set X $ac_compile; echo $2`
7260 { (ac_try="$ac_compiler --version >&5"
7261 case "(($ac_try" in
7262   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7263   *) ac_try_echo=$ac_try;;
7264 esac
7265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7266   (eval "$ac_compiler --version >&5") 2>&5
7267   ac_status=$?
7268   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7269   (exit $ac_status); }
7270 { (ac_try="$ac_compiler -v >&5"
7271 case "(($ac_try" in
7272   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7273   *) ac_try_echo=$ac_try;;
7274 esac
7275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7276   (eval "$ac_compiler -v >&5") 2>&5
7277   ac_status=$?
7278   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7279   (exit $ac_status); }
7280 { (ac_try="$ac_compiler -V >&5"
7281 case "(($ac_try" in
7282   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7283   *) ac_try_echo=$ac_try;;
7284 esac
7285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7286   (eval "$ac_compiler -V >&5") 2>&5
7287   ac_status=$?
7288   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7289   (exit $ac_status); }
7290
7291 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
7292 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
7293 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
7294   echo $ECHO_N "(cached) $ECHO_C" >&6
7295 else
7296   cat >conftest.$ac_ext <<_ACEOF
7297 /* confdefs.h.  */
7298 _ACEOF
7299 cat confdefs.h >>conftest.$ac_ext
7300 cat >>conftest.$ac_ext <<_ACEOF
7301 /* end confdefs.h.  */
7302
7303 int
7304 main ()
7305 {
7306 #ifndef __GNUC__
7307        choke me
7308 #endif
7309
7310   ;
7311   return 0;
7312 }
7313 _ACEOF
7314 rm -f conftest.$ac_objext
7315 if { (ac_try="$ac_compile"
7316 case "(($ac_try" in
7317   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7318   *) ac_try_echo=$ac_try;;
7319 esac
7320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7321   (eval "$ac_compile") 2>conftest.er1
7322   ac_status=$?
7323   grep -v '^ *+' conftest.er1 >conftest.err
7324   rm -f conftest.er1
7325   cat conftest.err >&5
7326   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7327   (exit $ac_status); } && {
7328          test -z "$ac_cxx_werror_flag" ||
7329          test ! -s conftest.err
7330        } && test -s conftest.$ac_objext; then
7331   ac_compiler_gnu=yes
7332 else
7333   echo "$as_me: failed program was:" >&5
7334 sed 's/^/| /' conftest.$ac_ext >&5
7335
7336         ac_compiler_gnu=no
7337 fi
7338
7339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7340 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
7341
7342 fi
7343 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
7344 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
7345 GXX=`test $ac_compiler_gnu = yes && echo yes`
7346 ac_test_CXXFLAGS=${CXXFLAGS+set}
7347 ac_save_CXXFLAGS=$CXXFLAGS
7348 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
7349 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
7350 if test "${ac_cv_prog_cxx_g+set}" = set; then
7351   echo $ECHO_N "(cached) $ECHO_C" >&6
7352 else
7353   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
7354    ac_cxx_werror_flag=yes
7355    ac_cv_prog_cxx_g=no
7356    CXXFLAGS="-g"
7357    cat >conftest.$ac_ext <<_ACEOF
7358 /* confdefs.h.  */
7359 _ACEOF
7360 cat confdefs.h >>conftest.$ac_ext
7361 cat >>conftest.$ac_ext <<_ACEOF
7362 /* end confdefs.h.  */
7363
7364 int
7365 main ()
7366 {
7367
7368   ;
7369   return 0;
7370 }
7371 _ACEOF
7372 rm -f conftest.$ac_objext
7373 if { (ac_try="$ac_compile"
7374 case "(($ac_try" in
7375   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7376   *) ac_try_echo=$ac_try;;
7377 esac
7378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7379   (eval "$ac_compile") 2>conftest.er1
7380   ac_status=$?
7381   grep -v '^ *+' conftest.er1 >conftest.err
7382   rm -f conftest.er1
7383   cat conftest.err >&5
7384   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7385   (exit $ac_status); } && {
7386          test -z "$ac_cxx_werror_flag" ||
7387          test ! -s conftest.err
7388        } && test -s conftest.$ac_objext; then
7389   ac_cv_prog_cxx_g=yes
7390 else
7391   echo "$as_me: failed program was:" >&5
7392 sed 's/^/| /' conftest.$ac_ext >&5
7393
7394         CXXFLAGS=""
7395       cat >conftest.$ac_ext <<_ACEOF
7396 /* confdefs.h.  */
7397 _ACEOF
7398 cat confdefs.h >>conftest.$ac_ext
7399 cat >>conftest.$ac_ext <<_ACEOF
7400 /* end confdefs.h.  */
7401
7402 int
7403 main ()
7404 {
7405
7406   ;
7407   return 0;
7408 }
7409 _ACEOF
7410 rm -f conftest.$ac_objext
7411 if { (ac_try="$ac_compile"
7412 case "(($ac_try" in
7413   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7414   *) ac_try_echo=$ac_try;;
7415 esac
7416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7417   (eval "$ac_compile") 2>conftest.er1
7418   ac_status=$?
7419   grep -v '^ *+' conftest.er1 >conftest.err
7420   rm -f conftest.er1
7421   cat conftest.err >&5
7422   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7423   (exit $ac_status); } && {
7424          test -z "$ac_cxx_werror_flag" ||
7425          test ! -s conftest.err
7426        } && test -s conftest.$ac_objext; then
7427   :
7428 else
7429   echo "$as_me: failed program was:" >&5
7430 sed 's/^/| /' conftest.$ac_ext >&5
7431
7432         ac_cxx_werror_flag=$ac_save_cxx_werror_flag
7433          CXXFLAGS="-g"
7434          cat >conftest.$ac_ext <<_ACEOF
7435 /* confdefs.h.  */
7436 _ACEOF
7437 cat confdefs.h >>conftest.$ac_ext
7438 cat >>conftest.$ac_ext <<_ACEOF
7439 /* end confdefs.h.  */
7440
7441 int
7442 main ()
7443 {
7444
7445   ;
7446   return 0;
7447 }
7448 _ACEOF
7449 rm -f conftest.$ac_objext
7450 if { (ac_try="$ac_compile"
7451 case "(($ac_try" in
7452   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7453   *) ac_try_echo=$ac_try;;
7454 esac
7455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7456   (eval "$ac_compile") 2>conftest.er1
7457   ac_status=$?
7458   grep -v '^ *+' conftest.er1 >conftest.err
7459   rm -f conftest.er1
7460   cat conftest.err >&5
7461   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7462   (exit $ac_status); } && {
7463          test -z "$ac_cxx_werror_flag" ||
7464          test ! -s conftest.err
7465        } && test -s conftest.$ac_objext; then
7466   ac_cv_prog_cxx_g=yes
7467 else
7468   echo "$as_me: failed program was:" >&5
7469 sed 's/^/| /' conftest.$ac_ext >&5
7470
7471
7472 fi
7473
7474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7475 fi
7476
7477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7478 fi
7479
7480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7481    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
7482 fi
7483 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
7484 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
7485 if test "$ac_test_CXXFLAGS" = set; then
7486   CXXFLAGS=$ac_save_CXXFLAGS
7487 elif test $ac_cv_prog_cxx_g = yes; then
7488   if test "$GXX" = yes; then
7489     CXXFLAGS="-g -O2"
7490   else
7491     CXXFLAGS="-g"
7492   fi
7493 else
7494   if test "$GXX" = yes; then
7495     CXXFLAGS="-O2"
7496   else
7497     CXXFLAGS=
7498   fi
7499 fi
7500 ac_ext=c
7501 ac_cpp='$CPP $CPPFLAGS'
7502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7505
7506 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
7507     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
7508     (test "X$CXX" != "Xg++"))) ; then
7509   ac_ext=cpp
7510 ac_cpp='$CXXCPP $CPPFLAGS'
7511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7514 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
7515 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
7516 if test -z "$CXXCPP"; then
7517   if test "${ac_cv_prog_CXXCPP+set}" = set; then
7518   echo $ECHO_N "(cached) $ECHO_C" >&6
7519 else
7520       # Double quotes because CXXCPP needs to be expanded
7521     for CXXCPP in "$CXX -E" "/lib/cpp"
7522     do
7523       ac_preproc_ok=false
7524 for ac_cxx_preproc_warn_flag in '' yes
7525 do
7526   # Use a header file that comes with gcc, so configuring glibc
7527   # with a fresh cross-compiler works.
7528   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7529   # <limits.h> exists even on freestanding compilers.
7530   # On the NeXT, cc -E runs the code through the compiler's parser,
7531   # not just through cpp. "Syntax error" is here to catch this case.
7532   cat >conftest.$ac_ext <<_ACEOF
7533 /* confdefs.h.  */
7534 _ACEOF
7535 cat confdefs.h >>conftest.$ac_ext
7536 cat >>conftest.$ac_ext <<_ACEOF
7537 /* end confdefs.h.  */
7538 #ifdef __STDC__
7539 # include <limits.h>
7540 #else
7541 # include <assert.h>
7542 #endif
7543                      Syntax error
7544 _ACEOF
7545 if { (ac_try="$ac_cpp conftest.$ac_ext"
7546 case "(($ac_try" in
7547   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7548   *) ac_try_echo=$ac_try;;
7549 esac
7550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7551   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7552   ac_status=$?
7553   grep -v '^ *+' conftest.er1 >conftest.err
7554   rm -f conftest.er1
7555   cat conftest.err >&5
7556   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7557   (exit $ac_status); } >/dev/null && {
7558          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7559          test ! -s conftest.err
7560        }; then
7561   :
7562 else
7563   echo "$as_me: failed program was:" >&5
7564 sed 's/^/| /' conftest.$ac_ext >&5
7565
7566   # Broken: fails on valid input.
7567 continue
7568 fi
7569
7570 rm -f conftest.err conftest.$ac_ext
7571
7572   # OK, works on sane cases.  Now check whether nonexistent headers
7573   # can be detected and how.
7574   cat >conftest.$ac_ext <<_ACEOF
7575 /* confdefs.h.  */
7576 _ACEOF
7577 cat confdefs.h >>conftest.$ac_ext
7578 cat >>conftest.$ac_ext <<_ACEOF
7579 /* end confdefs.h.  */
7580 #include <ac_nonexistent.h>
7581 _ACEOF
7582 if { (ac_try="$ac_cpp conftest.$ac_ext"
7583 case "(($ac_try" in
7584   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7585   *) ac_try_echo=$ac_try;;
7586 esac
7587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7588   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7589   ac_status=$?
7590   grep -v '^ *+' conftest.er1 >conftest.err
7591   rm -f conftest.er1
7592   cat conftest.err >&5
7593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7594   (exit $ac_status); } >/dev/null && {
7595          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7596          test ! -s conftest.err
7597        }; then
7598   # Broken: success on invalid input.
7599 continue
7600 else
7601   echo "$as_me: failed program was:" >&5
7602 sed 's/^/| /' conftest.$ac_ext >&5
7603
7604   # Passes both tests.
7605 ac_preproc_ok=:
7606 break
7607 fi
7608
7609 rm -f conftest.err conftest.$ac_ext
7610
7611 done
7612 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7613 rm -f conftest.err conftest.$ac_ext
7614 if $ac_preproc_ok; then
7615   break
7616 fi
7617
7618     done
7619     ac_cv_prog_CXXCPP=$CXXCPP
7620
7621 fi
7622   CXXCPP=$ac_cv_prog_CXXCPP
7623 else
7624   ac_cv_prog_CXXCPP=$CXXCPP
7625 fi
7626 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
7627 echo "${ECHO_T}$CXXCPP" >&6; }
7628 ac_preproc_ok=false
7629 for ac_cxx_preproc_warn_flag in '' yes
7630 do
7631   # Use a header file that comes with gcc, so configuring glibc
7632   # with a fresh cross-compiler works.
7633   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7634   # <limits.h> exists even on freestanding compilers.
7635   # On the NeXT, cc -E runs the code through the compiler's parser,
7636   # not just through cpp. "Syntax error" is here to catch this case.
7637   cat >conftest.$ac_ext <<_ACEOF
7638 /* confdefs.h.  */
7639 _ACEOF
7640 cat confdefs.h >>conftest.$ac_ext
7641 cat >>conftest.$ac_ext <<_ACEOF
7642 /* end confdefs.h.  */
7643 #ifdef __STDC__
7644 # include <limits.h>
7645 #else
7646 # include <assert.h>
7647 #endif
7648                      Syntax error
7649 _ACEOF
7650 if { (ac_try="$ac_cpp conftest.$ac_ext"
7651 case "(($ac_try" in
7652   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7653   *) ac_try_echo=$ac_try;;
7654 esac
7655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7656   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7657   ac_status=$?
7658   grep -v '^ *+' conftest.er1 >conftest.err
7659   rm -f conftest.er1
7660   cat conftest.err >&5
7661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7662   (exit $ac_status); } >/dev/null && {
7663          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7664          test ! -s conftest.err
7665        }; then
7666   :
7667 else
7668   echo "$as_me: failed program was:" >&5
7669 sed 's/^/| /' conftest.$ac_ext >&5
7670
7671   # Broken: fails on valid input.
7672 continue
7673 fi
7674
7675 rm -f conftest.err conftest.$ac_ext
7676
7677   # OK, works on sane cases.  Now check whether nonexistent headers
7678   # can be detected and how.
7679   cat >conftest.$ac_ext <<_ACEOF
7680 /* confdefs.h.  */
7681 _ACEOF
7682 cat confdefs.h >>conftest.$ac_ext
7683 cat >>conftest.$ac_ext <<_ACEOF
7684 /* end confdefs.h.  */
7685 #include <ac_nonexistent.h>
7686 _ACEOF
7687 if { (ac_try="$ac_cpp conftest.$ac_ext"
7688 case "(($ac_try" in
7689   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7690   *) ac_try_echo=$ac_try;;
7691 esac
7692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7693   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7694   ac_status=$?
7695   grep -v '^ *+' conftest.er1 >conftest.err
7696   rm -f conftest.er1
7697   cat conftest.err >&5
7698   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7699   (exit $ac_status); } >/dev/null && {
7700          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7701          test ! -s conftest.err
7702        }; then
7703   # Broken: success on invalid input.
7704 continue
7705 else
7706   echo "$as_me: failed program was:" >&5
7707 sed 's/^/| /' conftest.$ac_ext >&5
7708
7709   # Passes both tests.
7710 ac_preproc_ok=:
7711 break
7712 fi
7713
7714 rm -f conftest.err conftest.$ac_ext
7715
7716 done
7717 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7718 rm -f conftest.err conftest.$ac_ext
7719 if $ac_preproc_ok; then
7720   :
7721 else
7722   _lt_caught_CXX_error=yes
7723 fi
7724
7725 ac_ext=c
7726 ac_cpp='$CPP $CPPFLAGS'
7727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7730
7731 else
7732   _lt_caught_CXX_error=yes
7733 fi
7734
7735
7736
7737
7738
7739 # This can be used to rebuild libtool when needed
7740 LIBTOOL_DEPS="$ltmain"
7741
7742 # Always use our own libtool.
7743 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7744
7745
7746
7747
7748
7749
7750
7751
7752
7753
7754
7755
7756
7757
7758
7759
7760
7761
7762
7763
7764
7765
7766
7767
7768
7769 test -z "$LN_S" && LN_S="ln -s"
7770
7771
7772
7773
7774
7775
7776
7777
7778
7779
7780
7781
7782
7783
7784 if test -n "${ZSH_VERSION+set}" ; then
7785    setopt NO_GLOB_SUBST
7786 fi
7787
7788 { echo "$as_me:$LINENO: checking for objdir" >&5
7789 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
7790 if test "${lt_cv_objdir+set}" = set; then
7791   echo $ECHO_N "(cached) $ECHO_C" >&6
7792 else
7793   rm -f .libs 2>/dev/null
7794 mkdir .libs 2>/dev/null
7795 if test -d .libs; then
7796   lt_cv_objdir=.libs
7797 else
7798   # MS-DOS does not allow filenames that begin with a dot.
7799   lt_cv_objdir=_libs
7800 fi
7801 rmdir .libs 2>/dev/null
7802 fi
7803 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
7804 echo "${ECHO_T}$lt_cv_objdir" >&6; }
7805 objdir=$lt_cv_objdir
7806
7807
7808
7809
7810
7811 cat >>confdefs.h <<_ACEOF
7812 #define LT_OBJDIR "$lt_cv_objdir/"
7813 _ACEOF
7814
7815
7816
7817
7818
7819
7820
7821
7822
7823
7824
7825
7826
7827
7828
7829
7830
7831 case $host_os in
7832 aix3*)
7833   # AIX sometimes has problems with the GCC collect2 program.  For some
7834   # reason, if we set the COLLECT_NAMES environment variable, the problems
7835   # vanish in a puff of smoke.
7836   if test "X${COLLECT_NAMES+set}" != Xset; then
7837     COLLECT_NAMES=
7838     export COLLECT_NAMES
7839   fi
7840   ;;
7841 esac
7842
7843 # Sed substitution that helps us do robust quoting.  It backslashifies
7844 # metacharacters that are still active within double-quoted strings.
7845 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7846
7847 # Same as above, but do not quote variable references.
7848 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7849
7850 # Sed substitution to delay expansion of an escaped shell variable in a
7851 # double_quote_subst'ed string.
7852 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7853
7854 # Sed substitution to delay expansion of an escaped single quote.
7855 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7856
7857 # Sed substitution to avoid accidental globbing in evaled expressions
7858 no_glob_subst='s/\*/\\\*/g'
7859
7860 # Global variables:
7861 ofile=libtool
7862 can_build_shared=yes
7863
7864 # All known linkers require a `.a' archive for static linking (except MSVC,
7865 # which needs '.lib').
7866 libext=a
7867
7868 with_gnu_ld="$lt_cv_prog_gnu_ld"
7869
7870 old_CC="$CC"
7871 old_CFLAGS="$CFLAGS"
7872
7873 # Set sane defaults for various variables
7874 test -z "$CC" && CC=cc
7875 test -z "$LTCC" && LTCC=$CC
7876 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7877 test -z "$LD" && LD=ld
7878 test -z "$ac_objext" && ac_objext=o
7879
7880 for cc_temp in $compiler""; do
7881   case $cc_temp in
7882     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7883     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7884     \-*) ;;
7885     *) break;;
7886   esac
7887 done
7888 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7889
7890
7891 # Only perform the check for file, if the check method requires it
7892 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7893 case $deplibs_check_method in
7894 file_magic*)
7895   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7896     { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7897 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
7898 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7899   echo $ECHO_N "(cached) $ECHO_C" >&6
7900 else
7901   case $MAGIC_CMD in
7902 [\\/*] |  ?:[\\/]*)
7903   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7904   ;;
7905 *)
7906   lt_save_MAGIC_CMD="$MAGIC_CMD"
7907   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7908   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7909   for ac_dir in $ac_dummy; do
7910     IFS="$lt_save_ifs"
7911     test -z "$ac_dir" && ac_dir=.
7912     if test -f $ac_dir/${ac_tool_prefix}file; then
7913       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7914       if test -n "$file_magic_test_file"; then
7915         case $deplibs_check_method in
7916         "file_magic "*)
7917           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7918           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7919           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7920             $EGREP "$file_magic_regex" > /dev/null; then
7921             :
7922           else
7923             cat <<_LT_EOF 1>&2
7924
7925 *** Warning: the command libtool uses to detect shared libraries,
7926 *** $file_magic_cmd, produces output that libtool cannot recognize.
7927 *** The result is that libtool may fail to recognize shared libraries
7928 *** as such.  This will affect the creation of libtool libraries that
7929 *** depend on shared libraries, but programs linked with such libtool
7930 *** libraries will work regardless of this problem.  Nevertheless, you
7931 *** may want to report the problem to your system manager and/or to
7932 *** bug-libtool@gnu.org
7933
7934 _LT_EOF
7935           fi ;;
7936         esac
7937       fi
7938       break
7939     fi
7940   done
7941   IFS="$lt_save_ifs"
7942   MAGIC_CMD="$lt_save_MAGIC_CMD"
7943   ;;
7944 esac
7945 fi
7946
7947 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7948 if test -n "$MAGIC_CMD"; then
7949   { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7950 echo "${ECHO_T}$MAGIC_CMD" >&6; }
7951 else
7952   { echo "$as_me:$LINENO: result: no" >&5
7953 echo "${ECHO_T}no" >&6; }
7954 fi
7955
7956
7957
7958
7959
7960 if test -z "$lt_cv_path_MAGIC_CMD"; then
7961   if test -n "$ac_tool_prefix"; then
7962     { echo "$as_me:$LINENO: checking for file" >&5
7963 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
7964 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7965   echo $ECHO_N "(cached) $ECHO_C" >&6
7966 else
7967   case $MAGIC_CMD in
7968 [\\/*] |  ?:[\\/]*)
7969   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7970   ;;
7971 *)
7972   lt_save_MAGIC_CMD="$MAGIC_CMD"
7973   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7974   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7975   for ac_dir in $ac_dummy; do
7976     IFS="$lt_save_ifs"
7977     test -z "$ac_dir" && ac_dir=.
7978     if test -f $ac_dir/file; then
7979       lt_cv_path_MAGIC_CMD="$ac_dir/file"
7980       if test -n "$file_magic_test_file"; then
7981         case $deplibs_check_method in
7982         "file_magic "*)
7983           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7984           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7985           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7986             $EGREP "$file_magic_regex" > /dev/null; then
7987             :
7988           else
7989             cat <<_LT_EOF 1>&2
7990
7991 *** Warning: the command libtool uses to detect shared libraries,
7992 *** $file_magic_cmd, produces output that libtool cannot recognize.
7993 *** The result is that libtool may fail to recognize shared libraries
7994 *** as such.  This will affect the creation of libtool libraries that
7995 *** depend on shared libraries, but programs linked with such libtool
7996 *** libraries will work regardless of this problem.  Nevertheless, you
7997 *** may want to report the problem to your system manager and/or to
7998 *** bug-libtool@gnu.org
7999
8000 _LT_EOF
8001           fi ;;
8002         esac
8003       fi
8004       break
8005     fi
8006   done
8007   IFS="$lt_save_ifs"
8008   MAGIC_CMD="$lt_save_MAGIC_CMD"
8009   ;;
8010 esac
8011 fi
8012
8013 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8014 if test -n "$MAGIC_CMD"; then
8015   { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8016 echo "${ECHO_T}$MAGIC_CMD" >&6; }
8017 else
8018   { echo "$as_me:$LINENO: result: no" >&5
8019 echo "${ECHO_T}no" >&6; }
8020 fi
8021
8022
8023   else
8024     MAGIC_CMD=:
8025   fi
8026 fi
8027
8028   fi
8029   ;;
8030 esac
8031
8032 # Use C for the default configuration in the libtool script
8033
8034 lt_save_CC="$CC"
8035 ac_ext=c
8036 ac_cpp='$CPP $CPPFLAGS'
8037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8040
8041
8042 # Source file extension for C test sources.
8043 ac_ext=c
8044
8045 # Object file extension for compiled C test sources.
8046 objext=o
8047 objext=$objext
8048
8049 # Code to be used in simple compile tests
8050 lt_simple_compile_test_code="int some_variable = 0;"
8051
8052 # Code to be used in simple link tests
8053 lt_simple_link_test_code='int main(){return(0);}'
8054
8055
8056
8057
8058
8059
8060
8061 # If no C compiler was specified, use CC.
8062 LTCC=${LTCC-"$CC"}
8063
8064 # If no C compiler flags were specified, use CFLAGS.
8065 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8066
8067 # Allow CC to be a program name with arguments.
8068 compiler=$CC
8069
8070 # Save the default compiler, since it gets overwritten when the other
8071 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8072 compiler_DEFAULT=$CC
8073
8074 # save warnings/boilerplate of simple test code
8075 ac_outfile=conftest.$ac_objext
8076 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8077 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8078 _lt_compiler_boilerplate=`cat conftest.err`
8079 $RM conftest*
8080
8081 ac_outfile=conftest.$ac_objext
8082 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8083 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8084 _lt_linker_boilerplate=`cat conftest.err`
8085 $RM conftest*
8086
8087
8088 ## CAVEAT EMPTOR:
8089 ## There is no encapsulation within the following macros, do not change
8090 ## the running order or otherwise move them around unless you know exactly
8091 ## what you are doing...
8092 if test -n "$compiler"; then
8093
8094 lt_prog_compiler_no_builtin_flag=
8095
8096 if test "$GCC" = yes; then
8097   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8098
8099   { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8100 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
8101 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
8102   echo $ECHO_N "(cached) $ECHO_C" >&6
8103 else
8104   lt_cv_prog_compiler_rtti_exceptions=no
8105    ac_outfile=conftest.$ac_objext
8106    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8107    lt_compiler_flag="-fno-rtti -fno-exceptions"
8108    # Insert the option either (1) after the last *FLAGS variable, or
8109    # (2) before a word containing "conftest.", or (3) at the end.
8110    # Note that $ac_compile itself does not contain backslashes and begins
8111    # with a dollar sign (not a hyphen), so the echo should work correctly.
8112    # The option is referenced via a variable to avoid confusing sed.
8113    lt_compile=`echo "$ac_compile" | $SED \
8114    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8115    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8116    -e 's:$: $lt_compiler_flag:'`
8117    (eval echo "\"\$as_me:8117: $lt_compile\"" >&5)
8118    (eval "$lt_compile" 2>conftest.err)
8119    ac_status=$?
8120    cat conftest.err >&5
8121    echo "$as_me:8121: \$? = $ac_status" >&5
8122    if (exit $ac_status) && test -s "$ac_outfile"; then
8123      # The compiler can only warn and ignore the option if not recognized
8124      # So say no if there are warnings other than the usual output.
8125      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8126      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8127      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8128        lt_cv_prog_compiler_rtti_exceptions=yes
8129      fi
8130    fi
8131    $RM conftest*
8132
8133 fi
8134 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8135 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8136
8137 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8138     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8139 else
8140     :
8141 fi
8142
8143 fi
8144
8145
8146
8147
8148
8149
8150   lt_prog_compiler_wl=
8151 lt_prog_compiler_pic=
8152 lt_prog_compiler_static=
8153
8154 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
8155 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
8156
8157   if test "$GCC" = yes; then
8158     lt_prog_compiler_wl='-Wl,'
8159     lt_prog_compiler_static='-static'
8160
8161     case $host_os in
8162       aix*)
8163       # All AIX code is PIC.
8164       if test "$host_cpu" = ia64; then
8165         # AIX 5 now supports IA64 processor
8166         lt_prog_compiler_static='-Bstatic'
8167       fi
8168       ;;
8169
8170     amigaos*)
8171       if test "$host_cpu" = m68k; then
8172         # FIXME: we need at least 68020 code to build shared libraries, but
8173         # adding the `-m68020' flag to GCC prevents building anything better,
8174         # like `-m68040'.
8175         lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8176       fi
8177       ;;
8178
8179     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8180       # PIC is the default for these OSes.
8181       ;;
8182
8183     mingw* | cygwin* | pw32* | os2*)
8184       # This hack is so that the source file can tell whether it is being
8185       # built for inclusion in a dll (and should export symbols for example).
8186       # Although the cygwin gcc ignores -fPIC, still need this for old-style
8187       # (--disable-auto-import) libraries
8188       lt_prog_compiler_pic='-DDLL_EXPORT'
8189       ;;
8190
8191     darwin* | rhapsody*)
8192       # PIC is the default on this platform
8193       # Common symbols not allowed in MH_DYLIB files
8194       lt_prog_compiler_pic='-fno-common'
8195       ;;
8196
8197     hpux*)
8198       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8199       # not for PA HP-UX.
8200       case $host_cpu in
8201       hppa*64*|ia64*)
8202         # +Z the default
8203         ;;
8204       *)
8205         lt_prog_compiler_pic='-fPIC'
8206         ;;
8207       esac
8208       ;;
8209
8210     interix[3-9]*)
8211       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8212       # Instead, we relocate shared libraries at runtime.
8213       ;;
8214
8215     msdosdjgpp*)
8216       # Just because we use GCC doesn't mean we suddenly get shared libraries
8217       # on systems that don't support them.
8218       lt_prog_compiler_can_build_shared=no
8219       enable_shared=no
8220       ;;
8221
8222     *nto* | *qnx*)
8223       # QNX uses GNU C++, but need to define -shared option too, otherwise
8224       # it will coredump.
8225       lt_prog_compiler_pic='-fPIC -shared'
8226       ;;
8227
8228     sysv4*MP*)
8229       if test -d /usr/nec; then
8230         lt_prog_compiler_pic=-Kconform_pic
8231       fi
8232       ;;
8233
8234     *)
8235       lt_prog_compiler_pic='-fPIC'
8236       ;;
8237     esac
8238   else
8239     # PORTME Check for flag to pass linker flags through the system compiler.
8240     case $host_os in
8241     aix*)
8242       lt_prog_compiler_wl='-Wl,'
8243       if test "$host_cpu" = ia64; then
8244         # AIX 5 now supports IA64 processor
8245         lt_prog_compiler_static='-Bstatic'
8246       else
8247         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8248       fi
8249       ;;
8250     darwin*)
8251       # PIC is the default on this platform
8252       # Common symbols not allowed in MH_DYLIB files
8253       case $cc_basename in
8254       xlc*)
8255         lt_prog_compiler_pic='-qnocommon'
8256         lt_prog_compiler_wl='-Wl,'
8257         ;;
8258       esac
8259       ;;
8260
8261     mingw* | cygwin* | pw32* | os2*)
8262       # This hack is so that the source file can tell whether it is being
8263       # built for inclusion in a dll (and should export symbols for example).
8264       lt_prog_compiler_pic='-DDLL_EXPORT'
8265       ;;
8266
8267     hpux9* | hpux10* | hpux11*)
8268       lt_prog_compiler_wl='-Wl,'
8269       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8270       # not for PA HP-UX.
8271       case $host_cpu in
8272       hppa*64*|ia64*)
8273         # +Z the default
8274         ;;
8275       *)
8276         lt_prog_compiler_pic='+Z'
8277         ;;
8278       esac
8279       # Is there a better lt_prog_compiler_static that works with the bundled CC?
8280       lt_prog_compiler_static='${wl}-a ${wl}archive'
8281       ;;
8282
8283     irix5* | irix6* | nonstopux*)
8284       lt_prog_compiler_wl='-Wl,'
8285       # PIC (with -KPIC) is the default.
8286       lt_prog_compiler_static='-non_shared'
8287       ;;
8288
8289     linux* | k*bsd*-gnu)
8290       case $cc_basename in
8291       icc* | ecc*)
8292         lt_prog_compiler_wl='-Wl,'
8293         lt_prog_compiler_pic='-KPIC'
8294         lt_prog_compiler_static='-static'
8295         ;;
8296       pgcc* | pgf77* | pgf90* | pgf95*)
8297         # Portland Group compilers (*not* the Pentium gcc compiler,
8298         # which looks to be a dead project)
8299         lt_prog_compiler_wl='-Wl,'
8300         lt_prog_compiler_pic='-fpic'
8301         lt_prog_compiler_static='-Bstatic'
8302         ;;
8303       ccc*)
8304         lt_prog_compiler_wl='-Wl,'
8305         # All Alpha code is PIC.
8306         lt_prog_compiler_static='-non_shared'
8307         ;;
8308       *)
8309         case `$CC -V 2>&1 | sed 5q` in
8310         *Sun\ C*)
8311           # Sun C 5.9
8312           lt_prog_compiler_pic='-KPIC'
8313           lt_prog_compiler_static='-Bstatic'
8314           lt_prog_compiler_wl='-Wl,'
8315           ;;
8316         *Sun\ F*)
8317           # Sun Fortran 8.3 passes all unrecognized flags to the linker
8318           lt_prog_compiler_pic='-KPIC'
8319           lt_prog_compiler_static='-Bstatic'
8320           lt_prog_compiler_wl=''
8321           ;;
8322         esac
8323         ;;
8324       esac
8325       ;;
8326
8327     newsos6)
8328       lt_prog_compiler_pic='-KPIC'
8329       lt_prog_compiler_static='-Bstatic'
8330       ;;
8331
8332     *nto* | *qnx*)
8333       # QNX uses GNU C++, but need to define -shared option too, otherwise
8334       # it will coredump.
8335       lt_prog_compiler_pic='-fPIC -shared'
8336       ;;
8337
8338     osf3* | osf4* | osf5*)
8339       lt_prog_compiler_wl='-Wl,'
8340       # All OSF/1 code is PIC.
8341       lt_prog_compiler_static='-non_shared'
8342       ;;
8343
8344     rdos*)
8345       lt_prog_compiler_static='-non_shared'
8346       ;;
8347
8348     solaris*)
8349       lt_prog_compiler_pic='-KPIC'
8350       lt_prog_compiler_static='-Bstatic'
8351       case $cc_basename in
8352       f77* | f90* | f95*)
8353         lt_prog_compiler_wl='-Qoption ld ';;
8354       *)
8355         lt_prog_compiler_wl='-Wl,';;
8356       esac
8357       ;;
8358
8359     sunos4*)
8360       lt_prog_compiler_wl='-Qoption ld '
8361       lt_prog_compiler_pic='-PIC'
8362       lt_prog_compiler_static='-Bstatic'
8363       ;;
8364
8365     sysv4 | sysv4.2uw2* | sysv4.3*)
8366       lt_prog_compiler_wl='-Wl,'
8367       lt_prog_compiler_pic='-KPIC'
8368       lt_prog_compiler_static='-Bstatic'
8369       ;;
8370
8371     sysv4*MP*)
8372       if test -d /usr/nec ;then
8373         lt_prog_compiler_pic='-Kconform_pic'
8374         lt_prog_compiler_static='-Bstatic'
8375       fi
8376       ;;
8377
8378     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8379       lt_prog_compiler_wl='-Wl,'
8380       lt_prog_compiler_pic='-KPIC'
8381       lt_prog_compiler_static='-Bstatic'
8382       ;;
8383
8384     unicos*)
8385       lt_prog_compiler_wl='-Wl,'
8386       lt_prog_compiler_can_build_shared=no
8387       ;;
8388
8389     uts4*)
8390       lt_prog_compiler_pic='-pic'
8391       lt_prog_compiler_static='-Bstatic'
8392       ;;
8393
8394     *)
8395       lt_prog_compiler_can_build_shared=no
8396       ;;
8397     esac
8398   fi
8399
8400 case $host_os in
8401   # For platforms which do not support PIC, -DPIC is meaningless:
8402   *djgpp*)
8403     lt_prog_compiler_pic=
8404     ;;
8405   *)
8406     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8407     ;;
8408 esac
8409 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
8410 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
8411
8412
8413
8414
8415
8416
8417 #
8418 # Check to make sure the PIC flag actually works.
8419 #
8420 if test -n "$lt_prog_compiler_pic"; then
8421   { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8422 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
8423 if test "${lt_prog_compiler_pic_works+set}" = set; then
8424   echo $ECHO_N "(cached) $ECHO_C" >&6
8425 else
8426   lt_prog_compiler_pic_works=no
8427    ac_outfile=conftest.$ac_objext
8428    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8429    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8430    # Insert the option either (1) after the last *FLAGS variable, or
8431    # (2) before a word containing "conftest.", or (3) at the end.
8432    # Note that $ac_compile itself does not contain backslashes and begins
8433    # with a dollar sign (not a hyphen), so the echo should work correctly.
8434    # The option is referenced via a variable to avoid confusing sed.
8435    lt_compile=`echo "$ac_compile" | $SED \
8436    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8437    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8438    -e 's:$: $lt_compiler_flag:'`
8439    (eval echo "\"\$as_me:8439: $lt_compile\"" >&5)
8440    (eval "$lt_compile" 2>conftest.err)
8441    ac_status=$?
8442    cat conftest.err >&5
8443    echo "$as_me:8443: \$? = $ac_status" >&5
8444    if (exit $ac_status) && test -s "$ac_outfile"; then
8445      # The compiler can only warn and ignore the option if not recognized
8446      # So say no if there are warnings other than the usual output.
8447      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8448      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8449      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8450        lt_prog_compiler_pic_works=yes
8451      fi
8452    fi
8453    $RM conftest*
8454
8455 fi
8456 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
8457 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
8458
8459 if test x"$lt_prog_compiler_pic_works" = xyes; then
8460     case $lt_prog_compiler_pic in
8461      "" | " "*) ;;
8462      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8463      esac
8464 else
8465     lt_prog_compiler_pic=
8466      lt_prog_compiler_can_build_shared=no
8467 fi
8468
8469 fi
8470
8471
8472
8473
8474
8475
8476 #
8477 # Check to make sure the static flag actually works.
8478 #
8479 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8480 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8481 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
8482 if test "${lt_prog_compiler_static_works+set}" = set; then
8483   echo $ECHO_N "(cached) $ECHO_C" >&6
8484 else
8485   lt_prog_compiler_static_works=no
8486    save_LDFLAGS="$LDFLAGS"
8487    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8488    echo "$lt_simple_link_test_code" > conftest.$ac_ext
8489    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8490      # The linker can only warn and ignore the option if not recognized
8491      # So say no if there are warnings
8492      if test -s conftest.err; then
8493        # Append any errors to the config.log.
8494        cat conftest.err 1>&5
8495        $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8496        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8497        if diff conftest.exp conftest.er2 >/dev/null; then
8498          lt_prog_compiler_static_works=yes
8499        fi
8500      else
8501        lt_prog_compiler_static_works=yes
8502      fi
8503    fi
8504    $RM conftest*
8505    LDFLAGS="$save_LDFLAGS"
8506
8507 fi
8508 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
8509 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
8510
8511 if test x"$lt_prog_compiler_static_works" = xyes; then
8512     :
8513 else
8514     lt_prog_compiler_static=
8515 fi
8516
8517
8518
8519
8520
8521
8522
8523   { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8524 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
8525 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8526   echo $ECHO_N "(cached) $ECHO_C" >&6
8527 else
8528   lt_cv_prog_compiler_c_o=no
8529    $RM -r conftest 2>/dev/null
8530    mkdir conftest
8531    cd conftest
8532    mkdir out
8533    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8534
8535    lt_compiler_flag="-o out/conftest2.$ac_objext"
8536    # Insert the option either (1) after the last *FLAGS variable, or
8537    # (2) before a word containing "conftest.", or (3) at the end.
8538    # Note that $ac_compile itself does not contain backslashes and begins
8539    # with a dollar sign (not a hyphen), so the echo should work correctly.
8540    lt_compile=`echo "$ac_compile" | $SED \
8541    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8542    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8543    -e 's:$: $lt_compiler_flag:'`
8544    (eval echo "\"\$as_me:8544: $lt_compile\"" >&5)
8545    (eval "$lt_compile" 2>out/conftest.err)
8546    ac_status=$?
8547    cat out/conftest.err >&5
8548    echo "$as_me:8548: \$? = $ac_status" >&5
8549    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8550    then
8551      # The compiler can only warn and ignore the option if not recognized
8552      # So say no if there are warnings
8553      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8554      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8555      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8556        lt_cv_prog_compiler_c_o=yes
8557      fi
8558    fi
8559    chmod u+w . 2>&5
8560    $RM conftest*
8561    # SGI C++ compiler will create directory out/ii_files/ for
8562    # template instantiation
8563    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8564    $RM out/* && rmdir out
8565    cd ..
8566    $RM -r conftest
8567    $RM conftest*
8568
8569 fi
8570 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8571 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
8572
8573
8574
8575
8576
8577
8578   { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8579 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
8580 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8581   echo $ECHO_N "(cached) $ECHO_C" >&6
8582 else
8583   lt_cv_prog_compiler_c_o=no
8584    $RM -r conftest 2>/dev/null
8585    mkdir conftest
8586    cd conftest
8587    mkdir out
8588    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8589
8590    lt_compiler_flag="-o out/conftest2.$ac_objext"
8591    # Insert the option either (1) after the last *FLAGS variable, or
8592    # (2) before a word containing "conftest.", or (3) at the end.
8593    # Note that $ac_compile itself does not contain backslashes and begins
8594    # with a dollar sign (not a hyphen), so the echo should work correctly.
8595    lt_compile=`echo "$ac_compile" | $SED \
8596    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8597    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8598    -e 's:$: $lt_compiler_flag:'`
8599    (eval echo "\"\$as_me:8599: $lt_compile\"" >&5)
8600    (eval "$lt_compile" 2>out/conftest.err)
8601    ac_status=$?
8602    cat out/conftest.err >&5
8603    echo "$as_me:8603: \$? = $ac_status" >&5
8604    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8605    then
8606      # The compiler can only warn and ignore the option if not recognized
8607      # So say no if there are warnings
8608      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8609      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8610      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8611        lt_cv_prog_compiler_c_o=yes
8612      fi
8613    fi
8614    chmod u+w . 2>&5
8615    $RM conftest*
8616    # SGI C++ compiler will create directory out/ii_files/ for
8617    # template instantiation
8618    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8619    $RM out/* && rmdir out
8620    cd ..
8621    $RM -r conftest
8622    $RM conftest*
8623
8624 fi
8625 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8626 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
8627
8628
8629
8630
8631 hard_links="nottested"
8632 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8633   # do not overwrite the value of need_locks provided by the user
8634   { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
8635 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
8636   hard_links=yes
8637   $RM conftest*
8638   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8639   touch conftest.a
8640   ln conftest.a conftest.b 2>&5 || hard_links=no
8641   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8642   { echo "$as_me:$LINENO: result: $hard_links" >&5
8643 echo "${ECHO_T}$hard_links" >&6; }
8644   if test "$hard_links" = no; then
8645     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8646 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8647     need_locks=warn
8648   fi
8649 else
8650   need_locks=no
8651 fi
8652
8653
8654
8655
8656
8657
8658   { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8659 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
8660
8661   runpath_var=
8662   allow_undefined_flag=
8663   always_export_symbols=no
8664   archive_cmds=
8665   archive_expsym_cmds=
8666   compiler_needs_object=no
8667   enable_shared_with_static_runtimes=no
8668   export_dynamic_flag_spec=
8669   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8670   hardcode_automatic=no
8671   hardcode_direct=no
8672   hardcode_direct_absolute=no
8673   hardcode_libdir_flag_spec=
8674   hardcode_libdir_flag_spec_ld=
8675   hardcode_libdir_separator=
8676   hardcode_minus_L=no
8677   hardcode_shlibpath_var=unsupported
8678   inherit_rpath=no
8679   link_all_deplibs=unknown
8680   module_cmds=
8681   module_expsym_cmds=
8682   old_archive_from_new_cmds=
8683   old_archive_from_expsyms_cmds=
8684   thread_safe_flag_spec=
8685   whole_archive_flag_spec=
8686   # include_expsyms should be a list of space-separated symbols to be *always*
8687   # included in the symbol list
8688   include_expsyms=
8689   # exclude_expsyms can be an extended regexp of symbols to exclude
8690   # it will be wrapped by ` (' and `)$', so one must not match beginning or
8691   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8692   # as well as any symbol that contains `d'.
8693   exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
8694   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8695   # platforms (ab)use it in PIC code, but their linkers get confused if
8696   # the symbol is explicitly referenced.  Since portable code cannot
8697   # rely on this symbol name, it's probably fine to never include it in
8698   # preloaded symbol tables.
8699   extract_expsyms_cmds=
8700
8701   case $host_os in
8702   cygwin* | mingw* | pw32*)
8703     # FIXME: the MSVC++ port hasn't been tested in a loooong time
8704     # When not using gcc, we currently assume that we are using
8705     # Microsoft Visual C++.
8706     if test "$GCC" != yes; then
8707       with_gnu_ld=no
8708     fi
8709     ;;
8710   interix*)
8711     # we just hope/assume this is gcc and not c89 (= MSVC++)
8712     with_gnu_ld=yes
8713     ;;
8714   openbsd*)
8715     with_gnu_ld=no
8716     ;;
8717   esac
8718
8719   ld_shlibs=yes
8720   if test "$with_gnu_ld" = yes; then
8721     # If archive_cmds runs LD, not CC, wlarc should be empty
8722     wlarc='${wl}'
8723
8724     # Set some defaults for GNU ld with shared library support. These
8725     # are reset later if shared libraries are not supported. Putting them
8726     # here allows them to be overridden if necessary.
8727     runpath_var=LD_RUN_PATH
8728     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8729     export_dynamic_flag_spec='${wl}--export-dynamic'
8730     # ancient GNU ld didn't support --whole-archive et. al.
8731     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8732       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8733     else
8734       whole_archive_flag_spec=
8735     fi
8736     supports_anon_versioning=no
8737     case `$LD -v 2>&1` in
8738       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8739       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8740       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8741       *\ 2.11.*) ;; # other 2.11 versions
8742       *) supports_anon_versioning=yes ;;
8743     esac
8744
8745     # See if GNU ld supports shared libraries.
8746     case $host_os in
8747     aix3* | aix4* | aix5*)
8748       # On AIX/PPC, the GNU linker is very broken
8749       if test "$host_cpu" != ia64; then
8750         ld_shlibs=no
8751         cat <<_LT_EOF 1>&2
8752
8753 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8754 *** to be unable to reliably create shared libraries on AIX.
8755 *** Therefore, libtool is disabling shared libraries support.  If you
8756 *** really care for shared libraries, you may want to modify your PATH
8757 *** so that a non-GNU linker is found, and then restart.
8758
8759 _LT_EOF
8760       fi
8761       ;;
8762
8763     amigaos*)
8764       if test "$host_cpu" = m68k; then
8765         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)'
8766         hardcode_libdir_flag_spec='-L$libdir'
8767         hardcode_minus_L=yes
8768       fi
8769
8770       # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
8771       # that the semantics of dynamic libraries on AmigaOS, at least up
8772       # to version 4, is to share data among multiple programs linked
8773       # with the same dynamic library.  Since this doesn't match the
8774       # behavior of shared libraries on other platforms, we can't use
8775       # them.
8776       ld_shlibs=no
8777       ;;
8778
8779     beos*)
8780       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8781         allow_undefined_flag=unsupported
8782         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8783         # support --undefined.  This deserves some investigation.  FIXME
8784         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8785       else
8786         ld_shlibs=no
8787       fi
8788       ;;
8789
8790     cygwin* | mingw* | pw32*)
8791       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8792       # as there is no search path for DLLs.
8793       hardcode_libdir_flag_spec='-L$libdir'
8794       allow_undefined_flag=unsupported
8795       always_export_symbols=no
8796       enable_shared_with_static_runtimes=yes
8797       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8798
8799       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8800         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8801         # If the export-symbols file already is a .def file (1st line
8802         # is EXPORTS), use it as is; otherwise, prepend...
8803         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8804           cp $export_symbols $output_objdir/$soname.def;
8805         else
8806           echo EXPORTS > $output_objdir/$soname.def;
8807           cat $export_symbols >> $output_objdir/$soname.def;
8808         fi~
8809         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8810       else
8811         ld_shlibs=no
8812       fi
8813       ;;
8814
8815     interix[3-9]*)
8816       hardcode_direct=no
8817       hardcode_shlibpath_var=no
8818       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8819       export_dynamic_flag_spec='${wl}-E'
8820       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8821       # Instead, shared libraries are loaded at an image base (0x10000000 by
8822       # default) and relocated if they conflict, which is a slow very memory
8823       # consuming and fragmenting process.  To avoid this, we pick a random,
8824       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8825       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
8826       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8827       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'
8828       ;;
8829
8830     gnu* | linux* | tpf* | k*bsd*-gnu)
8831       tmp_diet=no
8832       if test "$host_os" = linux-dietlibc; then
8833         case $cc_basename in
8834           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
8835         esac
8836       fi
8837       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8838          && test "$tmp_diet" = no
8839       then
8840         tmp_addflag=
8841         case $cc_basename,$host_cpu in
8842         pgcc*)                          # Portland Group C compiler
8843           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'
8844           tmp_addflag=' $pic_flag'
8845           ;;
8846         pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
8847           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'
8848           tmp_addflag=' $pic_flag -Mnomain' ;;
8849         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
8850           tmp_addflag=' -i_dynamic' ;;
8851         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
8852           tmp_addflag=' -i_dynamic -nofor_main' ;;
8853         ifc* | ifort*)                  # Intel Fortran compiler
8854           tmp_addflag=' -nofor_main' ;;
8855         esac
8856         case `$CC -V 2>&1 | sed 5q` in
8857         *Sun\ C*)                       # Sun C 5.9
8858           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'
8859           compiler_needs_object=yes
8860           tmp_sharedflag='-G' ;;
8861         *Sun\ F*)                       # Sun Fortran 8.3
8862           tmp_sharedflag='-G' ;;
8863         *)
8864           tmp_sharedflag='-shared' ;;
8865         esac
8866         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8867
8868         if test "x$supports_anon_versioning" = xyes; then
8869           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8870             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8871             echo "local: *; };" >> $output_objdir/$libname.ver~
8872             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8873         fi
8874       else
8875         ld_shlibs=no
8876       fi
8877       ;;
8878
8879     netbsd*)
8880       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8881         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8882         wlarc=
8883       else
8884         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8885         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8886       fi
8887       ;;
8888
8889     solaris*)
8890       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8891         ld_shlibs=no
8892         cat <<_LT_EOF 1>&2
8893
8894 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8895 *** create shared libraries on Solaris systems.  Therefore, libtool
8896 *** is disabling shared libraries support.  We urge you to upgrade GNU
8897 *** binutils to release 2.9.1 or newer.  Another option is to modify
8898 *** your PATH or compiler configuration so that the native linker is
8899 *** used, and then restart.
8900
8901 _LT_EOF
8902       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8903         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8904         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8905       else
8906         ld_shlibs=no
8907       fi
8908       ;;
8909
8910     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8911       case `$LD -v 2>&1` in
8912         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8913         ld_shlibs=no
8914         cat <<_LT_EOF 1>&2
8915
8916 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8917 *** reliably create shared libraries on SCO systems.  Therefore, libtool
8918 *** is disabling shared libraries support.  We urge you to upgrade GNU
8919 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
8920 *** your PATH or compiler configuration so that the native linker is
8921 *** used, and then restart.
8922
8923 _LT_EOF
8924         ;;
8925         *)
8926           # For security reasons, it is highly recommended that you always
8927           # use absolute paths for naming shared libraries, and exclude the
8928           # DT_RUNPATH tag from executables and libraries.  But doing so
8929           # requires that you compile everything twice, which is a pain.
8930           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8931             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8932             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8933             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8934           else
8935             ld_shlibs=no
8936           fi
8937         ;;
8938       esac
8939       ;;
8940
8941     sunos4*)
8942       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8943       wlarc=
8944       hardcode_direct=yes
8945       hardcode_shlibpath_var=no
8946       ;;
8947
8948     *)
8949       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8950         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8951         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8952       else
8953         ld_shlibs=no
8954       fi
8955       ;;
8956     esac
8957
8958     if test "$ld_shlibs" = no; then
8959       runpath_var=
8960       hardcode_libdir_flag_spec=
8961       export_dynamic_flag_spec=
8962       whole_archive_flag_spec=
8963     fi
8964   else
8965     # PORTME fill in a description of your system's linker (not GNU ld)
8966     case $host_os in
8967     aix3*)
8968       allow_undefined_flag=unsupported
8969       always_export_symbols=yes
8970       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'
8971       # Note: this linker hardcodes the directories in LIBPATH if there
8972       # are no directories specified by -L.
8973       hardcode_minus_L=yes
8974       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8975         # Neither direct hardcoding nor static linking is supported with a
8976         # broken collect2.
8977         hardcode_direct=unsupported
8978       fi
8979       ;;
8980
8981     aix4* | aix5*)
8982       if test "$host_cpu" = ia64; then
8983         # On IA64, the linker does run time linking by default, so we don't
8984         # have to do anything special.
8985         aix_use_runtimelinking=no
8986         exp_sym_flag='-Bexport'
8987         no_entry_flag=""
8988       else
8989         # If we're using GNU nm, then we don't want the "-C" option.
8990         # -C means demangle to AIX nm, but means don't demangle with GNU nm
8991         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8992           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'
8993         else
8994           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'
8995         fi
8996         aix_use_runtimelinking=no
8997
8998         # Test if we are trying to use run time linking or normal
8999         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9000         # need to do runtime linking.
9001         case $host_os in aix4.[23]|aix4.[23].*|aix5*)
9002           for ld_flag in $LDFLAGS; do
9003           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9004             aix_use_runtimelinking=yes
9005             break
9006           fi
9007           done
9008           ;;
9009         esac
9010
9011         exp_sym_flag='-bexport'
9012         no_entry_flag='-bnoentry'
9013       fi
9014
9015       # When large executables or shared objects are built, AIX ld can
9016       # have problems creating the table of contents.  If linking a library
9017       # or program results in "error TOC overflow" add -mminimal-toc to
9018       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9019       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9020
9021       archive_cmds=''
9022       hardcode_direct=yes
9023       hardcode_direct_absolute=yes
9024       hardcode_libdir_separator=':'
9025       link_all_deplibs=yes
9026       file_list_spec='${wl}-f,'
9027
9028       if test "$GCC" = yes; then
9029         case $host_os in aix4.[012]|aix4.[012].*)
9030         # We only want to do this on AIX 4.2 and lower, the check
9031         # below for broken collect2 doesn't work under 4.3+
9032           collect2name=`${CC} -print-prog-name=collect2`
9033           if test -f "$collect2name" &&
9034            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9035           then
9036           # We have reworked collect2
9037           :
9038           else
9039           # We have old collect2
9040           hardcode_direct=unsupported
9041           # It fails to find uninstalled libraries when the uninstalled
9042           # path is not listed in the libpath.  Setting hardcode_minus_L
9043           # to unsupported forces relinking
9044           hardcode_minus_L=yes
9045           hardcode_libdir_flag_spec='-L$libdir'
9046           hardcode_libdir_separator=
9047           fi
9048           ;;
9049         esac
9050         shared_flag='-shared'
9051         if test "$aix_use_runtimelinking" = yes; then
9052           shared_flag="$shared_flag "'${wl}-G'
9053         fi
9054       else
9055         # not using gcc
9056         if test "$host_cpu" = ia64; then
9057         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9058         # chokes on -Wl,-G. The following line is correct:
9059           shared_flag='-G'
9060         else
9061           if test "$aix_use_runtimelinking" = yes; then
9062             shared_flag='${wl}-G'
9063           else
9064             shared_flag='${wl}-bM:SRE'
9065           fi
9066         fi
9067       fi
9068
9069       # It seems that -bexpall does not export symbols beginning with
9070       # underscore (_), so it is better to generate a list of symbols to export.
9071       always_export_symbols=yes
9072       if test "$aix_use_runtimelinking" = yes; then
9073         # Warning - without using the other runtime loading flags (-brtl),
9074         # -berok will link without error, but may produce a broken library.
9075         allow_undefined_flag='-berok'
9076         # Determine the default libpath from the value encoded in an
9077         # empty executable.
9078         if test x$gcc_no_link = xyes; then
9079   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9080 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9081    { (exit 1); exit 1; }; }
9082 fi
9083 cat >conftest.$ac_ext <<_ACEOF
9084 /* confdefs.h.  */
9085 _ACEOF
9086 cat confdefs.h >>conftest.$ac_ext
9087 cat >>conftest.$ac_ext <<_ACEOF
9088 /* end confdefs.h.  */
9089
9090 int
9091 main ()
9092 {
9093
9094   ;
9095   return 0;
9096 }
9097 _ACEOF
9098 rm -f conftest.$ac_objext conftest$ac_exeext
9099 if { (ac_try="$ac_link"
9100 case "(($ac_try" in
9101   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9102   *) ac_try_echo=$ac_try;;
9103 esac
9104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9105   (eval "$ac_link") 2>conftest.er1
9106   ac_status=$?
9107   grep -v '^ *+' conftest.er1 >conftest.err
9108   rm -f conftest.er1
9109   cat conftest.err >&5
9110   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9111   (exit $ac_status); } && {
9112          test -z "$ac_c_werror_flag" ||
9113          test ! -s conftest.err
9114        } && test -s conftest$ac_exeext &&
9115        $as_test_x conftest$ac_exeext; then
9116
9117 lt_aix_libpath_sed='
9118     /Import File Strings/,/^$/ {
9119         /^0/ {
9120             s/^0  *\(.*\)$/\1/
9121             p
9122         }
9123     }'
9124 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9125 # Check for a 64-bit object if we didn't find anything.
9126 if test -z "$aix_libpath"; then
9127   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9128 fi
9129 else
9130   echo "$as_me: failed program was:" >&5
9131 sed 's/^/| /' conftest.$ac_ext >&5
9132
9133
9134 fi
9135
9136 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9137       conftest$ac_exeext conftest.$ac_ext
9138 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9139
9140         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9141         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"
9142       else
9143         if test "$host_cpu" = ia64; then
9144           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9145           allow_undefined_flag="-z nodefs"
9146           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"
9147         else
9148          # Determine the default libpath from the value encoded in an
9149          # empty executable.
9150          if test x$gcc_no_link = xyes; then
9151   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9152 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9153    { (exit 1); exit 1; }; }
9154 fi
9155 cat >conftest.$ac_ext <<_ACEOF
9156 /* confdefs.h.  */
9157 _ACEOF
9158 cat confdefs.h >>conftest.$ac_ext
9159 cat >>conftest.$ac_ext <<_ACEOF
9160 /* end confdefs.h.  */
9161
9162 int
9163 main ()
9164 {
9165
9166   ;
9167   return 0;
9168 }
9169 _ACEOF
9170 rm -f conftest.$ac_objext conftest$ac_exeext
9171 if { (ac_try="$ac_link"
9172 case "(($ac_try" in
9173   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9174   *) ac_try_echo=$ac_try;;
9175 esac
9176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9177   (eval "$ac_link") 2>conftest.er1
9178   ac_status=$?
9179   grep -v '^ *+' conftest.er1 >conftest.err
9180   rm -f conftest.er1
9181   cat conftest.err >&5
9182   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9183   (exit $ac_status); } && {
9184          test -z "$ac_c_werror_flag" ||
9185          test ! -s conftest.err
9186        } && test -s conftest$ac_exeext &&
9187        $as_test_x conftest$ac_exeext; then
9188
9189 lt_aix_libpath_sed='
9190     /Import File Strings/,/^$/ {
9191         /^0/ {
9192             s/^0  *\(.*\)$/\1/
9193             p
9194         }
9195     }'
9196 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9197 # Check for a 64-bit object if we didn't find anything.
9198 if test -z "$aix_libpath"; then
9199   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9200 fi
9201 else
9202   echo "$as_me: failed program was:" >&5
9203 sed 's/^/| /' conftest.$ac_ext >&5
9204
9205
9206 fi
9207
9208 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9209       conftest$ac_exeext conftest.$ac_ext
9210 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9211
9212          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9213           # Warning - without using the other run time loading flags,
9214           # -berok will link without error, but may produce a broken library.
9215           no_undefined_flag=' ${wl}-bernotok'
9216           allow_undefined_flag=' ${wl}-berok'
9217           # Exported symbols can be pulled into shared objects from archives
9218           whole_archive_flag_spec='$convenience'
9219           archive_cmds_need_lc=yes
9220           # This is similar to how AIX traditionally builds its shared libraries.
9221           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'
9222         fi
9223       fi
9224       ;;
9225
9226     amigaos*)
9227       if test "$host_cpu" = m68k; then
9228         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)'
9229         hardcode_libdir_flag_spec='-L$libdir'
9230         hardcode_minus_L=yes
9231       fi
9232       # see comment about different semantics on the GNU ld section
9233       ld_shlibs=no
9234       ;;
9235
9236     bsdi[45]*)
9237       export_dynamic_flag_spec=-rdynamic
9238       ;;
9239
9240     cygwin* | mingw* | pw32*)
9241       # When not using gcc, we currently assume that we are using
9242       # Microsoft Visual C++.
9243       # hardcode_libdir_flag_spec is actually meaningless, as there is
9244       # no search path for DLLs.
9245       hardcode_libdir_flag_spec=' '
9246       allow_undefined_flag=unsupported
9247       # Tell ltmain to make .lib files, not .a files.
9248       libext=lib
9249       # Tell ltmain to make .dll files, not .so files.
9250       shrext_cmds=".dll"
9251       # FIXME: Setting linknames here is a bad hack.
9252       archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9253       # The linker will automatically build a .lib file if we build a DLL.
9254       old_archive_from_new_cmds='true'
9255       # FIXME: Should let the user specify the lib program.
9256       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9257       fix_srcfile_path='`cygpath -w "$srcfile"`'
9258       enable_shared_with_static_runtimes=yes
9259       ;;
9260
9261     darwin* | rhapsody*)
9262       case $host_os in
9263       rhapsody* | darwin1.[012])
9264         allow_undefined_flag='${wl}-undefined ${wl}suppress'
9265         ;;
9266       *) # Darwin 1.3 on
9267         case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
9268         10.[012])
9269           allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
9270           ;;
9271         10.*)
9272           allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
9273           ;;
9274         esac
9275         ;;
9276       esac
9277       archive_cmds_need_lc=no
9278       hardcode_direct=no
9279       hardcode_automatic=yes
9280       hardcode_shlibpath_var=unsupported
9281       whole_archive_flag_spec=''
9282       link_all_deplibs=yes
9283       if test "$GCC" = yes ; then
9284         if test "${lt_cv_apple_cc_single_mod+set}" = set; then
9285   echo $ECHO_N "(cached) $ECHO_C" >&6
9286 else
9287   lt_cv_apple_cc_single_mod=no
9288         if test -z "${LT_MULTI_MODULE}"; then
9289           # By default we will add the -single_module flag. You can override
9290           # by either setting the environment variable LT_MULTI_MODULE
9291           # non-empty at configure time, or by adding -multi-module to the
9292           # link flags.
9293           echo "int foo(void){return 1;}" > conftest.c
9294           $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9295               -dynamiclib ${wl}-single_module conftest.c
9296           if test -f libconftest.dylib; then
9297               lt_cv_apple_cc_single_mod=yes
9298               rm libconftest.dylib
9299           fi
9300           rm conftest.$ac_ext
9301         fi
9302 fi
9303
9304         output_verbose_link_cmd=echo
9305         if test "X$lt_cv_apple_cc_single_mod" = Xyes ; then
9306           archive_cmds='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
9307           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}'
9308         else
9309           archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
9310           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}'
9311         fi
9312         module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
9313         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}'
9314       else
9315         case $cc_basename in
9316         xlc*)
9317           output_verbose_link_cmd=echo
9318           archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO $rpath/$soname` $verstring'
9319           module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
9320           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
9321           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}'
9322           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}'
9323           ;;
9324         *)
9325           ld_shlibs=no
9326           ;;
9327         esac
9328       fi
9329       ;;
9330
9331     dgux*)
9332       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9333       hardcode_libdir_flag_spec='-L$libdir'
9334       hardcode_shlibpath_var=no
9335       ;;
9336
9337     freebsd1*)
9338       ld_shlibs=no
9339       ;;
9340
9341     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9342     # support.  Future versions do this automatically, but an explicit c++rt0.o
9343     # does not break anything, and helps significantly (at the cost of a little
9344     # extra space).
9345     freebsd2.2*)
9346       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9347       hardcode_libdir_flag_spec='-R$libdir'
9348       hardcode_direct=yes
9349       hardcode_shlibpath_var=no
9350       ;;
9351
9352     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9353     freebsd2*)
9354       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9355       hardcode_direct=yes
9356       hardcode_minus_L=yes
9357       hardcode_shlibpath_var=no
9358       ;;
9359
9360     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9361     freebsd* | dragonfly*)
9362       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9363       hardcode_libdir_flag_spec='-R$libdir'
9364       hardcode_direct=yes
9365       hardcode_shlibpath_var=no
9366       ;;
9367
9368     hpux9*)
9369       if test "$GCC" = yes; then
9370         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'
9371       else
9372         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'
9373       fi
9374       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9375       hardcode_libdir_separator=:
9376       hardcode_direct=yes
9377
9378       # hardcode_minus_L: Not really in the search PATH,
9379       # but as the default location of the library.
9380       hardcode_minus_L=yes
9381       export_dynamic_flag_spec='${wl}-E'
9382       ;;
9383
9384     hpux10*)
9385       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9386         archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9387       else
9388         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9389       fi
9390       if test "$with_gnu_ld" = no; then
9391         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9392         hardcode_libdir_flag_spec_ld='+b $libdir'
9393         hardcode_libdir_separator=:
9394         hardcode_direct=yes
9395         hardcode_direct_absolute=yes
9396         export_dynamic_flag_spec='${wl}-E'
9397         # hardcode_minus_L: Not really in the search PATH,
9398         # but as the default location of the library.
9399         hardcode_minus_L=yes
9400       fi
9401       ;;
9402
9403     hpux11*)
9404       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9405         case $host_cpu in
9406         hppa*64*)
9407           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9408           ;;
9409         ia64*)
9410           archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9411           ;;
9412         *)
9413           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9414           ;;
9415         esac
9416       else
9417         case $host_cpu in
9418         hppa*64*)
9419           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9420           ;;
9421         ia64*)
9422           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9423           ;;
9424         *)
9425           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9426           ;;
9427         esac
9428       fi
9429       if test "$with_gnu_ld" = no; then
9430         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9431         hardcode_libdir_separator=:
9432
9433         case $host_cpu in
9434         hppa*64*|ia64*)
9435           hardcode_direct=no
9436           hardcode_shlibpath_var=no
9437           ;;
9438         *)
9439           hardcode_direct=yes
9440           hardcode_direct_absolute=yes
9441           export_dynamic_flag_spec='${wl}-E'
9442
9443           # hardcode_minus_L: Not really in the search PATH,
9444           # but as the default location of the library.
9445           hardcode_minus_L=yes
9446           ;;
9447         esac
9448       fi
9449       ;;
9450
9451     irix5* | irix6* | nonstopux*)
9452       if test "$GCC" = yes; then
9453         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'
9454         # Try to use the -exported_symbol ld option, if it does not
9455         # work, assume that -exports_file does not work either and
9456         # implicitly export all symbols.
9457         save_LDFLAGS="$LDFLAGS"
9458         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9459         if test x$gcc_no_link = xyes; then
9460   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9461 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9462    { (exit 1); exit 1; }; }
9463 fi
9464 cat >conftest.$ac_ext <<_ACEOF
9465 int foo(void) {}
9466 _ACEOF
9467 rm -f conftest.$ac_objext conftest$ac_exeext
9468 if { (ac_try="$ac_link"
9469 case "(($ac_try" in
9470   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9471   *) ac_try_echo=$ac_try;;
9472 esac
9473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9474   (eval "$ac_link") 2>conftest.er1
9475   ac_status=$?
9476   grep -v '^ *+' conftest.er1 >conftest.err
9477   rm -f conftest.er1
9478   cat conftest.err >&5
9479   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9480   (exit $ac_status); } && {
9481          test -z "$ac_c_werror_flag" ||
9482          test ! -s conftest.err
9483        } && test -s conftest$ac_exeext &&
9484        $as_test_x conftest$ac_exeext; then
9485   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'
9486
9487 else
9488   echo "$as_me: failed program was:" >&5
9489 sed 's/^/| /' conftest.$ac_ext >&5
9490
9491
9492 fi
9493
9494 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9495       conftest$ac_exeext conftest.$ac_ext
9496         LDFLAGS="$save_LDFLAGS"
9497       else
9498         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'
9499         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'
9500       fi
9501       archive_cmds_need_lc='no'
9502       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9503       hardcode_libdir_separator=:
9504       inherit_rpath=yes
9505       link_all_deplibs=yes
9506       ;;
9507
9508     netbsd*)
9509       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9510         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9511       else
9512         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9513       fi
9514       hardcode_libdir_flag_spec='-R$libdir'
9515       hardcode_direct=yes
9516       hardcode_shlibpath_var=no
9517       ;;
9518
9519     newsos6)
9520       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9521       hardcode_direct=yes
9522       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9523       hardcode_libdir_separator=:
9524       hardcode_shlibpath_var=no
9525       ;;
9526
9527     *nto* | *qnx*)
9528       ;;
9529
9530     openbsd*)
9531       hardcode_direct=yes
9532       hardcode_shlibpath_var=no
9533       hardcode_direct_absolute=yes
9534       if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9535         archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9536         archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9537         hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9538         export_dynamic_flag_spec='${wl}-E'
9539       else
9540         case $host_os in
9541         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9542           archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9543           hardcode_libdir_flag_spec='-R$libdir'
9544           ;;
9545         *)
9546           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9547           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9548           ;;
9549         esac
9550       fi
9551       ;;
9552
9553     os2*)
9554       hardcode_libdir_flag_spec='-L$libdir'
9555       hardcode_minus_L=yes
9556       allow_undefined_flag=unsupported
9557       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'
9558       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9559       ;;
9560
9561     osf3*)
9562       if test "$GCC" = yes; then
9563         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9564         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'
9565       else
9566         allow_undefined_flag=' -expect_unresolved \*'
9567         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'
9568       fi
9569       archive_cmds_need_lc='no'
9570       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9571       hardcode_libdir_separator=:
9572       ;;
9573
9574     osf4* | osf5*)      # as osf3* with the addition of -msym flag
9575       if test "$GCC" = yes; then
9576         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9577         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'
9578         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9579       else
9580         allow_undefined_flag=' -expect_unresolved \*'
9581         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'
9582         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~
9583         $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'
9584
9585         # Both c and cxx compiler support -rpath directly
9586         hardcode_libdir_flag_spec='-rpath $libdir'
9587       fi
9588       archive_cmds_need_lc='no'
9589       hardcode_libdir_separator=:
9590       ;;
9591
9592     solaris*)
9593       no_undefined_flag=' -z defs'
9594       if test "$GCC" = yes; then
9595         wlarc='${wl}'
9596         archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9597         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9598           $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9599       else
9600         case `$CC -V 2>&1` in
9601         *"Compilers 5.0"*)
9602           wlarc=''
9603           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9604           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9605           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9606           ;;
9607         *)
9608           wlarc='${wl}'
9609           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9610           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9611           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9612           ;;
9613         esac
9614       fi
9615       hardcode_libdir_flag_spec='-R$libdir'
9616       hardcode_shlibpath_var=no
9617       case $host_os in
9618       solaris2.[0-5] | solaris2.[0-5].*) ;;
9619       *)
9620         # The compiler driver will combine and reorder linker options,
9621         # but understands `-z linker_flag'.  GCC discards it without `$wl',
9622         # but is careful enough not to reorder.
9623         # Supported since Solaris 2.6 (maybe 2.5.1?)
9624         if test "$GCC" = yes; then
9625           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9626         else
9627           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9628         fi
9629         ;;
9630       esac
9631       link_all_deplibs=yes
9632       ;;
9633
9634     sunos4*)
9635       if test "x$host_vendor" = xsequent; then
9636         # Use $CC to link under sequent, because it throws in some extra .o
9637         # files that make .init and .fini sections work.
9638         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9639       else
9640         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9641       fi
9642       hardcode_libdir_flag_spec='-L$libdir'
9643       hardcode_direct=yes
9644       hardcode_minus_L=yes
9645       hardcode_shlibpath_var=no
9646       ;;
9647
9648     sysv4)
9649       case $host_vendor in
9650         sni)
9651           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9652           hardcode_direct=yes # is this really true???
9653         ;;
9654         siemens)
9655           ## LD is ld it makes a PLAMLIB
9656           ## CC just makes a GrossModule.
9657           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9658           reload_cmds='$CC -r -o $output$reload_objs'
9659           hardcode_direct=no
9660         ;;
9661         motorola)
9662           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9663           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9664         ;;
9665       esac
9666       runpath_var='LD_RUN_PATH'
9667       hardcode_shlibpath_var=no
9668       ;;
9669
9670     sysv4.3*)
9671       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9672       hardcode_shlibpath_var=no
9673       export_dynamic_flag_spec='-Bexport'
9674       ;;
9675
9676     sysv4*MP*)
9677       if test -d /usr/nec; then
9678         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9679         hardcode_shlibpath_var=no
9680         runpath_var=LD_RUN_PATH
9681         hardcode_runpath_var=yes
9682         ld_shlibs=yes
9683       fi
9684       ;;
9685
9686     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9687       no_undefined_flag='${wl}-z,text'
9688       archive_cmds_need_lc=no
9689       hardcode_shlibpath_var=no
9690       runpath_var='LD_RUN_PATH'
9691
9692       if test "$GCC" = yes; then
9693         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9694         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9695       else
9696         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9697         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9698       fi
9699       ;;
9700
9701     sysv5* | sco3.2v5* | sco5v6*)
9702       # Note: We can NOT use -z defs as we might desire, because we do not
9703       # link with -lc, and that would cause any symbols used from libc to
9704       # always be unresolved, which means just about no library would
9705       # ever link correctly.  If we're not using GNU ld we use -z text
9706       # though, which does catch some bad symbols but isn't as heavy-handed
9707       # as -z defs.
9708       no_undefined_flag='${wl}-z,text'
9709       allow_undefined_flag='${wl}-z,nodefs'
9710       archive_cmds_need_lc=no
9711       hardcode_shlibpath_var=no
9712       hardcode_libdir_flag_spec='${wl}-R,$libdir'
9713       hardcode_libdir_separator=':'
9714       link_all_deplibs=yes
9715       export_dynamic_flag_spec='${wl}-Bexport'
9716       runpath_var='LD_RUN_PATH'
9717
9718       if test "$GCC" = yes; then
9719         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9720         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9721       else
9722         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9723         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9724       fi
9725       ;;
9726
9727     uts4*)
9728       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9729       hardcode_libdir_flag_spec='-L$libdir'
9730       hardcode_shlibpath_var=no
9731       ;;
9732
9733     *)
9734       ld_shlibs=no
9735       ;;
9736     esac
9737
9738     if test x$host_vendor = xsni; then
9739       case $host in
9740       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9741         export_dynamic_flag_spec='${wl}-Blargedynsym'
9742         ;;
9743       esac
9744     fi
9745   fi
9746
9747 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
9748 echo "${ECHO_T}$ld_shlibs" >&6; }
9749 test "$ld_shlibs" = no && can_build_shared=no
9750
9751 with_gnu_ld=$with_gnu_ld
9752
9753
9754
9755
9756
9757
9758
9759
9760
9761
9762
9763
9764
9765
9766
9767 #
9768 # Do we need to explicitly link libc?
9769 #
9770 case "x$archive_cmds_need_lc" in
9771 x|xyes)
9772   # Assume -lc should be added
9773   archive_cmds_need_lc=yes
9774
9775   if test "$enable_shared" = yes && test "$GCC" = yes; then
9776     case $archive_cmds in
9777     *'~'*)
9778       # FIXME: we may have to deal with multi-command sequences.
9779       ;;
9780     '$CC '*)
9781       # Test whether the compiler implicitly links with -lc since on some
9782       # systems, -lgcc has to come before -lc. If gcc already passes -lc
9783       # to ld, don't add -lc before -lgcc.
9784       { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9785 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
9786       $RM conftest*
9787       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9788
9789       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9790   (eval $ac_compile) 2>&5
9791   ac_status=$?
9792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9793   (exit $ac_status); } 2>conftest.err; then
9794         soname=conftest
9795         lib=conftest
9796         libobjs=conftest.$ac_objext
9797         deplibs=
9798         wl=$lt_prog_compiler_wl
9799         pic_flag=$lt_prog_compiler_pic
9800         compiler_flags=-v
9801         linker_flags=-v
9802         verstring=
9803         output_objdir=.
9804         libname=conftest
9805         lt_save_allow_undefined_flag=$allow_undefined_flag
9806         allow_undefined_flag=
9807         if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
9808   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9809   ac_status=$?
9810   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9811   (exit $ac_status); }
9812         then
9813           archive_cmds_need_lc=no
9814         else
9815           archive_cmds_need_lc=yes
9816         fi
9817         allow_undefined_flag=$lt_save_allow_undefined_flag
9818       else
9819         cat conftest.err 1>&5
9820       fi
9821       $RM conftest*
9822       { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
9823 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
9824       ;;
9825     esac
9826   fi
9827   ;;
9828 esac
9829
9830
9831
9832
9833
9834
9835
9836
9837
9838
9839
9840
9841
9842
9843
9844
9845
9846
9847
9848
9849
9850
9851
9852
9853
9854
9855
9856
9857
9858
9859
9860
9861
9862
9863
9864
9865
9866
9867
9868
9869
9870
9871
9872
9873
9874
9875
9876
9877
9878
9879
9880
9881
9882
9883
9884
9885
9886
9887
9888
9889
9890
9891
9892
9893
9894
9895
9896
9897
9898
9899
9900
9901
9902
9903
9904
9905
9906
9907
9908
9909
9910
9911
9912
9913
9914
9915
9916
9917
9918
9919
9920
9921
9922
9923
9924
9925
9926
9927
9928
9929
9930
9931
9932
9933
9934
9935
9936
9937
9938
9939
9940
9941
9942
9943
9944
9945
9946
9947
9948
9949
9950
9951
9952
9953
9954
9955
9956
9957
9958
9959
9960
9961
9962
9963
9964
9965
9966
9967
9968
9969
9970
9971
9972
9973
9974
9975
9976
9977
9978
9979
9980
9981
9982
9983
9984
9985
9986   { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9987 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
9988 withGCC=$GCC
9989 if test "$withGCC" = yes; then
9990   case $host_os in
9991     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9992     *) lt_awk_arg="/^libraries:/" ;;
9993   esac
9994   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9995   if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9996     # if the path contains ";" then we assume it to be the separator
9997     # otherwise default to the standard path separator (i.e. ":") - it is
9998     # assumed that no part of a normal pathname contains ";" but that should
9999     # okay in the real world where ";" in dirpaths is itself problematic.
10000     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10001   else
10002     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
10003   fi
10004   # Ok, now we have the path, separated by spaces, we can step through it
10005   # and add multilib dir if necessary.
10006   lt_tmp_lt_search_path_spec=
10007   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10008   for lt_sys_path in $lt_search_path_spec; do
10009     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10010       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10011     else
10012       test -d "$lt_sys_path" && \
10013         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10014     fi
10015   done
10016   lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10017 BEGIN {RS=" "; FS="/|\n";} {
10018   lt_foo="";
10019   lt_count=0;
10020   for (lt_i = NF; lt_i > 0; lt_i--) {
10021     if ($lt_i != "" && $lt_i != ".") {
10022       if ($lt_i == "..") {
10023         lt_count++;
10024       } else {
10025         if (lt_count == 0) {
10026           lt_foo="/" $lt_i lt_foo;
10027         } else {
10028           lt_count--;
10029         }
10030       }
10031     }
10032   }
10033   if (lt_foo != "") { lt_freq[lt_foo]++; }
10034   if (lt_freq[lt_foo] == 1) { print lt_foo; }
10035 }'`
10036   sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
10037 else
10038   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10039 fi
10040 library_names_spec=
10041 libname_spec='lib$name'
10042 soname_spec=
10043 shrext_cmds=".so"
10044 postinstall_cmds=
10045 postuninstall_cmds=
10046 finish_cmds=
10047 finish_eval=
10048 shlibpath_var=
10049 shlibpath_overrides_runpath=unknown
10050 version_type=none
10051 dynamic_linker="$host_os ld.so"
10052 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10053 need_lib_prefix=unknown
10054 hardcode_into_libs=no
10055
10056 # when you set need_version to no, make sure it does not cause -set_version
10057 # flags to be left without arguments
10058 need_version=unknown
10059
10060 case $host_os in
10061 aix3*)
10062   version_type=linux
10063   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10064   shlibpath_var=LIBPATH
10065
10066   # AIX 3 has no versioning support, so we append a major version to the name.
10067   soname_spec='${libname}${release}${shared_ext}$major'
10068   ;;
10069
10070 aix4* | aix5*)
10071   version_type=linux
10072   need_lib_prefix=no
10073   need_version=no
10074   hardcode_into_libs=yes
10075   if test "$host_cpu" = ia64; then
10076     # AIX 5 supports IA64
10077     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10078     shlibpath_var=LD_LIBRARY_PATH
10079   else
10080     # With GCC up to 2.95.x, collect2 would create an import file
10081     # for dependence libraries.  The import file would start with
10082     # the line `#! .'.  This would cause the generated library to
10083     # depend on `.', always an invalid library.  This was fixed in
10084     # development snapshots of GCC prior to 3.0.
10085     case $host_os in
10086       aix4 | aix4.[01] | aix4.[01].*)
10087       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10088            echo ' yes '
10089            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10090         :
10091       else
10092         can_build_shared=no
10093       fi
10094       ;;
10095     esac
10096     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10097     # soname into executable. Probably we can add versioning support to
10098     # collect2, so additional links can be useful in future.
10099     if test "$aix_use_runtimelinking" = yes; then
10100       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10101       # instead of lib<name>.a to let people know that these are not
10102       # typical AIX shared libraries.
10103       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10104     else
10105       # We preserve .a as extension for shared libraries through AIX4.2
10106       # and later when we are not doing run time linking.
10107       library_names_spec='${libname}${release}.a $libname.a'
10108       soname_spec='${libname}${release}${shared_ext}$major'
10109     fi
10110     shlibpath_var=LIBPATH
10111   fi
10112   ;;
10113
10114 amigaos*)
10115   if test "$host_cpu" = m68k; then
10116     library_names_spec='$libname.ixlibrary $libname.a'
10117     # Create ${libname}_ixlibrary.a entries in /sys/libs.
10118     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'
10119   else
10120     dynamic_linker=no
10121   fi
10122   ;;
10123
10124 beos*)
10125   library_names_spec='${libname}${shared_ext}'
10126   dynamic_linker="$host_os ld.so"
10127   shlibpath_var=LIBRARY_PATH
10128   ;;
10129
10130 bsdi[45]*)
10131   version_type=linux
10132   need_version=no
10133   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10134   soname_spec='${libname}${release}${shared_ext}$major'
10135   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10136   shlibpath_var=LD_LIBRARY_PATH
10137   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10138   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10139   # the default ld.so.conf also contains /usr/contrib/lib and
10140   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10141   # libtool to hard-code these into programs
10142   ;;
10143
10144 cygwin* | mingw* | pw32*)
10145   version_type=windows
10146   shrext_cmds=".dll"
10147   need_version=no
10148   need_lib_prefix=no
10149
10150   case $withGCC,$host_os in
10151   yes,cygwin* | yes,mingw* | yes,pw32*)
10152     library_names_spec='$libname.dll.a'
10153     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10154     postinstall_cmds='base_file=`basename \${file}`~
10155       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10156       dldir=$destdir/`dirname \$dlpath`~
10157       test -d \$dldir || mkdir -p \$dldir~
10158       $install_prog $dir/$dlname \$dldir/$dlname~
10159       chmod a+x \$dldir/$dlname~
10160       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10161         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10162       fi'
10163     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10164       dlpath=$dir/\$dldll~
10165        $RM \$dlpath'
10166     shlibpath_overrides_runpath=yes
10167
10168     case $host_os in
10169     cygwin*)
10170       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10171       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10172       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
10173       ;;
10174     mingw*)
10175       # MinGW DLLs use traditional 'lib' prefix
10176       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10177       sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10178       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10179         # It is most probably a Windows format PATH printed by
10180         # mingw gcc, but we are running on Cygwin. Gcc prints its search
10181         # path with ; separators, and with drive letters. We can handle the
10182         # drive letters (cygwin fileutils understands them), so leave them,
10183         # especially as we might pass files found there to a mingw objdump,
10184         # which wouldn't understand a cygwinified path. Ahh.
10185         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10186       else
10187         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
10188       fi
10189       ;;
10190     pw32*)
10191       # pw32 DLLs use 'pw' prefix rather than 'lib'
10192       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10193       ;;
10194     esac
10195     ;;
10196
10197   *)
10198     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10199     ;;
10200   esac
10201   dynamic_linker='Win32 ld.exe'
10202   # FIXME: first we should search . and the directory the executable is in
10203   shlibpath_var=PATH
10204   ;;
10205
10206 darwin* | rhapsody*)
10207   dynamic_linker="$host_os dyld"
10208   version_type=darwin
10209   need_lib_prefix=no
10210   need_version=no
10211   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10212   soname_spec='${libname}${release}${major}$shared_ext'
10213   shlibpath_overrides_runpath=yes
10214   shlibpath_var=DYLD_LIBRARY_PATH
10215   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10216
10217   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10218   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10219   ;;
10220
10221 dgux*)
10222   version_type=linux
10223   need_lib_prefix=no
10224   need_version=no
10225   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10226   soname_spec='${libname}${release}${shared_ext}$major'
10227   shlibpath_var=LD_LIBRARY_PATH
10228   ;;
10229
10230 freebsd1*)
10231   dynamic_linker=no
10232   ;;
10233
10234 freebsd* | dragonfly*)
10235   # DragonFly does not have aout.  When/if they implement a new
10236   # versioning mechanism, adjust this.
10237   if test -x /usr/bin/objformat; then
10238     objformat=`/usr/bin/objformat`
10239   else
10240     case $host_os in
10241     freebsd[123]*) objformat=aout ;;
10242     *) objformat=elf ;;
10243     esac
10244   fi
10245   version_type=freebsd-$objformat
10246   case $version_type in
10247     freebsd-elf*)
10248       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10249       need_version=no
10250       need_lib_prefix=no
10251       ;;
10252     freebsd-*)
10253       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10254       need_version=yes
10255       ;;
10256   esac
10257   shlibpath_var=LD_LIBRARY_PATH
10258   case $host_os in
10259   freebsd2*)
10260     shlibpath_overrides_runpath=yes
10261     ;;
10262   freebsd3.[01]* | freebsdelf3.[01]*)
10263     shlibpath_overrides_runpath=yes
10264     hardcode_into_libs=yes
10265     ;;
10266   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10267   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10268     shlibpath_overrides_runpath=no
10269     hardcode_into_libs=yes
10270     ;;
10271   *) # from 4.6 on, and DragonFly
10272     shlibpath_overrides_runpath=yes
10273     hardcode_into_libs=yes
10274     ;;
10275   esac
10276   ;;
10277
10278 gnu*)
10279   version_type=linux
10280   need_lib_prefix=no
10281   need_version=no
10282   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10283   soname_spec='${libname}${release}${shared_ext}$major'
10284   shlibpath_var=LD_LIBRARY_PATH
10285   hardcode_into_libs=yes
10286   ;;
10287
10288 hpux9* | hpux10* | hpux11*)
10289   # Give a soname corresponding to the major version so that dld.sl refuses to
10290   # link against other versions.
10291   version_type=sunos
10292   need_lib_prefix=no
10293   need_version=no
10294   case $host_cpu in
10295   ia64*)
10296     shrext_cmds='.so'
10297     hardcode_into_libs=yes
10298     dynamic_linker="$host_os dld.so"
10299     shlibpath_var=LD_LIBRARY_PATH
10300     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10301     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10302     soname_spec='${libname}${release}${shared_ext}$major'
10303     if test "X$HPUX_IA64_MODE" = X32; then
10304       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10305     else
10306       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10307     fi
10308     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10309     ;;
10310   hppa*64*)
10311     shrext_cmds='.sl'
10312     hardcode_into_libs=yes
10313     dynamic_linker="$host_os dld.sl"
10314     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10315     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10316     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10317     soname_spec='${libname}${release}${shared_ext}$major'
10318     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10319     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10320     ;;
10321   *)
10322     shrext_cmds='.sl'
10323     dynamic_linker="$host_os dld.sl"
10324     shlibpath_var=SHLIB_PATH
10325     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10326     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10327     soname_spec='${libname}${release}${shared_ext}$major'
10328     ;;
10329   esac
10330   # HP-UX runs *really* slowly unless shared libraries are mode 555.
10331   postinstall_cmds='chmod 555 $lib'
10332   ;;
10333
10334 interix[3-9]*)
10335   version_type=linux
10336   need_lib_prefix=no
10337   need_version=no
10338   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10339   soname_spec='${libname}${release}${shared_ext}$major'
10340   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10341   shlibpath_var=LD_LIBRARY_PATH
10342   shlibpath_overrides_runpath=no
10343   hardcode_into_libs=yes
10344   ;;
10345
10346 irix5* | irix6* | nonstopux*)
10347   case $host_os in
10348     nonstopux*) version_type=nonstopux ;;
10349     *)
10350         if test "$lt_cv_prog_gnu_ld" = yes; then
10351                 version_type=linux
10352         else
10353                 version_type=irix
10354         fi ;;
10355   esac
10356   need_lib_prefix=no
10357   need_version=no
10358   soname_spec='${libname}${release}${shared_ext}$major'
10359   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10360   case $host_os in
10361   irix5* | nonstopux*)
10362     libsuff= shlibsuff=
10363     ;;
10364   *)
10365     case $LD in # libtool.m4 will add one of these switches to LD
10366     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10367       libsuff= shlibsuff= libmagic=32-bit;;
10368     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10369       libsuff=32 shlibsuff=N32 libmagic=N32;;
10370     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10371       libsuff=64 shlibsuff=64 libmagic=64-bit;;
10372     *) libsuff= shlibsuff= libmagic=never-match;;
10373     esac
10374     ;;
10375   esac
10376   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10377   shlibpath_overrides_runpath=no
10378   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10379   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10380   hardcode_into_libs=yes
10381   ;;
10382
10383 # No shared lib support for Linux oldld, aout, or coff.
10384 linux*oldld* | linux*aout* | linux*coff*)
10385   dynamic_linker=no
10386   ;;
10387
10388 # This must be Linux ELF.
10389 linux* | k*bsd*-gnu)
10390   version_type=linux
10391   need_lib_prefix=no
10392   need_version=no
10393   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10394   soname_spec='${libname}${release}${shared_ext}$major'
10395   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10396   shlibpath_var=LD_LIBRARY_PATH
10397   shlibpath_overrides_runpath=no
10398   # Some binutils ld are patched to set DT_RUNPATH
10399   save_LDFLAGS=$LDFLAGS
10400   save_libdir=$libdir
10401   eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10402        LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10403   if test x$gcc_no_link = xyes; then
10404   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10405 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10406    { (exit 1); exit 1; }; }
10407 fi
10408 cat >conftest.$ac_ext <<_ACEOF
10409 /* confdefs.h.  */
10410 _ACEOF
10411 cat confdefs.h >>conftest.$ac_ext
10412 cat >>conftest.$ac_ext <<_ACEOF
10413 /* end confdefs.h.  */
10414
10415 int
10416 main ()
10417 {
10418
10419   ;
10420   return 0;
10421 }
10422 _ACEOF
10423 rm -f conftest.$ac_objext conftest$ac_exeext
10424 if { (ac_try="$ac_link"
10425 case "(($ac_try" in
10426   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10427   *) ac_try_echo=$ac_try;;
10428 esac
10429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10430   (eval "$ac_link") 2>conftest.er1
10431   ac_status=$?
10432   grep -v '^ *+' conftest.er1 >conftest.err
10433   rm -f conftest.er1
10434   cat conftest.err >&5
10435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10436   (exit $ac_status); } && {
10437          test -z "$ac_c_werror_flag" ||
10438          test ! -s conftest.err
10439        } && test -s conftest$ac_exeext &&
10440        $as_test_x conftest$ac_exeext; then
10441   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir"; then
10442   shlibpath_overrides_runpath=yes
10443 fi
10444
10445 else
10446   echo "$as_me: failed program was:" >&5
10447 sed 's/^/| /' conftest.$ac_ext >&5
10448
10449
10450 fi
10451
10452 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10453       conftest$ac_exeext conftest.$ac_ext
10454   LDFLAGS=$save_LDFLAGS
10455   libdir=$save_libdir
10456
10457   # This implies no fast_install, which is unacceptable.
10458   # Some rework will be needed to allow for fast_install
10459   # before this can be enabled.
10460   hardcode_into_libs=yes
10461
10462   # Append ld.so.conf contents to the search path
10463   if test -f /etc/ld.so.conf; then
10464     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' ' '`
10465     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10466   fi
10467
10468   # We used to test for /lib/ld.so.1 and disable shared libraries on
10469   # powerpc, because MkLinux only supported shared libraries with the
10470   # GNU dynamic linker.  Since this was broken with cross compilers,
10471   # most powerpc-linux boxes support dynamic linking these days and
10472   # people can always --disable-shared, the test was removed, and we
10473   # assume the GNU/Linux dynamic linker is in use.
10474   dynamic_linker='GNU/Linux ld.so'
10475   ;;
10476
10477 netbsd*)
10478   version_type=sunos
10479   need_lib_prefix=no
10480   need_version=no
10481   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10482     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10483     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10484     dynamic_linker='NetBSD (a.out) ld.so'
10485   else
10486     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10487     soname_spec='${libname}${release}${shared_ext}$major'
10488     dynamic_linker='NetBSD ld.elf_so'
10489   fi
10490   shlibpath_var=LD_LIBRARY_PATH
10491   shlibpath_overrides_runpath=yes
10492   hardcode_into_libs=yes
10493   ;;
10494
10495 newsos6)
10496   version_type=linux
10497   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10498   shlibpath_var=LD_LIBRARY_PATH
10499   shlibpath_overrides_runpath=yes
10500   ;;
10501
10502 *nto* | *qnx*)
10503   version_type=qnx
10504   need_lib_prefix=no
10505   need_version=no
10506   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10507   soname_spec='${libname}${release}${shared_ext}$major'
10508   shlibpath_var=LD_LIBRARY_PATH
10509   shlibpath_overrides_runpath=no
10510   hardcode_into_libs=yes
10511   dynamic_linker='ldqnx.so'
10512   ;;
10513
10514 openbsd*)
10515   version_type=sunos
10516   sys_lib_dlsearch_path_spec="/usr/lib"
10517   need_lib_prefix=no
10518   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10519   case $host_os in
10520     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
10521     *)                          need_version=no  ;;
10522   esac
10523   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10524   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10525   shlibpath_var=LD_LIBRARY_PATH
10526   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10527     case $host_os in
10528       openbsd2.[89] | openbsd2.[89].*)
10529         shlibpath_overrides_runpath=no
10530         ;;
10531       *)
10532         shlibpath_overrides_runpath=yes
10533         ;;
10534       esac
10535   else
10536     shlibpath_overrides_runpath=yes
10537   fi
10538   ;;
10539
10540 os2*)
10541   libname_spec='$name'
10542   shrext_cmds=".dll"
10543   need_lib_prefix=no
10544   library_names_spec='$libname${shared_ext} $libname.a'
10545   dynamic_linker='OS/2 ld.exe'
10546   shlibpath_var=LIBPATH
10547   ;;
10548
10549 osf3* | osf4* | osf5*)
10550   version_type=osf
10551   need_lib_prefix=no
10552   need_version=no
10553   soname_spec='${libname}${release}${shared_ext}$major'
10554   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10555   shlibpath_var=LD_LIBRARY_PATH
10556   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10557   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10558   ;;
10559
10560 rdos*)
10561   dynamic_linker=no
10562   ;;
10563
10564 solaris*)
10565   version_type=linux
10566   need_lib_prefix=no
10567   need_version=no
10568   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10569   soname_spec='${libname}${release}${shared_ext}$major'
10570   shlibpath_var=LD_LIBRARY_PATH
10571   shlibpath_overrides_runpath=yes
10572   hardcode_into_libs=yes
10573   # ldd complains unless libraries are executable
10574   postinstall_cmds='chmod +x $lib'
10575   ;;
10576
10577 sunos4*)
10578   version_type=sunos
10579   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10580   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10581   shlibpath_var=LD_LIBRARY_PATH
10582   shlibpath_overrides_runpath=yes
10583   if test "$with_gnu_ld" = yes; then
10584     need_lib_prefix=no
10585   fi
10586   need_version=yes
10587   ;;
10588
10589 sysv4 | sysv4.3*)
10590   version_type=linux
10591   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10592   soname_spec='${libname}${release}${shared_ext}$major'
10593   shlibpath_var=LD_LIBRARY_PATH
10594   case $host_vendor in
10595     sni)
10596       shlibpath_overrides_runpath=no
10597       need_lib_prefix=no
10598       runpath_var=LD_RUN_PATH
10599       ;;
10600     siemens)
10601       need_lib_prefix=no
10602       ;;
10603     motorola)
10604       need_lib_prefix=no
10605       need_version=no
10606       shlibpath_overrides_runpath=no
10607       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10608       ;;
10609   esac
10610   ;;
10611
10612 sysv4*MP*)
10613   if test -d /usr/nec ;then
10614     version_type=linux
10615     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10616     soname_spec='$libname${shared_ext}.$major'
10617     shlibpath_var=LD_LIBRARY_PATH
10618   fi
10619   ;;
10620
10621 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10622   version_type=freebsd-elf
10623   need_lib_prefix=no
10624   need_version=no
10625   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10626   soname_spec='${libname}${release}${shared_ext}$major'
10627   shlibpath_var=LD_LIBRARY_PATH
10628   shlibpath_overrides_runpath=yes
10629   hardcode_into_libs=yes
10630   if test "$with_gnu_ld" = yes; then
10631     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10632   else
10633     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10634     case $host_os in
10635       sco3.2v5*)
10636         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10637         ;;
10638     esac
10639   fi
10640   sys_lib_dlsearch_path_spec='/usr/lib'
10641   ;;
10642
10643 tpf*)
10644   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
10645   version_type=linux
10646   need_lib_prefix=no
10647   need_version=no
10648   library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10649   shlibpath_var=LD_LIBRARY_PATH
10650   shlibpath_overrides_runpath=no
10651   hardcode_into_libs=yes
10652   ;;
10653
10654 uts4*)
10655   version_type=linux
10656   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10657   soname_spec='${libname}${release}${shared_ext}$major'
10658   shlibpath_var=LD_LIBRARY_PATH
10659   ;;
10660
10661 *)
10662   dynamic_linker=no
10663   ;;
10664 esac
10665 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
10666 echo "${ECHO_T}$dynamic_linker" >&6; }
10667 test "$dynamic_linker" = no && can_build_shared=no
10668
10669 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10670 if test "$GCC" = yes; then
10671   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10672 fi
10673
10674
10675
10676
10677
10678
10679
10680
10681
10682
10683
10684
10685
10686
10687
10688
10689
10690
10691
10692
10693
10694
10695
10696
10697
10698
10699
10700
10701
10702
10703
10704
10705
10706
10707
10708
10709
10710
10711
10712
10713
10714
10715
10716
10717
10718
10719
10720
10721
10722
10723
10724
10725
10726
10727
10728
10729
10730
10731
10732
10733
10734
10735
10736
10737
10738
10739
10740
10741
10742
10743
10744
10745
10746
10747
10748
10749
10750
10751
10752
10753
10754
10755
10756
10757
10758
10759
10760   { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10761 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
10762 hardcode_action=
10763 if test -n "$hardcode_libdir_flag_spec" ||
10764    test -n "$runpath_var" ||
10765    test "X$hardcode_automatic" = "Xyes" ; then
10766
10767   # We can hardcode non-existent directories.
10768   if test "$hardcode_direct" != no &&
10769      # If the only mechanism to avoid hardcoding is shlibpath_var, we
10770      # have to relink, otherwise we might link with an installed library
10771      # when we should be linking with a yet-to-be-installed one
10772      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10773      test "$hardcode_minus_L" != no; then
10774     # Linking always hardcodes the temporary library directory.
10775     hardcode_action=relink
10776   else
10777     # We can link without hardcoding, and we can hardcode nonexisting dirs.
10778     hardcode_action=immediate
10779   fi
10780 else
10781   # We cannot hardcode anything, or else we can only hardcode existing
10782   # directories.
10783   hardcode_action=unsupported
10784 fi
10785 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
10786 echo "${ECHO_T}$hardcode_action" >&6; }
10787
10788 if test "$hardcode_action" = relink ||
10789    test "$inherit_rpath" = yes; then
10790   # Fast installation is not supported
10791   enable_fast_install=no
10792 elif test "$shlibpath_overrides_runpath" = yes ||
10793      test "$enable_shared" = no; then
10794   # Fast installation is not necessary
10795   enable_fast_install=needless
10796 fi
10797
10798
10799
10800
10801
10802
10803   if test "x$enable_dlopen" != xyes; then
10804   enable_dlopen=unknown
10805   enable_dlopen_self=unknown
10806   enable_dlopen_self_static=unknown
10807 else
10808   lt_cv_dlopen=no
10809   lt_cv_dlopen_libs=
10810
10811   case $host_os in
10812   beos*)
10813     lt_cv_dlopen="load_add_on"
10814     lt_cv_dlopen_libs=
10815     lt_cv_dlopen_self=yes
10816     ;;
10817
10818   mingw* | pw32*)
10819     lt_cv_dlopen="LoadLibrary"
10820     lt_cv_dlopen_libs=
10821     ;;
10822
10823   cygwin*)
10824     lt_cv_dlopen="dlopen"
10825     lt_cv_dlopen_libs=
10826     ;;
10827
10828   darwin*)
10829   # if libdl is installed we need to link against it
10830     { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10831 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
10832 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10833   echo $ECHO_N "(cached) $ECHO_C" >&6
10834 else
10835   ac_check_lib_save_LIBS=$LIBS
10836 LIBS="-ldl  $LIBS"
10837 if test x$gcc_no_link = xyes; then
10838   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10839 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10840    { (exit 1); exit 1; }; }
10841 fi
10842 cat >conftest.$ac_ext <<_ACEOF
10843 /* confdefs.h.  */
10844 _ACEOF
10845 cat confdefs.h >>conftest.$ac_ext
10846 cat >>conftest.$ac_ext <<_ACEOF
10847 /* end confdefs.h.  */
10848
10849 /* Override any GCC internal prototype to avoid an error.
10850    Use char because int might match the return type of a GCC
10851    builtin and then its argument prototype would still apply.  */
10852 #ifdef __cplusplus
10853 extern "C"
10854 #endif
10855 char dlopen ();
10856 int
10857 main ()
10858 {
10859 return dlopen ();
10860   ;
10861   return 0;
10862 }
10863 _ACEOF
10864 rm -f conftest.$ac_objext conftest$ac_exeext
10865 if { (ac_try="$ac_link"
10866 case "(($ac_try" in
10867   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10868   *) ac_try_echo=$ac_try;;
10869 esac
10870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10871   (eval "$ac_link") 2>conftest.er1
10872   ac_status=$?
10873   grep -v '^ *+' conftest.er1 >conftest.err
10874   rm -f conftest.er1
10875   cat conftest.err >&5
10876   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10877   (exit $ac_status); } && {
10878          test -z "$ac_c_werror_flag" ||
10879          test ! -s conftest.err
10880        } && test -s conftest$ac_exeext &&
10881        $as_test_x conftest$ac_exeext; then
10882   ac_cv_lib_dl_dlopen=yes
10883 else
10884   echo "$as_me: failed program was:" >&5
10885 sed 's/^/| /' conftest.$ac_ext >&5
10886
10887         ac_cv_lib_dl_dlopen=no
10888 fi
10889
10890 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10891       conftest$ac_exeext conftest.$ac_ext
10892 LIBS=$ac_check_lib_save_LIBS
10893 fi
10894 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10895 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
10896 if test $ac_cv_lib_dl_dlopen = yes; then
10897   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10898 else
10899
10900     lt_cv_dlopen="dyld"
10901     lt_cv_dlopen_libs=
10902     lt_cv_dlopen_self=yes
10903
10904 fi
10905
10906     ;;
10907
10908   *)
10909     { echo "$as_me:$LINENO: checking for shl_load" >&5
10910 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
10911 if test "${ac_cv_func_shl_load+set}" = set; then
10912   echo $ECHO_N "(cached) $ECHO_C" >&6
10913 else
10914   if test x$gcc_no_link = xyes; then
10915   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10916 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10917    { (exit 1); exit 1; }; }
10918 fi
10919 cat >conftest.$ac_ext <<_ACEOF
10920 /* confdefs.h.  */
10921 _ACEOF
10922 cat confdefs.h >>conftest.$ac_ext
10923 cat >>conftest.$ac_ext <<_ACEOF
10924 /* end confdefs.h.  */
10925 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10926    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10927 #define shl_load innocuous_shl_load
10928
10929 /* System header to define __stub macros and hopefully few prototypes,
10930     which can conflict with char shl_load (); below.
10931     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10932     <limits.h> exists even on freestanding compilers.  */
10933
10934 #ifdef __STDC__
10935 # include <limits.h>
10936 #else
10937 # include <assert.h>
10938 #endif
10939
10940 #undef shl_load
10941
10942 /* Override any GCC internal prototype to avoid an error.
10943    Use char because int might match the return type of a GCC
10944    builtin and then its argument prototype would still apply.  */
10945 #ifdef __cplusplus
10946 extern "C"
10947 #endif
10948 char shl_load ();
10949 /* The GNU C library defines this for functions which it implements
10950     to always fail with ENOSYS.  Some functions are actually named
10951     something starting with __ and the normal name is an alias.  */
10952 #if defined __stub_shl_load || defined __stub___shl_load
10953 choke me
10954 #endif
10955
10956 int
10957 main ()
10958 {
10959 return shl_load ();
10960   ;
10961   return 0;
10962 }
10963 _ACEOF
10964 rm -f conftest.$ac_objext conftest$ac_exeext
10965 if { (ac_try="$ac_link"
10966 case "(($ac_try" in
10967   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10968   *) ac_try_echo=$ac_try;;
10969 esac
10970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10971   (eval "$ac_link") 2>conftest.er1
10972   ac_status=$?
10973   grep -v '^ *+' conftest.er1 >conftest.err
10974   rm -f conftest.er1
10975   cat conftest.err >&5
10976   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10977   (exit $ac_status); } && {
10978          test -z "$ac_c_werror_flag" ||
10979          test ! -s conftest.err
10980        } && test -s conftest$ac_exeext &&
10981        $as_test_x conftest$ac_exeext; then
10982   ac_cv_func_shl_load=yes
10983 else
10984   echo "$as_me: failed program was:" >&5
10985 sed 's/^/| /' conftest.$ac_ext >&5
10986
10987         ac_cv_func_shl_load=no
10988 fi
10989
10990 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10991       conftest$ac_exeext conftest.$ac_ext
10992 fi
10993 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10994 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
10995 if test $ac_cv_func_shl_load = yes; then
10996   lt_cv_dlopen="shl_load"
10997 else
10998   { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10999 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
11000 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
11001   echo $ECHO_N "(cached) $ECHO_C" >&6
11002 else
11003   ac_check_lib_save_LIBS=$LIBS
11004 LIBS="-ldld  $LIBS"
11005 if test x$gcc_no_link = xyes; then
11006   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11007 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11008    { (exit 1); exit 1; }; }
11009 fi
11010 cat >conftest.$ac_ext <<_ACEOF
11011 /* confdefs.h.  */
11012 _ACEOF
11013 cat confdefs.h >>conftest.$ac_ext
11014 cat >>conftest.$ac_ext <<_ACEOF
11015 /* end confdefs.h.  */
11016
11017 /* Override any GCC internal prototype to avoid an error.
11018    Use char because int might match the return type of a GCC
11019    builtin and then its argument prototype would still apply.  */
11020 #ifdef __cplusplus
11021 extern "C"
11022 #endif
11023 char shl_load ();
11024 int
11025 main ()
11026 {
11027 return shl_load ();
11028   ;
11029   return 0;
11030 }
11031 _ACEOF
11032 rm -f conftest.$ac_objext conftest$ac_exeext
11033 if { (ac_try="$ac_link"
11034 case "(($ac_try" in
11035   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11036   *) ac_try_echo=$ac_try;;
11037 esac
11038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11039   (eval "$ac_link") 2>conftest.er1
11040   ac_status=$?
11041   grep -v '^ *+' conftest.er1 >conftest.err
11042   rm -f conftest.er1
11043   cat conftest.err >&5
11044   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11045   (exit $ac_status); } && {
11046          test -z "$ac_c_werror_flag" ||
11047          test ! -s conftest.err
11048        } && test -s conftest$ac_exeext &&
11049        $as_test_x conftest$ac_exeext; then
11050   ac_cv_lib_dld_shl_load=yes
11051 else
11052   echo "$as_me: failed program was:" >&5
11053 sed 's/^/| /' conftest.$ac_ext >&5
11054
11055         ac_cv_lib_dld_shl_load=no
11056 fi
11057
11058 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11059       conftest$ac_exeext conftest.$ac_ext
11060 LIBS=$ac_check_lib_save_LIBS
11061 fi
11062 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
11063 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
11064 if test $ac_cv_lib_dld_shl_load = yes; then
11065   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
11066 else
11067   { echo "$as_me:$LINENO: checking for dlopen" >&5
11068 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
11069 if test "${ac_cv_func_dlopen+set}" = set; then
11070   echo $ECHO_N "(cached) $ECHO_C" >&6
11071 else
11072   if test x$gcc_no_link = xyes; then
11073   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11074 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11075    { (exit 1); exit 1; }; }
11076 fi
11077 cat >conftest.$ac_ext <<_ACEOF
11078 /* confdefs.h.  */
11079 _ACEOF
11080 cat confdefs.h >>conftest.$ac_ext
11081 cat >>conftest.$ac_ext <<_ACEOF
11082 /* end confdefs.h.  */
11083 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
11084    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11085 #define dlopen innocuous_dlopen
11086
11087 /* System header to define __stub macros and hopefully few prototypes,
11088     which can conflict with char dlopen (); below.
11089     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11090     <limits.h> exists even on freestanding compilers.  */
11091
11092 #ifdef __STDC__
11093 # include <limits.h>
11094 #else
11095 # include <assert.h>
11096 #endif
11097
11098 #undef dlopen
11099
11100 /* Override any GCC internal prototype to avoid an error.
11101    Use char because int might match the return type of a GCC
11102    builtin and then its argument prototype would still apply.  */
11103 #ifdef __cplusplus
11104 extern "C"
11105 #endif
11106 char dlopen ();
11107 /* The GNU C library defines this for functions which it implements
11108     to always fail with ENOSYS.  Some functions are actually named
11109     something starting with __ and the normal name is an alias.  */
11110 #if defined __stub_dlopen || defined __stub___dlopen
11111 choke me
11112 #endif
11113
11114 int
11115 main ()
11116 {
11117 return dlopen ();
11118   ;
11119   return 0;
11120 }
11121 _ACEOF
11122 rm -f conftest.$ac_objext conftest$ac_exeext
11123 if { (ac_try="$ac_link"
11124 case "(($ac_try" in
11125   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11126   *) ac_try_echo=$ac_try;;
11127 esac
11128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11129   (eval "$ac_link") 2>conftest.er1
11130   ac_status=$?
11131   grep -v '^ *+' conftest.er1 >conftest.err
11132   rm -f conftest.er1
11133   cat conftest.err >&5
11134   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11135   (exit $ac_status); } && {
11136          test -z "$ac_c_werror_flag" ||
11137          test ! -s conftest.err
11138        } && test -s conftest$ac_exeext &&
11139        $as_test_x conftest$ac_exeext; then
11140   ac_cv_func_dlopen=yes
11141 else
11142   echo "$as_me: failed program was:" >&5
11143 sed 's/^/| /' conftest.$ac_ext >&5
11144
11145         ac_cv_func_dlopen=no
11146 fi
11147
11148 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11149       conftest$ac_exeext conftest.$ac_ext
11150 fi
11151 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11152 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
11153 if test $ac_cv_func_dlopen = yes; then
11154   lt_cv_dlopen="dlopen"
11155 else
11156   { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11157 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
11158 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11159   echo $ECHO_N "(cached) $ECHO_C" >&6
11160 else
11161   ac_check_lib_save_LIBS=$LIBS
11162 LIBS="-ldl  $LIBS"
11163 if test x$gcc_no_link = xyes; then
11164   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11165 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11166    { (exit 1); exit 1; }; }
11167 fi
11168 cat >conftest.$ac_ext <<_ACEOF
11169 /* confdefs.h.  */
11170 _ACEOF
11171 cat confdefs.h >>conftest.$ac_ext
11172 cat >>conftest.$ac_ext <<_ACEOF
11173 /* end confdefs.h.  */
11174
11175 /* Override any GCC internal prototype to avoid an error.
11176    Use char because int might match the return type of a GCC
11177    builtin and then its argument prototype would still apply.  */
11178 #ifdef __cplusplus
11179 extern "C"
11180 #endif
11181 char dlopen ();
11182 int
11183 main ()
11184 {
11185 return dlopen ();
11186   ;
11187   return 0;
11188 }
11189 _ACEOF
11190 rm -f conftest.$ac_objext conftest$ac_exeext
11191 if { (ac_try="$ac_link"
11192 case "(($ac_try" in
11193   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11194   *) ac_try_echo=$ac_try;;
11195 esac
11196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11197   (eval "$ac_link") 2>conftest.er1
11198   ac_status=$?
11199   grep -v '^ *+' conftest.er1 >conftest.err
11200   rm -f conftest.er1
11201   cat conftest.err >&5
11202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11203   (exit $ac_status); } && {
11204          test -z "$ac_c_werror_flag" ||
11205          test ! -s conftest.err
11206        } && test -s conftest$ac_exeext &&
11207        $as_test_x conftest$ac_exeext; then
11208   ac_cv_lib_dl_dlopen=yes
11209 else
11210   echo "$as_me: failed program was:" >&5
11211 sed 's/^/| /' conftest.$ac_ext >&5
11212
11213         ac_cv_lib_dl_dlopen=no
11214 fi
11215
11216 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11217       conftest$ac_exeext conftest.$ac_ext
11218 LIBS=$ac_check_lib_save_LIBS
11219 fi
11220 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11221 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
11222 if test $ac_cv_lib_dl_dlopen = yes; then
11223   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11224 else
11225   { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
11226 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
11227 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
11228   echo $ECHO_N "(cached) $ECHO_C" >&6
11229 else
11230   ac_check_lib_save_LIBS=$LIBS
11231 LIBS="-lsvld  $LIBS"
11232 if test x$gcc_no_link = xyes; then
11233   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11234 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11235    { (exit 1); exit 1; }; }
11236 fi
11237 cat >conftest.$ac_ext <<_ACEOF
11238 /* confdefs.h.  */
11239 _ACEOF
11240 cat confdefs.h >>conftest.$ac_ext
11241 cat >>conftest.$ac_ext <<_ACEOF
11242 /* end confdefs.h.  */
11243
11244 /* Override any GCC internal prototype to avoid an error.
11245    Use char because int might match the return type of a GCC
11246    builtin and then its argument prototype would still apply.  */
11247 #ifdef __cplusplus
11248 extern "C"
11249 #endif
11250 char dlopen ();
11251 int
11252 main ()
11253 {
11254 return dlopen ();
11255   ;
11256   return 0;
11257 }
11258 _ACEOF
11259 rm -f conftest.$ac_objext conftest$ac_exeext
11260 if { (ac_try="$ac_link"
11261 case "(($ac_try" in
11262   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11263   *) ac_try_echo=$ac_try;;
11264 esac
11265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11266   (eval "$ac_link") 2>conftest.er1
11267   ac_status=$?
11268   grep -v '^ *+' conftest.er1 >conftest.err
11269   rm -f conftest.er1
11270   cat conftest.err >&5
11271   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11272   (exit $ac_status); } && {
11273          test -z "$ac_c_werror_flag" ||
11274          test ! -s conftest.err
11275        } && test -s conftest$ac_exeext &&
11276        $as_test_x conftest$ac_exeext; then
11277   ac_cv_lib_svld_dlopen=yes
11278 else
11279   echo "$as_me: failed program was:" >&5
11280 sed 's/^/| /' conftest.$ac_ext >&5
11281
11282         ac_cv_lib_svld_dlopen=no
11283 fi
11284
11285 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11286       conftest$ac_exeext conftest.$ac_ext
11287 LIBS=$ac_check_lib_save_LIBS
11288 fi
11289 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
11290 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
11291 if test $ac_cv_lib_svld_dlopen = yes; then
11292   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11293 else
11294   { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
11295 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
11296 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
11297   echo $ECHO_N "(cached) $ECHO_C" >&6
11298 else
11299   ac_check_lib_save_LIBS=$LIBS
11300 LIBS="-ldld  $LIBS"
11301 if test x$gcc_no_link = xyes; then
11302   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11303 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11304    { (exit 1); exit 1; }; }
11305 fi
11306 cat >conftest.$ac_ext <<_ACEOF
11307 /* confdefs.h.  */
11308 _ACEOF
11309 cat confdefs.h >>conftest.$ac_ext
11310 cat >>conftest.$ac_ext <<_ACEOF
11311 /* end confdefs.h.  */
11312
11313 /* Override any GCC internal prototype to avoid an error.
11314    Use char because int might match the return type of a GCC
11315    builtin and then its argument prototype would still apply.  */
11316 #ifdef __cplusplus
11317 extern "C"
11318 #endif
11319 char dld_link ();
11320 int
11321 main ()
11322 {
11323 return dld_link ();
11324   ;
11325   return 0;
11326 }
11327 _ACEOF
11328 rm -f conftest.$ac_objext conftest$ac_exeext
11329 if { (ac_try="$ac_link"
11330 case "(($ac_try" in
11331   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11332   *) ac_try_echo=$ac_try;;
11333 esac
11334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11335   (eval "$ac_link") 2>conftest.er1
11336   ac_status=$?
11337   grep -v '^ *+' conftest.er1 >conftest.err
11338   rm -f conftest.er1
11339   cat conftest.err >&5
11340   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11341   (exit $ac_status); } && {
11342          test -z "$ac_c_werror_flag" ||
11343          test ! -s conftest.err
11344        } && test -s conftest$ac_exeext &&
11345        $as_test_x conftest$ac_exeext; then
11346   ac_cv_lib_dld_dld_link=yes
11347 else
11348   echo "$as_me: failed program was:" >&5
11349 sed 's/^/| /' conftest.$ac_ext >&5
11350
11351         ac_cv_lib_dld_dld_link=no
11352 fi
11353
11354 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11355       conftest$ac_exeext conftest.$ac_ext
11356 LIBS=$ac_check_lib_save_LIBS
11357 fi
11358 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
11359 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
11360 if test $ac_cv_lib_dld_dld_link = yes; then
11361   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
11362 fi
11363
11364
11365 fi
11366
11367
11368 fi
11369
11370
11371 fi
11372
11373
11374 fi
11375
11376
11377 fi
11378
11379     ;;
11380   esac
11381
11382   if test "x$lt_cv_dlopen" != xno; then
11383     enable_dlopen=yes
11384   else
11385     enable_dlopen=no
11386   fi
11387
11388   case $lt_cv_dlopen in
11389   dlopen)
11390     save_CPPFLAGS="$CPPFLAGS"
11391     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11392
11393     save_LDFLAGS="$LDFLAGS"
11394     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11395
11396     save_LIBS="$LIBS"
11397     LIBS="$lt_cv_dlopen_libs $LIBS"
11398
11399     { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
11400 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
11401 if test "${lt_cv_dlopen_self+set}" = set; then
11402   echo $ECHO_N "(cached) $ECHO_C" >&6
11403 else
11404           if test "$cross_compiling" = yes; then :
11405   lt_cv_dlopen_self=cross
11406 else
11407   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11408   lt_status=$lt_dlunknown
11409   cat > conftest.$ac_ext <<_LT_EOF
11410 #line 11410 "configure"
11411 #include "confdefs.h"
11412
11413 #if HAVE_DLFCN_H
11414 #include <dlfcn.h>
11415 #endif
11416
11417 #include <stdio.h>
11418
11419 #ifdef RTLD_GLOBAL
11420 #  define LT_DLGLOBAL           RTLD_GLOBAL
11421 #else
11422 #  ifdef DL_GLOBAL
11423 #    define LT_DLGLOBAL         DL_GLOBAL
11424 #  else
11425 #    define LT_DLGLOBAL         0
11426 #  endif
11427 #endif
11428
11429 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11430    find out it does not work in some platform. */
11431 #ifndef LT_DLLAZY_OR_NOW
11432 #  ifdef RTLD_LAZY
11433 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11434 #  else
11435 #    ifdef DL_LAZY
11436 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11437 #    else
11438 #      ifdef RTLD_NOW
11439 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11440 #      else
11441 #        ifdef DL_NOW
11442 #          define LT_DLLAZY_OR_NOW      DL_NOW
11443 #        else
11444 #          define LT_DLLAZY_OR_NOW      0
11445 #        endif
11446 #      endif
11447 #    endif
11448 #  endif
11449 #endif
11450
11451 #ifdef __cplusplus
11452 extern "C" void exit (int);
11453 #endif
11454
11455 void fnord() { int i=42;}
11456 int main ()
11457 {
11458   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11459   int status = $lt_dlunknown;
11460
11461   if (self)
11462     {
11463       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11464       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11465       /* dlclose (self); */
11466     }
11467   else
11468     puts (dlerror ());
11469
11470     exit (status);
11471 }
11472 _LT_EOF
11473   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11474   (eval $ac_link) 2>&5
11475   ac_status=$?
11476   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11477   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11478     (./conftest; exit; ) >&5 2>/dev/null
11479     lt_status=$?
11480     case x$lt_status in
11481       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11482       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11483       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11484     esac
11485   else :
11486     # compilation failed
11487     lt_cv_dlopen_self=no
11488   fi
11489 fi
11490 rm -fr conftest*
11491
11492
11493 fi
11494 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
11495 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
11496
11497     if test "x$lt_cv_dlopen_self" = xyes; then
11498       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11499       { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
11500 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
11501 if test "${lt_cv_dlopen_self_static+set}" = set; then
11502   echo $ECHO_N "(cached) $ECHO_C" >&6
11503 else
11504           if test "$cross_compiling" = yes; then :
11505   lt_cv_dlopen_self_static=cross
11506 else
11507   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11508   lt_status=$lt_dlunknown
11509   cat > conftest.$ac_ext <<_LT_EOF
11510 #line 11510 "configure"
11511 #include "confdefs.h"
11512
11513 #if HAVE_DLFCN_H
11514 #include <dlfcn.h>
11515 #endif
11516
11517 #include <stdio.h>
11518
11519 #ifdef RTLD_GLOBAL
11520 #  define LT_DLGLOBAL           RTLD_GLOBAL
11521 #else
11522 #  ifdef DL_GLOBAL
11523 #    define LT_DLGLOBAL         DL_GLOBAL
11524 #  else
11525 #    define LT_DLGLOBAL         0
11526 #  endif
11527 #endif
11528
11529 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11530    find out it does not work in some platform. */
11531 #ifndef LT_DLLAZY_OR_NOW
11532 #  ifdef RTLD_LAZY
11533 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11534 #  else
11535 #    ifdef DL_LAZY
11536 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11537 #    else
11538 #      ifdef RTLD_NOW
11539 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11540 #      else
11541 #        ifdef DL_NOW
11542 #          define LT_DLLAZY_OR_NOW      DL_NOW
11543 #        else
11544 #          define LT_DLLAZY_OR_NOW      0
11545 #        endif
11546 #      endif
11547 #    endif
11548 #  endif
11549 #endif
11550
11551 #ifdef __cplusplus
11552 extern "C" void exit (int);
11553 #endif
11554
11555 void fnord() { int i=42;}
11556 int main ()
11557 {
11558   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11559   int status = $lt_dlunknown;
11560
11561   if (self)
11562     {
11563       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11564       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11565       /* dlclose (self); */
11566     }
11567   else
11568     puts (dlerror ());
11569
11570     exit (status);
11571 }
11572 _LT_EOF
11573   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11574   (eval $ac_link) 2>&5
11575   ac_status=$?
11576   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11577   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11578     (./conftest; exit; ) >&5 2>/dev/null
11579     lt_status=$?
11580     case x$lt_status in
11581       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11582       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11583       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11584     esac
11585   else :
11586     # compilation failed
11587     lt_cv_dlopen_self_static=no
11588   fi
11589 fi
11590 rm -fr conftest*
11591
11592
11593 fi
11594 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
11595 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
11596     fi
11597
11598     CPPFLAGS="$save_CPPFLAGS"
11599     LDFLAGS="$save_LDFLAGS"
11600     LIBS="$save_LIBS"
11601     ;;
11602   esac
11603
11604   case $lt_cv_dlopen_self in
11605   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11606   *) enable_dlopen_self=unknown ;;
11607   esac
11608
11609   case $lt_cv_dlopen_self_static in
11610   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11611   *) enable_dlopen_self_static=unknown ;;
11612   esac
11613 fi
11614
11615
11616
11617
11618
11619
11620
11621
11622
11623
11624
11625
11626
11627
11628
11629
11630
11631 striplib=
11632 old_striplib=
11633 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11634 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
11635 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11636   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11637   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11638   { echo "$as_me:$LINENO: result: yes" >&5
11639 echo "${ECHO_T}yes" >&6; }
11640 else
11641 # FIXME - insert some real tests, host_os isn't really good enough
11642   case $host_os in
11643   darwin*)
11644     if test -n "$STRIP" ; then
11645       striplib="$STRIP -x"
11646       old_striplib="$STRIP -S"
11647       { echo "$as_me:$LINENO: result: yes" >&5
11648 echo "${ECHO_T}yes" >&6; }
11649     else
11650       { echo "$as_me:$LINENO: result: no" >&5
11651 echo "${ECHO_T}no" >&6; }
11652     fi
11653     ;;
11654   *)
11655     { echo "$as_me:$LINENO: result: no" >&5
11656 echo "${ECHO_T}no" >&6; }
11657     ;;
11658   esac
11659 fi
11660
11661
11662
11663
11664
11665
11666
11667
11668
11669
11670
11671
11672   # Report which library types will actually be built
11673   { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11674 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
11675   { echo "$as_me:$LINENO: result: $can_build_shared" >&5
11676 echo "${ECHO_T}$can_build_shared" >&6; }
11677
11678   { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11679 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
11680   test "$can_build_shared" = "no" && enable_shared=no
11681
11682   # On AIX, shared libraries and static libraries use the same namespace, and
11683   # are all built from PIC.
11684   case $host_os in
11685   aix3*)
11686     test "$enable_shared" = yes && enable_static=no
11687     if test -n "$RANLIB"; then
11688       archive_cmds="$archive_cmds~\$RANLIB \$lib"
11689       postinstall_cmds='$RANLIB $lib'
11690     fi
11691     ;;
11692
11693   aix4* | aix5*)
11694     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11695       test "$enable_shared" = yes && enable_static=no
11696     fi
11697     ;;
11698   esac
11699   { echo "$as_me:$LINENO: result: $enable_shared" >&5
11700 echo "${ECHO_T}$enable_shared" >&6; }
11701
11702   { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11703 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
11704   # Make sure either enable_shared or enable_static is yes.
11705   test "$enable_shared" = yes || enable_static=yes
11706   { echo "$as_me:$LINENO: result: $enable_static" >&5
11707 echo "${ECHO_T}$enable_static" >&6; }
11708
11709
11710
11711
11712 fi
11713 ac_ext=c
11714 ac_cpp='$CPP $CPPFLAGS'
11715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11718
11719 CC="$lt_save_CC"
11720
11721
11722 ac_ext=cpp
11723 ac_cpp='$CXXCPP $CPPFLAGS'
11724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11727
11728 archive_cmds_need_lc_CXX=no
11729 allow_undefined_flag_CXX=
11730 always_export_symbols_CXX=no
11731 archive_expsym_cmds_CXX=
11732 compiler_needs_object_CXX=no
11733 export_dynamic_flag_spec_CXX=
11734 hardcode_direct_CXX=no
11735 hardcode_direct_absolute_CXX=no
11736 hardcode_libdir_flag_spec_CXX=
11737 hardcode_libdir_flag_spec_ld_CXX=
11738 hardcode_libdir_separator_CXX=
11739 hardcode_minus_L_CXX=no
11740 hardcode_shlibpath_var_CXX=unsupported
11741 hardcode_automatic_CXX=no
11742 inherit_rpath_CXX=no
11743 module_cmds_CXX=
11744 module_expsym_cmds_CXX=
11745 link_all_deplibs_CXX=unknown
11746 old_archive_cmds_CXX=$old_archive_cmds
11747 no_undefined_flag_CXX=
11748 whole_archive_flag_spec_CXX=
11749 enable_shared_with_static_runtimes_CXX=no
11750
11751 # Source file extension for C++ test sources.
11752 ac_ext=cpp
11753
11754 # Object file extension for compiled C++ test sources.
11755 objext=o
11756 objext_CXX=$objext
11757
11758 # No sense in running all these tests if we already determined that
11759 # the CXX compiler isn't working.  Some variables (like enable_shared)
11760 # are currently assumed to apply to all compilers on this platform,
11761 # and will be corrupted by setting them based on a non-working compiler.
11762 if test "$_lt_caught_CXX_error" != yes; then
11763   # Code to be used in simple compile tests
11764   lt_simple_compile_test_code="int some_variable = 0;"
11765
11766   # Code to be used in simple link tests
11767   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
11768
11769   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11770
11771
11772
11773
11774
11775
11776 # If no C compiler was specified, use CC.
11777 LTCC=${LTCC-"$CC"}
11778
11779 # If no C compiler flags were specified, use CFLAGS.
11780 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11781
11782 # Allow CC to be a program name with arguments.
11783 compiler=$CC
11784
11785
11786   # save warnings/boilerplate of simple test code
11787   ac_outfile=conftest.$ac_objext
11788 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
11789 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11790 _lt_compiler_boilerplate=`cat conftest.err`
11791 $RM conftest*
11792
11793   ac_outfile=conftest.$ac_objext
11794 echo "$lt_simple_link_test_code" >conftest.$ac_ext
11795 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11796 _lt_linker_boilerplate=`cat conftest.err`
11797 $RM conftest*
11798
11799
11800   # Allow CC to be a program name with arguments.
11801   lt_save_CC=$CC
11802   lt_save_LD=$LD
11803   lt_save_GCC=$GCC
11804   GCC=$GXX
11805   lt_save_with_gnu_ld=$with_gnu_ld
11806   lt_save_path_LD=$lt_cv_path_LD
11807   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11808     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
11809   else
11810     $as_unset lt_cv_prog_gnu_ld
11811   fi
11812   if test -n "${lt_cv_path_LDCXX+set}"; then
11813     lt_cv_path_LD=$lt_cv_path_LDCXX
11814   else
11815     $as_unset lt_cv_path_LD
11816   fi
11817   test -z "${LDCXX+set}" || LD=$LDCXX
11818   CC=${CXX-"c++"}
11819   compiler=$CC
11820   compiler_CXX=$CC
11821   for cc_temp in $compiler""; do
11822   case $cc_temp in
11823     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
11824     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
11825     \-*) ;;
11826     *) break;;
11827   esac
11828 done
11829 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
11830
11831
11832   if test -n "$compiler"; then
11833     # We don't want -fno-exception when compiling C++ code, so set the
11834     # no_builtin_flag separately
11835     if test "$GXX" = yes; then
11836       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
11837     else
11838       lt_prog_compiler_no_builtin_flag_CXX=
11839     fi
11840
11841     if test "$GXX" = yes; then
11842       # Set up default GNU C++ configuration
11843
11844
11845
11846 # Check whether --with-gnu-ld was given.
11847 if test "${with_gnu_ld+set}" = set; then
11848   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
11849 else
11850   with_gnu_ld=no
11851 fi
11852
11853 ac_prog=ld
11854 if test "$GCC" = yes; then
11855   # Check if gcc -print-prog-name=ld gives a path.
11856   { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
11857 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
11858   case $host in
11859   *-*-mingw*)
11860     # gcc leaves a trailing carriage return which upsets mingw
11861     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
11862   *)
11863     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
11864   esac
11865   case $ac_prog in
11866     # Accept absolute paths.
11867     [\\/]* | ?:[\\/]*)
11868       re_direlt='/[^/][^/]*/\.\./'
11869       # Canonicalize the pathname of ld
11870       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
11871       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
11872         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
11873       done
11874       test -z "$LD" && LD="$ac_prog"
11875       ;;
11876   "")
11877     # If it fails, then pretend we aren't using GCC.
11878     ac_prog=ld
11879     ;;
11880   *)
11881     # If it is relative, then search for the first ld in PATH.
11882     with_gnu_ld=unknown
11883     ;;
11884   esac
11885 elif test "$with_gnu_ld" = yes; then
11886   { echo "$as_me:$LINENO: checking for GNU ld" >&5
11887 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
11888 else
11889   { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
11890 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
11891 fi
11892 if test "${lt_cv_path_LD+set}" = set; then
11893   echo $ECHO_N "(cached) $ECHO_C" >&6
11894 else
11895   if test -z "$LD"; then
11896   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11897   for ac_dir in $PATH; do
11898     IFS="$lt_save_ifs"
11899     test -z "$ac_dir" && ac_dir=.
11900     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
11901       lt_cv_path_LD="$ac_dir/$ac_prog"
11902       # Check to see if the program is GNU ld.  I'd rather use --version,
11903       # but apparently some variants of GNU ld only accept -v.
11904       # Break only if it was the GNU/non-GNU ld that we prefer.
11905       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
11906       *GNU* | *'with BFD'*)
11907         test "$with_gnu_ld" != no && break
11908         ;;
11909       *)
11910         test "$with_gnu_ld" != yes && break
11911         ;;
11912       esac
11913     fi
11914   done
11915   IFS="$lt_save_ifs"
11916 else
11917   lt_cv_path_LD="$LD" # Let the user override the test with a path.
11918 fi
11919 fi
11920
11921 LD="$lt_cv_path_LD"
11922 if test -n "$LD"; then
11923   { echo "$as_me:$LINENO: result: $LD" >&5
11924 echo "${ECHO_T}$LD" >&6; }
11925 else
11926   { echo "$as_me:$LINENO: result: no" >&5
11927 echo "${ECHO_T}no" >&6; }
11928 fi
11929 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
11930 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
11931    { (exit 1); exit 1; }; }
11932 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
11933 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
11934 if test "${lt_cv_prog_gnu_ld+set}" = set; then
11935   echo $ECHO_N "(cached) $ECHO_C" >&6
11936 else
11937   # I'd rather use --version here, but apparently some GNU lds only accept -v.
11938 case `$LD -v 2>&1 </dev/null` in
11939 *GNU* | *'with BFD'*)
11940   lt_cv_prog_gnu_ld=yes
11941   ;;
11942 *)
11943   lt_cv_prog_gnu_ld=no
11944   ;;
11945 esac
11946 fi
11947 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
11948 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
11949 with_gnu_ld=$lt_cv_prog_gnu_ld
11950
11951
11952
11953
11954
11955
11956
11957       # Check if GNU C++ uses GNU ld as the underlying linker, since the
11958       # archiving commands below assume that GNU ld is being used.
11959       if test "$with_gnu_ld" = yes; then
11960         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11961         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'
11962
11963         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11964         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11965
11966         # If archive_cmds runs LD, not CC, wlarc should be empty
11967         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11968         #     investigate it a little bit more. (MM)
11969         wlarc='${wl}'
11970
11971         # ancient GNU ld didn't support --whole-archive et. al.
11972         if eval "`$CC -print-prog-name=ld` --help 2>&1" |
11973           $GREP 'no-whole-archive' > /dev/null; then
11974           whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11975         else
11976           whole_archive_flag_spec_CXX=
11977         fi
11978       else
11979         with_gnu_ld=no
11980         wlarc=
11981
11982         # A generic and very simple default shared library creation
11983         # command for GNU C++ for the case where it uses the native
11984         # linker, instead of GNU ld.  If possible, this setting should
11985         # overridden to take advantage of the native linker features on
11986         # the platform it is being used on.
11987         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11988       fi
11989
11990       # Commands to make compiler produce verbose output that lists
11991       # what "hidden" libraries, object files and flags are used when
11992       # linking a shared library.
11993       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
11994
11995     else
11996       GXX=no
11997       with_gnu_ld=no
11998       wlarc=
11999     fi
12000
12001     # PORTME: fill in a description of your system's C++ link characteristics
12002     { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12003 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
12004     ld_shlibs_CXX=yes
12005     case $host_os in
12006       aix3*)
12007         # FIXME: insert proper C++ library support
12008         ld_shlibs_CXX=no
12009         ;;
12010       aix4* | aix5*)
12011         if test "$host_cpu" = ia64; then
12012           # On IA64, the linker does run time linking by default, so we don't
12013           # have to do anything special.
12014           aix_use_runtimelinking=no
12015           exp_sym_flag='-Bexport'
12016           no_entry_flag=""
12017         else
12018           aix_use_runtimelinking=no
12019
12020           # Test if we are trying to use run time linking or normal
12021           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12022           # need to do runtime linking.
12023           case $host_os in aix4.[23]|aix4.[23].*|aix5*)
12024             for ld_flag in $LDFLAGS; do
12025               case $ld_flag in
12026               *-brtl*)
12027                 aix_use_runtimelinking=yes
12028                 break
12029                 ;;
12030               esac
12031             done
12032             ;;
12033           esac
12034
12035           exp_sym_flag='-bexport'
12036           no_entry_flag='-bnoentry'
12037         fi
12038
12039         # When large executables or shared objects are built, AIX ld can
12040         # have problems creating the table of contents.  If linking a library
12041         # or program results in "error TOC overflow" add -mminimal-toc to
12042         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
12043         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12044
12045         archive_cmds_CXX=''
12046         hardcode_direct_CXX=yes
12047         hardcode_direct_absolute_CXX=yes
12048         hardcode_libdir_separator_CXX=':'
12049         link_all_deplibs_CXX=yes
12050         file_list_spec_CXX='${wl}-f,'
12051
12052         if test "$GXX" = yes; then
12053           case $host_os in aix4.[012]|aix4.[012].*)
12054           # We only want to do this on AIX 4.2 and lower, the check
12055           # below for broken collect2 doesn't work under 4.3+
12056           collect2name=`${CC} -print-prog-name=collect2`
12057           if test -f "$collect2name" &&
12058              strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12059           then
12060             # We have reworked collect2
12061             :
12062           else
12063             # We have old collect2
12064             hardcode_direct_CXX=unsupported
12065             # It fails to find uninstalled libraries when the uninstalled
12066             # path is not listed in the libpath.  Setting hardcode_minus_L
12067             # to unsupported forces relinking
12068             hardcode_minus_L_CXX=yes
12069             hardcode_libdir_flag_spec_CXX='-L$libdir'
12070             hardcode_libdir_separator_CXX=
12071           fi
12072           esac
12073           shared_flag='-shared'
12074           if test "$aix_use_runtimelinking" = yes; then
12075             shared_flag="$shared_flag "'${wl}-G'
12076           fi
12077         else
12078           # not using gcc
12079           if test "$host_cpu" = ia64; then
12080           # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12081           # chokes on -Wl,-G. The following line is correct:
12082           shared_flag='-G'
12083           else
12084             if test "$aix_use_runtimelinking" = yes; then
12085               shared_flag='${wl}-G'
12086             else
12087               shared_flag='${wl}-bM:SRE'
12088             fi
12089           fi
12090         fi
12091
12092         # It seems that -bexpall does not export symbols beginning with
12093         # underscore (_), so it is better to generate a list of symbols to
12094         # export.
12095         always_export_symbols_CXX=yes
12096         if test "$aix_use_runtimelinking" = yes; then
12097           # Warning - without using the other runtime loading flags (-brtl),
12098           # -berok will link without error, but may produce a broken library.
12099           allow_undefined_flag_CXX='-berok'
12100           # Determine the default libpath from the value encoded in an empty
12101           # executable.
12102           if test x$gcc_no_link = xyes; then
12103   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12104 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12105    { (exit 1); exit 1; }; }
12106 fi
12107 cat >conftest.$ac_ext <<_ACEOF
12108 /* confdefs.h.  */
12109 _ACEOF
12110 cat confdefs.h >>conftest.$ac_ext
12111 cat >>conftest.$ac_ext <<_ACEOF
12112 /* end confdefs.h.  */
12113
12114 int
12115 main ()
12116 {
12117
12118   ;
12119   return 0;
12120 }
12121 _ACEOF
12122 rm -f conftest.$ac_objext conftest$ac_exeext
12123 if { (ac_try="$ac_link"
12124 case "(($ac_try" in
12125   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12126   *) ac_try_echo=$ac_try;;
12127 esac
12128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12129   (eval "$ac_link") 2>conftest.er1
12130   ac_status=$?
12131   grep -v '^ *+' conftest.er1 >conftest.err
12132   rm -f conftest.er1
12133   cat conftest.err >&5
12134   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12135   (exit $ac_status); } && {
12136          test -z "$ac_cxx_werror_flag" ||
12137          test ! -s conftest.err
12138        } && test -s conftest$ac_exeext &&
12139        $as_test_x conftest$ac_exeext; then
12140
12141 lt_aix_libpath_sed='
12142     /Import File Strings/,/^$/ {
12143         /^0/ {
12144             s/^0  *\(.*\)$/\1/
12145             p
12146         }
12147     }'
12148 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12149 # Check for a 64-bit object if we didn't find anything.
12150 if test -z "$aix_libpath"; then
12151   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12152 fi
12153 else
12154   echo "$as_me: failed program was:" >&5
12155 sed 's/^/| /' conftest.$ac_ext >&5
12156
12157
12158 fi
12159
12160 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12161       conftest$ac_exeext conftest.$ac_ext
12162 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12163
12164           hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12165
12166           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"
12167         else
12168           if test "$host_cpu" = ia64; then
12169             hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12170             allow_undefined_flag_CXX="-z nodefs"
12171             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"
12172           else
12173             # Determine the default libpath from the value encoded in an
12174             # empty executable.
12175             if test x$gcc_no_link = xyes; then
12176   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12177 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12178    { (exit 1); exit 1; }; }
12179 fi
12180 cat >conftest.$ac_ext <<_ACEOF
12181 /* confdefs.h.  */
12182 _ACEOF
12183 cat confdefs.h >>conftest.$ac_ext
12184 cat >>conftest.$ac_ext <<_ACEOF
12185 /* end confdefs.h.  */
12186
12187 int
12188 main ()
12189 {
12190
12191   ;
12192   return 0;
12193 }
12194 _ACEOF
12195 rm -f conftest.$ac_objext conftest$ac_exeext
12196 if { (ac_try="$ac_link"
12197 case "(($ac_try" in
12198   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12199   *) ac_try_echo=$ac_try;;
12200 esac
12201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12202   (eval "$ac_link") 2>conftest.er1
12203   ac_status=$?
12204   grep -v '^ *+' conftest.er1 >conftest.err
12205   rm -f conftest.er1
12206   cat conftest.err >&5
12207   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12208   (exit $ac_status); } && {
12209          test -z "$ac_cxx_werror_flag" ||
12210          test ! -s conftest.err
12211        } && test -s conftest$ac_exeext &&
12212        $as_test_x conftest$ac_exeext; then
12213
12214 lt_aix_libpath_sed='
12215     /Import File Strings/,/^$/ {
12216         /^0/ {
12217             s/^0  *\(.*\)$/\1/
12218             p
12219         }
12220     }'
12221 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12222 # Check for a 64-bit object if we didn't find anything.
12223 if test -z "$aix_libpath"; then
12224   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12225 fi
12226 else
12227   echo "$as_me: failed program was:" >&5
12228 sed 's/^/| /' conftest.$ac_ext >&5
12229
12230
12231 fi
12232
12233 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12234       conftest$ac_exeext conftest.$ac_ext
12235 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12236
12237             hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12238             # Warning - without using the other run time loading flags,
12239             # -berok will link without error, but may produce a broken library.
12240             no_undefined_flag_CXX=' ${wl}-bernotok'
12241             allow_undefined_flag_CXX=' ${wl}-berok'
12242             # Exported symbols can be pulled into shared objects from archives
12243             whole_archive_flag_spec_CXX='$convenience'
12244             archive_cmds_need_lc_CXX=yes
12245             # This is similar to how AIX traditionally builds its shared
12246             # libraries.
12247             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'
12248           fi
12249         fi
12250         ;;
12251
12252       beos*)
12253         if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12254           allow_undefined_flag_CXX=unsupported
12255           # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12256           # support --undefined.  This deserves some investigation.  FIXME
12257           archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12258         else
12259           ld_shlibs_CXX=no
12260         fi
12261         ;;
12262
12263       chorus*)
12264         case $cc_basename in
12265           *)
12266           # FIXME: insert proper C++ library support
12267           ld_shlibs_CXX=no
12268           ;;
12269         esac
12270         ;;
12271
12272       cygwin* | mingw* | pw32*)
12273         # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12274         # as there is no search path for DLLs.
12275         hardcode_libdir_flag_spec_CXX='-L$libdir'
12276         allow_undefined_flag_CXX=unsupported
12277         always_export_symbols_CXX=no
12278         enable_shared_with_static_runtimes_CXX=yes
12279
12280         if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12281           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'
12282           # If the export-symbols file already is a .def file (1st line
12283           # is EXPORTS), use it as is; otherwise, prepend...
12284           archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12285             cp $export_symbols $output_objdir/$soname.def;
12286           else
12287             echo EXPORTS > $output_objdir/$soname.def;
12288             cat $export_symbols >> $output_objdir/$soname.def;
12289           fi~
12290           $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'
12291         else
12292           ld_shlibs_CXX=no
12293         fi
12294         ;;
12295       darwin* | rhapsody*)
12296         case $host_os in
12297           rhapsody* | darwin1.[012])
12298             allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
12299             ;;
12300           *) # Darwin 1.3 on
12301             case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
12302               10.[012])
12303                 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
12304                 ;;
12305               10.*)
12306                 allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
12307                 ;;
12308             esac
12309             ;;
12310         esac
12311         archive_cmds_need_lc_CXX=no
12312         hardcode_direct_CXX=no
12313         hardcode_automatic_CXX=yes
12314         hardcode_shlibpath_var_CXX=unsupported
12315         whole_archive_flag_spec_CXX=''
12316         link_all_deplibs_CXX=yes
12317
12318         if test "$GXX" = yes ; then
12319           if test "${lt_cv_apple_cc_single_mod+set}" = set; then
12320   echo $ECHO_N "(cached) $ECHO_C" >&6
12321 else
12322   lt_cv_apple_cc_single_mod=no
12323           if test -z "${LT_MULTI_MODULE}"; then
12324             # By default we will add the -single_module flag. You can override
12325             # by either setting the environment variable LT_MULTI_MODULE
12326             # non-empty at configure time, or by adding -multi-module to the
12327             # link flags.
12328             echo "int foo(void){return 1;}" > conftest.c
12329             $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
12330                 -dynamiclib ${wl}-single_module conftest.c
12331             if test -f libconftest.dylib; then
12332                 lt_cv_apple_cc_single_mod=yes
12333                 rm libconftest.dylib
12334             fi
12335             rm conftest.$ac_ext
12336           fi
12337 fi
12338
12339           output_verbose_link_cmd=echo
12340           if test "X$lt_cv_apple_cc_single_mod" = Xyes ; then
12341            archive_cmds_CXX='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
12342             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}'
12343           else
12344             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'
12345             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}'
12346           fi
12347           module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
12348           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}'
12349         else
12350           case $cc_basename in
12351             xlc*)
12352               output_verbose_link_cmd=echo
12353               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'
12354               module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
12355               # Don't fix this by using the ld -exported_symbols_list flag,
12356               # it doesn't exist in older darwin lds
12357               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}'
12358               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}'
12359               ;;
12360             *)
12361               ld_shlibs_CXX=no
12362               ;;
12363           esac
12364         fi
12365         ;;
12366
12367       dgux*)
12368         case $cc_basename in
12369           ec++*)
12370             # FIXME: insert proper C++ library support
12371             ld_shlibs_CXX=no
12372             ;;
12373           ghcx*)
12374             # Green Hills C++ Compiler
12375             # FIXME: insert proper C++ library support
12376             ld_shlibs_CXX=no
12377             ;;
12378           *)
12379             # FIXME: insert proper C++ library support
12380             ld_shlibs_CXX=no
12381             ;;
12382         esac
12383         ;;
12384
12385       freebsd[12]*)
12386         # C++ shared libraries reported to be fairly broken before
12387         # switch to ELF
12388         ld_shlibs_CXX=no
12389         ;;
12390
12391       freebsd-elf*)
12392         archive_cmds_need_lc_CXX=no
12393         ;;
12394
12395       freebsd* | dragonfly*)
12396         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12397         # conventions
12398         ld_shlibs_CXX=yes
12399         ;;
12400
12401       gnu*)
12402         ;;
12403
12404       hpux9*)
12405         hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12406         hardcode_libdir_separator_CXX=:
12407         export_dynamic_flag_spec_CXX='${wl}-E'
12408         hardcode_direct_CXX=yes
12409         hardcode_minus_L_CXX=yes # Not in the search PATH,
12410                                              # but as the default
12411                                              # location of the library.
12412
12413         case $cc_basename in
12414           CC*)
12415             # FIXME: insert proper C++ library support
12416             ld_shlibs_CXX=no
12417             ;;
12418           aCC*)
12419             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'
12420             # Commands to make compiler produce verbose output that lists
12421             # what "hidden" libraries, object files and flags are used when
12422             # linking a shared library.
12423             #
12424             # There doesn't appear to be a way to prevent this compiler from
12425             # explicitly linking system object files so we need to strip them
12426             # from the output so that they don't get included in the library
12427             # dependencies.
12428             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'
12429             ;;
12430           *)
12431             if test "$GXX" = yes; then
12432               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'
12433             else
12434               # FIXME: insert proper C++ library support
12435               ld_shlibs_CXX=no
12436             fi
12437             ;;
12438         esac
12439         ;;
12440
12441       hpux10*|hpux11*)
12442         if test $with_gnu_ld = no; then
12443           hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12444           hardcode_libdir_separator_CXX=:
12445
12446           case $host_cpu in
12447             hppa*64*|ia64*)
12448               ;;
12449             *)
12450               export_dynamic_flag_spec_CXX='${wl}-E'
12451               ;;
12452           esac
12453         fi
12454         case $host_cpu in
12455           hppa*64*|ia64*)
12456             hardcode_direct_CXX=no
12457             hardcode_shlibpath_var_CXX=no
12458             ;;
12459           *)
12460             hardcode_direct_CXX=yes
12461             hardcode_direct_absolute_CXX=yes
12462             hardcode_minus_L_CXX=yes # Not in the search PATH,
12463                                                  # but as the default
12464                                                  # location of the library.
12465             ;;
12466         esac
12467
12468         case $cc_basename in
12469           CC*)
12470             # FIXME: insert proper C++ library support
12471             ld_shlibs_CXX=no
12472             ;;
12473           aCC*)
12474             case $host_cpu in
12475               hppa*64*)
12476                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12477                 ;;
12478               ia64*)
12479                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12480                 ;;
12481               *)
12482                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12483                 ;;
12484             esac
12485             # Commands to make compiler produce verbose output that lists
12486             # what "hidden" libraries, object files and flags are used when
12487             # linking a shared library.
12488             #
12489             # There doesn't appear to be a way to prevent this compiler from
12490             # explicitly linking system object files so we need to strip them
12491             # from the output so that they don't get included in the library
12492             # dependencies.
12493             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'
12494             ;;
12495           *)
12496             if test "$GXX" = yes; then
12497               if test $with_gnu_ld = no; then
12498                 case $host_cpu in
12499                   hppa*64*)
12500                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12501                     ;;
12502                   ia64*)
12503                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12504                     ;;
12505                   *)
12506                     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'
12507                     ;;
12508                 esac
12509               fi
12510             else
12511               # FIXME: insert proper C++ library support
12512               ld_shlibs_CXX=no
12513             fi
12514             ;;
12515         esac
12516         ;;
12517
12518       interix[3-9]*)
12519         hardcode_direct_CXX=no
12520         hardcode_shlibpath_var_CXX=no
12521         hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12522         export_dynamic_flag_spec_CXX='${wl}-E'
12523         # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12524         # Instead, shared libraries are loaded at an image base (0x10000000 by
12525         # default) and relocated if they conflict, which is a slow very memory
12526         # consuming and fragmenting process.  To avoid this, we pick a random,
12527         # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12528         # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
12529         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'
12530         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'
12531         ;;
12532       irix5* | irix6*)
12533         case $cc_basename in
12534           CC*)
12535             # SGI C++
12536             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'
12537
12538             # Archives containing C++ object files must be created using
12539             # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
12540             # necessary to make sure instantiated templates are included
12541             # in the archive.
12542             old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12543             ;;
12544           *)
12545             if test "$GXX" = yes; then
12546               if test "$with_gnu_ld" = no; then
12547                 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'
12548               else
12549                 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'
12550               fi
12551             fi
12552             link_all_deplibs_CXX=yes
12553             ;;
12554         esac
12555         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12556         hardcode_libdir_separator_CXX=:
12557         inherit_rpath_CXX=yes
12558         ;;
12559
12560       linux* | k*bsd*-gnu)
12561         case $cc_basename in
12562           KCC*)
12563             # Kuck and Associates, Inc. (KAI) C++ Compiler
12564
12565             # KCC will only create a shared library if the output file
12566             # ends with ".so" (or ".sl" for HP-UX), so rename the library
12567             # to its proper name (with version) after linking.
12568             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'
12569             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'
12570             # Commands to make compiler produce verbose output that lists
12571             # what "hidden" libraries, object files and flags are used when
12572             # linking a shared library.
12573             #
12574             # There doesn't appear to be a way to prevent this compiler from
12575             # explicitly linking system object files so we need to strip them
12576             # from the output so that they don't get included in the library
12577             # dependencies.
12578             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'
12579
12580             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12581             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12582
12583             # Archives containing C++ object files must be created using
12584             # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12585             old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12586             ;;
12587           icpc* | ecpc* )
12588             # Intel C++
12589             with_gnu_ld=yes
12590             # version 8.0 and above of icpc choke on multiply defined symbols
12591             # if we add $predep_objects and $postdep_objects, however 7.1 and
12592             # earlier do not add the objects themselves.
12593             case `$CC -V 2>&1` in
12594               *"Version 7."*)
12595                 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12596                 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'
12597                 ;;
12598               *)  # Version 8.0 or newer
12599                 tmp_idyn=
12600                 case $host_cpu in
12601                   ia64*) tmp_idyn=' -i_dynamic';;
12602                 esac
12603                 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12604                 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'
12605                 ;;
12606             esac
12607             archive_cmds_need_lc_CXX=no
12608             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12609             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12610             whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12611             ;;
12612           pgCC*)
12613             # Portland Group C++ compiler
12614             case `$CC -V` in
12615             *pgCC\ [1-5]*)
12616               prelink_cmds_CXX='tpldir=Template.dir~
12617                 rm -rf $tpldir~
12618                 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12619                 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12620               old_archive_cmds_CXX='tpldir=Template.dir~
12621                 rm -rf $tpldir~
12622                 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12623                 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12624                 $RANLIB $oldlib'
12625               archive_cmds_CXX='tpldir=Template.dir~
12626                 rm -rf $tpldir~
12627                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12628                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12629               archive_expsym_cmds_CXX='tpldir=Template.dir~
12630                 rm -rf $tpldir~
12631                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12632                 $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'
12633               ;;
12634             *) # Version 6 will use weak symbols
12635               archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12636               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'
12637               ;;
12638             esac
12639
12640             hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12641             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12642             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'
12643             ;;
12644           cxx*)
12645             # Compaq C++
12646             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12647             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'
12648
12649             runpath_var=LD_RUN_PATH
12650             hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12651             hardcode_libdir_separator_CXX=:
12652
12653             # Commands to make compiler produce verbose output that lists
12654             # what "hidden" libraries, object files and flags are used when
12655             # linking a shared library.
12656             #
12657             # There doesn't appear to be a way to prevent this compiler from
12658             # explicitly linking system object files so we need to strip them
12659             # from the output so that they don't get included in the library
12660             # dependencies.
12661             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'
12662             ;;
12663           *)
12664             case `$CC -V 2>&1 | sed 5q` in
12665             *Sun\ C*)
12666               # Sun C++ 5.9
12667               no_undefined_flag_CXX=' -zdefs'
12668               archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12669               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'
12670               hardcode_libdir_flag_spec_CXX='-R$libdir'
12671               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'
12672               compiler_needs_object_CXX=yes
12673
12674               # Not sure whether something based on
12675               # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12676               # would be better.
12677               output_verbose_link_cmd='echo'
12678
12679               # Archives containing C++ object files must be created using
12680               # "CC -xar", where "CC" is the Sun C++ compiler.  This is
12681               # necessary to make sure instantiated templates are included
12682               # in the archive.
12683               old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12684               ;;
12685             esac
12686             ;;
12687         esac
12688         ;;
12689
12690       lynxos*)
12691         # FIXME: insert proper C++ library support
12692         ld_shlibs_CXX=no
12693         ;;
12694
12695       m88k*)
12696         # FIXME: insert proper C++ library support
12697         ld_shlibs_CXX=no
12698         ;;
12699
12700       mvs*)
12701         case $cc_basename in
12702           cxx*)
12703             # FIXME: insert proper C++ library support
12704             ld_shlibs_CXX=no
12705             ;;
12706           *)
12707             # FIXME: insert proper C++ library support
12708             ld_shlibs_CXX=no
12709             ;;
12710         esac
12711         ;;
12712
12713       netbsd*)
12714         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12715           archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12716           wlarc=
12717           hardcode_libdir_flag_spec_CXX='-R$libdir'
12718           hardcode_direct_CXX=yes
12719           hardcode_shlibpath_var_CXX=no
12720         fi
12721         # Workaround some broken pre-1.5 toolchains
12722         output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12723         ;;
12724
12725       *nto* | *qnx*)
12726         ld_shlibs_CXX=yes
12727         ;;
12728
12729       openbsd2*)
12730         # C++ shared libraries are fairly broken
12731         ld_shlibs_CXX=no
12732         ;;
12733
12734       openbsd*)
12735         hardcode_direct_CXX=yes
12736         hardcode_shlibpath_var_CXX=no
12737         hardcode_direct_absolute_CXX=yes
12738         archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12739         hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12740         if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12741           archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12742           export_dynamic_flag_spec_CXX='${wl}-E'
12743           whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12744         fi
12745         output_verbose_link_cmd=echo
12746         ;;
12747
12748       osf3* | osf4* | osf5*)
12749         case $cc_basename in
12750           KCC*)
12751             # Kuck and Associates, Inc. (KAI) C++ Compiler
12752
12753             # KCC will only create a shared library if the output file
12754             # ends with ".so" (or ".sl" for HP-UX), so rename the library
12755             # to its proper name (with version) after linking.
12756             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'
12757
12758             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12759             hardcode_libdir_separator_CXX=:
12760
12761             # Archives containing C++ object files must be created using
12762             # the KAI C++ compiler.
12763             case $host in
12764               osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
12765               *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
12766             esac
12767             ;;
12768           RCC*)
12769             # Rational C++ 2.4.1
12770             # FIXME: insert proper C++ library support
12771             ld_shlibs_CXX=no
12772             ;;
12773           cxx*)
12774             case $host in
12775               osf3*)
12776                 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12777                 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'
12778                 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12779                 ;;
12780               *)
12781                 allow_undefined_flag_CXX=' -expect_unresolved \*'
12782                 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'
12783                 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12784                   echo "-hidden">> $lib.exp~
12785                   $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~
12786                   $RM $lib.exp'
12787                 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12788                 ;;
12789             esac
12790
12791             hardcode_libdir_separator_CXX=:
12792
12793             # Commands to make compiler produce verbose output that lists
12794             # what "hidden" libraries, object files and flags are used when
12795             # linking a shared library.
12796             #
12797             # There doesn't appear to be a way to prevent this compiler from
12798             # explicitly linking system object files so we need to strip them
12799             # from the output so that they don't get included in the library
12800             # dependencies.
12801             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'
12802             ;;
12803           *)
12804             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12805               allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12806               case $host in
12807                 osf3*)
12808                   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'
12809                   ;;
12810                 *)
12811                   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'
12812                   ;;
12813               esac
12814
12815               hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12816               hardcode_libdir_separator_CXX=:
12817
12818               # Commands to make compiler produce verbose output that lists
12819               # what "hidden" libraries, object files and flags are used when
12820               # linking a shared library.
12821               output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12822
12823             else
12824               # FIXME: insert proper C++ library support
12825               ld_shlibs_CXX=no
12826             fi
12827             ;;
12828         esac
12829         ;;
12830
12831       psos*)
12832         # FIXME: insert proper C++ library support
12833         ld_shlibs_CXX=no
12834         ;;
12835
12836       sunos4*)
12837         case $cc_basename in
12838           CC*)
12839             # Sun C++ 4.x
12840             # FIXME: insert proper C++ library support
12841             ld_shlibs_CXX=no
12842             ;;
12843           lcc*)
12844             # Lucid
12845             # FIXME: insert proper C++ library support
12846             ld_shlibs_CXX=no
12847             ;;
12848           *)
12849             # FIXME: insert proper C++ library support
12850             ld_shlibs_CXX=no
12851             ;;
12852         esac
12853         ;;
12854
12855       solaris*)
12856         case $cc_basename in
12857           CC*)
12858             # Sun C++ 4.2, 5.x and Centerline C++
12859             archive_cmds_need_lc_CXX=yes
12860             no_undefined_flag_CXX=' -zdefs'
12861             archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12862             archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12863               $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'
12864
12865             hardcode_libdir_flag_spec_CXX='-R$libdir'
12866             hardcode_shlibpath_var_CXX=no
12867             case $host_os in
12868               solaris2.[0-5] | solaris2.[0-5].*) ;;
12869               *)
12870                 # The compiler driver will combine and reorder linker options,
12871                 # but understands `-z linker_flag'.
12872                 # Supported since Solaris 2.6 (maybe 2.5.1?)
12873                 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
12874                 ;;
12875             esac
12876             link_all_deplibs_CXX=yes
12877
12878             output_verbose_link_cmd='echo'
12879
12880             # Archives containing C++ object files must be created using
12881             # "CC -xar", where "CC" is the Sun C++ compiler.  This is
12882             # necessary to make sure instantiated templates are included
12883             # in the archive.
12884             old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12885             ;;
12886           gcx*)
12887             # Green Hills C++ Compiler
12888             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12889
12890             # The C++ compiler must be used to create the archive.
12891             old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12892             ;;
12893           *)
12894             # GNU C++ compiler with Solaris linker
12895             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12896               no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
12897               if $CC --version | $GREP -v '^2\.7' > /dev/null; then
12898                 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12899                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12900                   $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12901
12902                 # Commands to make compiler produce verbose output that lists
12903                 # what "hidden" libraries, object files and flags are used when
12904                 # linking a shared library.
12905                 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12906               else
12907                 # g++ 2.7 appears to require `-G' NOT `-shared' on this
12908                 # platform.
12909                 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12910                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12911                   $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12912
12913                 # Commands to make compiler produce verbose output that lists
12914                 # what "hidden" libraries, object files and flags are used when
12915                 # linking a shared library.
12916                 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12917               fi
12918
12919               hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
12920               case $host_os in
12921                 solaris2.[0-5] | solaris2.[0-5].*) ;;
12922                 *)
12923                   whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12924                   ;;
12925               esac
12926             fi
12927             ;;
12928         esac
12929         ;;
12930
12931     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
12932       no_undefined_flag_CXX='${wl}-z,text'
12933       archive_cmds_need_lc_CXX=no
12934       hardcode_shlibpath_var_CXX=no
12935       runpath_var='LD_RUN_PATH'
12936
12937       case $cc_basename in
12938         CC*)
12939           archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12940           archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12941           ;;
12942         *)
12943           archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12944           archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12945           ;;
12946       esac
12947       ;;
12948
12949       sysv5* | sco3.2v5* | sco5v6*)
12950         # Note: We can NOT use -z defs as we might desire, because we do not
12951         # link with -lc, and that would cause any symbols used from libc to
12952         # always be unresolved, which means just about no library would
12953         # ever link correctly.  If we're not using GNU ld we use -z text
12954         # though, which does catch some bad symbols but isn't as heavy-handed
12955         # as -z defs.
12956         no_undefined_flag_CXX='${wl}-z,text'
12957         allow_undefined_flag_CXX='${wl}-z,nodefs'
12958         archive_cmds_need_lc_CXX=no
12959         hardcode_shlibpath_var_CXX=no
12960         hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
12961         hardcode_libdir_separator_CXX=':'
12962         link_all_deplibs_CXX=yes
12963         export_dynamic_flag_spec_CXX='${wl}-Bexport'
12964         runpath_var='LD_RUN_PATH'
12965
12966         case $cc_basename in
12967           CC*)
12968             archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12969             archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12970             ;;
12971           *)
12972             archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12973             archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12974             ;;
12975         esac
12976       ;;
12977
12978       tandem*)
12979         case $cc_basename in
12980           NCC*)
12981             # NonStop-UX NCC 3.20
12982             # FIXME: insert proper C++ library support
12983             ld_shlibs_CXX=no
12984             ;;
12985           *)
12986             # FIXME: insert proper C++ library support
12987             ld_shlibs_CXX=no
12988             ;;
12989         esac
12990         ;;
12991
12992       vxworks*)
12993         # FIXME: insert proper C++ library support
12994         ld_shlibs_CXX=no
12995         ;;
12996
12997       *)
12998         # FIXME: insert proper C++ library support
12999         ld_shlibs_CXX=no
13000         ;;
13001     esac
13002
13003     { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
13004 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
13005     test "$ld_shlibs_CXX" = no && can_build_shared=no
13006
13007     GCC_CXX="$GXX"
13008     LD_CXX="$LD"
13009
13010     ## CAVEAT EMPTOR:
13011     ## There is no encapsulation within the following macros, do not change
13012     ## the running order or otherwise move them around unless you know exactly
13013     ## what you are doing...
13014     # Dependencies to place before and after the object being linked:
13015 predep_objects_CXX=
13016 postdep_objects_CXX=
13017 predeps_CXX=
13018 postdeps_CXX=
13019 compiler_lib_search_path_CXX=
13020
13021 cat > conftest.$ac_ext <<_LT_EOF
13022 class Foo
13023 {
13024 public:
13025   Foo (void) { a = 0; }
13026 private:
13027   int a;
13028 };
13029 _LT_EOF
13030
13031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13032   (eval $ac_compile) 2>&5
13033   ac_status=$?
13034   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13035   (exit $ac_status); }; then
13036   # Parse the compiler output and extract the necessary
13037   # objects, libraries and library flags.
13038
13039   # Sentinel used to keep track of whether or not we are before
13040   # the conftest object file.
13041   pre_test_object_deps_done=no
13042
13043   # The `*' in the case matches for architectures that use `case' in
13044   # $output_verbose_cmd can trigger glob expansion during the loop
13045   # eval without this substitution.
13046   output_verbose_link_cmd=`$ECHO "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
13047
13048   for p in `eval $output_verbose_link_cmd`; do
13049     case $p in
13050
13051     -L* | -R* | -l*)
13052        # Some compilers place space between "-{L,R}" and the path.
13053        # Remove the space.
13054        if test $p = "-L" ||
13055           test $p = "-R"; then
13056          prev=$p
13057          continue
13058        else
13059          prev=
13060        fi
13061
13062        if test "$pre_test_object_deps_done" = no; then
13063          case $p in
13064          -L* | -R*)
13065            # Internal compiler library paths should come after those
13066            # provided the user.  The postdeps already come after the
13067            # user supplied libs so there is no need to process them.
13068            if test -z "$compiler_lib_search_path_CXX"; then
13069              compiler_lib_search_path_CXX="${prev}${p}"
13070            else
13071              compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13072            fi
13073            ;;
13074          # The "-l" case would never come before the object being
13075          # linked, so don't bother handling this case.
13076          esac
13077        else
13078          if test -z "$postdeps_CXX"; then
13079            postdeps_CXX="${prev}${p}"
13080          else
13081            postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13082          fi
13083        fi
13084        ;;
13085
13086     *.$objext)
13087        # This assumes that the test object file only shows up
13088        # once in the compiler output.
13089        if test "$p" = "conftest.$objext"; then
13090          pre_test_object_deps_done=yes
13091          continue
13092        fi
13093
13094        if test "$pre_test_object_deps_done" = no; then
13095          if test -z "$predep_objects_CXX"; then
13096            predep_objects_CXX="$p"
13097          else
13098            predep_objects_CXX="$predep_objects_CXX $p"
13099          fi
13100        else
13101          if test -z "$postdep_objects_CXX"; then
13102            postdep_objects_CXX="$p"
13103          else
13104            postdep_objects_CXX="$postdep_objects_CXX $p"
13105          fi
13106        fi
13107        ;;
13108
13109     *) ;; # Ignore the rest.
13110
13111     esac
13112   done
13113
13114   # Clean up.
13115   rm -f a.out a.exe
13116 else
13117   echo "libtool.m4: error: problem compiling CXX test program"
13118 fi
13119
13120 $RM -f confest.$objext
13121
13122 # PORTME: override above test on systems where it is broken
13123 case $host_os in
13124 interix[3-9]*)
13125   # Interix 3.5 installs completely hosed .la files for C++, so rather than
13126   # hack all around it, let's just trust "g++" to DTRT.
13127   predep_objects_CXX=
13128   postdep_objects_CXX=
13129   postdeps_CXX=
13130   ;;
13131
13132 linux*)
13133   case `$CC -V 2>&1 | sed 5q` in
13134   *Sun\ C*)
13135     # Sun C++ 5.9
13136
13137     # The more standards-conforming stlport4 library is
13138     # incompatible with the Cstd library. Avoid specifying
13139     # it if it's in CXXFLAGS. Ignore libCrun as
13140     # -library=stlport4 depends on it.
13141     case " $CXX $CXXFLAGS " in
13142     *" -library=stlport4 "*)
13143       solaris_use_stlport4=yes
13144       ;;
13145     esac
13146
13147     if test "$solaris_use_stlport4" != yes; then
13148       postdeps_CXX='-library=Cstd -library=Crun'
13149     fi
13150     ;;
13151   esac
13152   ;;
13153
13154 solaris*)
13155   case $cc_basename in
13156   CC*)
13157     # The more standards-conforming stlport4 library is
13158     # incompatible with the Cstd library. Avoid specifying
13159     # it if it's in CXXFLAGS. Ignore libCrun as
13160     # -library=stlport4 depends on it.
13161     case " $CXX $CXXFLAGS " in
13162     *" -library=stlport4 "*)
13163       solaris_use_stlport4=yes
13164       ;;
13165     esac
13166
13167     # Adding this requires a known-good setup of shared libraries for
13168     # Sun compiler versions before 5.6, else PIC objects from an old
13169     # archive will be linked into the output, leading to subtle bugs.
13170     if test "$solaris_use_stlport4" != yes; then
13171       postdeps_CXX='-library=Cstd -library=Crun'
13172     fi
13173     ;;
13174   esac
13175   ;;
13176 esac
13177
13178
13179 case " $postdeps_CXX " in
13180 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13181 esac
13182
13183
13184
13185
13186
13187
13188
13189
13190
13191
13192
13193
13194
13195
13196
13197
13198
13199
13200
13201
13202
13203
13204
13205
13206
13207
13208     lt_prog_compiler_wl_CXX=
13209 lt_prog_compiler_pic_CXX=
13210 lt_prog_compiler_static_CXX=
13211
13212 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13213 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
13214
13215   # C++ specific cases for pic, static, wl, etc.
13216   if test "$GXX" = yes; then
13217     lt_prog_compiler_wl_CXX='-Wl,'
13218     lt_prog_compiler_static_CXX='-static'
13219
13220     case $host_os in
13221     aix*)
13222       # All AIX code is PIC.
13223       if test "$host_cpu" = ia64; then
13224         # AIX 5 now supports IA64 processor
13225         lt_prog_compiler_static_CXX='-Bstatic'
13226       fi
13227       ;;
13228     amigaos*)
13229       if test "$host_cpu" = m68k; then
13230         # FIXME: we need at least 68020 code to build shared libraries, but
13231         # adding the `-m68020' flag to GCC prevents building anything better,
13232         # like `-m68040'.
13233         lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13234       fi
13235       ;;
13236     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13237       # PIC is the default for these OSes.
13238       ;;
13239     mingw* | cygwin* | os2* | pw32*)
13240       # This hack is so that the source file can tell whether it is being
13241       # built for inclusion in a dll (and should export symbols for example).
13242       # Although the cygwin gcc ignores -fPIC, still need this for old-style
13243       # (--disable-auto-import) libraries
13244       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13245       ;;
13246     darwin* | rhapsody*)
13247       # PIC is the default on this platform
13248       # Common symbols not allowed in MH_DYLIB files
13249       lt_prog_compiler_pic_CXX='-fno-common'
13250       ;;
13251     *djgpp*)
13252       # DJGPP does not support shared libraries at all
13253       lt_prog_compiler_pic_CXX=
13254       ;;
13255     interix[3-9]*)
13256       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13257       # Instead, we relocate shared libraries at runtime.
13258       ;;
13259     sysv4*MP*)
13260       if test -d /usr/nec; then
13261         lt_prog_compiler_pic_CXX=-Kconform_pic
13262       fi
13263       ;;
13264     hpux*)
13265       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13266       # not for PA HP-UX.
13267       case $host_cpu in
13268       hppa*64*|ia64*)
13269         ;;
13270       *)
13271         lt_prog_compiler_pic_CXX='-fPIC'
13272         ;;
13273       esac
13274       ;;
13275     *qnx* | *nto*)
13276       # QNX uses GNU C++, but need to define -shared option too, otherwise
13277       # it will coredump.
13278       lt_prog_compiler_pic_CXX='-fPIC -shared'
13279       ;;
13280     *)
13281       lt_prog_compiler_pic_CXX='-fPIC'
13282       ;;
13283     esac
13284   else
13285     case $host_os in
13286       aix4* | aix5*)
13287         # All AIX code is PIC.
13288         if test "$host_cpu" = ia64; then
13289           # AIX 5 now supports IA64 processor
13290           lt_prog_compiler_static_CXX='-Bstatic'
13291         else
13292           lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13293         fi
13294         ;;
13295       chorus*)
13296         case $cc_basename in
13297         cxch68*)
13298           # Green Hills C++ Compiler
13299           # _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"
13300           ;;
13301         esac
13302         ;;
13303       darwin*)
13304         # PIC is the default on this platform
13305         # Common symbols not allowed in MH_DYLIB files
13306         case $cc_basename in
13307           xlc*)
13308           lt_prog_compiler_pic_CXX='-qnocommon'
13309           lt_prog_compiler_wl_CXX='-Wl,'
13310           ;;
13311         esac
13312         ;;
13313       dgux*)
13314         case $cc_basename in
13315           ec++*)
13316             lt_prog_compiler_pic_CXX='-KPIC'
13317             ;;
13318           ghcx*)
13319             # Green Hills C++ Compiler
13320             lt_prog_compiler_pic_CXX='-pic'
13321             ;;
13322           *)
13323             ;;
13324         esac
13325         ;;
13326       freebsd* | dragonfly*)
13327         # FreeBSD uses GNU C++
13328         ;;
13329       hpux9* | hpux10* | hpux11*)
13330         case $cc_basename in
13331           CC*)
13332             lt_prog_compiler_wl_CXX='-Wl,'
13333             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13334             if test "$host_cpu" != ia64; then
13335               lt_prog_compiler_pic_CXX='+Z'
13336             fi
13337             ;;
13338           aCC*)
13339             lt_prog_compiler_wl_CXX='-Wl,'
13340             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13341             case $host_cpu in
13342             hppa*64*|ia64*)
13343               # +Z the default
13344               ;;
13345             *)
13346               lt_prog_compiler_pic_CXX='+Z'
13347               ;;
13348             esac
13349             ;;
13350           *)
13351             ;;
13352         esac
13353         ;;
13354       interix*)
13355         # This is c89, which is MS Visual C++ (no shared libs)
13356         # Anyone wants to do a port?
13357         ;;
13358       irix5* | irix6* | nonstopux*)
13359         case $cc_basename in
13360           CC*)
13361             lt_prog_compiler_wl_CXX='-Wl,'
13362             lt_prog_compiler_static_CXX='-non_shared'
13363             # CC pic flag -KPIC is the default.
13364             ;;
13365           *)
13366             ;;
13367         esac
13368         ;;
13369       linux* | k*bsd*-gnu)
13370         case $cc_basename in
13371           KCC*)
13372             # KAI C++ Compiler
13373             lt_prog_compiler_wl_CXX='--backend -Wl,'
13374             lt_prog_compiler_pic_CXX='-fPIC'
13375             ;;
13376           icpc* | ecpc* )
13377             # Intel C++
13378             lt_prog_compiler_wl_CXX='-Wl,'
13379             lt_prog_compiler_pic_CXX='-KPIC'
13380             lt_prog_compiler_static_CXX='-static'
13381             ;;
13382           pgCC*)
13383             # Portland Group C++ compiler
13384             lt_prog_compiler_wl_CXX='-Wl,'
13385             lt_prog_compiler_pic_CXX='-fpic'
13386             lt_prog_compiler_static_CXX='-Bstatic'
13387             ;;
13388           cxx*)
13389             # Compaq C++
13390             # Make sure the PIC flag is empty.  It appears that all Alpha
13391             # Linux and Compaq Tru64 Unix objects are PIC.
13392             lt_prog_compiler_pic_CXX=
13393             lt_prog_compiler_static_CXX='-non_shared'
13394             ;;
13395           *)
13396             case `$CC -V 2>&1 | sed 5q` in
13397             *Sun\ C*)
13398               # Sun C++ 5.9
13399               lt_prog_compiler_pic_CXX='-KPIC'
13400               lt_prog_compiler_static_CXX='-Bstatic'
13401               lt_prog_compiler_wl_CXX='-Qoption ld '
13402               ;;
13403             esac
13404             ;;
13405         esac
13406         ;;
13407       lynxos*)
13408         ;;
13409       m88k*)
13410         ;;
13411       mvs*)
13412         case $cc_basename in
13413           cxx*)
13414             lt_prog_compiler_pic_CXX='-W c,exportall'
13415             ;;
13416           *)
13417             ;;
13418         esac
13419         ;;
13420       netbsd*)
13421         ;;
13422       *qnx* | *nto*)
13423         # QNX uses GNU C++, but need to define -shared option too, otherwise
13424         # it will coredump.
13425         lt_prog_compiler_pic_CXX='-fPIC -shared'
13426         ;;
13427       osf3* | osf4* | osf5*)
13428         case $cc_basename in
13429           KCC*)
13430             lt_prog_compiler_wl_CXX='--backend -Wl,'
13431             ;;
13432           RCC*)
13433             # Rational C++ 2.4.1
13434             lt_prog_compiler_pic_CXX='-pic'
13435             ;;
13436           cxx*)
13437             # Digital/Compaq C++
13438             lt_prog_compiler_wl_CXX='-Wl,'
13439             # Make sure the PIC flag is empty.  It appears that all Alpha
13440             # Linux and Compaq Tru64 Unix objects are PIC.
13441             lt_prog_compiler_pic_CXX=
13442             lt_prog_compiler_static_CXX='-non_shared'
13443             ;;
13444           *)
13445             ;;
13446         esac
13447         ;;
13448       psos*)
13449         ;;
13450       solaris*)
13451         case $cc_basename in
13452           CC*)
13453             # Sun C++ 4.2, 5.x and Centerline C++
13454             lt_prog_compiler_pic_CXX='-KPIC'
13455             lt_prog_compiler_static_CXX='-Bstatic'
13456             lt_prog_compiler_wl_CXX='-Qoption ld '
13457             ;;
13458           gcx*)
13459             # Green Hills C++ Compiler
13460             lt_prog_compiler_pic_CXX='-PIC'
13461             ;;
13462           *)
13463             ;;
13464         esac
13465         ;;
13466       sunos4*)
13467         case $cc_basename in
13468           CC*)
13469             # Sun C++ 4.x
13470             lt_prog_compiler_pic_CXX='-pic'
13471             lt_prog_compiler_static_CXX='-Bstatic'
13472             ;;
13473           lcc*)
13474             # Lucid
13475             lt_prog_compiler_pic_CXX='-pic'
13476             ;;
13477           *)
13478             ;;
13479         esac
13480         ;;
13481       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13482         case $cc_basename in
13483           CC*)
13484             lt_prog_compiler_wl_CXX='-Wl,'
13485             lt_prog_compiler_pic_CXX='-KPIC'
13486             lt_prog_compiler_static_CXX='-Bstatic'
13487             ;;
13488         esac
13489         ;;
13490       tandem*)
13491         case $cc_basename in
13492           NCC*)
13493             # NonStop-UX NCC 3.20
13494             lt_prog_compiler_pic_CXX='-KPIC'
13495             ;;
13496           *)
13497             ;;
13498         esac
13499         ;;
13500       vxworks*)
13501         ;;
13502       *)
13503         lt_prog_compiler_can_build_shared_CXX=no
13504         ;;
13505     esac
13506   fi
13507
13508 case $host_os in
13509   # For platforms which do not support PIC, -DPIC is meaningless:
13510   *djgpp*)
13511     lt_prog_compiler_pic_CXX=
13512     ;;
13513   *)
13514     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13515     ;;
13516 esac
13517 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
13518 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
13519
13520
13521
13522 #
13523 # Check to make sure the PIC flag actually works.
13524 #
13525 if test -n "$lt_prog_compiler_pic_CXX"; then
13526   { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13527 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
13528 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
13529   echo $ECHO_N "(cached) $ECHO_C" >&6
13530 else
13531   lt_prog_compiler_pic_works_CXX=no
13532    ac_outfile=conftest.$ac_objext
13533    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13534    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13535    # Insert the option either (1) after the last *FLAGS variable, or
13536    # (2) before a word containing "conftest.", or (3) at the end.
13537    # Note that $ac_compile itself does not contain backslashes and begins
13538    # with a dollar sign (not a hyphen), so the echo should work correctly.
13539    # The option is referenced via a variable to avoid confusing sed.
13540    lt_compile=`echo "$ac_compile" | $SED \
13541    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13542    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13543    -e 's:$: $lt_compiler_flag:'`
13544    (eval echo "\"\$as_me:13544: $lt_compile\"" >&5)
13545    (eval "$lt_compile" 2>conftest.err)
13546    ac_status=$?
13547    cat conftest.err >&5
13548    echo "$as_me:13548: \$? = $ac_status" >&5
13549    if (exit $ac_status) && test -s "$ac_outfile"; then
13550      # The compiler can only warn and ignore the option if not recognized
13551      # So say no if there are warnings other than the usual output.
13552      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
13553      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13554      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13555        lt_prog_compiler_pic_works_CXX=yes
13556      fi
13557    fi
13558    $RM conftest*
13559
13560 fi
13561 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
13562 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
13563
13564 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
13565     case $lt_prog_compiler_pic_CXX in
13566      "" | " "*) ;;
13567      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13568      esac
13569 else
13570     lt_prog_compiler_pic_CXX=
13571      lt_prog_compiler_can_build_shared_CXX=no
13572 fi
13573
13574 fi
13575
13576
13577
13578 #
13579 # Check to make sure the static flag actually works.
13580 #
13581 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13582 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13583 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
13584 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
13585   echo $ECHO_N "(cached) $ECHO_C" >&6
13586 else
13587   lt_prog_compiler_static_works_CXX=no
13588    save_LDFLAGS="$LDFLAGS"
13589    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13590    echo "$lt_simple_link_test_code" > conftest.$ac_ext
13591    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13592      # The linker can only warn and ignore the option if not recognized
13593      # So say no if there are warnings
13594      if test -s conftest.err; then
13595        # Append any errors to the config.log.
13596        cat conftest.err 1>&5
13597        $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
13598        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13599        if diff conftest.exp conftest.er2 >/dev/null; then
13600          lt_prog_compiler_static_works_CXX=yes
13601        fi
13602      else
13603        lt_prog_compiler_static_works_CXX=yes
13604      fi
13605    fi
13606    $RM conftest*
13607    LDFLAGS="$save_LDFLAGS"
13608
13609 fi
13610 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
13611 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
13612
13613 if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
13614     :
13615 else
13616     lt_prog_compiler_static_CXX=
13617 fi
13618
13619
13620
13621
13622     { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13623 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
13624 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
13625   echo $ECHO_N "(cached) $ECHO_C" >&6
13626 else
13627   lt_cv_prog_compiler_c_o_CXX=no
13628    $RM -r conftest 2>/dev/null
13629    mkdir conftest
13630    cd conftest
13631    mkdir out
13632    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13633
13634    lt_compiler_flag="-o out/conftest2.$ac_objext"
13635    # Insert the option either (1) after the last *FLAGS variable, or
13636    # (2) before a word containing "conftest.", or (3) at the end.
13637    # Note that $ac_compile itself does not contain backslashes and begins
13638    # with a dollar sign (not a hyphen), so the echo should work correctly.
13639    lt_compile=`echo "$ac_compile" | $SED \
13640    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13641    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13642    -e 's:$: $lt_compiler_flag:'`
13643    (eval echo "\"\$as_me:13643: $lt_compile\"" >&5)
13644    (eval "$lt_compile" 2>out/conftest.err)
13645    ac_status=$?
13646    cat out/conftest.err >&5
13647    echo "$as_me:13647: \$? = $ac_status" >&5
13648    if (exit $ac_status) && test -s out/conftest2.$ac_objext
13649    then
13650      # The compiler can only warn and ignore the option if not recognized
13651      # So say no if there are warnings
13652      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
13653      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13654      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13655        lt_cv_prog_compiler_c_o_CXX=yes
13656      fi
13657    fi
13658    chmod u+w . 2>&5
13659    $RM conftest*
13660    # SGI C++ compiler will create directory out/ii_files/ for
13661    # template instantiation
13662    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13663    $RM out/* && rmdir out
13664    cd ..
13665    $RM -r conftest
13666    $RM conftest*
13667
13668 fi
13669 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13670 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
13671
13672
13673
13674     { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13675 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
13676 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
13677   echo $ECHO_N "(cached) $ECHO_C" >&6
13678 else
13679   lt_cv_prog_compiler_c_o_CXX=no
13680    $RM -r conftest 2>/dev/null
13681    mkdir conftest
13682    cd conftest
13683    mkdir out
13684    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13685
13686    lt_compiler_flag="-o out/conftest2.$ac_objext"
13687    # Insert the option either (1) after the last *FLAGS variable, or
13688    # (2) before a word containing "conftest.", or (3) at the end.
13689    # Note that $ac_compile itself does not contain backslashes and begins
13690    # with a dollar sign (not a hyphen), so the echo should work correctly.
13691    lt_compile=`echo "$ac_compile" | $SED \
13692    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13693    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13694    -e 's:$: $lt_compiler_flag:'`
13695    (eval echo "\"\$as_me:13695: $lt_compile\"" >&5)
13696    (eval "$lt_compile" 2>out/conftest.err)
13697    ac_status=$?
13698    cat out/conftest.err >&5
13699    echo "$as_me:13699: \$? = $ac_status" >&5
13700    if (exit $ac_status) && test -s out/conftest2.$ac_objext
13701    then
13702      # The compiler can only warn and ignore the option if not recognized
13703      # So say no if there are warnings
13704      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
13705      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13706      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13707        lt_cv_prog_compiler_c_o_CXX=yes
13708      fi
13709    fi
13710    chmod u+w . 2>&5
13711    $RM conftest*
13712    # SGI C++ compiler will create directory out/ii_files/ for
13713    # template instantiation
13714    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13715    $RM out/* && rmdir out
13716    cd ..
13717    $RM -r conftest
13718    $RM conftest*
13719
13720 fi
13721 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13722 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
13723
13724
13725
13726
13727 hard_links="nottested"
13728 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13729   # do not overwrite the value of need_locks provided by the user
13730   { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13731 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
13732   hard_links=yes
13733   $RM conftest*
13734   ln conftest.a conftest.b 2>/dev/null && hard_links=no
13735   touch conftest.a
13736   ln conftest.a conftest.b 2>&5 || hard_links=no
13737   ln conftest.a conftest.b 2>/dev/null && hard_links=no
13738   { echo "$as_me:$LINENO: result: $hard_links" >&5
13739 echo "${ECHO_T}$hard_links" >&6; }
13740   if test "$hard_links" = no; then
13741     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13742 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13743     need_locks=warn
13744   fi
13745 else
13746   need_locks=no
13747 fi
13748
13749
13750
13751     { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13752 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
13753
13754   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13755   case $host_os in
13756   aix4* | aix5*)
13757     # If we're using GNU nm, then we don't want the "-C" option.
13758     # -C means demangle to AIX nm, but means don't demangle with GNU nm
13759     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13760       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'
13761     else
13762       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'
13763     fi
13764     ;;
13765   pw32*)
13766     export_symbols_cmds_CXX="$ltdll_cmds"
13767   ;;
13768   cygwin* | mingw*)
13769     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'
13770   ;;
13771   *)
13772     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13773   ;;
13774   esac
13775
13776 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
13777 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
13778 test "$ld_shlibs_CXX" = no && can_build_shared=no
13779
13780 with_gnu_ld_CXX=$with_gnu_ld
13781
13782
13783
13784
13785
13786
13787 #
13788 # Do we need to explicitly link libc?
13789 #
13790 case "x$archive_cmds_need_lc_CXX" in
13791 x|xyes)
13792   # Assume -lc should be added
13793   archive_cmds_need_lc_CXX=yes
13794
13795   if test "$enable_shared" = yes && test "$GCC" = yes; then
13796     case $archive_cmds_CXX in
13797     *'~'*)
13798       # FIXME: we may have to deal with multi-command sequences.
13799       ;;
13800     '$CC '*)
13801       # Test whether the compiler implicitly links with -lc since on some
13802       # systems, -lgcc has to come before -lc. If gcc already passes -lc
13803       # to ld, don't add -lc before -lgcc.
13804       { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
13805 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
13806       $RM conftest*
13807       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13808
13809       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13810   (eval $ac_compile) 2>&5
13811   ac_status=$?
13812   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13813   (exit $ac_status); } 2>conftest.err; then
13814         soname=conftest
13815         lib=conftest
13816         libobjs=conftest.$ac_objext
13817         deplibs=
13818         wl=$lt_prog_compiler_wl_CXX
13819         pic_flag=$lt_prog_compiler_pic_CXX
13820         compiler_flags=-v
13821         linker_flags=-v
13822         verstring=
13823         output_objdir=.
13824         libname=conftest
13825         lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
13826         allow_undefined_flag_CXX=
13827         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
13828   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
13829   ac_status=$?
13830   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13831   (exit $ac_status); }
13832         then
13833           archive_cmds_need_lc_CXX=no
13834         else
13835           archive_cmds_need_lc_CXX=yes
13836         fi
13837         allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
13838       else
13839         cat conftest.err 1>&5
13840       fi
13841       $RM conftest*
13842       { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
13843 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
13844       ;;
13845     esac
13846   fi
13847   ;;
13848 esac
13849
13850
13851
13852
13853
13854
13855
13856
13857
13858
13859
13860
13861
13862
13863
13864
13865
13866
13867
13868
13869
13870
13871
13872
13873
13874
13875
13876
13877
13878
13879
13880
13881
13882
13883
13884
13885
13886
13887
13888
13889
13890
13891
13892
13893
13894
13895
13896
13897
13898
13899
13900
13901
13902
13903
13904
13905
13906
13907
13908
13909
13910
13911
13912
13913     { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
13914 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
13915 withGCC=$GXX
13916 library_names_spec=
13917 libname_spec='lib$name'
13918 soname_spec=
13919 shrext_cmds=".so"
13920 postinstall_cmds=
13921 postuninstall_cmds=
13922 finish_cmds=
13923 finish_eval=
13924 shlibpath_var=
13925 shlibpath_overrides_runpath=unknown
13926 version_type=none
13927 dynamic_linker="$host_os ld.so"
13928 sys_lib_dlsearch_path_spec="/lib /usr/lib"
13929 need_lib_prefix=unknown
13930 hardcode_into_libs=no
13931
13932 # when you set need_version to no, make sure it does not cause -set_version
13933 # flags to be left without arguments
13934 need_version=unknown
13935
13936 case $host_os in
13937 aix3*)
13938   version_type=linux
13939   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
13940   shlibpath_var=LIBPATH
13941
13942   # AIX 3 has no versioning support, so we append a major version to the name.
13943   soname_spec='${libname}${release}${shared_ext}$major'
13944   ;;
13945
13946 aix4* | aix5*)
13947   version_type=linux
13948   need_lib_prefix=no
13949   need_version=no
13950   hardcode_into_libs=yes
13951   if test "$host_cpu" = ia64; then
13952     # AIX 5 supports IA64
13953     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13954     shlibpath_var=LD_LIBRARY_PATH
13955   else
13956     # With GCC up to 2.95.x, collect2 would create an import file
13957     # for dependence libraries.  The import file would start with
13958     # the line `#! .'.  This would cause the generated library to
13959     # depend on `.', always an invalid library.  This was fixed in
13960     # development snapshots of GCC prior to 3.0.
13961     case $host_os in
13962       aix4 | aix4.[01] | aix4.[01].*)
13963       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13964            echo ' yes '
13965            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
13966         :
13967       else
13968         can_build_shared=no
13969       fi
13970       ;;
13971     esac
13972     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13973     # soname into executable. Probably we can add versioning support to
13974     # collect2, so additional links can be useful in future.
13975     if test "$aix_use_runtimelinking" = yes; then
13976       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13977       # instead of lib<name>.a to let people know that these are not
13978       # typical AIX shared libraries.
13979       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13980     else
13981       # We preserve .a as extension for shared libraries through AIX4.2
13982       # and later when we are not doing run time linking.
13983       library_names_spec='${libname}${release}.a $libname.a'
13984       soname_spec='${libname}${release}${shared_ext}$major'
13985     fi
13986     shlibpath_var=LIBPATH
13987   fi
13988   ;;
13989
13990 amigaos*)
13991   if test "$host_cpu" = m68k; then
13992     library_names_spec='$libname.ixlibrary $libname.a'
13993     # Create ${libname}_ixlibrary.a entries in /sys/libs.
13994     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'
13995   else
13996     dynamic_linker=no
13997   fi
13998   ;;
13999
14000 beos*)
14001   library_names_spec='${libname}${shared_ext}'
14002   dynamic_linker="$host_os ld.so"
14003   shlibpath_var=LIBRARY_PATH
14004   ;;
14005
14006 bsdi[45]*)
14007   version_type=linux
14008   need_version=no
14009   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14010   soname_spec='${libname}${release}${shared_ext}$major'
14011   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14012   shlibpath_var=LD_LIBRARY_PATH
14013   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14014   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14015   # the default ld.so.conf also contains /usr/contrib/lib and
14016   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14017   # libtool to hard-code these into programs
14018   ;;
14019
14020 cygwin* | mingw* | pw32*)
14021   version_type=windows
14022   shrext_cmds=".dll"
14023   need_version=no
14024   need_lib_prefix=no
14025
14026   case $withGCC,$host_os in
14027   yes,cygwin* | yes,mingw* | yes,pw32*)
14028     library_names_spec='$libname.dll.a'
14029     # DLL is installed to $(libdir)/../bin by postinstall_cmds
14030     postinstall_cmds='base_file=`basename \${file}`~
14031       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14032       dldir=$destdir/`dirname \$dlpath`~
14033       test -d \$dldir || mkdir -p \$dldir~
14034       $install_prog $dir/$dlname \$dldir/$dlname~
14035       chmod a+x \$dldir/$dlname~
14036       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14037         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14038       fi'
14039     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14040       dlpath=$dir/\$dldll~
14041        $RM \$dlpath'
14042     shlibpath_overrides_runpath=yes
14043
14044     case $host_os in
14045     cygwin*)
14046       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14047       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14048       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
14049       ;;
14050     mingw*)
14051       # MinGW DLLs use traditional 'lib' prefix
14052       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14053       sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14054       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
14055         # It is most probably a Windows format PATH printed by
14056         # mingw gcc, but we are running on Cygwin. Gcc prints its search
14057         # path with ; separators, and with drive letters. We can handle the
14058         # drive letters (cygwin fileutils understands them), so leave them,
14059         # especially as we might pass files found there to a mingw objdump,
14060         # which wouldn't understand a cygwinified path. Ahh.
14061         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14062       else
14063         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
14064       fi
14065       ;;
14066     pw32*)
14067       # pw32 DLLs use 'pw' prefix rather than 'lib'
14068       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14069       ;;
14070     esac
14071     ;;
14072
14073   *)
14074     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14075     ;;
14076   esac
14077   dynamic_linker='Win32 ld.exe'
14078   # FIXME: first we should search . and the directory the executable is in
14079   shlibpath_var=PATH
14080   ;;
14081
14082 darwin* | rhapsody*)
14083   dynamic_linker="$host_os dyld"
14084   version_type=darwin
14085   need_lib_prefix=no
14086   need_version=no
14087   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14088   soname_spec='${libname}${release}${major}$shared_ext'
14089   shlibpath_overrides_runpath=yes
14090   shlibpath_var=DYLD_LIBRARY_PATH
14091   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14092
14093   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14094   ;;
14095
14096 dgux*)
14097   version_type=linux
14098   need_lib_prefix=no
14099   need_version=no
14100   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14101   soname_spec='${libname}${release}${shared_ext}$major'
14102   shlibpath_var=LD_LIBRARY_PATH
14103   ;;
14104
14105 freebsd1*)
14106   dynamic_linker=no
14107   ;;
14108
14109 freebsd* | dragonfly*)
14110   # DragonFly does not have aout.  When/if they implement a new
14111   # versioning mechanism, adjust this.
14112   if test -x /usr/bin/objformat; then
14113     objformat=`/usr/bin/objformat`
14114   else
14115     case $host_os in
14116     freebsd[123]*) objformat=aout ;;
14117     *) objformat=elf ;;
14118     esac
14119   fi
14120   version_type=freebsd-$objformat
14121   case $version_type in
14122     freebsd-elf*)
14123       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14124       need_version=no
14125       need_lib_prefix=no
14126       ;;
14127     freebsd-*)
14128       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14129       need_version=yes
14130       ;;
14131   esac
14132   shlibpath_var=LD_LIBRARY_PATH
14133   case $host_os in
14134   freebsd2*)
14135     shlibpath_overrides_runpath=yes
14136     ;;
14137   freebsd3.[01]* | freebsdelf3.[01]*)
14138     shlibpath_overrides_runpath=yes
14139     hardcode_into_libs=yes
14140     ;;
14141   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14142   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14143     shlibpath_overrides_runpath=no
14144     hardcode_into_libs=yes
14145     ;;
14146   *) # from 4.6 on, and DragonFly
14147     shlibpath_overrides_runpath=yes
14148     hardcode_into_libs=yes
14149     ;;
14150   esac
14151   ;;
14152
14153 gnu*)
14154   version_type=linux
14155   need_lib_prefix=no
14156   need_version=no
14157   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14158   soname_spec='${libname}${release}${shared_ext}$major'
14159   shlibpath_var=LD_LIBRARY_PATH
14160   hardcode_into_libs=yes
14161   ;;
14162
14163 hpux9* | hpux10* | hpux11*)
14164   # Give a soname corresponding to the major version so that dld.sl refuses to
14165   # link against other versions.
14166   version_type=sunos
14167   need_lib_prefix=no
14168   need_version=no
14169   case $host_cpu in
14170   ia64*)
14171     shrext_cmds='.so'
14172     hardcode_into_libs=yes
14173     dynamic_linker="$host_os dld.so"
14174     shlibpath_var=LD_LIBRARY_PATH
14175     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14176     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14177     soname_spec='${libname}${release}${shared_ext}$major'
14178     if test "X$HPUX_IA64_MODE" = X32; then
14179       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14180     else
14181       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14182     fi
14183     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14184     ;;
14185   hppa*64*)
14186     shrext_cmds='.sl'
14187     hardcode_into_libs=yes
14188     dynamic_linker="$host_os dld.sl"
14189     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14190     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14191     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14192     soname_spec='${libname}${release}${shared_ext}$major'
14193     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14194     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14195     ;;
14196   *)
14197     shrext_cmds='.sl'
14198     dynamic_linker="$host_os dld.sl"
14199     shlibpath_var=SHLIB_PATH
14200     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14201     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14202     soname_spec='${libname}${release}${shared_ext}$major'
14203     ;;
14204   esac
14205   # HP-UX runs *really* slowly unless shared libraries are mode 555.
14206   postinstall_cmds='chmod 555 $lib'
14207   ;;
14208
14209 interix[3-9]*)
14210   version_type=linux
14211   need_lib_prefix=no
14212   need_version=no
14213   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14214   soname_spec='${libname}${release}${shared_ext}$major'
14215   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14216   shlibpath_var=LD_LIBRARY_PATH
14217   shlibpath_overrides_runpath=no
14218   hardcode_into_libs=yes
14219   ;;
14220
14221 irix5* | irix6* | nonstopux*)
14222   case $host_os in
14223     nonstopux*) version_type=nonstopux ;;
14224     *)
14225         if test "$lt_cv_prog_gnu_ld" = yes; then
14226                 version_type=linux
14227         else
14228                 version_type=irix
14229         fi ;;
14230   esac
14231   need_lib_prefix=no
14232   need_version=no
14233   soname_spec='${libname}${release}${shared_ext}$major'
14234   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14235   case $host_os in
14236   irix5* | nonstopux*)
14237     libsuff= shlibsuff=
14238     ;;
14239   *)
14240     case $LD in # libtool.m4 will add one of these switches to LD
14241     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14242       libsuff= shlibsuff= libmagic=32-bit;;
14243     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14244       libsuff=32 shlibsuff=N32 libmagic=N32;;
14245     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14246       libsuff=64 shlibsuff=64 libmagic=64-bit;;
14247     *) libsuff= shlibsuff= libmagic=never-match;;
14248     esac
14249     ;;
14250   esac
14251   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14252   shlibpath_overrides_runpath=no
14253   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14254   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14255   hardcode_into_libs=yes
14256   ;;
14257
14258 # No shared lib support for Linux oldld, aout, or coff.
14259 linux*oldld* | linux*aout* | linux*coff*)
14260   dynamic_linker=no
14261   ;;
14262
14263 # This must be Linux ELF.
14264 linux* | k*bsd*-gnu)
14265   version_type=linux
14266   need_lib_prefix=no
14267   need_version=no
14268   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14269   soname_spec='${libname}${release}${shared_ext}$major'
14270   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14271   shlibpath_var=LD_LIBRARY_PATH
14272   shlibpath_overrides_runpath=no
14273   # Some binutils ld are patched to set DT_RUNPATH
14274   save_LDFLAGS=$LDFLAGS
14275   save_libdir=$libdir
14276   eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14277        LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14278   if test x$gcc_no_link = xyes; then
14279   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14280 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14281    { (exit 1); exit 1; }; }
14282 fi
14283 cat >conftest.$ac_ext <<_ACEOF
14284 /* confdefs.h.  */
14285 _ACEOF
14286 cat confdefs.h >>conftest.$ac_ext
14287 cat >>conftest.$ac_ext <<_ACEOF
14288 /* end confdefs.h.  */
14289
14290 int
14291 main ()
14292 {
14293
14294   ;
14295   return 0;
14296 }
14297 _ACEOF
14298 rm -f conftest.$ac_objext conftest$ac_exeext
14299 if { (ac_try="$ac_link"
14300 case "(($ac_try" in
14301   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14302   *) ac_try_echo=$ac_try;;
14303 esac
14304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14305   (eval "$ac_link") 2>conftest.er1
14306   ac_status=$?
14307   grep -v '^ *+' conftest.er1 >conftest.err
14308   rm -f conftest.er1
14309   cat conftest.err >&5
14310   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14311   (exit $ac_status); } && {
14312          test -z "$ac_cxx_werror_flag" ||
14313          test ! -s conftest.err
14314        } && test -s conftest$ac_exeext &&
14315        $as_test_x conftest$ac_exeext; then
14316   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir"; then
14317   shlibpath_overrides_runpath=yes
14318 fi
14319
14320 else
14321   echo "$as_me: failed program was:" >&5
14322 sed 's/^/| /' conftest.$ac_ext >&5
14323
14324
14325 fi
14326
14327 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14328       conftest$ac_exeext conftest.$ac_ext
14329   LDFLAGS=$save_LDFLAGS
14330   libdir=$save_libdir
14331
14332   # This implies no fast_install, which is unacceptable.
14333   # Some rework will be needed to allow for fast_install
14334   # before this can be enabled.
14335   hardcode_into_libs=yes
14336
14337   # Append ld.so.conf contents to the search path
14338   if test -f /etc/ld.so.conf; then
14339     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' ' '`
14340     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14341   fi
14342
14343   # We used to test for /lib/ld.so.1 and disable shared libraries on
14344   # powerpc, because MkLinux only supported shared libraries with the
14345   # GNU dynamic linker.  Since this was broken with cross compilers,
14346   # most powerpc-linux boxes support dynamic linking these days and
14347   # people can always --disable-shared, the test was removed, and we
14348   # assume the GNU/Linux dynamic linker is in use.
14349   dynamic_linker='GNU/Linux ld.so'
14350   ;;
14351
14352 netbsd*)
14353   version_type=sunos
14354   need_lib_prefix=no
14355   need_version=no
14356   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14357     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14358     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14359     dynamic_linker='NetBSD (a.out) ld.so'
14360   else
14361     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14362     soname_spec='${libname}${release}${shared_ext}$major'
14363     dynamic_linker='NetBSD ld.elf_so'
14364   fi
14365   shlibpath_var=LD_LIBRARY_PATH
14366   shlibpath_overrides_runpath=yes
14367   hardcode_into_libs=yes
14368   ;;
14369
14370 newsos6)
14371   version_type=linux
14372   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14373   shlibpath_var=LD_LIBRARY_PATH
14374   shlibpath_overrides_runpath=yes
14375   ;;
14376
14377 *nto* | *qnx*)
14378   version_type=qnx
14379   need_lib_prefix=no
14380   need_version=no
14381   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14382   soname_spec='${libname}${release}${shared_ext}$major'
14383   shlibpath_var=LD_LIBRARY_PATH
14384   shlibpath_overrides_runpath=no
14385   hardcode_into_libs=yes
14386   dynamic_linker='ldqnx.so'
14387   ;;
14388
14389 openbsd*)
14390   version_type=sunos
14391   sys_lib_dlsearch_path_spec="/usr/lib"
14392   need_lib_prefix=no
14393   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14394   case $host_os in
14395     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
14396     *)                          need_version=no  ;;
14397   esac
14398   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14399   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14400   shlibpath_var=LD_LIBRARY_PATH
14401   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14402     case $host_os in
14403       openbsd2.[89] | openbsd2.[89].*)
14404         shlibpath_overrides_runpath=no
14405         ;;
14406       *)
14407         shlibpath_overrides_runpath=yes
14408         ;;
14409       esac
14410   else
14411     shlibpath_overrides_runpath=yes
14412   fi
14413   ;;
14414
14415 os2*)
14416   libname_spec='$name'
14417   shrext_cmds=".dll"
14418   need_lib_prefix=no
14419   library_names_spec='$libname${shared_ext} $libname.a'
14420   dynamic_linker='OS/2 ld.exe'
14421   shlibpath_var=LIBPATH
14422   ;;
14423
14424 osf3* | osf4* | osf5*)
14425   version_type=osf
14426   need_lib_prefix=no
14427   need_version=no
14428   soname_spec='${libname}${release}${shared_ext}$major'
14429   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14430   shlibpath_var=LD_LIBRARY_PATH
14431   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14432   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14433   ;;
14434
14435 rdos*)
14436   dynamic_linker=no
14437   ;;
14438
14439 solaris*)
14440   version_type=linux
14441   need_lib_prefix=no
14442   need_version=no
14443   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14444   soname_spec='${libname}${release}${shared_ext}$major'
14445   shlibpath_var=LD_LIBRARY_PATH
14446   shlibpath_overrides_runpath=yes
14447   hardcode_into_libs=yes
14448   # ldd complains unless libraries are executable
14449   postinstall_cmds='chmod +x $lib'
14450   ;;
14451
14452 sunos4*)
14453   version_type=sunos
14454   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14455   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14456   shlibpath_var=LD_LIBRARY_PATH
14457   shlibpath_overrides_runpath=yes
14458   if test "$with_gnu_ld" = yes; then
14459     need_lib_prefix=no
14460   fi
14461   need_version=yes
14462   ;;
14463
14464 sysv4 | sysv4.3*)
14465   version_type=linux
14466   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14467   soname_spec='${libname}${release}${shared_ext}$major'
14468   shlibpath_var=LD_LIBRARY_PATH
14469   case $host_vendor in
14470     sni)
14471       shlibpath_overrides_runpath=no
14472       need_lib_prefix=no
14473       runpath_var=LD_RUN_PATH
14474       ;;
14475     siemens)
14476       need_lib_prefix=no
14477       ;;
14478     motorola)
14479       need_lib_prefix=no
14480       need_version=no
14481       shlibpath_overrides_runpath=no
14482       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14483       ;;
14484   esac
14485   ;;
14486
14487 sysv4*MP*)
14488   if test -d /usr/nec ;then
14489     version_type=linux
14490     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14491     soname_spec='$libname${shared_ext}.$major'
14492     shlibpath_var=LD_LIBRARY_PATH
14493   fi
14494   ;;
14495
14496 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14497   version_type=freebsd-elf
14498   need_lib_prefix=no
14499   need_version=no
14500   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14501   soname_spec='${libname}${release}${shared_ext}$major'
14502   shlibpath_var=LD_LIBRARY_PATH
14503   shlibpath_overrides_runpath=yes
14504   hardcode_into_libs=yes
14505   if test "$with_gnu_ld" = yes; then
14506     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14507   else
14508     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14509     case $host_os in
14510       sco3.2v5*)
14511         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14512         ;;
14513     esac
14514   fi
14515   sys_lib_dlsearch_path_spec='/usr/lib'
14516   ;;
14517
14518 tpf*)
14519   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
14520   version_type=linux
14521   need_lib_prefix=no
14522   need_version=no
14523   library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14524   shlibpath_var=LD_LIBRARY_PATH
14525   shlibpath_overrides_runpath=no
14526   hardcode_into_libs=yes
14527   ;;
14528
14529 uts4*)
14530   version_type=linux
14531   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14532   soname_spec='${libname}${release}${shared_ext}$major'
14533   shlibpath_var=LD_LIBRARY_PATH
14534   ;;
14535
14536 *)
14537   dynamic_linker=no
14538   ;;
14539 esac
14540 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
14541 echo "${ECHO_T}$dynamic_linker" >&6; }
14542 test "$dynamic_linker" = no && can_build_shared=no
14543
14544 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14545 if test "$GCC" = yes; then
14546   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14547 fi
14548
14549
14550
14551
14552
14553
14554
14555
14556
14557
14558
14559
14560
14561
14562
14563
14564
14565
14566
14567
14568
14569
14570
14571
14572
14573
14574
14575
14576
14577
14578
14579
14580
14581
14582
14583
14584     { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
14585 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
14586 hardcode_action_CXX=
14587 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14588    test -n "$runpath_var_CXX" ||
14589    test "X$hardcode_automatic_CXX" = "Xyes" ; then
14590
14591   # We can hardcode non-existent directories.
14592   if test "$hardcode_direct_CXX" != no &&
14593      # If the only mechanism to avoid hardcoding is shlibpath_var, we
14594      # have to relink, otherwise we might link with an installed library
14595      # when we should be linking with a yet-to-be-installed one
14596      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14597      test "$hardcode_minus_L_CXX" != no; then
14598     # Linking always hardcodes the temporary library directory.
14599     hardcode_action_CXX=relink
14600   else
14601     # We can link without hardcoding, and we can hardcode nonexisting dirs.
14602     hardcode_action_CXX=immediate
14603   fi
14604 else
14605   # We cannot hardcode anything, or else we can only hardcode existing
14606   # directories.
14607   hardcode_action_CXX=unsupported
14608 fi
14609 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
14610 echo "${ECHO_T}$hardcode_action_CXX" >&6; }
14611
14612 if test "$hardcode_action_CXX" = relink ||
14613    test "$inherit_rpath_CXX" = yes; then
14614   # Fast installation is not supported
14615   enable_fast_install=no
14616 elif test "$shlibpath_overrides_runpath" = yes ||
14617      test "$enable_shared" = no; then
14618   # Fast installation is not necessary
14619   enable_fast_install=needless
14620 fi
14621
14622
14623
14624
14625
14626
14627
14628   fi # test -n "$compiler"
14629
14630   CC=$lt_save_CC
14631   LDCXX=$LD
14632   LD=$lt_save_LD
14633   GCC=$lt_save_GCC
14634   with_gnu_ld=$lt_save_with_gnu_ld
14635   lt_cv_path_LDCXX=$lt_cv_path_LD
14636   lt_cv_path_LD=$lt_save_path_LD
14637   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14638   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14639 fi # test "$_lt_caught_CXX_error" != yes
14640
14641 ac_ext=c
14642 ac_cpp='$CPP $CPPFLAGS'
14643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14646
14647
14648
14649
14650
14651
14652
14653
14654
14655
14656
14657
14658
14659         ac_config_commands="$ac_config_commands libtool"
14660
14661
14662
14663
14664 # Only expand once:
14665
14666
14667
14668
14669
14670 # Possibly disable most of the library.
14671 ## TODO: Consider skipping unncessary tests altogether in this case, rather
14672 ## than just ignoring the results.  Faster /and/ more correct, win win.
14673
14674   # Check whether --enable-hosted-libstdcxx was given.
14675 if test "${enable_hosted_libstdcxx+set}" = set; then
14676   enableval=$enable_hosted_libstdcxx;
14677 else
14678   case "$host" in
14679         arm*-*-symbianelf*)
14680             enable_hosted_libstdcxx=no
14681             ;;
14682         *)
14683             enable_hosted_libstdcxx=yes
14684             ;;
14685      esac
14686 fi
14687
14688   if test "$enable_hosted_libstdcxx" = no; then
14689     { echo "$as_me:$LINENO: Only freestanding libraries will be built" >&5
14690 echo "$as_me: Only freestanding libraries will be built" >&6;}
14691     is_hosted=no
14692     hosted_define=0
14693     enable_abi_check=no
14694     enable_libstdcxx_pch=no
14695   else
14696     is_hosted=yes
14697     hosted_define=1
14698   fi
14699
14700
14701 cat >>confdefs.h <<_ACEOF
14702 #define _GLIBCXX_HOSTED $hosted_define
14703 _ACEOF
14704
14705
14706
14707 # Enable compiler support that doesn't require linking.
14708
14709   { echo "$as_me:$LINENO: checking for exception model to use" >&5
14710 echo $ECHO_N "checking for exception model to use... $ECHO_C" >&6; }
14711
14712   ac_ext=cpp
14713 ac_cpp='$CXXCPP $CPPFLAGS'
14714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14717
14718    # Check whether --enable-sjlj-exceptions was given.
14719 if test "${enable_sjlj_exceptions+set}" = set; then
14720   enableval=$enable_sjlj_exceptions;
14721       case "$enableval" in
14722        yes|no|auto) ;;
14723        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable sjlj-exceptions" >&5
14724 echo "$as_me: error: Unknown argument to enable/disable sjlj-exceptions" >&2;}
14725    { (exit 1); exit 1; }; } ;;
14726                           esac
14727
14728 else
14729   enable_sjlj_exceptions=auto
14730 fi
14731
14732
14733
14734   if test $enable_sjlj_exceptions = auto; then
14735     # Botheration.  Now we've got to detect the exception model.  Link tests
14736     # against libgcc.a are problematic since we've not been given proper -L
14737     # bits for single-tree newlib and libgloss.
14738     #
14739     # Fake what AC_TRY_COMPILE does.  XXX Look at redoing this new-style.
14740     cat > conftest.$ac_ext << EOF
14741 #line 14741 "configure"
14742 struct S { ~S(); };
14743 void bar();
14744 void foo()
14745 {
14746   S s;
14747   bar();
14748 }
14749 EOF
14750     old_CXXFLAGS="$CXXFLAGS"
14751     CXXFLAGS=-S
14752     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14753   (eval $ac_compile) 2>&5
14754   ac_status=$?
14755   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14756   (exit $ac_status); }; then
14757       if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
14758         enable_sjlj_exceptions=yes
14759       elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
14760         enable_sjlj_exceptions=no
14761       elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
14762         enable_sjlj_exceptions=no
14763       fi
14764     fi
14765     CXXFLAGS="$old_CXXFLAGS"
14766     rm -f conftest*
14767   fi
14768
14769   # This is a tad weird, for hysterical raisins.  We have to map
14770   # enable/disable to two different models.
14771   case $enable_sjlj_exceptions in
14772     yes)
14773
14774 cat >>confdefs.h <<\_ACEOF
14775 #define _GLIBCXX_SJLJ_EXCEPTIONS 1
14776 _ACEOF
14777
14778       ac_exception_model_name=sjlj
14779       ;;
14780     no)
14781       ac_exception_model_name="call frame"
14782       ;;
14783     *)
14784       { { echo "$as_me:$LINENO: error: unable to detect exception model" >&5
14785 echo "$as_me: error: unable to detect exception model" >&2;}
14786    { (exit 1); exit 1; }; }
14787       ;;
14788   esac
14789  ac_ext=c
14790 ac_cpp='$CPP $CPPFLAGS'
14791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14794
14795  { echo "$as_me:$LINENO: result: $ac_exception_model_name" >&5
14796 echo "${ECHO_T}$ac_exception_model_name" >&6; }
14797
14798
14799    # Check whether --enable-libstdcxx-pch was given.
14800 if test "${enable_libstdcxx_pch+set}" = set; then
14801   enableval=$enable_libstdcxx_pch;
14802       case "$enableval" in
14803        yes|no) ;;
14804        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&5
14805 echo "$as_me: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&2;}
14806    { (exit 1); exit 1; }; } ;;
14807       esac
14808
14809 else
14810   enable_libstdcxx_pch=$is_hosted
14811 fi
14812
14813
14814   if test $enable_libstdcxx_pch = yes; then
14815     { echo "$as_me:$LINENO: checking for compiler with PCH support" >&5
14816 echo $ECHO_N "checking for compiler with PCH support... $ECHO_C" >&6; }
14817 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then
14818   echo $ECHO_N "(cached) $ECHO_C" >&6
14819 else
14820   ac_save_CXXFLAGS="$CXXFLAGS"
14821        CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
14822
14823        ac_ext=cpp
14824 ac_cpp='$CXXCPP $CPPFLAGS'
14825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14828
14829        echo '#include <math.h>' > conftest.h
14830        if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
14831                           -o conftest.h.gch 1>&5 2>&1 &&
14832                 echo '#error "pch failed"' > conftest.h &&
14833           echo '#include "conftest.h"' > conftest.cc &&
14834                $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
14835        then
14836          glibcxx_cv_prog_CXX_pch=yes
14837        else
14838          glibcxx_cv_prog_CXX_pch=no
14839        fi
14840        rm -f conftest*
14841        CXXFLAGS=$ac_save_CXXFLAGS
14842        ac_ext=c
14843 ac_cpp='$CPP $CPPFLAGS'
14844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14847
14848
14849 fi
14850 { echo "$as_me:$LINENO: result: $glibcxx_cv_prog_CXX_pch" >&5
14851 echo "${ECHO_T}$glibcxx_cv_prog_CXX_pch" >&6; }
14852     enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
14853   fi
14854
14855   { echo "$as_me:$LINENO: checking for enabled PCH" >&5
14856 echo $ECHO_N "checking for enabled PCH... $ECHO_C" >&6; }
14857   { echo "$as_me:$LINENO: result: $enable_libstdcxx_pch" >&5
14858 echo "${ECHO_T}$enable_libstdcxx_pch" >&6; }
14859
14860
14861   if test $enable_libstdcxx_pch = yes; then
14862     glibcxx_PCHFLAGS="-include bits/stdc++.h"
14863   else
14864     glibcxx_PCHFLAGS=""
14865   fi
14866
14867
14868
14869 # Enable all the variable C++ runtime options that doesn't require linking.
14870
14871   { echo "$as_me:$LINENO: checking for underlying I/O to use" >&5
14872 echo $ECHO_N "checking for underlying I/O to use... $ECHO_C" >&6; }
14873    # Check whether --enable-cstdio was given.
14874 if test "${enable_cstdio+set}" = set; then
14875   enableval=$enable_cstdio;
14876       case "$enableval" in
14877        stdio) ;;
14878        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cstdio" >&5
14879 echo "$as_me: error: Unknown argument to enable/disable cstdio" >&2;}
14880    { (exit 1); exit 1; }; } ;;
14881                           esac
14882
14883 else
14884   enable_cstdio=stdio
14885 fi
14886
14887
14888
14889   # Now that libio has been removed, you can have any color you want as long
14890   # as it's black.  This is one big no-op until other packages are added, but
14891   # showing the framework never hurts.
14892   case ${enable_cstdio} in
14893     stdio)
14894       CSTDIO_H=config/io/c_io_stdio.h
14895       BASIC_FILE_H=config/io/basic_file_stdio.h
14896       BASIC_FILE_CC=config/io/basic_file_stdio.cc
14897       { echo "$as_me:$LINENO: result: stdio" >&5
14898 echo "${ECHO_T}stdio" >&6; }
14899       ;;
14900   esac
14901
14902
14903
14904
14905
14906
14907    # Check whether --enable-clocale was given.
14908 if test "${enable_clocale+set}" = set; then
14909   enableval=$enable_clocale;
14910       case "$enableval" in
14911        generic|gnu|ieee_1003.1-2001|yes|no|auto) ;;
14912        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable clocale" >&5
14913 echo "$as_me: error: Unknown argument to enable/disable clocale" >&2;}
14914    { (exit 1); exit 1; }; } ;;
14915                           esac
14916
14917 else
14918   enable_clocale=auto
14919 fi
14920
14921
14922
14923   # Deal with gettext issues.  Default to not using it (=no) until we detect
14924   # support for it later.  Let the user turn it off via --e/d, but let that
14925   # default to on for easier handling.
14926   USE_NLS=no
14927   # Check whether --enable-nls was given.
14928 if test "${enable_nls+set}" = set; then
14929   enableval=$enable_nls;
14930 else
14931   enable_nls=yes
14932 fi
14933
14934
14935   # Either a known packaage, or "auto"
14936   if test $enable_clocale = no || test $enable_clocale = yes; then
14937      enable_clocale=auto
14938   fi
14939   enable_clocale_flag=$enable_clocale
14940
14941   # Probe for locale model to use if none specified.
14942   # Default to "generic".
14943   if test $enable_clocale_flag = auto; then
14944     case ${target_os} in
14945       linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
14946         enable_clocale_flag=gnu
14947         ;;
14948       darwin* | freebsd*)
14949         enable_clocale_flag=darwin
14950         ;;
14951       *)
14952         enable_clocale_flag=generic
14953         ;;
14954     esac
14955   fi
14956
14957   # Sanity check model, and test for special functionality.
14958   if test $enable_clocale_flag = gnu; then
14959     cat >conftest.$ac_ext <<_ACEOF
14960 /* confdefs.h.  */
14961 _ACEOF
14962 cat confdefs.h >>conftest.$ac_ext
14963 cat >>conftest.$ac_ext <<_ACEOF
14964 /* end confdefs.h.  */
14965
14966     #include <features.h>
14967     #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
14968       _GLIBCXX_ok
14969     #endif
14970
14971 _ACEOF
14972 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14973   $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then
14974   enable_clocale_flag=gnu
14975 else
14976   enable_clocale_flag=generic
14977 fi
14978 rm -f conftest*
14979
14980
14981     if test $enable_clocale = auto; then
14982       # Test for bugs early in glibc-2.2.x series
14983       if test "$cross_compiling" = yes; then
14984   enable_clocale_flag=generic
14985 else
14986   cat >conftest.$ac_ext <<_ACEOF
14987 /* confdefs.h.  */
14988 _ACEOF
14989 cat confdefs.h >>conftest.$ac_ext
14990 cat >>conftest.$ac_ext <<_ACEOF
14991 /* end confdefs.h.  */
14992
14993       #define _GNU_SOURCE 1
14994       #include <locale.h>
14995       #include <string.h>
14996       #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
14997       extern __typeof(newlocale) __newlocale;
14998       extern __typeof(duplocale) __duplocale;
14999       extern __typeof(strcoll_l) __strcoll_l;
15000       #endif
15001       int main()
15002       {
15003         const char __one[] = "Äuglein Augmen";
15004         const char __two[] = "Äuglein";
15005         int i;
15006         int j;
15007         __locale_t        loc;
15008         __locale_t        loc_dup;
15009         loc = __newlocale(1 << LC_ALL, "de_DE", 0);
15010         loc_dup = __duplocale(loc);
15011         i = __strcoll_l(__one, __two, loc);
15012         j = __strcoll_l(__one, __two, loc_dup);
15013         return 0;
15014       }
15015
15016 _ACEOF
15017 rm -f conftest$ac_exeext
15018 if { (ac_try="$ac_link"
15019 case "(($ac_try" in
15020   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15021   *) ac_try_echo=$ac_try;;
15022 esac
15023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15024   (eval "$ac_link") 2>&5
15025   ac_status=$?
15026   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15027   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15028   { (case "(($ac_try" in
15029   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15030   *) ac_try_echo=$ac_try;;
15031 esac
15032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15033   (eval "$ac_try") 2>&5
15034   ac_status=$?
15035   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15036   (exit $ac_status); }; }; then
15037   enable_clocale_flag=gnu
15038 else
15039   echo "$as_me: program exited with status $ac_status" >&5
15040 echo "$as_me: failed program was:" >&5
15041 sed 's/^/| /' conftest.$ac_ext >&5
15042
15043 ( exit $ac_status )
15044 enable_clocale_flag=generic
15045 fi
15046 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15047 fi
15048
15049
15050     fi
15051
15052     # Set it to scream when it hurts.
15053     ac_save_CFLAGS="$CFLAGS"
15054     CFLAGS="-Wimplicit-function-declaration -Werror"
15055
15056     # Use strxfrm_l if available.
15057     cat >conftest.$ac_ext <<_ACEOF
15058 /* confdefs.h.  */
15059 _ACEOF
15060 cat confdefs.h >>conftest.$ac_ext
15061 cat >>conftest.$ac_ext <<_ACEOF
15062 /* end confdefs.h.  */
15063 #define _GNU_SOURCE 1
15064                     #include <string.h>
15065                     #include <locale.h>
15066 int
15067 main ()
15068 {
15069 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15070   ;
15071   return 0;
15072 }
15073 _ACEOF
15074 rm -f conftest.$ac_objext
15075 if { (ac_try="$ac_compile"
15076 case "(($ac_try" in
15077   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15078   *) ac_try_echo=$ac_try;;
15079 esac
15080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15081   (eval "$ac_compile") 2>conftest.er1
15082   ac_status=$?
15083   grep -v '^ *+' conftest.er1 >conftest.err
15084   rm -f conftest.er1
15085   cat conftest.err >&5
15086   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15087   (exit $ac_status); } && {
15088          test -z "$ac_c_werror_flag" ||
15089          test ! -s conftest.err
15090        } && test -s conftest.$ac_objext; then
15091
15092 cat >>confdefs.h <<\_ACEOF
15093 #define HAVE_STRXFRM_L 1
15094 _ACEOF
15095
15096 else
15097   echo "$as_me: failed program was:" >&5
15098 sed 's/^/| /' conftest.$ac_ext >&5
15099
15100
15101 fi
15102
15103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15104
15105     # Use strerror_l if available.
15106     cat >conftest.$ac_ext <<_ACEOF
15107 /* confdefs.h.  */
15108 _ACEOF
15109 cat confdefs.h >>conftest.$ac_ext
15110 cat >>conftest.$ac_ext <<_ACEOF
15111 /* end confdefs.h.  */
15112 #define _GNU_SOURCE 1
15113                     #include <string.h>
15114                     #include <locale.h>
15115 int
15116 main ()
15117 {
15118 __locale_t loc; strerror_l(5, loc);
15119   ;
15120   return 0;
15121 }
15122 _ACEOF
15123 rm -f conftest.$ac_objext
15124 if { (ac_try="$ac_compile"
15125 case "(($ac_try" in
15126   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15127   *) ac_try_echo=$ac_try;;
15128 esac
15129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15130   (eval "$ac_compile") 2>conftest.er1
15131   ac_status=$?
15132   grep -v '^ *+' conftest.er1 >conftest.err
15133   rm -f conftest.er1
15134   cat conftest.err >&5
15135   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15136   (exit $ac_status); } && {
15137          test -z "$ac_c_werror_flag" ||
15138          test ! -s conftest.err
15139        } && test -s conftest.$ac_objext; then
15140
15141 cat >>confdefs.h <<\_ACEOF
15142 #define HAVE_STRERROR_L 1
15143 _ACEOF
15144
15145 else
15146   echo "$as_me: failed program was:" >&5
15147 sed 's/^/| /' conftest.$ac_ext >&5
15148
15149
15150 fi
15151
15152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15153
15154     CFLAGS="$ac_save_CFLAGS"
15155   fi
15156
15157   # Perhaps use strerror_r if available, and strerror_l isn't.
15158   ac_save_CFLAGS="$CFLAGS"
15159   CFLAGS="-Wimplicit-function-declaration -Werror"
15160   cat >conftest.$ac_ext <<_ACEOF
15161 /* confdefs.h.  */
15162 _ACEOF
15163 cat confdefs.h >>conftest.$ac_ext
15164 cat >>conftest.$ac_ext <<_ACEOF
15165 /* end confdefs.h.  */
15166 #define _GNU_SOURCE 1
15167                   #include <string.h>
15168                   #include <locale.h>
15169 int
15170 main ()
15171 {
15172 char s[128]; strerror_r(5, s, 128);
15173   ;
15174   return 0;
15175 }
15176 _ACEOF
15177 rm -f conftest.$ac_objext
15178 if { (ac_try="$ac_compile"
15179 case "(($ac_try" in
15180   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15181   *) ac_try_echo=$ac_try;;
15182 esac
15183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15184   (eval "$ac_compile") 2>conftest.er1
15185   ac_status=$?
15186   grep -v '^ *+' conftest.er1 >conftest.err
15187   rm -f conftest.er1
15188   cat conftest.err >&5
15189   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15190   (exit $ac_status); } && {
15191          test -z "$ac_c_werror_flag" ||
15192          test ! -s conftest.err
15193        } && test -s conftest.$ac_objext; then
15194
15195 cat >>confdefs.h <<\_ACEOF
15196 #define HAVE_STRERROR_R 1
15197 _ACEOF
15198
15199 else
15200   echo "$as_me: failed program was:" >&5
15201 sed 's/^/| /' conftest.$ac_ext >&5
15202
15203
15204 fi
15205
15206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15207   CFLAGS="$ac_save_CFLAGS"
15208
15209   # Set configure bits for specified locale package
15210   { echo "$as_me:$LINENO: checking for C locale to use" >&5
15211 echo $ECHO_N "checking for C locale to use... $ECHO_C" >&6; }
15212   case ${enable_clocale_flag} in
15213     generic)
15214       { echo "$as_me:$LINENO: result: generic" >&5
15215 echo "${ECHO_T}generic" >&6; }
15216
15217       CLOCALE_H=config/locale/generic/c_locale.h
15218       CLOCALE_CC=config/locale/generic/c_locale.cc
15219       CCODECVT_CC=config/locale/generic/codecvt_members.cc
15220       CCOLLATE_CC=config/locale/generic/collate_members.cc
15221       CCTYPE_CC=config/locale/generic/ctype_members.cc
15222       CMESSAGES_H=config/locale/generic/messages_members.h
15223       CMESSAGES_CC=config/locale/generic/messages_members.cc
15224       CMONEY_CC=config/locale/generic/monetary_members.cc
15225       CNUMERIC_CC=config/locale/generic/numeric_members.cc
15226       CTIME_H=config/locale/generic/time_members.h
15227       CTIME_CC=config/locale/generic/time_members.cc
15228       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15229       ;;
15230     darwin)
15231       { echo "$as_me:$LINENO: result: darwin or freebsd" >&5
15232 echo "${ECHO_T}darwin or freebsd" >&6; }
15233
15234       CLOCALE_H=config/locale/generic/c_locale.h
15235       CLOCALE_CC=config/locale/generic/c_locale.cc
15236       CCODECVT_CC=config/locale/generic/codecvt_members.cc
15237       CCOLLATE_CC=config/locale/generic/collate_members.cc
15238       CCTYPE_CC=config/locale/darwin/ctype_members.cc
15239       CMESSAGES_H=config/locale/generic/messages_members.h
15240       CMESSAGES_CC=config/locale/generic/messages_members.cc
15241       CMONEY_CC=config/locale/generic/monetary_members.cc
15242       CNUMERIC_CC=config/locale/generic/numeric_members.cc
15243       CTIME_H=config/locale/generic/time_members.h
15244       CTIME_CC=config/locale/generic/time_members.cc
15245       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15246       ;;
15247
15248     gnu)
15249       { echo "$as_me:$LINENO: result: gnu" >&5
15250 echo "${ECHO_T}gnu" >&6; }
15251
15252       # Declare intention to use gettext, and add support for specific
15253       # languages.
15254       # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
15255       ALL_LINGUAS="de fr"
15256
15257       # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
15258       # Extract the first word of "msgfmt", so it can be a program name with args.
15259 set dummy msgfmt; ac_word=$2
15260 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15261 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15262 if test "${ac_cv_prog_check_msgfmt+set}" = set; then
15263   echo $ECHO_N "(cached) $ECHO_C" >&6
15264 else
15265   if test -n "$check_msgfmt"; then
15266   ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
15267 else
15268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15269 for as_dir in $PATH
15270 do
15271   IFS=$as_save_IFS
15272   test -z "$as_dir" && as_dir=.
15273   for ac_exec_ext in '' $ac_executable_extensions; do
15274   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15275     ac_cv_prog_check_msgfmt="yes"
15276     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15277     break 2
15278   fi
15279 done
15280 done
15281 IFS=$as_save_IFS
15282
15283   test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
15284 fi
15285 fi
15286 check_msgfmt=$ac_cv_prog_check_msgfmt
15287 if test -n "$check_msgfmt"; then
15288   { echo "$as_me:$LINENO: result: $check_msgfmt" >&5
15289 echo "${ECHO_T}$check_msgfmt" >&6; }
15290 else
15291   { echo "$as_me:$LINENO: result: no" >&5
15292 echo "${ECHO_T}no" >&6; }
15293 fi
15294
15295
15296       if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
15297         USE_NLS=yes
15298       fi
15299       # Export the build objects.
15300       for ling in $ALL_LINGUAS; do \
15301         glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
15302         glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
15303       done
15304
15305
15306
15307       CLOCALE_H=config/locale/gnu/c_locale.h
15308       CLOCALE_CC=config/locale/gnu/c_locale.cc
15309       CCODECVT_CC=config/locale/gnu/codecvt_members.cc
15310       CCOLLATE_CC=config/locale/gnu/collate_members.cc
15311       CCTYPE_CC=config/locale/gnu/ctype_members.cc
15312       CMESSAGES_H=config/locale/gnu/messages_members.h
15313       CMESSAGES_CC=config/locale/gnu/messages_members.cc
15314       CMONEY_CC=config/locale/gnu/monetary_members.cc
15315       CNUMERIC_CC=config/locale/gnu/numeric_members.cc
15316       CTIME_H=config/locale/gnu/time_members.h
15317       CTIME_CC=config/locale/gnu/time_members.cc
15318       CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
15319       ;;
15320     ieee_1003.1-2001)
15321       { echo "$as_me:$LINENO: result: IEEE 1003.1" >&5
15322 echo "${ECHO_T}IEEE 1003.1" >&6; }
15323
15324       CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
15325       CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
15326       CCODECVT_CC=config/locale/generic/codecvt_members.cc
15327       CCOLLATE_CC=config/locale/generic/collate_members.cc
15328       CCTYPE_CC=config/locale/generic/ctype_members.cc
15329       CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
15330       CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
15331       CMONEY_CC=config/locale/generic/monetary_members.cc
15332       CNUMERIC_CC=config/locale/generic/numeric_members.cc
15333       CTIME_H=config/locale/generic/time_members.h
15334       CTIME_CC=config/locale/generic/time_members.cc
15335       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15336       ;;
15337   esac
15338
15339   # This is where the testsuite looks for locale catalogs, using the
15340   # -DLOCALEDIR define during testsuite compilation.
15341   glibcxx_localedir=${glibcxx_builddir}/po/share/locale
15342
15343
15344   # A standalone libintl (e.g., GNU libintl) may be in use.
15345   if test $USE_NLS = yes; then
15346
15347 for ac_header in libintl.h
15348 do
15349 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15350 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15351   { echo "$as_me:$LINENO: checking for $ac_header" >&5
15352 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15353 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15354   echo $ECHO_N "(cached) $ECHO_C" >&6
15355 fi
15356 ac_res=`eval echo '${'$as_ac_Header'}'`
15357                { echo "$as_me:$LINENO: result: $ac_res" >&5
15358 echo "${ECHO_T}$ac_res" >&6; }
15359 else
15360   # Is the header compilable?
15361 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
15362 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
15363 cat >conftest.$ac_ext <<_ACEOF
15364 /* confdefs.h.  */
15365 _ACEOF
15366 cat confdefs.h >>conftest.$ac_ext
15367 cat >>conftest.$ac_ext <<_ACEOF
15368 /* end confdefs.h.  */
15369 $ac_includes_default
15370 #include <$ac_header>
15371 _ACEOF
15372 rm -f conftest.$ac_objext
15373 if { (ac_try="$ac_compile"
15374 case "(($ac_try" in
15375   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15376   *) ac_try_echo=$ac_try;;
15377 esac
15378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15379   (eval "$ac_compile") 2>conftest.er1
15380   ac_status=$?
15381   grep -v '^ *+' conftest.er1 >conftest.err
15382   rm -f conftest.er1
15383   cat conftest.err >&5
15384   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15385   (exit $ac_status); } && {
15386          test -z "$ac_c_werror_flag" ||
15387          test ! -s conftest.err
15388        } && test -s conftest.$ac_objext; then
15389   ac_header_compiler=yes
15390 else
15391   echo "$as_me: failed program was:" >&5
15392 sed 's/^/| /' conftest.$ac_ext >&5
15393
15394         ac_header_compiler=no
15395 fi
15396
15397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15398 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15399 echo "${ECHO_T}$ac_header_compiler" >&6; }
15400
15401 # Is the header present?
15402 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
15403 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
15404 cat >conftest.$ac_ext <<_ACEOF
15405 /* confdefs.h.  */
15406 _ACEOF
15407 cat confdefs.h >>conftest.$ac_ext
15408 cat >>conftest.$ac_ext <<_ACEOF
15409 /* end confdefs.h.  */
15410 #include <$ac_header>
15411 _ACEOF
15412 if { (ac_try="$ac_cpp conftest.$ac_ext"
15413 case "(($ac_try" in
15414   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15415   *) ac_try_echo=$ac_try;;
15416 esac
15417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15418   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15419   ac_status=$?
15420   grep -v '^ *+' conftest.er1 >conftest.err
15421   rm -f conftest.er1
15422   cat conftest.err >&5
15423   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15424   (exit $ac_status); } >/dev/null && {
15425          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15426          test ! -s conftest.err
15427        }; then
15428   ac_header_preproc=yes
15429 else
15430   echo "$as_me: failed program was:" >&5
15431 sed 's/^/| /' conftest.$ac_ext >&5
15432
15433   ac_header_preproc=no
15434 fi
15435
15436 rm -f conftest.err conftest.$ac_ext
15437 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15438 echo "${ECHO_T}$ac_header_preproc" >&6; }
15439
15440 # So?  What about this header?
15441 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15442   yes:no: )
15443     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15444 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15445     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15446 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15447     ac_header_preproc=yes
15448     ;;
15449   no:yes:* )
15450     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15451 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15452     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
15453 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
15454     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15455 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15456     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
15457 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
15458     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15459 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15460     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15461 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15462
15463     ;;
15464 esac
15465 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15466 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15467 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15468   echo $ECHO_N "(cached) $ECHO_C" >&6
15469 else
15470   eval "$as_ac_Header=\$ac_header_preproc"
15471 fi
15472 ac_res=`eval echo '${'$as_ac_Header'}'`
15473                { echo "$as_me:$LINENO: result: $ac_res" >&5
15474 echo "${ECHO_T}$ac_res" >&6; }
15475
15476 fi
15477 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15478   cat >>confdefs.h <<_ACEOF
15479 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15480 _ACEOF
15481
15482 else
15483   USE_NLS=no
15484 fi
15485
15486 done
15487
15488     { echo "$as_me:$LINENO: checking for library containing gettext" >&5
15489 echo $ECHO_N "checking for library containing gettext... $ECHO_C" >&6; }
15490 if test "${ac_cv_search_gettext+set}" = set; then
15491   echo $ECHO_N "(cached) $ECHO_C" >&6
15492 else
15493   ac_func_search_save_LIBS=$LIBS
15494 cat >conftest.$ac_ext <<_ACEOF
15495 /* confdefs.h.  */
15496 _ACEOF
15497 cat confdefs.h >>conftest.$ac_ext
15498 cat >>conftest.$ac_ext <<_ACEOF
15499 /* end confdefs.h.  */
15500
15501 /* Override any GCC internal prototype to avoid an error.
15502    Use char because int might match the return type of a GCC
15503    builtin and then its argument prototype would still apply.  */
15504 #ifdef __cplusplus
15505 extern "C"
15506 #endif
15507 char gettext ();
15508 int
15509 main ()
15510 {
15511 return gettext ();
15512   ;
15513   return 0;
15514 }
15515 _ACEOF
15516 for ac_lib in '' intl; do
15517   if test -z "$ac_lib"; then
15518     ac_res="none required"
15519   else
15520     ac_res=-l$ac_lib
15521     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
15522   fi
15523   if test x$gcc_no_link = xyes; then
15524   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15525 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15526    { (exit 1); exit 1; }; }
15527 fi
15528 rm -f conftest.$ac_objext conftest$ac_exeext
15529 if { (ac_try="$ac_link"
15530 case "(($ac_try" in
15531   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15532   *) ac_try_echo=$ac_try;;
15533 esac
15534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15535   (eval "$ac_link") 2>conftest.er1
15536   ac_status=$?
15537   grep -v '^ *+' conftest.er1 >conftest.err
15538   rm -f conftest.er1
15539   cat conftest.err >&5
15540   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15541   (exit $ac_status); } && {
15542          test -z "$ac_c_werror_flag" ||
15543          test ! -s conftest.err
15544        } && test -s conftest$ac_exeext &&
15545        $as_test_x conftest$ac_exeext; then
15546   ac_cv_search_gettext=$ac_res
15547 else
15548   echo "$as_me: failed program was:" >&5
15549 sed 's/^/| /' conftest.$ac_ext >&5
15550
15551
15552 fi
15553
15554 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15555       conftest$ac_exeext
15556   if test "${ac_cv_search_gettext+set}" = set; then
15557   break
15558 fi
15559 done
15560 if test "${ac_cv_search_gettext+set}" = set; then
15561   :
15562 else
15563   ac_cv_search_gettext=no
15564 fi
15565 rm conftest.$ac_ext
15566 LIBS=$ac_func_search_save_LIBS
15567 fi
15568 { echo "$as_me:$LINENO: result: $ac_cv_search_gettext" >&5
15569 echo "${ECHO_T}$ac_cv_search_gettext" >&6; }
15570 ac_res=$ac_cv_search_gettext
15571 if test "$ac_res" != no; then
15572   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15573
15574 else
15575   USE_NLS=no
15576 fi
15577
15578   fi
15579   if test $USE_NLS = yes; then
15580
15581 cat >>confdefs.h <<\_ACEOF
15582 #define _GLIBCXX_USE_NLS 1
15583 _ACEOF
15584
15585   fi
15586
15587
15588
15589
15590
15591
15592
15593
15594
15595
15596
15597
15598
15599
15600
15601
15602   { echo "$as_me:$LINENO: checking for std::allocator base class" >&5
15603 echo $ECHO_N "checking for std::allocator base class... $ECHO_C" >&6; }
15604    # Check whether --enable-libstdcxx-allocator was given.
15605 if test "${enable_libstdcxx_allocator+set}" = set; then
15606   enableval=$enable_libstdcxx_allocator;
15607       case "$enableval" in
15608        new|malloc|mt|bitmap|pool|yes|no|auto) ;;
15609        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable libstdcxx-allocator" >&5
15610 echo "$as_me: error: Unknown argument to enable/disable libstdcxx-allocator" >&2;}
15611    { (exit 1); exit 1; }; } ;;
15612                           esac
15613
15614 else
15615   enable_libstdcxx_allocator=auto
15616 fi
15617
15618
15619
15620   # If they didn't use this option switch, or if they specified --enable
15621   # with no specific model, we'll have to look for one.  If they
15622   # specified --disable (???), do likewise.
15623   if test $enable_libstdcxx_allocator = no ||
15624      test $enable_libstdcxx_allocator = yes;
15625   then
15626      enable_libstdcxx_allocator=auto
15627   fi
15628
15629   # Either a known package, or "auto". Auto implies the default choice
15630   # for a particular platform.
15631   enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
15632
15633   # Probe for host-specific support if no specific model is specified.
15634   # Default to "new".
15635   if test $enable_libstdcxx_allocator_flag = auto; then
15636     case ${target_os} in
15637       linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15638         enable_libstdcxx_allocator_flag=new
15639         ;;
15640       *)
15641         enable_libstdcxx_allocator_flag=new
15642         ;;
15643     esac
15644   fi
15645   { echo "$as_me:$LINENO: result: $enable_libstdcxx_allocator_flag" >&5
15646 echo "${ECHO_T}$enable_libstdcxx_allocator_flag" >&6; }
15647
15648
15649   # Set configure bits for specified locale package
15650   case ${enable_libstdcxx_allocator_flag} in
15651     bitmap)
15652       ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
15653       ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
15654       ;;
15655     malloc)
15656       ALLOCATOR_H=config/allocator/malloc_allocator_base.h
15657       ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
15658       ;;
15659     mt)
15660       ALLOCATOR_H=config/allocator/mt_allocator_base.h
15661       ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
15662       ;;
15663     new)
15664       ALLOCATOR_H=config/allocator/new_allocator_base.h
15665       ALLOCATOR_NAME=__gnu_cxx::new_allocator
15666       ;;
15667     pool)
15668       ALLOCATOR_H=config/allocator/pool_allocator_base.h
15669       ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
15670       ;;
15671   esac
15672
15673
15674
15675
15676
15677    # Check whether --enable-cheaders was given.
15678 if test "${enable_cheaders+set}" = set; then
15679   enableval=$enable_cheaders;
15680       case "$enableval" in
15681        c|c_std|c_global) ;;
15682        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cheaders" >&5
15683 echo "$as_me: error: Unknown argument to enable/disable cheaders" >&2;}
15684    { (exit 1); exit 1; }; } ;;
15685                           esac
15686
15687 else
15688   enable_cheaders=$c_model
15689 fi
15690
15691
15692   { echo "$as_me:$LINENO: \"C\" header strategy set to $enable_cheaders" >&5
15693 echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
15694
15695   C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
15696
15697   # Allow overrides to configure.host here.
15698   if test $enable_cheaders = c_global; then
15699      c_compatibility=yes
15700   fi
15701
15702   if test $enable_cheaders = c_global || test $enable_cheaders = c_std; then
15703      c_extra=yes
15704   fi
15705
15706
15707
15708
15709
15710
15711
15712
15713    # Check whether --enable-long-long was given.
15714 if test "${enable_long_long+set}" = set; then
15715   enableval=$enable_long_long;
15716       case "$enableval" in
15717        yes|no) ;;
15718        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable long-long must be yes or no" >&5
15719 echo "$as_me: error: Argument to enable/disable long-long must be yes or no" >&2;}
15720    { (exit 1); exit 1; }; } ;;
15721       esac
15722
15723 else
15724   enable_long_long=yes
15725 fi
15726
15727
15728   if test $enable_long_long = yes; then
15729
15730 cat >>confdefs.h <<\_ACEOF
15731 #define _GLIBCXX_USE_LONG_LONG 1
15732 _ACEOF
15733
15734   fi
15735   { echo "$as_me:$LINENO: checking for enabled long long specializations" >&5
15736 echo $ECHO_N "checking for enabled long long specializations... $ECHO_C" >&6; }
15737   { echo "$as_me:$LINENO: result: $enable_long_long" >&5
15738 echo "${ECHO_T}$enable_long_long" >&6; }
15739
15740
15741    # Check whether --enable-wchar_t was given.
15742 if test "${enable_wchar_t+set}" = set; then
15743   enableval=$enable_wchar_t;
15744       case "$enableval" in
15745        yes|no) ;;
15746        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable wchar_t must be yes or no" >&5
15747 echo "$as_me: error: Argument to enable/disable wchar_t must be yes or no" >&2;}
15748    { (exit 1); exit 1; }; } ;;
15749       esac
15750
15751 else
15752   enable_wchar_t=yes
15753 fi
15754
15755
15756
15757   # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
15758
15759 for ac_header in wchar.h
15760 do
15761 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15762 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15763   { echo "$as_me:$LINENO: checking for $ac_header" >&5
15764 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15765 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15766   echo $ECHO_N "(cached) $ECHO_C" >&6
15767 fi
15768 ac_res=`eval echo '${'$as_ac_Header'}'`
15769                { echo "$as_me:$LINENO: result: $ac_res" >&5
15770 echo "${ECHO_T}$ac_res" >&6; }
15771 else
15772   # Is the header compilable?
15773 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
15774 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
15775 cat >conftest.$ac_ext <<_ACEOF
15776 /* confdefs.h.  */
15777 _ACEOF
15778 cat confdefs.h >>conftest.$ac_ext
15779 cat >>conftest.$ac_ext <<_ACEOF
15780 /* end confdefs.h.  */
15781 $ac_includes_default
15782 #include <$ac_header>
15783 _ACEOF
15784 rm -f conftest.$ac_objext
15785 if { (ac_try="$ac_compile"
15786 case "(($ac_try" in
15787   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15788   *) ac_try_echo=$ac_try;;
15789 esac
15790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15791   (eval "$ac_compile") 2>conftest.er1
15792   ac_status=$?
15793   grep -v '^ *+' conftest.er1 >conftest.err
15794   rm -f conftest.er1
15795   cat conftest.err >&5
15796   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15797   (exit $ac_status); } && {
15798          test -z "$ac_c_werror_flag" ||
15799          test ! -s conftest.err
15800        } && test -s conftest.$ac_objext; then
15801   ac_header_compiler=yes
15802 else
15803   echo "$as_me: failed program was:" >&5
15804 sed 's/^/| /' conftest.$ac_ext >&5
15805
15806         ac_header_compiler=no
15807 fi
15808
15809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15810 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15811 echo "${ECHO_T}$ac_header_compiler" >&6; }
15812
15813 # Is the header present?
15814 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
15815 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
15816 cat >conftest.$ac_ext <<_ACEOF
15817 /* confdefs.h.  */
15818 _ACEOF
15819 cat confdefs.h >>conftest.$ac_ext
15820 cat >>conftest.$ac_ext <<_ACEOF
15821 /* end confdefs.h.  */
15822 #include <$ac_header>
15823 _ACEOF
15824 if { (ac_try="$ac_cpp conftest.$ac_ext"
15825 case "(($ac_try" in
15826   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15827   *) ac_try_echo=$ac_try;;
15828 esac
15829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15830   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15831   ac_status=$?
15832   grep -v '^ *+' conftest.er1 >conftest.err
15833   rm -f conftest.er1
15834   cat conftest.err >&5
15835   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15836   (exit $ac_status); } >/dev/null && {
15837          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15838          test ! -s conftest.err
15839        }; then
15840   ac_header_preproc=yes
15841 else
15842   echo "$as_me: failed program was:" >&5
15843 sed 's/^/| /' conftest.$ac_ext >&5
15844
15845   ac_header_preproc=no
15846 fi
15847
15848 rm -f conftest.err conftest.$ac_ext
15849 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15850 echo "${ECHO_T}$ac_header_preproc" >&6; }
15851
15852 # So?  What about this header?
15853 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15854   yes:no: )
15855     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15856 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15857     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15858 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15859     ac_header_preproc=yes
15860     ;;
15861   no:yes:* )
15862     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15863 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15864     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
15865 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
15866     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15867 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15868     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
15869 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
15870     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15871 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15872     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15873 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15874
15875     ;;
15876 esac
15877 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15878 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15879 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15880   echo $ECHO_N "(cached) $ECHO_C" >&6
15881 else
15882   eval "$as_ac_Header=\$ac_header_preproc"
15883 fi
15884 ac_res=`eval echo '${'$as_ac_Header'}'`
15885                { echo "$as_me:$LINENO: result: $ac_res" >&5
15886 echo "${ECHO_T}$ac_res" >&6; }
15887
15888 fi
15889 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15890   cat >>confdefs.h <<_ACEOF
15891 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15892 _ACEOF
15893  ac_has_wchar_h=yes
15894 else
15895   ac_has_wchar_h=no
15896 fi
15897
15898 done
15899
15900   { echo "$as_me:$LINENO: checking for mbstate_t" >&5
15901 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
15902   cat >conftest.$ac_ext <<_ACEOF
15903 /* confdefs.h.  */
15904 _ACEOF
15905 cat confdefs.h >>conftest.$ac_ext
15906 cat >>conftest.$ac_ext <<_ACEOF
15907 /* end confdefs.h.  */
15908 #include <wchar.h>
15909 int
15910 main ()
15911 {
15912 mbstate_t teststate;
15913   ;
15914   return 0;
15915 }
15916 _ACEOF
15917 rm -f conftest.$ac_objext
15918 if { (ac_try="$ac_compile"
15919 case "(($ac_try" in
15920   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15921   *) ac_try_echo=$ac_try;;
15922 esac
15923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15924   (eval "$ac_compile") 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); } && {
15931          test -z "$ac_c_werror_flag" ||
15932          test ! -s conftest.err
15933        } && test -s conftest.$ac_objext; then
15934   have_mbstate_t=yes
15935 else
15936   echo "$as_me: failed program was:" >&5
15937 sed 's/^/| /' conftest.$ac_ext >&5
15938
15939         have_mbstate_t=no
15940 fi
15941
15942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15943   { echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
15944 echo "${ECHO_T}$have_mbstate_t" >&6; }
15945   if test x"$have_mbstate_t" = xyes; then
15946
15947 cat >>confdefs.h <<\_ACEOF
15948 #define HAVE_MBSTATE_T 1
15949 _ACEOF
15950
15951   fi
15952
15953   # Test it always, for use in GLIBCXX_ENABLE_C99, together with
15954   # ac_has_wchar_h.
15955
15956 for ac_header in wctype.h
15957 do
15958 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15959 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15960   { echo "$as_me:$LINENO: checking for $ac_header" >&5
15961 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15962 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15963   echo $ECHO_N "(cached) $ECHO_C" >&6
15964 fi
15965 ac_res=`eval echo '${'$as_ac_Header'}'`
15966                { echo "$as_me:$LINENO: result: $ac_res" >&5
15967 echo "${ECHO_T}$ac_res" >&6; }
15968 else
15969   # Is the header compilable?
15970 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
15971 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
15972 cat >conftest.$ac_ext <<_ACEOF
15973 /* confdefs.h.  */
15974 _ACEOF
15975 cat confdefs.h >>conftest.$ac_ext
15976 cat >>conftest.$ac_ext <<_ACEOF
15977 /* end confdefs.h.  */
15978 $ac_includes_default
15979 #include <$ac_header>
15980 _ACEOF
15981 rm -f conftest.$ac_objext
15982 if { (ac_try="$ac_compile"
15983 case "(($ac_try" in
15984   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15985   *) ac_try_echo=$ac_try;;
15986 esac
15987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15988   (eval "$ac_compile") 2>conftest.er1
15989   ac_status=$?
15990   grep -v '^ *+' conftest.er1 >conftest.err
15991   rm -f conftest.er1
15992   cat conftest.err >&5
15993   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15994   (exit $ac_status); } && {
15995          test -z "$ac_c_werror_flag" ||
15996          test ! -s conftest.err
15997        } && test -s conftest.$ac_objext; then
15998   ac_header_compiler=yes
15999 else
16000   echo "$as_me: failed program was:" >&5
16001 sed 's/^/| /' conftest.$ac_ext >&5
16002
16003         ac_header_compiler=no
16004 fi
16005
16006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16007 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16008 echo "${ECHO_T}$ac_header_compiler" >&6; }
16009
16010 # Is the header present?
16011 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
16012 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
16013 cat >conftest.$ac_ext <<_ACEOF
16014 /* confdefs.h.  */
16015 _ACEOF
16016 cat confdefs.h >>conftest.$ac_ext
16017 cat >>conftest.$ac_ext <<_ACEOF
16018 /* end confdefs.h.  */
16019 #include <$ac_header>
16020 _ACEOF
16021 if { (ac_try="$ac_cpp conftest.$ac_ext"
16022 case "(($ac_try" in
16023   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16024   *) ac_try_echo=$ac_try;;
16025 esac
16026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16027   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16028   ac_status=$?
16029   grep -v '^ *+' conftest.er1 >conftest.err
16030   rm -f conftest.er1
16031   cat conftest.err >&5
16032   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16033   (exit $ac_status); } >/dev/null && {
16034          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16035          test ! -s conftest.err
16036        }; then
16037   ac_header_preproc=yes
16038 else
16039   echo "$as_me: failed program was:" >&5
16040 sed 's/^/| /' conftest.$ac_ext >&5
16041
16042   ac_header_preproc=no
16043 fi
16044
16045 rm -f conftest.err conftest.$ac_ext
16046 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16047 echo "${ECHO_T}$ac_header_preproc" >&6; }
16048
16049 # So?  What about this header?
16050 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16051   yes:no: )
16052     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16053 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16054     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16055 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16056     ac_header_preproc=yes
16057     ;;
16058   no:yes:* )
16059     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16060 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16061     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
16062 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
16063     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16064 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16065     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
16066 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
16067     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16068 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16069     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16070 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16071
16072     ;;
16073 esac
16074 { echo "$as_me:$LINENO: checking for $ac_header" >&5
16075 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
16076 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16077   echo $ECHO_N "(cached) $ECHO_C" >&6
16078 else
16079   eval "$as_ac_Header=\$ac_header_preproc"
16080 fi
16081 ac_res=`eval echo '${'$as_ac_Header'}'`
16082                { echo "$as_me:$LINENO: result: $ac_res" >&5
16083 echo "${ECHO_T}$ac_res" >&6; }
16084
16085 fi
16086 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16087   cat >>confdefs.h <<_ACEOF
16088 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16089 _ACEOF
16090  ac_has_wctype_h=yes
16091 else
16092   ac_has_wctype_h=no
16093 fi
16094
16095 done
16096
16097
16098   if test x"$enable_wchar_t" = x"yes"; then
16099
16100
16101     ac_ext=cpp
16102 ac_cpp='$CXXCPP $CPPFLAGS'
16103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16106
16107
16108     if test x"$ac_has_wchar_h" = xyes &&
16109        test x"$ac_has_wctype_h" = xyes; then
16110       cat >conftest.$ac_ext <<_ACEOF
16111 /* confdefs.h.  */
16112 _ACEOF
16113 cat confdefs.h >>conftest.$ac_ext
16114 cat >>conftest.$ac_ext <<_ACEOF
16115 /* end confdefs.h.  */
16116 #include <wchar.h>
16117                       #include <stddef.h>
16118                       wint_t i;
16119                       long l = WEOF;
16120                       long j = WCHAR_MIN;
16121                       long k = WCHAR_MAX;
16122                       namespace test
16123                       {
16124                         using ::btowc;
16125                         using ::fgetwc;
16126                         using ::fgetws;
16127                         using ::fputwc;
16128                         using ::fputws;
16129                         using ::fwide;
16130                         using ::fwprintf;
16131                         using ::fwscanf;
16132                         using ::getwc;
16133                         using ::getwchar;
16134                         using ::mbrlen;
16135                         using ::mbrtowc;
16136                         using ::mbsinit;
16137                         using ::mbsrtowcs;
16138                         using ::putwc;
16139                         using ::putwchar;
16140                         using ::swprintf;
16141                         using ::swscanf;
16142                         using ::ungetwc;
16143                         using ::vfwprintf;
16144                         using ::vswprintf;
16145                         using ::vwprintf;
16146                         using ::wcrtomb;
16147                         using ::wcscat;
16148                         using ::wcschr;
16149                         using ::wcscmp;
16150                         using ::wcscoll;
16151                         using ::wcscpy;
16152                         using ::wcscspn;
16153                         using ::wcsftime;
16154                         using ::wcslen;
16155                         using ::wcsncat;
16156                         using ::wcsncmp;
16157                         using ::wcsncpy;
16158                         using ::wcspbrk;
16159                         using ::wcsrchr;
16160                         using ::wcsrtombs;
16161                         using ::wcsspn;
16162                         using ::wcsstr;
16163                         using ::wcstod;
16164                         using ::wcstok;
16165                         using ::wcstol;
16166                         using ::wcstoul;
16167                         using ::wcsxfrm;
16168                         using ::wctob;
16169                         using ::wmemchr;
16170                         using ::wmemcmp;
16171                         using ::wmemcpy;
16172                         using ::wmemmove;
16173                         using ::wmemset;
16174                         using ::wprintf;
16175                         using ::wscanf;
16176                       }
16177
16178 int
16179 main ()
16180 {
16181
16182   ;
16183   return 0;
16184 }
16185 _ACEOF
16186 rm -f conftest.$ac_objext
16187 if { (ac_try="$ac_compile"
16188 case "(($ac_try" in
16189   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16190   *) ac_try_echo=$ac_try;;
16191 esac
16192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16193   (eval "$ac_compile") 2>conftest.er1
16194   ac_status=$?
16195   grep -v '^ *+' conftest.er1 >conftest.err
16196   rm -f conftest.er1
16197   cat conftest.err >&5
16198   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16199   (exit $ac_status); } && {
16200          test -z "$ac_cxx_werror_flag" ||
16201          test ! -s conftest.err
16202        } && test -s conftest.$ac_objext; then
16203   :
16204 else
16205   echo "$as_me: failed program was:" >&5
16206 sed 's/^/| /' conftest.$ac_ext >&5
16207
16208         enable_wchar_t=no
16209 fi
16210
16211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16212     else
16213       enable_wchar_t=no
16214     fi
16215
16216     ac_ext=c
16217 ac_cpp='$CPP $CPPFLAGS'
16218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16221
16222   fi
16223
16224   if test x"$enable_wchar_t" = x"yes"; then
16225
16226 cat >>confdefs.h <<\_ACEOF
16227 #define _GLIBCXX_USE_WCHAR_T 1
16228 _ACEOF
16229
16230   fi
16231
16232   { echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
16233 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6; }
16234   { echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
16235 echo "${ECHO_T}$enable_wchar_t" >&6; }
16236
16237
16238
16239    # Check whether --enable-c99 was given.
16240 if test "${enable_c99+set}" = set; then
16241   enableval=$enable_c99;
16242       case "$enableval" in
16243        yes|no) ;;
16244        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c99 must be yes or no" >&5
16245 echo "$as_me: error: Argument to enable/disable c99 must be yes or no" >&2;}
16246    { (exit 1); exit 1; }; } ;;
16247       esac
16248
16249 else
16250   enable_c99=yes
16251 fi
16252
16253
16254
16255   if test x"$enable_c99" = x"yes"; then
16256
16257
16258   ac_ext=cpp
16259 ac_cpp='$CXXCPP $CPPFLAGS'
16260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16263
16264
16265   # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
16266   # undefined and fake C99 facilities - like pre-standard snprintf - may be
16267   # spuriously enabled.
16268   # Long term, -std=c++0x could be even better, could manage to explicitely
16269   # request C99 facilities to the underlying C headers.
16270   ac_save_CXXFLAGS="$CXXFLAGS"
16271   CXXFLAGS="$CXXFLAGS -std=c++98"
16272   ac_save_LIBS="$LIBS"
16273   ac_save_gcc_no_link="$gcc_no_link"
16274
16275   if test x$gcc_no_link != xyes; then
16276     # Use -fno-exceptions to that the C driver can link these tests without
16277     # hitting undefined references to personality routines.
16278     CXXFLAGS="$CXXFLAGS -fno-exceptions"
16279     { echo "$as_me:$LINENO: checking for sin in -lm" >&5
16280 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6; }
16281 if test "${ac_cv_lib_m_sin+set}" = set; then
16282   echo $ECHO_N "(cached) $ECHO_C" >&6
16283 else
16284   ac_check_lib_save_LIBS=$LIBS
16285 LIBS="-lm  $LIBS"
16286 if test x$gcc_no_link = xyes; then
16287   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16288 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16289    { (exit 1); exit 1; }; }
16290 fi
16291 cat >conftest.$ac_ext <<_ACEOF
16292 /* confdefs.h.  */
16293 _ACEOF
16294 cat confdefs.h >>conftest.$ac_ext
16295 cat >>conftest.$ac_ext <<_ACEOF
16296 /* end confdefs.h.  */
16297
16298 /* Override any GCC internal prototype to avoid an error.
16299    Use char because int might match the return type of a GCC
16300    builtin and then its argument prototype would still apply.  */
16301 #ifdef __cplusplus
16302 extern "C"
16303 #endif
16304 char sin ();
16305 int
16306 main ()
16307 {
16308 return sin ();
16309   ;
16310   return 0;
16311 }
16312 _ACEOF
16313 rm -f conftest.$ac_objext conftest$ac_exeext
16314 if { (ac_try="$ac_link"
16315 case "(($ac_try" in
16316   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16317   *) ac_try_echo=$ac_try;;
16318 esac
16319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16320   (eval "$ac_link") 2>conftest.er1
16321   ac_status=$?
16322   grep -v '^ *+' conftest.er1 >conftest.err
16323   rm -f conftest.er1
16324   cat conftest.err >&5
16325   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16326   (exit $ac_status); } && {
16327          test -z "$ac_cxx_werror_flag" ||
16328          test ! -s conftest.err
16329        } && test -s conftest$ac_exeext &&
16330        $as_test_x conftest$ac_exeext; then
16331   ac_cv_lib_m_sin=yes
16332 else
16333   echo "$as_me: failed program was:" >&5
16334 sed 's/^/| /' conftest.$ac_ext >&5
16335
16336         ac_cv_lib_m_sin=no
16337 fi
16338
16339 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16340       conftest$ac_exeext conftest.$ac_ext
16341 LIBS=$ac_check_lib_save_LIBS
16342 fi
16343 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
16344 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6; }
16345 if test $ac_cv_lib_m_sin = yes; then
16346
16347       LIBS="$LIBS -lm"
16348
16349 else
16350
16351       # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16352       gcc_no_link=yes
16353
16354 fi
16355
16356   fi
16357
16358   # Check for the existence of <math.h> functions used if C99 is enabled.
16359   { echo "$as_me:$LINENO: checking for ISO C99 support in <math.h>" >&5
16360 echo $ECHO_N "checking for ISO C99 support in <math.h>... $ECHO_C" >&6; }
16361   if test "${ac_c99_math+set}" = set; then
16362   echo $ECHO_N "(cached) $ECHO_C" >&6
16363 else
16364
16365   if test x$gcc_no_link = xyes; then
16366   cat >conftest.$ac_ext <<_ACEOF
16367 /* confdefs.h.  */
16368 _ACEOF
16369 cat confdefs.h >>conftest.$ac_ext
16370 cat >>conftest.$ac_ext <<_ACEOF
16371 /* end confdefs.h.  */
16372 #include <math.h>
16373       volatile double d1, d2;
16374       volatile int i;
16375 int
16376 main ()
16377 {
16378 i = fpclassify(d1);
16379       i = isfinite(d1);
16380       i = isinf(d1);
16381       i = isnan(d1);
16382       i = isnormal(d1);
16383       i = signbit(d1);
16384       i = isgreater(d1, d2);
16385       i = isgreaterequal(d1, d2);
16386       i = isless(d1, d2);
16387       i = islessequal(d1, d2);
16388       i = islessgreater(d1, d2);
16389       i = islessgreater(d1, d2);
16390       i = isunordered(d1, d2);
16391
16392   ;
16393   return 0;
16394 }
16395 _ACEOF
16396 rm -f conftest.$ac_objext
16397 if { (ac_try="$ac_compile"
16398 case "(($ac_try" in
16399   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16400   *) ac_try_echo=$ac_try;;
16401 esac
16402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16403   (eval "$ac_compile") 2>conftest.er1
16404   ac_status=$?
16405   grep -v '^ *+' conftest.er1 >conftest.err
16406   rm -f conftest.er1
16407   cat conftest.err >&5
16408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16409   (exit $ac_status); } && {
16410          test -z "$ac_cxx_werror_flag" ||
16411          test ! -s conftest.err
16412        } && test -s conftest.$ac_objext; then
16413   ac_c99_math=yes
16414 else
16415   echo "$as_me: failed program was:" >&5
16416 sed 's/^/| /' conftest.$ac_ext >&5
16417
16418         ac_c99_math=no
16419 fi
16420
16421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16422 else
16423   if test x$gcc_no_link = xyes; then
16424   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16425 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16426    { (exit 1); exit 1; }; }
16427 fi
16428 cat >conftest.$ac_ext <<_ACEOF
16429 /* confdefs.h.  */
16430 _ACEOF
16431 cat confdefs.h >>conftest.$ac_ext
16432 cat >>conftest.$ac_ext <<_ACEOF
16433 /* end confdefs.h.  */
16434 #include <math.h>
16435       volatile double d1, d2;
16436       volatile int i;
16437 int
16438 main ()
16439 {
16440 i = fpclassify(d1);
16441       i = isfinite(d1);
16442       i = isinf(d1);
16443       i = isnan(d1);
16444       i = isnormal(d1);
16445       i = signbit(d1);
16446       i = isgreater(d1, d2);
16447       i = isgreaterequal(d1, d2);
16448       i = isless(d1, d2);
16449       i = islessequal(d1, d2);
16450       i = islessgreater(d1, d2);
16451       i = islessgreater(d1, d2);
16452       i = isunordered(d1, d2);
16453
16454   ;
16455   return 0;
16456 }
16457 _ACEOF
16458 rm -f conftest.$ac_objext conftest$ac_exeext
16459 if { (ac_try="$ac_link"
16460 case "(($ac_try" in
16461   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16462   *) ac_try_echo=$ac_try;;
16463 esac
16464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16465   (eval "$ac_link") 2>conftest.er1
16466   ac_status=$?
16467   grep -v '^ *+' conftest.er1 >conftest.err
16468   rm -f conftest.er1
16469   cat conftest.err >&5
16470   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16471   (exit $ac_status); } && {
16472          test -z "$ac_cxx_werror_flag" ||
16473          test ! -s conftest.err
16474        } && test -s conftest$ac_exeext &&
16475        $as_test_x conftest$ac_exeext; then
16476   ac_c99_math=yes
16477 else
16478   echo "$as_me: failed program was:" >&5
16479 sed 's/^/| /' conftest.$ac_ext >&5
16480
16481         ac_c99_math=no
16482 fi
16483
16484 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16485       conftest$ac_exeext conftest.$ac_ext
16486 fi
16487
16488 fi
16489
16490   { echo "$as_me:$LINENO: result: $ac_c99_math" >&5
16491 echo "${ECHO_T}$ac_c99_math" >&6; }
16492   if test x"$ac_c99_math" = x"yes"; then
16493
16494 cat >>confdefs.h <<\_ACEOF
16495 #define _GLIBCXX_USE_C99_MATH 1
16496 _ACEOF
16497
16498   fi
16499
16500   # Check for the existence of <complex.h> complex math functions.
16501   # This is necessary even though libstdc++ uses the builtin versions
16502   # of these functions, because if the builtin cannot be used, a reference
16503   # to the library function is emitted.
16504
16505 for ac_header in tgmath.h
16506 do
16507 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16508 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16509   { echo "$as_me:$LINENO: checking for $ac_header" >&5
16510 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
16511 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16512   echo $ECHO_N "(cached) $ECHO_C" >&6
16513 fi
16514 ac_res=`eval echo '${'$as_ac_Header'}'`
16515                { echo "$as_me:$LINENO: result: $ac_res" >&5
16516 echo "${ECHO_T}$ac_res" >&6; }
16517 else
16518   # Is the header compilable?
16519 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
16520 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
16521 cat >conftest.$ac_ext <<_ACEOF
16522 /* confdefs.h.  */
16523 _ACEOF
16524 cat confdefs.h >>conftest.$ac_ext
16525 cat >>conftest.$ac_ext <<_ACEOF
16526 /* end confdefs.h.  */
16527 $ac_includes_default
16528 #include <$ac_header>
16529 _ACEOF
16530 rm -f conftest.$ac_objext
16531 if { (ac_try="$ac_compile"
16532 case "(($ac_try" in
16533   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16534   *) ac_try_echo=$ac_try;;
16535 esac
16536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16537   (eval "$ac_compile") 2>conftest.er1
16538   ac_status=$?
16539   grep -v '^ *+' conftest.er1 >conftest.err
16540   rm -f conftest.er1
16541   cat conftest.err >&5
16542   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16543   (exit $ac_status); } && {
16544          test -z "$ac_cxx_werror_flag" ||
16545          test ! -s conftest.err
16546        } && test -s conftest.$ac_objext; then
16547   ac_header_compiler=yes
16548 else
16549   echo "$as_me: failed program was:" >&5
16550 sed 's/^/| /' conftest.$ac_ext >&5
16551
16552         ac_header_compiler=no
16553 fi
16554
16555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16556 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16557 echo "${ECHO_T}$ac_header_compiler" >&6; }
16558
16559 # Is the header present?
16560 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
16561 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
16562 cat >conftest.$ac_ext <<_ACEOF
16563 /* confdefs.h.  */
16564 _ACEOF
16565 cat confdefs.h >>conftest.$ac_ext
16566 cat >>conftest.$ac_ext <<_ACEOF
16567 /* end confdefs.h.  */
16568 #include <$ac_header>
16569 _ACEOF
16570 if { (ac_try="$ac_cpp conftest.$ac_ext"
16571 case "(($ac_try" in
16572   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16573   *) ac_try_echo=$ac_try;;
16574 esac
16575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16576   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16577   ac_status=$?
16578   grep -v '^ *+' conftest.er1 >conftest.err
16579   rm -f conftest.er1
16580   cat conftest.err >&5
16581   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16582   (exit $ac_status); } >/dev/null && {
16583          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
16584          test ! -s conftest.err
16585        }; then
16586   ac_header_preproc=yes
16587 else
16588   echo "$as_me: failed program was:" >&5
16589 sed 's/^/| /' conftest.$ac_ext >&5
16590
16591   ac_header_preproc=no
16592 fi
16593
16594 rm -f conftest.err conftest.$ac_ext
16595 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16596 echo "${ECHO_T}$ac_header_preproc" >&6; }
16597
16598 # So?  What about this header?
16599 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16600   yes:no: )
16601     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16602 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16603     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16604 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16605     ac_header_preproc=yes
16606     ;;
16607   no:yes:* )
16608     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16609 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16610     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
16611 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
16612     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16613 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16614     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
16615 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
16616     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16617 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16618     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16619 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16620
16621     ;;
16622 esac
16623 { echo "$as_me:$LINENO: checking for $ac_header" >&5
16624 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
16625 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16626   echo $ECHO_N "(cached) $ECHO_C" >&6
16627 else
16628   eval "$as_ac_Header=\$ac_header_preproc"
16629 fi
16630 ac_res=`eval echo '${'$as_ac_Header'}'`
16631                { echo "$as_me:$LINENO: result: $ac_res" >&5
16632 echo "${ECHO_T}$ac_res" >&6; }
16633
16634 fi
16635 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16636   cat >>confdefs.h <<_ACEOF
16637 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16638 _ACEOF
16639  ac_has_tgmath_h=yes
16640 else
16641   ac_has_tgmath_h=no
16642 fi
16643
16644 done
16645
16646
16647 for ac_header in complex.h
16648 do
16649 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16650 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16651   { echo "$as_me:$LINENO: checking for $ac_header" >&5
16652 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
16653 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16654   echo $ECHO_N "(cached) $ECHO_C" >&6
16655 fi
16656 ac_res=`eval echo '${'$as_ac_Header'}'`
16657                { echo "$as_me:$LINENO: result: $ac_res" >&5
16658 echo "${ECHO_T}$ac_res" >&6; }
16659 else
16660   # Is the header compilable?
16661 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
16662 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
16663 cat >conftest.$ac_ext <<_ACEOF
16664 /* confdefs.h.  */
16665 _ACEOF
16666 cat confdefs.h >>conftest.$ac_ext
16667 cat >>conftest.$ac_ext <<_ACEOF
16668 /* end confdefs.h.  */
16669 $ac_includes_default
16670 #include <$ac_header>
16671 _ACEOF
16672 rm -f conftest.$ac_objext
16673 if { (ac_try="$ac_compile"
16674 case "(($ac_try" in
16675   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16676   *) ac_try_echo=$ac_try;;
16677 esac
16678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16679   (eval "$ac_compile") 2>conftest.er1
16680   ac_status=$?
16681   grep -v '^ *+' conftest.er1 >conftest.err
16682   rm -f conftest.er1
16683   cat conftest.err >&5
16684   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16685   (exit $ac_status); } && {
16686          test -z "$ac_cxx_werror_flag" ||
16687          test ! -s conftest.err
16688        } && test -s conftest.$ac_objext; then
16689   ac_header_compiler=yes
16690 else
16691   echo "$as_me: failed program was:" >&5
16692 sed 's/^/| /' conftest.$ac_ext >&5
16693
16694         ac_header_compiler=no
16695 fi
16696
16697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16698 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16699 echo "${ECHO_T}$ac_header_compiler" >&6; }
16700
16701 # Is the header present?
16702 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
16703 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
16704 cat >conftest.$ac_ext <<_ACEOF
16705 /* confdefs.h.  */
16706 _ACEOF
16707 cat confdefs.h >>conftest.$ac_ext
16708 cat >>conftest.$ac_ext <<_ACEOF
16709 /* end confdefs.h.  */
16710 #include <$ac_header>
16711 _ACEOF
16712 if { (ac_try="$ac_cpp conftest.$ac_ext"
16713 case "(($ac_try" in
16714   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16715   *) ac_try_echo=$ac_try;;
16716 esac
16717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16718   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16719   ac_status=$?
16720   grep -v '^ *+' conftest.er1 >conftest.err
16721   rm -f conftest.er1
16722   cat conftest.err >&5
16723   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16724   (exit $ac_status); } >/dev/null && {
16725          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
16726          test ! -s conftest.err
16727        }; then
16728   ac_header_preproc=yes
16729 else
16730   echo "$as_me: failed program was:" >&5
16731 sed 's/^/| /' conftest.$ac_ext >&5
16732
16733   ac_header_preproc=no
16734 fi
16735
16736 rm -f conftest.err conftest.$ac_ext
16737 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16738 echo "${ECHO_T}$ac_header_preproc" >&6; }
16739
16740 # So?  What about this header?
16741 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16742   yes:no: )
16743     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16744 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16745     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16746 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16747     ac_header_preproc=yes
16748     ;;
16749   no:yes:* )
16750     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16751 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16752     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
16753 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
16754     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16755 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16756     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
16757 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
16758     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16759 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16760     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16761 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16762
16763     ;;
16764 esac
16765 { echo "$as_me:$LINENO: checking for $ac_header" >&5
16766 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
16767 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16768   echo $ECHO_N "(cached) $ECHO_C" >&6
16769 else
16770   eval "$as_ac_Header=\$ac_header_preproc"
16771 fi
16772 ac_res=`eval echo '${'$as_ac_Header'}'`
16773                { echo "$as_me:$LINENO: result: $ac_res" >&5
16774 echo "${ECHO_T}$ac_res" >&6; }
16775
16776 fi
16777 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16778   cat >>confdefs.h <<_ACEOF
16779 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16780 _ACEOF
16781  ac_has_complex_h=yes
16782 else
16783   ac_has_complex_h=no
16784 fi
16785
16786 done
16787
16788   ac_c99_complex=no;
16789   if test x"$ac_has_complex_h" = x"yes"; then
16790     { echo "$as_me:$LINENO: checking for ISO C99 support in <complex.h>" >&5
16791 echo $ECHO_N "checking for ISO C99 support in <complex.h>... $ECHO_C" >&6; }
16792     if test x$gcc_no_link = xyes; then
16793   cat >conftest.$ac_ext <<_ACEOF
16794 /* confdefs.h.  */
16795 _ACEOF
16796 cat confdefs.h >>conftest.$ac_ext
16797 cat >>conftest.$ac_ext <<_ACEOF
16798 /* end confdefs.h.  */
16799 #include <complex.h>
16800         typedef __complex__ float float_type;
16801         typedef __complex__ double double_type;
16802         typedef __complex__ long double ld_type;
16803         volatile float_type tmpf;
16804         volatile double_type tmpd;
16805         volatile ld_type tmpld;
16806         volatile float f;
16807         volatile double d;
16808         volatile long double ld;
16809 int
16810 main ()
16811 {
16812 f = cabsf(tmpf);
16813         f = cargf(tmpf);
16814         tmpf = ccosf(tmpf);
16815         tmpf = ccoshf(tmpf);
16816         tmpf = cexpf(tmpf);
16817         tmpf = clogf(tmpf);
16818         tmpf = csinf(tmpf);
16819         tmpf = csinhf(tmpf);
16820         tmpf = csqrtf(tmpf);
16821         tmpf = ctanf(tmpf);
16822         tmpf = ctanhf(tmpf);
16823         tmpf = cpowf(tmpf, tmpf);
16824         d = cabs(tmpd);
16825         d = carg(tmpd);
16826         tmpd = ccos(tmpd);
16827         tmpd = ccosh(tmpd);
16828         tmpd = cexp(tmpd);
16829         tmpd = clog(tmpd);
16830         tmpd = csin(tmpd);
16831         tmpd = csinh(tmpd);
16832         tmpd = csqrt(tmpd);
16833         tmpd = ctan(tmpd);
16834         tmpd = ctanh(tmpd);
16835         tmpd = cpow(tmpd, tmpd);
16836         ld = cabsl(tmpld);
16837         ld = cargl(tmpld);
16838         tmpld = ccosl(tmpld);
16839         tmpld = ccoshl(tmpld);
16840         tmpld = cexpl(tmpld);
16841         tmpld = clogl(tmpld);
16842         tmpld = csinl(tmpld);
16843         tmpld = csinhl(tmpld);
16844         tmpld = csqrtl(tmpld);
16845         tmpld = ctanl(tmpld);
16846         tmpld = ctanhl(tmpld);
16847         tmpld = cpowl(tmpld, tmpld);
16848
16849   ;
16850   return 0;
16851 }
16852 _ACEOF
16853 rm -f conftest.$ac_objext
16854 if { (ac_try="$ac_compile"
16855 case "(($ac_try" in
16856   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16857   *) ac_try_echo=$ac_try;;
16858 esac
16859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16860   (eval "$ac_compile") 2>conftest.er1
16861   ac_status=$?
16862   grep -v '^ *+' conftest.er1 >conftest.err
16863   rm -f conftest.er1
16864   cat conftest.err >&5
16865   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16866   (exit $ac_status); } && {
16867          test -z "$ac_cxx_werror_flag" ||
16868          test ! -s conftest.err
16869        } && test -s conftest.$ac_objext; then
16870   ac_c99_complex=yes
16871 else
16872   echo "$as_me: failed program was:" >&5
16873 sed 's/^/| /' conftest.$ac_ext >&5
16874
16875         ac_c99_complex=no
16876 fi
16877
16878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16879 else
16880   if test x$gcc_no_link = xyes; then
16881   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16882 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16883    { (exit 1); exit 1; }; }
16884 fi
16885 cat >conftest.$ac_ext <<_ACEOF
16886 /* confdefs.h.  */
16887 _ACEOF
16888 cat confdefs.h >>conftest.$ac_ext
16889 cat >>conftest.$ac_ext <<_ACEOF
16890 /* end confdefs.h.  */
16891 #include <complex.h>
16892         typedef __complex__ float float_type;
16893         typedef __complex__ double double_type;
16894         typedef __complex__ long double ld_type;
16895         volatile float_type tmpf;
16896         volatile double_type tmpd;
16897         volatile ld_type tmpld;
16898         volatile float f;
16899         volatile double d;
16900         volatile long double ld;
16901 int
16902 main ()
16903 {
16904 f = cabsf(tmpf);
16905         f = cargf(tmpf);
16906         tmpf = ccosf(tmpf);
16907         tmpf = ccoshf(tmpf);
16908         tmpf = cexpf(tmpf);
16909         tmpf = clogf(tmpf);
16910         tmpf = csinf(tmpf);
16911         tmpf = csinhf(tmpf);
16912         tmpf = csqrtf(tmpf);
16913         tmpf = ctanf(tmpf);
16914         tmpf = ctanhf(tmpf);
16915         tmpf = cpowf(tmpf, tmpf);
16916         d = cabs(tmpd);
16917         d = carg(tmpd);
16918         tmpd = ccos(tmpd);
16919         tmpd = ccosh(tmpd);
16920         tmpd = cexp(tmpd);
16921         tmpd = clog(tmpd);
16922         tmpd = csin(tmpd);
16923         tmpd = csinh(tmpd);
16924         tmpd = csqrt(tmpd);
16925         tmpd = ctan(tmpd);
16926         tmpd = ctanh(tmpd);
16927         tmpd = cpow(tmpd, tmpd);
16928         ld = cabsl(tmpld);
16929         ld = cargl(tmpld);
16930         tmpld = ccosl(tmpld);
16931         tmpld = ccoshl(tmpld);
16932         tmpld = cexpl(tmpld);
16933         tmpld = clogl(tmpld);
16934         tmpld = csinl(tmpld);
16935         tmpld = csinhl(tmpld);
16936         tmpld = csqrtl(tmpld);
16937         tmpld = ctanl(tmpld);
16938         tmpld = ctanhl(tmpld);
16939         tmpld = cpowl(tmpld, tmpld);
16940
16941   ;
16942   return 0;
16943 }
16944 _ACEOF
16945 rm -f conftest.$ac_objext conftest$ac_exeext
16946 if { (ac_try="$ac_link"
16947 case "(($ac_try" in
16948   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16949   *) ac_try_echo=$ac_try;;
16950 esac
16951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16952   (eval "$ac_link") 2>conftest.er1
16953   ac_status=$?
16954   grep -v '^ *+' conftest.er1 >conftest.err
16955   rm -f conftest.er1
16956   cat conftest.err >&5
16957   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16958   (exit $ac_status); } && {
16959          test -z "$ac_cxx_werror_flag" ||
16960          test ! -s conftest.err
16961        } && test -s conftest$ac_exeext &&
16962        $as_test_x conftest$ac_exeext; then
16963   ac_c99_complex=yes
16964 else
16965   echo "$as_me: failed program was:" >&5
16966 sed 's/^/| /' conftest.$ac_ext >&5
16967
16968         ac_c99_complex=no
16969 fi
16970
16971 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16972       conftest$ac_exeext conftest.$ac_ext
16973 fi
16974   fi
16975   { echo "$as_me:$LINENO: result: $ac_c99_complex" >&5
16976 echo "${ECHO_T}$ac_c99_complex" >&6; }
16977   if test x"$ac_c99_complex" = x"yes"; then
16978
16979 cat >>confdefs.h <<\_ACEOF
16980 #define _GLIBCXX_USE_C99_COMPLEX 1
16981 _ACEOF
16982
16983   fi
16984
16985   # Check for the existence in <stdio.h> of vscanf, et. al.
16986   { echo "$as_me:$LINENO: checking for ISO C99 support in <stdio.h>" >&5
16987 echo $ECHO_N "checking for ISO C99 support in <stdio.h>... $ECHO_C" >&6; }
16988   if test "${ac_c99_stdio+set}" = set; then
16989   echo $ECHO_N "(cached) $ECHO_C" >&6
16990 else
16991
16992   if test x$gcc_no_link = xyes; then
16993   cat >conftest.$ac_ext <<_ACEOF
16994 /* confdefs.h.  */
16995 _ACEOF
16996 cat confdefs.h >>conftest.$ac_ext
16997 cat >>conftest.$ac_ext <<_ACEOF
16998 /* end confdefs.h.  */
16999 #include <stdio.h>
17000       #include <stdarg.h>
17001       void foo(char* fmt, ...)
17002       {
17003         va_list args; va_start(args, fmt);
17004         vfscanf(stderr, "%i", args);
17005         vscanf("%i", args);
17006         vsnprintf(fmt, 0, "%i", args);
17007         vsscanf(fmt, "%i", args);
17008       }
17009 int
17010 main ()
17011 {
17012 snprintf("12", 0, "%i");
17013   ;
17014   return 0;
17015 }
17016 _ACEOF
17017 rm -f conftest.$ac_objext
17018 if { (ac_try="$ac_compile"
17019 case "(($ac_try" in
17020   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17021   *) ac_try_echo=$ac_try;;
17022 esac
17023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17024   (eval "$ac_compile") 2>conftest.er1
17025   ac_status=$?
17026   grep -v '^ *+' conftest.er1 >conftest.err
17027   rm -f conftest.er1
17028   cat conftest.err >&5
17029   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17030   (exit $ac_status); } && {
17031          test -z "$ac_cxx_werror_flag" ||
17032          test ! -s conftest.err
17033        } && test -s conftest.$ac_objext; then
17034   ac_c99_stdio=yes
17035 else
17036   echo "$as_me: failed program was:" >&5
17037 sed 's/^/| /' conftest.$ac_ext >&5
17038
17039         ac_c99_stdio=no
17040 fi
17041
17042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17043 else
17044   if test x$gcc_no_link = xyes; then
17045   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17046 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17047    { (exit 1); exit 1; }; }
17048 fi
17049 cat >conftest.$ac_ext <<_ACEOF
17050 /* confdefs.h.  */
17051 _ACEOF
17052 cat confdefs.h >>conftest.$ac_ext
17053 cat >>conftest.$ac_ext <<_ACEOF
17054 /* end confdefs.h.  */
17055 #include <stdio.h>
17056       #include <stdarg.h>
17057       void foo(char* fmt, ...)
17058       {
17059         va_list args; va_start(args, fmt);
17060         vfscanf(stderr, "%i", args);
17061         vscanf("%i", args);
17062         vsnprintf(fmt, 0, "%i", args);
17063         vsscanf(fmt, "%i", args);
17064       }
17065 int
17066 main ()
17067 {
17068 snprintf("12", 0, "%i");
17069   ;
17070   return 0;
17071 }
17072 _ACEOF
17073 rm -f conftest.$ac_objext conftest$ac_exeext
17074 if { (ac_try="$ac_link"
17075 case "(($ac_try" in
17076   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17077   *) ac_try_echo=$ac_try;;
17078 esac
17079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17080   (eval "$ac_link") 2>conftest.er1
17081   ac_status=$?
17082   grep -v '^ *+' conftest.er1 >conftest.err
17083   rm -f conftest.er1
17084   cat conftest.err >&5
17085   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17086   (exit $ac_status); } && {
17087          test -z "$ac_cxx_werror_flag" ||
17088          test ! -s conftest.err
17089        } && test -s conftest$ac_exeext &&
17090        $as_test_x conftest$ac_exeext; then
17091   ac_c99_stdio=yes
17092 else
17093   echo "$as_me: failed program was:" >&5
17094 sed 's/^/| /' conftest.$ac_ext >&5
17095
17096         ac_c99_stdio=no
17097 fi
17098
17099 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17100       conftest$ac_exeext conftest.$ac_ext
17101 fi
17102
17103 fi
17104
17105   { echo "$as_me:$LINENO: result: $ac_c99_stdio" >&5
17106 echo "${ECHO_T}$ac_c99_stdio" >&6; }
17107
17108   # Check for the existence in <stdlib.h> of lldiv_t, et. al.
17109   { echo "$as_me:$LINENO: checking for ISO C99 support in <stdlib.h>" >&5
17110 echo $ECHO_N "checking for ISO C99 support in <stdlib.h>... $ECHO_C" >&6; }
17111   if test "${ac_c99_stdlib+set}" = set; then
17112   echo $ECHO_N "(cached) $ECHO_C" >&6
17113 else
17114
17115   if test x$gcc_no_link = xyes; then
17116   cat >conftest.$ac_ext <<_ACEOF
17117 /* confdefs.h.  */
17118 _ACEOF
17119 cat confdefs.h >>conftest.$ac_ext
17120 cat >>conftest.$ac_ext <<_ACEOF
17121 /* end confdefs.h.  */
17122 #include <stdlib.h>
17123       volatile float f;
17124       volatile long double ld;
17125       volatile unsigned long long ll;
17126       lldiv_t mydivt;
17127 int
17128 main ()
17129 {
17130 char* tmp;
17131       f = strtof("gnu", &tmp);
17132       ld = strtold("gnu", &tmp);
17133       ll = strtoll("gnu", &tmp, 10);
17134       ll = strtoull("gnu", &tmp, 10);
17135       ll = llabs(10);
17136       mydivt = lldiv(10,1);
17137       ll = mydivt.quot;
17138       ll = mydivt.rem;
17139       ll = atoll("10");
17140       _Exit(0);
17141
17142   ;
17143   return 0;
17144 }
17145 _ACEOF
17146 rm -f conftest.$ac_objext
17147 if { (ac_try="$ac_compile"
17148 case "(($ac_try" in
17149   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17150   *) ac_try_echo=$ac_try;;
17151 esac
17152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17153   (eval "$ac_compile") 2>conftest.er1
17154   ac_status=$?
17155   grep -v '^ *+' conftest.er1 >conftest.err
17156   rm -f conftest.er1
17157   cat conftest.err >&5
17158   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17159   (exit $ac_status); } && {
17160          test -z "$ac_cxx_werror_flag" ||
17161          test ! -s conftest.err
17162        } && test -s conftest.$ac_objext; then
17163   ac_c99_stdlib=yes
17164 else
17165   echo "$as_me: failed program was:" >&5
17166 sed 's/^/| /' conftest.$ac_ext >&5
17167
17168         ac_c99_stdlib=no
17169 fi
17170
17171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17172 else
17173   if test x$gcc_no_link = xyes; then
17174   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17175 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17176    { (exit 1); exit 1; }; }
17177 fi
17178 cat >conftest.$ac_ext <<_ACEOF
17179 /* confdefs.h.  */
17180 _ACEOF
17181 cat confdefs.h >>conftest.$ac_ext
17182 cat >>conftest.$ac_ext <<_ACEOF
17183 /* end confdefs.h.  */
17184 #include <stdlib.h>
17185       volatile float f;
17186       volatile long double ld;
17187       volatile unsigned long long ll;
17188       lldiv_t mydivt;
17189 int
17190 main ()
17191 {
17192 char* tmp;
17193       f = strtof("gnu", &tmp);
17194       ld = strtold("gnu", &tmp);
17195       ll = strtoll("gnu", &tmp, 10);
17196       ll = strtoull("gnu", &tmp, 10);
17197       ll = llabs(10);
17198       mydivt = lldiv(10,1);
17199       ll = mydivt.quot;
17200       ll = mydivt.rem;
17201       ll = atoll("10");
17202       _Exit(0);
17203
17204   ;
17205   return 0;
17206 }
17207 _ACEOF
17208 rm -f conftest.$ac_objext conftest$ac_exeext
17209 if { (ac_try="$ac_link"
17210 case "(($ac_try" in
17211   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17212   *) ac_try_echo=$ac_try;;
17213 esac
17214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17215   (eval "$ac_link") 2>conftest.er1
17216   ac_status=$?
17217   grep -v '^ *+' conftest.er1 >conftest.err
17218   rm -f conftest.er1
17219   cat conftest.err >&5
17220   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17221   (exit $ac_status); } && {
17222          test -z "$ac_cxx_werror_flag" ||
17223          test ! -s conftest.err
17224        } && test -s conftest$ac_exeext &&
17225        $as_test_x conftest$ac_exeext; then
17226   ac_c99_stdlib=yes
17227 else
17228   echo "$as_me: failed program was:" >&5
17229 sed 's/^/| /' conftest.$ac_ext >&5
17230
17231         ac_c99_stdlib=no
17232 fi
17233
17234 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17235       conftest$ac_exeext conftest.$ac_ext
17236 fi
17237
17238 fi
17239
17240   { echo "$as_me:$LINENO: result: $ac_c99_stdlib" >&5
17241 echo "${ECHO_T}$ac_c99_stdlib" >&6; }
17242
17243   # Check for the existence in <wchar.h> of wcstold, etc.
17244   ac_c99_wchar=no;
17245   if test x"$ac_has_wchar_h" = xyes &&
17246      test x"$ac_has_wctype_h" = xyes; then
17247     { echo "$as_me:$LINENO: checking for ISO C99 support in <wchar.h>" >&5
17248 echo $ECHO_N "checking for ISO C99 support in <wchar.h>... $ECHO_C" >&6; }
17249     cat >conftest.$ac_ext <<_ACEOF
17250 /* confdefs.h.  */
17251 _ACEOF
17252 cat confdefs.h >>conftest.$ac_ext
17253 cat >>conftest.$ac_ext <<_ACEOF
17254 /* end confdefs.h.  */
17255 #include <wchar.h>
17256                     namespace test
17257                     {
17258                       using ::wcstold;
17259                       using ::wcstoll;
17260                       using ::wcstoull;
17261                     }
17262
17263 int
17264 main ()
17265 {
17266
17267   ;
17268   return 0;
17269 }
17270 _ACEOF
17271 rm -f conftest.$ac_objext
17272 if { (ac_try="$ac_compile"
17273 case "(($ac_try" in
17274   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17275   *) ac_try_echo=$ac_try;;
17276 esac
17277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17278   (eval "$ac_compile") 2>conftest.er1
17279   ac_status=$?
17280   grep -v '^ *+' conftest.er1 >conftest.err
17281   rm -f conftest.er1
17282   cat conftest.err >&5
17283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17284   (exit $ac_status); } && {
17285          test -z "$ac_cxx_werror_flag" ||
17286          test ! -s conftest.err
17287        } && test -s conftest.$ac_objext; then
17288   ac_c99_wchar=yes
17289 else
17290   echo "$as_me: failed program was:" >&5
17291 sed 's/^/| /' conftest.$ac_ext >&5
17292
17293         ac_c99_wchar=no
17294 fi
17295
17296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17297
17298     # Checks for wide character functions that may not be present.
17299     # Injection of these is wrapped with guard macros.
17300     # NB: only put functions here, instead of immediately above, if
17301     # absolutely necessary.
17302     cat >conftest.$ac_ext <<_ACEOF
17303 /* confdefs.h.  */
17304 _ACEOF
17305 cat confdefs.h >>conftest.$ac_ext
17306 cat >>conftest.$ac_ext <<_ACEOF
17307 /* end confdefs.h.  */
17308 #include <wchar.h>
17309                     namespace test { using ::vfwscanf; }
17310 int
17311 main ()
17312 {
17313
17314   ;
17315   return 0;
17316 }
17317 _ACEOF
17318 rm -f conftest.$ac_objext
17319 if { (ac_try="$ac_compile"
17320 case "(($ac_try" in
17321   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17322   *) ac_try_echo=$ac_try;;
17323 esac
17324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17325   (eval "$ac_compile") 2>conftest.er1
17326   ac_status=$?
17327   grep -v '^ *+' conftest.er1 >conftest.err
17328   rm -f conftest.er1
17329   cat conftest.err >&5
17330   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17331   (exit $ac_status); } && {
17332          test -z "$ac_cxx_werror_flag" ||
17333          test ! -s conftest.err
17334        } && test -s conftest.$ac_objext; then
17335
17336 cat >>confdefs.h <<\_ACEOF
17337 #define HAVE_VFWSCANF 1
17338 _ACEOF
17339
17340 else
17341   echo "$as_me: failed program was:" >&5
17342 sed 's/^/| /' conftest.$ac_ext >&5
17343
17344
17345 fi
17346
17347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17348
17349     cat >conftest.$ac_ext <<_ACEOF
17350 /* confdefs.h.  */
17351 _ACEOF
17352 cat confdefs.h >>conftest.$ac_ext
17353 cat >>conftest.$ac_ext <<_ACEOF
17354 /* end confdefs.h.  */
17355 #include <wchar.h>
17356                     namespace test { using ::vswscanf; }
17357 int
17358 main ()
17359 {
17360
17361   ;
17362   return 0;
17363 }
17364 _ACEOF
17365 rm -f conftest.$ac_objext
17366 if { (ac_try="$ac_compile"
17367 case "(($ac_try" in
17368   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17369   *) ac_try_echo=$ac_try;;
17370 esac
17371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17372   (eval "$ac_compile") 2>conftest.er1
17373   ac_status=$?
17374   grep -v '^ *+' conftest.er1 >conftest.err
17375   rm -f conftest.er1
17376   cat conftest.err >&5
17377   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17378   (exit $ac_status); } && {
17379          test -z "$ac_cxx_werror_flag" ||
17380          test ! -s conftest.err
17381        } && test -s conftest.$ac_objext; then
17382
17383 cat >>confdefs.h <<\_ACEOF
17384 #define HAVE_VSWSCANF 1
17385 _ACEOF
17386
17387 else
17388   echo "$as_me: failed program was:" >&5
17389 sed 's/^/| /' conftest.$ac_ext >&5
17390
17391
17392 fi
17393
17394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17395
17396     cat >conftest.$ac_ext <<_ACEOF
17397 /* confdefs.h.  */
17398 _ACEOF
17399 cat confdefs.h >>conftest.$ac_ext
17400 cat >>conftest.$ac_ext <<_ACEOF
17401 /* end confdefs.h.  */
17402 #include <wchar.h>
17403                     namespace test { using ::vwscanf; }
17404 int
17405 main ()
17406 {
17407
17408   ;
17409   return 0;
17410 }
17411 _ACEOF
17412 rm -f conftest.$ac_objext
17413 if { (ac_try="$ac_compile"
17414 case "(($ac_try" in
17415   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17416   *) ac_try_echo=$ac_try;;
17417 esac
17418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17419   (eval "$ac_compile") 2>conftest.er1
17420   ac_status=$?
17421   grep -v '^ *+' conftest.er1 >conftest.err
17422   rm -f conftest.er1
17423   cat conftest.err >&5
17424   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17425   (exit $ac_status); } && {
17426          test -z "$ac_cxx_werror_flag" ||
17427          test ! -s conftest.err
17428        } && test -s conftest.$ac_objext; then
17429
17430 cat >>confdefs.h <<\_ACEOF
17431 #define HAVE_VWSCANF 1
17432 _ACEOF
17433
17434 else
17435   echo "$as_me: failed program was:" >&5
17436 sed 's/^/| /' conftest.$ac_ext >&5
17437
17438
17439 fi
17440
17441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
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 <wchar.h>
17450                     namespace test { using ::wcstof; }
17451 int
17452 main ()
17453 {
17454
17455   ;
17456   return 0;
17457 }
17458 _ACEOF
17459 rm -f conftest.$ac_objext
17460 if { (ac_try="$ac_compile"
17461 case "(($ac_try" in
17462   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17463   *) ac_try_echo=$ac_try;;
17464 esac
17465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17466   (eval "$ac_compile") 2>conftest.er1
17467   ac_status=$?
17468   grep -v '^ *+' conftest.er1 >conftest.err
17469   rm -f conftest.er1
17470   cat conftest.err >&5
17471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17472   (exit $ac_status); } && {
17473          test -z "$ac_cxx_werror_flag" ||
17474          test ! -s conftest.err
17475        } && test -s conftest.$ac_objext; then
17476
17477 cat >>confdefs.h <<\_ACEOF
17478 #define HAVE_WCSTOF 1
17479 _ACEOF
17480
17481 else
17482   echo "$as_me: failed program was:" >&5
17483 sed 's/^/| /' conftest.$ac_ext >&5
17484
17485
17486 fi
17487
17488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17489
17490     cat >conftest.$ac_ext <<_ACEOF
17491 /* confdefs.h.  */
17492 _ACEOF
17493 cat confdefs.h >>conftest.$ac_ext
17494 cat >>conftest.$ac_ext <<_ACEOF
17495 /* end confdefs.h.  */
17496 #include <wctype.h>
17497 int
17498 main ()
17499 {
17500  wint_t t; int i = iswblank(t);
17501   ;
17502   return 0;
17503 }
17504 _ACEOF
17505 rm -f conftest.$ac_objext
17506 if { (ac_try="$ac_compile"
17507 case "(($ac_try" in
17508   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17509   *) ac_try_echo=$ac_try;;
17510 esac
17511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17512   (eval "$ac_compile") 2>conftest.er1
17513   ac_status=$?
17514   grep -v '^ *+' conftest.er1 >conftest.err
17515   rm -f conftest.er1
17516   cat conftest.err >&5
17517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17518   (exit $ac_status); } && {
17519          test -z "$ac_cxx_werror_flag" ||
17520          test ! -s conftest.err
17521        } && test -s conftest.$ac_objext; then
17522
17523 cat >>confdefs.h <<\_ACEOF
17524 #define HAVE_ISWBLANK 1
17525 _ACEOF
17526
17527 else
17528   echo "$as_me: failed program was:" >&5
17529 sed 's/^/| /' conftest.$ac_ext >&5
17530
17531
17532 fi
17533
17534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17535
17536     { echo "$as_me:$LINENO: result: $ac_c99_wchar" >&5
17537 echo "${ECHO_T}$ac_c99_wchar" >&6; }
17538   fi
17539
17540   # Option parsed, now set things appropriately.
17541   if test x"$ac_c99_math" = x"no" ||
17542      test x"$ac_c99_complex" = x"no" ||
17543      test x"$ac_c99_stdio" = x"no" ||
17544      test x"$ac_c99_stdlib" = x"no" ||
17545      test x"$ac_c99_wchar" = x"no"; then
17546     enable_c99=no;
17547   else
17548
17549 cat >>confdefs.h <<\_ACEOF
17550 #define _GLIBCXX_USE_C99 1
17551 _ACEOF
17552
17553   fi
17554
17555   gcc_no_link="$ac_save_gcc_no_link"
17556   LIBS="$ac_save_LIBS"
17557   CXXFLAGS="$ac_save_CXXFLAGS"
17558   ac_ext=c
17559 ac_cpp='$CPP $CPPFLAGS'
17560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17563
17564   fi
17565
17566   { echo "$as_me:$LINENO: checking for fully enabled ISO C99 support" >&5
17567 echo $ECHO_N "checking for fully enabled ISO C99 support... $ECHO_C" >&6; }
17568   { echo "$as_me:$LINENO: result: $enable_c99" >&5
17569 echo "${ECHO_T}$enable_c99" >&6; }
17570
17571
17572    # Check whether --enable-concept-checks was given.
17573 if test "${enable_concept_checks+set}" = set; then
17574   enableval=$enable_concept_checks;
17575       case "$enableval" in
17576        yes|no) ;;
17577        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable concept-checks must be yes or no" >&5
17578 echo "$as_me: error: Argument to enable/disable concept-checks must be yes or no" >&2;}
17579    { (exit 1); exit 1; }; } ;;
17580       esac
17581
17582 else
17583   enable_concept_checks=no
17584 fi
17585
17586
17587   if test $enable_concept_checks = yes; then
17588
17589 cat >>confdefs.h <<\_ACEOF
17590 #define _GLIBCXX_CONCEPT_CHECKS 1
17591 _ACEOF
17592
17593   fi
17594
17595
17596    # Check whether --enable-libstdcxx-debug-flags was given.
17597 if test "${enable_libstdcxx_debug_flags+set}" = set; then
17598   enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
17599       xno | x)    enable_libstdcxx_debug_flags= ;;
17600       x-*)        ;;
17601       *)          { { echo "$as_me:$LINENO: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&5
17602 echo "$as_me: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&2;}
17603    { (exit 1); exit 1; }; } ;;
17604      esac
17605 else
17606   enable_libstdcxx_debug_flags="-g3 -O0"
17607 fi
17608
17609
17610
17611   # Option parsed, now set things appropriately
17612   DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17613
17614
17615   { echo "$as_me:$LINENO: Debug build flags set to $DEBUG_FLAGS" >&5
17616 echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17617
17618
17619   { echo "$as_me:$LINENO: checking for additional debug build" >&5
17620 echo $ECHO_N "checking for additional debug build... $ECHO_C" >&6; }
17621    # Check whether --enable-libstdcxx-debug was given.
17622 if test "${enable_libstdcxx_debug+set}" = set; then
17623   enableval=$enable_libstdcxx_debug;
17624       case "$enableval" in
17625        yes|no) ;;
17626        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&5
17627 echo "$as_me: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&2;}
17628    { (exit 1); exit 1; }; } ;;
17629       esac
17630
17631 else
17632   enable_libstdcxx_debug=no
17633 fi
17634
17635
17636   { echo "$as_me:$LINENO: result: $enable_libstdcxx_debug" >&5
17637 echo "${ECHO_T}$enable_libstdcxx_debug" >&6; }
17638
17639
17640
17641
17642   # NB: libstdc++ may be configured before libgomp: can't check for the actual
17643   # dependencies (omp.h and libgomp).
17644   enable_parallel=no;
17645   if test -f $glibcxx_builddir/../libgomp/omp.h; then
17646     enable_parallel=yes;
17647   else
17648     { echo "$as_me:$LINENO: $glibcxx_builddir/../libgomp/omp.h not found" >&5
17649 echo "$as_me: $glibcxx_builddir/../libgomp/omp.h not found" >&6;}
17650   fi
17651
17652   # Check to see if it's explicitly disabled.
17653 #  GLIBCXX_ENABLE(libgomp,,,[enable code depending on libgomp],
17654 #       [permit yes|no])
17655
17656 #  if test x$enable_libgomp = xno; then
17657 #    enable_parallel=no
17658 #  fi
17659
17660   { echo "$as_me:$LINENO: checking for parallel mode support" >&5
17661 echo $ECHO_N "checking for parallel mode support... $ECHO_C" >&6; }
17662   { echo "$as_me:$LINENO: result: $enable_parallel" >&5
17663 echo "${ECHO_T}$enable_parallel" >&6; }
17664
17665
17666   { echo "$as_me:$LINENO: checking for extra compiler flags for building" >&5
17667 echo $ECHO_N "checking for extra compiler flags for building... $ECHO_C" >&6; }
17668    # Check whether --enable-cxx-flags was given.
17669 if test "${enable_cxx_flags+set}" = set; then
17670   enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17671       xno | x)   enable_cxx_flags= ;;
17672       x-*)       ;;
17673       *)         { { echo "$as_me:$LINENO: error: --enable-cxx-flags needs compiler flags as arguments" >&5
17674 echo "$as_me: error: --enable-cxx-flags needs compiler flags as arguments" >&2;}
17675    { (exit 1); exit 1; }; } ;;
17676      esac
17677 else
17678   enable_cxx_flags=
17679 fi
17680
17681
17682
17683   # Run through flags (either default or command-line) and set anything
17684   # extra (e.g., #defines) that must accompany particular g++ options.
17685   if test -n "$enable_cxx_flags"; then
17686     for f in $enable_cxx_flags; do
17687       case "$f" in
17688         -fhonor-std)  ;;
17689         -*)  ;;
17690         *)   # and we're trying to pass /what/ exactly?
17691              { { echo "$as_me:$LINENO: error: compiler flags start with a -" >&5
17692 echo "$as_me: error: compiler flags start with a -" >&2;}
17693    { (exit 1); exit 1; }; } ;;
17694       esac
17695     done
17696   fi
17697
17698   EXTRA_CXX_FLAGS="$enable_cxx_flags"
17699   { echo "$as_me:$LINENO: result: $EXTRA_CXX_FLAGS" >&5
17700 echo "${ECHO_T}$EXTRA_CXX_FLAGS" >&6; }
17701
17702
17703
17704    # Check whether --enable-fully-dynamic-string was given.
17705 if test "${enable_fully_dynamic_string+set}" = set; then
17706   enableval=$enable_fully_dynamic_string;
17707       case "$enableval" in
17708        yes|no) ;;
17709        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&5
17710 echo "$as_me: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&2;}
17711    { (exit 1); exit 1; }; } ;;
17712       esac
17713
17714 else
17715   enable_fully_dynamic_string=no
17716 fi
17717
17718
17719   if test $enable_fully_dynamic_string = yes; then
17720
17721 cat >>confdefs.h <<\_ACEOF
17722 #define _GLIBCXX_FULLY_DYNAMIC_STRING 1
17723 _ACEOF
17724
17725   fi
17726
17727
17728 # Checks for operating systems support that don't require linking.
17729
17730
17731   { echo "$as_me:$LINENO: checking for EOWNERDEAD" >&5
17732 echo $ECHO_N "checking for EOWNERDEAD... $ECHO_C" >&6; }
17733   if test "${ac_system_error1+set}" = set; then
17734   echo $ECHO_N "(cached) $ECHO_C" >&6
17735 else
17736
17737   cat >conftest.$ac_ext <<_ACEOF
17738 /* confdefs.h.  */
17739 _ACEOF
17740 cat confdefs.h >>conftest.$ac_ext
17741 cat >>conftest.$ac_ext <<_ACEOF
17742 /* end confdefs.h.  */
17743 #include <errno.h>
17744 int
17745 main ()
17746 {
17747  int i = EOWNERDEAD;
17748   ;
17749   return 0;
17750 }
17751 _ACEOF
17752 rm -f conftest.$ac_objext
17753 if { (ac_try="$ac_compile"
17754 case "(($ac_try" in
17755   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17756   *) ac_try_echo=$ac_try;;
17757 esac
17758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17759   (eval "$ac_compile") 2>conftest.er1
17760   ac_status=$?
17761   grep -v '^ *+' conftest.er1 >conftest.err
17762   rm -f conftest.er1
17763   cat conftest.err >&5
17764   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17765   (exit $ac_status); } && {
17766          test -z "$ac_c_werror_flag" ||
17767          test ! -s conftest.err
17768        } && test -s conftest.$ac_objext; then
17769   ac_system_error1=yes
17770 else
17771   echo "$as_me: failed program was:" >&5
17772 sed 's/^/| /' conftest.$ac_ext >&5
17773
17774         ac_system_error1=no
17775 fi
17776
17777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17778
17779 fi
17780
17781   { echo "$as_me:$LINENO: result: $ac_system_error1" >&5
17782 echo "${ECHO_T}$ac_system_error1" >&6; }
17783   if test x"$ac_system_error1" = x"yes"; then
17784
17785 cat >>confdefs.h <<\_ACEOF
17786 #define HAVE_EOWNERDEAD 1
17787 _ACEOF
17788
17789   fi
17790
17791   { echo "$as_me:$LINENO: checking for ENOTRECOVERABLE" >&5
17792 echo $ECHO_N "checking for ENOTRECOVERABLE... $ECHO_C" >&6; }
17793   if test "${ac_system_error2+set}" = set; then
17794   echo $ECHO_N "(cached) $ECHO_C" >&6
17795 else
17796
17797   cat >conftest.$ac_ext <<_ACEOF
17798 /* confdefs.h.  */
17799 _ACEOF
17800 cat confdefs.h >>conftest.$ac_ext
17801 cat >>conftest.$ac_ext <<_ACEOF
17802 /* end confdefs.h.  */
17803 #include <errno.h>
17804 int
17805 main ()
17806 {
17807  int i = ENOTRECOVERABLE;
17808   ;
17809   return 0;
17810 }
17811 _ACEOF
17812 rm -f conftest.$ac_objext
17813 if { (ac_try="$ac_compile"
17814 case "(($ac_try" in
17815   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17816   *) ac_try_echo=$ac_try;;
17817 esac
17818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17819   (eval "$ac_compile") 2>conftest.er1
17820   ac_status=$?
17821   grep -v '^ *+' conftest.er1 >conftest.err
17822   rm -f conftest.er1
17823   cat conftest.err >&5
17824   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17825   (exit $ac_status); } && {
17826          test -z "$ac_c_werror_flag" ||
17827          test ! -s conftest.err
17828        } && test -s conftest.$ac_objext; then
17829   ac_system_error2=yes
17830 else
17831   echo "$as_me: failed program was:" >&5
17832 sed 's/^/| /' conftest.$ac_ext >&5
17833
17834         ac_system_error2=no
17835 fi
17836
17837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17838
17839 fi
17840
17841   { echo "$as_me:$LINENO: result: $ac_system_error2" >&5
17842 echo "${ECHO_T}$ac_system_error2" >&6; }
17843   if test x"$ac_system_error2" = x"yes"; then
17844
17845 cat >>confdefs.h <<\_ACEOF
17846 #define HAVE_ENOTRECOVERABLE 1
17847 _ACEOF
17848
17849   fi
17850
17851   { echo "$as_me:$LINENO: checking for ENOLINK" >&5
17852 echo $ECHO_N "checking for ENOLINK... $ECHO_C" >&6; }
17853   if test "${ac_system_error3+set}" = set; then
17854   echo $ECHO_N "(cached) $ECHO_C" >&6
17855 else
17856
17857   cat >conftest.$ac_ext <<_ACEOF
17858 /* confdefs.h.  */
17859 _ACEOF
17860 cat confdefs.h >>conftest.$ac_ext
17861 cat >>conftest.$ac_ext <<_ACEOF
17862 /* end confdefs.h.  */
17863 #include <errno.h>
17864 int
17865 main ()
17866 {
17867  int i = ENOLINK;
17868   ;
17869   return 0;
17870 }
17871 _ACEOF
17872 rm -f conftest.$ac_objext
17873 if { (ac_try="$ac_compile"
17874 case "(($ac_try" in
17875   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17876   *) ac_try_echo=$ac_try;;
17877 esac
17878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17879   (eval "$ac_compile") 2>conftest.er1
17880   ac_status=$?
17881   grep -v '^ *+' conftest.er1 >conftest.err
17882   rm -f conftest.er1
17883   cat conftest.err >&5
17884   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17885   (exit $ac_status); } && {
17886          test -z "$ac_c_werror_flag" ||
17887          test ! -s conftest.err
17888        } && test -s conftest.$ac_objext; then
17889   ac_system_error3=yes
17890 else
17891   echo "$as_me: failed program was:" >&5
17892 sed 's/^/| /' conftest.$ac_ext >&5
17893
17894         ac_system_error3=no
17895 fi
17896
17897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17898
17899 fi
17900
17901   { echo "$as_me:$LINENO: result: $ac_system_error3" >&5
17902 echo "${ECHO_T}$ac_system_error3" >&6; }
17903   if test x"$ac_system_error3" = x"yes"; then
17904
17905 cat >>confdefs.h <<\_ACEOF
17906 #define HAVE_ENOLINK 1
17907 _ACEOF
17908
17909   fi
17910
17911   { echo "$as_me:$LINENO: checking for EPROTO" >&5
17912 echo $ECHO_N "checking for EPROTO... $ECHO_C" >&6; }
17913   if test "${ac_system_error_4+set}" = set; then
17914   echo $ECHO_N "(cached) $ECHO_C" >&6
17915 else
17916
17917   cat >conftest.$ac_ext <<_ACEOF
17918 /* confdefs.h.  */
17919 _ACEOF
17920 cat confdefs.h >>conftest.$ac_ext
17921 cat >>conftest.$ac_ext <<_ACEOF
17922 /* end confdefs.h.  */
17923 #include <errno.h>
17924 int
17925 main ()
17926 {
17927  int i = EPROTO;
17928   ;
17929   return 0;
17930 }
17931 _ACEOF
17932 rm -f conftest.$ac_objext
17933 if { (ac_try="$ac_compile"
17934 case "(($ac_try" in
17935   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17936   *) ac_try_echo=$ac_try;;
17937 esac
17938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17939   (eval "$ac_compile") 2>conftest.er1
17940   ac_status=$?
17941   grep -v '^ *+' conftest.er1 >conftest.err
17942   rm -f conftest.er1
17943   cat conftest.err >&5
17944   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17945   (exit $ac_status); } && {
17946          test -z "$ac_c_werror_flag" ||
17947          test ! -s conftest.err
17948        } && test -s conftest.$ac_objext; then
17949   ac_system_error_4=yes
17950 else
17951   echo "$as_me: failed program was:" >&5
17952 sed 's/^/| /' conftest.$ac_ext >&5
17953
17954         ac_system_error_4=no
17955 fi
17956
17957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17958
17959 fi
17960
17961   { echo "$as_me:$LINENO: result: $ac_system_error_4" >&5
17962 echo "${ECHO_T}$ac_system_error_4" >&6; }
17963   if test x"$ac_system_error_4" = x"yes"; then
17964
17965 cat >>confdefs.h <<\_ACEOF
17966 #define HAVE_EPROTO 1
17967 _ACEOF
17968
17969   fi
17970
17971   { echo "$as_me:$LINENO: checking for ENODATA" >&5
17972 echo $ECHO_N "checking for ENODATA... $ECHO_C" >&6; }
17973   if test "${ac_system_error_5+set}" = set; then
17974   echo $ECHO_N "(cached) $ECHO_C" >&6
17975 else
17976
17977   cat >conftest.$ac_ext <<_ACEOF
17978 /* confdefs.h.  */
17979 _ACEOF
17980 cat confdefs.h >>conftest.$ac_ext
17981 cat >>conftest.$ac_ext <<_ACEOF
17982 /* end confdefs.h.  */
17983 #include <errno.h>
17984 int
17985 main ()
17986 {
17987  int i = ENODATA;
17988   ;
17989   return 0;
17990 }
17991 _ACEOF
17992 rm -f conftest.$ac_objext
17993 if { (ac_try="$ac_compile"
17994 case "(($ac_try" in
17995   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17996   *) ac_try_echo=$ac_try;;
17997 esac
17998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17999   (eval "$ac_compile") 2>conftest.er1
18000   ac_status=$?
18001   grep -v '^ *+' conftest.er1 >conftest.err
18002   rm -f conftest.er1
18003   cat conftest.err >&5
18004   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18005   (exit $ac_status); } && {
18006          test -z "$ac_c_werror_flag" ||
18007          test ! -s conftest.err
18008        } && test -s conftest.$ac_objext; then
18009   ac_system_error_5=yes
18010 else
18011   echo "$as_me: failed program was:" >&5
18012 sed 's/^/| /' conftest.$ac_ext >&5
18013
18014         ac_system_error_5=no
18015 fi
18016
18017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18018
18019 fi
18020
18021   { echo "$as_me:$LINENO: result: $ac_system_error_5" >&5
18022 echo "${ECHO_T}$ac_system_error_5" >&6; }
18023   if test x"$ac_system_error_5" = x"yes"; then
18024
18025 cat >>confdefs.h <<\_ACEOF
18026 #define HAVE_ENODATA 1
18027 _ACEOF
18028
18029   fi
18030
18031   { echo "$as_me:$LINENO: checking for ENOSR" >&5
18032 echo $ECHO_N "checking for ENOSR... $ECHO_C" >&6; }
18033   if test "${ac_system_error_6+set}" = set; then
18034   echo $ECHO_N "(cached) $ECHO_C" >&6
18035 else
18036
18037   cat >conftest.$ac_ext <<_ACEOF
18038 /* confdefs.h.  */
18039 _ACEOF
18040 cat confdefs.h >>conftest.$ac_ext
18041 cat >>conftest.$ac_ext <<_ACEOF
18042 /* end confdefs.h.  */
18043 #include <errno.h>
18044 int
18045 main ()
18046 {
18047  int i = ENOSR;
18048   ;
18049   return 0;
18050 }
18051 _ACEOF
18052 rm -f conftest.$ac_objext
18053 if { (ac_try="$ac_compile"
18054 case "(($ac_try" in
18055   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18056   *) ac_try_echo=$ac_try;;
18057 esac
18058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18059   (eval "$ac_compile") 2>conftest.er1
18060   ac_status=$?
18061   grep -v '^ *+' conftest.er1 >conftest.err
18062   rm -f conftest.er1
18063   cat conftest.err >&5
18064   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18065   (exit $ac_status); } && {
18066          test -z "$ac_c_werror_flag" ||
18067          test ! -s conftest.err
18068        } && test -s conftest.$ac_objext; then
18069   ac_system_error_6=yes
18070 else
18071   echo "$as_me: failed program was:" >&5
18072 sed 's/^/| /' conftest.$ac_ext >&5
18073
18074         ac_system_error_6=no
18075 fi
18076
18077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18078
18079 fi
18080
18081   { echo "$as_me:$LINENO: result: $ac_system_error_6" >&5
18082 echo "${ECHO_T}$ac_system_error_6" >&6; }
18083   if test x"$ac_system_error_6" = x"yes"; then
18084
18085 cat >>confdefs.h <<\_ACEOF
18086 #define HAVE_ENOSR 1
18087 _ACEOF
18088
18089   fi
18090
18091   { echo "$as_me:$LINENO: checking for ENOSTR" >&5
18092 echo $ECHO_N "checking for ENOSTR... $ECHO_C" >&6; }
18093   if test "${ac_system_error_7+set}" = set; then
18094   echo $ECHO_N "(cached) $ECHO_C" >&6
18095 else
18096
18097   cat >conftest.$ac_ext <<_ACEOF
18098 /* confdefs.h.  */
18099 _ACEOF
18100 cat confdefs.h >>conftest.$ac_ext
18101 cat >>conftest.$ac_ext <<_ACEOF
18102 /* end confdefs.h.  */
18103 #include <errno.h>
18104 int
18105 main ()
18106 {
18107  int i = ENOSTR;
18108   ;
18109   return 0;
18110 }
18111 _ACEOF
18112 rm -f conftest.$ac_objext
18113 if { (ac_try="$ac_compile"
18114 case "(($ac_try" in
18115   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18116   *) ac_try_echo=$ac_try;;
18117 esac
18118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18119   (eval "$ac_compile") 2>conftest.er1
18120   ac_status=$?
18121   grep -v '^ *+' conftest.er1 >conftest.err
18122   rm -f conftest.er1
18123   cat conftest.err >&5
18124   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18125   (exit $ac_status); } && {
18126          test -z "$ac_c_werror_flag" ||
18127          test ! -s conftest.err
18128        } && test -s conftest.$ac_objext; then
18129   ac_system_error_7=yes
18130 else
18131   echo "$as_me: failed program was:" >&5
18132 sed 's/^/| /' conftest.$ac_ext >&5
18133
18134         ac_system_error_7=no
18135 fi
18136
18137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18138
18139 fi
18140
18141   { echo "$as_me:$LINENO: result: $ac_system_error_7" >&5
18142 echo "${ECHO_T}$ac_system_error_7" >&6; }
18143   if test x"$ac_system_error_7" = x"yes"; then
18144
18145 cat >>confdefs.h <<\_ACEOF
18146 #define HAVE_ENOSTR 1
18147 _ACEOF
18148
18149   fi
18150
18151   { echo "$as_me:$LINENO: checking for ETIME" >&5
18152 echo $ECHO_N "checking for ETIME... $ECHO_C" >&6; }
18153   if test "${ac_system_error_8+set}" = set; then
18154   echo $ECHO_N "(cached) $ECHO_C" >&6
18155 else
18156
18157   cat >conftest.$ac_ext <<_ACEOF
18158 /* confdefs.h.  */
18159 _ACEOF
18160 cat confdefs.h >>conftest.$ac_ext
18161 cat >>conftest.$ac_ext <<_ACEOF
18162 /* end confdefs.h.  */
18163 #include <errno.h>
18164 int
18165 main ()
18166 {
18167  int i = ETIME;
18168   ;
18169   return 0;
18170 }
18171 _ACEOF
18172 rm -f conftest.$ac_objext
18173 if { (ac_try="$ac_compile"
18174 case "(($ac_try" in
18175   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18176   *) ac_try_echo=$ac_try;;
18177 esac
18178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18179   (eval "$ac_compile") 2>conftest.er1
18180   ac_status=$?
18181   grep -v '^ *+' conftest.er1 >conftest.err
18182   rm -f conftest.er1
18183   cat conftest.err >&5
18184   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18185   (exit $ac_status); } && {
18186          test -z "$ac_c_werror_flag" ||
18187          test ! -s conftest.err
18188        } && test -s conftest.$ac_objext; then
18189   ac_system_error_8=yes
18190 else
18191   echo "$as_me: failed program was:" >&5
18192 sed 's/^/| /' conftest.$ac_ext >&5
18193
18194         ac_system_error_8=no
18195 fi
18196
18197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18198
18199 fi
18200
18201   { echo "$as_me:$LINENO: result: $ac_system_error_8" >&5
18202 echo "${ECHO_T}$ac_system_error_8" >&6; }
18203   if test x"$ac_system_error_8" = x"yes"; then
18204
18205 cat >>confdefs.h <<\_ACEOF
18206 #define HAVE_ETIME 1
18207 _ACEOF
18208
18209   fi
18210
18211   { echo "$as_me:$LINENO: checking for sys_nerr" >&5
18212 echo $ECHO_N "checking for sys_nerr... $ECHO_C" >&6; }
18213   if test "${ac_system_error9+set}" = set; then
18214   echo $ECHO_N "(cached) $ECHO_C" >&6
18215 else
18216
18217   cat >conftest.$ac_ext <<_ACEOF
18218 /* confdefs.h.  */
18219 _ACEOF
18220 cat confdefs.h >>conftest.$ac_ext
18221 cat >>conftest.$ac_ext <<_ACEOF
18222 /* end confdefs.h.  */
18223 #include <errno.h>
18224 int
18225 main ()
18226 {
18227  int i = sys_nerr;
18228   ;
18229   return 0;
18230 }
18231 _ACEOF
18232 rm -f conftest.$ac_objext
18233 if { (ac_try="$ac_compile"
18234 case "(($ac_try" in
18235   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18236   *) ac_try_echo=$ac_try;;
18237 esac
18238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18239   (eval "$ac_compile") 2>conftest.er1
18240   ac_status=$?
18241   grep -v '^ *+' conftest.er1 >conftest.err
18242   rm -f conftest.er1
18243   cat conftest.err >&5
18244   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18245   (exit $ac_status); } && {
18246          test -z "$ac_c_werror_flag" ||
18247          test ! -s conftest.err
18248        } && test -s conftest.$ac_objext; then
18249   ac_system_error9=yes
18250 else
18251   echo "$as_me: failed program was:" >&5
18252 sed 's/^/| /' conftest.$ac_ext >&5
18253
18254         ac_system_error9=no
18255 fi
18256
18257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18258
18259 fi
18260
18261   { echo "$as_me:$LINENO: result: $ac_system_error9" >&5
18262 echo "${ECHO_T}$ac_system_error9" >&6; }
18263   if test x"$ac_system_error9" = x"yes"; then
18264
18265 cat >>confdefs.h <<\_ACEOF
18266 #define HAVE_SYS_NERR 1
18267 _ACEOF
18268
18269   fi
18270
18271   { echo "$as_me:$LINENO: checking for EBADMSG" >&5
18272 echo $ECHO_N "checking for EBADMSG... $ECHO_C" >&6; }
18273   if test "${ac_system_error_10+set}" = set; then
18274   echo $ECHO_N "(cached) $ECHO_C" >&6
18275 else
18276
18277   cat >conftest.$ac_ext <<_ACEOF
18278 /* confdefs.h.  */
18279 _ACEOF
18280 cat confdefs.h >>conftest.$ac_ext
18281 cat >>conftest.$ac_ext <<_ACEOF
18282 /* end confdefs.h.  */
18283 #include <errno.h>
18284 int
18285 main ()
18286 {
18287  int i = EBADMSG;
18288   ;
18289   return 0;
18290 }
18291 _ACEOF
18292 rm -f conftest.$ac_objext
18293 if { (ac_try="$ac_compile"
18294 case "(($ac_try" in
18295   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18296   *) ac_try_echo=$ac_try;;
18297 esac
18298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&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          test -z "$ac_c_werror_flag" ||
18307          test ! -s conftest.err
18308        } && test -s conftest.$ac_objext; then
18309   ac_system_error_10=yes
18310 else
18311   echo "$as_me: failed program was:" >&5
18312 sed 's/^/| /' conftest.$ac_ext >&5
18313
18314         ac_system_error_10=no
18315 fi
18316
18317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18318
18319 fi
18320
18321   { echo "$as_me:$LINENO: result: $ac_system_error_10" >&5
18322 echo "${ECHO_T}$ac_system_error_10" >&6; }
18323   if test x"$ac_system_error_10" = x"yes"; then
18324
18325 cat >>confdefs.h <<\_ACEOF
18326 #define HAVE_EBADMSG 1
18327 _ACEOF
18328
18329   fi
18330
18331   { echo "$as_me:$LINENO: checking for ECANCELED" >&5
18332 echo $ECHO_N "checking for ECANCELED... $ECHO_C" >&6; }
18333   if test "${ac_system_error_11+set}" = set; then
18334   echo $ECHO_N "(cached) $ECHO_C" >&6
18335 else
18336
18337   cat >conftest.$ac_ext <<_ACEOF
18338 /* confdefs.h.  */
18339 _ACEOF
18340 cat confdefs.h >>conftest.$ac_ext
18341 cat >>conftest.$ac_ext <<_ACEOF
18342 /* end confdefs.h.  */
18343 #include <errno.h>
18344 int
18345 main ()
18346 {
18347  int i = ECANCELED;
18348   ;
18349   return 0;
18350 }
18351 _ACEOF
18352 rm -f conftest.$ac_objext
18353 if { (ac_try="$ac_compile"
18354 case "(($ac_try" in
18355   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18356   *) ac_try_echo=$ac_try;;
18357 esac
18358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18359   (eval "$ac_compile") 2>conftest.er1
18360   ac_status=$?
18361   grep -v '^ *+' conftest.er1 >conftest.err
18362   rm -f conftest.er1
18363   cat conftest.err >&5
18364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18365   (exit $ac_status); } && {
18366          test -z "$ac_c_werror_flag" ||
18367          test ! -s conftest.err
18368        } && test -s conftest.$ac_objext; then
18369   ac_system_error_11=yes
18370 else
18371   echo "$as_me: failed program was:" >&5
18372 sed 's/^/| /' conftest.$ac_ext >&5
18373
18374         ac_system_error_11=no
18375 fi
18376
18377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18378
18379 fi
18380
18381   { echo "$as_me:$LINENO: result: $ac_system_error_11" >&5
18382 echo "${ECHO_T}$ac_system_error_11" >&6; }
18383   if test x"$ac_system_error_11" = x"yes"; then
18384
18385 cat >>confdefs.h <<\_ACEOF
18386 #define HAVE_ECANCELED 1
18387 _ACEOF
18388
18389   fi
18390
18391   { echo "$as_me:$LINENO: checking for EOVERFLOW" >&5
18392 echo $ECHO_N "checking for EOVERFLOW... $ECHO_C" >&6; }
18393   if test "${ac_system_error_12+set}" = set; then
18394   echo $ECHO_N "(cached) $ECHO_C" >&6
18395 else
18396
18397   cat >conftest.$ac_ext <<_ACEOF
18398 /* confdefs.h.  */
18399 _ACEOF
18400 cat confdefs.h >>conftest.$ac_ext
18401 cat >>conftest.$ac_ext <<_ACEOF
18402 /* end confdefs.h.  */
18403 #include <errno.h>
18404 int
18405 main ()
18406 {
18407  int i = EOVERFLOW;
18408   ;
18409   return 0;
18410 }
18411 _ACEOF
18412 rm -f conftest.$ac_objext
18413 if { (ac_try="$ac_compile"
18414 case "(($ac_try" in
18415   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18416   *) ac_try_echo=$ac_try;;
18417 esac
18418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18419   (eval "$ac_compile") 2>conftest.er1
18420   ac_status=$?
18421   grep -v '^ *+' conftest.er1 >conftest.err
18422   rm -f conftest.er1
18423   cat conftest.err >&5
18424   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18425   (exit $ac_status); } && {
18426          test -z "$ac_c_werror_flag" ||
18427          test ! -s conftest.err
18428        } && test -s conftest.$ac_objext; then
18429   ac_system_error_12=yes
18430 else
18431   echo "$as_me: failed program was:" >&5
18432 sed 's/^/| /' conftest.$ac_ext >&5
18433
18434         ac_system_error_12=no
18435 fi
18436
18437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18438
18439 fi
18440
18441   { echo "$as_me:$LINENO: result: $ac_system_error_12" >&5
18442 echo "${ECHO_T}$ac_system_error_12" >&6; }
18443   if test x"$ac_system_error_12" = x"yes"; then
18444
18445 cat >>confdefs.h <<\_ACEOF
18446 #define HAVE_EOVERFLOW 1
18447 _ACEOF
18448
18449   fi
18450
18451
18452 # No surprises, no surprises...
18453
18454   { echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
18455 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6; }
18456   target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
18457   { echo "$as_me:$LINENO: result: $target_thread_file" >&5
18458 echo "${ECHO_T}$target_thread_file" >&6; }
18459
18460   if test $target_thread_file != single; then
18461
18462 cat >>confdefs.h <<\_ACEOF
18463 #define HAVE_GTHR_DEFAULT 1
18464 _ACEOF
18465
18466   fi
18467
18468   glibcxx_thread_h=gthr-$target_thread_file.h
18469
18470     gthread_file=${toplevel_srcdir}/gcc/${glibcxx_thread_h}
18471   if grep __GTHREADS $gthread_file >/dev/null 2>&1 ; then
18472     enable_thread=yes
18473   else
18474    enable_thread=no
18475   fi
18476
18477
18478
18479
18480   { echo "$as_me:$LINENO: checking for atomic builtins" >&5
18481 echo $ECHO_N "checking for atomic builtins... $ECHO_C" >&6; }
18482
18483   ac_ext=cpp
18484 ac_cpp='$CXXCPP $CPPFLAGS'
18485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18488
18489
18490   # Fake what AC_TRY_COMPILE does.  XXX Look at redoing this new-style.
18491     cat > conftest.$ac_ext << EOF
18492 #line 18492 "configure"
18493 int main()
18494 {
18495   // NB: _Atomic_word not necessarily int.
18496   typedef int atomic_type;
18497   atomic_type c1;
18498   atomic_type c2;
18499   const atomic_type c3(0);
18500   if (__sync_fetch_and_add(&c1, c2) == c3)
18501     {
18502       // Do something.
18503     }
18504    return 0;
18505 }
18506 EOF
18507     old_CXXFLAGS="$CXXFLAGS"
18508     CXXFLAGS=-S
18509     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18510   (eval $ac_compile) 2>&5
18511   ac_status=$?
18512   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18513   (exit $ac_status); }; then
18514       if grep __sync_fetch_and_add conftest.s >/dev/null 2>&1 ; then
18515         enable_atomic_builtins=no
18516       else
18517
18518 cat >>confdefs.h <<\_ACEOF
18519 #define _GLIBCXX_ATOMIC_BUILTINS 1
18520 _ACEOF
18521
18522         enable_atomic_builtins=yes
18523         atomicity_dir=cpu/generic/atomicity_builtins
18524       fi
18525     fi
18526     CXXFLAGS="$old_CXXFLAGS"
18527     rm -f conftest*
18528
18529    # Now, if still generic, set to mutex.
18530   if test $atomicity_dir = "cpu/generic" ; then
18531         atomicity_dir=cpu/generic/atomicity_mutex
18532   fi
18533  ac_ext=c
18534 ac_cpp='$CPP $CPPFLAGS'
18535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18538
18539  { echo "$as_me:$LINENO: result: $enable_atomic_builtins" >&5
18540 echo "${ECHO_T}$enable_atomic_builtins" >&6; }
18541
18542 if test $atomicity_dir = cpu/generic/atomicity_mutex ; then
18543   { echo "$as_me:$LINENO: WARNING: No native atomic operations are provided for this platform." >&5
18544 echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
18545   if test $target_thread_file = single; then
18546     { echo "$as_me:$LINENO: WARNING: They cannot be faked when thread support is disabled." >&5
18547 echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
18548     { echo "$as_me:$LINENO: WARNING: Thread-safety of certain classes is not guaranteed." >&5
18549 echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
18550   else
18551     { echo "$as_me:$LINENO: WARNING: They will be faked using a mutex." >&5
18552 echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
18553     { echo "$as_me:$LINENO: WARNING: Performance of certain classes will degrade as a result." >&5
18554 echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
18555   fi
18556 fi
18557
18558
18559   # All these tests are for C++; save the language and the compiler flags.
18560   # The CXXFLAGS thing is suspicious, but based on similar bits previously
18561   # found in GLIBCXX_CONFIGURE.
18562
18563   ac_ext=cpp
18564 ac_cpp='$CXXCPP $CPPFLAGS'
18565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18568
18569   ac_test_CXXFLAGS="${CXXFLAGS+set}"
18570   ac_save_CXXFLAGS="$CXXFLAGS"
18571
18572   # Check for maintainer-mode bits.
18573   if test x"$USE_MAINTAINER_MODE" = xno; then
18574     WERROR=''
18575   else
18576     WERROR='-Werror'
18577   fi
18578
18579   # Check for -ffunction-sections -fdata-sections
18580   { echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
18581 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6; }
18582   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
18583   cat >conftest.$ac_ext <<_ACEOF
18584 /* confdefs.h.  */
18585 _ACEOF
18586 cat confdefs.h >>conftest.$ac_ext
18587 cat >>conftest.$ac_ext <<_ACEOF
18588 /* end confdefs.h.  */
18589 int foo; void bar() { };
18590 int
18591 main ()
18592 {
18593
18594   ;
18595   return 0;
18596 }
18597 _ACEOF
18598 rm -f conftest.$ac_objext
18599 if { (ac_try="$ac_compile"
18600 case "(($ac_try" in
18601   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18602   *) ac_try_echo=$ac_try;;
18603 esac
18604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18605   (eval "$ac_compile") 2>conftest.er1
18606   ac_status=$?
18607   grep -v '^ *+' conftest.er1 >conftest.err
18608   rm -f conftest.er1
18609   cat conftest.err >&5
18610   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18611   (exit $ac_status); } && {
18612          test -z "$ac_cxx_werror_flag" ||
18613          test ! -s conftest.err
18614        } && test -s conftest.$ac_objext; then
18615   ac_fdsections=yes
18616 else
18617   echo "$as_me: failed program was:" >&5
18618 sed 's/^/| /' conftest.$ac_ext >&5
18619
18620         ac_fdsections=no
18621 fi
18622
18623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18624   if test "$ac_test_CXXFLAGS" = set; then
18625     CXXFLAGS="$ac_save_CXXFLAGS"
18626   else
18627     # this is the suspicious part
18628     CXXFLAGS=''
18629   fi
18630   if test x"$ac_fdsections" = x"yes"; then
18631     SECTION_FLAGS='-ffunction-sections -fdata-sections'
18632   fi
18633   { echo "$as_me:$LINENO: result: $ac_fdsections" >&5
18634 echo "${ECHO_T}$ac_fdsections" >&6; }
18635
18636   ac_ext=c
18637 ac_cpp='$CPP $CPPFLAGS'
18638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18641
18642
18643
18644
18645
18646 if $GLIBCXX_IS_NATIVE; then
18647
18648   # We can do more elaborate tests that assume a working linker.
18649   CANADIAN=no
18650
18651   # Check for available headers.
18652
18653
18654
18655
18656
18657
18658
18659
18660
18661
18662
18663
18664
18665
18666
18667 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
18668   machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
18669   sys/types.h sys/ipc.h sys/sem.h
18670 do
18671 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18672 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18673   { echo "$as_me:$LINENO: checking for $ac_header" >&5
18674 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18675 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18676   echo $ECHO_N "(cached) $ECHO_C" >&6
18677 fi
18678 ac_res=`eval echo '${'$as_ac_Header'}'`
18679                { echo "$as_me:$LINENO: result: $ac_res" >&5
18680 echo "${ECHO_T}$ac_res" >&6; }
18681 else
18682   # Is the header compilable?
18683 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
18684 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
18685 cat >conftest.$ac_ext <<_ACEOF
18686 /* confdefs.h.  */
18687 _ACEOF
18688 cat confdefs.h >>conftest.$ac_ext
18689 cat >>conftest.$ac_ext <<_ACEOF
18690 /* end confdefs.h.  */
18691 $ac_includes_default
18692 #include <$ac_header>
18693 _ACEOF
18694 rm -f conftest.$ac_objext
18695 if { (ac_try="$ac_compile"
18696 case "(($ac_try" in
18697   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18698   *) ac_try_echo=$ac_try;;
18699 esac
18700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18701   (eval "$ac_compile") 2>conftest.er1
18702   ac_status=$?
18703   grep -v '^ *+' conftest.er1 >conftest.err
18704   rm -f conftest.er1
18705   cat conftest.err >&5
18706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18707   (exit $ac_status); } && {
18708          test -z "$ac_c_werror_flag" ||
18709          test ! -s conftest.err
18710        } && test -s conftest.$ac_objext; then
18711   ac_header_compiler=yes
18712 else
18713   echo "$as_me: failed program was:" >&5
18714 sed 's/^/| /' conftest.$ac_ext >&5
18715
18716         ac_header_compiler=no
18717 fi
18718
18719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18720 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18721 echo "${ECHO_T}$ac_header_compiler" >&6; }
18722
18723 # Is the header present?
18724 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
18725 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
18726 cat >conftest.$ac_ext <<_ACEOF
18727 /* confdefs.h.  */
18728 _ACEOF
18729 cat confdefs.h >>conftest.$ac_ext
18730 cat >>conftest.$ac_ext <<_ACEOF
18731 /* end confdefs.h.  */
18732 #include <$ac_header>
18733 _ACEOF
18734 if { (ac_try="$ac_cpp conftest.$ac_ext"
18735 case "(($ac_try" in
18736   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18737   *) ac_try_echo=$ac_try;;
18738 esac
18739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18740   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18741   ac_status=$?
18742   grep -v '^ *+' conftest.er1 >conftest.err
18743   rm -f conftest.er1
18744   cat conftest.err >&5
18745   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18746   (exit $ac_status); } >/dev/null && {
18747          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18748          test ! -s conftest.err
18749        }; then
18750   ac_header_preproc=yes
18751 else
18752   echo "$as_me: failed program was:" >&5
18753 sed 's/^/| /' conftest.$ac_ext >&5
18754
18755   ac_header_preproc=no
18756 fi
18757
18758 rm -f conftest.err conftest.$ac_ext
18759 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18760 echo "${ECHO_T}$ac_header_preproc" >&6; }
18761
18762 # So?  What about this header?
18763 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18764   yes:no: )
18765     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18766 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18767     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18768 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18769     ac_header_preproc=yes
18770     ;;
18771   no:yes:* )
18772     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18773 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18774     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
18775 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
18776     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18777 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18778     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
18779 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
18780     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18781 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18782     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18783 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18784
18785     ;;
18786 esac
18787 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18788 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18789 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18790   echo $ECHO_N "(cached) $ECHO_C" >&6
18791 else
18792   eval "$as_ac_Header=\$ac_header_preproc"
18793 fi
18794 ac_res=`eval echo '${'$as_ac_Header'}'`
18795                { echo "$as_me:$LINENO: result: $ac_res" >&5
18796 echo "${ECHO_T}$ac_res" >&6; }
18797
18798 fi
18799 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18800   cat >>confdefs.h <<_ACEOF
18801 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18802 _ACEOF
18803
18804 fi
18805
18806 done
18807
18808
18809
18810
18811 # Check whether --with-gnu-ld was given.
18812 if test "${with_gnu_ld+set}" = set; then
18813   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
18814 else
18815   with_gnu_ld=no
18816 fi
18817
18818 ac_prog=ld
18819 if test "$GCC" = yes; then
18820   # Check if gcc -print-prog-name=ld gives a path.
18821   { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
18822 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
18823   case $host in
18824   *-*-mingw*)
18825     # gcc leaves a trailing carriage return which upsets mingw
18826     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
18827   *)
18828     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
18829   esac
18830   case $ac_prog in
18831     # Accept absolute paths.
18832     [\\/]* | ?:[\\/]*)
18833       re_direlt='/[^/][^/]*/\.\./'
18834       # Canonicalize the pathname of ld
18835       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
18836       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
18837         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
18838       done
18839       test -z "$LD" && LD="$ac_prog"
18840       ;;
18841   "")
18842     # If it fails, then pretend we aren't using GCC.
18843     ac_prog=ld
18844     ;;
18845   *)
18846     # If it is relative, then search for the first ld in PATH.
18847     with_gnu_ld=unknown
18848     ;;
18849   esac
18850 elif test "$with_gnu_ld" = yes; then
18851   { echo "$as_me:$LINENO: checking for GNU ld" >&5
18852 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
18853 else
18854   { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
18855 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
18856 fi
18857 if test "${lt_cv_path_LD+set}" = set; then
18858   echo $ECHO_N "(cached) $ECHO_C" >&6
18859 else
18860   if test -z "$LD"; then
18861   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
18862   for ac_dir in $PATH; do
18863     IFS="$lt_save_ifs"
18864     test -z "$ac_dir" && ac_dir=.
18865     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
18866       lt_cv_path_LD="$ac_dir/$ac_prog"
18867       # Check to see if the program is GNU ld.  I'd rather use --version,
18868       # but apparently some variants of GNU ld only accept -v.
18869       # Break only if it was the GNU/non-GNU ld that we prefer.
18870       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
18871       *GNU* | *'with BFD'*)
18872         test "$with_gnu_ld" != no && break
18873         ;;
18874       *)
18875         test "$with_gnu_ld" != yes && break
18876         ;;
18877       esac
18878     fi
18879   done
18880   IFS="$lt_save_ifs"
18881 else
18882   lt_cv_path_LD="$LD" # Let the user override the test with a path.
18883 fi
18884 fi
18885
18886 LD="$lt_cv_path_LD"
18887 if test -n "$LD"; then
18888   { echo "$as_me:$LINENO: result: $LD" >&5
18889 echo "${ECHO_T}$LD" >&6; }
18890 else
18891   { echo "$as_me:$LINENO: result: no" >&5
18892 echo "${ECHO_T}no" >&6; }
18893 fi
18894 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
18895 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
18896    { (exit 1); exit 1; }; }
18897 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
18898 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
18899 if test "${lt_cv_prog_gnu_ld+set}" = set; then
18900   echo $ECHO_N "(cached) $ECHO_C" >&6
18901 else
18902   # I'd rather use --version here, but apparently some GNU lds only accept -v.
18903 case `$LD -v 2>&1 </dev/null` in
18904 *GNU* | *'with BFD'*)
18905   lt_cv_prog_gnu_ld=yes
18906   ;;
18907 *)
18908   lt_cv_prog_gnu_ld=no
18909   ;;
18910 esac
18911 fi
18912 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
18913 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
18914 with_gnu_ld=$lt_cv_prog_gnu_ld
18915
18916
18917
18918
18919
18920
18921
18922   # If we're not using GNU ld, then there's no point in even trying these
18923   # tests.  Check for that first.  We should have already tested for gld
18924   # by now (in libtool), but require it now just to be safe...
18925   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
18926   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
18927
18928
18929
18930   # The name set by libtool depends on the version of libtool.  Shame on us
18931   # for depending on an impl detail, but c'est la vie.  Older versions used
18932   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
18933   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
18934   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
18935   # set (hence we're using an older libtool), then set it.
18936   if test x${with_gnu_ld+set} != xset; then
18937     if test x${ac_cv_prog_gnu_ld+set} != xset; then
18938       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
18939       with_gnu_ld=no
18940     else
18941       with_gnu_ld=$ac_cv_prog_gnu_ld
18942     fi
18943   fi
18944
18945   # Start by getting the version number.  I think the libtool test already
18946   # does some of this, but throws away the result.
18947   if test x"$with_gnu_ld" = x"yes"; then
18948     { echo "$as_me:$LINENO: checking for ld version" >&5
18949 echo $ECHO_N "checking for ld version... $ECHO_C" >&6; }
18950
18951     ldver=`$LD --version 2>/dev/null | head -1 | \
18952            sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
18953
18954     glibcxx_gnu_ld_version=`echo $ldver | \
18955            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
18956     { echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
18957 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6; }
18958   fi
18959
18960   # Set --gc-sections.
18961   glibcxx_gcsections_min_ld=21602
18962   if test x"$with_gnu_ld" = x"yes" &&
18963         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
18964
18965     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
18966     # NB: This flag only works reliably after 2.16.1. Configure tests
18967     # for this are difficult, so hard wire a value that should work.
18968
18969     ac_test_CFLAGS="${CFLAGS+set}"
18970     ac_save_CFLAGS="$CFLAGS"
18971     CFLAGS='-Wl,--gc-sections'
18972
18973     # Check for -Wl,--gc-sections
18974     { echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
18975 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6; }
18976     if test x$gcc_no_link = xyes; then
18977   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18978 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18979    { (exit 1); exit 1; }; }
18980 fi
18981 cat >conftest.$ac_ext <<_ACEOF
18982 /* confdefs.h.  */
18983 _ACEOF
18984 cat confdefs.h >>conftest.$ac_ext
18985 cat >>conftest.$ac_ext <<_ACEOF
18986 /* end confdefs.h.  */
18987  int one(void) { return 1; }
18988      int two(void) { return 2; }
18989
18990 int
18991 main ()
18992 {
18993  two();
18994   ;
18995   return 0;
18996 }
18997 _ACEOF
18998 rm -f conftest.$ac_objext conftest$ac_exeext
18999 if { (ac_try="$ac_link"
19000 case "(($ac_try" in
19001   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19002   *) ac_try_echo=$ac_try;;
19003 esac
19004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19005   (eval "$ac_link") 2>conftest.er1
19006   ac_status=$?
19007   grep -v '^ *+' conftest.er1 >conftest.err
19008   rm -f conftest.er1
19009   cat conftest.err >&5
19010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19011   (exit $ac_status); } && {
19012          test -z "$ac_c_werror_flag" ||
19013          test ! -s conftest.err
19014        } && test -s conftest$ac_exeext &&
19015        $as_test_x conftest$ac_exeext; then
19016   ac_gcsections=yes
19017 else
19018   echo "$as_me: failed program was:" >&5
19019 sed 's/^/| /' conftest.$ac_ext >&5
19020
19021         ac_gcsections=no
19022 fi
19023
19024 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19025       conftest$ac_exeext conftest.$ac_ext
19026     if test "$ac_gcsections" = "yes"; then
19027       rm -f conftest.c
19028       touch conftest.c
19029       if $CC -c conftest.c; then
19030         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
19031            grep "Warning: gc-sections option ignored" > /dev/null; then
19032           ac_gcsections=no
19033         fi
19034       fi
19035       rm -f conftest.c conftest.o conftest
19036     fi
19037     if test "$ac_gcsections" = "yes"; then
19038       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
19039     fi
19040     { echo "$as_me:$LINENO: result: $ac_gcsections" >&5
19041 echo "${ECHO_T}$ac_gcsections" >&6; }
19042
19043     if test "$ac_test_CFLAGS" = set; then
19044       CFLAGS="$ac_save_CFLAGS"
19045     else
19046       # this is the suspicious part
19047       CFLAGS=''
19048     fi
19049   fi
19050
19051   # Set -z,relro.
19052   # Note this is only for shared objects.
19053   ac_ld_relro=no
19054   if test x"$with_gnu_ld" = x"yes"; then
19055     { echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
19056 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6; }
19057     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
19058     if test -n "$cxx_z_relo"; then
19059       OPT_LDFLAGS="-Wl,-z,relro"
19060       ac_ld_relro=yes
19061     fi
19062     { echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
19063 echo "${ECHO_T}$ac_ld_relro" >&6; }
19064   fi
19065
19066   # Set linker optimization flags.
19067   if test x"$with_gnu_ld" = x"yes"; then
19068     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
19069   fi
19070
19071
19072
19073
19074
19075   ac_test_CXXFLAGS="${CXXFLAGS+set}"
19076   ac_save_CXXFLAGS="$CXXFLAGS"
19077   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
19078
19079     { echo "$as_me:$LINENO: checking for sin in -lm" >&5
19080 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6; }
19081 if test "${ac_cv_lib_m_sin+set}" = set; then
19082   echo $ECHO_N "(cached) $ECHO_C" >&6
19083 else
19084   ac_check_lib_save_LIBS=$LIBS
19085 LIBS="-lm  $LIBS"
19086 if test x$gcc_no_link = xyes; then
19087   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19088 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19089    { (exit 1); exit 1; }; }
19090 fi
19091 cat >conftest.$ac_ext <<_ACEOF
19092 /* confdefs.h.  */
19093 _ACEOF
19094 cat confdefs.h >>conftest.$ac_ext
19095 cat >>conftest.$ac_ext <<_ACEOF
19096 /* end confdefs.h.  */
19097
19098 /* Override any GCC internal prototype to avoid an error.
19099    Use char because int might match the return type of a GCC
19100    builtin and then its argument prototype would still apply.  */
19101 #ifdef __cplusplus
19102 extern "C"
19103 #endif
19104 char sin ();
19105 int
19106 main ()
19107 {
19108 return sin ();
19109   ;
19110   return 0;
19111 }
19112 _ACEOF
19113 rm -f conftest.$ac_objext conftest$ac_exeext
19114 if { (ac_try="$ac_link"
19115 case "(($ac_try" in
19116   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19117   *) ac_try_echo=$ac_try;;
19118 esac
19119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19120   (eval "$ac_link") 2>conftest.er1
19121   ac_status=$?
19122   grep -v '^ *+' conftest.er1 >conftest.err
19123   rm -f conftest.er1
19124   cat conftest.err >&5
19125   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19126   (exit $ac_status); } && {
19127          test -z "$ac_c_werror_flag" ||
19128          test ! -s conftest.err
19129        } && test -s conftest$ac_exeext &&
19130        $as_test_x conftest$ac_exeext; then
19131   ac_cv_lib_m_sin=yes
19132 else
19133   echo "$as_me: failed program was:" >&5
19134 sed 's/^/| /' conftest.$ac_ext >&5
19135
19136         ac_cv_lib_m_sin=no
19137 fi
19138
19139 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19140       conftest$ac_exeext conftest.$ac_ext
19141 LIBS=$ac_check_lib_save_LIBS
19142 fi
19143 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
19144 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6; }
19145 if test $ac_cv_lib_m_sin = yes; then
19146   libm="-lm"
19147 fi
19148
19149   ac_save_LIBS="$LIBS"
19150   LIBS="$LIBS $libm"
19151
19152
19153
19154   { echo "$as_me:$LINENO: checking for isinf declaration" >&5
19155 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6; }
19156   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
19157     if test "${glibcxx_cv_func_isinf_use+set}" = set; then
19158   echo $ECHO_N "(cached) $ECHO_C" >&6
19159 else
19160
19161
19162       ac_ext=cpp
19163 ac_cpp='$CXXCPP $CPPFLAGS'
19164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19167
19168       cat >conftest.$ac_ext <<_ACEOF
19169 /* confdefs.h.  */
19170 _ACEOF
19171 cat confdefs.h >>conftest.$ac_ext
19172 cat >>conftest.$ac_ext <<_ACEOF
19173 /* end confdefs.h.  */
19174 #include <math.h>
19175                       #ifdef HAVE_IEEEFP_H
19176                       #include <ieeefp.h>
19177                       #endif
19178
19179 int
19180 main ()
19181 {
19182  isinf(0);
19183   ;
19184   return 0;
19185 }
19186 _ACEOF
19187 rm -f conftest.$ac_objext
19188 if { (ac_try="$ac_compile"
19189 case "(($ac_try" in
19190   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19191   *) ac_try_echo=$ac_try;;
19192 esac
19193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19194   (eval "$ac_compile") 2>conftest.er1
19195   ac_status=$?
19196   grep -v '^ *+' conftest.er1 >conftest.err
19197   rm -f conftest.er1
19198   cat conftest.err >&5
19199   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19200   (exit $ac_status); } && {
19201          test -z "$ac_cxx_werror_flag" ||
19202          test ! -s conftest.err
19203        } && test -s conftest.$ac_objext; then
19204   glibcxx_cv_func_isinf_use=yes
19205 else
19206   echo "$as_me: failed program was:" >&5
19207 sed 's/^/| /' conftest.$ac_ext >&5
19208
19209         glibcxx_cv_func_isinf_use=no
19210 fi
19211
19212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19213       ac_ext=c
19214 ac_cpp='$CPP $CPPFLAGS'
19215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19218
19219
19220 fi
19221
19222   fi
19223   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
19224 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6; }
19225
19226   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
19227
19228 for ac_func in isinf
19229 do
19230 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19231 { echo "$as_me:$LINENO: checking for $ac_func" >&5
19232 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
19233 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
19234   echo $ECHO_N "(cached) $ECHO_C" >&6
19235 else
19236   if test x$gcc_no_link = xyes; then
19237   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19238 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19239    { (exit 1); exit 1; }; }
19240 fi
19241 cat >conftest.$ac_ext <<_ACEOF
19242 /* confdefs.h.  */
19243 _ACEOF
19244 cat confdefs.h >>conftest.$ac_ext
19245 cat >>conftest.$ac_ext <<_ACEOF
19246 /* end confdefs.h.  */
19247 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19248    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19249 #define $ac_func innocuous_$ac_func
19250
19251 /* System header to define __stub macros and hopefully few prototypes,
19252     which can conflict with char $ac_func (); below.
19253     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19254     <limits.h> exists even on freestanding compilers.  */
19255
19256 #ifdef __STDC__
19257 # include <limits.h>
19258 #else
19259 # include <assert.h>
19260 #endif
19261
19262 #undef $ac_func
19263
19264 /* Override any GCC internal prototype to avoid an error.
19265    Use char because int might match the return type of a GCC
19266    builtin and then its argument prototype would still apply.  */
19267 #ifdef __cplusplus
19268 extern "C"
19269 #endif
19270 char $ac_func ();
19271 /* The GNU C library defines this for functions which it implements
19272     to always fail with ENOSYS.  Some functions are actually named
19273     something starting with __ and the normal name is an alias.  */
19274 #if defined __stub_$ac_func || defined __stub___$ac_func
19275 choke me
19276 #endif
19277
19278 int
19279 main ()
19280 {
19281 return $ac_func ();
19282   ;
19283   return 0;
19284 }
19285 _ACEOF
19286 rm -f conftest.$ac_objext conftest$ac_exeext
19287 if { (ac_try="$ac_link"
19288 case "(($ac_try" in
19289   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19290   *) ac_try_echo=$ac_try;;
19291 esac
19292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19293   (eval "$ac_link") 2>conftest.er1
19294   ac_status=$?
19295   grep -v '^ *+' conftest.er1 >conftest.err
19296   rm -f conftest.er1
19297   cat conftest.err >&5
19298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19299   (exit $ac_status); } && {
19300          test -z "$ac_c_werror_flag" ||
19301          test ! -s conftest.err
19302        } && test -s conftest$ac_exeext &&
19303        $as_test_x conftest$ac_exeext; then
19304   eval "$as_ac_var=yes"
19305 else
19306   echo "$as_me: failed program was:" >&5
19307 sed 's/^/| /' conftest.$ac_ext >&5
19308
19309         eval "$as_ac_var=no"
19310 fi
19311
19312 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19313       conftest$ac_exeext conftest.$ac_ext
19314 fi
19315 ac_res=`eval echo '${'$as_ac_var'}'`
19316                { echo "$as_me:$LINENO: result: $ac_res" >&5
19317 echo "${ECHO_T}$ac_res" >&6; }
19318 if test `eval echo '${'$as_ac_var'}'` = yes; then
19319   cat >>confdefs.h <<_ACEOF
19320 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19321 _ACEOF
19322
19323 fi
19324 done
19325
19326   else
19327
19328   { echo "$as_me:$LINENO: checking for _isinf declaration" >&5
19329 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6; }
19330   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
19331     if test "${glibcxx_cv_func__isinf_use+set}" = set; then
19332   echo $ECHO_N "(cached) $ECHO_C" >&6
19333 else
19334
19335
19336       ac_ext=cpp
19337 ac_cpp='$CXXCPP $CPPFLAGS'
19338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19341
19342       cat >conftest.$ac_ext <<_ACEOF
19343 /* confdefs.h.  */
19344 _ACEOF
19345 cat confdefs.h >>conftest.$ac_ext
19346 cat >>conftest.$ac_ext <<_ACEOF
19347 /* end confdefs.h.  */
19348 #include <math.h>
19349                       #ifdef HAVE_IEEEFP_H
19350                       #include <ieeefp.h>
19351                       #endif
19352
19353 int
19354 main ()
19355 {
19356  _isinf(0);
19357   ;
19358   return 0;
19359 }
19360 _ACEOF
19361 rm -f conftest.$ac_objext
19362 if { (ac_try="$ac_compile"
19363 case "(($ac_try" in
19364   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19365   *) ac_try_echo=$ac_try;;
19366 esac
19367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19368   (eval "$ac_compile") 2>conftest.er1
19369   ac_status=$?
19370   grep -v '^ *+' conftest.er1 >conftest.err
19371   rm -f conftest.er1
19372   cat conftest.err >&5
19373   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19374   (exit $ac_status); } && {
19375          test -z "$ac_cxx_werror_flag" ||
19376          test ! -s conftest.err
19377        } && test -s conftest.$ac_objext; then
19378   glibcxx_cv_func__isinf_use=yes
19379 else
19380   echo "$as_me: failed program was:" >&5
19381 sed 's/^/| /' conftest.$ac_ext >&5
19382
19383         glibcxx_cv_func__isinf_use=no
19384 fi
19385
19386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19387       ac_ext=c
19388 ac_cpp='$CPP $CPPFLAGS'
19389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19392
19393
19394 fi
19395
19396   fi
19397   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
19398 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6; }
19399
19400     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
19401
19402 for ac_func in _isinf
19403 do
19404 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19405 { echo "$as_me:$LINENO: checking for $ac_func" >&5
19406 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
19407 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
19408   echo $ECHO_N "(cached) $ECHO_C" >&6
19409 else
19410   if test x$gcc_no_link = xyes; then
19411   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19412 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19413    { (exit 1); exit 1; }; }
19414 fi
19415 cat >conftest.$ac_ext <<_ACEOF
19416 /* confdefs.h.  */
19417 _ACEOF
19418 cat confdefs.h >>conftest.$ac_ext
19419 cat >>conftest.$ac_ext <<_ACEOF
19420 /* end confdefs.h.  */
19421 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19422    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19423 #define $ac_func innocuous_$ac_func
19424
19425 /* System header to define __stub macros and hopefully few prototypes,
19426     which can conflict with char $ac_func (); below.
19427     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19428     <limits.h> exists even on freestanding compilers.  */
19429
19430 #ifdef __STDC__
19431 # include <limits.h>
19432 #else
19433 # include <assert.h>
19434 #endif
19435
19436 #undef $ac_func
19437
19438 /* Override any GCC internal prototype to avoid an error.
19439    Use char because int might match the return type of a GCC
19440    builtin and then its argument prototype would still apply.  */
19441 #ifdef __cplusplus
19442 extern "C"
19443 #endif
19444 char $ac_func ();
19445 /* The GNU C library defines this for functions which it implements
19446     to always fail with ENOSYS.  Some functions are actually named
19447     something starting with __ and the normal name is an alias.  */
19448 #if defined __stub_$ac_func || defined __stub___$ac_func
19449 choke me
19450 #endif
19451
19452 int
19453 main ()
19454 {
19455 return $ac_func ();
19456   ;
19457   return 0;
19458 }
19459 _ACEOF
19460 rm -f conftest.$ac_objext conftest$ac_exeext
19461 if { (ac_try="$ac_link"
19462 case "(($ac_try" in
19463   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19464   *) ac_try_echo=$ac_try;;
19465 esac
19466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19467   (eval "$ac_link") 2>conftest.er1
19468   ac_status=$?
19469   grep -v '^ *+' conftest.er1 >conftest.err
19470   rm -f conftest.er1
19471   cat conftest.err >&5
19472   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19473   (exit $ac_status); } && {
19474          test -z "$ac_c_werror_flag" ||
19475          test ! -s conftest.err
19476        } && test -s conftest$ac_exeext &&
19477        $as_test_x conftest$ac_exeext; then
19478   eval "$as_ac_var=yes"
19479 else
19480   echo "$as_me: failed program was:" >&5
19481 sed 's/^/| /' conftest.$ac_ext >&5
19482
19483         eval "$as_ac_var=no"
19484 fi
19485
19486 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19487       conftest$ac_exeext conftest.$ac_ext
19488 fi
19489 ac_res=`eval echo '${'$as_ac_var'}'`
19490                { echo "$as_me:$LINENO: result: $ac_res" >&5
19491 echo "${ECHO_T}$ac_res" >&6; }
19492 if test `eval echo '${'$as_ac_var'}'` = yes; then
19493   cat >>confdefs.h <<_ACEOF
19494 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19495 _ACEOF
19496
19497 fi
19498 done
19499
19500     fi
19501   fi
19502
19503
19504
19505
19506
19507
19508   { echo "$as_me:$LINENO: checking for isnan declaration" >&5
19509 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6; }
19510   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
19511     if test "${glibcxx_cv_func_isnan_use+set}" = set; then
19512   echo $ECHO_N "(cached) $ECHO_C" >&6
19513 else
19514
19515
19516       ac_ext=cpp
19517 ac_cpp='$CXXCPP $CPPFLAGS'
19518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19521
19522       cat >conftest.$ac_ext <<_ACEOF
19523 /* confdefs.h.  */
19524 _ACEOF
19525 cat confdefs.h >>conftest.$ac_ext
19526 cat >>conftest.$ac_ext <<_ACEOF
19527 /* end confdefs.h.  */
19528 #include <math.h>
19529                       #ifdef HAVE_IEEEFP_H
19530                       #include <ieeefp.h>
19531                       #endif
19532
19533 int
19534 main ()
19535 {
19536  isnan(0);
19537   ;
19538   return 0;
19539 }
19540 _ACEOF
19541 rm -f conftest.$ac_objext
19542 if { (ac_try="$ac_compile"
19543 case "(($ac_try" in
19544   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19545   *) ac_try_echo=$ac_try;;
19546 esac
19547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19548   (eval "$ac_compile") 2>conftest.er1
19549   ac_status=$?
19550   grep -v '^ *+' conftest.er1 >conftest.err
19551   rm -f conftest.er1
19552   cat conftest.err >&5
19553   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19554   (exit $ac_status); } && {
19555          test -z "$ac_cxx_werror_flag" ||
19556          test ! -s conftest.err
19557        } && test -s conftest.$ac_objext; then
19558   glibcxx_cv_func_isnan_use=yes
19559 else
19560   echo "$as_me: failed program was:" >&5
19561 sed 's/^/| /' conftest.$ac_ext >&5
19562
19563         glibcxx_cv_func_isnan_use=no
19564 fi
19565
19566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19567       ac_ext=c
19568 ac_cpp='$CPP $CPPFLAGS'
19569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19572
19573
19574 fi
19575
19576   fi
19577   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
19578 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6; }
19579
19580   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
19581
19582 for ac_func in isnan
19583 do
19584 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19585 { echo "$as_me:$LINENO: checking for $ac_func" >&5
19586 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
19587 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
19588   echo $ECHO_N "(cached) $ECHO_C" >&6
19589 else
19590   if test x$gcc_no_link = xyes; then
19591   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19592 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19593    { (exit 1); exit 1; }; }
19594 fi
19595 cat >conftest.$ac_ext <<_ACEOF
19596 /* confdefs.h.  */
19597 _ACEOF
19598 cat confdefs.h >>conftest.$ac_ext
19599 cat >>conftest.$ac_ext <<_ACEOF
19600 /* end confdefs.h.  */
19601 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19602    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19603 #define $ac_func innocuous_$ac_func
19604
19605 /* System header to define __stub macros and hopefully few prototypes,
19606     which can conflict with char $ac_func (); below.
19607     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19608     <limits.h> exists even on freestanding compilers.  */
19609
19610 #ifdef __STDC__
19611 # include <limits.h>
19612 #else
19613 # include <assert.h>
19614 #endif
19615
19616 #undef $ac_func
19617
19618 /* Override any GCC internal prototype to avoid an error.
19619    Use char because int might match the return type of a GCC
19620    builtin and then its argument prototype would still apply.  */
19621 #ifdef __cplusplus
19622 extern "C"
19623 #endif
19624 char $ac_func ();
19625 /* The GNU C library defines this for functions which it implements
19626     to always fail with ENOSYS.  Some functions are actually named
19627     something starting with __ and the normal name is an alias.  */
19628 #if defined __stub_$ac_func || defined __stub___$ac_func
19629 choke me
19630 #endif
19631
19632 int
19633 main ()
19634 {
19635 return $ac_func ();
19636   ;
19637   return 0;
19638 }
19639 _ACEOF
19640 rm -f conftest.$ac_objext conftest$ac_exeext
19641 if { (ac_try="$ac_link"
19642 case "(($ac_try" in
19643   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19644   *) ac_try_echo=$ac_try;;
19645 esac
19646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19647   (eval "$ac_link") 2>conftest.er1
19648   ac_status=$?
19649   grep -v '^ *+' conftest.er1 >conftest.err
19650   rm -f conftest.er1
19651   cat conftest.err >&5
19652   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19653   (exit $ac_status); } && {
19654          test -z "$ac_c_werror_flag" ||
19655          test ! -s conftest.err
19656        } && test -s conftest$ac_exeext &&
19657        $as_test_x conftest$ac_exeext; then
19658   eval "$as_ac_var=yes"
19659 else
19660   echo "$as_me: failed program was:" >&5
19661 sed 's/^/| /' conftest.$ac_ext >&5
19662
19663         eval "$as_ac_var=no"
19664 fi
19665
19666 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19667       conftest$ac_exeext conftest.$ac_ext
19668 fi
19669 ac_res=`eval echo '${'$as_ac_var'}'`
19670                { echo "$as_me:$LINENO: result: $ac_res" >&5
19671 echo "${ECHO_T}$ac_res" >&6; }
19672 if test `eval echo '${'$as_ac_var'}'` = yes; then
19673   cat >>confdefs.h <<_ACEOF
19674 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19675 _ACEOF
19676
19677 fi
19678 done
19679
19680   else
19681
19682   { echo "$as_me:$LINENO: checking for _isnan declaration" >&5
19683 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6; }
19684   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
19685     if test "${glibcxx_cv_func__isnan_use+set}" = set; then
19686   echo $ECHO_N "(cached) $ECHO_C" >&6
19687 else
19688
19689
19690       ac_ext=cpp
19691 ac_cpp='$CXXCPP $CPPFLAGS'
19692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19695
19696       cat >conftest.$ac_ext <<_ACEOF
19697 /* confdefs.h.  */
19698 _ACEOF
19699 cat confdefs.h >>conftest.$ac_ext
19700 cat >>conftest.$ac_ext <<_ACEOF
19701 /* end confdefs.h.  */
19702 #include <math.h>
19703                       #ifdef HAVE_IEEEFP_H
19704                       #include <ieeefp.h>
19705                       #endif
19706
19707 int
19708 main ()
19709 {
19710  _isnan(0);
19711   ;
19712   return 0;
19713 }
19714 _ACEOF
19715 rm -f conftest.$ac_objext
19716 if { (ac_try="$ac_compile"
19717 case "(($ac_try" in
19718   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19719   *) ac_try_echo=$ac_try;;
19720 esac
19721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19722   (eval "$ac_compile") 2>conftest.er1
19723   ac_status=$?
19724   grep -v '^ *+' conftest.er1 >conftest.err
19725   rm -f conftest.er1
19726   cat conftest.err >&5
19727   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19728   (exit $ac_status); } && {
19729          test -z "$ac_cxx_werror_flag" ||
19730          test ! -s conftest.err
19731        } && test -s conftest.$ac_objext; then
19732   glibcxx_cv_func__isnan_use=yes
19733 else
19734   echo "$as_me: failed program was:" >&5
19735 sed 's/^/| /' conftest.$ac_ext >&5
19736
19737         glibcxx_cv_func__isnan_use=no
19738 fi
19739
19740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19741       ac_ext=c
19742 ac_cpp='$CPP $CPPFLAGS'
19743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19746
19747
19748 fi
19749
19750   fi
19751   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
19752 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6; }
19753
19754     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
19755
19756 for ac_func in _isnan
19757 do
19758 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19759 { echo "$as_me:$LINENO: checking for $ac_func" >&5
19760 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
19761 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
19762   echo $ECHO_N "(cached) $ECHO_C" >&6
19763 else
19764   if test x$gcc_no_link = xyes; then
19765   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19766 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19767    { (exit 1); exit 1; }; }
19768 fi
19769 cat >conftest.$ac_ext <<_ACEOF
19770 /* confdefs.h.  */
19771 _ACEOF
19772 cat confdefs.h >>conftest.$ac_ext
19773 cat >>conftest.$ac_ext <<_ACEOF
19774 /* end confdefs.h.  */
19775 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19776    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19777 #define $ac_func innocuous_$ac_func
19778
19779 /* System header to define __stub macros and hopefully few prototypes,
19780     which can conflict with char $ac_func (); below.
19781     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19782     <limits.h> exists even on freestanding compilers.  */
19783
19784 #ifdef __STDC__
19785 # include <limits.h>
19786 #else
19787 # include <assert.h>
19788 #endif
19789
19790 #undef $ac_func
19791
19792 /* Override any GCC internal prototype to avoid an error.
19793    Use char because int might match the return type of a GCC
19794    builtin and then its argument prototype would still apply.  */
19795 #ifdef __cplusplus
19796 extern "C"
19797 #endif
19798 char $ac_func ();
19799 /* The GNU C library defines this for functions which it implements
19800     to always fail with ENOSYS.  Some functions are actually named
19801     something starting with __ and the normal name is an alias.  */
19802 #if defined __stub_$ac_func || defined __stub___$ac_func
19803 choke me
19804 #endif
19805
19806 int
19807 main ()
19808 {
19809 return $ac_func ();
19810   ;
19811   return 0;
19812 }
19813 _ACEOF
19814 rm -f conftest.$ac_objext conftest$ac_exeext
19815 if { (ac_try="$ac_link"
19816 case "(($ac_try" in
19817   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19818   *) ac_try_echo=$ac_try;;
19819 esac
19820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19821   (eval "$ac_link") 2>conftest.er1
19822   ac_status=$?
19823   grep -v '^ *+' conftest.er1 >conftest.err
19824   rm -f conftest.er1
19825   cat conftest.err >&5
19826   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19827   (exit $ac_status); } && {
19828          test -z "$ac_c_werror_flag" ||
19829          test ! -s conftest.err
19830        } && test -s conftest$ac_exeext &&
19831        $as_test_x conftest$ac_exeext; then
19832   eval "$as_ac_var=yes"
19833 else
19834   echo "$as_me: failed program was:" >&5
19835 sed 's/^/| /' conftest.$ac_ext >&5
19836
19837         eval "$as_ac_var=no"
19838 fi
19839
19840 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19841       conftest$ac_exeext conftest.$ac_ext
19842 fi
19843 ac_res=`eval echo '${'$as_ac_var'}'`
19844                { echo "$as_me:$LINENO: result: $ac_res" >&5
19845 echo "${ECHO_T}$ac_res" >&6; }
19846 if test `eval echo '${'$as_ac_var'}'` = yes; then
19847   cat >>confdefs.h <<_ACEOF
19848 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19849 _ACEOF
19850
19851 fi
19852 done
19853
19854     fi
19855   fi
19856
19857
19858
19859
19860
19861
19862   { echo "$as_me:$LINENO: checking for finite declaration" >&5
19863 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6; }
19864   if test x${glibcxx_cv_func_finite_use+set} != xset; then
19865     if test "${glibcxx_cv_func_finite_use+set}" = set; then
19866   echo $ECHO_N "(cached) $ECHO_C" >&6
19867 else
19868
19869
19870       ac_ext=cpp
19871 ac_cpp='$CXXCPP $CPPFLAGS'
19872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19875
19876       cat >conftest.$ac_ext <<_ACEOF
19877 /* confdefs.h.  */
19878 _ACEOF
19879 cat confdefs.h >>conftest.$ac_ext
19880 cat >>conftest.$ac_ext <<_ACEOF
19881 /* end confdefs.h.  */
19882 #include <math.h>
19883                       #ifdef HAVE_IEEEFP_H
19884                       #include <ieeefp.h>
19885                       #endif
19886
19887 int
19888 main ()
19889 {
19890  finite(0);
19891   ;
19892   return 0;
19893 }
19894 _ACEOF
19895 rm -f conftest.$ac_objext
19896 if { (ac_try="$ac_compile"
19897 case "(($ac_try" in
19898   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19899   *) ac_try_echo=$ac_try;;
19900 esac
19901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19902   (eval "$ac_compile") 2>conftest.er1
19903   ac_status=$?
19904   grep -v '^ *+' conftest.er1 >conftest.err
19905   rm -f conftest.er1
19906   cat conftest.err >&5
19907   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19908   (exit $ac_status); } && {
19909          test -z "$ac_cxx_werror_flag" ||
19910          test ! -s conftest.err
19911        } && test -s conftest.$ac_objext; then
19912   glibcxx_cv_func_finite_use=yes
19913 else
19914   echo "$as_me: failed program was:" >&5
19915 sed 's/^/| /' conftest.$ac_ext >&5
19916
19917         glibcxx_cv_func_finite_use=no
19918 fi
19919
19920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19921       ac_ext=c
19922 ac_cpp='$CPP $CPPFLAGS'
19923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19926
19927
19928 fi
19929
19930   fi
19931   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
19932 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6; }
19933
19934   if test x$glibcxx_cv_func_finite_use = x"yes"; then
19935
19936 for ac_func in finite
19937 do
19938 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19939 { echo "$as_me:$LINENO: checking for $ac_func" >&5
19940 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
19941 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
19942   echo $ECHO_N "(cached) $ECHO_C" >&6
19943 else
19944   if test x$gcc_no_link = xyes; then
19945   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19946 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19947    { (exit 1); exit 1; }; }
19948 fi
19949 cat >conftest.$ac_ext <<_ACEOF
19950 /* confdefs.h.  */
19951 _ACEOF
19952 cat confdefs.h >>conftest.$ac_ext
19953 cat >>conftest.$ac_ext <<_ACEOF
19954 /* end confdefs.h.  */
19955 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19956    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19957 #define $ac_func innocuous_$ac_func
19958
19959 /* System header to define __stub macros and hopefully few prototypes,
19960     which can conflict with char $ac_func (); below.
19961     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19962     <limits.h> exists even on freestanding compilers.  */
19963
19964 #ifdef __STDC__
19965 # include <limits.h>
19966 #else
19967 # include <assert.h>
19968 #endif
19969
19970 #undef $ac_func
19971
19972 /* Override any GCC internal prototype to avoid an error.
19973    Use char because int might match the return type of a GCC
19974    builtin and then its argument prototype would still apply.  */
19975 #ifdef __cplusplus
19976 extern "C"
19977 #endif
19978 char $ac_func ();
19979 /* The GNU C library defines this for functions which it implements
19980     to always fail with ENOSYS.  Some functions are actually named
19981     something starting with __ and the normal name is an alias.  */
19982 #if defined __stub_$ac_func || defined __stub___$ac_func
19983 choke me
19984 #endif
19985
19986 int
19987 main ()
19988 {
19989 return $ac_func ();
19990   ;
19991   return 0;
19992 }
19993 _ACEOF
19994 rm -f conftest.$ac_objext conftest$ac_exeext
19995 if { (ac_try="$ac_link"
19996 case "(($ac_try" in
19997   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19998   *) ac_try_echo=$ac_try;;
19999 esac
20000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20001   (eval "$ac_link") 2>conftest.er1
20002   ac_status=$?
20003   grep -v '^ *+' conftest.er1 >conftest.err
20004   rm -f conftest.er1
20005   cat conftest.err >&5
20006   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20007   (exit $ac_status); } && {
20008          test -z "$ac_c_werror_flag" ||
20009          test ! -s conftest.err
20010        } && test -s conftest$ac_exeext &&
20011        $as_test_x conftest$ac_exeext; then
20012   eval "$as_ac_var=yes"
20013 else
20014   echo "$as_me: failed program was:" >&5
20015 sed 's/^/| /' conftest.$ac_ext >&5
20016
20017         eval "$as_ac_var=no"
20018 fi
20019
20020 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20021       conftest$ac_exeext conftest.$ac_ext
20022 fi
20023 ac_res=`eval echo '${'$as_ac_var'}'`
20024                { echo "$as_me:$LINENO: result: $ac_res" >&5
20025 echo "${ECHO_T}$ac_res" >&6; }
20026 if test `eval echo '${'$as_ac_var'}'` = yes; then
20027   cat >>confdefs.h <<_ACEOF
20028 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20029 _ACEOF
20030
20031 fi
20032 done
20033
20034   else
20035
20036   { echo "$as_me:$LINENO: checking for _finite declaration" >&5
20037 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6; }
20038   if test x${glibcxx_cv_func__finite_use+set} != xset; then
20039     if test "${glibcxx_cv_func__finite_use+set}" = set; then
20040   echo $ECHO_N "(cached) $ECHO_C" >&6
20041 else
20042
20043
20044       ac_ext=cpp
20045 ac_cpp='$CXXCPP $CPPFLAGS'
20046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20049
20050       cat >conftest.$ac_ext <<_ACEOF
20051 /* confdefs.h.  */
20052 _ACEOF
20053 cat confdefs.h >>conftest.$ac_ext
20054 cat >>conftest.$ac_ext <<_ACEOF
20055 /* end confdefs.h.  */
20056 #include <math.h>
20057                       #ifdef HAVE_IEEEFP_H
20058                       #include <ieeefp.h>
20059                       #endif
20060
20061 int
20062 main ()
20063 {
20064  _finite(0);
20065   ;
20066   return 0;
20067 }
20068 _ACEOF
20069 rm -f conftest.$ac_objext
20070 if { (ac_try="$ac_compile"
20071 case "(($ac_try" in
20072   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20073   *) ac_try_echo=$ac_try;;
20074 esac
20075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20076   (eval "$ac_compile") 2>conftest.er1
20077   ac_status=$?
20078   grep -v '^ *+' conftest.er1 >conftest.err
20079   rm -f conftest.er1
20080   cat conftest.err >&5
20081   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20082   (exit $ac_status); } && {
20083          test -z "$ac_cxx_werror_flag" ||
20084          test ! -s conftest.err
20085        } && test -s conftest.$ac_objext; then
20086   glibcxx_cv_func__finite_use=yes
20087 else
20088   echo "$as_me: failed program was:" >&5
20089 sed 's/^/| /' conftest.$ac_ext >&5
20090
20091         glibcxx_cv_func__finite_use=no
20092 fi
20093
20094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20095       ac_ext=c
20096 ac_cpp='$CPP $CPPFLAGS'
20097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20100
20101
20102 fi
20103
20104   fi
20105   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
20106 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6; }
20107
20108     if test x$glibcxx_cv_func__finite_use = x"yes"; then
20109
20110 for ac_func in _finite
20111 do
20112 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20113 { echo "$as_me:$LINENO: checking for $ac_func" >&5
20114 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
20115 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
20116   echo $ECHO_N "(cached) $ECHO_C" >&6
20117 else
20118   if test x$gcc_no_link = xyes; then
20119   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20120 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20121    { (exit 1); exit 1; }; }
20122 fi
20123 cat >conftest.$ac_ext <<_ACEOF
20124 /* confdefs.h.  */
20125 _ACEOF
20126 cat confdefs.h >>conftest.$ac_ext
20127 cat >>conftest.$ac_ext <<_ACEOF
20128 /* end confdefs.h.  */
20129 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20130    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20131 #define $ac_func innocuous_$ac_func
20132
20133 /* System header to define __stub macros and hopefully few prototypes,
20134     which can conflict with char $ac_func (); below.
20135     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20136     <limits.h> exists even on freestanding compilers.  */
20137
20138 #ifdef __STDC__
20139 # include <limits.h>
20140 #else
20141 # include <assert.h>
20142 #endif
20143
20144 #undef $ac_func
20145
20146 /* Override any GCC internal prototype to avoid an error.
20147    Use char because int might match the return type of a GCC
20148    builtin and then its argument prototype would still apply.  */
20149 #ifdef __cplusplus
20150 extern "C"
20151 #endif
20152 char $ac_func ();
20153 /* The GNU C library defines this for functions which it implements
20154     to always fail with ENOSYS.  Some functions are actually named
20155     something starting with __ and the normal name is an alias.  */
20156 #if defined __stub_$ac_func || defined __stub___$ac_func
20157 choke me
20158 #endif
20159
20160 int
20161 main ()
20162 {
20163 return $ac_func ();
20164   ;
20165   return 0;
20166 }
20167 _ACEOF
20168 rm -f conftest.$ac_objext conftest$ac_exeext
20169 if { (ac_try="$ac_link"
20170 case "(($ac_try" in
20171   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20172   *) ac_try_echo=$ac_try;;
20173 esac
20174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20175   (eval "$ac_link") 2>conftest.er1
20176   ac_status=$?
20177   grep -v '^ *+' conftest.er1 >conftest.err
20178   rm -f conftest.er1
20179   cat conftest.err >&5
20180   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20181   (exit $ac_status); } && {
20182          test -z "$ac_c_werror_flag" ||
20183          test ! -s conftest.err
20184        } && test -s conftest$ac_exeext &&
20185        $as_test_x conftest$ac_exeext; then
20186   eval "$as_ac_var=yes"
20187 else
20188   echo "$as_me: failed program was:" >&5
20189 sed 's/^/| /' conftest.$ac_ext >&5
20190
20191         eval "$as_ac_var=no"
20192 fi
20193
20194 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20195       conftest$ac_exeext conftest.$ac_ext
20196 fi
20197 ac_res=`eval echo '${'$as_ac_var'}'`
20198                { echo "$as_me:$LINENO: result: $ac_res" >&5
20199 echo "${ECHO_T}$ac_res" >&6; }
20200 if test `eval echo '${'$as_ac_var'}'` = yes; then
20201   cat >>confdefs.h <<_ACEOF
20202 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20203 _ACEOF
20204
20205 fi
20206 done
20207
20208     fi
20209   fi
20210
20211
20212
20213
20214
20215
20216   { echo "$as_me:$LINENO: checking for copysign declaration" >&5
20217 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6; }
20218   if test x${glibcxx_cv_func_copysign_use+set} != xset; then
20219     if test "${glibcxx_cv_func_copysign_use+set}" = set; then
20220   echo $ECHO_N "(cached) $ECHO_C" >&6
20221 else
20222
20223
20224       ac_ext=cpp
20225 ac_cpp='$CXXCPP $CPPFLAGS'
20226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20229
20230       cat >conftest.$ac_ext <<_ACEOF
20231 /* confdefs.h.  */
20232 _ACEOF
20233 cat confdefs.h >>conftest.$ac_ext
20234 cat >>conftest.$ac_ext <<_ACEOF
20235 /* end confdefs.h.  */
20236 #include <math.h>
20237 int
20238 main ()
20239 {
20240  copysign(0, 0);
20241   ;
20242   return 0;
20243 }
20244 _ACEOF
20245 rm -f conftest.$ac_objext
20246 if { (ac_try="$ac_compile"
20247 case "(($ac_try" in
20248   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20249   *) ac_try_echo=$ac_try;;
20250 esac
20251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20252   (eval "$ac_compile") 2>conftest.er1
20253   ac_status=$?
20254   grep -v '^ *+' conftest.er1 >conftest.err
20255   rm -f conftest.er1
20256   cat conftest.err >&5
20257   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20258   (exit $ac_status); } && {
20259          test -z "$ac_cxx_werror_flag" ||
20260          test ! -s conftest.err
20261        } && test -s conftest.$ac_objext; then
20262   glibcxx_cv_func_copysign_use=yes
20263 else
20264   echo "$as_me: failed program was:" >&5
20265 sed 's/^/| /' conftest.$ac_ext >&5
20266
20267         glibcxx_cv_func_copysign_use=no
20268 fi
20269
20270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20271       ac_ext=c
20272 ac_cpp='$CPP $CPPFLAGS'
20273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20276
20277
20278 fi
20279
20280   fi
20281   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
20282 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6; }
20283
20284   if test x$glibcxx_cv_func_copysign_use = x"yes"; then
20285
20286 for ac_func in copysign
20287 do
20288 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20289 { echo "$as_me:$LINENO: checking for $ac_func" >&5
20290 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
20291 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
20292   echo $ECHO_N "(cached) $ECHO_C" >&6
20293 else
20294   if test x$gcc_no_link = xyes; then
20295   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20296 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20297    { (exit 1); exit 1; }; }
20298 fi
20299 cat >conftest.$ac_ext <<_ACEOF
20300 /* confdefs.h.  */
20301 _ACEOF
20302 cat confdefs.h >>conftest.$ac_ext
20303 cat >>conftest.$ac_ext <<_ACEOF
20304 /* end confdefs.h.  */
20305 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20306    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20307 #define $ac_func innocuous_$ac_func
20308
20309 /* System header to define __stub macros and hopefully few prototypes,
20310     which can conflict with char $ac_func (); below.
20311     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20312     <limits.h> exists even on freestanding compilers.  */
20313
20314 #ifdef __STDC__
20315 # include <limits.h>
20316 #else
20317 # include <assert.h>
20318 #endif
20319
20320 #undef $ac_func
20321
20322 /* Override any GCC internal prototype to avoid an error.
20323    Use char because int might match the return type of a GCC
20324    builtin and then its argument prototype would still apply.  */
20325 #ifdef __cplusplus
20326 extern "C"
20327 #endif
20328 char $ac_func ();
20329 /* The GNU C library defines this for functions which it implements
20330     to always fail with ENOSYS.  Some functions are actually named
20331     something starting with __ and the normal name is an alias.  */
20332 #if defined __stub_$ac_func || defined __stub___$ac_func
20333 choke me
20334 #endif
20335
20336 int
20337 main ()
20338 {
20339 return $ac_func ();
20340   ;
20341   return 0;
20342 }
20343 _ACEOF
20344 rm -f conftest.$ac_objext conftest$ac_exeext
20345 if { (ac_try="$ac_link"
20346 case "(($ac_try" in
20347   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20348   *) ac_try_echo=$ac_try;;
20349 esac
20350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20351   (eval "$ac_link") 2>conftest.er1
20352   ac_status=$?
20353   grep -v '^ *+' conftest.er1 >conftest.err
20354   rm -f conftest.er1
20355   cat conftest.err >&5
20356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20357   (exit $ac_status); } && {
20358          test -z "$ac_c_werror_flag" ||
20359          test ! -s conftest.err
20360        } && test -s conftest$ac_exeext &&
20361        $as_test_x conftest$ac_exeext; then
20362   eval "$as_ac_var=yes"
20363 else
20364   echo "$as_me: failed program was:" >&5
20365 sed 's/^/| /' conftest.$ac_ext >&5
20366
20367         eval "$as_ac_var=no"
20368 fi
20369
20370 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20371       conftest$ac_exeext conftest.$ac_ext
20372 fi
20373 ac_res=`eval echo '${'$as_ac_var'}'`
20374                { echo "$as_me:$LINENO: result: $ac_res" >&5
20375 echo "${ECHO_T}$ac_res" >&6; }
20376 if test `eval echo '${'$as_ac_var'}'` = yes; then
20377   cat >>confdefs.h <<_ACEOF
20378 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20379 _ACEOF
20380
20381 fi
20382 done
20383
20384   else
20385
20386   { echo "$as_me:$LINENO: checking for _copysign declaration" >&5
20387 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6; }
20388   if test x${glibcxx_cv_func__copysign_use+set} != xset; then
20389     if test "${glibcxx_cv_func__copysign_use+set}" = set; then
20390   echo $ECHO_N "(cached) $ECHO_C" >&6
20391 else
20392
20393
20394       ac_ext=cpp
20395 ac_cpp='$CXXCPP $CPPFLAGS'
20396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20399
20400       cat >conftest.$ac_ext <<_ACEOF
20401 /* confdefs.h.  */
20402 _ACEOF
20403 cat confdefs.h >>conftest.$ac_ext
20404 cat >>conftest.$ac_ext <<_ACEOF
20405 /* end confdefs.h.  */
20406 #include <math.h>
20407 int
20408 main ()
20409 {
20410  _copysign(0, 0);
20411   ;
20412   return 0;
20413 }
20414 _ACEOF
20415 rm -f conftest.$ac_objext
20416 if { (ac_try="$ac_compile"
20417 case "(($ac_try" in
20418   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20419   *) ac_try_echo=$ac_try;;
20420 esac
20421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20422   (eval "$ac_compile") 2>conftest.er1
20423   ac_status=$?
20424   grep -v '^ *+' conftest.er1 >conftest.err
20425   rm -f conftest.er1
20426   cat conftest.err >&5
20427   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20428   (exit $ac_status); } && {
20429          test -z "$ac_cxx_werror_flag" ||
20430          test ! -s conftest.err
20431        } && test -s conftest.$ac_objext; then
20432   glibcxx_cv_func__copysign_use=yes
20433 else
20434   echo "$as_me: failed program was:" >&5
20435 sed 's/^/| /' conftest.$ac_ext >&5
20436
20437         glibcxx_cv_func__copysign_use=no
20438 fi
20439
20440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20441       ac_ext=c
20442 ac_cpp='$CPP $CPPFLAGS'
20443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20446
20447
20448 fi
20449
20450   fi
20451   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
20452 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6; }
20453
20454     if test x$glibcxx_cv_func__copysign_use = x"yes"; then
20455
20456 for ac_func in _copysign
20457 do
20458 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20459 { echo "$as_me:$LINENO: checking for $ac_func" >&5
20460 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
20461 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
20462   echo $ECHO_N "(cached) $ECHO_C" >&6
20463 else
20464   if test x$gcc_no_link = xyes; then
20465   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20466 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20467    { (exit 1); exit 1; }; }
20468 fi
20469 cat >conftest.$ac_ext <<_ACEOF
20470 /* confdefs.h.  */
20471 _ACEOF
20472 cat confdefs.h >>conftest.$ac_ext
20473 cat >>conftest.$ac_ext <<_ACEOF
20474 /* end confdefs.h.  */
20475 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20476    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20477 #define $ac_func innocuous_$ac_func
20478
20479 /* System header to define __stub macros and hopefully few prototypes,
20480     which can conflict with char $ac_func (); below.
20481     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20482     <limits.h> exists even on freestanding compilers.  */
20483
20484 #ifdef __STDC__
20485 # include <limits.h>
20486 #else
20487 # include <assert.h>
20488 #endif
20489
20490 #undef $ac_func
20491
20492 /* Override any GCC internal prototype to avoid an error.
20493    Use char because int might match the return type of a GCC
20494    builtin and then its argument prototype would still apply.  */
20495 #ifdef __cplusplus
20496 extern "C"
20497 #endif
20498 char $ac_func ();
20499 /* The GNU C library defines this for functions which it implements
20500     to always fail with ENOSYS.  Some functions are actually named
20501     something starting with __ and the normal name is an alias.  */
20502 #if defined __stub_$ac_func || defined __stub___$ac_func
20503 choke me
20504 #endif
20505
20506 int
20507 main ()
20508 {
20509 return $ac_func ();
20510   ;
20511   return 0;
20512 }
20513 _ACEOF
20514 rm -f conftest.$ac_objext conftest$ac_exeext
20515 if { (ac_try="$ac_link"
20516 case "(($ac_try" in
20517   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20518   *) ac_try_echo=$ac_try;;
20519 esac
20520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20521   (eval "$ac_link") 2>conftest.er1
20522   ac_status=$?
20523   grep -v '^ *+' conftest.er1 >conftest.err
20524   rm -f conftest.er1
20525   cat conftest.err >&5
20526   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20527   (exit $ac_status); } && {
20528          test -z "$ac_c_werror_flag" ||
20529          test ! -s conftest.err
20530        } && test -s conftest$ac_exeext &&
20531        $as_test_x conftest$ac_exeext; then
20532   eval "$as_ac_var=yes"
20533 else
20534   echo "$as_me: failed program was:" >&5
20535 sed 's/^/| /' conftest.$ac_ext >&5
20536
20537         eval "$as_ac_var=no"
20538 fi
20539
20540 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20541       conftest$ac_exeext conftest.$ac_ext
20542 fi
20543 ac_res=`eval echo '${'$as_ac_var'}'`
20544                { echo "$as_me:$LINENO: result: $ac_res" >&5
20545 echo "${ECHO_T}$ac_res" >&6; }
20546 if test `eval echo '${'$as_ac_var'}'` = yes; then
20547   cat >>confdefs.h <<_ACEOF
20548 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20549 _ACEOF
20550
20551 fi
20552 done
20553
20554     fi
20555   fi
20556
20557
20558
20559
20560
20561
20562   { echo "$as_me:$LINENO: checking for sincos declaration" >&5
20563 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6; }
20564   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
20565     if test "${glibcxx_cv_func_sincos_use+set}" = set; then
20566   echo $ECHO_N "(cached) $ECHO_C" >&6
20567 else
20568
20569
20570       ac_ext=cpp
20571 ac_cpp='$CXXCPP $CPPFLAGS'
20572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20575
20576       cat >conftest.$ac_ext <<_ACEOF
20577 /* confdefs.h.  */
20578 _ACEOF
20579 cat confdefs.h >>conftest.$ac_ext
20580 cat >>conftest.$ac_ext <<_ACEOF
20581 /* end confdefs.h.  */
20582 #include <math.h>
20583 int
20584 main ()
20585 {
20586  sincos(0, 0, 0);
20587   ;
20588   return 0;
20589 }
20590 _ACEOF
20591 rm -f conftest.$ac_objext
20592 if { (ac_try="$ac_compile"
20593 case "(($ac_try" in
20594   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20595   *) ac_try_echo=$ac_try;;
20596 esac
20597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20598   (eval "$ac_compile") 2>conftest.er1
20599   ac_status=$?
20600   grep -v '^ *+' conftest.er1 >conftest.err
20601   rm -f conftest.er1
20602   cat conftest.err >&5
20603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20604   (exit $ac_status); } && {
20605          test -z "$ac_cxx_werror_flag" ||
20606          test ! -s conftest.err
20607        } && test -s conftest.$ac_objext; then
20608   glibcxx_cv_func_sincos_use=yes
20609 else
20610   echo "$as_me: failed program was:" >&5
20611 sed 's/^/| /' conftest.$ac_ext >&5
20612
20613         glibcxx_cv_func_sincos_use=no
20614 fi
20615
20616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20617       ac_ext=c
20618 ac_cpp='$CPP $CPPFLAGS'
20619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20622
20623
20624 fi
20625
20626   fi
20627   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
20628 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6; }
20629
20630   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
20631
20632 for ac_func in sincos
20633 do
20634 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20635 { echo "$as_me:$LINENO: checking for $ac_func" >&5
20636 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
20637 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
20638   echo $ECHO_N "(cached) $ECHO_C" >&6
20639 else
20640   if test x$gcc_no_link = xyes; then
20641   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20642 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20643    { (exit 1); exit 1; }; }
20644 fi
20645 cat >conftest.$ac_ext <<_ACEOF
20646 /* confdefs.h.  */
20647 _ACEOF
20648 cat confdefs.h >>conftest.$ac_ext
20649 cat >>conftest.$ac_ext <<_ACEOF
20650 /* end confdefs.h.  */
20651 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20652    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20653 #define $ac_func innocuous_$ac_func
20654
20655 /* System header to define __stub macros and hopefully few prototypes,
20656     which can conflict with char $ac_func (); below.
20657     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20658     <limits.h> exists even on freestanding compilers.  */
20659
20660 #ifdef __STDC__
20661 # include <limits.h>
20662 #else
20663 # include <assert.h>
20664 #endif
20665
20666 #undef $ac_func
20667
20668 /* Override any GCC internal prototype to avoid an error.
20669    Use char because int might match the return type of a GCC
20670    builtin and then its argument prototype would still apply.  */
20671 #ifdef __cplusplus
20672 extern "C"
20673 #endif
20674 char $ac_func ();
20675 /* The GNU C library defines this for functions which it implements
20676     to always fail with ENOSYS.  Some functions are actually named
20677     something starting with __ and the normal name is an alias.  */
20678 #if defined __stub_$ac_func || defined __stub___$ac_func
20679 choke me
20680 #endif
20681
20682 int
20683 main ()
20684 {
20685 return $ac_func ();
20686   ;
20687   return 0;
20688 }
20689 _ACEOF
20690 rm -f conftest.$ac_objext conftest$ac_exeext
20691 if { (ac_try="$ac_link"
20692 case "(($ac_try" in
20693   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20694   *) ac_try_echo=$ac_try;;
20695 esac
20696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20697   (eval "$ac_link") 2>conftest.er1
20698   ac_status=$?
20699   grep -v '^ *+' conftest.er1 >conftest.err
20700   rm -f conftest.er1
20701   cat conftest.err >&5
20702   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20703   (exit $ac_status); } && {
20704          test -z "$ac_c_werror_flag" ||
20705          test ! -s conftest.err
20706        } && test -s conftest$ac_exeext &&
20707        $as_test_x conftest$ac_exeext; then
20708   eval "$as_ac_var=yes"
20709 else
20710   echo "$as_me: failed program was:" >&5
20711 sed 's/^/| /' conftest.$ac_ext >&5
20712
20713         eval "$as_ac_var=no"
20714 fi
20715
20716 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20717       conftest$ac_exeext conftest.$ac_ext
20718 fi
20719 ac_res=`eval echo '${'$as_ac_var'}'`
20720                { echo "$as_me:$LINENO: result: $ac_res" >&5
20721 echo "${ECHO_T}$ac_res" >&6; }
20722 if test `eval echo '${'$as_ac_var'}'` = yes; then
20723   cat >>confdefs.h <<_ACEOF
20724 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20725 _ACEOF
20726
20727 fi
20728 done
20729
20730   else
20731
20732   { echo "$as_me:$LINENO: checking for _sincos declaration" >&5
20733 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6; }
20734   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
20735     if test "${glibcxx_cv_func__sincos_use+set}" = set; then
20736   echo $ECHO_N "(cached) $ECHO_C" >&6
20737 else
20738
20739
20740       ac_ext=cpp
20741 ac_cpp='$CXXCPP $CPPFLAGS'
20742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20745
20746       cat >conftest.$ac_ext <<_ACEOF
20747 /* confdefs.h.  */
20748 _ACEOF
20749 cat confdefs.h >>conftest.$ac_ext
20750 cat >>conftest.$ac_ext <<_ACEOF
20751 /* end confdefs.h.  */
20752 #include <math.h>
20753 int
20754 main ()
20755 {
20756  _sincos(0, 0, 0);
20757   ;
20758   return 0;
20759 }
20760 _ACEOF
20761 rm -f conftest.$ac_objext
20762 if { (ac_try="$ac_compile"
20763 case "(($ac_try" in
20764   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20765   *) ac_try_echo=$ac_try;;
20766 esac
20767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20768   (eval "$ac_compile") 2>conftest.er1
20769   ac_status=$?
20770   grep -v '^ *+' conftest.er1 >conftest.err
20771   rm -f conftest.er1
20772   cat conftest.err >&5
20773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20774   (exit $ac_status); } && {
20775          test -z "$ac_cxx_werror_flag" ||
20776          test ! -s conftest.err
20777        } && test -s conftest.$ac_objext; then
20778   glibcxx_cv_func__sincos_use=yes
20779 else
20780   echo "$as_me: failed program was:" >&5
20781 sed 's/^/| /' conftest.$ac_ext >&5
20782
20783         glibcxx_cv_func__sincos_use=no
20784 fi
20785
20786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20787       ac_ext=c
20788 ac_cpp='$CPP $CPPFLAGS'
20789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20792
20793
20794 fi
20795
20796   fi
20797   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
20798 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6; }
20799
20800     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
20801
20802 for ac_func in _sincos
20803 do
20804 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20805 { echo "$as_me:$LINENO: checking for $ac_func" >&5
20806 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
20807 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
20808   echo $ECHO_N "(cached) $ECHO_C" >&6
20809 else
20810   if test x$gcc_no_link = xyes; then
20811   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20812 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20813    { (exit 1); exit 1; }; }
20814 fi
20815 cat >conftest.$ac_ext <<_ACEOF
20816 /* confdefs.h.  */
20817 _ACEOF
20818 cat confdefs.h >>conftest.$ac_ext
20819 cat >>conftest.$ac_ext <<_ACEOF
20820 /* end confdefs.h.  */
20821 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20822    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20823 #define $ac_func innocuous_$ac_func
20824
20825 /* System header to define __stub macros and hopefully few prototypes,
20826     which can conflict with char $ac_func (); below.
20827     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20828     <limits.h> exists even on freestanding compilers.  */
20829
20830 #ifdef __STDC__
20831 # include <limits.h>
20832 #else
20833 # include <assert.h>
20834 #endif
20835
20836 #undef $ac_func
20837
20838 /* Override any GCC internal prototype to avoid an error.
20839    Use char because int might match the return type of a GCC
20840    builtin and then its argument prototype would still apply.  */
20841 #ifdef __cplusplus
20842 extern "C"
20843 #endif
20844 char $ac_func ();
20845 /* The GNU C library defines this for functions which it implements
20846     to always fail with ENOSYS.  Some functions are actually named
20847     something starting with __ and the normal name is an alias.  */
20848 #if defined __stub_$ac_func || defined __stub___$ac_func
20849 choke me
20850 #endif
20851
20852 int
20853 main ()
20854 {
20855 return $ac_func ();
20856   ;
20857   return 0;
20858 }
20859 _ACEOF
20860 rm -f conftest.$ac_objext conftest$ac_exeext
20861 if { (ac_try="$ac_link"
20862 case "(($ac_try" in
20863   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20864   *) ac_try_echo=$ac_try;;
20865 esac
20866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20867   (eval "$ac_link") 2>conftest.er1
20868   ac_status=$?
20869   grep -v '^ *+' conftest.er1 >conftest.err
20870   rm -f conftest.er1
20871   cat conftest.err >&5
20872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20873   (exit $ac_status); } && {
20874          test -z "$ac_c_werror_flag" ||
20875          test ! -s conftest.err
20876        } && test -s conftest$ac_exeext &&
20877        $as_test_x conftest$ac_exeext; then
20878   eval "$as_ac_var=yes"
20879 else
20880   echo "$as_me: failed program was:" >&5
20881 sed 's/^/| /' conftest.$ac_ext >&5
20882
20883         eval "$as_ac_var=no"
20884 fi
20885
20886 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20887       conftest$ac_exeext conftest.$ac_ext
20888 fi
20889 ac_res=`eval echo '${'$as_ac_var'}'`
20890                { echo "$as_me:$LINENO: result: $ac_res" >&5
20891 echo "${ECHO_T}$ac_res" >&6; }
20892 if test `eval echo '${'$as_ac_var'}'` = yes; then
20893   cat >>confdefs.h <<_ACEOF
20894 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20895 _ACEOF
20896
20897 fi
20898 done
20899
20900     fi
20901   fi
20902
20903
20904
20905
20906
20907
20908   { echo "$as_me:$LINENO: checking for fpclass declaration" >&5
20909 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6; }
20910   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
20911     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
20912   echo $ECHO_N "(cached) $ECHO_C" >&6
20913 else
20914
20915
20916       ac_ext=cpp
20917 ac_cpp='$CXXCPP $CPPFLAGS'
20918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20921
20922       cat >conftest.$ac_ext <<_ACEOF
20923 /* confdefs.h.  */
20924 _ACEOF
20925 cat confdefs.h >>conftest.$ac_ext
20926 cat >>conftest.$ac_ext <<_ACEOF
20927 /* end confdefs.h.  */
20928 #include <math.h>
20929                       #ifdef HAVE_IEEEFP_H
20930                       #include <ieeefp.h>
20931                       #endif
20932
20933 int
20934 main ()
20935 {
20936  fpclass(0);
20937   ;
20938   return 0;
20939 }
20940 _ACEOF
20941 rm -f conftest.$ac_objext
20942 if { (ac_try="$ac_compile"
20943 case "(($ac_try" in
20944   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20945   *) ac_try_echo=$ac_try;;
20946 esac
20947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20948   (eval "$ac_compile") 2>conftest.er1
20949   ac_status=$?
20950   grep -v '^ *+' conftest.er1 >conftest.err
20951   rm -f conftest.er1
20952   cat conftest.err >&5
20953   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20954   (exit $ac_status); } && {
20955          test -z "$ac_cxx_werror_flag" ||
20956          test ! -s conftest.err
20957        } && test -s conftest.$ac_objext; then
20958   glibcxx_cv_func_fpclass_use=yes
20959 else
20960   echo "$as_me: failed program was:" >&5
20961 sed 's/^/| /' conftest.$ac_ext >&5
20962
20963         glibcxx_cv_func_fpclass_use=no
20964 fi
20965
20966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20967       ac_ext=c
20968 ac_cpp='$CPP $CPPFLAGS'
20969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20972
20973
20974 fi
20975
20976   fi
20977   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
20978 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6; }
20979
20980   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
20981
20982 for ac_func in fpclass
20983 do
20984 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20985 { echo "$as_me:$LINENO: checking for $ac_func" >&5
20986 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
20987 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
20988   echo $ECHO_N "(cached) $ECHO_C" >&6
20989 else
20990   if test x$gcc_no_link = xyes; then
20991   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20992 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20993    { (exit 1); exit 1; }; }
20994 fi
20995 cat >conftest.$ac_ext <<_ACEOF
20996 /* confdefs.h.  */
20997 _ACEOF
20998 cat confdefs.h >>conftest.$ac_ext
20999 cat >>conftest.$ac_ext <<_ACEOF
21000 /* end confdefs.h.  */
21001 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21002    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21003 #define $ac_func innocuous_$ac_func
21004
21005 /* System header to define __stub macros and hopefully few prototypes,
21006     which can conflict with char $ac_func (); below.
21007     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21008     <limits.h> exists even on freestanding compilers.  */
21009
21010 #ifdef __STDC__
21011 # include <limits.h>
21012 #else
21013 # include <assert.h>
21014 #endif
21015
21016 #undef $ac_func
21017
21018 /* Override any GCC internal prototype to avoid an error.
21019    Use char because int might match the return type of a GCC
21020    builtin and then its argument prototype would still apply.  */
21021 #ifdef __cplusplus
21022 extern "C"
21023 #endif
21024 char $ac_func ();
21025 /* The GNU C library defines this for functions which it implements
21026     to always fail with ENOSYS.  Some functions are actually named
21027     something starting with __ and the normal name is an alias.  */
21028 #if defined __stub_$ac_func || defined __stub___$ac_func
21029 choke me
21030 #endif
21031
21032 int
21033 main ()
21034 {
21035 return $ac_func ();
21036   ;
21037   return 0;
21038 }
21039 _ACEOF
21040 rm -f conftest.$ac_objext conftest$ac_exeext
21041 if { (ac_try="$ac_link"
21042 case "(($ac_try" in
21043   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21044   *) ac_try_echo=$ac_try;;
21045 esac
21046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21047   (eval "$ac_link") 2>conftest.er1
21048   ac_status=$?
21049   grep -v '^ *+' conftest.er1 >conftest.err
21050   rm -f conftest.er1
21051   cat conftest.err >&5
21052   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21053   (exit $ac_status); } && {
21054          test -z "$ac_c_werror_flag" ||
21055          test ! -s conftest.err
21056        } && test -s conftest$ac_exeext &&
21057        $as_test_x conftest$ac_exeext; then
21058   eval "$as_ac_var=yes"
21059 else
21060   echo "$as_me: failed program was:" >&5
21061 sed 's/^/| /' conftest.$ac_ext >&5
21062
21063         eval "$as_ac_var=no"
21064 fi
21065
21066 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21067       conftest$ac_exeext conftest.$ac_ext
21068 fi
21069 ac_res=`eval echo '${'$as_ac_var'}'`
21070                { echo "$as_me:$LINENO: result: $ac_res" >&5
21071 echo "${ECHO_T}$ac_res" >&6; }
21072 if test `eval echo '${'$as_ac_var'}'` = yes; then
21073   cat >>confdefs.h <<_ACEOF
21074 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21075 _ACEOF
21076
21077 fi
21078 done
21079
21080   else
21081
21082   { echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
21083 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6; }
21084   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
21085     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
21086   echo $ECHO_N "(cached) $ECHO_C" >&6
21087 else
21088
21089
21090       ac_ext=cpp
21091 ac_cpp='$CXXCPP $CPPFLAGS'
21092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21095
21096       cat >conftest.$ac_ext <<_ACEOF
21097 /* confdefs.h.  */
21098 _ACEOF
21099 cat confdefs.h >>conftest.$ac_ext
21100 cat >>conftest.$ac_ext <<_ACEOF
21101 /* end confdefs.h.  */
21102 #include <math.h>
21103                       #ifdef HAVE_IEEEFP_H
21104                       #include <ieeefp.h>
21105                       #endif
21106
21107 int
21108 main ()
21109 {
21110  _fpclass(0);
21111   ;
21112   return 0;
21113 }
21114 _ACEOF
21115 rm -f conftest.$ac_objext
21116 if { (ac_try="$ac_compile"
21117 case "(($ac_try" in
21118   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21119   *) ac_try_echo=$ac_try;;
21120 esac
21121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21122   (eval "$ac_compile") 2>conftest.er1
21123   ac_status=$?
21124   grep -v '^ *+' conftest.er1 >conftest.err
21125   rm -f conftest.er1
21126   cat conftest.err >&5
21127   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21128   (exit $ac_status); } && {
21129          test -z "$ac_cxx_werror_flag" ||
21130          test ! -s conftest.err
21131        } && test -s conftest.$ac_objext; then
21132   glibcxx_cv_func__fpclass_use=yes
21133 else
21134   echo "$as_me: failed program was:" >&5
21135 sed 's/^/| /' conftest.$ac_ext >&5
21136
21137         glibcxx_cv_func__fpclass_use=no
21138 fi
21139
21140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21141       ac_ext=c
21142 ac_cpp='$CPP $CPPFLAGS'
21143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21146
21147
21148 fi
21149
21150   fi
21151   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
21152 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6; }
21153
21154     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
21155
21156 for ac_func in _fpclass
21157 do
21158 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21159 { echo "$as_me:$LINENO: checking for $ac_func" >&5
21160 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
21161 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
21162   echo $ECHO_N "(cached) $ECHO_C" >&6
21163 else
21164   if test x$gcc_no_link = xyes; then
21165   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21166 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21167    { (exit 1); exit 1; }; }
21168 fi
21169 cat >conftest.$ac_ext <<_ACEOF
21170 /* confdefs.h.  */
21171 _ACEOF
21172 cat confdefs.h >>conftest.$ac_ext
21173 cat >>conftest.$ac_ext <<_ACEOF
21174 /* end confdefs.h.  */
21175 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21176    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21177 #define $ac_func innocuous_$ac_func
21178
21179 /* System header to define __stub macros and hopefully few prototypes,
21180     which can conflict with char $ac_func (); below.
21181     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21182     <limits.h> exists even on freestanding compilers.  */
21183
21184 #ifdef __STDC__
21185 # include <limits.h>
21186 #else
21187 # include <assert.h>
21188 #endif
21189
21190 #undef $ac_func
21191
21192 /* Override any GCC internal prototype to avoid an error.
21193    Use char because int might match the return type of a GCC
21194    builtin and then its argument prototype would still apply.  */
21195 #ifdef __cplusplus
21196 extern "C"
21197 #endif
21198 char $ac_func ();
21199 /* The GNU C library defines this for functions which it implements
21200     to always fail with ENOSYS.  Some functions are actually named
21201     something starting with __ and the normal name is an alias.  */
21202 #if defined __stub_$ac_func || defined __stub___$ac_func
21203 choke me
21204 #endif
21205
21206 int
21207 main ()
21208 {
21209 return $ac_func ();
21210   ;
21211   return 0;
21212 }
21213 _ACEOF
21214 rm -f conftest.$ac_objext conftest$ac_exeext
21215 if { (ac_try="$ac_link"
21216 case "(($ac_try" in
21217   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21218   *) ac_try_echo=$ac_try;;
21219 esac
21220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21221   (eval "$ac_link") 2>conftest.er1
21222   ac_status=$?
21223   grep -v '^ *+' conftest.er1 >conftest.err
21224   rm -f conftest.er1
21225   cat conftest.err >&5
21226   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21227   (exit $ac_status); } && {
21228          test -z "$ac_c_werror_flag" ||
21229          test ! -s conftest.err
21230        } && test -s conftest$ac_exeext &&
21231        $as_test_x conftest$ac_exeext; then
21232   eval "$as_ac_var=yes"
21233 else
21234   echo "$as_me: failed program was:" >&5
21235 sed 's/^/| /' conftest.$ac_ext >&5
21236
21237         eval "$as_ac_var=no"
21238 fi
21239
21240 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21241       conftest$ac_exeext conftest.$ac_ext
21242 fi
21243 ac_res=`eval echo '${'$as_ac_var'}'`
21244                { echo "$as_me:$LINENO: result: $ac_res" >&5
21245 echo "${ECHO_T}$ac_res" >&6; }
21246 if test `eval echo '${'$as_ac_var'}'` = yes; then
21247   cat >>confdefs.h <<_ACEOF
21248 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21249 _ACEOF
21250
21251 fi
21252 done
21253
21254     fi
21255   fi
21256
21257
21258
21259
21260
21261
21262   { echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
21263 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6; }
21264   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
21265     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
21266   echo $ECHO_N "(cached) $ECHO_C" >&6
21267 else
21268
21269
21270       ac_ext=cpp
21271 ac_cpp='$CXXCPP $CPPFLAGS'
21272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21275
21276       cat >conftest.$ac_ext <<_ACEOF
21277 /* confdefs.h.  */
21278 _ACEOF
21279 cat confdefs.h >>conftest.$ac_ext
21280 cat >>conftest.$ac_ext <<_ACEOF
21281 /* end confdefs.h.  */
21282 #include <math.h>
21283                       #ifdef HAVE_IEEEFP_H
21284                       #include <ieeefp.h>
21285                       #endif
21286
21287 int
21288 main ()
21289 {
21290  qfpclass(0);
21291   ;
21292   return 0;
21293 }
21294 _ACEOF
21295 rm -f conftest.$ac_objext
21296 if { (ac_try="$ac_compile"
21297 case "(($ac_try" in
21298   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21299   *) ac_try_echo=$ac_try;;
21300 esac
21301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21302   (eval "$ac_compile") 2>conftest.er1
21303   ac_status=$?
21304   grep -v '^ *+' conftest.er1 >conftest.err
21305   rm -f conftest.er1
21306   cat conftest.err >&5
21307   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21308   (exit $ac_status); } && {
21309          test -z "$ac_cxx_werror_flag" ||
21310          test ! -s conftest.err
21311        } && test -s conftest.$ac_objext; then
21312   glibcxx_cv_func_qfpclass_use=yes
21313 else
21314   echo "$as_me: failed program was:" >&5
21315 sed 's/^/| /' conftest.$ac_ext >&5
21316
21317         glibcxx_cv_func_qfpclass_use=no
21318 fi
21319
21320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21321       ac_ext=c
21322 ac_cpp='$CPP $CPPFLAGS'
21323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21326
21327
21328 fi
21329
21330   fi
21331   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
21332 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6; }
21333
21334   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
21335
21336 for ac_func in qfpclass
21337 do
21338 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21339 { echo "$as_me:$LINENO: checking for $ac_func" >&5
21340 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
21341 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
21342   echo $ECHO_N "(cached) $ECHO_C" >&6
21343 else
21344   if test x$gcc_no_link = xyes; then
21345   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21346 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21347    { (exit 1); exit 1; }; }
21348 fi
21349 cat >conftest.$ac_ext <<_ACEOF
21350 /* confdefs.h.  */
21351 _ACEOF
21352 cat confdefs.h >>conftest.$ac_ext
21353 cat >>conftest.$ac_ext <<_ACEOF
21354 /* end confdefs.h.  */
21355 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21356    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21357 #define $ac_func innocuous_$ac_func
21358
21359 /* System header to define __stub macros and hopefully few prototypes,
21360     which can conflict with char $ac_func (); below.
21361     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21362     <limits.h> exists even on freestanding compilers.  */
21363
21364 #ifdef __STDC__
21365 # include <limits.h>
21366 #else
21367 # include <assert.h>
21368 #endif
21369
21370 #undef $ac_func
21371
21372 /* Override any GCC internal prototype to avoid an error.
21373    Use char because int might match the return type of a GCC
21374    builtin and then its argument prototype would still apply.  */
21375 #ifdef __cplusplus
21376 extern "C"
21377 #endif
21378 char $ac_func ();
21379 /* The GNU C library defines this for functions which it implements
21380     to always fail with ENOSYS.  Some functions are actually named
21381     something starting with __ and the normal name is an alias.  */
21382 #if defined __stub_$ac_func || defined __stub___$ac_func
21383 choke me
21384 #endif
21385
21386 int
21387 main ()
21388 {
21389 return $ac_func ();
21390   ;
21391   return 0;
21392 }
21393 _ACEOF
21394 rm -f conftest.$ac_objext conftest$ac_exeext
21395 if { (ac_try="$ac_link"
21396 case "(($ac_try" in
21397   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21398   *) ac_try_echo=$ac_try;;
21399 esac
21400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21401   (eval "$ac_link") 2>conftest.er1
21402   ac_status=$?
21403   grep -v '^ *+' conftest.er1 >conftest.err
21404   rm -f conftest.er1
21405   cat conftest.err >&5
21406   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21407   (exit $ac_status); } && {
21408          test -z "$ac_c_werror_flag" ||
21409          test ! -s conftest.err
21410        } && test -s conftest$ac_exeext &&
21411        $as_test_x conftest$ac_exeext; then
21412   eval "$as_ac_var=yes"
21413 else
21414   echo "$as_me: failed program was:" >&5
21415 sed 's/^/| /' conftest.$ac_ext >&5
21416
21417         eval "$as_ac_var=no"
21418 fi
21419
21420 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21421       conftest$ac_exeext conftest.$ac_ext
21422 fi
21423 ac_res=`eval echo '${'$as_ac_var'}'`
21424                { echo "$as_me:$LINENO: result: $ac_res" >&5
21425 echo "${ECHO_T}$ac_res" >&6; }
21426 if test `eval echo '${'$as_ac_var'}'` = yes; then
21427   cat >>confdefs.h <<_ACEOF
21428 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21429 _ACEOF
21430
21431 fi
21432 done
21433
21434   else
21435
21436   { echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
21437 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6; }
21438   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
21439     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
21440   echo $ECHO_N "(cached) $ECHO_C" >&6
21441 else
21442
21443
21444       ac_ext=cpp
21445 ac_cpp='$CXXCPP $CPPFLAGS'
21446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21449
21450       cat >conftest.$ac_ext <<_ACEOF
21451 /* confdefs.h.  */
21452 _ACEOF
21453 cat confdefs.h >>conftest.$ac_ext
21454 cat >>conftest.$ac_ext <<_ACEOF
21455 /* end confdefs.h.  */
21456 #include <math.h>
21457                       #ifdef HAVE_IEEEFP_H
21458                       #include <ieeefp.h>
21459                       #endif
21460
21461 int
21462 main ()
21463 {
21464  _qfpclass(0);
21465   ;
21466   return 0;
21467 }
21468 _ACEOF
21469 rm -f conftest.$ac_objext
21470 if { (ac_try="$ac_compile"
21471 case "(($ac_try" in
21472   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21473   *) ac_try_echo=$ac_try;;
21474 esac
21475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21476   (eval "$ac_compile") 2>conftest.er1
21477   ac_status=$?
21478   grep -v '^ *+' conftest.er1 >conftest.err
21479   rm -f conftest.er1
21480   cat conftest.err >&5
21481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21482   (exit $ac_status); } && {
21483          test -z "$ac_cxx_werror_flag" ||
21484          test ! -s conftest.err
21485        } && test -s conftest.$ac_objext; then
21486   glibcxx_cv_func__qfpclass_use=yes
21487 else
21488   echo "$as_me: failed program was:" >&5
21489 sed 's/^/| /' conftest.$ac_ext >&5
21490
21491         glibcxx_cv_func__qfpclass_use=no
21492 fi
21493
21494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21495       ac_ext=c
21496 ac_cpp='$CPP $CPPFLAGS'
21497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21500
21501
21502 fi
21503
21504   fi
21505   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
21506 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6; }
21507
21508     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
21509
21510 for ac_func in _qfpclass
21511 do
21512 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21513 { echo "$as_me:$LINENO: checking for $ac_func" >&5
21514 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
21515 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
21516   echo $ECHO_N "(cached) $ECHO_C" >&6
21517 else
21518   if test x$gcc_no_link = xyes; then
21519   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21520 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21521    { (exit 1); exit 1; }; }
21522 fi
21523 cat >conftest.$ac_ext <<_ACEOF
21524 /* confdefs.h.  */
21525 _ACEOF
21526 cat confdefs.h >>conftest.$ac_ext
21527 cat >>conftest.$ac_ext <<_ACEOF
21528 /* end confdefs.h.  */
21529 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21530    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21531 #define $ac_func innocuous_$ac_func
21532
21533 /* System header to define __stub macros and hopefully few prototypes,
21534     which can conflict with char $ac_func (); below.
21535     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21536     <limits.h> exists even on freestanding compilers.  */
21537
21538 #ifdef __STDC__
21539 # include <limits.h>
21540 #else
21541 # include <assert.h>
21542 #endif
21543
21544 #undef $ac_func
21545
21546 /* Override any GCC internal prototype to avoid an error.
21547    Use char because int might match the return type of a GCC
21548    builtin and then its argument prototype would still apply.  */
21549 #ifdef __cplusplus
21550 extern "C"
21551 #endif
21552 char $ac_func ();
21553 /* The GNU C library defines this for functions which it implements
21554     to always fail with ENOSYS.  Some functions are actually named
21555     something starting with __ and the normal name is an alias.  */
21556 #if defined __stub_$ac_func || defined __stub___$ac_func
21557 choke me
21558 #endif
21559
21560 int
21561 main ()
21562 {
21563 return $ac_func ();
21564   ;
21565   return 0;
21566 }
21567 _ACEOF
21568 rm -f conftest.$ac_objext conftest$ac_exeext
21569 if { (ac_try="$ac_link"
21570 case "(($ac_try" in
21571   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21572   *) ac_try_echo=$ac_try;;
21573 esac
21574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21575   (eval "$ac_link") 2>conftest.er1
21576   ac_status=$?
21577   grep -v '^ *+' conftest.er1 >conftest.err
21578   rm -f conftest.er1
21579   cat conftest.err >&5
21580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21581   (exit $ac_status); } && {
21582          test -z "$ac_c_werror_flag" ||
21583          test ! -s conftest.err
21584        } && test -s conftest$ac_exeext &&
21585        $as_test_x conftest$ac_exeext; then
21586   eval "$as_ac_var=yes"
21587 else
21588   echo "$as_me: failed program was:" >&5
21589 sed 's/^/| /' conftest.$ac_ext >&5
21590
21591         eval "$as_ac_var=no"
21592 fi
21593
21594 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21595       conftest$ac_exeext conftest.$ac_ext
21596 fi
21597 ac_res=`eval echo '${'$as_ac_var'}'`
21598                { echo "$as_me:$LINENO: result: $ac_res" >&5
21599 echo "${ECHO_T}$ac_res" >&6; }
21600 if test `eval echo '${'$as_ac_var'}'` = yes; then
21601   cat >>confdefs.h <<_ACEOF
21602 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21603 _ACEOF
21604
21605 fi
21606 done
21607
21608     fi
21609   fi
21610
21611
21612
21613
21614
21615
21616   { echo "$as_me:$LINENO: checking for hypot declaration" >&5
21617 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6; }
21618   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
21619     if test "${glibcxx_cv_func_hypot_use+set}" = set; then
21620   echo $ECHO_N "(cached) $ECHO_C" >&6
21621 else
21622
21623
21624       ac_ext=cpp
21625 ac_cpp='$CXXCPP $CPPFLAGS'
21626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21629
21630       cat >conftest.$ac_ext <<_ACEOF
21631 /* confdefs.h.  */
21632 _ACEOF
21633 cat confdefs.h >>conftest.$ac_ext
21634 cat >>conftest.$ac_ext <<_ACEOF
21635 /* end confdefs.h.  */
21636 #include <math.h>
21637 int
21638 main ()
21639 {
21640  hypot(0, 0);
21641   ;
21642   return 0;
21643 }
21644 _ACEOF
21645 rm -f conftest.$ac_objext
21646 if { (ac_try="$ac_compile"
21647 case "(($ac_try" in
21648   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21649   *) ac_try_echo=$ac_try;;
21650 esac
21651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21652   (eval "$ac_compile") 2>conftest.er1
21653   ac_status=$?
21654   grep -v '^ *+' conftest.er1 >conftest.err
21655   rm -f conftest.er1
21656   cat conftest.err >&5
21657   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21658   (exit $ac_status); } && {
21659          test -z "$ac_cxx_werror_flag" ||
21660          test ! -s conftest.err
21661        } && test -s conftest.$ac_objext; then
21662   glibcxx_cv_func_hypot_use=yes
21663 else
21664   echo "$as_me: failed program was:" >&5
21665 sed 's/^/| /' conftest.$ac_ext >&5
21666
21667         glibcxx_cv_func_hypot_use=no
21668 fi
21669
21670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21671       ac_ext=c
21672 ac_cpp='$CPP $CPPFLAGS'
21673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21676
21677
21678 fi
21679
21680   fi
21681   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
21682 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6; }
21683
21684   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
21685
21686 for ac_func in hypot
21687 do
21688 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21689 { echo "$as_me:$LINENO: checking for $ac_func" >&5
21690 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
21691 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
21692   echo $ECHO_N "(cached) $ECHO_C" >&6
21693 else
21694   if test x$gcc_no_link = xyes; then
21695   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21696 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21697    { (exit 1); exit 1; }; }
21698 fi
21699 cat >conftest.$ac_ext <<_ACEOF
21700 /* confdefs.h.  */
21701 _ACEOF
21702 cat confdefs.h >>conftest.$ac_ext
21703 cat >>conftest.$ac_ext <<_ACEOF
21704 /* end confdefs.h.  */
21705 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21706    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21707 #define $ac_func innocuous_$ac_func
21708
21709 /* System header to define __stub macros and hopefully few prototypes,
21710     which can conflict with char $ac_func (); below.
21711     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21712     <limits.h> exists even on freestanding compilers.  */
21713
21714 #ifdef __STDC__
21715 # include <limits.h>
21716 #else
21717 # include <assert.h>
21718 #endif
21719
21720 #undef $ac_func
21721
21722 /* Override any GCC internal prototype to avoid an error.
21723    Use char because int might match the return type of a GCC
21724    builtin and then its argument prototype would still apply.  */
21725 #ifdef __cplusplus
21726 extern "C"
21727 #endif
21728 char $ac_func ();
21729 /* The GNU C library defines this for functions which it implements
21730     to always fail with ENOSYS.  Some functions are actually named
21731     something starting with __ and the normal name is an alias.  */
21732 #if defined __stub_$ac_func || defined __stub___$ac_func
21733 choke me
21734 #endif
21735
21736 int
21737 main ()
21738 {
21739 return $ac_func ();
21740   ;
21741   return 0;
21742 }
21743 _ACEOF
21744 rm -f conftest.$ac_objext conftest$ac_exeext
21745 if { (ac_try="$ac_link"
21746 case "(($ac_try" in
21747   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21748   *) ac_try_echo=$ac_try;;
21749 esac
21750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21751   (eval "$ac_link") 2>conftest.er1
21752   ac_status=$?
21753   grep -v '^ *+' conftest.er1 >conftest.err
21754   rm -f conftest.er1
21755   cat conftest.err >&5
21756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21757   (exit $ac_status); } && {
21758          test -z "$ac_c_werror_flag" ||
21759          test ! -s conftest.err
21760        } && test -s conftest$ac_exeext &&
21761        $as_test_x conftest$ac_exeext; then
21762   eval "$as_ac_var=yes"
21763 else
21764   echo "$as_me: failed program was:" >&5
21765 sed 's/^/| /' conftest.$ac_ext >&5
21766
21767         eval "$as_ac_var=no"
21768 fi
21769
21770 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21771       conftest$ac_exeext conftest.$ac_ext
21772 fi
21773 ac_res=`eval echo '${'$as_ac_var'}'`
21774                { echo "$as_me:$LINENO: result: $ac_res" >&5
21775 echo "${ECHO_T}$ac_res" >&6; }
21776 if test `eval echo '${'$as_ac_var'}'` = yes; then
21777   cat >>confdefs.h <<_ACEOF
21778 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21779 _ACEOF
21780
21781 fi
21782 done
21783
21784   else
21785
21786   { echo "$as_me:$LINENO: checking for _hypot declaration" >&5
21787 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6; }
21788   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
21789     if test "${glibcxx_cv_func__hypot_use+set}" = set; then
21790   echo $ECHO_N "(cached) $ECHO_C" >&6
21791 else
21792
21793
21794       ac_ext=cpp
21795 ac_cpp='$CXXCPP $CPPFLAGS'
21796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21799
21800       cat >conftest.$ac_ext <<_ACEOF
21801 /* confdefs.h.  */
21802 _ACEOF
21803 cat confdefs.h >>conftest.$ac_ext
21804 cat >>conftest.$ac_ext <<_ACEOF
21805 /* end confdefs.h.  */
21806 #include <math.h>
21807 int
21808 main ()
21809 {
21810  _hypot(0, 0);
21811   ;
21812   return 0;
21813 }
21814 _ACEOF
21815 rm -f conftest.$ac_objext
21816 if { (ac_try="$ac_compile"
21817 case "(($ac_try" in
21818   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21819   *) ac_try_echo=$ac_try;;
21820 esac
21821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21822   (eval "$ac_compile") 2>conftest.er1
21823   ac_status=$?
21824   grep -v '^ *+' conftest.er1 >conftest.err
21825   rm -f conftest.er1
21826   cat conftest.err >&5
21827   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21828   (exit $ac_status); } && {
21829          test -z "$ac_cxx_werror_flag" ||
21830          test ! -s conftest.err
21831        } && test -s conftest.$ac_objext; then
21832   glibcxx_cv_func__hypot_use=yes
21833 else
21834   echo "$as_me: failed program was:" >&5
21835 sed 's/^/| /' conftest.$ac_ext >&5
21836
21837         glibcxx_cv_func__hypot_use=no
21838 fi
21839
21840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21841       ac_ext=c
21842 ac_cpp='$CPP $CPPFLAGS'
21843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21846
21847
21848 fi
21849
21850   fi
21851   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
21852 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6; }
21853
21854     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
21855
21856 for ac_func in _hypot
21857 do
21858 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21859 { echo "$as_me:$LINENO: checking for $ac_func" >&5
21860 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
21861 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
21862   echo $ECHO_N "(cached) $ECHO_C" >&6
21863 else
21864   if test x$gcc_no_link = xyes; then
21865   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21866 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21867    { (exit 1); exit 1; }; }
21868 fi
21869 cat >conftest.$ac_ext <<_ACEOF
21870 /* confdefs.h.  */
21871 _ACEOF
21872 cat confdefs.h >>conftest.$ac_ext
21873 cat >>conftest.$ac_ext <<_ACEOF
21874 /* end confdefs.h.  */
21875 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21876    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21877 #define $ac_func innocuous_$ac_func
21878
21879 /* System header to define __stub macros and hopefully few prototypes,
21880     which can conflict with char $ac_func (); below.
21881     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21882     <limits.h> exists even on freestanding compilers.  */
21883
21884 #ifdef __STDC__
21885 # include <limits.h>
21886 #else
21887 # include <assert.h>
21888 #endif
21889
21890 #undef $ac_func
21891
21892 /* Override any GCC internal prototype to avoid an error.
21893    Use char because int might match the return type of a GCC
21894    builtin and then its argument prototype would still apply.  */
21895 #ifdef __cplusplus
21896 extern "C"
21897 #endif
21898 char $ac_func ();
21899 /* The GNU C library defines this for functions which it implements
21900     to always fail with ENOSYS.  Some functions are actually named
21901     something starting with __ and the normal name is an alias.  */
21902 #if defined __stub_$ac_func || defined __stub___$ac_func
21903 choke me
21904 #endif
21905
21906 int
21907 main ()
21908 {
21909 return $ac_func ();
21910   ;
21911   return 0;
21912 }
21913 _ACEOF
21914 rm -f conftest.$ac_objext conftest$ac_exeext
21915 if { (ac_try="$ac_link"
21916 case "(($ac_try" in
21917   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21918   *) ac_try_echo=$ac_try;;
21919 esac
21920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21921   (eval "$ac_link") 2>conftest.er1
21922   ac_status=$?
21923   grep -v '^ *+' conftest.er1 >conftest.err
21924   rm -f conftest.er1
21925   cat conftest.err >&5
21926   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21927   (exit $ac_status); } && {
21928          test -z "$ac_c_werror_flag" ||
21929          test ! -s conftest.err
21930        } && test -s conftest$ac_exeext &&
21931        $as_test_x conftest$ac_exeext; then
21932   eval "$as_ac_var=yes"
21933 else
21934   echo "$as_me: failed program was:" >&5
21935 sed 's/^/| /' conftest.$ac_ext >&5
21936
21937         eval "$as_ac_var=no"
21938 fi
21939
21940 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21941       conftest$ac_exeext conftest.$ac_ext
21942 fi
21943 ac_res=`eval echo '${'$as_ac_var'}'`
21944                { echo "$as_me:$LINENO: result: $ac_res" >&5
21945 echo "${ECHO_T}$ac_res" >&6; }
21946 if test `eval echo '${'$as_ac_var'}'` = yes; then
21947   cat >>confdefs.h <<_ACEOF
21948 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21949 _ACEOF
21950
21951 fi
21952 done
21953
21954     fi
21955   fi
21956
21957
21958
21959
21960
21961
21962     { echo "$as_me:$LINENO: checking for float trig functions" >&5
21963 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6; }
21964   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
21965   echo $ECHO_N "(cached) $ECHO_C" >&6
21966 else
21967
21968
21969     ac_ext=cpp
21970 ac_cpp='$CXXCPP $CPPFLAGS'
21971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21974
21975     cat >conftest.$ac_ext <<_ACEOF
21976 /* confdefs.h.  */
21977 _ACEOF
21978 cat confdefs.h >>conftest.$ac_ext
21979 cat >>conftest.$ac_ext <<_ACEOF
21980 /* end confdefs.h.  */
21981 #include <math.h>
21982 int
21983 main ()
21984 {
21985 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
21986   ;
21987   return 0;
21988 }
21989 _ACEOF
21990 rm -f conftest.$ac_objext
21991 if { (ac_try="$ac_compile"
21992 case "(($ac_try" in
21993   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21994   *) ac_try_echo=$ac_try;;
21995 esac
21996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21997   (eval "$ac_compile") 2>conftest.er1
21998   ac_status=$?
21999   grep -v '^ *+' conftest.er1 >conftest.err
22000   rm -f conftest.er1
22001   cat conftest.err >&5
22002   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22003   (exit $ac_status); } && {
22004          test -z "$ac_cxx_werror_flag" ||
22005          test ! -s conftest.err
22006        } && test -s conftest.$ac_objext; then
22007   glibcxx_cv_func_float_trig_use=yes
22008 else
22009   echo "$as_me: failed program was:" >&5
22010 sed 's/^/| /' conftest.$ac_ext >&5
22011
22012         glibcxx_cv_func_float_trig_use=no
22013 fi
22014
22015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22016     ac_ext=c
22017 ac_cpp='$CPP $CPPFLAGS'
22018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22021
22022 fi
22023
22024   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
22025 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6; }
22026   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
22027
22028
22029
22030
22031
22032
22033
22034
22035
22036 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
22037 do
22038 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22039 { echo "$as_me:$LINENO: checking for $ac_func" >&5
22040 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
22041 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
22042   echo $ECHO_N "(cached) $ECHO_C" >&6
22043 else
22044   if test x$gcc_no_link = xyes; then
22045   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22046 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22047    { (exit 1); exit 1; }; }
22048 fi
22049 cat >conftest.$ac_ext <<_ACEOF
22050 /* confdefs.h.  */
22051 _ACEOF
22052 cat confdefs.h >>conftest.$ac_ext
22053 cat >>conftest.$ac_ext <<_ACEOF
22054 /* end confdefs.h.  */
22055 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22056    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22057 #define $ac_func innocuous_$ac_func
22058
22059 /* System header to define __stub macros and hopefully few prototypes,
22060     which can conflict with char $ac_func (); below.
22061     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22062     <limits.h> exists even on freestanding compilers.  */
22063
22064 #ifdef __STDC__
22065 # include <limits.h>
22066 #else
22067 # include <assert.h>
22068 #endif
22069
22070 #undef $ac_func
22071
22072 /* Override any GCC internal prototype to avoid an error.
22073    Use char because int might match the return type of a GCC
22074    builtin and then its argument prototype would still apply.  */
22075 #ifdef __cplusplus
22076 extern "C"
22077 #endif
22078 char $ac_func ();
22079 /* The GNU C library defines this for functions which it implements
22080     to always fail with ENOSYS.  Some functions are actually named
22081     something starting with __ and the normal name is an alias.  */
22082 #if defined __stub_$ac_func || defined __stub___$ac_func
22083 choke me
22084 #endif
22085
22086 int
22087 main ()
22088 {
22089 return $ac_func ();
22090   ;
22091   return 0;
22092 }
22093 _ACEOF
22094 rm -f conftest.$ac_objext conftest$ac_exeext
22095 if { (ac_try="$ac_link"
22096 case "(($ac_try" in
22097   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22098   *) ac_try_echo=$ac_try;;
22099 esac
22100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22101   (eval "$ac_link") 2>conftest.er1
22102   ac_status=$?
22103   grep -v '^ *+' conftest.er1 >conftest.err
22104   rm -f conftest.er1
22105   cat conftest.err >&5
22106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22107   (exit $ac_status); } && {
22108          test -z "$ac_c_werror_flag" ||
22109          test ! -s conftest.err
22110        } && test -s conftest$ac_exeext &&
22111        $as_test_x conftest$ac_exeext; then
22112   eval "$as_ac_var=yes"
22113 else
22114   echo "$as_me: failed program was:" >&5
22115 sed 's/^/| /' conftest.$ac_ext >&5
22116
22117         eval "$as_ac_var=no"
22118 fi
22119
22120 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22121       conftest$ac_exeext conftest.$ac_ext
22122 fi
22123 ac_res=`eval echo '${'$as_ac_var'}'`
22124                { echo "$as_me:$LINENO: result: $ac_res" >&5
22125 echo "${ECHO_T}$ac_res" >&6; }
22126 if test `eval echo '${'$as_ac_var'}'` = yes; then
22127   cat >>confdefs.h <<_ACEOF
22128 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22129 _ACEOF
22130
22131 fi
22132 done
22133
22134   else
22135     { echo "$as_me:$LINENO: checking for _float trig functions" >&5
22136 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6; }
22137     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
22138   echo $ECHO_N "(cached) $ECHO_C" >&6
22139 else
22140
22141
22142       ac_ext=cpp
22143 ac_cpp='$CXXCPP $CPPFLAGS'
22144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22147
22148       cat >conftest.$ac_ext <<_ACEOF
22149 /* confdefs.h.  */
22150 _ACEOF
22151 cat confdefs.h >>conftest.$ac_ext
22152 cat >>conftest.$ac_ext <<_ACEOF
22153 /* end confdefs.h.  */
22154 #include <math.h>
22155 int
22156 main ()
22157 {
22158 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
22159   ;
22160   return 0;
22161 }
22162 _ACEOF
22163 rm -f conftest.$ac_objext
22164 if { (ac_try="$ac_compile"
22165 case "(($ac_try" in
22166   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22167   *) ac_try_echo=$ac_try;;
22168 esac
22169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22170   (eval "$ac_compile") 2>conftest.er1
22171   ac_status=$?
22172   grep -v '^ *+' conftest.er1 >conftest.err
22173   rm -f conftest.er1
22174   cat conftest.err >&5
22175   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22176   (exit $ac_status); } && {
22177          test -z "$ac_cxx_werror_flag" ||
22178          test ! -s conftest.err
22179        } && test -s conftest.$ac_objext; then
22180   glibcxx_cv_func__float_trig_use=yes
22181 else
22182   echo "$as_me: failed program was:" >&5
22183 sed 's/^/| /' conftest.$ac_ext >&5
22184
22185         glibcxx_cv_func__float_trig_use=no
22186 fi
22187
22188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22189       ac_ext=c
22190 ac_cpp='$CPP $CPPFLAGS'
22191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22194
22195 fi
22196
22197     { echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
22198 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6; }
22199     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
22200
22201
22202
22203
22204
22205
22206
22207
22208
22209 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
22210 do
22211 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22212 { echo "$as_me:$LINENO: checking for $ac_func" >&5
22213 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
22214 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
22215   echo $ECHO_N "(cached) $ECHO_C" >&6
22216 else
22217   if test x$gcc_no_link = xyes; then
22218   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22219 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22220    { (exit 1); exit 1; }; }
22221 fi
22222 cat >conftest.$ac_ext <<_ACEOF
22223 /* confdefs.h.  */
22224 _ACEOF
22225 cat confdefs.h >>conftest.$ac_ext
22226 cat >>conftest.$ac_ext <<_ACEOF
22227 /* end confdefs.h.  */
22228 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22229    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22230 #define $ac_func innocuous_$ac_func
22231
22232 /* System header to define __stub macros and hopefully few prototypes,
22233     which can conflict with char $ac_func (); below.
22234     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22235     <limits.h> exists even on freestanding compilers.  */
22236
22237 #ifdef __STDC__
22238 # include <limits.h>
22239 #else
22240 # include <assert.h>
22241 #endif
22242
22243 #undef $ac_func
22244
22245 /* Override any GCC internal prototype to avoid an error.
22246    Use char because int might match the return type of a GCC
22247    builtin and then its argument prototype would still apply.  */
22248 #ifdef __cplusplus
22249 extern "C"
22250 #endif
22251 char $ac_func ();
22252 /* The GNU C library defines this for functions which it implements
22253     to always fail with ENOSYS.  Some functions are actually named
22254     something starting with __ and the normal name is an alias.  */
22255 #if defined __stub_$ac_func || defined __stub___$ac_func
22256 choke me
22257 #endif
22258
22259 int
22260 main ()
22261 {
22262 return $ac_func ();
22263   ;
22264   return 0;
22265 }
22266 _ACEOF
22267 rm -f conftest.$ac_objext conftest$ac_exeext
22268 if { (ac_try="$ac_link"
22269 case "(($ac_try" in
22270   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22271   *) ac_try_echo=$ac_try;;
22272 esac
22273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22274   (eval "$ac_link") 2>conftest.er1
22275   ac_status=$?
22276   grep -v '^ *+' conftest.er1 >conftest.err
22277   rm -f conftest.er1
22278   cat conftest.err >&5
22279   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22280   (exit $ac_status); } && {
22281          test -z "$ac_c_werror_flag" ||
22282          test ! -s conftest.err
22283        } && test -s conftest$ac_exeext &&
22284        $as_test_x conftest$ac_exeext; then
22285   eval "$as_ac_var=yes"
22286 else
22287   echo "$as_me: failed program was:" >&5
22288 sed 's/^/| /' conftest.$ac_ext >&5
22289
22290         eval "$as_ac_var=no"
22291 fi
22292
22293 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22294       conftest$ac_exeext conftest.$ac_ext
22295 fi
22296 ac_res=`eval echo '${'$as_ac_var'}'`
22297                { echo "$as_me:$LINENO: result: $ac_res" >&5
22298 echo "${ECHO_T}$ac_res" >&6; }
22299 if test `eval echo '${'$as_ac_var'}'` = yes; then
22300   cat >>confdefs.h <<_ACEOF
22301 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22302 _ACEOF
22303
22304 fi
22305 done
22306
22307     fi
22308   fi
22309
22310
22311
22312
22313
22314
22315
22316
22317
22318
22319
22320
22321
22322
22323     { echo "$as_me:$LINENO: checking for float round functions" >&5
22324 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6; }
22325   if test "${glibcxx_cv_func_float_round_use+set}" = set; then
22326   echo $ECHO_N "(cached) $ECHO_C" >&6
22327 else
22328
22329
22330     ac_ext=cpp
22331 ac_cpp='$CXXCPP $CPPFLAGS'
22332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22335
22336     cat >conftest.$ac_ext <<_ACEOF
22337 /* confdefs.h.  */
22338 _ACEOF
22339 cat confdefs.h >>conftest.$ac_ext
22340 cat >>conftest.$ac_ext <<_ACEOF
22341 /* end confdefs.h.  */
22342 #include <math.h>
22343 int
22344 main ()
22345 {
22346 ceilf (0); floorf (0);
22347   ;
22348   return 0;
22349 }
22350 _ACEOF
22351 rm -f conftest.$ac_objext
22352 if { (ac_try="$ac_compile"
22353 case "(($ac_try" in
22354   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22355   *) ac_try_echo=$ac_try;;
22356 esac
22357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22358   (eval "$ac_compile") 2>conftest.er1
22359   ac_status=$?
22360   grep -v '^ *+' conftest.er1 >conftest.err
22361   rm -f conftest.er1
22362   cat conftest.err >&5
22363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22364   (exit $ac_status); } && {
22365          test -z "$ac_cxx_werror_flag" ||
22366          test ! -s conftest.err
22367        } && test -s conftest.$ac_objext; then
22368   glibcxx_cv_func_float_round_use=yes
22369 else
22370   echo "$as_me: failed program was:" >&5
22371 sed 's/^/| /' conftest.$ac_ext >&5
22372
22373         glibcxx_cv_func_float_round_use=no
22374 fi
22375
22376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22377     ac_ext=c
22378 ac_cpp='$CPP $CPPFLAGS'
22379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22382
22383 fi
22384
22385   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
22386 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6; }
22387   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
22388
22389
22390 for ac_func in ceilf floorf
22391 do
22392 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22393 { echo "$as_me:$LINENO: checking for $ac_func" >&5
22394 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
22395 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
22396   echo $ECHO_N "(cached) $ECHO_C" >&6
22397 else
22398   if test x$gcc_no_link = xyes; then
22399   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22400 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22401    { (exit 1); exit 1; }; }
22402 fi
22403 cat >conftest.$ac_ext <<_ACEOF
22404 /* confdefs.h.  */
22405 _ACEOF
22406 cat confdefs.h >>conftest.$ac_ext
22407 cat >>conftest.$ac_ext <<_ACEOF
22408 /* end confdefs.h.  */
22409 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22410    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22411 #define $ac_func innocuous_$ac_func
22412
22413 /* System header to define __stub macros and hopefully few prototypes,
22414     which can conflict with char $ac_func (); below.
22415     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22416     <limits.h> exists even on freestanding compilers.  */
22417
22418 #ifdef __STDC__
22419 # include <limits.h>
22420 #else
22421 # include <assert.h>
22422 #endif
22423
22424 #undef $ac_func
22425
22426 /* Override any GCC internal prototype to avoid an error.
22427    Use char because int might match the return type of a GCC
22428    builtin and then its argument prototype would still apply.  */
22429 #ifdef __cplusplus
22430 extern "C"
22431 #endif
22432 char $ac_func ();
22433 /* The GNU C library defines this for functions which it implements
22434     to always fail with ENOSYS.  Some functions are actually named
22435     something starting with __ and the normal name is an alias.  */
22436 #if defined __stub_$ac_func || defined __stub___$ac_func
22437 choke me
22438 #endif
22439
22440 int
22441 main ()
22442 {
22443 return $ac_func ();
22444   ;
22445   return 0;
22446 }
22447 _ACEOF
22448 rm -f conftest.$ac_objext conftest$ac_exeext
22449 if { (ac_try="$ac_link"
22450 case "(($ac_try" in
22451   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22452   *) ac_try_echo=$ac_try;;
22453 esac
22454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22455   (eval "$ac_link") 2>conftest.er1
22456   ac_status=$?
22457   grep -v '^ *+' conftest.er1 >conftest.err
22458   rm -f conftest.er1
22459   cat conftest.err >&5
22460   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22461   (exit $ac_status); } && {
22462          test -z "$ac_c_werror_flag" ||
22463          test ! -s conftest.err
22464        } && test -s conftest$ac_exeext &&
22465        $as_test_x conftest$ac_exeext; then
22466   eval "$as_ac_var=yes"
22467 else
22468   echo "$as_me: failed program was:" >&5
22469 sed 's/^/| /' conftest.$ac_ext >&5
22470
22471         eval "$as_ac_var=no"
22472 fi
22473
22474 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22475       conftest$ac_exeext conftest.$ac_ext
22476 fi
22477 ac_res=`eval echo '${'$as_ac_var'}'`
22478                { echo "$as_me:$LINENO: result: $ac_res" >&5
22479 echo "${ECHO_T}$ac_res" >&6; }
22480 if test `eval echo '${'$as_ac_var'}'` = yes; then
22481   cat >>confdefs.h <<_ACEOF
22482 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22483 _ACEOF
22484
22485 fi
22486 done
22487
22488   else
22489     { echo "$as_me:$LINENO: checking for _float round functions" >&5
22490 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6; }
22491     if test "${glibcxx_cv_func__float_round_use+set}" = set; then
22492   echo $ECHO_N "(cached) $ECHO_C" >&6
22493 else
22494
22495
22496       ac_ext=cpp
22497 ac_cpp='$CXXCPP $CPPFLAGS'
22498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22501
22502       cat >conftest.$ac_ext <<_ACEOF
22503 /* confdefs.h.  */
22504 _ACEOF
22505 cat confdefs.h >>conftest.$ac_ext
22506 cat >>conftest.$ac_ext <<_ACEOF
22507 /* end confdefs.h.  */
22508 #include <math.h>
22509 int
22510 main ()
22511 {
22512 _ceilf (0); _floorf (0);
22513   ;
22514   return 0;
22515 }
22516 _ACEOF
22517 rm -f conftest.$ac_objext
22518 if { (ac_try="$ac_compile"
22519 case "(($ac_try" in
22520   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22521   *) ac_try_echo=$ac_try;;
22522 esac
22523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22524   (eval "$ac_compile") 2>conftest.er1
22525   ac_status=$?
22526   grep -v '^ *+' conftest.er1 >conftest.err
22527   rm -f conftest.er1
22528   cat conftest.err >&5
22529   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22530   (exit $ac_status); } && {
22531          test -z "$ac_cxx_werror_flag" ||
22532          test ! -s conftest.err
22533        } && test -s conftest.$ac_objext; then
22534   glibcxx_cv_func__float_round_use=yes
22535 else
22536   echo "$as_me: failed program was:" >&5
22537 sed 's/^/| /' conftest.$ac_ext >&5
22538
22539         glibcxx_cv_func__float_round_use=no
22540 fi
22541
22542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22543       ac_ext=c
22544 ac_cpp='$CPP $CPPFLAGS'
22545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22548
22549 fi
22550
22551     { echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
22552 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6; }
22553     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
22554
22555
22556 for ac_func in _ceilf _floorf
22557 do
22558 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22559 { echo "$as_me:$LINENO: checking for $ac_func" >&5
22560 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
22561 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
22562   echo $ECHO_N "(cached) $ECHO_C" >&6
22563 else
22564   if test x$gcc_no_link = xyes; then
22565   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22566 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22567    { (exit 1); exit 1; }; }
22568 fi
22569 cat >conftest.$ac_ext <<_ACEOF
22570 /* confdefs.h.  */
22571 _ACEOF
22572 cat confdefs.h >>conftest.$ac_ext
22573 cat >>conftest.$ac_ext <<_ACEOF
22574 /* end confdefs.h.  */
22575 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22576    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22577 #define $ac_func innocuous_$ac_func
22578
22579 /* System header to define __stub macros and hopefully few prototypes,
22580     which can conflict with char $ac_func (); below.
22581     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22582     <limits.h> exists even on freestanding compilers.  */
22583
22584 #ifdef __STDC__
22585 # include <limits.h>
22586 #else
22587 # include <assert.h>
22588 #endif
22589
22590 #undef $ac_func
22591
22592 /* Override any GCC internal prototype to avoid an error.
22593    Use char because int might match the return type of a GCC
22594    builtin and then its argument prototype would still apply.  */
22595 #ifdef __cplusplus
22596 extern "C"
22597 #endif
22598 char $ac_func ();
22599 /* The GNU C library defines this for functions which it implements
22600     to always fail with ENOSYS.  Some functions are actually named
22601     something starting with __ and the normal name is an alias.  */
22602 #if defined __stub_$ac_func || defined __stub___$ac_func
22603 choke me
22604 #endif
22605
22606 int
22607 main ()
22608 {
22609 return $ac_func ();
22610   ;
22611   return 0;
22612 }
22613 _ACEOF
22614 rm -f conftest.$ac_objext conftest$ac_exeext
22615 if { (ac_try="$ac_link"
22616 case "(($ac_try" in
22617   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22618   *) ac_try_echo=$ac_try;;
22619 esac
22620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22621   (eval "$ac_link") 2>conftest.er1
22622   ac_status=$?
22623   grep -v '^ *+' conftest.er1 >conftest.err
22624   rm -f conftest.er1
22625   cat conftest.err >&5
22626   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22627   (exit $ac_status); } && {
22628          test -z "$ac_c_werror_flag" ||
22629          test ! -s conftest.err
22630        } && test -s conftest$ac_exeext &&
22631        $as_test_x conftest$ac_exeext; then
22632   eval "$as_ac_var=yes"
22633 else
22634   echo "$as_me: failed program was:" >&5
22635 sed 's/^/| /' conftest.$ac_ext >&5
22636
22637         eval "$as_ac_var=no"
22638 fi
22639
22640 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22641       conftest$ac_exeext conftest.$ac_ext
22642 fi
22643 ac_res=`eval echo '${'$as_ac_var'}'`
22644                { echo "$as_me:$LINENO: result: $ac_res" >&5
22645 echo "${ECHO_T}$ac_res" >&6; }
22646 if test `eval echo '${'$as_ac_var'}'` = yes; then
22647   cat >>confdefs.h <<_ACEOF
22648 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22649 _ACEOF
22650
22651 fi
22652 done
22653
22654     fi
22655   fi
22656
22657
22658
22659
22660
22661
22662
22663
22664   { echo "$as_me:$LINENO: checking for expf declaration" >&5
22665 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6; }
22666   if test x${glibcxx_cv_func_expf_use+set} != xset; then
22667     if test "${glibcxx_cv_func_expf_use+set}" = set; then
22668   echo $ECHO_N "(cached) $ECHO_C" >&6
22669 else
22670
22671
22672       ac_ext=cpp
22673 ac_cpp='$CXXCPP $CPPFLAGS'
22674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22677
22678       cat >conftest.$ac_ext <<_ACEOF
22679 /* confdefs.h.  */
22680 _ACEOF
22681 cat confdefs.h >>conftest.$ac_ext
22682 cat >>conftest.$ac_ext <<_ACEOF
22683 /* end confdefs.h.  */
22684 #include <math.h>
22685                       #ifdef HAVE_IEEEFP_H
22686                       #include <ieeefp.h>
22687                       #endif
22688
22689 int
22690 main ()
22691 {
22692  expf(0);
22693   ;
22694   return 0;
22695 }
22696 _ACEOF
22697 rm -f conftest.$ac_objext
22698 if { (ac_try="$ac_compile"
22699 case "(($ac_try" in
22700   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22701   *) ac_try_echo=$ac_try;;
22702 esac
22703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22704   (eval "$ac_compile") 2>conftest.er1
22705   ac_status=$?
22706   grep -v '^ *+' conftest.er1 >conftest.err
22707   rm -f conftest.er1
22708   cat conftest.err >&5
22709   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22710   (exit $ac_status); } && {
22711          test -z "$ac_cxx_werror_flag" ||
22712          test ! -s conftest.err
22713        } && test -s conftest.$ac_objext; then
22714   glibcxx_cv_func_expf_use=yes
22715 else
22716   echo "$as_me: failed program was:" >&5
22717 sed 's/^/| /' conftest.$ac_ext >&5
22718
22719         glibcxx_cv_func_expf_use=no
22720 fi
22721
22722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22723       ac_ext=c
22724 ac_cpp='$CPP $CPPFLAGS'
22725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22728
22729
22730 fi
22731
22732   fi
22733   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
22734 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6; }
22735
22736   if test x$glibcxx_cv_func_expf_use = x"yes"; then
22737
22738 for ac_func in expf
22739 do
22740 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22741 { echo "$as_me:$LINENO: checking for $ac_func" >&5
22742 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
22743 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
22744   echo $ECHO_N "(cached) $ECHO_C" >&6
22745 else
22746   if test x$gcc_no_link = xyes; then
22747   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22748 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22749    { (exit 1); exit 1; }; }
22750 fi
22751 cat >conftest.$ac_ext <<_ACEOF
22752 /* confdefs.h.  */
22753 _ACEOF
22754 cat confdefs.h >>conftest.$ac_ext
22755 cat >>conftest.$ac_ext <<_ACEOF
22756 /* end confdefs.h.  */
22757 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22758    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22759 #define $ac_func innocuous_$ac_func
22760
22761 /* System header to define __stub macros and hopefully few prototypes,
22762     which can conflict with char $ac_func (); below.
22763     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22764     <limits.h> exists even on freestanding compilers.  */
22765
22766 #ifdef __STDC__
22767 # include <limits.h>
22768 #else
22769 # include <assert.h>
22770 #endif
22771
22772 #undef $ac_func
22773
22774 /* Override any GCC internal prototype to avoid an error.
22775    Use char because int might match the return type of a GCC
22776    builtin and then its argument prototype would still apply.  */
22777 #ifdef __cplusplus
22778 extern "C"
22779 #endif
22780 char $ac_func ();
22781 /* The GNU C library defines this for functions which it implements
22782     to always fail with ENOSYS.  Some functions are actually named
22783     something starting with __ and the normal name is an alias.  */
22784 #if defined __stub_$ac_func || defined __stub___$ac_func
22785 choke me
22786 #endif
22787
22788 int
22789 main ()
22790 {
22791 return $ac_func ();
22792   ;
22793   return 0;
22794 }
22795 _ACEOF
22796 rm -f conftest.$ac_objext conftest$ac_exeext
22797 if { (ac_try="$ac_link"
22798 case "(($ac_try" in
22799   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22800   *) ac_try_echo=$ac_try;;
22801 esac
22802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22803   (eval "$ac_link") 2>conftest.er1
22804   ac_status=$?
22805   grep -v '^ *+' conftest.er1 >conftest.err
22806   rm -f conftest.er1
22807   cat conftest.err >&5
22808   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22809   (exit $ac_status); } && {
22810          test -z "$ac_c_werror_flag" ||
22811          test ! -s conftest.err
22812        } && test -s conftest$ac_exeext &&
22813        $as_test_x conftest$ac_exeext; then
22814   eval "$as_ac_var=yes"
22815 else
22816   echo "$as_me: failed program was:" >&5
22817 sed 's/^/| /' conftest.$ac_ext >&5
22818
22819         eval "$as_ac_var=no"
22820 fi
22821
22822 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22823       conftest$ac_exeext conftest.$ac_ext
22824 fi
22825 ac_res=`eval echo '${'$as_ac_var'}'`
22826                { echo "$as_me:$LINENO: result: $ac_res" >&5
22827 echo "${ECHO_T}$ac_res" >&6; }
22828 if test `eval echo '${'$as_ac_var'}'` = yes; then
22829   cat >>confdefs.h <<_ACEOF
22830 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22831 _ACEOF
22832
22833 fi
22834 done
22835
22836   else
22837
22838   { echo "$as_me:$LINENO: checking for _expf declaration" >&5
22839 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6; }
22840   if test x${glibcxx_cv_func__expf_use+set} != xset; then
22841     if test "${glibcxx_cv_func__expf_use+set}" = set; then
22842   echo $ECHO_N "(cached) $ECHO_C" >&6
22843 else
22844
22845
22846       ac_ext=cpp
22847 ac_cpp='$CXXCPP $CPPFLAGS'
22848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22851
22852       cat >conftest.$ac_ext <<_ACEOF
22853 /* confdefs.h.  */
22854 _ACEOF
22855 cat confdefs.h >>conftest.$ac_ext
22856 cat >>conftest.$ac_ext <<_ACEOF
22857 /* end confdefs.h.  */
22858 #include <math.h>
22859                       #ifdef HAVE_IEEEFP_H
22860                       #include <ieeefp.h>
22861                       #endif
22862
22863 int
22864 main ()
22865 {
22866  _expf(0);
22867   ;
22868   return 0;
22869 }
22870 _ACEOF
22871 rm -f conftest.$ac_objext
22872 if { (ac_try="$ac_compile"
22873 case "(($ac_try" in
22874   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22875   *) ac_try_echo=$ac_try;;
22876 esac
22877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22878   (eval "$ac_compile") 2>conftest.er1
22879   ac_status=$?
22880   grep -v '^ *+' conftest.er1 >conftest.err
22881   rm -f conftest.er1
22882   cat conftest.err >&5
22883   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22884   (exit $ac_status); } && {
22885          test -z "$ac_cxx_werror_flag" ||
22886          test ! -s conftest.err
22887        } && test -s conftest.$ac_objext; then
22888   glibcxx_cv_func__expf_use=yes
22889 else
22890   echo "$as_me: failed program was:" >&5
22891 sed 's/^/| /' conftest.$ac_ext >&5
22892
22893         glibcxx_cv_func__expf_use=no
22894 fi
22895
22896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22897       ac_ext=c
22898 ac_cpp='$CPP $CPPFLAGS'
22899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22902
22903
22904 fi
22905
22906   fi
22907   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
22908 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6; }
22909
22910     if test x$glibcxx_cv_func__expf_use = x"yes"; then
22911
22912 for ac_func in _expf
22913 do
22914 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22915 { echo "$as_me:$LINENO: checking for $ac_func" >&5
22916 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
22917 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
22918   echo $ECHO_N "(cached) $ECHO_C" >&6
22919 else
22920   if test x$gcc_no_link = xyes; then
22921   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22922 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22923    { (exit 1); exit 1; }; }
22924 fi
22925 cat >conftest.$ac_ext <<_ACEOF
22926 /* confdefs.h.  */
22927 _ACEOF
22928 cat confdefs.h >>conftest.$ac_ext
22929 cat >>conftest.$ac_ext <<_ACEOF
22930 /* end confdefs.h.  */
22931 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22932    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22933 #define $ac_func innocuous_$ac_func
22934
22935 /* System header to define __stub macros and hopefully few prototypes,
22936     which can conflict with char $ac_func (); below.
22937     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22938     <limits.h> exists even on freestanding compilers.  */
22939
22940 #ifdef __STDC__
22941 # include <limits.h>
22942 #else
22943 # include <assert.h>
22944 #endif
22945
22946 #undef $ac_func
22947
22948 /* Override any GCC internal prototype to avoid an error.
22949    Use char because int might match the return type of a GCC
22950    builtin and then its argument prototype would still apply.  */
22951 #ifdef __cplusplus
22952 extern "C"
22953 #endif
22954 char $ac_func ();
22955 /* The GNU C library defines this for functions which it implements
22956     to always fail with ENOSYS.  Some functions are actually named
22957     something starting with __ and the normal name is an alias.  */
22958 #if defined __stub_$ac_func || defined __stub___$ac_func
22959 choke me
22960 #endif
22961
22962 int
22963 main ()
22964 {
22965 return $ac_func ();
22966   ;
22967   return 0;
22968 }
22969 _ACEOF
22970 rm -f conftest.$ac_objext conftest$ac_exeext
22971 if { (ac_try="$ac_link"
22972 case "(($ac_try" in
22973   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22974   *) ac_try_echo=$ac_try;;
22975 esac
22976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22977   (eval "$ac_link") 2>conftest.er1
22978   ac_status=$?
22979   grep -v '^ *+' conftest.er1 >conftest.err
22980   rm -f conftest.er1
22981   cat conftest.err >&5
22982   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22983   (exit $ac_status); } && {
22984          test -z "$ac_c_werror_flag" ||
22985          test ! -s conftest.err
22986        } && test -s conftest$ac_exeext &&
22987        $as_test_x conftest$ac_exeext; then
22988   eval "$as_ac_var=yes"
22989 else
22990   echo "$as_me: failed program was:" >&5
22991 sed 's/^/| /' conftest.$ac_ext >&5
22992
22993         eval "$as_ac_var=no"
22994 fi
22995
22996 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22997       conftest$ac_exeext conftest.$ac_ext
22998 fi
22999 ac_res=`eval echo '${'$as_ac_var'}'`
23000                { echo "$as_me:$LINENO: result: $ac_res" >&5
23001 echo "${ECHO_T}$ac_res" >&6; }
23002 if test `eval echo '${'$as_ac_var'}'` = yes; then
23003   cat >>confdefs.h <<_ACEOF
23004 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23005 _ACEOF
23006
23007 fi
23008 done
23009
23010     fi
23011   fi
23012
23013
23014
23015
23016
23017
23018   { echo "$as_me:$LINENO: checking for isnanf declaration" >&5
23019 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6; }
23020   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
23021     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
23022   echo $ECHO_N "(cached) $ECHO_C" >&6
23023 else
23024
23025
23026       ac_ext=cpp
23027 ac_cpp='$CXXCPP $CPPFLAGS'
23028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23031
23032       cat >conftest.$ac_ext <<_ACEOF
23033 /* confdefs.h.  */
23034 _ACEOF
23035 cat confdefs.h >>conftest.$ac_ext
23036 cat >>conftest.$ac_ext <<_ACEOF
23037 /* end confdefs.h.  */
23038 #include <math.h>
23039                       #ifdef HAVE_IEEEFP_H
23040                       #include <ieeefp.h>
23041                       #endif
23042
23043 int
23044 main ()
23045 {
23046  isnanf(0);
23047   ;
23048   return 0;
23049 }
23050 _ACEOF
23051 rm -f conftest.$ac_objext
23052 if { (ac_try="$ac_compile"
23053 case "(($ac_try" in
23054   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23055   *) ac_try_echo=$ac_try;;
23056 esac
23057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23058   (eval "$ac_compile") 2>conftest.er1
23059   ac_status=$?
23060   grep -v '^ *+' conftest.er1 >conftest.err
23061   rm -f conftest.er1
23062   cat conftest.err >&5
23063   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23064   (exit $ac_status); } && {
23065          test -z "$ac_cxx_werror_flag" ||
23066          test ! -s conftest.err
23067        } && test -s conftest.$ac_objext; then
23068   glibcxx_cv_func_isnanf_use=yes
23069 else
23070   echo "$as_me: failed program was:" >&5
23071 sed 's/^/| /' conftest.$ac_ext >&5
23072
23073         glibcxx_cv_func_isnanf_use=no
23074 fi
23075
23076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23077       ac_ext=c
23078 ac_cpp='$CPP $CPPFLAGS'
23079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23082
23083
23084 fi
23085
23086   fi
23087   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
23088 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6; }
23089
23090   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
23091
23092 for ac_func in isnanf
23093 do
23094 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23095 { echo "$as_me:$LINENO: checking for $ac_func" >&5
23096 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
23097 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
23098   echo $ECHO_N "(cached) $ECHO_C" >&6
23099 else
23100   if test x$gcc_no_link = xyes; then
23101   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23102 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23103    { (exit 1); exit 1; }; }
23104 fi
23105 cat >conftest.$ac_ext <<_ACEOF
23106 /* confdefs.h.  */
23107 _ACEOF
23108 cat confdefs.h >>conftest.$ac_ext
23109 cat >>conftest.$ac_ext <<_ACEOF
23110 /* end confdefs.h.  */
23111 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23112    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23113 #define $ac_func innocuous_$ac_func
23114
23115 /* System header to define __stub macros and hopefully few prototypes,
23116     which can conflict with char $ac_func (); below.
23117     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23118     <limits.h> exists even on freestanding compilers.  */
23119
23120 #ifdef __STDC__
23121 # include <limits.h>
23122 #else
23123 # include <assert.h>
23124 #endif
23125
23126 #undef $ac_func
23127
23128 /* Override any GCC internal prototype to avoid an error.
23129    Use char because int might match the return type of a GCC
23130    builtin and then its argument prototype would still apply.  */
23131 #ifdef __cplusplus
23132 extern "C"
23133 #endif
23134 char $ac_func ();
23135 /* The GNU C library defines this for functions which it implements
23136     to always fail with ENOSYS.  Some functions are actually named
23137     something starting with __ and the normal name is an alias.  */
23138 #if defined __stub_$ac_func || defined __stub___$ac_func
23139 choke me
23140 #endif
23141
23142 int
23143 main ()
23144 {
23145 return $ac_func ();
23146   ;
23147   return 0;
23148 }
23149 _ACEOF
23150 rm -f conftest.$ac_objext conftest$ac_exeext
23151 if { (ac_try="$ac_link"
23152 case "(($ac_try" in
23153   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23154   *) ac_try_echo=$ac_try;;
23155 esac
23156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23157   (eval "$ac_link") 2>conftest.er1
23158   ac_status=$?
23159   grep -v '^ *+' conftest.er1 >conftest.err
23160   rm -f conftest.er1
23161   cat conftest.err >&5
23162   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23163   (exit $ac_status); } && {
23164          test -z "$ac_c_werror_flag" ||
23165          test ! -s conftest.err
23166        } && test -s conftest$ac_exeext &&
23167        $as_test_x conftest$ac_exeext; then
23168   eval "$as_ac_var=yes"
23169 else
23170   echo "$as_me: failed program was:" >&5
23171 sed 's/^/| /' conftest.$ac_ext >&5
23172
23173         eval "$as_ac_var=no"
23174 fi
23175
23176 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23177       conftest$ac_exeext conftest.$ac_ext
23178 fi
23179 ac_res=`eval echo '${'$as_ac_var'}'`
23180                { echo "$as_me:$LINENO: result: $ac_res" >&5
23181 echo "${ECHO_T}$ac_res" >&6; }
23182 if test `eval echo '${'$as_ac_var'}'` = yes; then
23183   cat >>confdefs.h <<_ACEOF
23184 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23185 _ACEOF
23186
23187 fi
23188 done
23189
23190   else
23191
23192   { echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
23193 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6; }
23194   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
23195     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
23196   echo $ECHO_N "(cached) $ECHO_C" >&6
23197 else
23198
23199
23200       ac_ext=cpp
23201 ac_cpp='$CXXCPP $CPPFLAGS'
23202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23205
23206       cat >conftest.$ac_ext <<_ACEOF
23207 /* confdefs.h.  */
23208 _ACEOF
23209 cat confdefs.h >>conftest.$ac_ext
23210 cat >>conftest.$ac_ext <<_ACEOF
23211 /* end confdefs.h.  */
23212 #include <math.h>
23213                       #ifdef HAVE_IEEEFP_H
23214                       #include <ieeefp.h>
23215                       #endif
23216
23217 int
23218 main ()
23219 {
23220  _isnanf(0);
23221   ;
23222   return 0;
23223 }
23224 _ACEOF
23225 rm -f conftest.$ac_objext
23226 if { (ac_try="$ac_compile"
23227 case "(($ac_try" in
23228   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23229   *) ac_try_echo=$ac_try;;
23230 esac
23231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23232   (eval "$ac_compile") 2>conftest.er1
23233   ac_status=$?
23234   grep -v '^ *+' conftest.er1 >conftest.err
23235   rm -f conftest.er1
23236   cat conftest.err >&5
23237   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23238   (exit $ac_status); } && {
23239          test -z "$ac_cxx_werror_flag" ||
23240          test ! -s conftest.err
23241        } && test -s conftest.$ac_objext; then
23242   glibcxx_cv_func__isnanf_use=yes
23243 else
23244   echo "$as_me: failed program was:" >&5
23245 sed 's/^/| /' conftest.$ac_ext >&5
23246
23247         glibcxx_cv_func__isnanf_use=no
23248 fi
23249
23250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23251       ac_ext=c
23252 ac_cpp='$CPP $CPPFLAGS'
23253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23256
23257
23258 fi
23259
23260   fi
23261   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
23262 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6; }
23263
23264     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
23265
23266 for ac_func in _isnanf
23267 do
23268 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23269 { echo "$as_me:$LINENO: checking for $ac_func" >&5
23270 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
23271 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
23272   echo $ECHO_N "(cached) $ECHO_C" >&6
23273 else
23274   if test x$gcc_no_link = xyes; then
23275   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23276 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23277    { (exit 1); exit 1; }; }
23278 fi
23279 cat >conftest.$ac_ext <<_ACEOF
23280 /* confdefs.h.  */
23281 _ACEOF
23282 cat confdefs.h >>conftest.$ac_ext
23283 cat >>conftest.$ac_ext <<_ACEOF
23284 /* end confdefs.h.  */
23285 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23286    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23287 #define $ac_func innocuous_$ac_func
23288
23289 /* System header to define __stub macros and hopefully few prototypes,
23290     which can conflict with char $ac_func (); below.
23291     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23292     <limits.h> exists even on freestanding compilers.  */
23293
23294 #ifdef __STDC__
23295 # include <limits.h>
23296 #else
23297 # include <assert.h>
23298 #endif
23299
23300 #undef $ac_func
23301
23302 /* Override any GCC internal prototype to avoid an error.
23303    Use char because int might match the return type of a GCC
23304    builtin and then its argument prototype would still apply.  */
23305 #ifdef __cplusplus
23306 extern "C"
23307 #endif
23308 char $ac_func ();
23309 /* The GNU C library defines this for functions which it implements
23310     to always fail with ENOSYS.  Some functions are actually named
23311     something starting with __ and the normal name is an alias.  */
23312 #if defined __stub_$ac_func || defined __stub___$ac_func
23313 choke me
23314 #endif
23315
23316 int
23317 main ()
23318 {
23319 return $ac_func ();
23320   ;
23321   return 0;
23322 }
23323 _ACEOF
23324 rm -f conftest.$ac_objext conftest$ac_exeext
23325 if { (ac_try="$ac_link"
23326 case "(($ac_try" in
23327   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23328   *) ac_try_echo=$ac_try;;
23329 esac
23330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23331   (eval "$ac_link") 2>conftest.er1
23332   ac_status=$?
23333   grep -v '^ *+' conftest.er1 >conftest.err
23334   rm -f conftest.er1
23335   cat conftest.err >&5
23336   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23337   (exit $ac_status); } && {
23338          test -z "$ac_c_werror_flag" ||
23339          test ! -s conftest.err
23340        } && test -s conftest$ac_exeext &&
23341        $as_test_x conftest$ac_exeext; then
23342   eval "$as_ac_var=yes"
23343 else
23344   echo "$as_me: failed program was:" >&5
23345 sed 's/^/| /' conftest.$ac_ext >&5
23346
23347         eval "$as_ac_var=no"
23348 fi
23349
23350 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23351       conftest$ac_exeext conftest.$ac_ext
23352 fi
23353 ac_res=`eval echo '${'$as_ac_var'}'`
23354                { echo "$as_me:$LINENO: result: $ac_res" >&5
23355 echo "${ECHO_T}$ac_res" >&6; }
23356 if test `eval echo '${'$as_ac_var'}'` = yes; then
23357   cat >>confdefs.h <<_ACEOF
23358 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23359 _ACEOF
23360
23361 fi
23362 done
23363
23364     fi
23365   fi
23366
23367
23368
23369
23370
23371
23372   { echo "$as_me:$LINENO: checking for isinff declaration" >&5
23373 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6; }
23374   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
23375     if test "${glibcxx_cv_func_isinff_use+set}" = set; then
23376   echo $ECHO_N "(cached) $ECHO_C" >&6
23377 else
23378
23379
23380       ac_ext=cpp
23381 ac_cpp='$CXXCPP $CPPFLAGS'
23382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23385
23386       cat >conftest.$ac_ext <<_ACEOF
23387 /* confdefs.h.  */
23388 _ACEOF
23389 cat confdefs.h >>conftest.$ac_ext
23390 cat >>conftest.$ac_ext <<_ACEOF
23391 /* end confdefs.h.  */
23392 #include <math.h>
23393                       #ifdef HAVE_IEEEFP_H
23394                       #include <ieeefp.h>
23395                       #endif
23396
23397 int
23398 main ()
23399 {
23400  isinff(0);
23401   ;
23402   return 0;
23403 }
23404 _ACEOF
23405 rm -f conftest.$ac_objext
23406 if { (ac_try="$ac_compile"
23407 case "(($ac_try" in
23408   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23409   *) ac_try_echo=$ac_try;;
23410 esac
23411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23412   (eval "$ac_compile") 2>conftest.er1
23413   ac_status=$?
23414   grep -v '^ *+' conftest.er1 >conftest.err
23415   rm -f conftest.er1
23416   cat conftest.err >&5
23417   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23418   (exit $ac_status); } && {
23419          test -z "$ac_cxx_werror_flag" ||
23420          test ! -s conftest.err
23421        } && test -s conftest.$ac_objext; then
23422   glibcxx_cv_func_isinff_use=yes
23423 else
23424   echo "$as_me: failed program was:" >&5
23425 sed 's/^/| /' conftest.$ac_ext >&5
23426
23427         glibcxx_cv_func_isinff_use=no
23428 fi
23429
23430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23431       ac_ext=c
23432 ac_cpp='$CPP $CPPFLAGS'
23433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23436
23437
23438 fi
23439
23440   fi
23441   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
23442 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6; }
23443
23444   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
23445
23446 for ac_func in isinff
23447 do
23448 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23449 { echo "$as_me:$LINENO: checking for $ac_func" >&5
23450 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
23451 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
23452   echo $ECHO_N "(cached) $ECHO_C" >&6
23453 else
23454   if test x$gcc_no_link = xyes; then
23455   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23456 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23457    { (exit 1); exit 1; }; }
23458 fi
23459 cat >conftest.$ac_ext <<_ACEOF
23460 /* confdefs.h.  */
23461 _ACEOF
23462 cat confdefs.h >>conftest.$ac_ext
23463 cat >>conftest.$ac_ext <<_ACEOF
23464 /* end confdefs.h.  */
23465 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23466    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23467 #define $ac_func innocuous_$ac_func
23468
23469 /* System header to define __stub macros and hopefully few prototypes,
23470     which can conflict with char $ac_func (); below.
23471     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23472     <limits.h> exists even on freestanding compilers.  */
23473
23474 #ifdef __STDC__
23475 # include <limits.h>
23476 #else
23477 # include <assert.h>
23478 #endif
23479
23480 #undef $ac_func
23481
23482 /* Override any GCC internal prototype to avoid an error.
23483    Use char because int might match the return type of a GCC
23484    builtin and then its argument prototype would still apply.  */
23485 #ifdef __cplusplus
23486 extern "C"
23487 #endif
23488 char $ac_func ();
23489 /* The GNU C library defines this for functions which it implements
23490     to always fail with ENOSYS.  Some functions are actually named
23491     something starting with __ and the normal name is an alias.  */
23492 #if defined __stub_$ac_func || defined __stub___$ac_func
23493 choke me
23494 #endif
23495
23496 int
23497 main ()
23498 {
23499 return $ac_func ();
23500   ;
23501   return 0;
23502 }
23503 _ACEOF
23504 rm -f conftest.$ac_objext conftest$ac_exeext
23505 if { (ac_try="$ac_link"
23506 case "(($ac_try" in
23507   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23508   *) ac_try_echo=$ac_try;;
23509 esac
23510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23511   (eval "$ac_link") 2>conftest.er1
23512   ac_status=$?
23513   grep -v '^ *+' conftest.er1 >conftest.err
23514   rm -f conftest.er1
23515   cat conftest.err >&5
23516   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23517   (exit $ac_status); } && {
23518          test -z "$ac_c_werror_flag" ||
23519          test ! -s conftest.err
23520        } && test -s conftest$ac_exeext &&
23521        $as_test_x conftest$ac_exeext; then
23522   eval "$as_ac_var=yes"
23523 else
23524   echo "$as_me: failed program was:" >&5
23525 sed 's/^/| /' conftest.$ac_ext >&5
23526
23527         eval "$as_ac_var=no"
23528 fi
23529
23530 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23531       conftest$ac_exeext conftest.$ac_ext
23532 fi
23533 ac_res=`eval echo '${'$as_ac_var'}'`
23534                { echo "$as_me:$LINENO: result: $ac_res" >&5
23535 echo "${ECHO_T}$ac_res" >&6; }
23536 if test `eval echo '${'$as_ac_var'}'` = yes; then
23537   cat >>confdefs.h <<_ACEOF
23538 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23539 _ACEOF
23540
23541 fi
23542 done
23543
23544   else
23545
23546   { echo "$as_me:$LINENO: checking for _isinff declaration" >&5
23547 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6; }
23548   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
23549     if test "${glibcxx_cv_func__isinff_use+set}" = set; then
23550   echo $ECHO_N "(cached) $ECHO_C" >&6
23551 else
23552
23553
23554       ac_ext=cpp
23555 ac_cpp='$CXXCPP $CPPFLAGS'
23556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23559
23560       cat >conftest.$ac_ext <<_ACEOF
23561 /* confdefs.h.  */
23562 _ACEOF
23563 cat confdefs.h >>conftest.$ac_ext
23564 cat >>conftest.$ac_ext <<_ACEOF
23565 /* end confdefs.h.  */
23566 #include <math.h>
23567                       #ifdef HAVE_IEEEFP_H
23568                       #include <ieeefp.h>
23569                       #endif
23570
23571 int
23572 main ()
23573 {
23574  _isinff(0);
23575   ;
23576   return 0;
23577 }
23578 _ACEOF
23579 rm -f conftest.$ac_objext
23580 if { (ac_try="$ac_compile"
23581 case "(($ac_try" in
23582   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23583   *) ac_try_echo=$ac_try;;
23584 esac
23585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23586   (eval "$ac_compile") 2>conftest.er1
23587   ac_status=$?
23588   grep -v '^ *+' conftest.er1 >conftest.err
23589   rm -f conftest.er1
23590   cat conftest.err >&5
23591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23592   (exit $ac_status); } && {
23593          test -z "$ac_cxx_werror_flag" ||
23594          test ! -s conftest.err
23595        } && test -s conftest.$ac_objext; then
23596   glibcxx_cv_func__isinff_use=yes
23597 else
23598   echo "$as_me: failed program was:" >&5
23599 sed 's/^/| /' conftest.$ac_ext >&5
23600
23601         glibcxx_cv_func__isinff_use=no
23602 fi
23603
23604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23605       ac_ext=c
23606 ac_cpp='$CPP $CPPFLAGS'
23607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23610
23611
23612 fi
23613
23614   fi
23615   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
23616 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6; }
23617
23618     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
23619
23620 for ac_func in _isinff
23621 do
23622 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23623 { echo "$as_me:$LINENO: checking for $ac_func" >&5
23624 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
23625 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
23626   echo $ECHO_N "(cached) $ECHO_C" >&6
23627 else
23628   if test x$gcc_no_link = xyes; then
23629   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23630 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23631    { (exit 1); exit 1; }; }
23632 fi
23633 cat >conftest.$ac_ext <<_ACEOF
23634 /* confdefs.h.  */
23635 _ACEOF
23636 cat confdefs.h >>conftest.$ac_ext
23637 cat >>conftest.$ac_ext <<_ACEOF
23638 /* end confdefs.h.  */
23639 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23640    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23641 #define $ac_func innocuous_$ac_func
23642
23643 /* System header to define __stub macros and hopefully few prototypes,
23644     which can conflict with char $ac_func (); below.
23645     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23646     <limits.h> exists even on freestanding compilers.  */
23647
23648 #ifdef __STDC__
23649 # include <limits.h>
23650 #else
23651 # include <assert.h>
23652 #endif
23653
23654 #undef $ac_func
23655
23656 /* Override any GCC internal prototype to avoid an error.
23657    Use char because int might match the return type of a GCC
23658    builtin and then its argument prototype would still apply.  */
23659 #ifdef __cplusplus
23660 extern "C"
23661 #endif
23662 char $ac_func ();
23663 /* The GNU C library defines this for functions which it implements
23664     to always fail with ENOSYS.  Some functions are actually named
23665     something starting with __ and the normal name is an alias.  */
23666 #if defined __stub_$ac_func || defined __stub___$ac_func
23667 choke me
23668 #endif
23669
23670 int
23671 main ()
23672 {
23673 return $ac_func ();
23674   ;
23675   return 0;
23676 }
23677 _ACEOF
23678 rm -f conftest.$ac_objext conftest$ac_exeext
23679 if { (ac_try="$ac_link"
23680 case "(($ac_try" in
23681   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23682   *) ac_try_echo=$ac_try;;
23683 esac
23684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23685   (eval "$ac_link") 2>conftest.er1
23686   ac_status=$?
23687   grep -v '^ *+' conftest.er1 >conftest.err
23688   rm -f conftest.er1
23689   cat conftest.err >&5
23690   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23691   (exit $ac_status); } && {
23692          test -z "$ac_c_werror_flag" ||
23693          test ! -s conftest.err
23694        } && test -s conftest$ac_exeext &&
23695        $as_test_x conftest$ac_exeext; then
23696   eval "$as_ac_var=yes"
23697 else
23698   echo "$as_me: failed program was:" >&5
23699 sed 's/^/| /' conftest.$ac_ext >&5
23700
23701         eval "$as_ac_var=no"
23702 fi
23703
23704 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23705       conftest$ac_exeext conftest.$ac_ext
23706 fi
23707 ac_res=`eval echo '${'$as_ac_var'}'`
23708                { echo "$as_me:$LINENO: result: $ac_res" >&5
23709 echo "${ECHO_T}$ac_res" >&6; }
23710 if test `eval echo '${'$as_ac_var'}'` = yes; then
23711   cat >>confdefs.h <<_ACEOF
23712 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23713 _ACEOF
23714
23715 fi
23716 done
23717
23718     fi
23719   fi
23720
23721
23722
23723
23724
23725
23726   { echo "$as_me:$LINENO: checking for atan2f declaration" >&5
23727 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6; }
23728   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
23729     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
23730   echo $ECHO_N "(cached) $ECHO_C" >&6
23731 else
23732
23733
23734       ac_ext=cpp
23735 ac_cpp='$CXXCPP $CPPFLAGS'
23736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23739
23740       cat >conftest.$ac_ext <<_ACEOF
23741 /* confdefs.h.  */
23742 _ACEOF
23743 cat confdefs.h >>conftest.$ac_ext
23744 cat >>conftest.$ac_ext <<_ACEOF
23745 /* end confdefs.h.  */
23746 #include <math.h>
23747 int
23748 main ()
23749 {
23750  atan2f(0, 0);
23751   ;
23752   return 0;
23753 }
23754 _ACEOF
23755 rm -f conftest.$ac_objext
23756 if { (ac_try="$ac_compile"
23757 case "(($ac_try" in
23758   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23759   *) ac_try_echo=$ac_try;;
23760 esac
23761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23762   (eval "$ac_compile") 2>conftest.er1
23763   ac_status=$?
23764   grep -v '^ *+' conftest.er1 >conftest.err
23765   rm -f conftest.er1
23766   cat conftest.err >&5
23767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23768   (exit $ac_status); } && {
23769          test -z "$ac_cxx_werror_flag" ||
23770          test ! -s conftest.err
23771        } && test -s conftest.$ac_objext; then
23772   glibcxx_cv_func_atan2f_use=yes
23773 else
23774   echo "$as_me: failed program was:" >&5
23775 sed 's/^/| /' conftest.$ac_ext >&5
23776
23777         glibcxx_cv_func_atan2f_use=no
23778 fi
23779
23780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23781       ac_ext=c
23782 ac_cpp='$CPP $CPPFLAGS'
23783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23786
23787
23788 fi
23789
23790   fi
23791   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
23792 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6; }
23793
23794   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
23795
23796 for ac_func in atan2f
23797 do
23798 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23799 { echo "$as_me:$LINENO: checking for $ac_func" >&5
23800 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
23801 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
23802   echo $ECHO_N "(cached) $ECHO_C" >&6
23803 else
23804   if test x$gcc_no_link = xyes; then
23805   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23806 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23807    { (exit 1); exit 1; }; }
23808 fi
23809 cat >conftest.$ac_ext <<_ACEOF
23810 /* confdefs.h.  */
23811 _ACEOF
23812 cat confdefs.h >>conftest.$ac_ext
23813 cat >>conftest.$ac_ext <<_ACEOF
23814 /* end confdefs.h.  */
23815 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23816    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23817 #define $ac_func innocuous_$ac_func
23818
23819 /* System header to define __stub macros and hopefully few prototypes,
23820     which can conflict with char $ac_func (); below.
23821     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23822     <limits.h> exists even on freestanding compilers.  */
23823
23824 #ifdef __STDC__
23825 # include <limits.h>
23826 #else
23827 # include <assert.h>
23828 #endif
23829
23830 #undef $ac_func
23831
23832 /* Override any GCC internal prototype to avoid an error.
23833    Use char because int might match the return type of a GCC
23834    builtin and then its argument prototype would still apply.  */
23835 #ifdef __cplusplus
23836 extern "C"
23837 #endif
23838 char $ac_func ();
23839 /* The GNU C library defines this for functions which it implements
23840     to always fail with ENOSYS.  Some functions are actually named
23841     something starting with __ and the normal name is an alias.  */
23842 #if defined __stub_$ac_func || defined __stub___$ac_func
23843 choke me
23844 #endif
23845
23846 int
23847 main ()
23848 {
23849 return $ac_func ();
23850   ;
23851   return 0;
23852 }
23853 _ACEOF
23854 rm -f conftest.$ac_objext conftest$ac_exeext
23855 if { (ac_try="$ac_link"
23856 case "(($ac_try" in
23857   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23858   *) ac_try_echo=$ac_try;;
23859 esac
23860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23861   (eval "$ac_link") 2>conftest.er1
23862   ac_status=$?
23863   grep -v '^ *+' conftest.er1 >conftest.err
23864   rm -f conftest.er1
23865   cat conftest.err >&5
23866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23867   (exit $ac_status); } && {
23868          test -z "$ac_c_werror_flag" ||
23869          test ! -s conftest.err
23870        } && test -s conftest$ac_exeext &&
23871        $as_test_x conftest$ac_exeext; then
23872   eval "$as_ac_var=yes"
23873 else
23874   echo "$as_me: failed program was:" >&5
23875 sed 's/^/| /' conftest.$ac_ext >&5
23876
23877         eval "$as_ac_var=no"
23878 fi
23879
23880 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23881       conftest$ac_exeext conftest.$ac_ext
23882 fi
23883 ac_res=`eval echo '${'$as_ac_var'}'`
23884                { echo "$as_me:$LINENO: result: $ac_res" >&5
23885 echo "${ECHO_T}$ac_res" >&6; }
23886 if test `eval echo '${'$as_ac_var'}'` = yes; then
23887   cat >>confdefs.h <<_ACEOF
23888 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23889 _ACEOF
23890
23891 fi
23892 done
23893
23894   else
23895
23896   { echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
23897 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6; }
23898   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
23899     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
23900   echo $ECHO_N "(cached) $ECHO_C" >&6
23901 else
23902
23903
23904       ac_ext=cpp
23905 ac_cpp='$CXXCPP $CPPFLAGS'
23906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23909
23910       cat >conftest.$ac_ext <<_ACEOF
23911 /* confdefs.h.  */
23912 _ACEOF
23913 cat confdefs.h >>conftest.$ac_ext
23914 cat >>conftest.$ac_ext <<_ACEOF
23915 /* end confdefs.h.  */
23916 #include <math.h>
23917 int
23918 main ()
23919 {
23920  _atan2f(0, 0);
23921   ;
23922   return 0;
23923 }
23924 _ACEOF
23925 rm -f conftest.$ac_objext
23926 if { (ac_try="$ac_compile"
23927 case "(($ac_try" in
23928   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23929   *) ac_try_echo=$ac_try;;
23930 esac
23931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23932   (eval "$ac_compile") 2>conftest.er1
23933   ac_status=$?
23934   grep -v '^ *+' conftest.er1 >conftest.err
23935   rm -f conftest.er1
23936   cat conftest.err >&5
23937   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23938   (exit $ac_status); } && {
23939          test -z "$ac_cxx_werror_flag" ||
23940          test ! -s conftest.err
23941        } && test -s conftest.$ac_objext; then
23942   glibcxx_cv_func__atan2f_use=yes
23943 else
23944   echo "$as_me: failed program was:" >&5
23945 sed 's/^/| /' conftest.$ac_ext >&5
23946
23947         glibcxx_cv_func__atan2f_use=no
23948 fi
23949
23950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23951       ac_ext=c
23952 ac_cpp='$CPP $CPPFLAGS'
23953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23956
23957
23958 fi
23959
23960   fi
23961   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
23962 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6; }
23963
23964     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
23965
23966 for ac_func in _atan2f
23967 do
23968 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23969 { echo "$as_me:$LINENO: checking for $ac_func" >&5
23970 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
23971 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
23972   echo $ECHO_N "(cached) $ECHO_C" >&6
23973 else
23974   if test x$gcc_no_link = xyes; then
23975   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23976 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23977    { (exit 1); exit 1; }; }
23978 fi
23979 cat >conftest.$ac_ext <<_ACEOF
23980 /* confdefs.h.  */
23981 _ACEOF
23982 cat confdefs.h >>conftest.$ac_ext
23983 cat >>conftest.$ac_ext <<_ACEOF
23984 /* end confdefs.h.  */
23985 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23986    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23987 #define $ac_func innocuous_$ac_func
23988
23989 /* System header to define __stub macros and hopefully few prototypes,
23990     which can conflict with char $ac_func (); below.
23991     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23992     <limits.h> exists even on freestanding compilers.  */
23993
23994 #ifdef __STDC__
23995 # include <limits.h>
23996 #else
23997 # include <assert.h>
23998 #endif
23999
24000 #undef $ac_func
24001
24002 /* Override any GCC internal prototype to avoid an error.
24003    Use char because int might match the return type of a GCC
24004    builtin and then its argument prototype would still apply.  */
24005 #ifdef __cplusplus
24006 extern "C"
24007 #endif
24008 char $ac_func ();
24009 /* The GNU C library defines this for functions which it implements
24010     to always fail with ENOSYS.  Some functions are actually named
24011     something starting with __ and the normal name is an alias.  */
24012 #if defined __stub_$ac_func || defined __stub___$ac_func
24013 choke me
24014 #endif
24015
24016 int
24017 main ()
24018 {
24019 return $ac_func ();
24020   ;
24021   return 0;
24022 }
24023 _ACEOF
24024 rm -f conftest.$ac_objext conftest$ac_exeext
24025 if { (ac_try="$ac_link"
24026 case "(($ac_try" in
24027   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24028   *) ac_try_echo=$ac_try;;
24029 esac
24030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24031   (eval "$ac_link") 2>conftest.er1
24032   ac_status=$?
24033   grep -v '^ *+' conftest.er1 >conftest.err
24034   rm -f conftest.er1
24035   cat conftest.err >&5
24036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24037   (exit $ac_status); } && {
24038          test -z "$ac_c_werror_flag" ||
24039          test ! -s conftest.err
24040        } && test -s conftest$ac_exeext &&
24041        $as_test_x conftest$ac_exeext; then
24042   eval "$as_ac_var=yes"
24043 else
24044   echo "$as_me: failed program was:" >&5
24045 sed 's/^/| /' conftest.$ac_ext >&5
24046
24047         eval "$as_ac_var=no"
24048 fi
24049
24050 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24051       conftest$ac_exeext conftest.$ac_ext
24052 fi
24053 ac_res=`eval echo '${'$as_ac_var'}'`
24054                { echo "$as_me:$LINENO: result: $ac_res" >&5
24055 echo "${ECHO_T}$ac_res" >&6; }
24056 if test `eval echo '${'$as_ac_var'}'` = yes; then
24057   cat >>confdefs.h <<_ACEOF
24058 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24059 _ACEOF
24060
24061 fi
24062 done
24063
24064     fi
24065   fi
24066
24067
24068
24069
24070
24071
24072   { echo "$as_me:$LINENO: checking for fabsf declaration" >&5
24073 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6; }
24074   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
24075     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
24076   echo $ECHO_N "(cached) $ECHO_C" >&6
24077 else
24078
24079
24080       ac_ext=cpp
24081 ac_cpp='$CXXCPP $CPPFLAGS'
24082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24085
24086       cat >conftest.$ac_ext <<_ACEOF
24087 /* confdefs.h.  */
24088 _ACEOF
24089 cat confdefs.h >>conftest.$ac_ext
24090 cat >>conftest.$ac_ext <<_ACEOF
24091 /* end confdefs.h.  */
24092 #include <math.h>
24093                       #ifdef HAVE_IEEEFP_H
24094                       #include <ieeefp.h>
24095                       #endif
24096
24097 int
24098 main ()
24099 {
24100  fabsf(0);
24101   ;
24102   return 0;
24103 }
24104 _ACEOF
24105 rm -f conftest.$ac_objext
24106 if { (ac_try="$ac_compile"
24107 case "(($ac_try" in
24108   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24109   *) ac_try_echo=$ac_try;;
24110 esac
24111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24112   (eval "$ac_compile") 2>conftest.er1
24113   ac_status=$?
24114   grep -v '^ *+' conftest.er1 >conftest.err
24115   rm -f conftest.er1
24116   cat conftest.err >&5
24117   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24118   (exit $ac_status); } && {
24119          test -z "$ac_cxx_werror_flag" ||
24120          test ! -s conftest.err
24121        } && test -s conftest.$ac_objext; then
24122   glibcxx_cv_func_fabsf_use=yes
24123 else
24124   echo "$as_me: failed program was:" >&5
24125 sed 's/^/| /' conftest.$ac_ext >&5
24126
24127         glibcxx_cv_func_fabsf_use=no
24128 fi
24129
24130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24131       ac_ext=c
24132 ac_cpp='$CPP $CPPFLAGS'
24133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24136
24137
24138 fi
24139
24140   fi
24141   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
24142 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6; }
24143
24144   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
24145
24146 for ac_func in fabsf
24147 do
24148 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24149 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24150 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24151 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24152   echo $ECHO_N "(cached) $ECHO_C" >&6
24153 else
24154   if test x$gcc_no_link = xyes; then
24155   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24156 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24157    { (exit 1); exit 1; }; }
24158 fi
24159 cat >conftest.$ac_ext <<_ACEOF
24160 /* confdefs.h.  */
24161 _ACEOF
24162 cat confdefs.h >>conftest.$ac_ext
24163 cat >>conftest.$ac_ext <<_ACEOF
24164 /* end confdefs.h.  */
24165 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24166    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24167 #define $ac_func innocuous_$ac_func
24168
24169 /* System header to define __stub macros and hopefully few prototypes,
24170     which can conflict with char $ac_func (); below.
24171     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24172     <limits.h> exists even on freestanding compilers.  */
24173
24174 #ifdef __STDC__
24175 # include <limits.h>
24176 #else
24177 # include <assert.h>
24178 #endif
24179
24180 #undef $ac_func
24181
24182 /* Override any GCC internal prototype to avoid an error.
24183    Use char because int might match the return type of a GCC
24184    builtin and then its argument prototype would still apply.  */
24185 #ifdef __cplusplus
24186 extern "C"
24187 #endif
24188 char $ac_func ();
24189 /* The GNU C library defines this for functions which it implements
24190     to always fail with ENOSYS.  Some functions are actually named
24191     something starting with __ and the normal name is an alias.  */
24192 #if defined __stub_$ac_func || defined __stub___$ac_func
24193 choke me
24194 #endif
24195
24196 int
24197 main ()
24198 {
24199 return $ac_func ();
24200   ;
24201   return 0;
24202 }
24203 _ACEOF
24204 rm -f conftest.$ac_objext conftest$ac_exeext
24205 if { (ac_try="$ac_link"
24206 case "(($ac_try" in
24207   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24208   *) ac_try_echo=$ac_try;;
24209 esac
24210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24211   (eval "$ac_link") 2>conftest.er1
24212   ac_status=$?
24213   grep -v '^ *+' conftest.er1 >conftest.err
24214   rm -f conftest.er1
24215   cat conftest.err >&5
24216   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24217   (exit $ac_status); } && {
24218          test -z "$ac_c_werror_flag" ||
24219          test ! -s conftest.err
24220        } && test -s conftest$ac_exeext &&
24221        $as_test_x conftest$ac_exeext; then
24222   eval "$as_ac_var=yes"
24223 else
24224   echo "$as_me: failed program was:" >&5
24225 sed 's/^/| /' conftest.$ac_ext >&5
24226
24227         eval "$as_ac_var=no"
24228 fi
24229
24230 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24231       conftest$ac_exeext conftest.$ac_ext
24232 fi
24233 ac_res=`eval echo '${'$as_ac_var'}'`
24234                { echo "$as_me:$LINENO: result: $ac_res" >&5
24235 echo "${ECHO_T}$ac_res" >&6; }
24236 if test `eval echo '${'$as_ac_var'}'` = yes; then
24237   cat >>confdefs.h <<_ACEOF
24238 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24239 _ACEOF
24240
24241 fi
24242 done
24243
24244   else
24245
24246   { echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
24247 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6; }
24248   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
24249     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
24250   echo $ECHO_N "(cached) $ECHO_C" >&6
24251 else
24252
24253
24254       ac_ext=cpp
24255 ac_cpp='$CXXCPP $CPPFLAGS'
24256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24259
24260       cat >conftest.$ac_ext <<_ACEOF
24261 /* confdefs.h.  */
24262 _ACEOF
24263 cat confdefs.h >>conftest.$ac_ext
24264 cat >>conftest.$ac_ext <<_ACEOF
24265 /* end confdefs.h.  */
24266 #include <math.h>
24267                       #ifdef HAVE_IEEEFP_H
24268                       #include <ieeefp.h>
24269                       #endif
24270
24271 int
24272 main ()
24273 {
24274  _fabsf(0);
24275   ;
24276   return 0;
24277 }
24278 _ACEOF
24279 rm -f conftest.$ac_objext
24280 if { (ac_try="$ac_compile"
24281 case "(($ac_try" in
24282   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24283   *) ac_try_echo=$ac_try;;
24284 esac
24285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24286   (eval "$ac_compile") 2>conftest.er1
24287   ac_status=$?
24288   grep -v '^ *+' conftest.er1 >conftest.err
24289   rm -f conftest.er1
24290   cat conftest.err >&5
24291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24292   (exit $ac_status); } && {
24293          test -z "$ac_cxx_werror_flag" ||
24294          test ! -s conftest.err
24295        } && test -s conftest.$ac_objext; then
24296   glibcxx_cv_func__fabsf_use=yes
24297 else
24298   echo "$as_me: failed program was:" >&5
24299 sed 's/^/| /' conftest.$ac_ext >&5
24300
24301         glibcxx_cv_func__fabsf_use=no
24302 fi
24303
24304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24305       ac_ext=c
24306 ac_cpp='$CPP $CPPFLAGS'
24307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24310
24311
24312 fi
24313
24314   fi
24315   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
24316 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6; }
24317
24318     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
24319
24320 for ac_func in _fabsf
24321 do
24322 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24323 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24324 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24325 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24326   echo $ECHO_N "(cached) $ECHO_C" >&6
24327 else
24328   if test x$gcc_no_link = xyes; then
24329   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24330 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24331    { (exit 1); exit 1; }; }
24332 fi
24333 cat >conftest.$ac_ext <<_ACEOF
24334 /* confdefs.h.  */
24335 _ACEOF
24336 cat confdefs.h >>conftest.$ac_ext
24337 cat >>conftest.$ac_ext <<_ACEOF
24338 /* end confdefs.h.  */
24339 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24340    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24341 #define $ac_func innocuous_$ac_func
24342
24343 /* System header to define __stub macros and hopefully few prototypes,
24344     which can conflict with char $ac_func (); below.
24345     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24346     <limits.h> exists even on freestanding compilers.  */
24347
24348 #ifdef __STDC__
24349 # include <limits.h>
24350 #else
24351 # include <assert.h>
24352 #endif
24353
24354 #undef $ac_func
24355
24356 /* Override any GCC internal prototype to avoid an error.
24357    Use char because int might match the return type of a GCC
24358    builtin and then its argument prototype would still apply.  */
24359 #ifdef __cplusplus
24360 extern "C"
24361 #endif
24362 char $ac_func ();
24363 /* The GNU C library defines this for functions which it implements
24364     to always fail with ENOSYS.  Some functions are actually named
24365     something starting with __ and the normal name is an alias.  */
24366 #if defined __stub_$ac_func || defined __stub___$ac_func
24367 choke me
24368 #endif
24369
24370 int
24371 main ()
24372 {
24373 return $ac_func ();
24374   ;
24375   return 0;
24376 }
24377 _ACEOF
24378 rm -f conftest.$ac_objext conftest$ac_exeext
24379 if { (ac_try="$ac_link"
24380 case "(($ac_try" in
24381   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24382   *) ac_try_echo=$ac_try;;
24383 esac
24384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24385   (eval "$ac_link") 2>conftest.er1
24386   ac_status=$?
24387   grep -v '^ *+' conftest.er1 >conftest.err
24388   rm -f conftest.er1
24389   cat conftest.err >&5
24390   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24391   (exit $ac_status); } && {
24392          test -z "$ac_c_werror_flag" ||
24393          test ! -s conftest.err
24394        } && test -s conftest$ac_exeext &&
24395        $as_test_x conftest$ac_exeext; then
24396   eval "$as_ac_var=yes"
24397 else
24398   echo "$as_me: failed program was:" >&5
24399 sed 's/^/| /' conftest.$ac_ext >&5
24400
24401         eval "$as_ac_var=no"
24402 fi
24403
24404 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24405       conftest$ac_exeext conftest.$ac_ext
24406 fi
24407 ac_res=`eval echo '${'$as_ac_var'}'`
24408                { echo "$as_me:$LINENO: result: $ac_res" >&5
24409 echo "${ECHO_T}$ac_res" >&6; }
24410 if test `eval echo '${'$as_ac_var'}'` = yes; then
24411   cat >>confdefs.h <<_ACEOF
24412 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24413 _ACEOF
24414
24415 fi
24416 done
24417
24418     fi
24419   fi
24420
24421
24422
24423
24424
24425
24426   { echo "$as_me:$LINENO: checking for fmodf declaration" >&5
24427 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6; }
24428   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
24429     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
24430   echo $ECHO_N "(cached) $ECHO_C" >&6
24431 else
24432
24433
24434       ac_ext=cpp
24435 ac_cpp='$CXXCPP $CPPFLAGS'
24436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24439
24440       cat >conftest.$ac_ext <<_ACEOF
24441 /* confdefs.h.  */
24442 _ACEOF
24443 cat confdefs.h >>conftest.$ac_ext
24444 cat >>conftest.$ac_ext <<_ACEOF
24445 /* end confdefs.h.  */
24446 #include <math.h>
24447 int
24448 main ()
24449 {
24450  fmodf(0, 0);
24451   ;
24452   return 0;
24453 }
24454 _ACEOF
24455 rm -f conftest.$ac_objext
24456 if { (ac_try="$ac_compile"
24457 case "(($ac_try" in
24458   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24459   *) ac_try_echo=$ac_try;;
24460 esac
24461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24462   (eval "$ac_compile") 2>conftest.er1
24463   ac_status=$?
24464   grep -v '^ *+' conftest.er1 >conftest.err
24465   rm -f conftest.er1
24466   cat conftest.err >&5
24467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24468   (exit $ac_status); } && {
24469          test -z "$ac_cxx_werror_flag" ||
24470          test ! -s conftest.err
24471        } && test -s conftest.$ac_objext; then
24472   glibcxx_cv_func_fmodf_use=yes
24473 else
24474   echo "$as_me: failed program was:" >&5
24475 sed 's/^/| /' conftest.$ac_ext >&5
24476
24477         glibcxx_cv_func_fmodf_use=no
24478 fi
24479
24480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24481       ac_ext=c
24482 ac_cpp='$CPP $CPPFLAGS'
24483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24486
24487
24488 fi
24489
24490   fi
24491   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
24492 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6; }
24493
24494   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
24495
24496 for ac_func in fmodf
24497 do
24498 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24499 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24500 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24501 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24502   echo $ECHO_N "(cached) $ECHO_C" >&6
24503 else
24504   if test x$gcc_no_link = xyes; then
24505   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24506 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24507    { (exit 1); exit 1; }; }
24508 fi
24509 cat >conftest.$ac_ext <<_ACEOF
24510 /* confdefs.h.  */
24511 _ACEOF
24512 cat confdefs.h >>conftest.$ac_ext
24513 cat >>conftest.$ac_ext <<_ACEOF
24514 /* end confdefs.h.  */
24515 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24516    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24517 #define $ac_func innocuous_$ac_func
24518
24519 /* System header to define __stub macros and hopefully few prototypes,
24520     which can conflict with char $ac_func (); below.
24521     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24522     <limits.h> exists even on freestanding compilers.  */
24523
24524 #ifdef __STDC__
24525 # include <limits.h>
24526 #else
24527 # include <assert.h>
24528 #endif
24529
24530 #undef $ac_func
24531
24532 /* Override any GCC internal prototype to avoid an error.
24533    Use char because int might match the return type of a GCC
24534    builtin and then its argument prototype would still apply.  */
24535 #ifdef __cplusplus
24536 extern "C"
24537 #endif
24538 char $ac_func ();
24539 /* The GNU C library defines this for functions which it implements
24540     to always fail with ENOSYS.  Some functions are actually named
24541     something starting with __ and the normal name is an alias.  */
24542 #if defined __stub_$ac_func || defined __stub___$ac_func
24543 choke me
24544 #endif
24545
24546 int
24547 main ()
24548 {
24549 return $ac_func ();
24550   ;
24551   return 0;
24552 }
24553 _ACEOF
24554 rm -f conftest.$ac_objext conftest$ac_exeext
24555 if { (ac_try="$ac_link"
24556 case "(($ac_try" in
24557   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24558   *) ac_try_echo=$ac_try;;
24559 esac
24560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24561   (eval "$ac_link") 2>conftest.er1
24562   ac_status=$?
24563   grep -v '^ *+' conftest.er1 >conftest.err
24564   rm -f conftest.er1
24565   cat conftest.err >&5
24566   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24567   (exit $ac_status); } && {
24568          test -z "$ac_c_werror_flag" ||
24569          test ! -s conftest.err
24570        } && test -s conftest$ac_exeext &&
24571        $as_test_x conftest$ac_exeext; then
24572   eval "$as_ac_var=yes"
24573 else
24574   echo "$as_me: failed program was:" >&5
24575 sed 's/^/| /' conftest.$ac_ext >&5
24576
24577         eval "$as_ac_var=no"
24578 fi
24579
24580 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24581       conftest$ac_exeext conftest.$ac_ext
24582 fi
24583 ac_res=`eval echo '${'$as_ac_var'}'`
24584                { echo "$as_me:$LINENO: result: $ac_res" >&5
24585 echo "${ECHO_T}$ac_res" >&6; }
24586 if test `eval echo '${'$as_ac_var'}'` = yes; then
24587   cat >>confdefs.h <<_ACEOF
24588 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24589 _ACEOF
24590
24591 fi
24592 done
24593
24594   else
24595
24596   { echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
24597 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6; }
24598   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
24599     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
24600   echo $ECHO_N "(cached) $ECHO_C" >&6
24601 else
24602
24603
24604       ac_ext=cpp
24605 ac_cpp='$CXXCPP $CPPFLAGS'
24606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24609
24610       cat >conftest.$ac_ext <<_ACEOF
24611 /* confdefs.h.  */
24612 _ACEOF
24613 cat confdefs.h >>conftest.$ac_ext
24614 cat >>conftest.$ac_ext <<_ACEOF
24615 /* end confdefs.h.  */
24616 #include <math.h>
24617 int
24618 main ()
24619 {
24620  _fmodf(0, 0);
24621   ;
24622   return 0;
24623 }
24624 _ACEOF
24625 rm -f conftest.$ac_objext
24626 if { (ac_try="$ac_compile"
24627 case "(($ac_try" in
24628   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24629   *) ac_try_echo=$ac_try;;
24630 esac
24631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24632   (eval "$ac_compile") 2>conftest.er1
24633   ac_status=$?
24634   grep -v '^ *+' conftest.er1 >conftest.err
24635   rm -f conftest.er1
24636   cat conftest.err >&5
24637   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24638   (exit $ac_status); } && {
24639          test -z "$ac_cxx_werror_flag" ||
24640          test ! -s conftest.err
24641        } && test -s conftest.$ac_objext; then
24642   glibcxx_cv_func__fmodf_use=yes
24643 else
24644   echo "$as_me: failed program was:" >&5
24645 sed 's/^/| /' conftest.$ac_ext >&5
24646
24647         glibcxx_cv_func__fmodf_use=no
24648 fi
24649
24650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24651       ac_ext=c
24652 ac_cpp='$CPP $CPPFLAGS'
24653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24656
24657
24658 fi
24659
24660   fi
24661   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
24662 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6; }
24663
24664     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
24665
24666 for ac_func in _fmodf
24667 do
24668 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24669 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24670 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24671 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24672   echo $ECHO_N "(cached) $ECHO_C" >&6
24673 else
24674   if test x$gcc_no_link = xyes; then
24675   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24676 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24677    { (exit 1); exit 1; }; }
24678 fi
24679 cat >conftest.$ac_ext <<_ACEOF
24680 /* confdefs.h.  */
24681 _ACEOF
24682 cat confdefs.h >>conftest.$ac_ext
24683 cat >>conftest.$ac_ext <<_ACEOF
24684 /* end confdefs.h.  */
24685 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24686    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24687 #define $ac_func innocuous_$ac_func
24688
24689 /* System header to define __stub macros and hopefully few prototypes,
24690     which can conflict with char $ac_func (); below.
24691     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24692     <limits.h> exists even on freestanding compilers.  */
24693
24694 #ifdef __STDC__
24695 # include <limits.h>
24696 #else
24697 # include <assert.h>
24698 #endif
24699
24700 #undef $ac_func
24701
24702 /* Override any GCC internal prototype to avoid an error.
24703    Use char because int might match the return type of a GCC
24704    builtin and then its argument prototype would still apply.  */
24705 #ifdef __cplusplus
24706 extern "C"
24707 #endif
24708 char $ac_func ();
24709 /* The GNU C library defines this for functions which it implements
24710     to always fail with ENOSYS.  Some functions are actually named
24711     something starting with __ and the normal name is an alias.  */
24712 #if defined __stub_$ac_func || defined __stub___$ac_func
24713 choke me
24714 #endif
24715
24716 int
24717 main ()
24718 {
24719 return $ac_func ();
24720   ;
24721   return 0;
24722 }
24723 _ACEOF
24724 rm -f conftest.$ac_objext conftest$ac_exeext
24725 if { (ac_try="$ac_link"
24726 case "(($ac_try" in
24727   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24728   *) ac_try_echo=$ac_try;;
24729 esac
24730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24731   (eval "$ac_link") 2>conftest.er1
24732   ac_status=$?
24733   grep -v '^ *+' conftest.er1 >conftest.err
24734   rm -f conftest.er1
24735   cat conftest.err >&5
24736   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24737   (exit $ac_status); } && {
24738          test -z "$ac_c_werror_flag" ||
24739          test ! -s conftest.err
24740        } && test -s conftest$ac_exeext &&
24741        $as_test_x conftest$ac_exeext; then
24742   eval "$as_ac_var=yes"
24743 else
24744   echo "$as_me: failed program was:" >&5
24745 sed 's/^/| /' conftest.$ac_ext >&5
24746
24747         eval "$as_ac_var=no"
24748 fi
24749
24750 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24751       conftest$ac_exeext conftest.$ac_ext
24752 fi
24753 ac_res=`eval echo '${'$as_ac_var'}'`
24754                { echo "$as_me:$LINENO: result: $ac_res" >&5
24755 echo "${ECHO_T}$ac_res" >&6; }
24756 if test `eval echo '${'$as_ac_var'}'` = yes; then
24757   cat >>confdefs.h <<_ACEOF
24758 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24759 _ACEOF
24760
24761 fi
24762 done
24763
24764     fi
24765   fi
24766
24767
24768
24769
24770
24771
24772   { echo "$as_me:$LINENO: checking for frexpf declaration" >&5
24773 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6; }
24774   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
24775     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
24776   echo $ECHO_N "(cached) $ECHO_C" >&6
24777 else
24778
24779
24780       ac_ext=cpp
24781 ac_cpp='$CXXCPP $CPPFLAGS'
24782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24785
24786       cat >conftest.$ac_ext <<_ACEOF
24787 /* confdefs.h.  */
24788 _ACEOF
24789 cat confdefs.h >>conftest.$ac_ext
24790 cat >>conftest.$ac_ext <<_ACEOF
24791 /* end confdefs.h.  */
24792 #include <math.h>
24793 int
24794 main ()
24795 {
24796  frexpf(0, 0);
24797   ;
24798   return 0;
24799 }
24800 _ACEOF
24801 rm -f conftest.$ac_objext
24802 if { (ac_try="$ac_compile"
24803 case "(($ac_try" in
24804   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24805   *) ac_try_echo=$ac_try;;
24806 esac
24807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24808   (eval "$ac_compile") 2>conftest.er1
24809   ac_status=$?
24810   grep -v '^ *+' conftest.er1 >conftest.err
24811   rm -f conftest.er1
24812   cat conftest.err >&5
24813   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24814   (exit $ac_status); } && {
24815          test -z "$ac_cxx_werror_flag" ||
24816          test ! -s conftest.err
24817        } && test -s conftest.$ac_objext; then
24818   glibcxx_cv_func_frexpf_use=yes
24819 else
24820   echo "$as_me: failed program was:" >&5
24821 sed 's/^/| /' conftest.$ac_ext >&5
24822
24823         glibcxx_cv_func_frexpf_use=no
24824 fi
24825
24826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24827       ac_ext=c
24828 ac_cpp='$CPP $CPPFLAGS'
24829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24832
24833
24834 fi
24835
24836   fi
24837   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
24838 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6; }
24839
24840   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
24841
24842 for ac_func in frexpf
24843 do
24844 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24845 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24846 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24847 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24848   echo $ECHO_N "(cached) $ECHO_C" >&6
24849 else
24850   if test x$gcc_no_link = xyes; then
24851   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24852 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24853    { (exit 1); exit 1; }; }
24854 fi
24855 cat >conftest.$ac_ext <<_ACEOF
24856 /* confdefs.h.  */
24857 _ACEOF
24858 cat confdefs.h >>conftest.$ac_ext
24859 cat >>conftest.$ac_ext <<_ACEOF
24860 /* end confdefs.h.  */
24861 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24862    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24863 #define $ac_func innocuous_$ac_func
24864
24865 /* System header to define __stub macros and hopefully few prototypes,
24866     which can conflict with char $ac_func (); below.
24867     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24868     <limits.h> exists even on freestanding compilers.  */
24869
24870 #ifdef __STDC__
24871 # include <limits.h>
24872 #else
24873 # include <assert.h>
24874 #endif
24875
24876 #undef $ac_func
24877
24878 /* Override any GCC internal prototype to avoid an error.
24879    Use char because int might match the return type of a GCC
24880    builtin and then its argument prototype would still apply.  */
24881 #ifdef __cplusplus
24882 extern "C"
24883 #endif
24884 char $ac_func ();
24885 /* The GNU C library defines this for functions which it implements
24886     to always fail with ENOSYS.  Some functions are actually named
24887     something starting with __ and the normal name is an alias.  */
24888 #if defined __stub_$ac_func || defined __stub___$ac_func
24889 choke me
24890 #endif
24891
24892 int
24893 main ()
24894 {
24895 return $ac_func ();
24896   ;
24897   return 0;
24898 }
24899 _ACEOF
24900 rm -f conftest.$ac_objext conftest$ac_exeext
24901 if { (ac_try="$ac_link"
24902 case "(($ac_try" in
24903   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24904   *) ac_try_echo=$ac_try;;
24905 esac
24906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24907   (eval "$ac_link") 2>conftest.er1
24908   ac_status=$?
24909   grep -v '^ *+' conftest.er1 >conftest.err
24910   rm -f conftest.er1
24911   cat conftest.err >&5
24912   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24913   (exit $ac_status); } && {
24914          test -z "$ac_c_werror_flag" ||
24915          test ! -s conftest.err
24916        } && test -s conftest$ac_exeext &&
24917        $as_test_x conftest$ac_exeext; then
24918   eval "$as_ac_var=yes"
24919 else
24920   echo "$as_me: failed program was:" >&5
24921 sed 's/^/| /' conftest.$ac_ext >&5
24922
24923         eval "$as_ac_var=no"
24924 fi
24925
24926 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24927       conftest$ac_exeext conftest.$ac_ext
24928 fi
24929 ac_res=`eval echo '${'$as_ac_var'}'`
24930                { echo "$as_me:$LINENO: result: $ac_res" >&5
24931 echo "${ECHO_T}$ac_res" >&6; }
24932 if test `eval echo '${'$as_ac_var'}'` = yes; then
24933   cat >>confdefs.h <<_ACEOF
24934 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24935 _ACEOF
24936
24937 fi
24938 done
24939
24940   else
24941
24942   { echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
24943 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6; }
24944   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
24945     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
24946   echo $ECHO_N "(cached) $ECHO_C" >&6
24947 else
24948
24949
24950       ac_ext=cpp
24951 ac_cpp='$CXXCPP $CPPFLAGS'
24952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24955
24956       cat >conftest.$ac_ext <<_ACEOF
24957 /* confdefs.h.  */
24958 _ACEOF
24959 cat confdefs.h >>conftest.$ac_ext
24960 cat >>conftest.$ac_ext <<_ACEOF
24961 /* end confdefs.h.  */
24962 #include <math.h>
24963 int
24964 main ()
24965 {
24966  _frexpf(0, 0);
24967   ;
24968   return 0;
24969 }
24970 _ACEOF
24971 rm -f conftest.$ac_objext
24972 if { (ac_try="$ac_compile"
24973 case "(($ac_try" in
24974   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24975   *) ac_try_echo=$ac_try;;
24976 esac
24977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24978   (eval "$ac_compile") 2>conftest.er1
24979   ac_status=$?
24980   grep -v '^ *+' conftest.er1 >conftest.err
24981   rm -f conftest.er1
24982   cat conftest.err >&5
24983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24984   (exit $ac_status); } && {
24985          test -z "$ac_cxx_werror_flag" ||
24986          test ! -s conftest.err
24987        } && test -s conftest.$ac_objext; then
24988   glibcxx_cv_func__frexpf_use=yes
24989 else
24990   echo "$as_me: failed program was:" >&5
24991 sed 's/^/| /' conftest.$ac_ext >&5
24992
24993         glibcxx_cv_func__frexpf_use=no
24994 fi
24995
24996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24997       ac_ext=c
24998 ac_cpp='$CPP $CPPFLAGS'
24999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25002
25003
25004 fi
25005
25006   fi
25007   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
25008 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6; }
25009
25010     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
25011
25012 for ac_func in _frexpf
25013 do
25014 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25015 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25016 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25017 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25018   echo $ECHO_N "(cached) $ECHO_C" >&6
25019 else
25020   if test x$gcc_no_link = xyes; then
25021   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25022 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25023    { (exit 1); exit 1; }; }
25024 fi
25025 cat >conftest.$ac_ext <<_ACEOF
25026 /* confdefs.h.  */
25027 _ACEOF
25028 cat confdefs.h >>conftest.$ac_ext
25029 cat >>conftest.$ac_ext <<_ACEOF
25030 /* end confdefs.h.  */
25031 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25032    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
25033 #define $ac_func innocuous_$ac_func
25034
25035 /* System header to define __stub macros and hopefully few prototypes,
25036     which can conflict with char $ac_func (); below.
25037     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25038     <limits.h> exists even on freestanding compilers.  */
25039
25040 #ifdef __STDC__
25041 # include <limits.h>
25042 #else
25043 # include <assert.h>
25044 #endif
25045
25046 #undef $ac_func
25047
25048 /* Override any GCC internal prototype to avoid an error.
25049    Use char because int might match the return type of a GCC
25050    builtin and then its argument prototype would still apply.  */
25051 #ifdef __cplusplus
25052 extern "C"
25053 #endif
25054 char $ac_func ();
25055 /* The GNU C library defines this for functions which it implements
25056     to always fail with ENOSYS.  Some functions are actually named
25057     something starting with __ and the normal name is an alias.  */
25058 #if defined __stub_$ac_func || defined __stub___$ac_func
25059 choke me
25060 #endif
25061
25062 int
25063 main ()
25064 {
25065 return $ac_func ();
25066   ;
25067   return 0;
25068 }
25069 _ACEOF
25070 rm -f conftest.$ac_objext conftest$ac_exeext
25071 if { (ac_try="$ac_link"
25072 case "(($ac_try" in
25073   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25074   *) ac_try_echo=$ac_try;;
25075 esac
25076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25077   (eval "$ac_link") 2>conftest.er1
25078   ac_status=$?
25079   grep -v '^ *+' conftest.er1 >conftest.err
25080   rm -f conftest.er1
25081   cat conftest.err >&5
25082   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25083   (exit $ac_status); } && {
25084          test -z "$ac_c_werror_flag" ||
25085          test ! -s conftest.err
25086        } && test -s conftest$ac_exeext &&
25087        $as_test_x conftest$ac_exeext; then
25088   eval "$as_ac_var=yes"
25089 else
25090   echo "$as_me: failed program was:" >&5
25091 sed 's/^/| /' conftest.$ac_ext >&5
25092
25093         eval "$as_ac_var=no"
25094 fi
25095
25096 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25097       conftest$ac_exeext conftest.$ac_ext
25098 fi
25099 ac_res=`eval echo '${'$as_ac_var'}'`
25100                { echo "$as_me:$LINENO: result: $ac_res" >&5
25101 echo "${ECHO_T}$ac_res" >&6; }
25102 if test `eval echo '${'$as_ac_var'}'` = yes; then
25103   cat >>confdefs.h <<_ACEOF
25104 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25105 _ACEOF
25106
25107 fi
25108 done
25109
25110     fi
25111   fi
25112
25113
25114
25115
25116
25117
25118   { echo "$as_me:$LINENO: checking for hypotf declaration" >&5
25119 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6; }
25120   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
25121     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
25122   echo $ECHO_N "(cached) $ECHO_C" >&6
25123 else
25124
25125
25126       ac_ext=cpp
25127 ac_cpp='$CXXCPP $CPPFLAGS'
25128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25131
25132       cat >conftest.$ac_ext <<_ACEOF
25133 /* confdefs.h.  */
25134 _ACEOF
25135 cat confdefs.h >>conftest.$ac_ext
25136 cat >>conftest.$ac_ext <<_ACEOF
25137 /* end confdefs.h.  */
25138 #include <math.h>
25139 int
25140 main ()
25141 {
25142  hypotf(0, 0);
25143   ;
25144   return 0;
25145 }
25146 _ACEOF
25147 rm -f conftest.$ac_objext
25148 if { (ac_try="$ac_compile"
25149 case "(($ac_try" in
25150   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25151   *) ac_try_echo=$ac_try;;
25152 esac
25153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25154   (eval "$ac_compile") 2>conftest.er1
25155   ac_status=$?
25156   grep -v '^ *+' conftest.er1 >conftest.err
25157   rm -f conftest.er1
25158   cat conftest.err >&5
25159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25160   (exit $ac_status); } && {
25161          test -z "$ac_cxx_werror_flag" ||
25162          test ! -s conftest.err
25163        } && test -s conftest.$ac_objext; then
25164   glibcxx_cv_func_hypotf_use=yes
25165 else
25166   echo "$as_me: failed program was:" >&5
25167 sed 's/^/| /' conftest.$ac_ext >&5
25168
25169         glibcxx_cv_func_hypotf_use=no
25170 fi
25171
25172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25173       ac_ext=c
25174 ac_cpp='$CPP $CPPFLAGS'
25175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25178
25179
25180 fi
25181
25182   fi
25183   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
25184 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6; }
25185
25186   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
25187
25188 for ac_func in hypotf
25189 do
25190 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25191 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25192 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25193 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25194   echo $ECHO_N "(cached) $ECHO_C" >&6
25195 else
25196   if test x$gcc_no_link = xyes; then
25197   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25198 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25199    { (exit 1); exit 1; }; }
25200 fi
25201 cat >conftest.$ac_ext <<_ACEOF
25202 /* confdefs.h.  */
25203 _ACEOF
25204 cat confdefs.h >>conftest.$ac_ext
25205 cat >>conftest.$ac_ext <<_ACEOF
25206 /* end confdefs.h.  */
25207 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25208    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
25209 #define $ac_func innocuous_$ac_func
25210
25211 /* System header to define __stub macros and hopefully few prototypes,
25212     which can conflict with char $ac_func (); below.
25213     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25214     <limits.h> exists even on freestanding compilers.  */
25215
25216 #ifdef __STDC__
25217 # include <limits.h>
25218 #else
25219 # include <assert.h>
25220 #endif
25221
25222 #undef $ac_func
25223
25224 /* Override any GCC internal prototype to avoid an error.
25225    Use char because int might match the return type of a GCC
25226    builtin and then its argument prototype would still apply.  */
25227 #ifdef __cplusplus
25228 extern "C"
25229 #endif
25230 char $ac_func ();
25231 /* The GNU C library defines this for functions which it implements
25232     to always fail with ENOSYS.  Some functions are actually named
25233     something starting with __ and the normal name is an alias.  */
25234 #if defined __stub_$ac_func || defined __stub___$ac_func
25235 choke me
25236 #endif
25237
25238 int
25239 main ()
25240 {
25241 return $ac_func ();
25242   ;
25243   return 0;
25244 }
25245 _ACEOF
25246 rm -f conftest.$ac_objext conftest$ac_exeext
25247 if { (ac_try="$ac_link"
25248 case "(($ac_try" in
25249   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25250   *) ac_try_echo=$ac_try;;
25251 esac
25252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25253   (eval "$ac_link") 2>conftest.er1
25254   ac_status=$?
25255   grep -v '^ *+' conftest.er1 >conftest.err
25256   rm -f conftest.er1
25257   cat conftest.err >&5
25258   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25259   (exit $ac_status); } && {
25260          test -z "$ac_c_werror_flag" ||
25261          test ! -s conftest.err
25262        } && test -s conftest$ac_exeext &&
25263        $as_test_x conftest$ac_exeext; then
25264   eval "$as_ac_var=yes"
25265 else
25266   echo "$as_me: failed program was:" >&5
25267 sed 's/^/| /' conftest.$ac_ext >&5
25268
25269         eval "$as_ac_var=no"
25270 fi
25271
25272 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25273       conftest$ac_exeext conftest.$ac_ext
25274 fi
25275 ac_res=`eval echo '${'$as_ac_var'}'`
25276                { echo "$as_me:$LINENO: result: $ac_res" >&5
25277 echo "${ECHO_T}$ac_res" >&6; }
25278 if test `eval echo '${'$as_ac_var'}'` = yes; then
25279   cat >>confdefs.h <<_ACEOF
25280 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25281 _ACEOF
25282
25283 fi
25284 done
25285
25286   else
25287
25288   { echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
25289 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6; }
25290   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
25291     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
25292   echo $ECHO_N "(cached) $ECHO_C" >&6
25293 else
25294
25295
25296       ac_ext=cpp
25297 ac_cpp='$CXXCPP $CPPFLAGS'
25298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25301
25302       cat >conftest.$ac_ext <<_ACEOF
25303 /* confdefs.h.  */
25304 _ACEOF
25305 cat confdefs.h >>conftest.$ac_ext
25306 cat >>conftest.$ac_ext <<_ACEOF
25307 /* end confdefs.h.  */
25308 #include <math.h>
25309 int
25310 main ()
25311 {
25312  _hypotf(0, 0);
25313   ;
25314   return 0;
25315 }
25316 _ACEOF
25317 rm -f conftest.$ac_objext
25318 if { (ac_try="$ac_compile"
25319 case "(($ac_try" in
25320   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25321   *) ac_try_echo=$ac_try;;
25322 esac
25323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25324   (eval "$ac_compile") 2>conftest.er1
25325   ac_status=$?
25326   grep -v '^ *+' conftest.er1 >conftest.err
25327   rm -f conftest.er1
25328   cat conftest.err >&5
25329   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25330   (exit $ac_status); } && {
25331          test -z "$ac_cxx_werror_flag" ||
25332          test ! -s conftest.err
25333        } && test -s conftest.$ac_objext; then
25334   glibcxx_cv_func__hypotf_use=yes
25335 else
25336   echo "$as_me: failed program was:" >&5
25337 sed 's/^/| /' conftest.$ac_ext >&5
25338
25339         glibcxx_cv_func__hypotf_use=no
25340 fi
25341
25342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25343       ac_ext=c
25344 ac_cpp='$CPP $CPPFLAGS'
25345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25348
25349
25350 fi
25351
25352   fi
25353   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
25354 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6; }
25355
25356     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
25357
25358 for ac_func in _hypotf
25359 do
25360 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25361 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25362 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25363 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25364   echo $ECHO_N "(cached) $ECHO_C" >&6
25365 else
25366   if test x$gcc_no_link = xyes; then
25367   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25368 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25369    { (exit 1); exit 1; }; }
25370 fi
25371 cat >conftest.$ac_ext <<_ACEOF
25372 /* confdefs.h.  */
25373 _ACEOF
25374 cat confdefs.h >>conftest.$ac_ext
25375 cat >>conftest.$ac_ext <<_ACEOF
25376 /* end confdefs.h.  */
25377 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25378    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
25379 #define $ac_func innocuous_$ac_func
25380
25381 /* System header to define __stub macros and hopefully few prototypes,
25382     which can conflict with char $ac_func (); below.
25383     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25384     <limits.h> exists even on freestanding compilers.  */
25385
25386 #ifdef __STDC__
25387 # include <limits.h>
25388 #else
25389 # include <assert.h>
25390 #endif
25391
25392 #undef $ac_func
25393
25394 /* Override any GCC internal prototype to avoid an error.
25395    Use char because int might match the return type of a GCC
25396    builtin and then its argument prototype would still apply.  */
25397 #ifdef __cplusplus
25398 extern "C"
25399 #endif
25400 char $ac_func ();
25401 /* The GNU C library defines this for functions which it implements
25402     to always fail with ENOSYS.  Some functions are actually named
25403     something starting with __ and the normal name is an alias.  */
25404 #if defined __stub_$ac_func || defined __stub___$ac_func
25405 choke me
25406 #endif
25407
25408 int
25409 main ()
25410 {
25411 return $ac_func ();
25412   ;
25413   return 0;
25414 }
25415 _ACEOF
25416 rm -f conftest.$ac_objext conftest$ac_exeext
25417 if { (ac_try="$ac_link"
25418 case "(($ac_try" in
25419   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25420   *) ac_try_echo=$ac_try;;
25421 esac
25422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25423   (eval "$ac_link") 2>conftest.er1
25424   ac_status=$?
25425   grep -v '^ *+' conftest.er1 >conftest.err
25426   rm -f conftest.er1
25427   cat conftest.err >&5
25428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25429   (exit $ac_status); } && {
25430          test -z "$ac_c_werror_flag" ||
25431          test ! -s conftest.err
25432        } && test -s conftest$ac_exeext &&
25433        $as_test_x conftest$ac_exeext; then
25434   eval "$as_ac_var=yes"
25435 else
25436   echo "$as_me: failed program was:" >&5
25437 sed 's/^/| /' conftest.$ac_ext >&5
25438
25439         eval "$as_ac_var=no"
25440 fi
25441
25442 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25443       conftest$ac_exeext conftest.$ac_ext
25444 fi
25445 ac_res=`eval echo '${'$as_ac_var'}'`
25446                { echo "$as_me:$LINENO: result: $ac_res" >&5
25447 echo "${ECHO_T}$ac_res" >&6; }
25448 if test `eval echo '${'$as_ac_var'}'` = yes; then
25449   cat >>confdefs.h <<_ACEOF
25450 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25451 _ACEOF
25452
25453 fi
25454 done
25455
25456     fi
25457   fi
25458
25459
25460
25461
25462
25463
25464   { echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
25465 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6; }
25466   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
25467     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
25468   echo $ECHO_N "(cached) $ECHO_C" >&6
25469 else
25470
25471
25472       ac_ext=cpp
25473 ac_cpp='$CXXCPP $CPPFLAGS'
25474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25477
25478       cat >conftest.$ac_ext <<_ACEOF
25479 /* confdefs.h.  */
25480 _ACEOF
25481 cat confdefs.h >>conftest.$ac_ext
25482 cat >>conftest.$ac_ext <<_ACEOF
25483 /* end confdefs.h.  */
25484 #include <math.h>
25485 int
25486 main ()
25487 {
25488  ldexpf(0, 0);
25489   ;
25490   return 0;
25491 }
25492 _ACEOF
25493 rm -f conftest.$ac_objext
25494 if { (ac_try="$ac_compile"
25495 case "(($ac_try" in
25496   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25497   *) ac_try_echo=$ac_try;;
25498 esac
25499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25500   (eval "$ac_compile") 2>conftest.er1
25501   ac_status=$?
25502   grep -v '^ *+' conftest.er1 >conftest.err
25503   rm -f conftest.er1
25504   cat conftest.err >&5
25505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25506   (exit $ac_status); } && {
25507          test -z "$ac_cxx_werror_flag" ||
25508          test ! -s conftest.err
25509        } && test -s conftest.$ac_objext; then
25510   glibcxx_cv_func_ldexpf_use=yes
25511 else
25512   echo "$as_me: failed program was:" >&5
25513 sed 's/^/| /' conftest.$ac_ext >&5
25514
25515         glibcxx_cv_func_ldexpf_use=no
25516 fi
25517
25518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25519       ac_ext=c
25520 ac_cpp='$CPP $CPPFLAGS'
25521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25524
25525
25526 fi
25527
25528   fi
25529   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
25530 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6; }
25531
25532   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
25533
25534 for ac_func in ldexpf
25535 do
25536 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25537 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25538 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25539 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25540   echo $ECHO_N "(cached) $ECHO_C" >&6
25541 else
25542   if test x$gcc_no_link = xyes; then
25543   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25544 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25545    { (exit 1); exit 1; }; }
25546 fi
25547 cat >conftest.$ac_ext <<_ACEOF
25548 /* confdefs.h.  */
25549 _ACEOF
25550 cat confdefs.h >>conftest.$ac_ext
25551 cat >>conftest.$ac_ext <<_ACEOF
25552 /* end confdefs.h.  */
25553 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25554    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
25555 #define $ac_func innocuous_$ac_func
25556
25557 /* System header to define __stub macros and hopefully few prototypes,
25558     which can conflict with char $ac_func (); below.
25559     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25560     <limits.h> exists even on freestanding compilers.  */
25561
25562 #ifdef __STDC__
25563 # include <limits.h>
25564 #else
25565 # include <assert.h>
25566 #endif
25567
25568 #undef $ac_func
25569
25570 /* Override any GCC internal prototype to avoid an error.
25571    Use char because int might match the return type of a GCC
25572    builtin and then its argument prototype would still apply.  */
25573 #ifdef __cplusplus
25574 extern "C"
25575 #endif
25576 char $ac_func ();
25577 /* The GNU C library defines this for functions which it implements
25578     to always fail with ENOSYS.  Some functions are actually named
25579     something starting with __ and the normal name is an alias.  */
25580 #if defined __stub_$ac_func || defined __stub___$ac_func
25581 choke me
25582 #endif
25583
25584 int
25585 main ()
25586 {
25587 return $ac_func ();
25588   ;
25589   return 0;
25590 }
25591 _ACEOF
25592 rm -f conftest.$ac_objext conftest$ac_exeext
25593 if { (ac_try="$ac_link"
25594 case "(($ac_try" in
25595   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25596   *) ac_try_echo=$ac_try;;
25597 esac
25598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25599   (eval "$ac_link") 2>conftest.er1
25600   ac_status=$?
25601   grep -v '^ *+' conftest.er1 >conftest.err
25602   rm -f conftest.er1
25603   cat conftest.err >&5
25604   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25605   (exit $ac_status); } && {
25606          test -z "$ac_c_werror_flag" ||
25607          test ! -s conftest.err
25608        } && test -s conftest$ac_exeext &&
25609        $as_test_x conftest$ac_exeext; then
25610   eval "$as_ac_var=yes"
25611 else
25612   echo "$as_me: failed program was:" >&5
25613 sed 's/^/| /' conftest.$ac_ext >&5
25614
25615         eval "$as_ac_var=no"
25616 fi
25617
25618 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25619       conftest$ac_exeext conftest.$ac_ext
25620 fi
25621 ac_res=`eval echo '${'$as_ac_var'}'`
25622                { echo "$as_me:$LINENO: result: $ac_res" >&5
25623 echo "${ECHO_T}$ac_res" >&6; }
25624 if test `eval echo '${'$as_ac_var'}'` = yes; then
25625   cat >>confdefs.h <<_ACEOF
25626 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25627 _ACEOF
25628
25629 fi
25630 done
25631
25632   else
25633
25634   { echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
25635 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6; }
25636   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
25637     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
25638   echo $ECHO_N "(cached) $ECHO_C" >&6
25639 else
25640
25641
25642       ac_ext=cpp
25643 ac_cpp='$CXXCPP $CPPFLAGS'
25644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25647
25648       cat >conftest.$ac_ext <<_ACEOF
25649 /* confdefs.h.  */
25650 _ACEOF
25651 cat confdefs.h >>conftest.$ac_ext
25652 cat >>conftest.$ac_ext <<_ACEOF
25653 /* end confdefs.h.  */
25654 #include <math.h>
25655 int
25656 main ()
25657 {
25658  _ldexpf(0, 0);
25659   ;
25660   return 0;
25661 }
25662 _ACEOF
25663 rm -f conftest.$ac_objext
25664 if { (ac_try="$ac_compile"
25665 case "(($ac_try" in
25666   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25667   *) ac_try_echo=$ac_try;;
25668 esac
25669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25670   (eval "$ac_compile") 2>conftest.er1
25671   ac_status=$?
25672   grep -v '^ *+' conftest.er1 >conftest.err
25673   rm -f conftest.er1
25674   cat conftest.err >&5
25675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25676   (exit $ac_status); } && {
25677          test -z "$ac_cxx_werror_flag" ||
25678          test ! -s conftest.err
25679        } && test -s conftest.$ac_objext; then
25680   glibcxx_cv_func__ldexpf_use=yes
25681 else
25682   echo "$as_me: failed program was:" >&5
25683 sed 's/^/| /' conftest.$ac_ext >&5
25684
25685         glibcxx_cv_func__ldexpf_use=no
25686 fi
25687
25688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25689       ac_ext=c
25690 ac_cpp='$CPP $CPPFLAGS'
25691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25694
25695
25696 fi
25697
25698   fi
25699   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
25700 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6; }
25701
25702     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
25703
25704 for ac_func in _ldexpf
25705 do
25706 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25707 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25708 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25709 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25710   echo $ECHO_N "(cached) $ECHO_C" >&6
25711 else
25712   if test x$gcc_no_link = xyes; then
25713   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25714 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25715    { (exit 1); exit 1; }; }
25716 fi
25717 cat >conftest.$ac_ext <<_ACEOF
25718 /* confdefs.h.  */
25719 _ACEOF
25720 cat confdefs.h >>conftest.$ac_ext
25721 cat >>conftest.$ac_ext <<_ACEOF
25722 /* end confdefs.h.  */
25723 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25724    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
25725 #define $ac_func innocuous_$ac_func
25726
25727 /* System header to define __stub macros and hopefully few prototypes,
25728     which can conflict with char $ac_func (); below.
25729     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25730     <limits.h> exists even on freestanding compilers.  */
25731
25732 #ifdef __STDC__
25733 # include <limits.h>
25734 #else
25735 # include <assert.h>
25736 #endif
25737
25738 #undef $ac_func
25739
25740 /* Override any GCC internal prototype to avoid an error.
25741    Use char because int might match the return type of a GCC
25742    builtin and then its argument prototype would still apply.  */
25743 #ifdef __cplusplus
25744 extern "C"
25745 #endif
25746 char $ac_func ();
25747 /* The GNU C library defines this for functions which it implements
25748     to always fail with ENOSYS.  Some functions are actually named
25749     something starting with __ and the normal name is an alias.  */
25750 #if defined __stub_$ac_func || defined __stub___$ac_func
25751 choke me
25752 #endif
25753
25754 int
25755 main ()
25756 {
25757 return $ac_func ();
25758   ;
25759   return 0;
25760 }
25761 _ACEOF
25762 rm -f conftest.$ac_objext conftest$ac_exeext
25763 if { (ac_try="$ac_link"
25764 case "(($ac_try" in
25765   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25766   *) ac_try_echo=$ac_try;;
25767 esac
25768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25769   (eval "$ac_link") 2>conftest.er1
25770   ac_status=$?
25771   grep -v '^ *+' conftest.er1 >conftest.err
25772   rm -f conftest.er1
25773   cat conftest.err >&5
25774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25775   (exit $ac_status); } && {
25776          test -z "$ac_c_werror_flag" ||
25777          test ! -s conftest.err
25778        } && test -s conftest$ac_exeext &&
25779        $as_test_x conftest$ac_exeext; then
25780   eval "$as_ac_var=yes"
25781 else
25782   echo "$as_me: failed program was:" >&5
25783 sed 's/^/| /' conftest.$ac_ext >&5
25784
25785         eval "$as_ac_var=no"
25786 fi
25787
25788 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25789       conftest$ac_exeext conftest.$ac_ext
25790 fi
25791 ac_res=`eval echo '${'$as_ac_var'}'`
25792                { echo "$as_me:$LINENO: result: $ac_res" >&5
25793 echo "${ECHO_T}$ac_res" >&6; }
25794 if test `eval echo '${'$as_ac_var'}'` = yes; then
25795   cat >>confdefs.h <<_ACEOF
25796 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25797 _ACEOF
25798
25799 fi
25800 done
25801
25802     fi
25803   fi
25804
25805
25806
25807
25808
25809
25810   { echo "$as_me:$LINENO: checking for logf declaration" >&5
25811 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6; }
25812   if test x${glibcxx_cv_func_logf_use+set} != xset; then
25813     if test "${glibcxx_cv_func_logf_use+set}" = set; then
25814   echo $ECHO_N "(cached) $ECHO_C" >&6
25815 else
25816
25817
25818       ac_ext=cpp
25819 ac_cpp='$CXXCPP $CPPFLAGS'
25820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25823
25824       cat >conftest.$ac_ext <<_ACEOF
25825 /* confdefs.h.  */
25826 _ACEOF
25827 cat confdefs.h >>conftest.$ac_ext
25828 cat >>conftest.$ac_ext <<_ACEOF
25829 /* end confdefs.h.  */
25830 #include <math.h>
25831                       #ifdef HAVE_IEEEFP_H
25832                       #include <ieeefp.h>
25833                       #endif
25834
25835 int
25836 main ()
25837 {
25838  logf(0);
25839   ;
25840   return 0;
25841 }
25842 _ACEOF
25843 rm -f conftest.$ac_objext
25844 if { (ac_try="$ac_compile"
25845 case "(($ac_try" in
25846   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25847   *) ac_try_echo=$ac_try;;
25848 esac
25849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25850   (eval "$ac_compile") 2>conftest.er1
25851   ac_status=$?
25852   grep -v '^ *+' conftest.er1 >conftest.err
25853   rm -f conftest.er1
25854   cat conftest.err >&5
25855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25856   (exit $ac_status); } && {
25857          test -z "$ac_cxx_werror_flag" ||
25858          test ! -s conftest.err
25859        } && test -s conftest.$ac_objext; then
25860   glibcxx_cv_func_logf_use=yes
25861 else
25862   echo "$as_me: failed program was:" >&5
25863 sed 's/^/| /' conftest.$ac_ext >&5
25864
25865         glibcxx_cv_func_logf_use=no
25866 fi
25867
25868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25869       ac_ext=c
25870 ac_cpp='$CPP $CPPFLAGS'
25871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25874
25875
25876 fi
25877
25878   fi
25879   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
25880 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6; }
25881
25882   if test x$glibcxx_cv_func_logf_use = x"yes"; then
25883
25884 for ac_func in logf
25885 do
25886 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25887 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25888 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25889 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25890   echo $ECHO_N "(cached) $ECHO_C" >&6
25891 else
25892   if test x$gcc_no_link = xyes; then
25893   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25894 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25895    { (exit 1); exit 1; }; }
25896 fi
25897 cat >conftest.$ac_ext <<_ACEOF
25898 /* confdefs.h.  */
25899 _ACEOF
25900 cat confdefs.h >>conftest.$ac_ext
25901 cat >>conftest.$ac_ext <<_ACEOF
25902 /* end confdefs.h.  */
25903 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25904    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
25905 #define $ac_func innocuous_$ac_func
25906
25907 /* System header to define __stub macros and hopefully few prototypes,
25908     which can conflict with char $ac_func (); below.
25909     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25910     <limits.h> exists even on freestanding compilers.  */
25911
25912 #ifdef __STDC__
25913 # include <limits.h>
25914 #else
25915 # include <assert.h>
25916 #endif
25917
25918 #undef $ac_func
25919
25920 /* Override any GCC internal prototype to avoid an error.
25921    Use char because int might match the return type of a GCC
25922    builtin and then its argument prototype would still apply.  */
25923 #ifdef __cplusplus
25924 extern "C"
25925 #endif
25926 char $ac_func ();
25927 /* The GNU C library defines this for functions which it implements
25928     to always fail with ENOSYS.  Some functions are actually named
25929     something starting with __ and the normal name is an alias.  */
25930 #if defined __stub_$ac_func || defined __stub___$ac_func
25931 choke me
25932 #endif
25933
25934 int
25935 main ()
25936 {
25937 return $ac_func ();
25938   ;
25939   return 0;
25940 }
25941 _ACEOF
25942 rm -f conftest.$ac_objext conftest$ac_exeext
25943 if { (ac_try="$ac_link"
25944 case "(($ac_try" in
25945   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25946   *) ac_try_echo=$ac_try;;
25947 esac
25948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25949   (eval "$ac_link") 2>conftest.er1
25950   ac_status=$?
25951   grep -v '^ *+' conftest.er1 >conftest.err
25952   rm -f conftest.er1
25953   cat conftest.err >&5
25954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25955   (exit $ac_status); } && {
25956          test -z "$ac_c_werror_flag" ||
25957          test ! -s conftest.err
25958        } && test -s conftest$ac_exeext &&
25959        $as_test_x conftest$ac_exeext; then
25960   eval "$as_ac_var=yes"
25961 else
25962   echo "$as_me: failed program was:" >&5
25963 sed 's/^/| /' conftest.$ac_ext >&5
25964
25965         eval "$as_ac_var=no"
25966 fi
25967
25968 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25969       conftest$ac_exeext conftest.$ac_ext
25970 fi
25971 ac_res=`eval echo '${'$as_ac_var'}'`
25972                { echo "$as_me:$LINENO: result: $ac_res" >&5
25973 echo "${ECHO_T}$ac_res" >&6; }
25974 if test `eval echo '${'$as_ac_var'}'` = yes; then
25975   cat >>confdefs.h <<_ACEOF
25976 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25977 _ACEOF
25978
25979 fi
25980 done
25981
25982   else
25983
25984   { echo "$as_me:$LINENO: checking for _logf declaration" >&5
25985 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6; }
25986   if test x${glibcxx_cv_func__logf_use+set} != xset; then
25987     if test "${glibcxx_cv_func__logf_use+set}" = set; then
25988   echo $ECHO_N "(cached) $ECHO_C" >&6
25989 else
25990
25991
25992       ac_ext=cpp
25993 ac_cpp='$CXXCPP $CPPFLAGS'
25994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25997
25998       cat >conftest.$ac_ext <<_ACEOF
25999 /* confdefs.h.  */
26000 _ACEOF
26001 cat confdefs.h >>conftest.$ac_ext
26002 cat >>conftest.$ac_ext <<_ACEOF
26003 /* end confdefs.h.  */
26004 #include <math.h>
26005                       #ifdef HAVE_IEEEFP_H
26006                       #include <ieeefp.h>
26007                       #endif
26008
26009 int
26010 main ()
26011 {
26012  _logf(0);
26013   ;
26014   return 0;
26015 }
26016 _ACEOF
26017 rm -f conftest.$ac_objext
26018 if { (ac_try="$ac_compile"
26019 case "(($ac_try" in
26020   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26021   *) ac_try_echo=$ac_try;;
26022 esac
26023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26024   (eval "$ac_compile") 2>conftest.er1
26025   ac_status=$?
26026   grep -v '^ *+' conftest.er1 >conftest.err
26027   rm -f conftest.er1
26028   cat conftest.err >&5
26029   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26030   (exit $ac_status); } && {
26031          test -z "$ac_cxx_werror_flag" ||
26032          test ! -s conftest.err
26033        } && test -s conftest.$ac_objext; then
26034   glibcxx_cv_func__logf_use=yes
26035 else
26036   echo "$as_me: failed program was:" >&5
26037 sed 's/^/| /' conftest.$ac_ext >&5
26038
26039         glibcxx_cv_func__logf_use=no
26040 fi
26041
26042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26043       ac_ext=c
26044 ac_cpp='$CPP $CPPFLAGS'
26045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26048
26049
26050 fi
26051
26052   fi
26053   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
26054 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6; }
26055
26056     if test x$glibcxx_cv_func__logf_use = x"yes"; then
26057
26058 for ac_func in _logf
26059 do
26060 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26061 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26062 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26063 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26064   echo $ECHO_N "(cached) $ECHO_C" >&6
26065 else
26066   if test x$gcc_no_link = xyes; then
26067   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26068 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26069    { (exit 1); exit 1; }; }
26070 fi
26071 cat >conftest.$ac_ext <<_ACEOF
26072 /* confdefs.h.  */
26073 _ACEOF
26074 cat confdefs.h >>conftest.$ac_ext
26075 cat >>conftest.$ac_ext <<_ACEOF
26076 /* end confdefs.h.  */
26077 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26078    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
26079 #define $ac_func innocuous_$ac_func
26080
26081 /* System header to define __stub macros and hopefully few prototypes,
26082     which can conflict with char $ac_func (); below.
26083     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26084     <limits.h> exists even on freestanding compilers.  */
26085
26086 #ifdef __STDC__
26087 # include <limits.h>
26088 #else
26089 # include <assert.h>
26090 #endif
26091
26092 #undef $ac_func
26093
26094 /* Override any GCC internal prototype to avoid an error.
26095    Use char because int might match the return type of a GCC
26096    builtin and then its argument prototype would still apply.  */
26097 #ifdef __cplusplus
26098 extern "C"
26099 #endif
26100 char $ac_func ();
26101 /* The GNU C library defines this for functions which it implements
26102     to always fail with ENOSYS.  Some functions are actually named
26103     something starting with __ and the normal name is an alias.  */
26104 #if defined __stub_$ac_func || defined __stub___$ac_func
26105 choke me
26106 #endif
26107
26108 int
26109 main ()
26110 {
26111 return $ac_func ();
26112   ;
26113   return 0;
26114 }
26115 _ACEOF
26116 rm -f conftest.$ac_objext conftest$ac_exeext
26117 if { (ac_try="$ac_link"
26118 case "(($ac_try" in
26119   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26120   *) ac_try_echo=$ac_try;;
26121 esac
26122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26123   (eval "$ac_link") 2>conftest.er1
26124   ac_status=$?
26125   grep -v '^ *+' conftest.er1 >conftest.err
26126   rm -f conftest.er1
26127   cat conftest.err >&5
26128   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26129   (exit $ac_status); } && {
26130          test -z "$ac_c_werror_flag" ||
26131          test ! -s conftest.err
26132        } && test -s conftest$ac_exeext &&
26133        $as_test_x conftest$ac_exeext; then
26134   eval "$as_ac_var=yes"
26135 else
26136   echo "$as_me: failed program was:" >&5
26137 sed 's/^/| /' conftest.$ac_ext >&5
26138
26139         eval "$as_ac_var=no"
26140 fi
26141
26142 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26143       conftest$ac_exeext conftest.$ac_ext
26144 fi
26145 ac_res=`eval echo '${'$as_ac_var'}'`
26146                { echo "$as_me:$LINENO: result: $ac_res" >&5
26147 echo "${ECHO_T}$ac_res" >&6; }
26148 if test `eval echo '${'$as_ac_var'}'` = yes; then
26149   cat >>confdefs.h <<_ACEOF
26150 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26151 _ACEOF
26152
26153 fi
26154 done
26155
26156     fi
26157   fi
26158
26159
26160
26161
26162
26163
26164   { echo "$as_me:$LINENO: checking for log10f declaration" >&5
26165 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6; }
26166   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
26167     if test "${glibcxx_cv_func_log10f_use+set}" = set; then
26168   echo $ECHO_N "(cached) $ECHO_C" >&6
26169 else
26170
26171
26172       ac_ext=cpp
26173 ac_cpp='$CXXCPP $CPPFLAGS'
26174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26177
26178       cat >conftest.$ac_ext <<_ACEOF
26179 /* confdefs.h.  */
26180 _ACEOF
26181 cat confdefs.h >>conftest.$ac_ext
26182 cat >>conftest.$ac_ext <<_ACEOF
26183 /* end confdefs.h.  */
26184 #include <math.h>
26185                       #ifdef HAVE_IEEEFP_H
26186                       #include <ieeefp.h>
26187                       #endif
26188
26189 int
26190 main ()
26191 {
26192  log10f(0);
26193   ;
26194   return 0;
26195 }
26196 _ACEOF
26197 rm -f conftest.$ac_objext
26198 if { (ac_try="$ac_compile"
26199 case "(($ac_try" in
26200   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26201   *) ac_try_echo=$ac_try;;
26202 esac
26203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26204   (eval "$ac_compile") 2>conftest.er1
26205   ac_status=$?
26206   grep -v '^ *+' conftest.er1 >conftest.err
26207   rm -f conftest.er1
26208   cat conftest.err >&5
26209   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26210   (exit $ac_status); } && {
26211          test -z "$ac_cxx_werror_flag" ||
26212          test ! -s conftest.err
26213        } && test -s conftest.$ac_objext; then
26214   glibcxx_cv_func_log10f_use=yes
26215 else
26216   echo "$as_me: failed program was:" >&5
26217 sed 's/^/| /' conftest.$ac_ext >&5
26218
26219         glibcxx_cv_func_log10f_use=no
26220 fi
26221
26222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26223       ac_ext=c
26224 ac_cpp='$CPP $CPPFLAGS'
26225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26228
26229
26230 fi
26231
26232   fi
26233   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
26234 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6; }
26235
26236   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
26237
26238 for ac_func in log10f
26239 do
26240 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26241 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26242 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26243 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26244   echo $ECHO_N "(cached) $ECHO_C" >&6
26245 else
26246   if test x$gcc_no_link = xyes; then
26247   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26248 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26249    { (exit 1); exit 1; }; }
26250 fi
26251 cat >conftest.$ac_ext <<_ACEOF
26252 /* confdefs.h.  */
26253 _ACEOF
26254 cat confdefs.h >>conftest.$ac_ext
26255 cat >>conftest.$ac_ext <<_ACEOF
26256 /* end confdefs.h.  */
26257 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26258    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
26259 #define $ac_func innocuous_$ac_func
26260
26261 /* System header to define __stub macros and hopefully few prototypes,
26262     which can conflict with char $ac_func (); below.
26263     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26264     <limits.h> exists even on freestanding compilers.  */
26265
26266 #ifdef __STDC__
26267 # include <limits.h>
26268 #else
26269 # include <assert.h>
26270 #endif
26271
26272 #undef $ac_func
26273
26274 /* Override any GCC internal prototype to avoid an error.
26275    Use char because int might match the return type of a GCC
26276    builtin and then its argument prototype would still apply.  */
26277 #ifdef __cplusplus
26278 extern "C"
26279 #endif
26280 char $ac_func ();
26281 /* The GNU C library defines this for functions which it implements
26282     to always fail with ENOSYS.  Some functions are actually named
26283     something starting with __ and the normal name is an alias.  */
26284 #if defined __stub_$ac_func || defined __stub___$ac_func
26285 choke me
26286 #endif
26287
26288 int
26289 main ()
26290 {
26291 return $ac_func ();
26292   ;
26293   return 0;
26294 }
26295 _ACEOF
26296 rm -f conftest.$ac_objext conftest$ac_exeext
26297 if { (ac_try="$ac_link"
26298 case "(($ac_try" in
26299   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26300   *) ac_try_echo=$ac_try;;
26301 esac
26302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26303   (eval "$ac_link") 2>conftest.er1
26304   ac_status=$?
26305   grep -v '^ *+' conftest.er1 >conftest.err
26306   rm -f conftest.er1
26307   cat conftest.err >&5
26308   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26309   (exit $ac_status); } && {
26310          test -z "$ac_c_werror_flag" ||
26311          test ! -s conftest.err
26312        } && test -s conftest$ac_exeext &&
26313        $as_test_x conftest$ac_exeext; then
26314   eval "$as_ac_var=yes"
26315 else
26316   echo "$as_me: failed program was:" >&5
26317 sed 's/^/| /' conftest.$ac_ext >&5
26318
26319         eval "$as_ac_var=no"
26320 fi
26321
26322 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26323       conftest$ac_exeext conftest.$ac_ext
26324 fi
26325 ac_res=`eval echo '${'$as_ac_var'}'`
26326                { echo "$as_me:$LINENO: result: $ac_res" >&5
26327 echo "${ECHO_T}$ac_res" >&6; }
26328 if test `eval echo '${'$as_ac_var'}'` = yes; then
26329   cat >>confdefs.h <<_ACEOF
26330 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26331 _ACEOF
26332
26333 fi
26334 done
26335
26336   else
26337
26338   { echo "$as_me:$LINENO: checking for _log10f declaration" >&5
26339 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6; }
26340   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
26341     if test "${glibcxx_cv_func__log10f_use+set}" = set; then
26342   echo $ECHO_N "(cached) $ECHO_C" >&6
26343 else
26344
26345
26346       ac_ext=cpp
26347 ac_cpp='$CXXCPP $CPPFLAGS'
26348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26351
26352       cat >conftest.$ac_ext <<_ACEOF
26353 /* confdefs.h.  */
26354 _ACEOF
26355 cat confdefs.h >>conftest.$ac_ext
26356 cat >>conftest.$ac_ext <<_ACEOF
26357 /* end confdefs.h.  */
26358 #include <math.h>
26359                       #ifdef HAVE_IEEEFP_H
26360                       #include <ieeefp.h>
26361                       #endif
26362
26363 int
26364 main ()
26365 {
26366  _log10f(0);
26367   ;
26368   return 0;
26369 }
26370 _ACEOF
26371 rm -f conftest.$ac_objext
26372 if { (ac_try="$ac_compile"
26373 case "(($ac_try" in
26374   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26375   *) ac_try_echo=$ac_try;;
26376 esac
26377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26378   (eval "$ac_compile") 2>conftest.er1
26379   ac_status=$?
26380   grep -v '^ *+' conftest.er1 >conftest.err
26381   rm -f conftest.er1
26382   cat conftest.err >&5
26383   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26384   (exit $ac_status); } && {
26385          test -z "$ac_cxx_werror_flag" ||
26386          test ! -s conftest.err
26387        } && test -s conftest.$ac_objext; then
26388   glibcxx_cv_func__log10f_use=yes
26389 else
26390   echo "$as_me: failed program was:" >&5
26391 sed 's/^/| /' conftest.$ac_ext >&5
26392
26393         glibcxx_cv_func__log10f_use=no
26394 fi
26395
26396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26397       ac_ext=c
26398 ac_cpp='$CPP $CPPFLAGS'
26399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26402
26403
26404 fi
26405
26406   fi
26407   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
26408 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6; }
26409
26410     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
26411
26412 for ac_func in _log10f
26413 do
26414 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26415 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26416 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26417 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26418   echo $ECHO_N "(cached) $ECHO_C" >&6
26419 else
26420   if test x$gcc_no_link = xyes; then
26421   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26422 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26423    { (exit 1); exit 1; }; }
26424 fi
26425 cat >conftest.$ac_ext <<_ACEOF
26426 /* confdefs.h.  */
26427 _ACEOF
26428 cat confdefs.h >>conftest.$ac_ext
26429 cat >>conftest.$ac_ext <<_ACEOF
26430 /* end confdefs.h.  */
26431 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26432    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
26433 #define $ac_func innocuous_$ac_func
26434
26435 /* System header to define __stub macros and hopefully few prototypes,
26436     which can conflict with char $ac_func (); below.
26437     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26438     <limits.h> exists even on freestanding compilers.  */
26439
26440 #ifdef __STDC__
26441 # include <limits.h>
26442 #else
26443 # include <assert.h>
26444 #endif
26445
26446 #undef $ac_func
26447
26448 /* Override any GCC internal prototype to avoid an error.
26449    Use char because int might match the return type of a GCC
26450    builtin and then its argument prototype would still apply.  */
26451 #ifdef __cplusplus
26452 extern "C"
26453 #endif
26454 char $ac_func ();
26455 /* The GNU C library defines this for functions which it implements
26456     to always fail with ENOSYS.  Some functions are actually named
26457     something starting with __ and the normal name is an alias.  */
26458 #if defined __stub_$ac_func || defined __stub___$ac_func
26459 choke me
26460 #endif
26461
26462 int
26463 main ()
26464 {
26465 return $ac_func ();
26466   ;
26467   return 0;
26468 }
26469 _ACEOF
26470 rm -f conftest.$ac_objext conftest$ac_exeext
26471 if { (ac_try="$ac_link"
26472 case "(($ac_try" in
26473   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26474   *) ac_try_echo=$ac_try;;
26475 esac
26476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26477   (eval "$ac_link") 2>conftest.er1
26478   ac_status=$?
26479   grep -v '^ *+' conftest.er1 >conftest.err
26480   rm -f conftest.er1
26481   cat conftest.err >&5
26482   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26483   (exit $ac_status); } && {
26484          test -z "$ac_c_werror_flag" ||
26485          test ! -s conftest.err
26486        } && test -s conftest$ac_exeext &&
26487        $as_test_x conftest$ac_exeext; then
26488   eval "$as_ac_var=yes"
26489 else
26490   echo "$as_me: failed program was:" >&5
26491 sed 's/^/| /' conftest.$ac_ext >&5
26492
26493         eval "$as_ac_var=no"
26494 fi
26495
26496 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26497       conftest$ac_exeext conftest.$ac_ext
26498 fi
26499 ac_res=`eval echo '${'$as_ac_var'}'`
26500                { echo "$as_me:$LINENO: result: $ac_res" >&5
26501 echo "${ECHO_T}$ac_res" >&6; }
26502 if test `eval echo '${'$as_ac_var'}'` = yes; then
26503   cat >>confdefs.h <<_ACEOF
26504 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26505 _ACEOF
26506
26507 fi
26508 done
26509
26510     fi
26511   fi
26512
26513
26514
26515
26516
26517
26518   { echo "$as_me:$LINENO: checking for modff declaration" >&5
26519 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6; }
26520   if test x${glibcxx_cv_func_modff_use+set} != xset; then
26521     if test "${glibcxx_cv_func_modff_use+set}" = set; then
26522   echo $ECHO_N "(cached) $ECHO_C" >&6
26523 else
26524
26525
26526       ac_ext=cpp
26527 ac_cpp='$CXXCPP $CPPFLAGS'
26528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26531
26532       cat >conftest.$ac_ext <<_ACEOF
26533 /* confdefs.h.  */
26534 _ACEOF
26535 cat confdefs.h >>conftest.$ac_ext
26536 cat >>conftest.$ac_ext <<_ACEOF
26537 /* end confdefs.h.  */
26538 #include <math.h>
26539 int
26540 main ()
26541 {
26542  modff(0, 0);
26543   ;
26544   return 0;
26545 }
26546 _ACEOF
26547 rm -f conftest.$ac_objext
26548 if { (ac_try="$ac_compile"
26549 case "(($ac_try" in
26550   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26551   *) ac_try_echo=$ac_try;;
26552 esac
26553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26554   (eval "$ac_compile") 2>conftest.er1
26555   ac_status=$?
26556   grep -v '^ *+' conftest.er1 >conftest.err
26557   rm -f conftest.er1
26558   cat conftest.err >&5
26559   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26560   (exit $ac_status); } && {
26561          test -z "$ac_cxx_werror_flag" ||
26562          test ! -s conftest.err
26563        } && test -s conftest.$ac_objext; then
26564   glibcxx_cv_func_modff_use=yes
26565 else
26566   echo "$as_me: failed program was:" >&5
26567 sed 's/^/| /' conftest.$ac_ext >&5
26568
26569         glibcxx_cv_func_modff_use=no
26570 fi
26571
26572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26573       ac_ext=c
26574 ac_cpp='$CPP $CPPFLAGS'
26575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26578
26579
26580 fi
26581
26582   fi
26583   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
26584 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6; }
26585
26586   if test x$glibcxx_cv_func_modff_use = x"yes"; then
26587
26588 for ac_func in modff
26589 do
26590 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26591 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26592 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26593 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26594   echo $ECHO_N "(cached) $ECHO_C" >&6
26595 else
26596   if test x$gcc_no_link = xyes; then
26597   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26598 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26599    { (exit 1); exit 1; }; }
26600 fi
26601 cat >conftest.$ac_ext <<_ACEOF
26602 /* confdefs.h.  */
26603 _ACEOF
26604 cat confdefs.h >>conftest.$ac_ext
26605 cat >>conftest.$ac_ext <<_ACEOF
26606 /* end confdefs.h.  */
26607 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26608    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
26609 #define $ac_func innocuous_$ac_func
26610
26611 /* System header to define __stub macros and hopefully few prototypes,
26612     which can conflict with char $ac_func (); below.
26613     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26614     <limits.h> exists even on freestanding compilers.  */
26615
26616 #ifdef __STDC__
26617 # include <limits.h>
26618 #else
26619 # include <assert.h>
26620 #endif
26621
26622 #undef $ac_func
26623
26624 /* Override any GCC internal prototype to avoid an error.
26625    Use char because int might match the return type of a GCC
26626    builtin and then its argument prototype would still apply.  */
26627 #ifdef __cplusplus
26628 extern "C"
26629 #endif
26630 char $ac_func ();
26631 /* The GNU C library defines this for functions which it implements
26632     to always fail with ENOSYS.  Some functions are actually named
26633     something starting with __ and the normal name is an alias.  */
26634 #if defined __stub_$ac_func || defined __stub___$ac_func
26635 choke me
26636 #endif
26637
26638 int
26639 main ()
26640 {
26641 return $ac_func ();
26642   ;
26643   return 0;
26644 }
26645 _ACEOF
26646 rm -f conftest.$ac_objext conftest$ac_exeext
26647 if { (ac_try="$ac_link"
26648 case "(($ac_try" in
26649   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26650   *) ac_try_echo=$ac_try;;
26651 esac
26652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26653   (eval "$ac_link") 2>conftest.er1
26654   ac_status=$?
26655   grep -v '^ *+' conftest.er1 >conftest.err
26656   rm -f conftest.er1
26657   cat conftest.err >&5
26658   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26659   (exit $ac_status); } && {
26660          test -z "$ac_c_werror_flag" ||
26661          test ! -s conftest.err
26662        } && test -s conftest$ac_exeext &&
26663        $as_test_x conftest$ac_exeext; then
26664   eval "$as_ac_var=yes"
26665 else
26666   echo "$as_me: failed program was:" >&5
26667 sed 's/^/| /' conftest.$ac_ext >&5
26668
26669         eval "$as_ac_var=no"
26670 fi
26671
26672 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26673       conftest$ac_exeext conftest.$ac_ext
26674 fi
26675 ac_res=`eval echo '${'$as_ac_var'}'`
26676                { echo "$as_me:$LINENO: result: $ac_res" >&5
26677 echo "${ECHO_T}$ac_res" >&6; }
26678 if test `eval echo '${'$as_ac_var'}'` = yes; then
26679   cat >>confdefs.h <<_ACEOF
26680 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26681 _ACEOF
26682
26683 fi
26684 done
26685
26686   else
26687
26688   { echo "$as_me:$LINENO: checking for _modff declaration" >&5
26689 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6; }
26690   if test x${glibcxx_cv_func__modff_use+set} != xset; then
26691     if test "${glibcxx_cv_func__modff_use+set}" = set; then
26692   echo $ECHO_N "(cached) $ECHO_C" >&6
26693 else
26694
26695
26696       ac_ext=cpp
26697 ac_cpp='$CXXCPP $CPPFLAGS'
26698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26701
26702       cat >conftest.$ac_ext <<_ACEOF
26703 /* confdefs.h.  */
26704 _ACEOF
26705 cat confdefs.h >>conftest.$ac_ext
26706 cat >>conftest.$ac_ext <<_ACEOF
26707 /* end confdefs.h.  */
26708 #include <math.h>
26709 int
26710 main ()
26711 {
26712  _modff(0, 0);
26713   ;
26714   return 0;
26715 }
26716 _ACEOF
26717 rm -f conftest.$ac_objext
26718 if { (ac_try="$ac_compile"
26719 case "(($ac_try" in
26720   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26721   *) ac_try_echo=$ac_try;;
26722 esac
26723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26724   (eval "$ac_compile") 2>conftest.er1
26725   ac_status=$?
26726   grep -v '^ *+' conftest.er1 >conftest.err
26727   rm -f conftest.er1
26728   cat conftest.err >&5
26729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26730   (exit $ac_status); } && {
26731          test -z "$ac_cxx_werror_flag" ||
26732          test ! -s conftest.err
26733        } && test -s conftest.$ac_objext; then
26734   glibcxx_cv_func__modff_use=yes
26735 else
26736   echo "$as_me: failed program was:" >&5
26737 sed 's/^/| /' conftest.$ac_ext >&5
26738
26739         glibcxx_cv_func__modff_use=no
26740 fi
26741
26742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26743       ac_ext=c
26744 ac_cpp='$CPP $CPPFLAGS'
26745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26748
26749
26750 fi
26751
26752   fi
26753   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
26754 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6; }
26755
26756     if test x$glibcxx_cv_func__modff_use = x"yes"; then
26757
26758 for ac_func in _modff
26759 do
26760 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26761 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26762 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26763 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26764   echo $ECHO_N "(cached) $ECHO_C" >&6
26765 else
26766   if test x$gcc_no_link = xyes; then
26767   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26768 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26769    { (exit 1); exit 1; }; }
26770 fi
26771 cat >conftest.$ac_ext <<_ACEOF
26772 /* confdefs.h.  */
26773 _ACEOF
26774 cat confdefs.h >>conftest.$ac_ext
26775 cat >>conftest.$ac_ext <<_ACEOF
26776 /* end confdefs.h.  */
26777 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26778    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
26779 #define $ac_func innocuous_$ac_func
26780
26781 /* System header to define __stub macros and hopefully few prototypes,
26782     which can conflict with char $ac_func (); below.
26783     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26784     <limits.h> exists even on freestanding compilers.  */
26785
26786 #ifdef __STDC__
26787 # include <limits.h>
26788 #else
26789 # include <assert.h>
26790 #endif
26791
26792 #undef $ac_func
26793
26794 /* Override any GCC internal prototype to avoid an error.
26795    Use char because int might match the return type of a GCC
26796    builtin and then its argument prototype would still apply.  */
26797 #ifdef __cplusplus
26798 extern "C"
26799 #endif
26800 char $ac_func ();
26801 /* The GNU C library defines this for functions which it implements
26802     to always fail with ENOSYS.  Some functions are actually named
26803     something starting with __ and the normal name is an alias.  */
26804 #if defined __stub_$ac_func || defined __stub___$ac_func
26805 choke me
26806 #endif
26807
26808 int
26809 main ()
26810 {
26811 return $ac_func ();
26812   ;
26813   return 0;
26814 }
26815 _ACEOF
26816 rm -f conftest.$ac_objext conftest$ac_exeext
26817 if { (ac_try="$ac_link"
26818 case "(($ac_try" in
26819   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26820   *) ac_try_echo=$ac_try;;
26821 esac
26822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26823   (eval "$ac_link") 2>conftest.er1
26824   ac_status=$?
26825   grep -v '^ *+' conftest.er1 >conftest.err
26826   rm -f conftest.er1
26827   cat conftest.err >&5
26828   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26829   (exit $ac_status); } && {
26830          test -z "$ac_c_werror_flag" ||
26831          test ! -s conftest.err
26832        } && test -s conftest$ac_exeext &&
26833        $as_test_x conftest$ac_exeext; then
26834   eval "$as_ac_var=yes"
26835 else
26836   echo "$as_me: failed program was:" >&5
26837 sed 's/^/| /' conftest.$ac_ext >&5
26838
26839         eval "$as_ac_var=no"
26840 fi
26841
26842 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26843       conftest$ac_exeext conftest.$ac_ext
26844 fi
26845 ac_res=`eval echo '${'$as_ac_var'}'`
26846                { echo "$as_me:$LINENO: result: $ac_res" >&5
26847 echo "${ECHO_T}$ac_res" >&6; }
26848 if test `eval echo '${'$as_ac_var'}'` = yes; then
26849   cat >>confdefs.h <<_ACEOF
26850 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26851 _ACEOF
26852
26853 fi
26854 done
26855
26856     fi
26857   fi
26858
26859
26860
26861
26862
26863
26864   { echo "$as_me:$LINENO: checking for modf declaration" >&5
26865 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6; }
26866   if test x${glibcxx_cv_func_modf_use+set} != xset; then
26867     if test "${glibcxx_cv_func_modf_use+set}" = set; then
26868   echo $ECHO_N "(cached) $ECHO_C" >&6
26869 else
26870
26871
26872       ac_ext=cpp
26873 ac_cpp='$CXXCPP $CPPFLAGS'
26874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26877
26878       cat >conftest.$ac_ext <<_ACEOF
26879 /* confdefs.h.  */
26880 _ACEOF
26881 cat confdefs.h >>conftest.$ac_ext
26882 cat >>conftest.$ac_ext <<_ACEOF
26883 /* end confdefs.h.  */
26884 #include <math.h>
26885 int
26886 main ()
26887 {
26888  modf(0, 0);
26889   ;
26890   return 0;
26891 }
26892 _ACEOF
26893 rm -f conftest.$ac_objext
26894 if { (ac_try="$ac_compile"
26895 case "(($ac_try" in
26896   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26897   *) ac_try_echo=$ac_try;;
26898 esac
26899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26900   (eval "$ac_compile") 2>conftest.er1
26901   ac_status=$?
26902   grep -v '^ *+' conftest.er1 >conftest.err
26903   rm -f conftest.er1
26904   cat conftest.err >&5
26905   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26906   (exit $ac_status); } && {
26907          test -z "$ac_cxx_werror_flag" ||
26908          test ! -s conftest.err
26909        } && test -s conftest.$ac_objext; then
26910   glibcxx_cv_func_modf_use=yes
26911 else
26912   echo "$as_me: failed program was:" >&5
26913 sed 's/^/| /' conftest.$ac_ext >&5
26914
26915         glibcxx_cv_func_modf_use=no
26916 fi
26917
26918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26919       ac_ext=c
26920 ac_cpp='$CPP $CPPFLAGS'
26921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26924
26925
26926 fi
26927
26928   fi
26929   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
26930 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6; }
26931
26932   if test x$glibcxx_cv_func_modf_use = x"yes"; then
26933
26934 for ac_func in modf
26935 do
26936 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26937 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26938 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26939 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26940   echo $ECHO_N "(cached) $ECHO_C" >&6
26941 else
26942   if test x$gcc_no_link = xyes; then
26943   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26944 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26945    { (exit 1); exit 1; }; }
26946 fi
26947 cat >conftest.$ac_ext <<_ACEOF
26948 /* confdefs.h.  */
26949 _ACEOF
26950 cat confdefs.h >>conftest.$ac_ext
26951 cat >>conftest.$ac_ext <<_ACEOF
26952 /* end confdefs.h.  */
26953 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26954    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
26955 #define $ac_func innocuous_$ac_func
26956
26957 /* System header to define __stub macros and hopefully few prototypes,
26958     which can conflict with char $ac_func (); below.
26959     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26960     <limits.h> exists even on freestanding compilers.  */
26961
26962 #ifdef __STDC__
26963 # include <limits.h>
26964 #else
26965 # include <assert.h>
26966 #endif
26967
26968 #undef $ac_func
26969
26970 /* Override any GCC internal prototype to avoid an error.
26971    Use char because int might match the return type of a GCC
26972    builtin and then its argument prototype would still apply.  */
26973 #ifdef __cplusplus
26974 extern "C"
26975 #endif
26976 char $ac_func ();
26977 /* The GNU C library defines this for functions which it implements
26978     to always fail with ENOSYS.  Some functions are actually named
26979     something starting with __ and the normal name is an alias.  */
26980 #if defined __stub_$ac_func || defined __stub___$ac_func
26981 choke me
26982 #endif
26983
26984 int
26985 main ()
26986 {
26987 return $ac_func ();
26988   ;
26989   return 0;
26990 }
26991 _ACEOF
26992 rm -f conftest.$ac_objext conftest$ac_exeext
26993 if { (ac_try="$ac_link"
26994 case "(($ac_try" in
26995   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26996   *) ac_try_echo=$ac_try;;
26997 esac
26998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26999   (eval "$ac_link") 2>conftest.er1
27000   ac_status=$?
27001   grep -v '^ *+' conftest.er1 >conftest.err
27002   rm -f conftest.er1
27003   cat conftest.err >&5
27004   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27005   (exit $ac_status); } && {
27006          test -z "$ac_c_werror_flag" ||
27007          test ! -s conftest.err
27008        } && test -s conftest$ac_exeext &&
27009        $as_test_x conftest$ac_exeext; then
27010   eval "$as_ac_var=yes"
27011 else
27012   echo "$as_me: failed program was:" >&5
27013 sed 's/^/| /' conftest.$ac_ext >&5
27014
27015         eval "$as_ac_var=no"
27016 fi
27017
27018 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27019       conftest$ac_exeext conftest.$ac_ext
27020 fi
27021 ac_res=`eval echo '${'$as_ac_var'}'`
27022                { echo "$as_me:$LINENO: result: $ac_res" >&5
27023 echo "${ECHO_T}$ac_res" >&6; }
27024 if test `eval echo '${'$as_ac_var'}'` = yes; then
27025   cat >>confdefs.h <<_ACEOF
27026 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27027 _ACEOF
27028
27029 fi
27030 done
27031
27032   else
27033
27034   { echo "$as_me:$LINENO: checking for _modf declaration" >&5
27035 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6; }
27036   if test x${glibcxx_cv_func__modf_use+set} != xset; then
27037     if test "${glibcxx_cv_func__modf_use+set}" = set; then
27038   echo $ECHO_N "(cached) $ECHO_C" >&6
27039 else
27040
27041
27042       ac_ext=cpp
27043 ac_cpp='$CXXCPP $CPPFLAGS'
27044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27047
27048       cat >conftest.$ac_ext <<_ACEOF
27049 /* confdefs.h.  */
27050 _ACEOF
27051 cat confdefs.h >>conftest.$ac_ext
27052 cat >>conftest.$ac_ext <<_ACEOF
27053 /* end confdefs.h.  */
27054 #include <math.h>
27055 int
27056 main ()
27057 {
27058  _modf(0, 0);
27059   ;
27060   return 0;
27061 }
27062 _ACEOF
27063 rm -f conftest.$ac_objext
27064 if { (ac_try="$ac_compile"
27065 case "(($ac_try" in
27066   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27067   *) ac_try_echo=$ac_try;;
27068 esac
27069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27070   (eval "$ac_compile") 2>conftest.er1
27071   ac_status=$?
27072   grep -v '^ *+' conftest.er1 >conftest.err
27073   rm -f conftest.er1
27074   cat conftest.err >&5
27075   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27076   (exit $ac_status); } && {
27077          test -z "$ac_cxx_werror_flag" ||
27078          test ! -s conftest.err
27079        } && test -s conftest.$ac_objext; then
27080   glibcxx_cv_func__modf_use=yes
27081 else
27082   echo "$as_me: failed program was:" >&5
27083 sed 's/^/| /' conftest.$ac_ext >&5
27084
27085         glibcxx_cv_func__modf_use=no
27086 fi
27087
27088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27089       ac_ext=c
27090 ac_cpp='$CPP $CPPFLAGS'
27091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27094
27095
27096 fi
27097
27098   fi
27099   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
27100 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6; }
27101
27102     if test x$glibcxx_cv_func__modf_use = x"yes"; then
27103
27104 for ac_func in _modf
27105 do
27106 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27107 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27108 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27109 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27110   echo $ECHO_N "(cached) $ECHO_C" >&6
27111 else
27112   if test x$gcc_no_link = xyes; then
27113   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27114 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27115    { (exit 1); exit 1; }; }
27116 fi
27117 cat >conftest.$ac_ext <<_ACEOF
27118 /* confdefs.h.  */
27119 _ACEOF
27120 cat confdefs.h >>conftest.$ac_ext
27121 cat >>conftest.$ac_ext <<_ACEOF
27122 /* end confdefs.h.  */
27123 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27124    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
27125 #define $ac_func innocuous_$ac_func
27126
27127 /* System header to define __stub macros and hopefully few prototypes,
27128     which can conflict with char $ac_func (); below.
27129     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27130     <limits.h> exists even on freestanding compilers.  */
27131
27132 #ifdef __STDC__
27133 # include <limits.h>
27134 #else
27135 # include <assert.h>
27136 #endif
27137
27138 #undef $ac_func
27139
27140 /* Override any GCC internal prototype to avoid an error.
27141    Use char because int might match the return type of a GCC
27142    builtin and then its argument prototype would still apply.  */
27143 #ifdef __cplusplus
27144 extern "C"
27145 #endif
27146 char $ac_func ();
27147 /* The GNU C library defines this for functions which it implements
27148     to always fail with ENOSYS.  Some functions are actually named
27149     something starting with __ and the normal name is an alias.  */
27150 #if defined __stub_$ac_func || defined __stub___$ac_func
27151 choke me
27152 #endif
27153
27154 int
27155 main ()
27156 {
27157 return $ac_func ();
27158   ;
27159   return 0;
27160 }
27161 _ACEOF
27162 rm -f conftest.$ac_objext conftest$ac_exeext
27163 if { (ac_try="$ac_link"
27164 case "(($ac_try" in
27165   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27166   *) ac_try_echo=$ac_try;;
27167 esac
27168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27169   (eval "$ac_link") 2>conftest.er1
27170   ac_status=$?
27171   grep -v '^ *+' conftest.er1 >conftest.err
27172   rm -f conftest.er1
27173   cat conftest.err >&5
27174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27175   (exit $ac_status); } && {
27176          test -z "$ac_c_werror_flag" ||
27177          test ! -s conftest.err
27178        } && test -s conftest$ac_exeext &&
27179        $as_test_x conftest$ac_exeext; then
27180   eval "$as_ac_var=yes"
27181 else
27182   echo "$as_me: failed program was:" >&5
27183 sed 's/^/| /' conftest.$ac_ext >&5
27184
27185         eval "$as_ac_var=no"
27186 fi
27187
27188 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27189       conftest$ac_exeext conftest.$ac_ext
27190 fi
27191 ac_res=`eval echo '${'$as_ac_var'}'`
27192                { echo "$as_me:$LINENO: result: $ac_res" >&5
27193 echo "${ECHO_T}$ac_res" >&6; }
27194 if test `eval echo '${'$as_ac_var'}'` = yes; then
27195   cat >>confdefs.h <<_ACEOF
27196 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27197 _ACEOF
27198
27199 fi
27200 done
27201
27202     fi
27203   fi
27204
27205
27206
27207
27208
27209
27210   { echo "$as_me:$LINENO: checking for powf declaration" >&5
27211 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6; }
27212   if test x${glibcxx_cv_func_powf_use+set} != xset; then
27213     if test "${glibcxx_cv_func_powf_use+set}" = set; then
27214   echo $ECHO_N "(cached) $ECHO_C" >&6
27215 else
27216
27217
27218       ac_ext=cpp
27219 ac_cpp='$CXXCPP $CPPFLAGS'
27220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27223
27224       cat >conftest.$ac_ext <<_ACEOF
27225 /* confdefs.h.  */
27226 _ACEOF
27227 cat confdefs.h >>conftest.$ac_ext
27228 cat >>conftest.$ac_ext <<_ACEOF
27229 /* end confdefs.h.  */
27230 #include <math.h>
27231 int
27232 main ()
27233 {
27234  powf(0, 0);
27235   ;
27236   return 0;
27237 }
27238 _ACEOF
27239 rm -f conftest.$ac_objext
27240 if { (ac_try="$ac_compile"
27241 case "(($ac_try" in
27242   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27243   *) ac_try_echo=$ac_try;;
27244 esac
27245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27246   (eval "$ac_compile") 2>conftest.er1
27247   ac_status=$?
27248   grep -v '^ *+' conftest.er1 >conftest.err
27249   rm -f conftest.er1
27250   cat conftest.err >&5
27251   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27252   (exit $ac_status); } && {
27253          test -z "$ac_cxx_werror_flag" ||
27254          test ! -s conftest.err
27255        } && test -s conftest.$ac_objext; then
27256   glibcxx_cv_func_powf_use=yes
27257 else
27258   echo "$as_me: failed program was:" >&5
27259 sed 's/^/| /' conftest.$ac_ext >&5
27260
27261         glibcxx_cv_func_powf_use=no
27262 fi
27263
27264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27265       ac_ext=c
27266 ac_cpp='$CPP $CPPFLAGS'
27267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27270
27271
27272 fi
27273
27274   fi
27275   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
27276 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6; }
27277
27278   if test x$glibcxx_cv_func_powf_use = x"yes"; then
27279
27280 for ac_func in powf
27281 do
27282 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27283 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27284 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27285 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27286   echo $ECHO_N "(cached) $ECHO_C" >&6
27287 else
27288   if test x$gcc_no_link = xyes; then
27289   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27290 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27291    { (exit 1); exit 1; }; }
27292 fi
27293 cat >conftest.$ac_ext <<_ACEOF
27294 /* confdefs.h.  */
27295 _ACEOF
27296 cat confdefs.h >>conftest.$ac_ext
27297 cat >>conftest.$ac_ext <<_ACEOF
27298 /* end confdefs.h.  */
27299 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27300    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
27301 #define $ac_func innocuous_$ac_func
27302
27303 /* System header to define __stub macros and hopefully few prototypes,
27304     which can conflict with char $ac_func (); below.
27305     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27306     <limits.h> exists even on freestanding compilers.  */
27307
27308 #ifdef __STDC__
27309 # include <limits.h>
27310 #else
27311 # include <assert.h>
27312 #endif
27313
27314 #undef $ac_func
27315
27316 /* Override any GCC internal prototype to avoid an error.
27317    Use char because int might match the return type of a GCC
27318    builtin and then its argument prototype would still apply.  */
27319 #ifdef __cplusplus
27320 extern "C"
27321 #endif
27322 char $ac_func ();
27323 /* The GNU C library defines this for functions which it implements
27324     to always fail with ENOSYS.  Some functions are actually named
27325     something starting with __ and the normal name is an alias.  */
27326 #if defined __stub_$ac_func || defined __stub___$ac_func
27327 choke me
27328 #endif
27329
27330 int
27331 main ()
27332 {
27333 return $ac_func ();
27334   ;
27335   return 0;
27336 }
27337 _ACEOF
27338 rm -f conftest.$ac_objext conftest$ac_exeext
27339 if { (ac_try="$ac_link"
27340 case "(($ac_try" in
27341   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27342   *) ac_try_echo=$ac_try;;
27343 esac
27344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27345   (eval "$ac_link") 2>conftest.er1
27346   ac_status=$?
27347   grep -v '^ *+' conftest.er1 >conftest.err
27348   rm -f conftest.er1
27349   cat conftest.err >&5
27350   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27351   (exit $ac_status); } && {
27352          test -z "$ac_c_werror_flag" ||
27353          test ! -s conftest.err
27354        } && test -s conftest$ac_exeext &&
27355        $as_test_x conftest$ac_exeext; then
27356   eval "$as_ac_var=yes"
27357 else
27358   echo "$as_me: failed program was:" >&5
27359 sed 's/^/| /' conftest.$ac_ext >&5
27360
27361         eval "$as_ac_var=no"
27362 fi
27363
27364 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27365       conftest$ac_exeext conftest.$ac_ext
27366 fi
27367 ac_res=`eval echo '${'$as_ac_var'}'`
27368                { echo "$as_me:$LINENO: result: $ac_res" >&5
27369 echo "${ECHO_T}$ac_res" >&6; }
27370 if test `eval echo '${'$as_ac_var'}'` = yes; then
27371   cat >>confdefs.h <<_ACEOF
27372 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27373 _ACEOF
27374
27375 fi
27376 done
27377
27378   else
27379
27380   { echo "$as_me:$LINENO: checking for _powf declaration" >&5
27381 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6; }
27382   if test x${glibcxx_cv_func__powf_use+set} != xset; then
27383     if test "${glibcxx_cv_func__powf_use+set}" = set; then
27384   echo $ECHO_N "(cached) $ECHO_C" >&6
27385 else
27386
27387
27388       ac_ext=cpp
27389 ac_cpp='$CXXCPP $CPPFLAGS'
27390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27393
27394       cat >conftest.$ac_ext <<_ACEOF
27395 /* confdefs.h.  */
27396 _ACEOF
27397 cat confdefs.h >>conftest.$ac_ext
27398 cat >>conftest.$ac_ext <<_ACEOF
27399 /* end confdefs.h.  */
27400 #include <math.h>
27401 int
27402 main ()
27403 {
27404  _powf(0, 0);
27405   ;
27406   return 0;
27407 }
27408 _ACEOF
27409 rm -f conftest.$ac_objext
27410 if { (ac_try="$ac_compile"
27411 case "(($ac_try" in
27412   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27413   *) ac_try_echo=$ac_try;;
27414 esac
27415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27416   (eval "$ac_compile") 2>conftest.er1
27417   ac_status=$?
27418   grep -v '^ *+' conftest.er1 >conftest.err
27419   rm -f conftest.er1
27420   cat conftest.err >&5
27421   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27422   (exit $ac_status); } && {
27423          test -z "$ac_cxx_werror_flag" ||
27424          test ! -s conftest.err
27425        } && test -s conftest.$ac_objext; then
27426   glibcxx_cv_func__powf_use=yes
27427 else
27428   echo "$as_me: failed program was:" >&5
27429 sed 's/^/| /' conftest.$ac_ext >&5
27430
27431         glibcxx_cv_func__powf_use=no
27432 fi
27433
27434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27435       ac_ext=c
27436 ac_cpp='$CPP $CPPFLAGS'
27437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27440
27441
27442 fi
27443
27444   fi
27445   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
27446 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6; }
27447
27448     if test x$glibcxx_cv_func__powf_use = x"yes"; then
27449
27450 for ac_func in _powf
27451 do
27452 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27453 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27454 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27455 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27456   echo $ECHO_N "(cached) $ECHO_C" >&6
27457 else
27458   if test x$gcc_no_link = xyes; then
27459   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27460 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27461    { (exit 1); exit 1; }; }
27462 fi
27463 cat >conftest.$ac_ext <<_ACEOF
27464 /* confdefs.h.  */
27465 _ACEOF
27466 cat confdefs.h >>conftest.$ac_ext
27467 cat >>conftest.$ac_ext <<_ACEOF
27468 /* end confdefs.h.  */
27469 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27470    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
27471 #define $ac_func innocuous_$ac_func
27472
27473 /* System header to define __stub macros and hopefully few prototypes,
27474     which can conflict with char $ac_func (); below.
27475     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27476     <limits.h> exists even on freestanding compilers.  */
27477
27478 #ifdef __STDC__
27479 # include <limits.h>
27480 #else
27481 # include <assert.h>
27482 #endif
27483
27484 #undef $ac_func
27485
27486 /* Override any GCC internal prototype to avoid an error.
27487    Use char because int might match the return type of a GCC
27488    builtin and then its argument prototype would still apply.  */
27489 #ifdef __cplusplus
27490 extern "C"
27491 #endif
27492 char $ac_func ();
27493 /* The GNU C library defines this for functions which it implements
27494     to always fail with ENOSYS.  Some functions are actually named
27495     something starting with __ and the normal name is an alias.  */
27496 #if defined __stub_$ac_func || defined __stub___$ac_func
27497 choke me
27498 #endif
27499
27500 int
27501 main ()
27502 {
27503 return $ac_func ();
27504   ;
27505   return 0;
27506 }
27507 _ACEOF
27508 rm -f conftest.$ac_objext conftest$ac_exeext
27509 if { (ac_try="$ac_link"
27510 case "(($ac_try" in
27511   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27512   *) ac_try_echo=$ac_try;;
27513 esac
27514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27515   (eval "$ac_link") 2>conftest.er1
27516   ac_status=$?
27517   grep -v '^ *+' conftest.er1 >conftest.err
27518   rm -f conftest.er1
27519   cat conftest.err >&5
27520   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27521   (exit $ac_status); } && {
27522          test -z "$ac_c_werror_flag" ||
27523          test ! -s conftest.err
27524        } && test -s conftest$ac_exeext &&
27525        $as_test_x conftest$ac_exeext; then
27526   eval "$as_ac_var=yes"
27527 else
27528   echo "$as_me: failed program was:" >&5
27529 sed 's/^/| /' conftest.$ac_ext >&5
27530
27531         eval "$as_ac_var=no"
27532 fi
27533
27534 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27535       conftest$ac_exeext conftest.$ac_ext
27536 fi
27537 ac_res=`eval echo '${'$as_ac_var'}'`
27538                { echo "$as_me:$LINENO: result: $ac_res" >&5
27539 echo "${ECHO_T}$ac_res" >&6; }
27540 if test `eval echo '${'$as_ac_var'}'` = yes; then
27541   cat >>confdefs.h <<_ACEOF
27542 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27543 _ACEOF
27544
27545 fi
27546 done
27547
27548     fi
27549   fi
27550
27551
27552
27553
27554
27555
27556   { echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
27557 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6; }
27558   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
27559     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
27560   echo $ECHO_N "(cached) $ECHO_C" >&6
27561 else
27562
27563
27564       ac_ext=cpp
27565 ac_cpp='$CXXCPP $CPPFLAGS'
27566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27569
27570       cat >conftest.$ac_ext <<_ACEOF
27571 /* confdefs.h.  */
27572 _ACEOF
27573 cat confdefs.h >>conftest.$ac_ext
27574 cat >>conftest.$ac_ext <<_ACEOF
27575 /* end confdefs.h.  */
27576 #include <math.h>
27577                       #ifdef HAVE_IEEEFP_H
27578                       #include <ieeefp.h>
27579                       #endif
27580
27581 int
27582 main ()
27583 {
27584  sqrtf(0);
27585   ;
27586   return 0;
27587 }
27588 _ACEOF
27589 rm -f conftest.$ac_objext
27590 if { (ac_try="$ac_compile"
27591 case "(($ac_try" in
27592   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27593   *) ac_try_echo=$ac_try;;
27594 esac
27595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27596   (eval "$ac_compile") 2>conftest.er1
27597   ac_status=$?
27598   grep -v '^ *+' conftest.er1 >conftest.err
27599   rm -f conftest.er1
27600   cat conftest.err >&5
27601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27602   (exit $ac_status); } && {
27603          test -z "$ac_cxx_werror_flag" ||
27604          test ! -s conftest.err
27605        } && test -s conftest.$ac_objext; then
27606   glibcxx_cv_func_sqrtf_use=yes
27607 else
27608   echo "$as_me: failed program was:" >&5
27609 sed 's/^/| /' conftest.$ac_ext >&5
27610
27611         glibcxx_cv_func_sqrtf_use=no
27612 fi
27613
27614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27615       ac_ext=c
27616 ac_cpp='$CPP $CPPFLAGS'
27617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27620
27621
27622 fi
27623
27624   fi
27625   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
27626 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6; }
27627
27628   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
27629
27630 for ac_func in sqrtf
27631 do
27632 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27633 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27634 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27635 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27636   echo $ECHO_N "(cached) $ECHO_C" >&6
27637 else
27638   if test x$gcc_no_link = xyes; then
27639   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27640 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27641    { (exit 1); exit 1; }; }
27642 fi
27643 cat >conftest.$ac_ext <<_ACEOF
27644 /* confdefs.h.  */
27645 _ACEOF
27646 cat confdefs.h >>conftest.$ac_ext
27647 cat >>conftest.$ac_ext <<_ACEOF
27648 /* end confdefs.h.  */
27649 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27650    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
27651 #define $ac_func innocuous_$ac_func
27652
27653 /* System header to define __stub macros and hopefully few prototypes,
27654     which can conflict with char $ac_func (); below.
27655     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27656     <limits.h> exists even on freestanding compilers.  */
27657
27658 #ifdef __STDC__
27659 # include <limits.h>
27660 #else
27661 # include <assert.h>
27662 #endif
27663
27664 #undef $ac_func
27665
27666 /* Override any GCC internal prototype to avoid an error.
27667    Use char because int might match the return type of a GCC
27668    builtin and then its argument prototype would still apply.  */
27669 #ifdef __cplusplus
27670 extern "C"
27671 #endif
27672 char $ac_func ();
27673 /* The GNU C library defines this for functions which it implements
27674     to always fail with ENOSYS.  Some functions are actually named
27675     something starting with __ and the normal name is an alias.  */
27676 #if defined __stub_$ac_func || defined __stub___$ac_func
27677 choke me
27678 #endif
27679
27680 int
27681 main ()
27682 {
27683 return $ac_func ();
27684   ;
27685   return 0;
27686 }
27687 _ACEOF
27688 rm -f conftest.$ac_objext conftest$ac_exeext
27689 if { (ac_try="$ac_link"
27690 case "(($ac_try" in
27691   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27692   *) ac_try_echo=$ac_try;;
27693 esac
27694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27695   (eval "$ac_link") 2>conftest.er1
27696   ac_status=$?
27697   grep -v '^ *+' conftest.er1 >conftest.err
27698   rm -f conftest.er1
27699   cat conftest.err >&5
27700   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27701   (exit $ac_status); } && {
27702          test -z "$ac_c_werror_flag" ||
27703          test ! -s conftest.err
27704        } && test -s conftest$ac_exeext &&
27705        $as_test_x conftest$ac_exeext; then
27706   eval "$as_ac_var=yes"
27707 else
27708   echo "$as_me: failed program was:" >&5
27709 sed 's/^/| /' conftest.$ac_ext >&5
27710
27711         eval "$as_ac_var=no"
27712 fi
27713
27714 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27715       conftest$ac_exeext conftest.$ac_ext
27716 fi
27717 ac_res=`eval echo '${'$as_ac_var'}'`
27718                { echo "$as_me:$LINENO: result: $ac_res" >&5
27719 echo "${ECHO_T}$ac_res" >&6; }
27720 if test `eval echo '${'$as_ac_var'}'` = yes; then
27721   cat >>confdefs.h <<_ACEOF
27722 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27723 _ACEOF
27724
27725 fi
27726 done
27727
27728   else
27729
27730   { echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
27731 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6; }
27732   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
27733     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
27734   echo $ECHO_N "(cached) $ECHO_C" >&6
27735 else
27736
27737
27738       ac_ext=cpp
27739 ac_cpp='$CXXCPP $CPPFLAGS'
27740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27743
27744       cat >conftest.$ac_ext <<_ACEOF
27745 /* confdefs.h.  */
27746 _ACEOF
27747 cat confdefs.h >>conftest.$ac_ext
27748 cat >>conftest.$ac_ext <<_ACEOF
27749 /* end confdefs.h.  */
27750 #include <math.h>
27751                       #ifdef HAVE_IEEEFP_H
27752                       #include <ieeefp.h>
27753                       #endif
27754
27755 int
27756 main ()
27757 {
27758  _sqrtf(0);
27759   ;
27760   return 0;
27761 }
27762 _ACEOF
27763 rm -f conftest.$ac_objext
27764 if { (ac_try="$ac_compile"
27765 case "(($ac_try" in
27766   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27767   *) ac_try_echo=$ac_try;;
27768 esac
27769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27770   (eval "$ac_compile") 2>conftest.er1
27771   ac_status=$?
27772   grep -v '^ *+' conftest.er1 >conftest.err
27773   rm -f conftest.er1
27774   cat conftest.err >&5
27775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27776   (exit $ac_status); } && {
27777          test -z "$ac_cxx_werror_flag" ||
27778          test ! -s conftest.err
27779        } && test -s conftest.$ac_objext; then
27780   glibcxx_cv_func__sqrtf_use=yes
27781 else
27782   echo "$as_me: failed program was:" >&5
27783 sed 's/^/| /' conftest.$ac_ext >&5
27784
27785         glibcxx_cv_func__sqrtf_use=no
27786 fi
27787
27788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27789       ac_ext=c
27790 ac_cpp='$CPP $CPPFLAGS'
27791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27794
27795
27796 fi
27797
27798   fi
27799   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
27800 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6; }
27801
27802     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
27803
27804 for ac_func in _sqrtf
27805 do
27806 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27807 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27808 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27809 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27810   echo $ECHO_N "(cached) $ECHO_C" >&6
27811 else
27812   if test x$gcc_no_link = xyes; then
27813   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27814 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27815    { (exit 1); exit 1; }; }
27816 fi
27817 cat >conftest.$ac_ext <<_ACEOF
27818 /* confdefs.h.  */
27819 _ACEOF
27820 cat confdefs.h >>conftest.$ac_ext
27821 cat >>conftest.$ac_ext <<_ACEOF
27822 /* end confdefs.h.  */
27823 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27824    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
27825 #define $ac_func innocuous_$ac_func
27826
27827 /* System header to define __stub macros and hopefully few prototypes,
27828     which can conflict with char $ac_func (); below.
27829     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27830     <limits.h> exists even on freestanding compilers.  */
27831
27832 #ifdef __STDC__
27833 # include <limits.h>
27834 #else
27835 # include <assert.h>
27836 #endif
27837
27838 #undef $ac_func
27839
27840 /* Override any GCC internal prototype to avoid an error.
27841    Use char because int might match the return type of a GCC
27842    builtin and then its argument prototype would still apply.  */
27843 #ifdef __cplusplus
27844 extern "C"
27845 #endif
27846 char $ac_func ();
27847 /* The GNU C library defines this for functions which it implements
27848     to always fail with ENOSYS.  Some functions are actually named
27849     something starting with __ and the normal name is an alias.  */
27850 #if defined __stub_$ac_func || defined __stub___$ac_func
27851 choke me
27852 #endif
27853
27854 int
27855 main ()
27856 {
27857 return $ac_func ();
27858   ;
27859   return 0;
27860 }
27861 _ACEOF
27862 rm -f conftest.$ac_objext conftest$ac_exeext
27863 if { (ac_try="$ac_link"
27864 case "(($ac_try" in
27865   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27866   *) ac_try_echo=$ac_try;;
27867 esac
27868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27869   (eval "$ac_link") 2>conftest.er1
27870   ac_status=$?
27871   grep -v '^ *+' conftest.er1 >conftest.err
27872   rm -f conftest.er1
27873   cat conftest.err >&5
27874   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27875   (exit $ac_status); } && {
27876          test -z "$ac_c_werror_flag" ||
27877          test ! -s conftest.err
27878        } && test -s conftest$ac_exeext &&
27879        $as_test_x conftest$ac_exeext; then
27880   eval "$as_ac_var=yes"
27881 else
27882   echo "$as_me: failed program was:" >&5
27883 sed 's/^/| /' conftest.$ac_ext >&5
27884
27885         eval "$as_ac_var=no"
27886 fi
27887
27888 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27889       conftest$ac_exeext conftest.$ac_ext
27890 fi
27891 ac_res=`eval echo '${'$as_ac_var'}'`
27892                { echo "$as_me:$LINENO: result: $ac_res" >&5
27893 echo "${ECHO_T}$ac_res" >&6; }
27894 if test `eval echo '${'$as_ac_var'}'` = yes; then
27895   cat >>confdefs.h <<_ACEOF
27896 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27897 _ACEOF
27898
27899 fi
27900 done
27901
27902     fi
27903   fi
27904
27905
27906
27907
27908
27909
27910   { echo "$as_me:$LINENO: checking for sincosf declaration" >&5
27911 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6; }
27912   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
27913     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
27914   echo $ECHO_N "(cached) $ECHO_C" >&6
27915 else
27916
27917
27918       ac_ext=cpp
27919 ac_cpp='$CXXCPP $CPPFLAGS'
27920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27923
27924       cat >conftest.$ac_ext <<_ACEOF
27925 /* confdefs.h.  */
27926 _ACEOF
27927 cat confdefs.h >>conftest.$ac_ext
27928 cat >>conftest.$ac_ext <<_ACEOF
27929 /* end confdefs.h.  */
27930 #include <math.h>
27931 int
27932 main ()
27933 {
27934  sincosf(0, 0, 0);
27935   ;
27936   return 0;
27937 }
27938 _ACEOF
27939 rm -f conftest.$ac_objext
27940 if { (ac_try="$ac_compile"
27941 case "(($ac_try" in
27942   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27943   *) ac_try_echo=$ac_try;;
27944 esac
27945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27946   (eval "$ac_compile") 2>conftest.er1
27947   ac_status=$?
27948   grep -v '^ *+' conftest.er1 >conftest.err
27949   rm -f conftest.er1
27950   cat conftest.err >&5
27951   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27952   (exit $ac_status); } && {
27953          test -z "$ac_cxx_werror_flag" ||
27954          test ! -s conftest.err
27955        } && test -s conftest.$ac_objext; then
27956   glibcxx_cv_func_sincosf_use=yes
27957 else
27958   echo "$as_me: failed program was:" >&5
27959 sed 's/^/| /' conftest.$ac_ext >&5
27960
27961         glibcxx_cv_func_sincosf_use=no
27962 fi
27963
27964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27965       ac_ext=c
27966 ac_cpp='$CPP $CPPFLAGS'
27967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27970
27971
27972 fi
27973
27974   fi
27975   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
27976 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6; }
27977
27978   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
27979
27980 for ac_func in sincosf
27981 do
27982 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27983 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27984 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27985 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27986   echo $ECHO_N "(cached) $ECHO_C" >&6
27987 else
27988   if test x$gcc_no_link = xyes; then
27989   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27990 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27991    { (exit 1); exit 1; }; }
27992 fi
27993 cat >conftest.$ac_ext <<_ACEOF
27994 /* confdefs.h.  */
27995 _ACEOF
27996 cat confdefs.h >>conftest.$ac_ext
27997 cat >>conftest.$ac_ext <<_ACEOF
27998 /* end confdefs.h.  */
27999 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28000    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28001 #define $ac_func innocuous_$ac_func
28002
28003 /* System header to define __stub macros and hopefully few prototypes,
28004     which can conflict with char $ac_func (); below.
28005     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28006     <limits.h> exists even on freestanding compilers.  */
28007
28008 #ifdef __STDC__
28009 # include <limits.h>
28010 #else
28011 # include <assert.h>
28012 #endif
28013
28014 #undef $ac_func
28015
28016 /* Override any GCC internal prototype to avoid an error.
28017    Use char because int might match the return type of a GCC
28018    builtin and then its argument prototype would still apply.  */
28019 #ifdef __cplusplus
28020 extern "C"
28021 #endif
28022 char $ac_func ();
28023 /* The GNU C library defines this for functions which it implements
28024     to always fail with ENOSYS.  Some functions are actually named
28025     something starting with __ and the normal name is an alias.  */
28026 #if defined __stub_$ac_func || defined __stub___$ac_func
28027 choke me
28028 #endif
28029
28030 int
28031 main ()
28032 {
28033 return $ac_func ();
28034   ;
28035   return 0;
28036 }
28037 _ACEOF
28038 rm -f conftest.$ac_objext conftest$ac_exeext
28039 if { (ac_try="$ac_link"
28040 case "(($ac_try" in
28041   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28042   *) ac_try_echo=$ac_try;;
28043 esac
28044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28045   (eval "$ac_link") 2>conftest.er1
28046   ac_status=$?
28047   grep -v '^ *+' conftest.er1 >conftest.err
28048   rm -f conftest.er1
28049   cat conftest.err >&5
28050   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28051   (exit $ac_status); } && {
28052          test -z "$ac_c_werror_flag" ||
28053          test ! -s conftest.err
28054        } && test -s conftest$ac_exeext &&
28055        $as_test_x conftest$ac_exeext; then
28056   eval "$as_ac_var=yes"
28057 else
28058   echo "$as_me: failed program was:" >&5
28059 sed 's/^/| /' conftest.$ac_ext >&5
28060
28061         eval "$as_ac_var=no"
28062 fi
28063
28064 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28065       conftest$ac_exeext conftest.$ac_ext
28066 fi
28067 ac_res=`eval echo '${'$as_ac_var'}'`
28068                { echo "$as_me:$LINENO: result: $ac_res" >&5
28069 echo "${ECHO_T}$ac_res" >&6; }
28070 if test `eval echo '${'$as_ac_var'}'` = yes; then
28071   cat >>confdefs.h <<_ACEOF
28072 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28073 _ACEOF
28074
28075 fi
28076 done
28077
28078   else
28079
28080   { echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
28081 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6; }
28082   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
28083     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
28084   echo $ECHO_N "(cached) $ECHO_C" >&6
28085 else
28086
28087
28088       ac_ext=cpp
28089 ac_cpp='$CXXCPP $CPPFLAGS'
28090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28093
28094       cat >conftest.$ac_ext <<_ACEOF
28095 /* confdefs.h.  */
28096 _ACEOF
28097 cat confdefs.h >>conftest.$ac_ext
28098 cat >>conftest.$ac_ext <<_ACEOF
28099 /* end confdefs.h.  */
28100 #include <math.h>
28101 int
28102 main ()
28103 {
28104  _sincosf(0, 0, 0);
28105   ;
28106   return 0;
28107 }
28108 _ACEOF
28109 rm -f conftest.$ac_objext
28110 if { (ac_try="$ac_compile"
28111 case "(($ac_try" in
28112   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28113   *) ac_try_echo=$ac_try;;
28114 esac
28115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28116   (eval "$ac_compile") 2>conftest.er1
28117   ac_status=$?
28118   grep -v '^ *+' conftest.er1 >conftest.err
28119   rm -f conftest.er1
28120   cat conftest.err >&5
28121   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28122   (exit $ac_status); } && {
28123          test -z "$ac_cxx_werror_flag" ||
28124          test ! -s conftest.err
28125        } && test -s conftest.$ac_objext; then
28126   glibcxx_cv_func__sincosf_use=yes
28127 else
28128   echo "$as_me: failed program was:" >&5
28129 sed 's/^/| /' conftest.$ac_ext >&5
28130
28131         glibcxx_cv_func__sincosf_use=no
28132 fi
28133
28134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28135       ac_ext=c
28136 ac_cpp='$CPP $CPPFLAGS'
28137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28140
28141
28142 fi
28143
28144   fi
28145   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
28146 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6; }
28147
28148     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
28149
28150 for ac_func in _sincosf
28151 do
28152 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28153 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28154 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28155 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28156   echo $ECHO_N "(cached) $ECHO_C" >&6
28157 else
28158   if test x$gcc_no_link = xyes; then
28159   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28160 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28161    { (exit 1); exit 1; }; }
28162 fi
28163 cat >conftest.$ac_ext <<_ACEOF
28164 /* confdefs.h.  */
28165 _ACEOF
28166 cat confdefs.h >>conftest.$ac_ext
28167 cat >>conftest.$ac_ext <<_ACEOF
28168 /* end confdefs.h.  */
28169 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28170    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28171 #define $ac_func innocuous_$ac_func
28172
28173 /* System header to define __stub macros and hopefully few prototypes,
28174     which can conflict with char $ac_func (); below.
28175     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28176     <limits.h> exists even on freestanding compilers.  */
28177
28178 #ifdef __STDC__
28179 # include <limits.h>
28180 #else
28181 # include <assert.h>
28182 #endif
28183
28184 #undef $ac_func
28185
28186 /* Override any GCC internal prototype to avoid an error.
28187    Use char because int might match the return type of a GCC
28188    builtin and then its argument prototype would still apply.  */
28189 #ifdef __cplusplus
28190 extern "C"
28191 #endif
28192 char $ac_func ();
28193 /* The GNU C library defines this for functions which it implements
28194     to always fail with ENOSYS.  Some functions are actually named
28195     something starting with __ and the normal name is an alias.  */
28196 #if defined __stub_$ac_func || defined __stub___$ac_func
28197 choke me
28198 #endif
28199
28200 int
28201 main ()
28202 {
28203 return $ac_func ();
28204   ;
28205   return 0;
28206 }
28207 _ACEOF
28208 rm -f conftest.$ac_objext conftest$ac_exeext
28209 if { (ac_try="$ac_link"
28210 case "(($ac_try" in
28211   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28212   *) ac_try_echo=$ac_try;;
28213 esac
28214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28215   (eval "$ac_link") 2>conftest.er1
28216   ac_status=$?
28217   grep -v '^ *+' conftest.er1 >conftest.err
28218   rm -f conftest.er1
28219   cat conftest.err >&5
28220   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28221   (exit $ac_status); } && {
28222          test -z "$ac_c_werror_flag" ||
28223          test ! -s conftest.err
28224        } && test -s conftest$ac_exeext &&
28225        $as_test_x conftest$ac_exeext; then
28226   eval "$as_ac_var=yes"
28227 else
28228   echo "$as_me: failed program was:" >&5
28229 sed 's/^/| /' conftest.$ac_ext >&5
28230
28231         eval "$as_ac_var=no"
28232 fi
28233
28234 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28235       conftest$ac_exeext conftest.$ac_ext
28236 fi
28237 ac_res=`eval echo '${'$as_ac_var'}'`
28238                { echo "$as_me:$LINENO: result: $ac_res" >&5
28239 echo "${ECHO_T}$ac_res" >&6; }
28240 if test `eval echo '${'$as_ac_var'}'` = yes; then
28241   cat >>confdefs.h <<_ACEOF
28242 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28243 _ACEOF
28244
28245 fi
28246 done
28247
28248     fi
28249   fi
28250
28251
28252
28253
28254
28255
28256   { echo "$as_me:$LINENO: checking for finitef declaration" >&5
28257 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6; }
28258   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
28259     if test "${glibcxx_cv_func_finitef_use+set}" = set; then
28260   echo $ECHO_N "(cached) $ECHO_C" >&6
28261 else
28262
28263
28264       ac_ext=cpp
28265 ac_cpp='$CXXCPP $CPPFLAGS'
28266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28269
28270       cat >conftest.$ac_ext <<_ACEOF
28271 /* confdefs.h.  */
28272 _ACEOF
28273 cat confdefs.h >>conftest.$ac_ext
28274 cat >>conftest.$ac_ext <<_ACEOF
28275 /* end confdefs.h.  */
28276 #include <math.h>
28277                       #ifdef HAVE_IEEEFP_H
28278                       #include <ieeefp.h>
28279                       #endif
28280
28281 int
28282 main ()
28283 {
28284  finitef(0);
28285   ;
28286   return 0;
28287 }
28288 _ACEOF
28289 rm -f conftest.$ac_objext
28290 if { (ac_try="$ac_compile"
28291 case "(($ac_try" in
28292   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28293   *) ac_try_echo=$ac_try;;
28294 esac
28295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28296   (eval "$ac_compile") 2>conftest.er1
28297   ac_status=$?
28298   grep -v '^ *+' conftest.er1 >conftest.err
28299   rm -f conftest.er1
28300   cat conftest.err >&5
28301   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28302   (exit $ac_status); } && {
28303          test -z "$ac_cxx_werror_flag" ||
28304          test ! -s conftest.err
28305        } && test -s conftest.$ac_objext; then
28306   glibcxx_cv_func_finitef_use=yes
28307 else
28308   echo "$as_me: failed program was:" >&5
28309 sed 's/^/| /' conftest.$ac_ext >&5
28310
28311         glibcxx_cv_func_finitef_use=no
28312 fi
28313
28314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28315       ac_ext=c
28316 ac_cpp='$CPP $CPPFLAGS'
28317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28320
28321
28322 fi
28323
28324   fi
28325   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
28326 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6; }
28327
28328   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
28329
28330 for ac_func in finitef
28331 do
28332 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28333 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28334 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28335 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28336   echo $ECHO_N "(cached) $ECHO_C" >&6
28337 else
28338   if test x$gcc_no_link = xyes; then
28339   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28340 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28341    { (exit 1); exit 1; }; }
28342 fi
28343 cat >conftest.$ac_ext <<_ACEOF
28344 /* confdefs.h.  */
28345 _ACEOF
28346 cat confdefs.h >>conftest.$ac_ext
28347 cat >>conftest.$ac_ext <<_ACEOF
28348 /* end confdefs.h.  */
28349 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28350    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28351 #define $ac_func innocuous_$ac_func
28352
28353 /* System header to define __stub macros and hopefully few prototypes,
28354     which can conflict with char $ac_func (); below.
28355     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28356     <limits.h> exists even on freestanding compilers.  */
28357
28358 #ifdef __STDC__
28359 # include <limits.h>
28360 #else
28361 # include <assert.h>
28362 #endif
28363
28364 #undef $ac_func
28365
28366 /* Override any GCC internal prototype to avoid an error.
28367    Use char because int might match the return type of a GCC
28368    builtin and then its argument prototype would still apply.  */
28369 #ifdef __cplusplus
28370 extern "C"
28371 #endif
28372 char $ac_func ();
28373 /* The GNU C library defines this for functions which it implements
28374     to always fail with ENOSYS.  Some functions are actually named
28375     something starting with __ and the normal name is an alias.  */
28376 #if defined __stub_$ac_func || defined __stub___$ac_func
28377 choke me
28378 #endif
28379
28380 int
28381 main ()
28382 {
28383 return $ac_func ();
28384   ;
28385   return 0;
28386 }
28387 _ACEOF
28388 rm -f conftest.$ac_objext conftest$ac_exeext
28389 if { (ac_try="$ac_link"
28390 case "(($ac_try" in
28391   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28392   *) ac_try_echo=$ac_try;;
28393 esac
28394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28395   (eval "$ac_link") 2>conftest.er1
28396   ac_status=$?
28397   grep -v '^ *+' conftest.er1 >conftest.err
28398   rm -f conftest.er1
28399   cat conftest.err >&5
28400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28401   (exit $ac_status); } && {
28402          test -z "$ac_c_werror_flag" ||
28403          test ! -s conftest.err
28404        } && test -s conftest$ac_exeext &&
28405        $as_test_x conftest$ac_exeext; then
28406   eval "$as_ac_var=yes"
28407 else
28408   echo "$as_me: failed program was:" >&5
28409 sed 's/^/| /' conftest.$ac_ext >&5
28410
28411         eval "$as_ac_var=no"
28412 fi
28413
28414 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28415       conftest$ac_exeext conftest.$ac_ext
28416 fi
28417 ac_res=`eval echo '${'$as_ac_var'}'`
28418                { echo "$as_me:$LINENO: result: $ac_res" >&5
28419 echo "${ECHO_T}$ac_res" >&6; }
28420 if test `eval echo '${'$as_ac_var'}'` = yes; then
28421   cat >>confdefs.h <<_ACEOF
28422 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28423 _ACEOF
28424
28425 fi
28426 done
28427
28428   else
28429
28430   { echo "$as_me:$LINENO: checking for _finitef declaration" >&5
28431 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6; }
28432   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
28433     if test "${glibcxx_cv_func__finitef_use+set}" = set; then
28434   echo $ECHO_N "(cached) $ECHO_C" >&6
28435 else
28436
28437
28438       ac_ext=cpp
28439 ac_cpp='$CXXCPP $CPPFLAGS'
28440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28443
28444       cat >conftest.$ac_ext <<_ACEOF
28445 /* confdefs.h.  */
28446 _ACEOF
28447 cat confdefs.h >>conftest.$ac_ext
28448 cat >>conftest.$ac_ext <<_ACEOF
28449 /* end confdefs.h.  */
28450 #include <math.h>
28451                       #ifdef HAVE_IEEEFP_H
28452                       #include <ieeefp.h>
28453                       #endif
28454
28455 int
28456 main ()
28457 {
28458  _finitef(0);
28459   ;
28460   return 0;
28461 }
28462 _ACEOF
28463 rm -f conftest.$ac_objext
28464 if { (ac_try="$ac_compile"
28465 case "(($ac_try" in
28466   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28467   *) ac_try_echo=$ac_try;;
28468 esac
28469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28470   (eval "$ac_compile") 2>conftest.er1
28471   ac_status=$?
28472   grep -v '^ *+' conftest.er1 >conftest.err
28473   rm -f conftest.er1
28474   cat conftest.err >&5
28475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28476   (exit $ac_status); } && {
28477          test -z "$ac_cxx_werror_flag" ||
28478          test ! -s conftest.err
28479        } && test -s conftest.$ac_objext; then
28480   glibcxx_cv_func__finitef_use=yes
28481 else
28482   echo "$as_me: failed program was:" >&5
28483 sed 's/^/| /' conftest.$ac_ext >&5
28484
28485         glibcxx_cv_func__finitef_use=no
28486 fi
28487
28488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28489       ac_ext=c
28490 ac_cpp='$CPP $CPPFLAGS'
28491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28494
28495
28496 fi
28497
28498   fi
28499   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
28500 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6; }
28501
28502     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
28503
28504 for ac_func in _finitef
28505 do
28506 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28507 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28508 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28509 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28510   echo $ECHO_N "(cached) $ECHO_C" >&6
28511 else
28512   if test x$gcc_no_link = xyes; then
28513   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28514 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28515    { (exit 1); exit 1; }; }
28516 fi
28517 cat >conftest.$ac_ext <<_ACEOF
28518 /* confdefs.h.  */
28519 _ACEOF
28520 cat confdefs.h >>conftest.$ac_ext
28521 cat >>conftest.$ac_ext <<_ACEOF
28522 /* end confdefs.h.  */
28523 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28524    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28525 #define $ac_func innocuous_$ac_func
28526
28527 /* System header to define __stub macros and hopefully few prototypes,
28528     which can conflict with char $ac_func (); below.
28529     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28530     <limits.h> exists even on freestanding compilers.  */
28531
28532 #ifdef __STDC__
28533 # include <limits.h>
28534 #else
28535 # include <assert.h>
28536 #endif
28537
28538 #undef $ac_func
28539
28540 /* Override any GCC internal prototype to avoid an error.
28541    Use char because int might match the return type of a GCC
28542    builtin and then its argument prototype would still apply.  */
28543 #ifdef __cplusplus
28544 extern "C"
28545 #endif
28546 char $ac_func ();
28547 /* The GNU C library defines this for functions which it implements
28548     to always fail with ENOSYS.  Some functions are actually named
28549     something starting with __ and the normal name is an alias.  */
28550 #if defined __stub_$ac_func || defined __stub___$ac_func
28551 choke me
28552 #endif
28553
28554 int
28555 main ()
28556 {
28557 return $ac_func ();
28558   ;
28559   return 0;
28560 }
28561 _ACEOF
28562 rm -f conftest.$ac_objext conftest$ac_exeext
28563 if { (ac_try="$ac_link"
28564 case "(($ac_try" in
28565   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28566   *) ac_try_echo=$ac_try;;
28567 esac
28568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28569   (eval "$ac_link") 2>conftest.er1
28570   ac_status=$?
28571   grep -v '^ *+' conftest.er1 >conftest.err
28572   rm -f conftest.er1
28573   cat conftest.err >&5
28574   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28575   (exit $ac_status); } && {
28576          test -z "$ac_c_werror_flag" ||
28577          test ! -s conftest.err
28578        } && test -s conftest$ac_exeext &&
28579        $as_test_x conftest$ac_exeext; then
28580   eval "$as_ac_var=yes"
28581 else
28582   echo "$as_me: failed program was:" >&5
28583 sed 's/^/| /' conftest.$ac_ext >&5
28584
28585         eval "$as_ac_var=no"
28586 fi
28587
28588 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28589       conftest$ac_exeext conftest.$ac_ext
28590 fi
28591 ac_res=`eval echo '${'$as_ac_var'}'`
28592                { echo "$as_me:$LINENO: result: $ac_res" >&5
28593 echo "${ECHO_T}$ac_res" >&6; }
28594 if test `eval echo '${'$as_ac_var'}'` = yes; then
28595   cat >>confdefs.h <<_ACEOF
28596 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28597 _ACEOF
28598
28599 fi
28600 done
28601
28602     fi
28603   fi
28604
28605
28606
28607
28608
28609
28610     { echo "$as_me:$LINENO: checking for long double trig functions" >&5
28611 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6; }
28612   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
28613   echo $ECHO_N "(cached) $ECHO_C" >&6
28614 else
28615
28616
28617     ac_ext=cpp
28618 ac_cpp='$CXXCPP $CPPFLAGS'
28619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28622
28623     cat >conftest.$ac_ext <<_ACEOF
28624 /* confdefs.h.  */
28625 _ACEOF
28626 cat confdefs.h >>conftest.$ac_ext
28627 cat >>conftest.$ac_ext <<_ACEOF
28628 /* end confdefs.h.  */
28629 #include <math.h>
28630 int
28631 main ()
28632 {
28633 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
28634   ;
28635   return 0;
28636 }
28637 _ACEOF
28638 rm -f conftest.$ac_objext
28639 if { (ac_try="$ac_compile"
28640 case "(($ac_try" in
28641   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28642   *) ac_try_echo=$ac_try;;
28643 esac
28644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28645   (eval "$ac_compile") 2>conftest.er1
28646   ac_status=$?
28647   grep -v '^ *+' conftest.er1 >conftest.err
28648   rm -f conftest.er1
28649   cat conftest.err >&5
28650   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28651   (exit $ac_status); } && {
28652          test -z "$ac_cxx_werror_flag" ||
28653          test ! -s conftest.err
28654        } && test -s conftest.$ac_objext; then
28655   glibcxx_cv_func_long_double_trig_use=yes
28656 else
28657   echo "$as_me: failed program was:" >&5
28658 sed 's/^/| /' conftest.$ac_ext >&5
28659
28660         glibcxx_cv_func_long_double_trig_use=no
28661 fi
28662
28663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28664     ac_ext=c
28665 ac_cpp='$CPP $CPPFLAGS'
28666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28669
28670 fi
28671
28672   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
28673 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6; }
28674   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
28675
28676
28677
28678
28679
28680
28681
28682
28683
28684 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
28685 do
28686 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28687 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28688 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28689 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28690   echo $ECHO_N "(cached) $ECHO_C" >&6
28691 else
28692   if test x$gcc_no_link = xyes; then
28693   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28694 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28695    { (exit 1); exit 1; }; }
28696 fi
28697 cat >conftest.$ac_ext <<_ACEOF
28698 /* confdefs.h.  */
28699 _ACEOF
28700 cat confdefs.h >>conftest.$ac_ext
28701 cat >>conftest.$ac_ext <<_ACEOF
28702 /* end confdefs.h.  */
28703 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28704    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28705 #define $ac_func innocuous_$ac_func
28706
28707 /* System header to define __stub macros and hopefully few prototypes,
28708     which can conflict with char $ac_func (); below.
28709     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28710     <limits.h> exists even on freestanding compilers.  */
28711
28712 #ifdef __STDC__
28713 # include <limits.h>
28714 #else
28715 # include <assert.h>
28716 #endif
28717
28718 #undef $ac_func
28719
28720 /* Override any GCC internal prototype to avoid an error.
28721    Use char because int might match the return type of a GCC
28722    builtin and then its argument prototype would still apply.  */
28723 #ifdef __cplusplus
28724 extern "C"
28725 #endif
28726 char $ac_func ();
28727 /* The GNU C library defines this for functions which it implements
28728     to always fail with ENOSYS.  Some functions are actually named
28729     something starting with __ and the normal name is an alias.  */
28730 #if defined __stub_$ac_func || defined __stub___$ac_func
28731 choke me
28732 #endif
28733
28734 int
28735 main ()
28736 {
28737 return $ac_func ();
28738   ;
28739   return 0;
28740 }
28741 _ACEOF
28742 rm -f conftest.$ac_objext conftest$ac_exeext
28743 if { (ac_try="$ac_link"
28744 case "(($ac_try" in
28745   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28746   *) ac_try_echo=$ac_try;;
28747 esac
28748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28749   (eval "$ac_link") 2>conftest.er1
28750   ac_status=$?
28751   grep -v '^ *+' conftest.er1 >conftest.err
28752   rm -f conftest.er1
28753   cat conftest.err >&5
28754   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28755   (exit $ac_status); } && {
28756          test -z "$ac_c_werror_flag" ||
28757          test ! -s conftest.err
28758        } && test -s conftest$ac_exeext &&
28759        $as_test_x conftest$ac_exeext; then
28760   eval "$as_ac_var=yes"
28761 else
28762   echo "$as_me: failed program was:" >&5
28763 sed 's/^/| /' conftest.$ac_ext >&5
28764
28765         eval "$as_ac_var=no"
28766 fi
28767
28768 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28769       conftest$ac_exeext conftest.$ac_ext
28770 fi
28771 ac_res=`eval echo '${'$as_ac_var'}'`
28772                { echo "$as_me:$LINENO: result: $ac_res" >&5
28773 echo "${ECHO_T}$ac_res" >&6; }
28774 if test `eval echo '${'$as_ac_var'}'` = yes; then
28775   cat >>confdefs.h <<_ACEOF
28776 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28777 _ACEOF
28778
28779 fi
28780 done
28781
28782   else
28783     { echo "$as_me:$LINENO: checking for _long double trig functions" >&5
28784 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6; }
28785     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
28786   echo $ECHO_N "(cached) $ECHO_C" >&6
28787 else
28788
28789
28790       ac_ext=cpp
28791 ac_cpp='$CXXCPP $CPPFLAGS'
28792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28795
28796       cat >conftest.$ac_ext <<_ACEOF
28797 /* confdefs.h.  */
28798 _ACEOF
28799 cat confdefs.h >>conftest.$ac_ext
28800 cat >>conftest.$ac_ext <<_ACEOF
28801 /* end confdefs.h.  */
28802 #include <math.h>
28803 int
28804 main ()
28805 {
28806 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
28807   ;
28808   return 0;
28809 }
28810 _ACEOF
28811 rm -f conftest.$ac_objext
28812 if { (ac_try="$ac_compile"
28813 case "(($ac_try" in
28814   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28815   *) ac_try_echo=$ac_try;;
28816 esac
28817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28818   (eval "$ac_compile") 2>conftest.er1
28819   ac_status=$?
28820   grep -v '^ *+' conftest.er1 >conftest.err
28821   rm -f conftest.er1
28822   cat conftest.err >&5
28823   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28824   (exit $ac_status); } && {
28825          test -z "$ac_cxx_werror_flag" ||
28826          test ! -s conftest.err
28827        } && test -s conftest.$ac_objext; then
28828   glibcxx_cv_func__long_double_trig_use=yes
28829 else
28830   echo "$as_me: failed program was:" >&5
28831 sed 's/^/| /' conftest.$ac_ext >&5
28832
28833         glibcxx_cv_func__long_double_trig_use=no
28834 fi
28835
28836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28837       ac_ext=c
28838 ac_cpp='$CPP $CPPFLAGS'
28839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28842
28843 fi
28844
28845     { echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
28846 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6; }
28847     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
28848
28849
28850
28851
28852
28853
28854
28855
28856
28857 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
28858 do
28859 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28860 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28861 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28862 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28863   echo $ECHO_N "(cached) $ECHO_C" >&6
28864 else
28865   if test x$gcc_no_link = xyes; then
28866   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28867 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28868    { (exit 1); exit 1; }; }
28869 fi
28870 cat >conftest.$ac_ext <<_ACEOF
28871 /* confdefs.h.  */
28872 _ACEOF
28873 cat confdefs.h >>conftest.$ac_ext
28874 cat >>conftest.$ac_ext <<_ACEOF
28875 /* end confdefs.h.  */
28876 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28877    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28878 #define $ac_func innocuous_$ac_func
28879
28880 /* System header to define __stub macros and hopefully few prototypes,
28881     which can conflict with char $ac_func (); below.
28882     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28883     <limits.h> exists even on freestanding compilers.  */
28884
28885 #ifdef __STDC__
28886 # include <limits.h>
28887 #else
28888 # include <assert.h>
28889 #endif
28890
28891 #undef $ac_func
28892
28893 /* Override any GCC internal prototype to avoid an error.
28894    Use char because int might match the return type of a GCC
28895    builtin and then its argument prototype would still apply.  */
28896 #ifdef __cplusplus
28897 extern "C"
28898 #endif
28899 char $ac_func ();
28900 /* The GNU C library defines this for functions which it implements
28901     to always fail with ENOSYS.  Some functions are actually named
28902     something starting with __ and the normal name is an alias.  */
28903 #if defined __stub_$ac_func || defined __stub___$ac_func
28904 choke me
28905 #endif
28906
28907 int
28908 main ()
28909 {
28910 return $ac_func ();
28911   ;
28912   return 0;
28913 }
28914 _ACEOF
28915 rm -f conftest.$ac_objext conftest$ac_exeext
28916 if { (ac_try="$ac_link"
28917 case "(($ac_try" in
28918   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28919   *) ac_try_echo=$ac_try;;
28920 esac
28921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28922   (eval "$ac_link") 2>conftest.er1
28923   ac_status=$?
28924   grep -v '^ *+' conftest.er1 >conftest.err
28925   rm -f conftest.er1
28926   cat conftest.err >&5
28927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28928   (exit $ac_status); } && {
28929          test -z "$ac_c_werror_flag" ||
28930          test ! -s conftest.err
28931        } && test -s conftest$ac_exeext &&
28932        $as_test_x conftest$ac_exeext; then
28933   eval "$as_ac_var=yes"
28934 else
28935   echo "$as_me: failed program was:" >&5
28936 sed 's/^/| /' conftest.$ac_ext >&5
28937
28938         eval "$as_ac_var=no"
28939 fi
28940
28941 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28942       conftest$ac_exeext conftest.$ac_ext
28943 fi
28944 ac_res=`eval echo '${'$as_ac_var'}'`
28945                { echo "$as_me:$LINENO: result: $ac_res" >&5
28946 echo "${ECHO_T}$ac_res" >&6; }
28947 if test `eval echo '${'$as_ac_var'}'` = yes; then
28948   cat >>confdefs.h <<_ACEOF
28949 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28950 _ACEOF
28951
28952 fi
28953 done
28954
28955     fi
28956   fi
28957
28958
28959
28960
28961
28962
28963
28964
28965
28966
28967
28968
28969
28970
28971     { echo "$as_me:$LINENO: checking for long double round functions" >&5
28972 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6; }
28973   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
28974   echo $ECHO_N "(cached) $ECHO_C" >&6
28975 else
28976
28977
28978     ac_ext=cpp
28979 ac_cpp='$CXXCPP $CPPFLAGS'
28980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28983
28984     cat >conftest.$ac_ext <<_ACEOF
28985 /* confdefs.h.  */
28986 _ACEOF
28987 cat confdefs.h >>conftest.$ac_ext
28988 cat >>conftest.$ac_ext <<_ACEOF
28989 /* end confdefs.h.  */
28990 #include <math.h>
28991 int
28992 main ()
28993 {
28994 ceill (0); floorl (0);
28995   ;
28996   return 0;
28997 }
28998 _ACEOF
28999 rm -f conftest.$ac_objext
29000 if { (ac_try="$ac_compile"
29001 case "(($ac_try" in
29002   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29003   *) ac_try_echo=$ac_try;;
29004 esac
29005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29006   (eval "$ac_compile") 2>conftest.er1
29007   ac_status=$?
29008   grep -v '^ *+' conftest.er1 >conftest.err
29009   rm -f conftest.er1
29010   cat conftest.err >&5
29011   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29012   (exit $ac_status); } && {
29013          test -z "$ac_cxx_werror_flag" ||
29014          test ! -s conftest.err
29015        } && test -s conftest.$ac_objext; then
29016   glibcxx_cv_func_long_double_round_use=yes
29017 else
29018   echo "$as_me: failed program was:" >&5
29019 sed 's/^/| /' conftest.$ac_ext >&5
29020
29021         glibcxx_cv_func_long_double_round_use=no
29022 fi
29023
29024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29025     ac_ext=c
29026 ac_cpp='$CPP $CPPFLAGS'
29027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29030
29031 fi
29032
29033   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
29034 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6; }
29035   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
29036
29037
29038 for ac_func in ceill floorl
29039 do
29040 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29041 { echo "$as_me:$LINENO: checking for $ac_func" >&5
29042 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
29043 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
29044   echo $ECHO_N "(cached) $ECHO_C" >&6
29045 else
29046   if test x$gcc_no_link = xyes; then
29047   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29048 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29049    { (exit 1); exit 1; }; }
29050 fi
29051 cat >conftest.$ac_ext <<_ACEOF
29052 /* confdefs.h.  */
29053 _ACEOF
29054 cat confdefs.h >>conftest.$ac_ext
29055 cat >>conftest.$ac_ext <<_ACEOF
29056 /* end confdefs.h.  */
29057 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29058    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
29059 #define $ac_func innocuous_$ac_func
29060
29061 /* System header to define __stub macros and hopefully few prototypes,
29062     which can conflict with char $ac_func (); below.
29063     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29064     <limits.h> exists even on freestanding compilers.  */
29065
29066 #ifdef __STDC__
29067 # include <limits.h>
29068 #else
29069 # include <assert.h>
29070 #endif
29071
29072 #undef $ac_func
29073
29074 /* Override any GCC internal prototype to avoid an error.
29075    Use char because int might match the return type of a GCC
29076    builtin and then its argument prototype would still apply.  */
29077 #ifdef __cplusplus
29078 extern "C"
29079 #endif
29080 char $ac_func ();
29081 /* The GNU C library defines this for functions which it implements
29082     to always fail with ENOSYS.  Some functions are actually named
29083     something starting with __ and the normal name is an alias.  */
29084 #if defined __stub_$ac_func || defined __stub___$ac_func
29085 choke me
29086 #endif
29087
29088 int
29089 main ()
29090 {
29091 return $ac_func ();
29092   ;
29093   return 0;
29094 }
29095 _ACEOF
29096 rm -f conftest.$ac_objext conftest$ac_exeext
29097 if { (ac_try="$ac_link"
29098 case "(($ac_try" in
29099   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29100   *) ac_try_echo=$ac_try;;
29101 esac
29102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29103   (eval "$ac_link") 2>conftest.er1
29104   ac_status=$?
29105   grep -v '^ *+' conftest.er1 >conftest.err
29106   rm -f conftest.er1
29107   cat conftest.err >&5
29108   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29109   (exit $ac_status); } && {
29110          test -z "$ac_c_werror_flag" ||
29111          test ! -s conftest.err
29112        } && test -s conftest$ac_exeext &&
29113        $as_test_x conftest$ac_exeext; then
29114   eval "$as_ac_var=yes"
29115 else
29116   echo "$as_me: failed program was:" >&5
29117 sed 's/^/| /' conftest.$ac_ext >&5
29118
29119         eval "$as_ac_var=no"
29120 fi
29121
29122 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29123       conftest$ac_exeext conftest.$ac_ext
29124 fi
29125 ac_res=`eval echo '${'$as_ac_var'}'`
29126                { echo "$as_me:$LINENO: result: $ac_res" >&5
29127 echo "${ECHO_T}$ac_res" >&6; }
29128 if test `eval echo '${'$as_ac_var'}'` = yes; then
29129   cat >>confdefs.h <<_ACEOF
29130 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29131 _ACEOF
29132
29133 fi
29134 done
29135
29136   else
29137     { echo "$as_me:$LINENO: checking for _long double round functions" >&5
29138 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6; }
29139     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
29140   echo $ECHO_N "(cached) $ECHO_C" >&6
29141 else
29142
29143
29144       ac_ext=cpp
29145 ac_cpp='$CXXCPP $CPPFLAGS'
29146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29149
29150       cat >conftest.$ac_ext <<_ACEOF
29151 /* confdefs.h.  */
29152 _ACEOF
29153 cat confdefs.h >>conftest.$ac_ext
29154 cat >>conftest.$ac_ext <<_ACEOF
29155 /* end confdefs.h.  */
29156 #include <math.h>
29157 int
29158 main ()
29159 {
29160 _ceill (0); _floorl (0);
29161   ;
29162   return 0;
29163 }
29164 _ACEOF
29165 rm -f conftest.$ac_objext
29166 if { (ac_try="$ac_compile"
29167 case "(($ac_try" in
29168   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29169   *) ac_try_echo=$ac_try;;
29170 esac
29171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29172   (eval "$ac_compile") 2>conftest.er1
29173   ac_status=$?
29174   grep -v '^ *+' conftest.er1 >conftest.err
29175   rm -f conftest.er1
29176   cat conftest.err >&5
29177   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29178   (exit $ac_status); } && {
29179          test -z "$ac_cxx_werror_flag" ||
29180          test ! -s conftest.err
29181        } && test -s conftest.$ac_objext; then
29182   glibcxx_cv_func__long_double_round_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_round_use=no
29188 fi
29189
29190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29191       ac_ext=c
29192 ac_cpp='$CPP $CPPFLAGS'
29193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29196
29197 fi
29198
29199     { echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
29200 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6; }
29201     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
29202
29203
29204 for ac_func in _ceill _floorl
29205 do
29206 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29207 { echo "$as_me:$LINENO: checking for $ac_func" >&5
29208 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
29209 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
29210   echo $ECHO_N "(cached) $ECHO_C" >&6
29211 else
29212   if test x$gcc_no_link = xyes; then
29213   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29214 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29215    { (exit 1); exit 1; }; }
29216 fi
29217 cat >conftest.$ac_ext <<_ACEOF
29218 /* confdefs.h.  */
29219 _ACEOF
29220 cat confdefs.h >>conftest.$ac_ext
29221 cat >>conftest.$ac_ext <<_ACEOF
29222 /* end confdefs.h.  */
29223 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29224    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
29225 #define $ac_func innocuous_$ac_func
29226
29227 /* System header to define __stub macros and hopefully few prototypes,
29228     which can conflict with char $ac_func (); below.
29229     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29230     <limits.h> exists even on freestanding compilers.  */
29231
29232 #ifdef __STDC__
29233 # include <limits.h>
29234 #else
29235 # include <assert.h>
29236 #endif
29237
29238 #undef $ac_func
29239
29240 /* Override any GCC internal prototype to avoid an error.
29241    Use char because int might match the return type of a GCC
29242    builtin and then its argument prototype would still apply.  */
29243 #ifdef __cplusplus
29244 extern "C"
29245 #endif
29246 char $ac_func ();
29247 /* The GNU C library defines this for functions which it implements
29248     to always fail with ENOSYS.  Some functions are actually named
29249     something starting with __ and the normal name is an alias.  */
29250 #if defined __stub_$ac_func || defined __stub___$ac_func
29251 choke me
29252 #endif
29253
29254 int
29255 main ()
29256 {
29257 return $ac_func ();
29258   ;
29259   return 0;
29260 }
29261 _ACEOF
29262 rm -f conftest.$ac_objext conftest$ac_exeext
29263 if { (ac_try="$ac_link"
29264 case "(($ac_try" in
29265   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29266   *) ac_try_echo=$ac_try;;
29267 esac
29268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29269   (eval "$ac_link") 2>conftest.er1
29270   ac_status=$?
29271   grep -v '^ *+' conftest.er1 >conftest.err
29272   rm -f conftest.er1
29273   cat conftest.err >&5
29274   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29275   (exit $ac_status); } && {
29276          test -z "$ac_c_werror_flag" ||
29277          test ! -s conftest.err
29278        } && test -s conftest$ac_exeext &&
29279        $as_test_x conftest$ac_exeext; then
29280   eval "$as_ac_var=yes"
29281 else
29282   echo "$as_me: failed program was:" >&5
29283 sed 's/^/| /' conftest.$ac_ext >&5
29284
29285         eval "$as_ac_var=no"
29286 fi
29287
29288 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29289       conftest$ac_exeext conftest.$ac_ext
29290 fi
29291 ac_res=`eval echo '${'$as_ac_var'}'`
29292                { echo "$as_me:$LINENO: result: $ac_res" >&5
29293 echo "${ECHO_T}$ac_res" >&6; }
29294 if test `eval echo '${'$as_ac_var'}'` = yes; then
29295   cat >>confdefs.h <<_ACEOF
29296 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29297 _ACEOF
29298
29299 fi
29300 done
29301
29302     fi
29303   fi
29304
29305
29306
29307
29308
29309
29310
29311
29312   { echo "$as_me:$LINENO: checking for isnanl declaration" >&5
29313 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6; }
29314   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
29315     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
29316   echo $ECHO_N "(cached) $ECHO_C" >&6
29317 else
29318
29319
29320       ac_ext=cpp
29321 ac_cpp='$CXXCPP $CPPFLAGS'
29322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29325
29326       cat >conftest.$ac_ext <<_ACEOF
29327 /* confdefs.h.  */
29328 _ACEOF
29329 cat confdefs.h >>conftest.$ac_ext
29330 cat >>conftest.$ac_ext <<_ACEOF
29331 /* end confdefs.h.  */
29332 #include <math.h>
29333                       #ifdef HAVE_IEEEFP_H
29334                       #include <ieeefp.h>
29335                       #endif
29336
29337 int
29338 main ()
29339 {
29340  isnanl(0);
29341   ;
29342   return 0;
29343 }
29344 _ACEOF
29345 rm -f conftest.$ac_objext
29346 if { (ac_try="$ac_compile"
29347 case "(($ac_try" in
29348   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29349   *) ac_try_echo=$ac_try;;
29350 esac
29351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29352   (eval "$ac_compile") 2>conftest.er1
29353   ac_status=$?
29354   grep -v '^ *+' conftest.er1 >conftest.err
29355   rm -f conftest.er1
29356   cat conftest.err >&5
29357   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29358   (exit $ac_status); } && {
29359          test -z "$ac_cxx_werror_flag" ||
29360          test ! -s conftest.err
29361        } && test -s conftest.$ac_objext; then
29362   glibcxx_cv_func_isnanl_use=yes
29363 else
29364   echo "$as_me: failed program was:" >&5
29365 sed 's/^/| /' conftest.$ac_ext >&5
29366
29367         glibcxx_cv_func_isnanl_use=no
29368 fi
29369
29370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29371       ac_ext=c
29372 ac_cpp='$CPP $CPPFLAGS'
29373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29376
29377
29378 fi
29379
29380   fi
29381   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
29382 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6; }
29383
29384   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
29385
29386 for ac_func in isnanl
29387 do
29388 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29389 { echo "$as_me:$LINENO: checking for $ac_func" >&5
29390 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
29391 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
29392   echo $ECHO_N "(cached) $ECHO_C" >&6
29393 else
29394   if test x$gcc_no_link = xyes; then
29395   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29396 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29397    { (exit 1); exit 1; }; }
29398 fi
29399 cat >conftest.$ac_ext <<_ACEOF
29400 /* confdefs.h.  */
29401 _ACEOF
29402 cat confdefs.h >>conftest.$ac_ext
29403 cat >>conftest.$ac_ext <<_ACEOF
29404 /* end confdefs.h.  */
29405 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29406    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
29407 #define $ac_func innocuous_$ac_func
29408
29409 /* System header to define __stub macros and hopefully few prototypes,
29410     which can conflict with char $ac_func (); below.
29411     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29412     <limits.h> exists even on freestanding compilers.  */
29413
29414 #ifdef __STDC__
29415 # include <limits.h>
29416 #else
29417 # include <assert.h>
29418 #endif
29419
29420 #undef $ac_func
29421
29422 /* Override any GCC internal prototype to avoid an error.
29423    Use char because int might match the return type of a GCC
29424    builtin and then its argument prototype would still apply.  */
29425 #ifdef __cplusplus
29426 extern "C"
29427 #endif
29428 char $ac_func ();
29429 /* The GNU C library defines this for functions which it implements
29430     to always fail with ENOSYS.  Some functions are actually named
29431     something starting with __ and the normal name is an alias.  */
29432 #if defined __stub_$ac_func || defined __stub___$ac_func
29433 choke me
29434 #endif
29435
29436 int
29437 main ()
29438 {
29439 return $ac_func ();
29440   ;
29441   return 0;
29442 }
29443 _ACEOF
29444 rm -f conftest.$ac_objext conftest$ac_exeext
29445 if { (ac_try="$ac_link"
29446 case "(($ac_try" in
29447   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29448   *) ac_try_echo=$ac_try;;
29449 esac
29450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29451   (eval "$ac_link") 2>conftest.er1
29452   ac_status=$?
29453   grep -v '^ *+' conftest.er1 >conftest.err
29454   rm -f conftest.er1
29455   cat conftest.err >&5
29456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29457   (exit $ac_status); } && {
29458          test -z "$ac_c_werror_flag" ||
29459          test ! -s conftest.err
29460        } && test -s conftest$ac_exeext &&
29461        $as_test_x conftest$ac_exeext; then
29462   eval "$as_ac_var=yes"
29463 else
29464   echo "$as_me: failed program was:" >&5
29465 sed 's/^/| /' conftest.$ac_ext >&5
29466
29467         eval "$as_ac_var=no"
29468 fi
29469
29470 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29471       conftest$ac_exeext conftest.$ac_ext
29472 fi
29473 ac_res=`eval echo '${'$as_ac_var'}'`
29474                { echo "$as_me:$LINENO: result: $ac_res" >&5
29475 echo "${ECHO_T}$ac_res" >&6; }
29476 if test `eval echo '${'$as_ac_var'}'` = yes; then
29477   cat >>confdefs.h <<_ACEOF
29478 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29479 _ACEOF
29480
29481 fi
29482 done
29483
29484   else
29485
29486   { echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
29487 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6; }
29488   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
29489     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
29490   echo $ECHO_N "(cached) $ECHO_C" >&6
29491 else
29492
29493
29494       ac_ext=cpp
29495 ac_cpp='$CXXCPP $CPPFLAGS'
29496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29499
29500       cat >conftest.$ac_ext <<_ACEOF
29501 /* confdefs.h.  */
29502 _ACEOF
29503 cat confdefs.h >>conftest.$ac_ext
29504 cat >>conftest.$ac_ext <<_ACEOF
29505 /* end confdefs.h.  */
29506 #include <math.h>
29507                       #ifdef HAVE_IEEEFP_H
29508                       #include <ieeefp.h>
29509                       #endif
29510
29511 int
29512 main ()
29513 {
29514  _isnanl(0);
29515   ;
29516   return 0;
29517 }
29518 _ACEOF
29519 rm -f conftest.$ac_objext
29520 if { (ac_try="$ac_compile"
29521 case "(($ac_try" in
29522   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29523   *) ac_try_echo=$ac_try;;
29524 esac
29525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29526   (eval "$ac_compile") 2>conftest.er1
29527   ac_status=$?
29528   grep -v '^ *+' conftest.er1 >conftest.err
29529   rm -f conftest.er1
29530   cat conftest.err >&5
29531   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29532   (exit $ac_status); } && {
29533          test -z "$ac_cxx_werror_flag" ||
29534          test ! -s conftest.err
29535        } && test -s conftest.$ac_objext; then
29536   glibcxx_cv_func__isnanl_use=yes
29537 else
29538   echo "$as_me: failed program was:" >&5
29539 sed 's/^/| /' conftest.$ac_ext >&5
29540
29541         glibcxx_cv_func__isnanl_use=no
29542 fi
29543
29544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29545       ac_ext=c
29546 ac_cpp='$CPP $CPPFLAGS'
29547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29550
29551
29552 fi
29553
29554   fi
29555   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
29556 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6; }
29557
29558     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
29559
29560 for ac_func in _isnanl
29561 do
29562 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29563 { echo "$as_me:$LINENO: checking for $ac_func" >&5
29564 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
29565 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
29566   echo $ECHO_N "(cached) $ECHO_C" >&6
29567 else
29568   if test x$gcc_no_link = xyes; then
29569   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29570 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29571    { (exit 1); exit 1; }; }
29572 fi
29573 cat >conftest.$ac_ext <<_ACEOF
29574 /* confdefs.h.  */
29575 _ACEOF
29576 cat confdefs.h >>conftest.$ac_ext
29577 cat >>conftest.$ac_ext <<_ACEOF
29578 /* end confdefs.h.  */
29579 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29580    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
29581 #define $ac_func innocuous_$ac_func
29582
29583 /* System header to define __stub macros and hopefully few prototypes,
29584     which can conflict with char $ac_func (); below.
29585     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29586     <limits.h> exists even on freestanding compilers.  */
29587
29588 #ifdef __STDC__
29589 # include <limits.h>
29590 #else
29591 # include <assert.h>
29592 #endif
29593
29594 #undef $ac_func
29595
29596 /* Override any GCC internal prototype to avoid an error.
29597    Use char because int might match the return type of a GCC
29598    builtin and then its argument prototype would still apply.  */
29599 #ifdef __cplusplus
29600 extern "C"
29601 #endif
29602 char $ac_func ();
29603 /* The GNU C library defines this for functions which it implements
29604     to always fail with ENOSYS.  Some functions are actually named
29605     something starting with __ and the normal name is an alias.  */
29606 #if defined __stub_$ac_func || defined __stub___$ac_func
29607 choke me
29608 #endif
29609
29610 int
29611 main ()
29612 {
29613 return $ac_func ();
29614   ;
29615   return 0;
29616 }
29617 _ACEOF
29618 rm -f conftest.$ac_objext conftest$ac_exeext
29619 if { (ac_try="$ac_link"
29620 case "(($ac_try" in
29621   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29622   *) ac_try_echo=$ac_try;;
29623 esac
29624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29625   (eval "$ac_link") 2>conftest.er1
29626   ac_status=$?
29627   grep -v '^ *+' conftest.er1 >conftest.err
29628   rm -f conftest.er1
29629   cat conftest.err >&5
29630   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29631   (exit $ac_status); } && {
29632          test -z "$ac_c_werror_flag" ||
29633          test ! -s conftest.err
29634        } && test -s conftest$ac_exeext &&
29635        $as_test_x conftest$ac_exeext; then
29636   eval "$as_ac_var=yes"
29637 else
29638   echo "$as_me: failed program was:" >&5
29639 sed 's/^/| /' conftest.$ac_ext >&5
29640
29641         eval "$as_ac_var=no"
29642 fi
29643
29644 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29645       conftest$ac_exeext conftest.$ac_ext
29646 fi
29647 ac_res=`eval echo '${'$as_ac_var'}'`
29648                { echo "$as_me:$LINENO: result: $ac_res" >&5
29649 echo "${ECHO_T}$ac_res" >&6; }
29650 if test `eval echo '${'$as_ac_var'}'` = yes; then
29651   cat >>confdefs.h <<_ACEOF
29652 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29653 _ACEOF
29654
29655 fi
29656 done
29657
29658     fi
29659   fi
29660
29661
29662
29663
29664
29665
29666   { echo "$as_me:$LINENO: checking for isinfl declaration" >&5
29667 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6; }
29668   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
29669     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
29670   echo $ECHO_N "(cached) $ECHO_C" >&6
29671 else
29672
29673
29674       ac_ext=cpp
29675 ac_cpp='$CXXCPP $CPPFLAGS'
29676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29679
29680       cat >conftest.$ac_ext <<_ACEOF
29681 /* confdefs.h.  */
29682 _ACEOF
29683 cat confdefs.h >>conftest.$ac_ext
29684 cat >>conftest.$ac_ext <<_ACEOF
29685 /* end confdefs.h.  */
29686 #include <math.h>
29687                       #ifdef HAVE_IEEEFP_H
29688                       #include <ieeefp.h>
29689                       #endif
29690
29691 int
29692 main ()
29693 {
29694  isinfl(0);
29695   ;
29696   return 0;
29697 }
29698 _ACEOF
29699 rm -f conftest.$ac_objext
29700 if { (ac_try="$ac_compile"
29701 case "(($ac_try" in
29702   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29703   *) ac_try_echo=$ac_try;;
29704 esac
29705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29706   (eval "$ac_compile") 2>conftest.er1
29707   ac_status=$?
29708   grep -v '^ *+' conftest.er1 >conftest.err
29709   rm -f conftest.er1
29710   cat conftest.err >&5
29711   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29712   (exit $ac_status); } && {
29713          test -z "$ac_cxx_werror_flag" ||
29714          test ! -s conftest.err
29715        } && test -s conftest.$ac_objext; then
29716   glibcxx_cv_func_isinfl_use=yes
29717 else
29718   echo "$as_me: failed program was:" >&5
29719 sed 's/^/| /' conftest.$ac_ext >&5
29720
29721         glibcxx_cv_func_isinfl_use=no
29722 fi
29723
29724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29725       ac_ext=c
29726 ac_cpp='$CPP $CPPFLAGS'
29727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29730
29731
29732 fi
29733
29734   fi
29735   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
29736 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6; }
29737
29738   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
29739
29740 for ac_func in isinfl
29741 do
29742 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29743 { echo "$as_me:$LINENO: checking for $ac_func" >&5
29744 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
29745 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
29746   echo $ECHO_N "(cached) $ECHO_C" >&6
29747 else
29748   if test x$gcc_no_link = xyes; then
29749   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29750 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29751    { (exit 1); exit 1; }; }
29752 fi
29753 cat >conftest.$ac_ext <<_ACEOF
29754 /* confdefs.h.  */
29755 _ACEOF
29756 cat confdefs.h >>conftest.$ac_ext
29757 cat >>conftest.$ac_ext <<_ACEOF
29758 /* end confdefs.h.  */
29759 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29760    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
29761 #define $ac_func innocuous_$ac_func
29762
29763 /* System header to define __stub macros and hopefully few prototypes,
29764     which can conflict with char $ac_func (); below.
29765     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29766     <limits.h> exists even on freestanding compilers.  */
29767
29768 #ifdef __STDC__
29769 # include <limits.h>
29770 #else
29771 # include <assert.h>
29772 #endif
29773
29774 #undef $ac_func
29775
29776 /* Override any GCC internal prototype to avoid an error.
29777    Use char because int might match the return type of a GCC
29778    builtin and then its argument prototype would still apply.  */
29779 #ifdef __cplusplus
29780 extern "C"
29781 #endif
29782 char $ac_func ();
29783 /* The GNU C library defines this for functions which it implements
29784     to always fail with ENOSYS.  Some functions are actually named
29785     something starting with __ and the normal name is an alias.  */
29786 #if defined __stub_$ac_func || defined __stub___$ac_func
29787 choke me
29788 #endif
29789
29790 int
29791 main ()
29792 {
29793 return $ac_func ();
29794   ;
29795   return 0;
29796 }
29797 _ACEOF
29798 rm -f conftest.$ac_objext conftest$ac_exeext
29799 if { (ac_try="$ac_link"
29800 case "(($ac_try" in
29801   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29802   *) ac_try_echo=$ac_try;;
29803 esac
29804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29805   (eval "$ac_link") 2>conftest.er1
29806   ac_status=$?
29807   grep -v '^ *+' conftest.er1 >conftest.err
29808   rm -f conftest.er1
29809   cat conftest.err >&5
29810   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29811   (exit $ac_status); } && {
29812          test -z "$ac_c_werror_flag" ||
29813          test ! -s conftest.err
29814        } && test -s conftest$ac_exeext &&
29815        $as_test_x conftest$ac_exeext; then
29816   eval "$as_ac_var=yes"
29817 else
29818   echo "$as_me: failed program was:" >&5
29819 sed 's/^/| /' conftest.$ac_ext >&5
29820
29821         eval "$as_ac_var=no"
29822 fi
29823
29824 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29825       conftest$ac_exeext conftest.$ac_ext
29826 fi
29827 ac_res=`eval echo '${'$as_ac_var'}'`
29828                { echo "$as_me:$LINENO: result: $ac_res" >&5
29829 echo "${ECHO_T}$ac_res" >&6; }
29830 if test `eval echo '${'$as_ac_var'}'` = yes; then
29831   cat >>confdefs.h <<_ACEOF
29832 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29833 _ACEOF
29834
29835 fi
29836 done
29837
29838   else
29839
29840   { echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
29841 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6; }
29842   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
29843     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
29844   echo $ECHO_N "(cached) $ECHO_C" >&6
29845 else
29846
29847
29848       ac_ext=cpp
29849 ac_cpp='$CXXCPP $CPPFLAGS'
29850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29853
29854       cat >conftest.$ac_ext <<_ACEOF
29855 /* confdefs.h.  */
29856 _ACEOF
29857 cat confdefs.h >>conftest.$ac_ext
29858 cat >>conftest.$ac_ext <<_ACEOF
29859 /* end confdefs.h.  */
29860 #include <math.h>
29861                       #ifdef HAVE_IEEEFP_H
29862                       #include <ieeefp.h>
29863                       #endif
29864
29865 int
29866 main ()
29867 {
29868  _isinfl(0);
29869   ;
29870   return 0;
29871 }
29872 _ACEOF
29873 rm -f conftest.$ac_objext
29874 if { (ac_try="$ac_compile"
29875 case "(($ac_try" in
29876   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29877   *) ac_try_echo=$ac_try;;
29878 esac
29879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29880   (eval "$ac_compile") 2>conftest.er1
29881   ac_status=$?
29882   grep -v '^ *+' conftest.er1 >conftest.err
29883   rm -f conftest.er1
29884   cat conftest.err >&5
29885   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29886   (exit $ac_status); } && {
29887          test -z "$ac_cxx_werror_flag" ||
29888          test ! -s conftest.err
29889        } && test -s conftest.$ac_objext; then
29890   glibcxx_cv_func__isinfl_use=yes
29891 else
29892   echo "$as_me: failed program was:" >&5
29893 sed 's/^/| /' conftest.$ac_ext >&5
29894
29895         glibcxx_cv_func__isinfl_use=no
29896 fi
29897
29898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29899       ac_ext=c
29900 ac_cpp='$CPP $CPPFLAGS'
29901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29904
29905
29906 fi
29907
29908   fi
29909   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
29910 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6; }
29911
29912     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
29913
29914 for ac_func in _isinfl
29915 do
29916 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29917 { echo "$as_me:$LINENO: checking for $ac_func" >&5
29918 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
29919 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
29920   echo $ECHO_N "(cached) $ECHO_C" >&6
29921 else
29922   if test x$gcc_no_link = xyes; then
29923   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29924 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29925    { (exit 1); exit 1; }; }
29926 fi
29927 cat >conftest.$ac_ext <<_ACEOF
29928 /* confdefs.h.  */
29929 _ACEOF
29930 cat confdefs.h >>conftest.$ac_ext
29931 cat >>conftest.$ac_ext <<_ACEOF
29932 /* end confdefs.h.  */
29933 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29934    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
29935 #define $ac_func innocuous_$ac_func
29936
29937 /* System header to define __stub macros and hopefully few prototypes,
29938     which can conflict with char $ac_func (); below.
29939     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29940     <limits.h> exists even on freestanding compilers.  */
29941
29942 #ifdef __STDC__
29943 # include <limits.h>
29944 #else
29945 # include <assert.h>
29946 #endif
29947
29948 #undef $ac_func
29949
29950 /* Override any GCC internal prototype to avoid an error.
29951    Use char because int might match the return type of a GCC
29952    builtin and then its argument prototype would still apply.  */
29953 #ifdef __cplusplus
29954 extern "C"
29955 #endif
29956 char $ac_func ();
29957 /* The GNU C library defines this for functions which it implements
29958     to always fail with ENOSYS.  Some functions are actually named
29959     something starting with __ and the normal name is an alias.  */
29960 #if defined __stub_$ac_func || defined __stub___$ac_func
29961 choke me
29962 #endif
29963
29964 int
29965 main ()
29966 {
29967 return $ac_func ();
29968   ;
29969   return 0;
29970 }
29971 _ACEOF
29972 rm -f conftest.$ac_objext conftest$ac_exeext
29973 if { (ac_try="$ac_link"
29974 case "(($ac_try" in
29975   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29976   *) ac_try_echo=$ac_try;;
29977 esac
29978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29979   (eval "$ac_link") 2>conftest.er1
29980   ac_status=$?
29981   grep -v '^ *+' conftest.er1 >conftest.err
29982   rm -f conftest.er1
29983   cat conftest.err >&5
29984   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29985   (exit $ac_status); } && {
29986          test -z "$ac_c_werror_flag" ||
29987          test ! -s conftest.err
29988        } && test -s conftest$ac_exeext &&
29989        $as_test_x conftest$ac_exeext; then
29990   eval "$as_ac_var=yes"
29991 else
29992   echo "$as_me: failed program was:" >&5
29993 sed 's/^/| /' conftest.$ac_ext >&5
29994
29995         eval "$as_ac_var=no"
29996 fi
29997
29998 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29999       conftest$ac_exeext conftest.$ac_ext
30000 fi
30001 ac_res=`eval echo '${'$as_ac_var'}'`
30002                { echo "$as_me:$LINENO: result: $ac_res" >&5
30003 echo "${ECHO_T}$ac_res" >&6; }
30004 if test `eval echo '${'$as_ac_var'}'` = yes; then
30005   cat >>confdefs.h <<_ACEOF
30006 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30007 _ACEOF
30008
30009 fi
30010 done
30011
30012     fi
30013   fi
30014
30015
30016
30017
30018
30019
30020   { echo "$as_me:$LINENO: checking for copysignl declaration" >&5
30021 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6; }
30022   if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
30023     if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
30024   echo $ECHO_N "(cached) $ECHO_C" >&6
30025 else
30026
30027
30028       ac_ext=cpp
30029 ac_cpp='$CXXCPP $CPPFLAGS'
30030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30033
30034       cat >conftest.$ac_ext <<_ACEOF
30035 /* confdefs.h.  */
30036 _ACEOF
30037 cat confdefs.h >>conftest.$ac_ext
30038 cat >>conftest.$ac_ext <<_ACEOF
30039 /* end confdefs.h.  */
30040 #include <math.h>
30041 int
30042 main ()
30043 {
30044  copysignl(0, 0);
30045   ;
30046   return 0;
30047 }
30048 _ACEOF
30049 rm -f conftest.$ac_objext
30050 if { (ac_try="$ac_compile"
30051 case "(($ac_try" in
30052   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30053   *) ac_try_echo=$ac_try;;
30054 esac
30055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30056   (eval "$ac_compile") 2>conftest.er1
30057   ac_status=$?
30058   grep -v '^ *+' conftest.er1 >conftest.err
30059   rm -f conftest.er1
30060   cat conftest.err >&5
30061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30062   (exit $ac_status); } && {
30063          test -z "$ac_cxx_werror_flag" ||
30064          test ! -s conftest.err
30065        } && test -s conftest.$ac_objext; then
30066   glibcxx_cv_func_copysignl_use=yes
30067 else
30068   echo "$as_me: failed program was:" >&5
30069 sed 's/^/| /' conftest.$ac_ext >&5
30070
30071         glibcxx_cv_func_copysignl_use=no
30072 fi
30073
30074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30075       ac_ext=c
30076 ac_cpp='$CPP $CPPFLAGS'
30077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30080
30081
30082 fi
30083
30084   fi
30085   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
30086 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6; }
30087
30088   if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
30089
30090 for ac_func in copysignl
30091 do
30092 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30093 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30094 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30095 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30096   echo $ECHO_N "(cached) $ECHO_C" >&6
30097 else
30098   if test x$gcc_no_link = xyes; then
30099   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30100 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30101    { (exit 1); exit 1; }; }
30102 fi
30103 cat >conftest.$ac_ext <<_ACEOF
30104 /* confdefs.h.  */
30105 _ACEOF
30106 cat confdefs.h >>conftest.$ac_ext
30107 cat >>conftest.$ac_ext <<_ACEOF
30108 /* end confdefs.h.  */
30109 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30110    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
30111 #define $ac_func innocuous_$ac_func
30112
30113 /* System header to define __stub macros and hopefully few prototypes,
30114     which can conflict with char $ac_func (); below.
30115     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30116     <limits.h> exists even on freestanding compilers.  */
30117
30118 #ifdef __STDC__
30119 # include <limits.h>
30120 #else
30121 # include <assert.h>
30122 #endif
30123
30124 #undef $ac_func
30125
30126 /* Override any GCC internal prototype to avoid an error.
30127    Use char because int might match the return type of a GCC
30128    builtin and then its argument prototype would still apply.  */
30129 #ifdef __cplusplus
30130 extern "C"
30131 #endif
30132 char $ac_func ();
30133 /* The GNU C library defines this for functions which it implements
30134     to always fail with ENOSYS.  Some functions are actually named
30135     something starting with __ and the normal name is an alias.  */
30136 #if defined __stub_$ac_func || defined __stub___$ac_func
30137 choke me
30138 #endif
30139
30140 int
30141 main ()
30142 {
30143 return $ac_func ();
30144   ;
30145   return 0;
30146 }
30147 _ACEOF
30148 rm -f conftest.$ac_objext conftest$ac_exeext
30149 if { (ac_try="$ac_link"
30150 case "(($ac_try" in
30151   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30152   *) ac_try_echo=$ac_try;;
30153 esac
30154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30155   (eval "$ac_link") 2>conftest.er1
30156   ac_status=$?
30157   grep -v '^ *+' conftest.er1 >conftest.err
30158   rm -f conftest.er1
30159   cat conftest.err >&5
30160   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30161   (exit $ac_status); } && {
30162          test -z "$ac_c_werror_flag" ||
30163          test ! -s conftest.err
30164        } && test -s conftest$ac_exeext &&
30165        $as_test_x conftest$ac_exeext; then
30166   eval "$as_ac_var=yes"
30167 else
30168   echo "$as_me: failed program was:" >&5
30169 sed 's/^/| /' conftest.$ac_ext >&5
30170
30171         eval "$as_ac_var=no"
30172 fi
30173
30174 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30175       conftest$ac_exeext conftest.$ac_ext
30176 fi
30177 ac_res=`eval echo '${'$as_ac_var'}'`
30178                { echo "$as_me:$LINENO: result: $ac_res" >&5
30179 echo "${ECHO_T}$ac_res" >&6; }
30180 if test `eval echo '${'$as_ac_var'}'` = yes; then
30181   cat >>confdefs.h <<_ACEOF
30182 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30183 _ACEOF
30184
30185 fi
30186 done
30187
30188   else
30189
30190   { echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
30191 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6; }
30192   if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
30193     if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
30194   echo $ECHO_N "(cached) $ECHO_C" >&6
30195 else
30196
30197
30198       ac_ext=cpp
30199 ac_cpp='$CXXCPP $CPPFLAGS'
30200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30203
30204       cat >conftest.$ac_ext <<_ACEOF
30205 /* confdefs.h.  */
30206 _ACEOF
30207 cat confdefs.h >>conftest.$ac_ext
30208 cat >>conftest.$ac_ext <<_ACEOF
30209 /* end confdefs.h.  */
30210 #include <math.h>
30211 int
30212 main ()
30213 {
30214  _copysignl(0, 0);
30215   ;
30216   return 0;
30217 }
30218 _ACEOF
30219 rm -f conftest.$ac_objext
30220 if { (ac_try="$ac_compile"
30221 case "(($ac_try" in
30222   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30223   *) ac_try_echo=$ac_try;;
30224 esac
30225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30226   (eval "$ac_compile") 2>conftest.er1
30227   ac_status=$?
30228   grep -v '^ *+' conftest.er1 >conftest.err
30229   rm -f conftest.er1
30230   cat conftest.err >&5
30231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30232   (exit $ac_status); } && {
30233          test -z "$ac_cxx_werror_flag" ||
30234          test ! -s conftest.err
30235        } && test -s conftest.$ac_objext; then
30236   glibcxx_cv_func__copysignl_use=yes
30237 else
30238   echo "$as_me: failed program was:" >&5
30239 sed 's/^/| /' conftest.$ac_ext >&5
30240
30241         glibcxx_cv_func__copysignl_use=no
30242 fi
30243
30244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30245       ac_ext=c
30246 ac_cpp='$CPP $CPPFLAGS'
30247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30250
30251
30252 fi
30253
30254   fi
30255   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
30256 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6; }
30257
30258     if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
30259
30260 for ac_func in _copysignl
30261 do
30262 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30263 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30264 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30265 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30266   echo $ECHO_N "(cached) $ECHO_C" >&6
30267 else
30268   if test x$gcc_no_link = xyes; then
30269   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30270 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30271    { (exit 1); exit 1; }; }
30272 fi
30273 cat >conftest.$ac_ext <<_ACEOF
30274 /* confdefs.h.  */
30275 _ACEOF
30276 cat confdefs.h >>conftest.$ac_ext
30277 cat >>conftest.$ac_ext <<_ACEOF
30278 /* end confdefs.h.  */
30279 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30280    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
30281 #define $ac_func innocuous_$ac_func
30282
30283 /* System header to define __stub macros and hopefully few prototypes,
30284     which can conflict with char $ac_func (); below.
30285     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30286     <limits.h> exists even on freestanding compilers.  */
30287
30288 #ifdef __STDC__
30289 # include <limits.h>
30290 #else
30291 # include <assert.h>
30292 #endif
30293
30294 #undef $ac_func
30295
30296 /* Override any GCC internal prototype to avoid an error.
30297    Use char because int might match the return type of a GCC
30298    builtin and then its argument prototype would still apply.  */
30299 #ifdef __cplusplus
30300 extern "C"
30301 #endif
30302 char $ac_func ();
30303 /* The GNU C library defines this for functions which it implements
30304     to always fail with ENOSYS.  Some functions are actually named
30305     something starting with __ and the normal name is an alias.  */
30306 #if defined __stub_$ac_func || defined __stub___$ac_func
30307 choke me
30308 #endif
30309
30310 int
30311 main ()
30312 {
30313 return $ac_func ();
30314   ;
30315   return 0;
30316 }
30317 _ACEOF
30318 rm -f conftest.$ac_objext conftest$ac_exeext
30319 if { (ac_try="$ac_link"
30320 case "(($ac_try" in
30321   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30322   *) ac_try_echo=$ac_try;;
30323 esac
30324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30325   (eval "$ac_link") 2>conftest.er1
30326   ac_status=$?
30327   grep -v '^ *+' conftest.er1 >conftest.err
30328   rm -f conftest.er1
30329   cat conftest.err >&5
30330   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30331   (exit $ac_status); } && {
30332          test -z "$ac_c_werror_flag" ||
30333          test ! -s conftest.err
30334        } && test -s conftest$ac_exeext &&
30335        $as_test_x conftest$ac_exeext; then
30336   eval "$as_ac_var=yes"
30337 else
30338   echo "$as_me: failed program was:" >&5
30339 sed 's/^/| /' conftest.$ac_ext >&5
30340
30341         eval "$as_ac_var=no"
30342 fi
30343
30344 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30345       conftest$ac_exeext conftest.$ac_ext
30346 fi
30347 ac_res=`eval echo '${'$as_ac_var'}'`
30348                { echo "$as_me:$LINENO: result: $ac_res" >&5
30349 echo "${ECHO_T}$ac_res" >&6; }
30350 if test `eval echo '${'$as_ac_var'}'` = yes; then
30351   cat >>confdefs.h <<_ACEOF
30352 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30353 _ACEOF
30354
30355 fi
30356 done
30357
30358     fi
30359   fi
30360
30361
30362
30363
30364
30365
30366   { echo "$as_me:$LINENO: checking for atan2l declaration" >&5
30367 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6; }
30368   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
30369     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
30370   echo $ECHO_N "(cached) $ECHO_C" >&6
30371 else
30372
30373
30374       ac_ext=cpp
30375 ac_cpp='$CXXCPP $CPPFLAGS'
30376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30379
30380       cat >conftest.$ac_ext <<_ACEOF
30381 /* confdefs.h.  */
30382 _ACEOF
30383 cat confdefs.h >>conftest.$ac_ext
30384 cat >>conftest.$ac_ext <<_ACEOF
30385 /* end confdefs.h.  */
30386 #include <math.h>
30387 int
30388 main ()
30389 {
30390  atan2l(0, 0);
30391   ;
30392   return 0;
30393 }
30394 _ACEOF
30395 rm -f conftest.$ac_objext
30396 if { (ac_try="$ac_compile"
30397 case "(($ac_try" in
30398   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30399   *) ac_try_echo=$ac_try;;
30400 esac
30401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30402   (eval "$ac_compile") 2>conftest.er1
30403   ac_status=$?
30404   grep -v '^ *+' conftest.er1 >conftest.err
30405   rm -f conftest.er1
30406   cat conftest.err >&5
30407   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30408   (exit $ac_status); } && {
30409          test -z "$ac_cxx_werror_flag" ||
30410          test ! -s conftest.err
30411        } && test -s conftest.$ac_objext; then
30412   glibcxx_cv_func_atan2l_use=yes
30413 else
30414   echo "$as_me: failed program was:" >&5
30415 sed 's/^/| /' conftest.$ac_ext >&5
30416
30417         glibcxx_cv_func_atan2l_use=no
30418 fi
30419
30420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30421       ac_ext=c
30422 ac_cpp='$CPP $CPPFLAGS'
30423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30426
30427
30428 fi
30429
30430   fi
30431   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
30432 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6; }
30433
30434   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
30435
30436 for ac_func in atan2l
30437 do
30438 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30439 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30440 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30441 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30442   echo $ECHO_N "(cached) $ECHO_C" >&6
30443 else
30444   if test x$gcc_no_link = xyes; then
30445   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30446 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30447    { (exit 1); exit 1; }; }
30448 fi
30449 cat >conftest.$ac_ext <<_ACEOF
30450 /* confdefs.h.  */
30451 _ACEOF
30452 cat confdefs.h >>conftest.$ac_ext
30453 cat >>conftest.$ac_ext <<_ACEOF
30454 /* end confdefs.h.  */
30455 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30456    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
30457 #define $ac_func innocuous_$ac_func
30458
30459 /* System header to define __stub macros and hopefully few prototypes,
30460     which can conflict with char $ac_func (); below.
30461     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30462     <limits.h> exists even on freestanding compilers.  */
30463
30464 #ifdef __STDC__
30465 # include <limits.h>
30466 #else
30467 # include <assert.h>
30468 #endif
30469
30470 #undef $ac_func
30471
30472 /* Override any GCC internal prototype to avoid an error.
30473    Use char because int might match the return type of a GCC
30474    builtin and then its argument prototype would still apply.  */
30475 #ifdef __cplusplus
30476 extern "C"
30477 #endif
30478 char $ac_func ();
30479 /* The GNU C library defines this for functions which it implements
30480     to always fail with ENOSYS.  Some functions are actually named
30481     something starting with __ and the normal name is an alias.  */
30482 #if defined __stub_$ac_func || defined __stub___$ac_func
30483 choke me
30484 #endif
30485
30486 int
30487 main ()
30488 {
30489 return $ac_func ();
30490   ;
30491   return 0;
30492 }
30493 _ACEOF
30494 rm -f conftest.$ac_objext conftest$ac_exeext
30495 if { (ac_try="$ac_link"
30496 case "(($ac_try" in
30497   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30498   *) ac_try_echo=$ac_try;;
30499 esac
30500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30501   (eval "$ac_link") 2>conftest.er1
30502   ac_status=$?
30503   grep -v '^ *+' conftest.er1 >conftest.err
30504   rm -f conftest.er1
30505   cat conftest.err >&5
30506   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30507   (exit $ac_status); } && {
30508          test -z "$ac_c_werror_flag" ||
30509          test ! -s conftest.err
30510        } && test -s conftest$ac_exeext &&
30511        $as_test_x conftest$ac_exeext; then
30512   eval "$as_ac_var=yes"
30513 else
30514   echo "$as_me: failed program was:" >&5
30515 sed 's/^/| /' conftest.$ac_ext >&5
30516
30517         eval "$as_ac_var=no"
30518 fi
30519
30520 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30521       conftest$ac_exeext conftest.$ac_ext
30522 fi
30523 ac_res=`eval echo '${'$as_ac_var'}'`
30524                { echo "$as_me:$LINENO: result: $ac_res" >&5
30525 echo "${ECHO_T}$ac_res" >&6; }
30526 if test `eval echo '${'$as_ac_var'}'` = yes; then
30527   cat >>confdefs.h <<_ACEOF
30528 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30529 _ACEOF
30530
30531 fi
30532 done
30533
30534   else
30535
30536   { echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
30537 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6; }
30538   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
30539     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
30540   echo $ECHO_N "(cached) $ECHO_C" >&6
30541 else
30542
30543
30544       ac_ext=cpp
30545 ac_cpp='$CXXCPP $CPPFLAGS'
30546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30549
30550       cat >conftest.$ac_ext <<_ACEOF
30551 /* confdefs.h.  */
30552 _ACEOF
30553 cat confdefs.h >>conftest.$ac_ext
30554 cat >>conftest.$ac_ext <<_ACEOF
30555 /* end confdefs.h.  */
30556 #include <math.h>
30557 int
30558 main ()
30559 {
30560  _atan2l(0, 0);
30561   ;
30562   return 0;
30563 }
30564 _ACEOF
30565 rm -f conftest.$ac_objext
30566 if { (ac_try="$ac_compile"
30567 case "(($ac_try" in
30568   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30569   *) ac_try_echo=$ac_try;;
30570 esac
30571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30572   (eval "$ac_compile") 2>conftest.er1
30573   ac_status=$?
30574   grep -v '^ *+' conftest.er1 >conftest.err
30575   rm -f conftest.er1
30576   cat conftest.err >&5
30577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30578   (exit $ac_status); } && {
30579          test -z "$ac_cxx_werror_flag" ||
30580          test ! -s conftest.err
30581        } && test -s conftest.$ac_objext; then
30582   glibcxx_cv_func__atan2l_use=yes
30583 else
30584   echo "$as_me: failed program was:" >&5
30585 sed 's/^/| /' conftest.$ac_ext >&5
30586
30587         glibcxx_cv_func__atan2l_use=no
30588 fi
30589
30590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30591       ac_ext=c
30592 ac_cpp='$CPP $CPPFLAGS'
30593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30596
30597
30598 fi
30599
30600   fi
30601   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
30602 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6; }
30603
30604     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
30605
30606 for ac_func in _atan2l
30607 do
30608 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30609 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30610 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30611 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30612   echo $ECHO_N "(cached) $ECHO_C" >&6
30613 else
30614   if test x$gcc_no_link = xyes; then
30615   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30616 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30617    { (exit 1); exit 1; }; }
30618 fi
30619 cat >conftest.$ac_ext <<_ACEOF
30620 /* confdefs.h.  */
30621 _ACEOF
30622 cat confdefs.h >>conftest.$ac_ext
30623 cat >>conftest.$ac_ext <<_ACEOF
30624 /* end confdefs.h.  */
30625 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30626    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
30627 #define $ac_func innocuous_$ac_func
30628
30629 /* System header to define __stub macros and hopefully few prototypes,
30630     which can conflict with char $ac_func (); below.
30631     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30632     <limits.h> exists even on freestanding compilers.  */
30633
30634 #ifdef __STDC__
30635 # include <limits.h>
30636 #else
30637 # include <assert.h>
30638 #endif
30639
30640 #undef $ac_func
30641
30642 /* Override any GCC internal prototype to avoid an error.
30643    Use char because int might match the return type of a GCC
30644    builtin and then its argument prototype would still apply.  */
30645 #ifdef __cplusplus
30646 extern "C"
30647 #endif
30648 char $ac_func ();
30649 /* The GNU C library defines this for functions which it implements
30650     to always fail with ENOSYS.  Some functions are actually named
30651     something starting with __ and the normal name is an alias.  */
30652 #if defined __stub_$ac_func || defined __stub___$ac_func
30653 choke me
30654 #endif
30655
30656 int
30657 main ()
30658 {
30659 return $ac_func ();
30660   ;
30661   return 0;
30662 }
30663 _ACEOF
30664 rm -f conftest.$ac_objext conftest$ac_exeext
30665 if { (ac_try="$ac_link"
30666 case "(($ac_try" in
30667   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30668   *) ac_try_echo=$ac_try;;
30669 esac
30670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30671   (eval "$ac_link") 2>conftest.er1
30672   ac_status=$?
30673   grep -v '^ *+' conftest.er1 >conftest.err
30674   rm -f conftest.er1
30675   cat conftest.err >&5
30676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30677   (exit $ac_status); } && {
30678          test -z "$ac_c_werror_flag" ||
30679          test ! -s conftest.err
30680        } && test -s conftest$ac_exeext &&
30681        $as_test_x conftest$ac_exeext; then
30682   eval "$as_ac_var=yes"
30683 else
30684   echo "$as_me: failed program was:" >&5
30685 sed 's/^/| /' conftest.$ac_ext >&5
30686
30687         eval "$as_ac_var=no"
30688 fi
30689
30690 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30691       conftest$ac_exeext conftest.$ac_ext
30692 fi
30693 ac_res=`eval echo '${'$as_ac_var'}'`
30694                { echo "$as_me:$LINENO: result: $ac_res" >&5
30695 echo "${ECHO_T}$ac_res" >&6; }
30696 if test `eval echo '${'$as_ac_var'}'` = yes; then
30697   cat >>confdefs.h <<_ACEOF
30698 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30699 _ACEOF
30700
30701 fi
30702 done
30703
30704     fi
30705   fi
30706
30707
30708
30709
30710
30711
30712   { echo "$as_me:$LINENO: checking for expl declaration" >&5
30713 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6; }
30714   if test x${glibcxx_cv_func_expl_use+set} != xset; then
30715     if test "${glibcxx_cv_func_expl_use+set}" = set; then
30716   echo $ECHO_N "(cached) $ECHO_C" >&6
30717 else
30718
30719
30720       ac_ext=cpp
30721 ac_cpp='$CXXCPP $CPPFLAGS'
30722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30725
30726       cat >conftest.$ac_ext <<_ACEOF
30727 /* confdefs.h.  */
30728 _ACEOF
30729 cat confdefs.h >>conftest.$ac_ext
30730 cat >>conftest.$ac_ext <<_ACEOF
30731 /* end confdefs.h.  */
30732 #include <math.h>
30733                       #ifdef HAVE_IEEEFP_H
30734                       #include <ieeefp.h>
30735                       #endif
30736
30737 int
30738 main ()
30739 {
30740  expl(0);
30741   ;
30742   return 0;
30743 }
30744 _ACEOF
30745 rm -f conftest.$ac_objext
30746 if { (ac_try="$ac_compile"
30747 case "(($ac_try" in
30748   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30749   *) ac_try_echo=$ac_try;;
30750 esac
30751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30752   (eval "$ac_compile") 2>conftest.er1
30753   ac_status=$?
30754   grep -v '^ *+' conftest.er1 >conftest.err
30755   rm -f conftest.er1
30756   cat conftest.err >&5
30757   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30758   (exit $ac_status); } && {
30759          test -z "$ac_cxx_werror_flag" ||
30760          test ! -s conftest.err
30761        } && test -s conftest.$ac_objext; then
30762   glibcxx_cv_func_expl_use=yes
30763 else
30764   echo "$as_me: failed program was:" >&5
30765 sed 's/^/| /' conftest.$ac_ext >&5
30766
30767         glibcxx_cv_func_expl_use=no
30768 fi
30769
30770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30771       ac_ext=c
30772 ac_cpp='$CPP $CPPFLAGS'
30773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30776
30777
30778 fi
30779
30780   fi
30781   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
30782 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6; }
30783
30784   if test x$glibcxx_cv_func_expl_use = x"yes"; then
30785
30786 for ac_func in expl
30787 do
30788 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30789 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30790 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30791 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30792   echo $ECHO_N "(cached) $ECHO_C" >&6
30793 else
30794   if test x$gcc_no_link = xyes; then
30795   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30796 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30797    { (exit 1); exit 1; }; }
30798 fi
30799 cat >conftest.$ac_ext <<_ACEOF
30800 /* confdefs.h.  */
30801 _ACEOF
30802 cat confdefs.h >>conftest.$ac_ext
30803 cat >>conftest.$ac_ext <<_ACEOF
30804 /* end confdefs.h.  */
30805 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30806    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
30807 #define $ac_func innocuous_$ac_func
30808
30809 /* System header to define __stub macros and hopefully few prototypes,
30810     which can conflict with char $ac_func (); below.
30811     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30812     <limits.h> exists even on freestanding compilers.  */
30813
30814 #ifdef __STDC__
30815 # include <limits.h>
30816 #else
30817 # include <assert.h>
30818 #endif
30819
30820 #undef $ac_func
30821
30822 /* Override any GCC internal prototype to avoid an error.
30823    Use char because int might match the return type of a GCC
30824    builtin and then its argument prototype would still apply.  */
30825 #ifdef __cplusplus
30826 extern "C"
30827 #endif
30828 char $ac_func ();
30829 /* The GNU C library defines this for functions which it implements
30830     to always fail with ENOSYS.  Some functions are actually named
30831     something starting with __ and the normal name is an alias.  */
30832 #if defined __stub_$ac_func || defined __stub___$ac_func
30833 choke me
30834 #endif
30835
30836 int
30837 main ()
30838 {
30839 return $ac_func ();
30840   ;
30841   return 0;
30842 }
30843 _ACEOF
30844 rm -f conftest.$ac_objext conftest$ac_exeext
30845 if { (ac_try="$ac_link"
30846 case "(($ac_try" in
30847   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30848   *) ac_try_echo=$ac_try;;
30849 esac
30850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30851   (eval "$ac_link") 2>conftest.er1
30852   ac_status=$?
30853   grep -v '^ *+' conftest.er1 >conftest.err
30854   rm -f conftest.er1
30855   cat conftest.err >&5
30856   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30857   (exit $ac_status); } && {
30858          test -z "$ac_c_werror_flag" ||
30859          test ! -s conftest.err
30860        } && test -s conftest$ac_exeext &&
30861        $as_test_x conftest$ac_exeext; then
30862   eval "$as_ac_var=yes"
30863 else
30864   echo "$as_me: failed program was:" >&5
30865 sed 's/^/| /' conftest.$ac_ext >&5
30866
30867         eval "$as_ac_var=no"
30868 fi
30869
30870 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30871       conftest$ac_exeext conftest.$ac_ext
30872 fi
30873 ac_res=`eval echo '${'$as_ac_var'}'`
30874                { echo "$as_me:$LINENO: result: $ac_res" >&5
30875 echo "${ECHO_T}$ac_res" >&6; }
30876 if test `eval echo '${'$as_ac_var'}'` = yes; then
30877   cat >>confdefs.h <<_ACEOF
30878 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30879 _ACEOF
30880
30881 fi
30882 done
30883
30884   else
30885
30886   { echo "$as_me:$LINENO: checking for _expl declaration" >&5
30887 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6; }
30888   if test x${glibcxx_cv_func__expl_use+set} != xset; then
30889     if test "${glibcxx_cv_func__expl_use+set}" = set; then
30890   echo $ECHO_N "(cached) $ECHO_C" >&6
30891 else
30892
30893
30894       ac_ext=cpp
30895 ac_cpp='$CXXCPP $CPPFLAGS'
30896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30899
30900       cat >conftest.$ac_ext <<_ACEOF
30901 /* confdefs.h.  */
30902 _ACEOF
30903 cat confdefs.h >>conftest.$ac_ext
30904 cat >>conftest.$ac_ext <<_ACEOF
30905 /* end confdefs.h.  */
30906 #include <math.h>
30907                       #ifdef HAVE_IEEEFP_H
30908                       #include <ieeefp.h>
30909                       #endif
30910
30911 int
30912 main ()
30913 {
30914  _expl(0);
30915   ;
30916   return 0;
30917 }
30918 _ACEOF
30919 rm -f conftest.$ac_objext
30920 if { (ac_try="$ac_compile"
30921 case "(($ac_try" in
30922   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30923   *) ac_try_echo=$ac_try;;
30924 esac
30925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30926   (eval "$ac_compile") 2>conftest.er1
30927   ac_status=$?
30928   grep -v '^ *+' conftest.er1 >conftest.err
30929   rm -f conftest.er1
30930   cat conftest.err >&5
30931   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30932   (exit $ac_status); } && {
30933          test -z "$ac_cxx_werror_flag" ||
30934          test ! -s conftest.err
30935        } && test -s conftest.$ac_objext; then
30936   glibcxx_cv_func__expl_use=yes
30937 else
30938   echo "$as_me: failed program was:" >&5
30939 sed 's/^/| /' conftest.$ac_ext >&5
30940
30941         glibcxx_cv_func__expl_use=no
30942 fi
30943
30944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30945       ac_ext=c
30946 ac_cpp='$CPP $CPPFLAGS'
30947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30950
30951
30952 fi
30953
30954   fi
30955   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
30956 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6; }
30957
30958     if test x$glibcxx_cv_func__expl_use = x"yes"; then
30959
30960 for ac_func in _expl
30961 do
30962 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30963 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30964 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30965 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30966   echo $ECHO_N "(cached) $ECHO_C" >&6
30967 else
30968   if test x$gcc_no_link = xyes; then
30969   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30970 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30971    { (exit 1); exit 1; }; }
30972 fi
30973 cat >conftest.$ac_ext <<_ACEOF
30974 /* confdefs.h.  */
30975 _ACEOF
30976 cat confdefs.h >>conftest.$ac_ext
30977 cat >>conftest.$ac_ext <<_ACEOF
30978 /* end confdefs.h.  */
30979 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30980    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
30981 #define $ac_func innocuous_$ac_func
30982
30983 /* System header to define __stub macros and hopefully few prototypes,
30984     which can conflict with char $ac_func (); below.
30985     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30986     <limits.h> exists even on freestanding compilers.  */
30987
30988 #ifdef __STDC__
30989 # include <limits.h>
30990 #else
30991 # include <assert.h>
30992 #endif
30993
30994 #undef $ac_func
30995
30996 /* Override any GCC internal prototype to avoid an error.
30997    Use char because int might match the return type of a GCC
30998    builtin and then its argument prototype would still apply.  */
30999 #ifdef __cplusplus
31000 extern "C"
31001 #endif
31002 char $ac_func ();
31003 /* The GNU C library defines this for functions which it implements
31004     to always fail with ENOSYS.  Some functions are actually named
31005     something starting with __ and the normal name is an alias.  */
31006 #if defined __stub_$ac_func || defined __stub___$ac_func
31007 choke me
31008 #endif
31009
31010 int
31011 main ()
31012 {
31013 return $ac_func ();
31014   ;
31015   return 0;
31016 }
31017 _ACEOF
31018 rm -f conftest.$ac_objext conftest$ac_exeext
31019 if { (ac_try="$ac_link"
31020 case "(($ac_try" in
31021   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31022   *) ac_try_echo=$ac_try;;
31023 esac
31024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31025   (eval "$ac_link") 2>conftest.er1
31026   ac_status=$?
31027   grep -v '^ *+' conftest.er1 >conftest.err
31028   rm -f conftest.er1
31029   cat conftest.err >&5
31030   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31031   (exit $ac_status); } && {
31032          test -z "$ac_c_werror_flag" ||
31033          test ! -s conftest.err
31034        } && test -s conftest$ac_exeext &&
31035        $as_test_x conftest$ac_exeext; then
31036   eval "$as_ac_var=yes"
31037 else
31038   echo "$as_me: failed program was:" >&5
31039 sed 's/^/| /' conftest.$ac_ext >&5
31040
31041         eval "$as_ac_var=no"
31042 fi
31043
31044 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31045       conftest$ac_exeext conftest.$ac_ext
31046 fi
31047 ac_res=`eval echo '${'$as_ac_var'}'`
31048                { echo "$as_me:$LINENO: result: $ac_res" >&5
31049 echo "${ECHO_T}$ac_res" >&6; }
31050 if test `eval echo '${'$as_ac_var'}'` = yes; then
31051   cat >>confdefs.h <<_ACEOF
31052 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31053 _ACEOF
31054
31055 fi
31056 done
31057
31058     fi
31059   fi
31060
31061
31062
31063
31064
31065
31066   { echo "$as_me:$LINENO: checking for fabsl declaration" >&5
31067 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6; }
31068   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
31069     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
31070   echo $ECHO_N "(cached) $ECHO_C" >&6
31071 else
31072
31073
31074       ac_ext=cpp
31075 ac_cpp='$CXXCPP $CPPFLAGS'
31076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31079
31080       cat >conftest.$ac_ext <<_ACEOF
31081 /* confdefs.h.  */
31082 _ACEOF
31083 cat confdefs.h >>conftest.$ac_ext
31084 cat >>conftest.$ac_ext <<_ACEOF
31085 /* end confdefs.h.  */
31086 #include <math.h>
31087                       #ifdef HAVE_IEEEFP_H
31088                       #include <ieeefp.h>
31089                       #endif
31090
31091 int
31092 main ()
31093 {
31094  fabsl(0);
31095   ;
31096   return 0;
31097 }
31098 _ACEOF
31099 rm -f conftest.$ac_objext
31100 if { (ac_try="$ac_compile"
31101 case "(($ac_try" in
31102   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31103   *) ac_try_echo=$ac_try;;
31104 esac
31105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31106   (eval "$ac_compile") 2>conftest.er1
31107   ac_status=$?
31108   grep -v '^ *+' conftest.er1 >conftest.err
31109   rm -f conftest.er1
31110   cat conftest.err >&5
31111   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31112   (exit $ac_status); } && {
31113          test -z "$ac_cxx_werror_flag" ||
31114          test ! -s conftest.err
31115        } && test -s conftest.$ac_objext; then
31116   glibcxx_cv_func_fabsl_use=yes
31117 else
31118   echo "$as_me: failed program was:" >&5
31119 sed 's/^/| /' conftest.$ac_ext >&5
31120
31121         glibcxx_cv_func_fabsl_use=no
31122 fi
31123
31124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31125       ac_ext=c
31126 ac_cpp='$CPP $CPPFLAGS'
31127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31130
31131
31132 fi
31133
31134   fi
31135   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
31136 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6; }
31137
31138   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
31139
31140 for ac_func in fabsl
31141 do
31142 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31143 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31144 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31145 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31146   echo $ECHO_N "(cached) $ECHO_C" >&6
31147 else
31148   if test x$gcc_no_link = xyes; then
31149   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31150 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31151    { (exit 1); exit 1; }; }
31152 fi
31153 cat >conftest.$ac_ext <<_ACEOF
31154 /* confdefs.h.  */
31155 _ACEOF
31156 cat confdefs.h >>conftest.$ac_ext
31157 cat >>conftest.$ac_ext <<_ACEOF
31158 /* end confdefs.h.  */
31159 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31160    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
31161 #define $ac_func innocuous_$ac_func
31162
31163 /* System header to define __stub macros and hopefully few prototypes,
31164     which can conflict with char $ac_func (); below.
31165     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31166     <limits.h> exists even on freestanding compilers.  */
31167
31168 #ifdef __STDC__
31169 # include <limits.h>
31170 #else
31171 # include <assert.h>
31172 #endif
31173
31174 #undef $ac_func
31175
31176 /* Override any GCC internal prototype to avoid an error.
31177    Use char because int might match the return type of a GCC
31178    builtin and then its argument prototype would still apply.  */
31179 #ifdef __cplusplus
31180 extern "C"
31181 #endif
31182 char $ac_func ();
31183 /* The GNU C library defines this for functions which it implements
31184     to always fail with ENOSYS.  Some functions are actually named
31185     something starting with __ and the normal name is an alias.  */
31186 #if defined __stub_$ac_func || defined __stub___$ac_func
31187 choke me
31188 #endif
31189
31190 int
31191 main ()
31192 {
31193 return $ac_func ();
31194   ;
31195   return 0;
31196 }
31197 _ACEOF
31198 rm -f conftest.$ac_objext conftest$ac_exeext
31199 if { (ac_try="$ac_link"
31200 case "(($ac_try" in
31201   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31202   *) ac_try_echo=$ac_try;;
31203 esac
31204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31205   (eval "$ac_link") 2>conftest.er1
31206   ac_status=$?
31207   grep -v '^ *+' conftest.er1 >conftest.err
31208   rm -f conftest.er1
31209   cat conftest.err >&5
31210   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31211   (exit $ac_status); } && {
31212          test -z "$ac_c_werror_flag" ||
31213          test ! -s conftest.err
31214        } && test -s conftest$ac_exeext &&
31215        $as_test_x conftest$ac_exeext; then
31216   eval "$as_ac_var=yes"
31217 else
31218   echo "$as_me: failed program was:" >&5
31219 sed 's/^/| /' conftest.$ac_ext >&5
31220
31221         eval "$as_ac_var=no"
31222 fi
31223
31224 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31225       conftest$ac_exeext conftest.$ac_ext
31226 fi
31227 ac_res=`eval echo '${'$as_ac_var'}'`
31228                { echo "$as_me:$LINENO: result: $ac_res" >&5
31229 echo "${ECHO_T}$ac_res" >&6; }
31230 if test `eval echo '${'$as_ac_var'}'` = yes; then
31231   cat >>confdefs.h <<_ACEOF
31232 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31233 _ACEOF
31234
31235 fi
31236 done
31237
31238   else
31239
31240   { echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
31241 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6; }
31242   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
31243     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
31244   echo $ECHO_N "(cached) $ECHO_C" >&6
31245 else
31246
31247
31248       ac_ext=cpp
31249 ac_cpp='$CXXCPP $CPPFLAGS'
31250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31253
31254       cat >conftest.$ac_ext <<_ACEOF
31255 /* confdefs.h.  */
31256 _ACEOF
31257 cat confdefs.h >>conftest.$ac_ext
31258 cat >>conftest.$ac_ext <<_ACEOF
31259 /* end confdefs.h.  */
31260 #include <math.h>
31261                       #ifdef HAVE_IEEEFP_H
31262                       #include <ieeefp.h>
31263                       #endif
31264
31265 int
31266 main ()
31267 {
31268  _fabsl(0);
31269   ;
31270   return 0;
31271 }
31272 _ACEOF
31273 rm -f conftest.$ac_objext
31274 if { (ac_try="$ac_compile"
31275 case "(($ac_try" in
31276   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31277   *) ac_try_echo=$ac_try;;
31278 esac
31279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31280   (eval "$ac_compile") 2>conftest.er1
31281   ac_status=$?
31282   grep -v '^ *+' conftest.er1 >conftest.err
31283   rm -f conftest.er1
31284   cat conftest.err >&5
31285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31286   (exit $ac_status); } && {
31287          test -z "$ac_cxx_werror_flag" ||
31288          test ! -s conftest.err
31289        } && test -s conftest.$ac_objext; then
31290   glibcxx_cv_func__fabsl_use=yes
31291 else
31292   echo "$as_me: failed program was:" >&5
31293 sed 's/^/| /' conftest.$ac_ext >&5
31294
31295         glibcxx_cv_func__fabsl_use=no
31296 fi
31297
31298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31299       ac_ext=c
31300 ac_cpp='$CPP $CPPFLAGS'
31301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31304
31305
31306 fi
31307
31308   fi
31309   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
31310 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6; }
31311
31312     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
31313
31314 for ac_func in _fabsl
31315 do
31316 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31317 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31318 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31319 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31320   echo $ECHO_N "(cached) $ECHO_C" >&6
31321 else
31322   if test x$gcc_no_link = xyes; then
31323   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31324 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31325    { (exit 1); exit 1; }; }
31326 fi
31327 cat >conftest.$ac_ext <<_ACEOF
31328 /* confdefs.h.  */
31329 _ACEOF
31330 cat confdefs.h >>conftest.$ac_ext
31331 cat >>conftest.$ac_ext <<_ACEOF
31332 /* end confdefs.h.  */
31333 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31334    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
31335 #define $ac_func innocuous_$ac_func
31336
31337 /* System header to define __stub macros and hopefully few prototypes,
31338     which can conflict with char $ac_func (); below.
31339     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31340     <limits.h> exists even on freestanding compilers.  */
31341
31342 #ifdef __STDC__
31343 # include <limits.h>
31344 #else
31345 # include <assert.h>
31346 #endif
31347
31348 #undef $ac_func
31349
31350 /* Override any GCC internal prototype to avoid an error.
31351    Use char because int might match the return type of a GCC
31352    builtin and then its argument prototype would still apply.  */
31353 #ifdef __cplusplus
31354 extern "C"
31355 #endif
31356 char $ac_func ();
31357 /* The GNU C library defines this for functions which it implements
31358     to always fail with ENOSYS.  Some functions are actually named
31359     something starting with __ and the normal name is an alias.  */
31360 #if defined __stub_$ac_func || defined __stub___$ac_func
31361 choke me
31362 #endif
31363
31364 int
31365 main ()
31366 {
31367 return $ac_func ();
31368   ;
31369   return 0;
31370 }
31371 _ACEOF
31372 rm -f conftest.$ac_objext conftest$ac_exeext
31373 if { (ac_try="$ac_link"
31374 case "(($ac_try" in
31375   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31376   *) ac_try_echo=$ac_try;;
31377 esac
31378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31379   (eval "$ac_link") 2>conftest.er1
31380   ac_status=$?
31381   grep -v '^ *+' conftest.er1 >conftest.err
31382   rm -f conftest.er1
31383   cat conftest.err >&5
31384   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31385   (exit $ac_status); } && {
31386          test -z "$ac_c_werror_flag" ||
31387          test ! -s conftest.err
31388        } && test -s conftest$ac_exeext &&
31389        $as_test_x conftest$ac_exeext; then
31390   eval "$as_ac_var=yes"
31391 else
31392   echo "$as_me: failed program was:" >&5
31393 sed 's/^/| /' conftest.$ac_ext >&5
31394
31395         eval "$as_ac_var=no"
31396 fi
31397
31398 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31399       conftest$ac_exeext conftest.$ac_ext
31400 fi
31401 ac_res=`eval echo '${'$as_ac_var'}'`
31402                { echo "$as_me:$LINENO: result: $ac_res" >&5
31403 echo "${ECHO_T}$ac_res" >&6; }
31404 if test `eval echo '${'$as_ac_var'}'` = yes; then
31405   cat >>confdefs.h <<_ACEOF
31406 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31407 _ACEOF
31408
31409 fi
31410 done
31411
31412     fi
31413   fi
31414
31415
31416
31417
31418
31419
31420   { echo "$as_me:$LINENO: checking for fmodl declaration" >&5
31421 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6; }
31422   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
31423     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
31424   echo $ECHO_N "(cached) $ECHO_C" >&6
31425 else
31426
31427
31428       ac_ext=cpp
31429 ac_cpp='$CXXCPP $CPPFLAGS'
31430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31433
31434       cat >conftest.$ac_ext <<_ACEOF
31435 /* confdefs.h.  */
31436 _ACEOF
31437 cat confdefs.h >>conftest.$ac_ext
31438 cat >>conftest.$ac_ext <<_ACEOF
31439 /* end confdefs.h.  */
31440 #include <math.h>
31441 int
31442 main ()
31443 {
31444  fmodl(0, 0);
31445   ;
31446   return 0;
31447 }
31448 _ACEOF
31449 rm -f conftest.$ac_objext
31450 if { (ac_try="$ac_compile"
31451 case "(($ac_try" in
31452   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31453   *) ac_try_echo=$ac_try;;
31454 esac
31455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31456   (eval "$ac_compile") 2>conftest.er1
31457   ac_status=$?
31458   grep -v '^ *+' conftest.er1 >conftest.err
31459   rm -f conftest.er1
31460   cat conftest.err >&5
31461   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31462   (exit $ac_status); } && {
31463          test -z "$ac_cxx_werror_flag" ||
31464          test ! -s conftest.err
31465        } && test -s conftest.$ac_objext; then
31466   glibcxx_cv_func_fmodl_use=yes
31467 else
31468   echo "$as_me: failed program was:" >&5
31469 sed 's/^/| /' conftest.$ac_ext >&5
31470
31471         glibcxx_cv_func_fmodl_use=no
31472 fi
31473
31474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31475       ac_ext=c
31476 ac_cpp='$CPP $CPPFLAGS'
31477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31480
31481
31482 fi
31483
31484   fi
31485   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
31486 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6; }
31487
31488   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
31489
31490 for ac_func in fmodl
31491 do
31492 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31493 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31494 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31495 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31496   echo $ECHO_N "(cached) $ECHO_C" >&6
31497 else
31498   if test x$gcc_no_link = xyes; then
31499   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31500 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31501    { (exit 1); exit 1; }; }
31502 fi
31503 cat >conftest.$ac_ext <<_ACEOF
31504 /* confdefs.h.  */
31505 _ACEOF
31506 cat confdefs.h >>conftest.$ac_ext
31507 cat >>conftest.$ac_ext <<_ACEOF
31508 /* end confdefs.h.  */
31509 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31510    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
31511 #define $ac_func innocuous_$ac_func
31512
31513 /* System header to define __stub macros and hopefully few prototypes,
31514     which can conflict with char $ac_func (); below.
31515     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31516     <limits.h> exists even on freestanding compilers.  */
31517
31518 #ifdef __STDC__
31519 # include <limits.h>
31520 #else
31521 # include <assert.h>
31522 #endif
31523
31524 #undef $ac_func
31525
31526 /* Override any GCC internal prototype to avoid an error.
31527    Use char because int might match the return type of a GCC
31528    builtin and then its argument prototype would still apply.  */
31529 #ifdef __cplusplus
31530 extern "C"
31531 #endif
31532 char $ac_func ();
31533 /* The GNU C library defines this for functions which it implements
31534     to always fail with ENOSYS.  Some functions are actually named
31535     something starting with __ and the normal name is an alias.  */
31536 #if defined __stub_$ac_func || defined __stub___$ac_func
31537 choke me
31538 #endif
31539
31540 int
31541 main ()
31542 {
31543 return $ac_func ();
31544   ;
31545   return 0;
31546 }
31547 _ACEOF
31548 rm -f conftest.$ac_objext conftest$ac_exeext
31549 if { (ac_try="$ac_link"
31550 case "(($ac_try" in
31551   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31552   *) ac_try_echo=$ac_try;;
31553 esac
31554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31555   (eval "$ac_link") 2>conftest.er1
31556   ac_status=$?
31557   grep -v '^ *+' conftest.er1 >conftest.err
31558   rm -f conftest.er1
31559   cat conftest.err >&5
31560   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31561   (exit $ac_status); } && {
31562          test -z "$ac_c_werror_flag" ||
31563          test ! -s conftest.err
31564        } && test -s conftest$ac_exeext &&
31565        $as_test_x conftest$ac_exeext; then
31566   eval "$as_ac_var=yes"
31567 else
31568   echo "$as_me: failed program was:" >&5
31569 sed 's/^/| /' conftest.$ac_ext >&5
31570
31571         eval "$as_ac_var=no"
31572 fi
31573
31574 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31575       conftest$ac_exeext conftest.$ac_ext
31576 fi
31577 ac_res=`eval echo '${'$as_ac_var'}'`
31578                { echo "$as_me:$LINENO: result: $ac_res" >&5
31579 echo "${ECHO_T}$ac_res" >&6; }
31580 if test `eval echo '${'$as_ac_var'}'` = yes; then
31581   cat >>confdefs.h <<_ACEOF
31582 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31583 _ACEOF
31584
31585 fi
31586 done
31587
31588   else
31589
31590   { echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
31591 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6; }
31592   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
31593     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
31594   echo $ECHO_N "(cached) $ECHO_C" >&6
31595 else
31596
31597
31598       ac_ext=cpp
31599 ac_cpp='$CXXCPP $CPPFLAGS'
31600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31603
31604       cat >conftest.$ac_ext <<_ACEOF
31605 /* confdefs.h.  */
31606 _ACEOF
31607 cat confdefs.h >>conftest.$ac_ext
31608 cat >>conftest.$ac_ext <<_ACEOF
31609 /* end confdefs.h.  */
31610 #include <math.h>
31611 int
31612 main ()
31613 {
31614  _fmodl(0, 0);
31615   ;
31616   return 0;
31617 }
31618 _ACEOF
31619 rm -f conftest.$ac_objext
31620 if { (ac_try="$ac_compile"
31621 case "(($ac_try" in
31622   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31623   *) ac_try_echo=$ac_try;;
31624 esac
31625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31626   (eval "$ac_compile") 2>conftest.er1
31627   ac_status=$?
31628   grep -v '^ *+' conftest.er1 >conftest.err
31629   rm -f conftest.er1
31630   cat conftest.err >&5
31631   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31632   (exit $ac_status); } && {
31633          test -z "$ac_cxx_werror_flag" ||
31634          test ! -s conftest.err
31635        } && test -s conftest.$ac_objext; then
31636   glibcxx_cv_func__fmodl_use=yes
31637 else
31638   echo "$as_me: failed program was:" >&5
31639 sed 's/^/| /' conftest.$ac_ext >&5
31640
31641         glibcxx_cv_func__fmodl_use=no
31642 fi
31643
31644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31645       ac_ext=c
31646 ac_cpp='$CPP $CPPFLAGS'
31647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31650
31651
31652 fi
31653
31654   fi
31655   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
31656 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6; }
31657
31658     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
31659
31660 for ac_func in _fmodl
31661 do
31662 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31663 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31664 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31665 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31666   echo $ECHO_N "(cached) $ECHO_C" >&6
31667 else
31668   if test x$gcc_no_link = xyes; then
31669   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31670 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31671    { (exit 1); exit 1; }; }
31672 fi
31673 cat >conftest.$ac_ext <<_ACEOF
31674 /* confdefs.h.  */
31675 _ACEOF
31676 cat confdefs.h >>conftest.$ac_ext
31677 cat >>conftest.$ac_ext <<_ACEOF
31678 /* end confdefs.h.  */
31679 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31680    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
31681 #define $ac_func innocuous_$ac_func
31682
31683 /* System header to define __stub macros and hopefully few prototypes,
31684     which can conflict with char $ac_func (); below.
31685     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31686     <limits.h> exists even on freestanding compilers.  */
31687
31688 #ifdef __STDC__
31689 # include <limits.h>
31690 #else
31691 # include <assert.h>
31692 #endif
31693
31694 #undef $ac_func
31695
31696 /* Override any GCC internal prototype to avoid an error.
31697    Use char because int might match the return type of a GCC
31698    builtin and then its argument prototype would still apply.  */
31699 #ifdef __cplusplus
31700 extern "C"
31701 #endif
31702 char $ac_func ();
31703 /* The GNU C library defines this for functions which it implements
31704     to always fail with ENOSYS.  Some functions are actually named
31705     something starting with __ and the normal name is an alias.  */
31706 #if defined __stub_$ac_func || defined __stub___$ac_func
31707 choke me
31708 #endif
31709
31710 int
31711 main ()
31712 {
31713 return $ac_func ();
31714   ;
31715   return 0;
31716 }
31717 _ACEOF
31718 rm -f conftest.$ac_objext conftest$ac_exeext
31719 if { (ac_try="$ac_link"
31720 case "(($ac_try" in
31721   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31722   *) ac_try_echo=$ac_try;;
31723 esac
31724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31725   (eval "$ac_link") 2>conftest.er1
31726   ac_status=$?
31727   grep -v '^ *+' conftest.er1 >conftest.err
31728   rm -f conftest.er1
31729   cat conftest.err >&5
31730   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31731   (exit $ac_status); } && {
31732          test -z "$ac_c_werror_flag" ||
31733          test ! -s conftest.err
31734        } && test -s conftest$ac_exeext &&
31735        $as_test_x conftest$ac_exeext; then
31736   eval "$as_ac_var=yes"
31737 else
31738   echo "$as_me: failed program was:" >&5
31739 sed 's/^/| /' conftest.$ac_ext >&5
31740
31741         eval "$as_ac_var=no"
31742 fi
31743
31744 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31745       conftest$ac_exeext conftest.$ac_ext
31746 fi
31747 ac_res=`eval echo '${'$as_ac_var'}'`
31748                { echo "$as_me:$LINENO: result: $ac_res" >&5
31749 echo "${ECHO_T}$ac_res" >&6; }
31750 if test `eval echo '${'$as_ac_var'}'` = yes; then
31751   cat >>confdefs.h <<_ACEOF
31752 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31753 _ACEOF
31754
31755 fi
31756 done
31757
31758     fi
31759   fi
31760
31761
31762
31763
31764
31765
31766   { echo "$as_me:$LINENO: checking for frexpl declaration" >&5
31767 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6; }
31768   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
31769     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
31770   echo $ECHO_N "(cached) $ECHO_C" >&6
31771 else
31772
31773
31774       ac_ext=cpp
31775 ac_cpp='$CXXCPP $CPPFLAGS'
31776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31779
31780       cat >conftest.$ac_ext <<_ACEOF
31781 /* confdefs.h.  */
31782 _ACEOF
31783 cat confdefs.h >>conftest.$ac_ext
31784 cat >>conftest.$ac_ext <<_ACEOF
31785 /* end confdefs.h.  */
31786 #include <math.h>
31787 int
31788 main ()
31789 {
31790  frexpl(0, 0);
31791   ;
31792   return 0;
31793 }
31794 _ACEOF
31795 rm -f conftest.$ac_objext
31796 if { (ac_try="$ac_compile"
31797 case "(($ac_try" in
31798   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31799   *) ac_try_echo=$ac_try;;
31800 esac
31801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31802   (eval "$ac_compile") 2>conftest.er1
31803   ac_status=$?
31804   grep -v '^ *+' conftest.er1 >conftest.err
31805   rm -f conftest.er1
31806   cat conftest.err >&5
31807   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31808   (exit $ac_status); } && {
31809          test -z "$ac_cxx_werror_flag" ||
31810          test ! -s conftest.err
31811        } && test -s conftest.$ac_objext; then
31812   glibcxx_cv_func_frexpl_use=yes
31813 else
31814   echo "$as_me: failed program was:" >&5
31815 sed 's/^/| /' conftest.$ac_ext >&5
31816
31817         glibcxx_cv_func_frexpl_use=no
31818 fi
31819
31820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31821       ac_ext=c
31822 ac_cpp='$CPP $CPPFLAGS'
31823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31826
31827
31828 fi
31829
31830   fi
31831   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
31832 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6; }
31833
31834   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
31835
31836 for ac_func in frexpl
31837 do
31838 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31839 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31840 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31841 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31842   echo $ECHO_N "(cached) $ECHO_C" >&6
31843 else
31844   if test x$gcc_no_link = xyes; then
31845   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31846 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31847    { (exit 1); exit 1; }; }
31848 fi
31849 cat >conftest.$ac_ext <<_ACEOF
31850 /* confdefs.h.  */
31851 _ACEOF
31852 cat confdefs.h >>conftest.$ac_ext
31853 cat >>conftest.$ac_ext <<_ACEOF
31854 /* end confdefs.h.  */
31855 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31856    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
31857 #define $ac_func innocuous_$ac_func
31858
31859 /* System header to define __stub macros and hopefully few prototypes,
31860     which can conflict with char $ac_func (); below.
31861     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31862     <limits.h> exists even on freestanding compilers.  */
31863
31864 #ifdef __STDC__
31865 # include <limits.h>
31866 #else
31867 # include <assert.h>
31868 #endif
31869
31870 #undef $ac_func
31871
31872 /* Override any GCC internal prototype to avoid an error.
31873    Use char because int might match the return type of a GCC
31874    builtin and then its argument prototype would still apply.  */
31875 #ifdef __cplusplus
31876 extern "C"
31877 #endif
31878 char $ac_func ();
31879 /* The GNU C library defines this for functions which it implements
31880     to always fail with ENOSYS.  Some functions are actually named
31881     something starting with __ and the normal name is an alias.  */
31882 #if defined __stub_$ac_func || defined __stub___$ac_func
31883 choke me
31884 #endif
31885
31886 int
31887 main ()
31888 {
31889 return $ac_func ();
31890   ;
31891   return 0;
31892 }
31893 _ACEOF
31894 rm -f conftest.$ac_objext conftest$ac_exeext
31895 if { (ac_try="$ac_link"
31896 case "(($ac_try" in
31897   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31898   *) ac_try_echo=$ac_try;;
31899 esac
31900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31901   (eval "$ac_link") 2>conftest.er1
31902   ac_status=$?
31903   grep -v '^ *+' conftest.er1 >conftest.err
31904   rm -f conftest.er1
31905   cat conftest.err >&5
31906   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31907   (exit $ac_status); } && {
31908          test -z "$ac_c_werror_flag" ||
31909          test ! -s conftest.err
31910        } && test -s conftest$ac_exeext &&
31911        $as_test_x conftest$ac_exeext; then
31912   eval "$as_ac_var=yes"
31913 else
31914   echo "$as_me: failed program was:" >&5
31915 sed 's/^/| /' conftest.$ac_ext >&5
31916
31917         eval "$as_ac_var=no"
31918 fi
31919
31920 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31921       conftest$ac_exeext conftest.$ac_ext
31922 fi
31923 ac_res=`eval echo '${'$as_ac_var'}'`
31924                { echo "$as_me:$LINENO: result: $ac_res" >&5
31925 echo "${ECHO_T}$ac_res" >&6; }
31926 if test `eval echo '${'$as_ac_var'}'` = yes; then
31927   cat >>confdefs.h <<_ACEOF
31928 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31929 _ACEOF
31930
31931 fi
31932 done
31933
31934   else
31935
31936   { echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
31937 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6; }
31938   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
31939     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
31940   echo $ECHO_N "(cached) $ECHO_C" >&6
31941 else
31942
31943
31944       ac_ext=cpp
31945 ac_cpp='$CXXCPP $CPPFLAGS'
31946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31949
31950       cat >conftest.$ac_ext <<_ACEOF
31951 /* confdefs.h.  */
31952 _ACEOF
31953 cat confdefs.h >>conftest.$ac_ext
31954 cat >>conftest.$ac_ext <<_ACEOF
31955 /* end confdefs.h.  */
31956 #include <math.h>
31957 int
31958 main ()
31959 {
31960  _frexpl(0, 0);
31961   ;
31962   return 0;
31963 }
31964 _ACEOF
31965 rm -f conftest.$ac_objext
31966 if { (ac_try="$ac_compile"
31967 case "(($ac_try" in
31968   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31969   *) ac_try_echo=$ac_try;;
31970 esac
31971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31972   (eval "$ac_compile") 2>conftest.er1
31973   ac_status=$?
31974   grep -v '^ *+' conftest.er1 >conftest.err
31975   rm -f conftest.er1
31976   cat conftest.err >&5
31977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31978   (exit $ac_status); } && {
31979          test -z "$ac_cxx_werror_flag" ||
31980          test ! -s conftest.err
31981        } && test -s conftest.$ac_objext; then
31982   glibcxx_cv_func__frexpl_use=yes
31983 else
31984   echo "$as_me: failed program was:" >&5
31985 sed 's/^/| /' conftest.$ac_ext >&5
31986
31987         glibcxx_cv_func__frexpl_use=no
31988 fi
31989
31990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31991       ac_ext=c
31992 ac_cpp='$CPP $CPPFLAGS'
31993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31996
31997
31998 fi
31999
32000   fi
32001   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
32002 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6; }
32003
32004     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
32005
32006 for ac_func in _frexpl
32007 do
32008 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32009 { echo "$as_me:$LINENO: checking for $ac_func" >&5
32010 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
32011 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
32012   echo $ECHO_N "(cached) $ECHO_C" >&6
32013 else
32014   if test x$gcc_no_link = xyes; then
32015   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32016 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32017    { (exit 1); exit 1; }; }
32018 fi
32019 cat >conftest.$ac_ext <<_ACEOF
32020 /* confdefs.h.  */
32021 _ACEOF
32022 cat confdefs.h >>conftest.$ac_ext
32023 cat >>conftest.$ac_ext <<_ACEOF
32024 /* end confdefs.h.  */
32025 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32026    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32027 #define $ac_func innocuous_$ac_func
32028
32029 /* System header to define __stub macros and hopefully few prototypes,
32030     which can conflict with char $ac_func (); below.
32031     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32032     <limits.h> exists even on freestanding compilers.  */
32033
32034 #ifdef __STDC__
32035 # include <limits.h>
32036 #else
32037 # include <assert.h>
32038 #endif
32039
32040 #undef $ac_func
32041
32042 /* Override any GCC internal prototype to avoid an error.
32043    Use char because int might match the return type of a GCC
32044    builtin and then its argument prototype would still apply.  */
32045 #ifdef __cplusplus
32046 extern "C"
32047 #endif
32048 char $ac_func ();
32049 /* The GNU C library defines this for functions which it implements
32050     to always fail with ENOSYS.  Some functions are actually named
32051     something starting with __ and the normal name is an alias.  */
32052 #if defined __stub_$ac_func || defined __stub___$ac_func
32053 choke me
32054 #endif
32055
32056 int
32057 main ()
32058 {
32059 return $ac_func ();
32060   ;
32061   return 0;
32062 }
32063 _ACEOF
32064 rm -f conftest.$ac_objext conftest$ac_exeext
32065 if { (ac_try="$ac_link"
32066 case "(($ac_try" in
32067   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32068   *) ac_try_echo=$ac_try;;
32069 esac
32070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32071   (eval "$ac_link") 2>conftest.er1
32072   ac_status=$?
32073   grep -v '^ *+' conftest.er1 >conftest.err
32074   rm -f conftest.er1
32075   cat conftest.err >&5
32076   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32077   (exit $ac_status); } && {
32078          test -z "$ac_c_werror_flag" ||
32079          test ! -s conftest.err
32080        } && test -s conftest$ac_exeext &&
32081        $as_test_x conftest$ac_exeext; then
32082   eval "$as_ac_var=yes"
32083 else
32084   echo "$as_me: failed program was:" >&5
32085 sed 's/^/| /' conftest.$ac_ext >&5
32086
32087         eval "$as_ac_var=no"
32088 fi
32089
32090 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32091       conftest$ac_exeext conftest.$ac_ext
32092 fi
32093 ac_res=`eval echo '${'$as_ac_var'}'`
32094                { echo "$as_me:$LINENO: result: $ac_res" >&5
32095 echo "${ECHO_T}$ac_res" >&6; }
32096 if test `eval echo '${'$as_ac_var'}'` = yes; then
32097   cat >>confdefs.h <<_ACEOF
32098 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32099 _ACEOF
32100
32101 fi
32102 done
32103
32104     fi
32105   fi
32106
32107
32108
32109
32110
32111
32112   { echo "$as_me:$LINENO: checking for hypotl declaration" >&5
32113 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6; }
32114   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
32115     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
32116   echo $ECHO_N "(cached) $ECHO_C" >&6
32117 else
32118
32119
32120       ac_ext=cpp
32121 ac_cpp='$CXXCPP $CPPFLAGS'
32122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32125
32126       cat >conftest.$ac_ext <<_ACEOF
32127 /* confdefs.h.  */
32128 _ACEOF
32129 cat confdefs.h >>conftest.$ac_ext
32130 cat >>conftest.$ac_ext <<_ACEOF
32131 /* end confdefs.h.  */
32132 #include <math.h>
32133 int
32134 main ()
32135 {
32136  hypotl(0, 0);
32137   ;
32138   return 0;
32139 }
32140 _ACEOF
32141 rm -f conftest.$ac_objext
32142 if { (ac_try="$ac_compile"
32143 case "(($ac_try" in
32144   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32145   *) ac_try_echo=$ac_try;;
32146 esac
32147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32148   (eval "$ac_compile") 2>conftest.er1
32149   ac_status=$?
32150   grep -v '^ *+' conftest.er1 >conftest.err
32151   rm -f conftest.er1
32152   cat conftest.err >&5
32153   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32154   (exit $ac_status); } && {
32155          test -z "$ac_cxx_werror_flag" ||
32156          test ! -s conftest.err
32157        } && test -s conftest.$ac_objext; then
32158   glibcxx_cv_func_hypotl_use=yes
32159 else
32160   echo "$as_me: failed program was:" >&5
32161 sed 's/^/| /' conftest.$ac_ext >&5
32162
32163         glibcxx_cv_func_hypotl_use=no
32164 fi
32165
32166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32167       ac_ext=c
32168 ac_cpp='$CPP $CPPFLAGS'
32169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32172
32173
32174 fi
32175
32176   fi
32177   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
32178 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6; }
32179
32180   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
32181
32182 for ac_func in hypotl
32183 do
32184 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32185 { echo "$as_me:$LINENO: checking for $ac_func" >&5
32186 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
32187 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
32188   echo $ECHO_N "(cached) $ECHO_C" >&6
32189 else
32190   if test x$gcc_no_link = xyes; then
32191   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32192 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32193    { (exit 1); exit 1; }; }
32194 fi
32195 cat >conftest.$ac_ext <<_ACEOF
32196 /* confdefs.h.  */
32197 _ACEOF
32198 cat confdefs.h >>conftest.$ac_ext
32199 cat >>conftest.$ac_ext <<_ACEOF
32200 /* end confdefs.h.  */
32201 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32202    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32203 #define $ac_func innocuous_$ac_func
32204
32205 /* System header to define __stub macros and hopefully few prototypes,
32206     which can conflict with char $ac_func (); below.
32207     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32208     <limits.h> exists even on freestanding compilers.  */
32209
32210 #ifdef __STDC__
32211 # include <limits.h>
32212 #else
32213 # include <assert.h>
32214 #endif
32215
32216 #undef $ac_func
32217
32218 /* Override any GCC internal prototype to avoid an error.
32219    Use char because int might match the return type of a GCC
32220    builtin and then its argument prototype would still apply.  */
32221 #ifdef __cplusplus
32222 extern "C"
32223 #endif
32224 char $ac_func ();
32225 /* The GNU C library defines this for functions which it implements
32226     to always fail with ENOSYS.  Some functions are actually named
32227     something starting with __ and the normal name is an alias.  */
32228 #if defined __stub_$ac_func || defined __stub___$ac_func
32229 choke me
32230 #endif
32231
32232 int
32233 main ()
32234 {
32235 return $ac_func ();
32236   ;
32237   return 0;
32238 }
32239 _ACEOF
32240 rm -f conftest.$ac_objext conftest$ac_exeext
32241 if { (ac_try="$ac_link"
32242 case "(($ac_try" in
32243   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32244   *) ac_try_echo=$ac_try;;
32245 esac
32246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32247   (eval "$ac_link") 2>conftest.er1
32248   ac_status=$?
32249   grep -v '^ *+' conftest.er1 >conftest.err
32250   rm -f conftest.er1
32251   cat conftest.err >&5
32252   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32253   (exit $ac_status); } && {
32254          test -z "$ac_c_werror_flag" ||
32255          test ! -s conftest.err
32256        } && test -s conftest$ac_exeext &&
32257        $as_test_x conftest$ac_exeext; then
32258   eval "$as_ac_var=yes"
32259 else
32260   echo "$as_me: failed program was:" >&5
32261 sed 's/^/| /' conftest.$ac_ext >&5
32262
32263         eval "$as_ac_var=no"
32264 fi
32265
32266 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32267       conftest$ac_exeext conftest.$ac_ext
32268 fi
32269 ac_res=`eval echo '${'$as_ac_var'}'`
32270                { echo "$as_me:$LINENO: result: $ac_res" >&5
32271 echo "${ECHO_T}$ac_res" >&6; }
32272 if test `eval echo '${'$as_ac_var'}'` = yes; then
32273   cat >>confdefs.h <<_ACEOF
32274 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32275 _ACEOF
32276
32277 fi
32278 done
32279
32280   else
32281
32282   { echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
32283 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6; }
32284   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
32285     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
32286   echo $ECHO_N "(cached) $ECHO_C" >&6
32287 else
32288
32289
32290       ac_ext=cpp
32291 ac_cpp='$CXXCPP $CPPFLAGS'
32292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32295
32296       cat >conftest.$ac_ext <<_ACEOF
32297 /* confdefs.h.  */
32298 _ACEOF
32299 cat confdefs.h >>conftest.$ac_ext
32300 cat >>conftest.$ac_ext <<_ACEOF
32301 /* end confdefs.h.  */
32302 #include <math.h>
32303 int
32304 main ()
32305 {
32306  _hypotl(0, 0);
32307   ;
32308   return 0;
32309 }
32310 _ACEOF
32311 rm -f conftest.$ac_objext
32312 if { (ac_try="$ac_compile"
32313 case "(($ac_try" in
32314   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32315   *) ac_try_echo=$ac_try;;
32316 esac
32317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32318   (eval "$ac_compile") 2>conftest.er1
32319   ac_status=$?
32320   grep -v '^ *+' conftest.er1 >conftest.err
32321   rm -f conftest.er1
32322   cat conftest.err >&5
32323   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32324   (exit $ac_status); } && {
32325          test -z "$ac_cxx_werror_flag" ||
32326          test ! -s conftest.err
32327        } && test -s conftest.$ac_objext; then
32328   glibcxx_cv_func__hypotl_use=yes
32329 else
32330   echo "$as_me: failed program was:" >&5
32331 sed 's/^/| /' conftest.$ac_ext >&5
32332
32333         glibcxx_cv_func__hypotl_use=no
32334 fi
32335
32336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32337       ac_ext=c
32338 ac_cpp='$CPP $CPPFLAGS'
32339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32342
32343
32344 fi
32345
32346   fi
32347   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
32348 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6; }
32349
32350     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
32351
32352 for ac_func in _hypotl
32353 do
32354 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32355 { echo "$as_me:$LINENO: checking for $ac_func" >&5
32356 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
32357 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
32358   echo $ECHO_N "(cached) $ECHO_C" >&6
32359 else
32360   if test x$gcc_no_link = xyes; then
32361   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32362 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32363    { (exit 1); exit 1; }; }
32364 fi
32365 cat >conftest.$ac_ext <<_ACEOF
32366 /* confdefs.h.  */
32367 _ACEOF
32368 cat confdefs.h >>conftest.$ac_ext
32369 cat >>conftest.$ac_ext <<_ACEOF
32370 /* end confdefs.h.  */
32371 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32372    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32373 #define $ac_func innocuous_$ac_func
32374
32375 /* System header to define __stub macros and hopefully few prototypes,
32376     which can conflict with char $ac_func (); below.
32377     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32378     <limits.h> exists even on freestanding compilers.  */
32379
32380 #ifdef __STDC__
32381 # include <limits.h>
32382 #else
32383 # include <assert.h>
32384 #endif
32385
32386 #undef $ac_func
32387
32388 /* Override any GCC internal prototype to avoid an error.
32389    Use char because int might match the return type of a GCC
32390    builtin and then its argument prototype would still apply.  */
32391 #ifdef __cplusplus
32392 extern "C"
32393 #endif
32394 char $ac_func ();
32395 /* The GNU C library defines this for functions which it implements
32396     to always fail with ENOSYS.  Some functions are actually named
32397     something starting with __ and the normal name is an alias.  */
32398 #if defined __stub_$ac_func || defined __stub___$ac_func
32399 choke me
32400 #endif
32401
32402 int
32403 main ()
32404 {
32405 return $ac_func ();
32406   ;
32407   return 0;
32408 }
32409 _ACEOF
32410 rm -f conftest.$ac_objext conftest$ac_exeext
32411 if { (ac_try="$ac_link"
32412 case "(($ac_try" in
32413   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32414   *) ac_try_echo=$ac_try;;
32415 esac
32416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32417   (eval "$ac_link") 2>conftest.er1
32418   ac_status=$?
32419   grep -v '^ *+' conftest.er1 >conftest.err
32420   rm -f conftest.er1
32421   cat conftest.err >&5
32422   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32423   (exit $ac_status); } && {
32424          test -z "$ac_c_werror_flag" ||
32425          test ! -s conftest.err
32426        } && test -s conftest$ac_exeext &&
32427        $as_test_x conftest$ac_exeext; then
32428   eval "$as_ac_var=yes"
32429 else
32430   echo "$as_me: failed program was:" >&5
32431 sed 's/^/| /' conftest.$ac_ext >&5
32432
32433         eval "$as_ac_var=no"
32434 fi
32435
32436 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32437       conftest$ac_exeext conftest.$ac_ext
32438 fi
32439 ac_res=`eval echo '${'$as_ac_var'}'`
32440                { echo "$as_me:$LINENO: result: $ac_res" >&5
32441 echo "${ECHO_T}$ac_res" >&6; }
32442 if test `eval echo '${'$as_ac_var'}'` = yes; then
32443   cat >>confdefs.h <<_ACEOF
32444 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32445 _ACEOF
32446
32447 fi
32448 done
32449
32450     fi
32451   fi
32452
32453
32454
32455
32456
32457
32458   { echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
32459 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6; }
32460   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
32461     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
32462   echo $ECHO_N "(cached) $ECHO_C" >&6
32463 else
32464
32465
32466       ac_ext=cpp
32467 ac_cpp='$CXXCPP $CPPFLAGS'
32468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32471
32472       cat >conftest.$ac_ext <<_ACEOF
32473 /* confdefs.h.  */
32474 _ACEOF
32475 cat confdefs.h >>conftest.$ac_ext
32476 cat >>conftest.$ac_ext <<_ACEOF
32477 /* end confdefs.h.  */
32478 #include <math.h>
32479 int
32480 main ()
32481 {
32482  ldexpl(0, 0);
32483   ;
32484   return 0;
32485 }
32486 _ACEOF
32487 rm -f conftest.$ac_objext
32488 if { (ac_try="$ac_compile"
32489 case "(($ac_try" in
32490   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32491   *) ac_try_echo=$ac_try;;
32492 esac
32493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32494   (eval "$ac_compile") 2>conftest.er1
32495   ac_status=$?
32496   grep -v '^ *+' conftest.er1 >conftest.err
32497   rm -f conftest.er1
32498   cat conftest.err >&5
32499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32500   (exit $ac_status); } && {
32501          test -z "$ac_cxx_werror_flag" ||
32502          test ! -s conftest.err
32503        } && test -s conftest.$ac_objext; then
32504   glibcxx_cv_func_ldexpl_use=yes
32505 else
32506   echo "$as_me: failed program was:" >&5
32507 sed 's/^/| /' conftest.$ac_ext >&5
32508
32509         glibcxx_cv_func_ldexpl_use=no
32510 fi
32511
32512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32513       ac_ext=c
32514 ac_cpp='$CPP $CPPFLAGS'
32515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32518
32519
32520 fi
32521
32522   fi
32523   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
32524 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6; }
32525
32526   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
32527
32528 for ac_func in ldexpl
32529 do
32530 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32531 { echo "$as_me:$LINENO: checking for $ac_func" >&5
32532 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
32533 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
32534   echo $ECHO_N "(cached) $ECHO_C" >&6
32535 else
32536   if test x$gcc_no_link = xyes; then
32537   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32538 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32539    { (exit 1); exit 1; }; }
32540 fi
32541 cat >conftest.$ac_ext <<_ACEOF
32542 /* confdefs.h.  */
32543 _ACEOF
32544 cat confdefs.h >>conftest.$ac_ext
32545 cat >>conftest.$ac_ext <<_ACEOF
32546 /* end confdefs.h.  */
32547 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32548    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32549 #define $ac_func innocuous_$ac_func
32550
32551 /* System header to define __stub macros and hopefully few prototypes,
32552     which can conflict with char $ac_func (); below.
32553     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32554     <limits.h> exists even on freestanding compilers.  */
32555
32556 #ifdef __STDC__
32557 # include <limits.h>
32558 #else
32559 # include <assert.h>
32560 #endif
32561
32562 #undef $ac_func
32563
32564 /* Override any GCC internal prototype to avoid an error.
32565    Use char because int might match the return type of a GCC
32566    builtin and then its argument prototype would still apply.  */
32567 #ifdef __cplusplus
32568 extern "C"
32569 #endif
32570 char $ac_func ();
32571 /* The GNU C library defines this for functions which it implements
32572     to always fail with ENOSYS.  Some functions are actually named
32573     something starting with __ and the normal name is an alias.  */
32574 #if defined __stub_$ac_func || defined __stub___$ac_func
32575 choke me
32576 #endif
32577
32578 int
32579 main ()
32580 {
32581 return $ac_func ();
32582   ;
32583   return 0;
32584 }
32585 _ACEOF
32586 rm -f conftest.$ac_objext conftest$ac_exeext
32587 if { (ac_try="$ac_link"
32588 case "(($ac_try" in
32589   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32590   *) ac_try_echo=$ac_try;;
32591 esac
32592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32593   (eval "$ac_link") 2>conftest.er1
32594   ac_status=$?
32595   grep -v '^ *+' conftest.er1 >conftest.err
32596   rm -f conftest.er1
32597   cat conftest.err >&5
32598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32599   (exit $ac_status); } && {
32600          test -z "$ac_c_werror_flag" ||
32601          test ! -s conftest.err
32602        } && test -s conftest$ac_exeext &&
32603        $as_test_x conftest$ac_exeext; then
32604   eval "$as_ac_var=yes"
32605 else
32606   echo "$as_me: failed program was:" >&5
32607 sed 's/^/| /' conftest.$ac_ext >&5
32608
32609         eval "$as_ac_var=no"
32610 fi
32611
32612 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32613       conftest$ac_exeext conftest.$ac_ext
32614 fi
32615 ac_res=`eval echo '${'$as_ac_var'}'`
32616                { echo "$as_me:$LINENO: result: $ac_res" >&5
32617 echo "${ECHO_T}$ac_res" >&6; }
32618 if test `eval echo '${'$as_ac_var'}'` = yes; then
32619   cat >>confdefs.h <<_ACEOF
32620 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32621 _ACEOF
32622
32623 fi
32624 done
32625
32626   else
32627
32628   { echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
32629 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6; }
32630   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
32631     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
32632   echo $ECHO_N "(cached) $ECHO_C" >&6
32633 else
32634
32635
32636       ac_ext=cpp
32637 ac_cpp='$CXXCPP $CPPFLAGS'
32638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32641
32642       cat >conftest.$ac_ext <<_ACEOF
32643 /* confdefs.h.  */
32644 _ACEOF
32645 cat confdefs.h >>conftest.$ac_ext
32646 cat >>conftest.$ac_ext <<_ACEOF
32647 /* end confdefs.h.  */
32648 #include <math.h>
32649 int
32650 main ()
32651 {
32652  _ldexpl(0, 0);
32653   ;
32654   return 0;
32655 }
32656 _ACEOF
32657 rm -f conftest.$ac_objext
32658 if { (ac_try="$ac_compile"
32659 case "(($ac_try" in
32660   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32661   *) ac_try_echo=$ac_try;;
32662 esac
32663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32664   (eval "$ac_compile") 2>conftest.er1
32665   ac_status=$?
32666   grep -v '^ *+' conftest.er1 >conftest.err
32667   rm -f conftest.er1
32668   cat conftest.err >&5
32669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32670   (exit $ac_status); } && {
32671          test -z "$ac_cxx_werror_flag" ||
32672          test ! -s conftest.err
32673        } && test -s conftest.$ac_objext; then
32674   glibcxx_cv_func__ldexpl_use=yes
32675 else
32676   echo "$as_me: failed program was:" >&5
32677 sed 's/^/| /' conftest.$ac_ext >&5
32678
32679         glibcxx_cv_func__ldexpl_use=no
32680 fi
32681
32682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32683       ac_ext=c
32684 ac_cpp='$CPP $CPPFLAGS'
32685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32688
32689
32690 fi
32691
32692   fi
32693   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
32694 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6; }
32695
32696     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
32697
32698 for ac_func in _ldexpl
32699 do
32700 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32701 { echo "$as_me:$LINENO: checking for $ac_func" >&5
32702 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
32703 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
32704   echo $ECHO_N "(cached) $ECHO_C" >&6
32705 else
32706   if test x$gcc_no_link = xyes; then
32707   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32708 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32709    { (exit 1); exit 1; }; }
32710 fi
32711 cat >conftest.$ac_ext <<_ACEOF
32712 /* confdefs.h.  */
32713 _ACEOF
32714 cat confdefs.h >>conftest.$ac_ext
32715 cat >>conftest.$ac_ext <<_ACEOF
32716 /* end confdefs.h.  */
32717 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32718    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32719 #define $ac_func innocuous_$ac_func
32720
32721 /* System header to define __stub macros and hopefully few prototypes,
32722     which can conflict with char $ac_func (); below.
32723     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32724     <limits.h> exists even on freestanding compilers.  */
32725
32726 #ifdef __STDC__
32727 # include <limits.h>
32728 #else
32729 # include <assert.h>
32730 #endif
32731
32732 #undef $ac_func
32733
32734 /* Override any GCC internal prototype to avoid an error.
32735    Use char because int might match the return type of a GCC
32736    builtin and then its argument prototype would still apply.  */
32737 #ifdef __cplusplus
32738 extern "C"
32739 #endif
32740 char $ac_func ();
32741 /* The GNU C library defines this for functions which it implements
32742     to always fail with ENOSYS.  Some functions are actually named
32743     something starting with __ and the normal name is an alias.  */
32744 #if defined __stub_$ac_func || defined __stub___$ac_func
32745 choke me
32746 #endif
32747
32748 int
32749 main ()
32750 {
32751 return $ac_func ();
32752   ;
32753   return 0;
32754 }
32755 _ACEOF
32756 rm -f conftest.$ac_objext conftest$ac_exeext
32757 if { (ac_try="$ac_link"
32758 case "(($ac_try" in
32759   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32760   *) ac_try_echo=$ac_try;;
32761 esac
32762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32763   (eval "$ac_link") 2>conftest.er1
32764   ac_status=$?
32765   grep -v '^ *+' conftest.er1 >conftest.err
32766   rm -f conftest.er1
32767   cat conftest.err >&5
32768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32769   (exit $ac_status); } && {
32770          test -z "$ac_c_werror_flag" ||
32771          test ! -s conftest.err
32772        } && test -s conftest$ac_exeext &&
32773        $as_test_x conftest$ac_exeext; then
32774   eval "$as_ac_var=yes"
32775 else
32776   echo "$as_me: failed program was:" >&5
32777 sed 's/^/| /' conftest.$ac_ext >&5
32778
32779         eval "$as_ac_var=no"
32780 fi
32781
32782 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32783       conftest$ac_exeext conftest.$ac_ext
32784 fi
32785 ac_res=`eval echo '${'$as_ac_var'}'`
32786                { echo "$as_me:$LINENO: result: $ac_res" >&5
32787 echo "${ECHO_T}$ac_res" >&6; }
32788 if test `eval echo '${'$as_ac_var'}'` = yes; then
32789   cat >>confdefs.h <<_ACEOF
32790 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32791 _ACEOF
32792
32793 fi
32794 done
32795
32796     fi
32797   fi
32798
32799
32800
32801
32802
32803
32804   { echo "$as_me:$LINENO: checking for logl declaration" >&5
32805 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6; }
32806   if test x${glibcxx_cv_func_logl_use+set} != xset; then
32807     if test "${glibcxx_cv_func_logl_use+set}" = set; then
32808   echo $ECHO_N "(cached) $ECHO_C" >&6
32809 else
32810
32811
32812       ac_ext=cpp
32813 ac_cpp='$CXXCPP $CPPFLAGS'
32814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32817
32818       cat >conftest.$ac_ext <<_ACEOF
32819 /* confdefs.h.  */
32820 _ACEOF
32821 cat confdefs.h >>conftest.$ac_ext
32822 cat >>conftest.$ac_ext <<_ACEOF
32823 /* end confdefs.h.  */
32824 #include <math.h>
32825                       #ifdef HAVE_IEEEFP_H
32826                       #include <ieeefp.h>
32827                       #endif
32828
32829 int
32830 main ()
32831 {
32832  logl(0);
32833   ;
32834   return 0;
32835 }
32836 _ACEOF
32837 rm -f conftest.$ac_objext
32838 if { (ac_try="$ac_compile"
32839 case "(($ac_try" in
32840   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32841   *) ac_try_echo=$ac_try;;
32842 esac
32843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32844   (eval "$ac_compile") 2>conftest.er1
32845   ac_status=$?
32846   grep -v '^ *+' conftest.er1 >conftest.err
32847   rm -f conftest.er1
32848   cat conftest.err >&5
32849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32850   (exit $ac_status); } && {
32851          test -z "$ac_cxx_werror_flag" ||
32852          test ! -s conftest.err
32853        } && test -s conftest.$ac_objext; then
32854   glibcxx_cv_func_logl_use=yes
32855 else
32856   echo "$as_me: failed program was:" >&5
32857 sed 's/^/| /' conftest.$ac_ext >&5
32858
32859         glibcxx_cv_func_logl_use=no
32860 fi
32861
32862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32863       ac_ext=c
32864 ac_cpp='$CPP $CPPFLAGS'
32865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32868
32869
32870 fi
32871
32872   fi
32873   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
32874 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6; }
32875
32876   if test x$glibcxx_cv_func_logl_use = x"yes"; then
32877
32878 for ac_func in logl
32879 do
32880 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32881 { echo "$as_me:$LINENO: checking for $ac_func" >&5
32882 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
32883 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
32884   echo $ECHO_N "(cached) $ECHO_C" >&6
32885 else
32886   if test x$gcc_no_link = xyes; then
32887   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32888 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32889    { (exit 1); exit 1; }; }
32890 fi
32891 cat >conftest.$ac_ext <<_ACEOF
32892 /* confdefs.h.  */
32893 _ACEOF
32894 cat confdefs.h >>conftest.$ac_ext
32895 cat >>conftest.$ac_ext <<_ACEOF
32896 /* end confdefs.h.  */
32897 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32898    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32899 #define $ac_func innocuous_$ac_func
32900
32901 /* System header to define __stub macros and hopefully few prototypes,
32902     which can conflict with char $ac_func (); below.
32903     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32904     <limits.h> exists even on freestanding compilers.  */
32905
32906 #ifdef __STDC__
32907 # include <limits.h>
32908 #else
32909 # include <assert.h>
32910 #endif
32911
32912 #undef $ac_func
32913
32914 /* Override any GCC internal prototype to avoid an error.
32915    Use char because int might match the return type of a GCC
32916    builtin and then its argument prototype would still apply.  */
32917 #ifdef __cplusplus
32918 extern "C"
32919 #endif
32920 char $ac_func ();
32921 /* The GNU C library defines this for functions which it implements
32922     to always fail with ENOSYS.  Some functions are actually named
32923     something starting with __ and the normal name is an alias.  */
32924 #if defined __stub_$ac_func || defined __stub___$ac_func
32925 choke me
32926 #endif
32927
32928 int
32929 main ()
32930 {
32931 return $ac_func ();
32932   ;
32933   return 0;
32934 }
32935 _ACEOF
32936 rm -f conftest.$ac_objext conftest$ac_exeext
32937 if { (ac_try="$ac_link"
32938 case "(($ac_try" in
32939   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32940   *) ac_try_echo=$ac_try;;
32941 esac
32942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32943   (eval "$ac_link") 2>conftest.er1
32944   ac_status=$?
32945   grep -v '^ *+' conftest.er1 >conftest.err
32946   rm -f conftest.er1
32947   cat conftest.err >&5
32948   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32949   (exit $ac_status); } && {
32950          test -z "$ac_c_werror_flag" ||
32951          test ! -s conftest.err
32952        } && test -s conftest$ac_exeext &&
32953        $as_test_x conftest$ac_exeext; then
32954   eval "$as_ac_var=yes"
32955 else
32956   echo "$as_me: failed program was:" >&5
32957 sed 's/^/| /' conftest.$ac_ext >&5
32958
32959         eval "$as_ac_var=no"
32960 fi
32961
32962 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32963       conftest$ac_exeext conftest.$ac_ext
32964 fi
32965 ac_res=`eval echo '${'$as_ac_var'}'`
32966                { echo "$as_me:$LINENO: result: $ac_res" >&5
32967 echo "${ECHO_T}$ac_res" >&6; }
32968 if test `eval echo '${'$as_ac_var'}'` = yes; then
32969   cat >>confdefs.h <<_ACEOF
32970 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32971 _ACEOF
32972
32973 fi
32974 done
32975
32976   else
32977
32978   { echo "$as_me:$LINENO: checking for _logl declaration" >&5
32979 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6; }
32980   if test x${glibcxx_cv_func__logl_use+set} != xset; then
32981     if test "${glibcxx_cv_func__logl_use+set}" = set; then
32982   echo $ECHO_N "(cached) $ECHO_C" >&6
32983 else
32984
32985
32986       ac_ext=cpp
32987 ac_cpp='$CXXCPP $CPPFLAGS'
32988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32991
32992       cat >conftest.$ac_ext <<_ACEOF
32993 /* confdefs.h.  */
32994 _ACEOF
32995 cat confdefs.h >>conftest.$ac_ext
32996 cat >>conftest.$ac_ext <<_ACEOF
32997 /* end confdefs.h.  */
32998 #include <math.h>
32999                       #ifdef HAVE_IEEEFP_H
33000                       #include <ieeefp.h>
33001                       #endif
33002
33003 int
33004 main ()
33005 {
33006  _logl(0);
33007   ;
33008   return 0;
33009 }
33010 _ACEOF
33011 rm -f conftest.$ac_objext
33012 if { (ac_try="$ac_compile"
33013 case "(($ac_try" in
33014   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33015   *) ac_try_echo=$ac_try;;
33016 esac
33017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33018   (eval "$ac_compile") 2>conftest.er1
33019   ac_status=$?
33020   grep -v '^ *+' conftest.er1 >conftest.err
33021   rm -f conftest.er1
33022   cat conftest.err >&5
33023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33024   (exit $ac_status); } && {
33025          test -z "$ac_cxx_werror_flag" ||
33026          test ! -s conftest.err
33027        } && test -s conftest.$ac_objext; then
33028   glibcxx_cv_func__logl_use=yes
33029 else
33030   echo "$as_me: failed program was:" >&5
33031 sed 's/^/| /' conftest.$ac_ext >&5
33032
33033         glibcxx_cv_func__logl_use=no
33034 fi
33035
33036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33037       ac_ext=c
33038 ac_cpp='$CPP $CPPFLAGS'
33039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33042
33043
33044 fi
33045
33046   fi
33047   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
33048 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6; }
33049
33050     if test x$glibcxx_cv_func__logl_use = x"yes"; then
33051
33052 for ac_func in _logl
33053 do
33054 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33055 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33056 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33057 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33058   echo $ECHO_N "(cached) $ECHO_C" >&6
33059 else
33060   if test x$gcc_no_link = xyes; then
33061   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33062 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33063    { (exit 1); exit 1; }; }
33064 fi
33065 cat >conftest.$ac_ext <<_ACEOF
33066 /* confdefs.h.  */
33067 _ACEOF
33068 cat confdefs.h >>conftest.$ac_ext
33069 cat >>conftest.$ac_ext <<_ACEOF
33070 /* end confdefs.h.  */
33071 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33072    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33073 #define $ac_func innocuous_$ac_func
33074
33075 /* System header to define __stub macros and hopefully few prototypes,
33076     which can conflict with char $ac_func (); below.
33077     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33078     <limits.h> exists even on freestanding compilers.  */
33079
33080 #ifdef __STDC__
33081 # include <limits.h>
33082 #else
33083 # include <assert.h>
33084 #endif
33085
33086 #undef $ac_func
33087
33088 /* Override any GCC internal prototype to avoid an error.
33089    Use char because int might match the return type of a GCC
33090    builtin and then its argument prototype would still apply.  */
33091 #ifdef __cplusplus
33092 extern "C"
33093 #endif
33094 char $ac_func ();
33095 /* The GNU C library defines this for functions which it implements
33096     to always fail with ENOSYS.  Some functions are actually named
33097     something starting with __ and the normal name is an alias.  */
33098 #if defined __stub_$ac_func || defined __stub___$ac_func
33099 choke me
33100 #endif
33101
33102 int
33103 main ()
33104 {
33105 return $ac_func ();
33106   ;
33107   return 0;
33108 }
33109 _ACEOF
33110 rm -f conftest.$ac_objext conftest$ac_exeext
33111 if { (ac_try="$ac_link"
33112 case "(($ac_try" in
33113   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33114   *) ac_try_echo=$ac_try;;
33115 esac
33116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33117   (eval "$ac_link") 2>conftest.er1
33118   ac_status=$?
33119   grep -v '^ *+' conftest.er1 >conftest.err
33120   rm -f conftest.er1
33121   cat conftest.err >&5
33122   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33123   (exit $ac_status); } && {
33124          test -z "$ac_c_werror_flag" ||
33125          test ! -s conftest.err
33126        } && test -s conftest$ac_exeext &&
33127        $as_test_x conftest$ac_exeext; then
33128   eval "$as_ac_var=yes"
33129 else
33130   echo "$as_me: failed program was:" >&5
33131 sed 's/^/| /' conftest.$ac_ext >&5
33132
33133         eval "$as_ac_var=no"
33134 fi
33135
33136 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33137       conftest$ac_exeext conftest.$ac_ext
33138 fi
33139 ac_res=`eval echo '${'$as_ac_var'}'`
33140                { echo "$as_me:$LINENO: result: $ac_res" >&5
33141 echo "${ECHO_T}$ac_res" >&6; }
33142 if test `eval echo '${'$as_ac_var'}'` = yes; then
33143   cat >>confdefs.h <<_ACEOF
33144 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33145 _ACEOF
33146
33147 fi
33148 done
33149
33150     fi
33151   fi
33152
33153
33154
33155
33156
33157
33158   { echo "$as_me:$LINENO: checking for log10l declaration" >&5
33159 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6; }
33160   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
33161     if test "${glibcxx_cv_func_log10l_use+set}" = set; then
33162   echo $ECHO_N "(cached) $ECHO_C" >&6
33163 else
33164
33165
33166       ac_ext=cpp
33167 ac_cpp='$CXXCPP $CPPFLAGS'
33168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33171
33172       cat >conftest.$ac_ext <<_ACEOF
33173 /* confdefs.h.  */
33174 _ACEOF
33175 cat confdefs.h >>conftest.$ac_ext
33176 cat >>conftest.$ac_ext <<_ACEOF
33177 /* end confdefs.h.  */
33178 #include <math.h>
33179                       #ifdef HAVE_IEEEFP_H
33180                       #include <ieeefp.h>
33181                       #endif
33182
33183 int
33184 main ()
33185 {
33186  log10l(0);
33187   ;
33188   return 0;
33189 }
33190 _ACEOF
33191 rm -f conftest.$ac_objext
33192 if { (ac_try="$ac_compile"
33193 case "(($ac_try" in
33194   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33195   *) ac_try_echo=$ac_try;;
33196 esac
33197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33198   (eval "$ac_compile") 2>conftest.er1
33199   ac_status=$?
33200   grep -v '^ *+' conftest.er1 >conftest.err
33201   rm -f conftest.er1
33202   cat conftest.err >&5
33203   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33204   (exit $ac_status); } && {
33205          test -z "$ac_cxx_werror_flag" ||
33206          test ! -s conftest.err
33207        } && test -s conftest.$ac_objext; then
33208   glibcxx_cv_func_log10l_use=yes
33209 else
33210   echo "$as_me: failed program was:" >&5
33211 sed 's/^/| /' conftest.$ac_ext >&5
33212
33213         glibcxx_cv_func_log10l_use=no
33214 fi
33215
33216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33217       ac_ext=c
33218 ac_cpp='$CPP $CPPFLAGS'
33219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33222
33223
33224 fi
33225
33226   fi
33227   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
33228 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6; }
33229
33230   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
33231
33232 for ac_func in log10l
33233 do
33234 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33235 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33236 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33237 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33238   echo $ECHO_N "(cached) $ECHO_C" >&6
33239 else
33240   if test x$gcc_no_link = xyes; then
33241   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33242 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33243    { (exit 1); exit 1; }; }
33244 fi
33245 cat >conftest.$ac_ext <<_ACEOF
33246 /* confdefs.h.  */
33247 _ACEOF
33248 cat confdefs.h >>conftest.$ac_ext
33249 cat >>conftest.$ac_ext <<_ACEOF
33250 /* end confdefs.h.  */
33251 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33252    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33253 #define $ac_func innocuous_$ac_func
33254
33255 /* System header to define __stub macros and hopefully few prototypes,
33256     which can conflict with char $ac_func (); below.
33257     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33258     <limits.h> exists even on freestanding compilers.  */
33259
33260 #ifdef __STDC__
33261 # include <limits.h>
33262 #else
33263 # include <assert.h>
33264 #endif
33265
33266 #undef $ac_func
33267
33268 /* Override any GCC internal prototype to avoid an error.
33269    Use char because int might match the return type of a GCC
33270    builtin and then its argument prototype would still apply.  */
33271 #ifdef __cplusplus
33272 extern "C"
33273 #endif
33274 char $ac_func ();
33275 /* The GNU C library defines this for functions which it implements
33276     to always fail with ENOSYS.  Some functions are actually named
33277     something starting with __ and the normal name is an alias.  */
33278 #if defined __stub_$ac_func || defined __stub___$ac_func
33279 choke me
33280 #endif
33281
33282 int
33283 main ()
33284 {
33285 return $ac_func ();
33286   ;
33287   return 0;
33288 }
33289 _ACEOF
33290 rm -f conftest.$ac_objext conftest$ac_exeext
33291 if { (ac_try="$ac_link"
33292 case "(($ac_try" in
33293   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33294   *) ac_try_echo=$ac_try;;
33295 esac
33296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33297   (eval "$ac_link") 2>conftest.er1
33298   ac_status=$?
33299   grep -v '^ *+' conftest.er1 >conftest.err
33300   rm -f conftest.er1
33301   cat conftest.err >&5
33302   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33303   (exit $ac_status); } && {
33304          test -z "$ac_c_werror_flag" ||
33305          test ! -s conftest.err
33306        } && test -s conftest$ac_exeext &&
33307        $as_test_x conftest$ac_exeext; then
33308   eval "$as_ac_var=yes"
33309 else
33310   echo "$as_me: failed program was:" >&5
33311 sed 's/^/| /' conftest.$ac_ext >&5
33312
33313         eval "$as_ac_var=no"
33314 fi
33315
33316 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33317       conftest$ac_exeext conftest.$ac_ext
33318 fi
33319 ac_res=`eval echo '${'$as_ac_var'}'`
33320                { echo "$as_me:$LINENO: result: $ac_res" >&5
33321 echo "${ECHO_T}$ac_res" >&6; }
33322 if test `eval echo '${'$as_ac_var'}'` = yes; then
33323   cat >>confdefs.h <<_ACEOF
33324 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33325 _ACEOF
33326
33327 fi
33328 done
33329
33330   else
33331
33332   { echo "$as_me:$LINENO: checking for _log10l declaration" >&5
33333 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6; }
33334   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
33335     if test "${glibcxx_cv_func__log10l_use+set}" = set; then
33336   echo $ECHO_N "(cached) $ECHO_C" >&6
33337 else
33338
33339
33340       ac_ext=cpp
33341 ac_cpp='$CXXCPP $CPPFLAGS'
33342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33345
33346       cat >conftest.$ac_ext <<_ACEOF
33347 /* confdefs.h.  */
33348 _ACEOF
33349 cat confdefs.h >>conftest.$ac_ext
33350 cat >>conftest.$ac_ext <<_ACEOF
33351 /* end confdefs.h.  */
33352 #include <math.h>
33353                       #ifdef HAVE_IEEEFP_H
33354                       #include <ieeefp.h>
33355                       #endif
33356
33357 int
33358 main ()
33359 {
33360  _log10l(0);
33361   ;
33362   return 0;
33363 }
33364 _ACEOF
33365 rm -f conftest.$ac_objext
33366 if { (ac_try="$ac_compile"
33367 case "(($ac_try" in
33368   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33369   *) ac_try_echo=$ac_try;;
33370 esac
33371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33372   (eval "$ac_compile") 2>conftest.er1
33373   ac_status=$?
33374   grep -v '^ *+' conftest.er1 >conftest.err
33375   rm -f conftest.er1
33376   cat conftest.err >&5
33377   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33378   (exit $ac_status); } && {
33379          test -z "$ac_cxx_werror_flag" ||
33380          test ! -s conftest.err
33381        } && test -s conftest.$ac_objext; then
33382   glibcxx_cv_func__log10l_use=yes
33383 else
33384   echo "$as_me: failed program was:" >&5
33385 sed 's/^/| /' conftest.$ac_ext >&5
33386
33387         glibcxx_cv_func__log10l_use=no
33388 fi
33389
33390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33391       ac_ext=c
33392 ac_cpp='$CPP $CPPFLAGS'
33393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33396
33397
33398 fi
33399
33400   fi
33401   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
33402 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6; }
33403
33404     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
33405
33406 for ac_func in _log10l
33407 do
33408 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33409 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33410 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33411 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33412   echo $ECHO_N "(cached) $ECHO_C" >&6
33413 else
33414   if test x$gcc_no_link = xyes; then
33415   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33416 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33417    { (exit 1); exit 1; }; }
33418 fi
33419 cat >conftest.$ac_ext <<_ACEOF
33420 /* confdefs.h.  */
33421 _ACEOF
33422 cat confdefs.h >>conftest.$ac_ext
33423 cat >>conftest.$ac_ext <<_ACEOF
33424 /* end confdefs.h.  */
33425 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33426    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33427 #define $ac_func innocuous_$ac_func
33428
33429 /* System header to define __stub macros and hopefully few prototypes,
33430     which can conflict with char $ac_func (); below.
33431     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33432     <limits.h> exists even on freestanding compilers.  */
33433
33434 #ifdef __STDC__
33435 # include <limits.h>
33436 #else
33437 # include <assert.h>
33438 #endif
33439
33440 #undef $ac_func
33441
33442 /* Override any GCC internal prototype to avoid an error.
33443    Use char because int might match the return type of a GCC
33444    builtin and then its argument prototype would still apply.  */
33445 #ifdef __cplusplus
33446 extern "C"
33447 #endif
33448 char $ac_func ();
33449 /* The GNU C library defines this for functions which it implements
33450     to always fail with ENOSYS.  Some functions are actually named
33451     something starting with __ and the normal name is an alias.  */
33452 #if defined __stub_$ac_func || defined __stub___$ac_func
33453 choke me
33454 #endif
33455
33456 int
33457 main ()
33458 {
33459 return $ac_func ();
33460   ;
33461   return 0;
33462 }
33463 _ACEOF
33464 rm -f conftest.$ac_objext conftest$ac_exeext
33465 if { (ac_try="$ac_link"
33466 case "(($ac_try" in
33467   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33468   *) ac_try_echo=$ac_try;;
33469 esac
33470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33471   (eval "$ac_link") 2>conftest.er1
33472   ac_status=$?
33473   grep -v '^ *+' conftest.er1 >conftest.err
33474   rm -f conftest.er1
33475   cat conftest.err >&5
33476   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33477   (exit $ac_status); } && {
33478          test -z "$ac_c_werror_flag" ||
33479          test ! -s conftest.err
33480        } && test -s conftest$ac_exeext &&
33481        $as_test_x conftest$ac_exeext; then
33482   eval "$as_ac_var=yes"
33483 else
33484   echo "$as_me: failed program was:" >&5
33485 sed 's/^/| /' conftest.$ac_ext >&5
33486
33487         eval "$as_ac_var=no"
33488 fi
33489
33490 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33491       conftest$ac_exeext conftest.$ac_ext
33492 fi
33493 ac_res=`eval echo '${'$as_ac_var'}'`
33494                { echo "$as_me:$LINENO: result: $ac_res" >&5
33495 echo "${ECHO_T}$ac_res" >&6; }
33496 if test `eval echo '${'$as_ac_var'}'` = yes; then
33497   cat >>confdefs.h <<_ACEOF
33498 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33499 _ACEOF
33500
33501 fi
33502 done
33503
33504     fi
33505   fi
33506
33507
33508
33509
33510
33511
33512   { echo "$as_me:$LINENO: checking for modfl declaration" >&5
33513 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6; }
33514   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
33515     if test "${glibcxx_cv_func_modfl_use+set}" = set; then
33516   echo $ECHO_N "(cached) $ECHO_C" >&6
33517 else
33518
33519
33520       ac_ext=cpp
33521 ac_cpp='$CXXCPP $CPPFLAGS'
33522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33525
33526       cat >conftest.$ac_ext <<_ACEOF
33527 /* confdefs.h.  */
33528 _ACEOF
33529 cat confdefs.h >>conftest.$ac_ext
33530 cat >>conftest.$ac_ext <<_ACEOF
33531 /* end confdefs.h.  */
33532 #include <math.h>
33533 int
33534 main ()
33535 {
33536  modfl(0, 0);
33537   ;
33538   return 0;
33539 }
33540 _ACEOF
33541 rm -f conftest.$ac_objext
33542 if { (ac_try="$ac_compile"
33543 case "(($ac_try" in
33544   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33545   *) ac_try_echo=$ac_try;;
33546 esac
33547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33548   (eval "$ac_compile") 2>conftest.er1
33549   ac_status=$?
33550   grep -v '^ *+' conftest.er1 >conftest.err
33551   rm -f conftest.er1
33552   cat conftest.err >&5
33553   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33554   (exit $ac_status); } && {
33555          test -z "$ac_cxx_werror_flag" ||
33556          test ! -s conftest.err
33557        } && test -s conftest.$ac_objext; then
33558   glibcxx_cv_func_modfl_use=yes
33559 else
33560   echo "$as_me: failed program was:" >&5
33561 sed 's/^/| /' conftest.$ac_ext >&5
33562
33563         glibcxx_cv_func_modfl_use=no
33564 fi
33565
33566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33567       ac_ext=c
33568 ac_cpp='$CPP $CPPFLAGS'
33569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33572
33573
33574 fi
33575
33576   fi
33577   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
33578 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6; }
33579
33580   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
33581
33582 for ac_func in modfl
33583 do
33584 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33585 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33586 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33587 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33588   echo $ECHO_N "(cached) $ECHO_C" >&6
33589 else
33590   if test x$gcc_no_link = xyes; then
33591   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33592 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33593    { (exit 1); exit 1; }; }
33594 fi
33595 cat >conftest.$ac_ext <<_ACEOF
33596 /* confdefs.h.  */
33597 _ACEOF
33598 cat confdefs.h >>conftest.$ac_ext
33599 cat >>conftest.$ac_ext <<_ACEOF
33600 /* end confdefs.h.  */
33601 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33602    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33603 #define $ac_func innocuous_$ac_func
33604
33605 /* System header to define __stub macros and hopefully few prototypes,
33606     which can conflict with char $ac_func (); below.
33607     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33608     <limits.h> exists even on freestanding compilers.  */
33609
33610 #ifdef __STDC__
33611 # include <limits.h>
33612 #else
33613 # include <assert.h>
33614 #endif
33615
33616 #undef $ac_func
33617
33618 /* Override any GCC internal prototype to avoid an error.
33619    Use char because int might match the return type of a GCC
33620    builtin and then its argument prototype would still apply.  */
33621 #ifdef __cplusplus
33622 extern "C"
33623 #endif
33624 char $ac_func ();
33625 /* The GNU C library defines this for functions which it implements
33626     to always fail with ENOSYS.  Some functions are actually named
33627     something starting with __ and the normal name is an alias.  */
33628 #if defined __stub_$ac_func || defined __stub___$ac_func
33629 choke me
33630 #endif
33631
33632 int
33633 main ()
33634 {
33635 return $ac_func ();
33636   ;
33637   return 0;
33638 }
33639 _ACEOF
33640 rm -f conftest.$ac_objext conftest$ac_exeext
33641 if { (ac_try="$ac_link"
33642 case "(($ac_try" in
33643   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33644   *) ac_try_echo=$ac_try;;
33645 esac
33646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33647   (eval "$ac_link") 2>conftest.er1
33648   ac_status=$?
33649   grep -v '^ *+' conftest.er1 >conftest.err
33650   rm -f conftest.er1
33651   cat conftest.err >&5
33652   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33653   (exit $ac_status); } && {
33654          test -z "$ac_c_werror_flag" ||
33655          test ! -s conftest.err
33656        } && test -s conftest$ac_exeext &&
33657        $as_test_x conftest$ac_exeext; then
33658   eval "$as_ac_var=yes"
33659 else
33660   echo "$as_me: failed program was:" >&5
33661 sed 's/^/| /' conftest.$ac_ext >&5
33662
33663         eval "$as_ac_var=no"
33664 fi
33665
33666 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33667       conftest$ac_exeext conftest.$ac_ext
33668 fi
33669 ac_res=`eval echo '${'$as_ac_var'}'`
33670                { echo "$as_me:$LINENO: result: $ac_res" >&5
33671 echo "${ECHO_T}$ac_res" >&6; }
33672 if test `eval echo '${'$as_ac_var'}'` = yes; then
33673   cat >>confdefs.h <<_ACEOF
33674 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33675 _ACEOF
33676
33677 fi
33678 done
33679
33680   else
33681
33682   { echo "$as_me:$LINENO: checking for _modfl declaration" >&5
33683 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6; }
33684   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
33685     if test "${glibcxx_cv_func__modfl_use+set}" = set; then
33686   echo $ECHO_N "(cached) $ECHO_C" >&6
33687 else
33688
33689
33690       ac_ext=cpp
33691 ac_cpp='$CXXCPP $CPPFLAGS'
33692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33695
33696       cat >conftest.$ac_ext <<_ACEOF
33697 /* confdefs.h.  */
33698 _ACEOF
33699 cat confdefs.h >>conftest.$ac_ext
33700 cat >>conftest.$ac_ext <<_ACEOF
33701 /* end confdefs.h.  */
33702 #include <math.h>
33703 int
33704 main ()
33705 {
33706  _modfl(0, 0);
33707   ;
33708   return 0;
33709 }
33710 _ACEOF
33711 rm -f conftest.$ac_objext
33712 if { (ac_try="$ac_compile"
33713 case "(($ac_try" in
33714   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33715   *) ac_try_echo=$ac_try;;
33716 esac
33717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33718   (eval "$ac_compile") 2>conftest.er1
33719   ac_status=$?
33720   grep -v '^ *+' conftest.er1 >conftest.err
33721   rm -f conftest.er1
33722   cat conftest.err >&5
33723   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33724   (exit $ac_status); } && {
33725          test -z "$ac_cxx_werror_flag" ||
33726          test ! -s conftest.err
33727        } && test -s conftest.$ac_objext; then
33728   glibcxx_cv_func__modfl_use=yes
33729 else
33730   echo "$as_me: failed program was:" >&5
33731 sed 's/^/| /' conftest.$ac_ext >&5
33732
33733         glibcxx_cv_func__modfl_use=no
33734 fi
33735
33736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33737       ac_ext=c
33738 ac_cpp='$CPP $CPPFLAGS'
33739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33742
33743
33744 fi
33745
33746   fi
33747   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
33748 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6; }
33749
33750     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
33751
33752 for ac_func in _modfl
33753 do
33754 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33755 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33756 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33757 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33758   echo $ECHO_N "(cached) $ECHO_C" >&6
33759 else
33760   if test x$gcc_no_link = xyes; then
33761   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33762 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33763    { (exit 1); exit 1; }; }
33764 fi
33765 cat >conftest.$ac_ext <<_ACEOF
33766 /* confdefs.h.  */
33767 _ACEOF
33768 cat confdefs.h >>conftest.$ac_ext
33769 cat >>conftest.$ac_ext <<_ACEOF
33770 /* end confdefs.h.  */
33771 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33772    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33773 #define $ac_func innocuous_$ac_func
33774
33775 /* System header to define __stub macros and hopefully few prototypes,
33776     which can conflict with char $ac_func (); below.
33777     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33778     <limits.h> exists even on freestanding compilers.  */
33779
33780 #ifdef __STDC__
33781 # include <limits.h>
33782 #else
33783 # include <assert.h>
33784 #endif
33785
33786 #undef $ac_func
33787
33788 /* Override any GCC internal prototype to avoid an error.
33789    Use char because int might match the return type of a GCC
33790    builtin and then its argument prototype would still apply.  */
33791 #ifdef __cplusplus
33792 extern "C"
33793 #endif
33794 char $ac_func ();
33795 /* The GNU C library defines this for functions which it implements
33796     to always fail with ENOSYS.  Some functions are actually named
33797     something starting with __ and the normal name is an alias.  */
33798 #if defined __stub_$ac_func || defined __stub___$ac_func
33799 choke me
33800 #endif
33801
33802 int
33803 main ()
33804 {
33805 return $ac_func ();
33806   ;
33807   return 0;
33808 }
33809 _ACEOF
33810 rm -f conftest.$ac_objext conftest$ac_exeext
33811 if { (ac_try="$ac_link"
33812 case "(($ac_try" in
33813   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33814   *) ac_try_echo=$ac_try;;
33815 esac
33816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33817   (eval "$ac_link") 2>conftest.er1
33818   ac_status=$?
33819   grep -v '^ *+' conftest.er1 >conftest.err
33820   rm -f conftest.er1
33821   cat conftest.err >&5
33822   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33823   (exit $ac_status); } && {
33824          test -z "$ac_c_werror_flag" ||
33825          test ! -s conftest.err
33826        } && test -s conftest$ac_exeext &&
33827        $as_test_x conftest$ac_exeext; then
33828   eval "$as_ac_var=yes"
33829 else
33830   echo "$as_me: failed program was:" >&5
33831 sed 's/^/| /' conftest.$ac_ext >&5
33832
33833         eval "$as_ac_var=no"
33834 fi
33835
33836 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33837       conftest$ac_exeext conftest.$ac_ext
33838 fi
33839 ac_res=`eval echo '${'$as_ac_var'}'`
33840                { echo "$as_me:$LINENO: result: $ac_res" >&5
33841 echo "${ECHO_T}$ac_res" >&6; }
33842 if test `eval echo '${'$as_ac_var'}'` = yes; then
33843   cat >>confdefs.h <<_ACEOF
33844 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33845 _ACEOF
33846
33847 fi
33848 done
33849
33850     fi
33851   fi
33852
33853
33854
33855
33856
33857
33858   { echo "$as_me:$LINENO: checking for powl declaration" >&5
33859 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6; }
33860   if test x${glibcxx_cv_func_powl_use+set} != xset; then
33861     if test "${glibcxx_cv_func_powl_use+set}" = set; then
33862   echo $ECHO_N "(cached) $ECHO_C" >&6
33863 else
33864
33865
33866       ac_ext=cpp
33867 ac_cpp='$CXXCPP $CPPFLAGS'
33868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33871
33872       cat >conftest.$ac_ext <<_ACEOF
33873 /* confdefs.h.  */
33874 _ACEOF
33875 cat confdefs.h >>conftest.$ac_ext
33876 cat >>conftest.$ac_ext <<_ACEOF
33877 /* end confdefs.h.  */
33878 #include <math.h>
33879 int
33880 main ()
33881 {
33882  powl(0, 0);
33883   ;
33884   return 0;
33885 }
33886 _ACEOF
33887 rm -f conftest.$ac_objext
33888 if { (ac_try="$ac_compile"
33889 case "(($ac_try" in
33890   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33891   *) ac_try_echo=$ac_try;;
33892 esac
33893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33894   (eval "$ac_compile") 2>conftest.er1
33895   ac_status=$?
33896   grep -v '^ *+' conftest.er1 >conftest.err
33897   rm -f conftest.er1
33898   cat conftest.err >&5
33899   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33900   (exit $ac_status); } && {
33901          test -z "$ac_cxx_werror_flag" ||
33902          test ! -s conftest.err
33903        } && test -s conftest.$ac_objext; then
33904   glibcxx_cv_func_powl_use=yes
33905 else
33906   echo "$as_me: failed program was:" >&5
33907 sed 's/^/| /' conftest.$ac_ext >&5
33908
33909         glibcxx_cv_func_powl_use=no
33910 fi
33911
33912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33913       ac_ext=c
33914 ac_cpp='$CPP $CPPFLAGS'
33915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33918
33919
33920 fi
33921
33922   fi
33923   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
33924 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6; }
33925
33926   if test x$glibcxx_cv_func_powl_use = x"yes"; then
33927
33928 for ac_func in powl
33929 do
33930 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33931 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33932 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33933 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33934   echo $ECHO_N "(cached) $ECHO_C" >&6
33935 else
33936   if test x$gcc_no_link = xyes; then
33937   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33938 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33939    { (exit 1); exit 1; }; }
33940 fi
33941 cat >conftest.$ac_ext <<_ACEOF
33942 /* confdefs.h.  */
33943 _ACEOF
33944 cat confdefs.h >>conftest.$ac_ext
33945 cat >>conftest.$ac_ext <<_ACEOF
33946 /* end confdefs.h.  */
33947 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33948    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33949 #define $ac_func innocuous_$ac_func
33950
33951 /* System header to define __stub macros and hopefully few prototypes,
33952     which can conflict with char $ac_func (); below.
33953     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33954     <limits.h> exists even on freestanding compilers.  */
33955
33956 #ifdef __STDC__
33957 # include <limits.h>
33958 #else
33959 # include <assert.h>
33960 #endif
33961
33962 #undef $ac_func
33963
33964 /* Override any GCC internal prototype to avoid an error.
33965    Use char because int might match the return type of a GCC
33966    builtin and then its argument prototype would still apply.  */
33967 #ifdef __cplusplus
33968 extern "C"
33969 #endif
33970 char $ac_func ();
33971 /* The GNU C library defines this for functions which it implements
33972     to always fail with ENOSYS.  Some functions are actually named
33973     something starting with __ and the normal name is an alias.  */
33974 #if defined __stub_$ac_func || defined __stub___$ac_func
33975 choke me
33976 #endif
33977
33978 int
33979 main ()
33980 {
33981 return $ac_func ();
33982   ;
33983   return 0;
33984 }
33985 _ACEOF
33986 rm -f conftest.$ac_objext conftest$ac_exeext
33987 if { (ac_try="$ac_link"
33988 case "(($ac_try" in
33989   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33990   *) ac_try_echo=$ac_try;;
33991 esac
33992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33993   (eval "$ac_link") 2>conftest.er1
33994   ac_status=$?
33995   grep -v '^ *+' conftest.er1 >conftest.err
33996   rm -f conftest.er1
33997   cat conftest.err >&5
33998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33999   (exit $ac_status); } && {
34000          test -z "$ac_c_werror_flag" ||
34001          test ! -s conftest.err
34002        } && test -s conftest$ac_exeext &&
34003        $as_test_x conftest$ac_exeext; then
34004   eval "$as_ac_var=yes"
34005 else
34006   echo "$as_me: failed program was:" >&5
34007 sed 's/^/| /' conftest.$ac_ext >&5
34008
34009         eval "$as_ac_var=no"
34010 fi
34011
34012 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34013       conftest$ac_exeext conftest.$ac_ext
34014 fi
34015 ac_res=`eval echo '${'$as_ac_var'}'`
34016                { echo "$as_me:$LINENO: result: $ac_res" >&5
34017 echo "${ECHO_T}$ac_res" >&6; }
34018 if test `eval echo '${'$as_ac_var'}'` = yes; then
34019   cat >>confdefs.h <<_ACEOF
34020 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34021 _ACEOF
34022
34023 fi
34024 done
34025
34026   else
34027
34028   { echo "$as_me:$LINENO: checking for _powl declaration" >&5
34029 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6; }
34030   if test x${glibcxx_cv_func__powl_use+set} != xset; then
34031     if test "${glibcxx_cv_func__powl_use+set}" = set; then
34032   echo $ECHO_N "(cached) $ECHO_C" >&6
34033 else
34034
34035
34036       ac_ext=cpp
34037 ac_cpp='$CXXCPP $CPPFLAGS'
34038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34041
34042       cat >conftest.$ac_ext <<_ACEOF
34043 /* confdefs.h.  */
34044 _ACEOF
34045 cat confdefs.h >>conftest.$ac_ext
34046 cat >>conftest.$ac_ext <<_ACEOF
34047 /* end confdefs.h.  */
34048 #include <math.h>
34049 int
34050 main ()
34051 {
34052  _powl(0, 0);
34053   ;
34054   return 0;
34055 }
34056 _ACEOF
34057 rm -f conftest.$ac_objext
34058 if { (ac_try="$ac_compile"
34059 case "(($ac_try" in
34060   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34061   *) ac_try_echo=$ac_try;;
34062 esac
34063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34064   (eval "$ac_compile") 2>conftest.er1
34065   ac_status=$?
34066   grep -v '^ *+' conftest.er1 >conftest.err
34067   rm -f conftest.er1
34068   cat conftest.err >&5
34069   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34070   (exit $ac_status); } && {
34071          test -z "$ac_cxx_werror_flag" ||
34072          test ! -s conftest.err
34073        } && test -s conftest.$ac_objext; then
34074   glibcxx_cv_func__powl_use=yes
34075 else
34076   echo "$as_me: failed program was:" >&5
34077 sed 's/^/| /' conftest.$ac_ext >&5
34078
34079         glibcxx_cv_func__powl_use=no
34080 fi
34081
34082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34083       ac_ext=c
34084 ac_cpp='$CPP $CPPFLAGS'
34085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34088
34089
34090 fi
34091
34092   fi
34093   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
34094 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6; }
34095
34096     if test x$glibcxx_cv_func__powl_use = x"yes"; then
34097
34098 for ac_func in _powl
34099 do
34100 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34101 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34102 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34103 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34104   echo $ECHO_N "(cached) $ECHO_C" >&6
34105 else
34106   if test x$gcc_no_link = xyes; then
34107   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34108 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34109    { (exit 1); exit 1; }; }
34110 fi
34111 cat >conftest.$ac_ext <<_ACEOF
34112 /* confdefs.h.  */
34113 _ACEOF
34114 cat confdefs.h >>conftest.$ac_ext
34115 cat >>conftest.$ac_ext <<_ACEOF
34116 /* end confdefs.h.  */
34117 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34118    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34119 #define $ac_func innocuous_$ac_func
34120
34121 /* System header to define __stub macros and hopefully few prototypes,
34122     which can conflict with char $ac_func (); below.
34123     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34124     <limits.h> exists even on freestanding compilers.  */
34125
34126 #ifdef __STDC__
34127 # include <limits.h>
34128 #else
34129 # include <assert.h>
34130 #endif
34131
34132 #undef $ac_func
34133
34134 /* Override any GCC internal prototype to avoid an error.
34135    Use char because int might match the return type of a GCC
34136    builtin and then its argument prototype would still apply.  */
34137 #ifdef __cplusplus
34138 extern "C"
34139 #endif
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 #endif
34147
34148 int
34149 main ()
34150 {
34151 return $ac_func ();
34152   ;
34153   return 0;
34154 }
34155 _ACEOF
34156 rm -f conftest.$ac_objext conftest$ac_exeext
34157 if { (ac_try="$ac_link"
34158 case "(($ac_try" in
34159   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34160   *) ac_try_echo=$ac_try;;
34161 esac
34162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&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          test -z "$ac_c_werror_flag" ||
34171          test ! -s conftest.err
34172        } && test -s conftest$ac_exeext &&
34173        $as_test_x conftest$ac_exeext; then
34174   eval "$as_ac_var=yes"
34175 else
34176   echo "$as_me: failed program was:" >&5
34177 sed 's/^/| /' conftest.$ac_ext >&5
34178
34179         eval "$as_ac_var=no"
34180 fi
34181
34182 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34183       conftest$ac_exeext conftest.$ac_ext
34184 fi
34185 ac_res=`eval echo '${'$as_ac_var'}'`
34186                { echo "$as_me:$LINENO: result: $ac_res" >&5
34187 echo "${ECHO_T}$ac_res" >&6; }
34188 if test `eval echo '${'$as_ac_var'}'` = yes; then
34189   cat >>confdefs.h <<_ACEOF
34190 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34191 _ACEOF
34192
34193 fi
34194 done
34195
34196     fi
34197   fi
34198
34199
34200
34201
34202
34203
34204   { echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
34205 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6; }
34206   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
34207     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
34208   echo $ECHO_N "(cached) $ECHO_C" >&6
34209 else
34210
34211
34212       ac_ext=cpp
34213 ac_cpp='$CXXCPP $CPPFLAGS'
34214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34217
34218       cat >conftest.$ac_ext <<_ACEOF
34219 /* confdefs.h.  */
34220 _ACEOF
34221 cat confdefs.h >>conftest.$ac_ext
34222 cat >>conftest.$ac_ext <<_ACEOF
34223 /* end confdefs.h.  */
34224 #include <math.h>
34225                       #ifdef HAVE_IEEEFP_H
34226                       #include <ieeefp.h>
34227                       #endif
34228
34229 int
34230 main ()
34231 {
34232  sqrtl(0);
34233   ;
34234   return 0;
34235 }
34236 _ACEOF
34237 rm -f conftest.$ac_objext
34238 if { (ac_try="$ac_compile"
34239 case "(($ac_try" in
34240   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34241   *) ac_try_echo=$ac_try;;
34242 esac
34243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34244   (eval "$ac_compile") 2>conftest.er1
34245   ac_status=$?
34246   grep -v '^ *+' conftest.er1 >conftest.err
34247   rm -f conftest.er1
34248   cat conftest.err >&5
34249   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34250   (exit $ac_status); } && {
34251          test -z "$ac_cxx_werror_flag" ||
34252          test ! -s conftest.err
34253        } && test -s conftest.$ac_objext; then
34254   glibcxx_cv_func_sqrtl_use=yes
34255 else
34256   echo "$as_me: failed program was:" >&5
34257 sed 's/^/| /' conftest.$ac_ext >&5
34258
34259         glibcxx_cv_func_sqrtl_use=no
34260 fi
34261
34262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34263       ac_ext=c
34264 ac_cpp='$CPP $CPPFLAGS'
34265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34268
34269
34270 fi
34271
34272   fi
34273   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
34274 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6; }
34275
34276   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
34277
34278 for ac_func in sqrtl
34279 do
34280 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34281 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34282 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34283 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34284   echo $ECHO_N "(cached) $ECHO_C" >&6
34285 else
34286   if test x$gcc_no_link = xyes; then
34287   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34288 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34289    { (exit 1); exit 1; }; }
34290 fi
34291 cat >conftest.$ac_ext <<_ACEOF
34292 /* confdefs.h.  */
34293 _ACEOF
34294 cat confdefs.h >>conftest.$ac_ext
34295 cat >>conftest.$ac_ext <<_ACEOF
34296 /* end confdefs.h.  */
34297 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34298    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34299 #define $ac_func innocuous_$ac_func
34300
34301 /* System header to define __stub macros and hopefully few prototypes,
34302     which can conflict with char $ac_func (); below.
34303     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34304     <limits.h> exists even on freestanding compilers.  */
34305
34306 #ifdef __STDC__
34307 # include <limits.h>
34308 #else
34309 # include <assert.h>
34310 #endif
34311
34312 #undef $ac_func
34313
34314 /* Override any GCC internal prototype to avoid an error.
34315    Use char because int might match the return type of a GCC
34316    builtin and then its argument prototype would still apply.  */
34317 #ifdef __cplusplus
34318 extern "C"
34319 #endif
34320 char $ac_func ();
34321 /* The GNU C library defines this for functions which it implements
34322     to always fail with ENOSYS.  Some functions are actually named
34323     something starting with __ and the normal name is an alias.  */
34324 #if defined __stub_$ac_func || defined __stub___$ac_func
34325 choke me
34326 #endif
34327
34328 int
34329 main ()
34330 {
34331 return $ac_func ();
34332   ;
34333   return 0;
34334 }
34335 _ACEOF
34336 rm -f conftest.$ac_objext conftest$ac_exeext
34337 if { (ac_try="$ac_link"
34338 case "(($ac_try" in
34339   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34340   *) ac_try_echo=$ac_try;;
34341 esac
34342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34343   (eval "$ac_link") 2>conftest.er1
34344   ac_status=$?
34345   grep -v '^ *+' conftest.er1 >conftest.err
34346   rm -f conftest.er1
34347   cat conftest.err >&5
34348   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34349   (exit $ac_status); } && {
34350          test -z "$ac_c_werror_flag" ||
34351          test ! -s conftest.err
34352        } && test -s conftest$ac_exeext &&
34353        $as_test_x conftest$ac_exeext; then
34354   eval "$as_ac_var=yes"
34355 else
34356   echo "$as_me: failed program was:" >&5
34357 sed 's/^/| /' conftest.$ac_ext >&5
34358
34359         eval "$as_ac_var=no"
34360 fi
34361
34362 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34363       conftest$ac_exeext conftest.$ac_ext
34364 fi
34365 ac_res=`eval echo '${'$as_ac_var'}'`
34366                { echo "$as_me:$LINENO: result: $ac_res" >&5
34367 echo "${ECHO_T}$ac_res" >&6; }
34368 if test `eval echo '${'$as_ac_var'}'` = yes; then
34369   cat >>confdefs.h <<_ACEOF
34370 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34371 _ACEOF
34372
34373 fi
34374 done
34375
34376   else
34377
34378   { echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
34379 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6; }
34380   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
34381     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
34382   echo $ECHO_N "(cached) $ECHO_C" >&6
34383 else
34384
34385
34386       ac_ext=cpp
34387 ac_cpp='$CXXCPP $CPPFLAGS'
34388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34391
34392       cat >conftest.$ac_ext <<_ACEOF
34393 /* confdefs.h.  */
34394 _ACEOF
34395 cat confdefs.h >>conftest.$ac_ext
34396 cat >>conftest.$ac_ext <<_ACEOF
34397 /* end confdefs.h.  */
34398 #include <math.h>
34399                       #ifdef HAVE_IEEEFP_H
34400                       #include <ieeefp.h>
34401                       #endif
34402
34403 int
34404 main ()
34405 {
34406  _sqrtl(0);
34407   ;
34408   return 0;
34409 }
34410 _ACEOF
34411 rm -f conftest.$ac_objext
34412 if { (ac_try="$ac_compile"
34413 case "(($ac_try" in
34414   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34415   *) ac_try_echo=$ac_try;;
34416 esac
34417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34418   (eval "$ac_compile") 2>conftest.er1
34419   ac_status=$?
34420   grep -v '^ *+' conftest.er1 >conftest.err
34421   rm -f conftest.er1
34422   cat conftest.err >&5
34423   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34424   (exit $ac_status); } && {
34425          test -z "$ac_cxx_werror_flag" ||
34426          test ! -s conftest.err
34427        } && test -s conftest.$ac_objext; then
34428   glibcxx_cv_func__sqrtl_use=yes
34429 else
34430   echo "$as_me: failed program was:" >&5
34431 sed 's/^/| /' conftest.$ac_ext >&5
34432
34433         glibcxx_cv_func__sqrtl_use=no
34434 fi
34435
34436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34437       ac_ext=c
34438 ac_cpp='$CPP $CPPFLAGS'
34439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34442
34443
34444 fi
34445
34446   fi
34447   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
34448 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6; }
34449
34450     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
34451
34452 for ac_func in _sqrtl
34453 do
34454 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34455 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34456 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34457 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34458   echo $ECHO_N "(cached) $ECHO_C" >&6
34459 else
34460   if test x$gcc_no_link = xyes; then
34461   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34462 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34463    { (exit 1); exit 1; }; }
34464 fi
34465 cat >conftest.$ac_ext <<_ACEOF
34466 /* confdefs.h.  */
34467 _ACEOF
34468 cat confdefs.h >>conftest.$ac_ext
34469 cat >>conftest.$ac_ext <<_ACEOF
34470 /* end confdefs.h.  */
34471 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34472    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34473 #define $ac_func innocuous_$ac_func
34474
34475 /* System header to define __stub macros and hopefully few prototypes,
34476     which can conflict with char $ac_func (); below.
34477     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34478     <limits.h> exists even on freestanding compilers.  */
34479
34480 #ifdef __STDC__
34481 # include <limits.h>
34482 #else
34483 # include <assert.h>
34484 #endif
34485
34486 #undef $ac_func
34487
34488 /* Override any GCC internal prototype to avoid an error.
34489    Use char because int might match the return type of a GCC
34490    builtin and then its argument prototype would still apply.  */
34491 #ifdef __cplusplus
34492 extern "C"
34493 #endif
34494 char $ac_func ();
34495 /* The GNU C library defines this for functions which it implements
34496     to always fail with ENOSYS.  Some functions are actually named
34497     something starting with __ and the normal name is an alias.  */
34498 #if defined __stub_$ac_func || defined __stub___$ac_func
34499 choke me
34500 #endif
34501
34502 int
34503 main ()
34504 {
34505 return $ac_func ();
34506   ;
34507   return 0;
34508 }
34509 _ACEOF
34510 rm -f conftest.$ac_objext conftest$ac_exeext
34511 if { (ac_try="$ac_link"
34512 case "(($ac_try" in
34513   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34514   *) ac_try_echo=$ac_try;;
34515 esac
34516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34517   (eval "$ac_link") 2>conftest.er1
34518   ac_status=$?
34519   grep -v '^ *+' conftest.er1 >conftest.err
34520   rm -f conftest.er1
34521   cat conftest.err >&5
34522   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34523   (exit $ac_status); } && {
34524          test -z "$ac_c_werror_flag" ||
34525          test ! -s conftest.err
34526        } && test -s conftest$ac_exeext &&
34527        $as_test_x conftest$ac_exeext; then
34528   eval "$as_ac_var=yes"
34529 else
34530   echo "$as_me: failed program was:" >&5
34531 sed 's/^/| /' conftest.$ac_ext >&5
34532
34533         eval "$as_ac_var=no"
34534 fi
34535
34536 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34537       conftest$ac_exeext conftest.$ac_ext
34538 fi
34539 ac_res=`eval echo '${'$as_ac_var'}'`
34540                { echo "$as_me:$LINENO: result: $ac_res" >&5
34541 echo "${ECHO_T}$ac_res" >&6; }
34542 if test `eval echo '${'$as_ac_var'}'` = yes; then
34543   cat >>confdefs.h <<_ACEOF
34544 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34545 _ACEOF
34546
34547 fi
34548 done
34549
34550     fi
34551   fi
34552
34553
34554
34555
34556
34557
34558   { echo "$as_me:$LINENO: checking for sincosl declaration" >&5
34559 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6; }
34560   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
34561     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
34562   echo $ECHO_N "(cached) $ECHO_C" >&6
34563 else
34564
34565
34566       ac_ext=cpp
34567 ac_cpp='$CXXCPP $CPPFLAGS'
34568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34571
34572       cat >conftest.$ac_ext <<_ACEOF
34573 /* confdefs.h.  */
34574 _ACEOF
34575 cat confdefs.h >>conftest.$ac_ext
34576 cat >>conftest.$ac_ext <<_ACEOF
34577 /* end confdefs.h.  */
34578 #include <math.h>
34579 int
34580 main ()
34581 {
34582  sincosl(0, 0, 0);
34583   ;
34584   return 0;
34585 }
34586 _ACEOF
34587 rm -f conftest.$ac_objext
34588 if { (ac_try="$ac_compile"
34589 case "(($ac_try" in
34590   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34591   *) ac_try_echo=$ac_try;;
34592 esac
34593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34594   (eval "$ac_compile") 2>conftest.er1
34595   ac_status=$?
34596   grep -v '^ *+' conftest.er1 >conftest.err
34597   rm -f conftest.er1
34598   cat conftest.err >&5
34599   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34600   (exit $ac_status); } && {
34601          test -z "$ac_cxx_werror_flag" ||
34602          test ! -s conftest.err
34603        } && test -s conftest.$ac_objext; then
34604   glibcxx_cv_func_sincosl_use=yes
34605 else
34606   echo "$as_me: failed program was:" >&5
34607 sed 's/^/| /' conftest.$ac_ext >&5
34608
34609         glibcxx_cv_func_sincosl_use=no
34610 fi
34611
34612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34613       ac_ext=c
34614 ac_cpp='$CPP $CPPFLAGS'
34615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34618
34619
34620 fi
34621
34622   fi
34623   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
34624 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6; }
34625
34626   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
34627
34628 for ac_func in sincosl
34629 do
34630 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34631 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34632 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34633 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34634   echo $ECHO_N "(cached) $ECHO_C" >&6
34635 else
34636   if test x$gcc_no_link = xyes; then
34637   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34638 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34639    { (exit 1); exit 1; }; }
34640 fi
34641 cat >conftest.$ac_ext <<_ACEOF
34642 /* confdefs.h.  */
34643 _ACEOF
34644 cat confdefs.h >>conftest.$ac_ext
34645 cat >>conftest.$ac_ext <<_ACEOF
34646 /* end confdefs.h.  */
34647 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34648    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34649 #define $ac_func innocuous_$ac_func
34650
34651 /* System header to define __stub macros and hopefully few prototypes,
34652     which can conflict with char $ac_func (); below.
34653     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34654     <limits.h> exists even on freestanding compilers.  */
34655
34656 #ifdef __STDC__
34657 # include <limits.h>
34658 #else
34659 # include <assert.h>
34660 #endif
34661
34662 #undef $ac_func
34663
34664 /* Override any GCC internal prototype to avoid an error.
34665    Use char because int might match the return type of a GCC
34666    builtin and then its argument prototype would still apply.  */
34667 #ifdef __cplusplus
34668 extern "C"
34669 #endif
34670 char $ac_func ();
34671 /* The GNU C library defines this for functions which it implements
34672     to always fail with ENOSYS.  Some functions are actually named
34673     something starting with __ and the normal name is an alias.  */
34674 #if defined __stub_$ac_func || defined __stub___$ac_func
34675 choke me
34676 #endif
34677
34678 int
34679 main ()
34680 {
34681 return $ac_func ();
34682   ;
34683   return 0;
34684 }
34685 _ACEOF
34686 rm -f conftest.$ac_objext conftest$ac_exeext
34687 if { (ac_try="$ac_link"
34688 case "(($ac_try" in
34689   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34690   *) ac_try_echo=$ac_try;;
34691 esac
34692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34693   (eval "$ac_link") 2>conftest.er1
34694   ac_status=$?
34695   grep -v '^ *+' conftest.er1 >conftest.err
34696   rm -f conftest.er1
34697   cat conftest.err >&5
34698   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34699   (exit $ac_status); } && {
34700          test -z "$ac_c_werror_flag" ||
34701          test ! -s conftest.err
34702        } && test -s conftest$ac_exeext &&
34703        $as_test_x conftest$ac_exeext; then
34704   eval "$as_ac_var=yes"
34705 else
34706   echo "$as_me: failed program was:" >&5
34707 sed 's/^/| /' conftest.$ac_ext >&5
34708
34709         eval "$as_ac_var=no"
34710 fi
34711
34712 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34713       conftest$ac_exeext conftest.$ac_ext
34714 fi
34715 ac_res=`eval echo '${'$as_ac_var'}'`
34716                { echo "$as_me:$LINENO: result: $ac_res" >&5
34717 echo "${ECHO_T}$ac_res" >&6; }
34718 if test `eval echo '${'$as_ac_var'}'` = yes; then
34719   cat >>confdefs.h <<_ACEOF
34720 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34721 _ACEOF
34722
34723 fi
34724 done
34725
34726   else
34727
34728   { echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
34729 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6; }
34730   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
34731     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
34732   echo $ECHO_N "(cached) $ECHO_C" >&6
34733 else
34734
34735
34736       ac_ext=cpp
34737 ac_cpp='$CXXCPP $CPPFLAGS'
34738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34741
34742       cat >conftest.$ac_ext <<_ACEOF
34743 /* confdefs.h.  */
34744 _ACEOF
34745 cat confdefs.h >>conftest.$ac_ext
34746 cat >>conftest.$ac_ext <<_ACEOF
34747 /* end confdefs.h.  */
34748 #include <math.h>
34749 int
34750 main ()
34751 {
34752  _sincosl(0, 0, 0);
34753   ;
34754   return 0;
34755 }
34756 _ACEOF
34757 rm -f conftest.$ac_objext
34758 if { (ac_try="$ac_compile"
34759 case "(($ac_try" in
34760   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34761   *) ac_try_echo=$ac_try;;
34762 esac
34763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34764   (eval "$ac_compile") 2>conftest.er1
34765   ac_status=$?
34766   grep -v '^ *+' conftest.er1 >conftest.err
34767   rm -f conftest.er1
34768   cat conftest.err >&5
34769   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34770   (exit $ac_status); } && {
34771          test -z "$ac_cxx_werror_flag" ||
34772          test ! -s conftest.err
34773        } && test -s conftest.$ac_objext; then
34774   glibcxx_cv_func__sincosl_use=yes
34775 else
34776   echo "$as_me: failed program was:" >&5
34777 sed 's/^/| /' conftest.$ac_ext >&5
34778
34779         glibcxx_cv_func__sincosl_use=no
34780 fi
34781
34782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34783       ac_ext=c
34784 ac_cpp='$CPP $CPPFLAGS'
34785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34788
34789
34790 fi
34791
34792   fi
34793   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
34794 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6; }
34795
34796     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
34797
34798 for ac_func in _sincosl
34799 do
34800 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34801 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34802 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34803 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34804   echo $ECHO_N "(cached) $ECHO_C" >&6
34805 else
34806   if test x$gcc_no_link = xyes; then
34807   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34808 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34809    { (exit 1); exit 1; }; }
34810 fi
34811 cat >conftest.$ac_ext <<_ACEOF
34812 /* confdefs.h.  */
34813 _ACEOF
34814 cat confdefs.h >>conftest.$ac_ext
34815 cat >>conftest.$ac_ext <<_ACEOF
34816 /* end confdefs.h.  */
34817 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34818    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34819 #define $ac_func innocuous_$ac_func
34820
34821 /* System header to define __stub macros and hopefully few prototypes,
34822     which can conflict with char $ac_func (); below.
34823     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34824     <limits.h> exists even on freestanding compilers.  */
34825
34826 #ifdef __STDC__
34827 # include <limits.h>
34828 #else
34829 # include <assert.h>
34830 #endif
34831
34832 #undef $ac_func
34833
34834 /* Override any GCC internal prototype to avoid an error.
34835    Use char because int might match the return type of a GCC
34836    builtin and then its argument prototype would still apply.  */
34837 #ifdef __cplusplus
34838 extern "C"
34839 #endif
34840 char $ac_func ();
34841 /* The GNU C library defines this for functions which it implements
34842     to always fail with ENOSYS.  Some functions are actually named
34843     something starting with __ and the normal name is an alias.  */
34844 #if defined __stub_$ac_func || defined __stub___$ac_func
34845 choke me
34846 #endif
34847
34848 int
34849 main ()
34850 {
34851 return $ac_func ();
34852   ;
34853   return 0;
34854 }
34855 _ACEOF
34856 rm -f conftest.$ac_objext conftest$ac_exeext
34857 if { (ac_try="$ac_link"
34858 case "(($ac_try" in
34859   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34860   *) ac_try_echo=$ac_try;;
34861 esac
34862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34863   (eval "$ac_link") 2>conftest.er1
34864   ac_status=$?
34865   grep -v '^ *+' conftest.er1 >conftest.err
34866   rm -f conftest.er1
34867   cat conftest.err >&5
34868   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34869   (exit $ac_status); } && {
34870          test -z "$ac_c_werror_flag" ||
34871          test ! -s conftest.err
34872        } && test -s conftest$ac_exeext &&
34873        $as_test_x conftest$ac_exeext; then
34874   eval "$as_ac_var=yes"
34875 else
34876   echo "$as_me: failed program was:" >&5
34877 sed 's/^/| /' conftest.$ac_ext >&5
34878
34879         eval "$as_ac_var=no"
34880 fi
34881
34882 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34883       conftest$ac_exeext conftest.$ac_ext
34884 fi
34885 ac_res=`eval echo '${'$as_ac_var'}'`
34886                { echo "$as_me:$LINENO: result: $ac_res" >&5
34887 echo "${ECHO_T}$ac_res" >&6; }
34888 if test `eval echo '${'$as_ac_var'}'` = yes; then
34889   cat >>confdefs.h <<_ACEOF
34890 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34891 _ACEOF
34892
34893 fi
34894 done
34895
34896     fi
34897   fi
34898
34899
34900
34901
34902
34903
34904   { echo "$as_me:$LINENO: checking for finitel declaration" >&5
34905 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6; }
34906   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
34907     if test "${glibcxx_cv_func_finitel_use+set}" = set; then
34908   echo $ECHO_N "(cached) $ECHO_C" >&6
34909 else
34910
34911
34912       ac_ext=cpp
34913 ac_cpp='$CXXCPP $CPPFLAGS'
34914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34917
34918       cat >conftest.$ac_ext <<_ACEOF
34919 /* confdefs.h.  */
34920 _ACEOF
34921 cat confdefs.h >>conftest.$ac_ext
34922 cat >>conftest.$ac_ext <<_ACEOF
34923 /* end confdefs.h.  */
34924 #include <math.h>
34925                       #ifdef HAVE_IEEEFP_H
34926                       #include <ieeefp.h>
34927                       #endif
34928
34929 int
34930 main ()
34931 {
34932  finitel(0);
34933   ;
34934   return 0;
34935 }
34936 _ACEOF
34937 rm -f conftest.$ac_objext
34938 if { (ac_try="$ac_compile"
34939 case "(($ac_try" in
34940   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34941   *) ac_try_echo=$ac_try;;
34942 esac
34943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34944   (eval "$ac_compile") 2>conftest.er1
34945   ac_status=$?
34946   grep -v '^ *+' conftest.er1 >conftest.err
34947   rm -f conftest.er1
34948   cat conftest.err >&5
34949   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34950   (exit $ac_status); } && {
34951          test -z "$ac_cxx_werror_flag" ||
34952          test ! -s conftest.err
34953        } && test -s conftest.$ac_objext; then
34954   glibcxx_cv_func_finitel_use=yes
34955 else
34956   echo "$as_me: failed program was:" >&5
34957 sed 's/^/| /' conftest.$ac_ext >&5
34958
34959         glibcxx_cv_func_finitel_use=no
34960 fi
34961
34962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34963       ac_ext=c
34964 ac_cpp='$CPP $CPPFLAGS'
34965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34968
34969
34970 fi
34971
34972   fi
34973   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
34974 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6; }
34975
34976   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
34977
34978 for ac_func in finitel
34979 do
34980 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34981 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34982 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34983 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34984   echo $ECHO_N "(cached) $ECHO_C" >&6
34985 else
34986   if test x$gcc_no_link = xyes; then
34987   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34988 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34989    { (exit 1); exit 1; }; }
34990 fi
34991 cat >conftest.$ac_ext <<_ACEOF
34992 /* confdefs.h.  */
34993 _ACEOF
34994 cat confdefs.h >>conftest.$ac_ext
34995 cat >>conftest.$ac_ext <<_ACEOF
34996 /* end confdefs.h.  */
34997 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34998    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34999 #define $ac_func innocuous_$ac_func
35000
35001 /* System header to define __stub macros and hopefully few prototypes,
35002     which can conflict with char $ac_func (); below.
35003     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35004     <limits.h> exists even on freestanding compilers.  */
35005
35006 #ifdef __STDC__
35007 # include <limits.h>
35008 #else
35009 # include <assert.h>
35010 #endif
35011
35012 #undef $ac_func
35013
35014 /* Override any GCC internal prototype to avoid an error.
35015    Use char because int might match the return type of a GCC
35016    builtin and then its argument prototype would still apply.  */
35017 #ifdef __cplusplus
35018 extern "C"
35019 #endif
35020 char $ac_func ();
35021 /* The GNU C library defines this for functions which it implements
35022     to always fail with ENOSYS.  Some functions are actually named
35023     something starting with __ and the normal name is an alias.  */
35024 #if defined __stub_$ac_func || defined __stub___$ac_func
35025 choke me
35026 #endif
35027
35028 int
35029 main ()
35030 {
35031 return $ac_func ();
35032   ;
35033   return 0;
35034 }
35035 _ACEOF
35036 rm -f conftest.$ac_objext conftest$ac_exeext
35037 if { (ac_try="$ac_link"
35038 case "(($ac_try" in
35039   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35040   *) ac_try_echo=$ac_try;;
35041 esac
35042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35043   (eval "$ac_link") 2>conftest.er1
35044   ac_status=$?
35045   grep -v '^ *+' conftest.er1 >conftest.err
35046   rm -f conftest.er1
35047   cat conftest.err >&5
35048   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35049   (exit $ac_status); } && {
35050          test -z "$ac_c_werror_flag" ||
35051          test ! -s conftest.err
35052        } && test -s conftest$ac_exeext &&
35053        $as_test_x conftest$ac_exeext; then
35054   eval "$as_ac_var=yes"
35055 else
35056   echo "$as_me: failed program was:" >&5
35057 sed 's/^/| /' conftest.$ac_ext >&5
35058
35059         eval "$as_ac_var=no"
35060 fi
35061
35062 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35063       conftest$ac_exeext conftest.$ac_ext
35064 fi
35065 ac_res=`eval echo '${'$as_ac_var'}'`
35066                { echo "$as_me:$LINENO: result: $ac_res" >&5
35067 echo "${ECHO_T}$ac_res" >&6; }
35068 if test `eval echo '${'$as_ac_var'}'` = yes; then
35069   cat >>confdefs.h <<_ACEOF
35070 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35071 _ACEOF
35072
35073 fi
35074 done
35075
35076   else
35077
35078   { echo "$as_me:$LINENO: checking for _finitel declaration" >&5
35079 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6; }
35080   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
35081     if test "${glibcxx_cv_func__finitel_use+set}" = set; then
35082   echo $ECHO_N "(cached) $ECHO_C" >&6
35083 else
35084
35085
35086       ac_ext=cpp
35087 ac_cpp='$CXXCPP $CPPFLAGS'
35088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35091
35092       cat >conftest.$ac_ext <<_ACEOF
35093 /* confdefs.h.  */
35094 _ACEOF
35095 cat confdefs.h >>conftest.$ac_ext
35096 cat >>conftest.$ac_ext <<_ACEOF
35097 /* end confdefs.h.  */
35098 #include <math.h>
35099                       #ifdef HAVE_IEEEFP_H
35100                       #include <ieeefp.h>
35101                       #endif
35102
35103 int
35104 main ()
35105 {
35106  _finitel(0);
35107   ;
35108   return 0;
35109 }
35110 _ACEOF
35111 rm -f conftest.$ac_objext
35112 if { (ac_try="$ac_compile"
35113 case "(($ac_try" in
35114   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35115   *) ac_try_echo=$ac_try;;
35116 esac
35117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35118   (eval "$ac_compile") 2>conftest.er1
35119   ac_status=$?
35120   grep -v '^ *+' conftest.er1 >conftest.err
35121   rm -f conftest.er1
35122   cat conftest.err >&5
35123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35124   (exit $ac_status); } && {
35125          test -z "$ac_cxx_werror_flag" ||
35126          test ! -s conftest.err
35127        } && test -s conftest.$ac_objext; then
35128   glibcxx_cv_func__finitel_use=yes
35129 else
35130   echo "$as_me: failed program was:" >&5
35131 sed 's/^/| /' conftest.$ac_ext >&5
35132
35133         glibcxx_cv_func__finitel_use=no
35134 fi
35135
35136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35137       ac_ext=c
35138 ac_cpp='$CPP $CPPFLAGS'
35139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35142
35143
35144 fi
35145
35146   fi
35147   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
35148 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6; }
35149
35150     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
35151
35152 for ac_func in _finitel
35153 do
35154 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35155 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35156 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35157 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35158   echo $ECHO_N "(cached) $ECHO_C" >&6
35159 else
35160   if test x$gcc_no_link = xyes; then
35161   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35162 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35163    { (exit 1); exit 1; }; }
35164 fi
35165 cat >conftest.$ac_ext <<_ACEOF
35166 /* confdefs.h.  */
35167 _ACEOF
35168 cat confdefs.h >>conftest.$ac_ext
35169 cat >>conftest.$ac_ext <<_ACEOF
35170 /* end confdefs.h.  */
35171 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35172    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35173 #define $ac_func innocuous_$ac_func
35174
35175 /* System header to define __stub macros and hopefully few prototypes,
35176     which can conflict with char $ac_func (); below.
35177     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35178     <limits.h> exists even on freestanding compilers.  */
35179
35180 #ifdef __STDC__
35181 # include <limits.h>
35182 #else
35183 # include <assert.h>
35184 #endif
35185
35186 #undef $ac_func
35187
35188 /* Override any GCC internal prototype to avoid an error.
35189    Use char because int might match the return type of a GCC
35190    builtin and then its argument prototype would still apply.  */
35191 #ifdef __cplusplus
35192 extern "C"
35193 #endif
35194 char $ac_func ();
35195 /* The GNU C library defines this for functions which it implements
35196     to always fail with ENOSYS.  Some functions are actually named
35197     something starting with __ and the normal name is an alias.  */
35198 #if defined __stub_$ac_func || defined __stub___$ac_func
35199 choke me
35200 #endif
35201
35202 int
35203 main ()
35204 {
35205 return $ac_func ();
35206   ;
35207   return 0;
35208 }
35209 _ACEOF
35210 rm -f conftest.$ac_objext conftest$ac_exeext
35211 if { (ac_try="$ac_link"
35212 case "(($ac_try" in
35213   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35214   *) ac_try_echo=$ac_try;;
35215 esac
35216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35217   (eval "$ac_link") 2>conftest.er1
35218   ac_status=$?
35219   grep -v '^ *+' conftest.er1 >conftest.err
35220   rm -f conftest.er1
35221   cat conftest.err >&5
35222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35223   (exit $ac_status); } && {
35224          test -z "$ac_c_werror_flag" ||
35225          test ! -s conftest.err
35226        } && test -s conftest$ac_exeext &&
35227        $as_test_x conftest$ac_exeext; then
35228   eval "$as_ac_var=yes"
35229 else
35230   echo "$as_me: failed program was:" >&5
35231 sed 's/^/| /' conftest.$ac_ext >&5
35232
35233         eval "$as_ac_var=no"
35234 fi
35235
35236 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35237       conftest$ac_exeext conftest.$ac_ext
35238 fi
35239 ac_res=`eval echo '${'$as_ac_var'}'`
35240                { echo "$as_me:$LINENO: result: $ac_res" >&5
35241 echo "${ECHO_T}$ac_res" >&6; }
35242 if test `eval echo '${'$as_ac_var'}'` = yes; then
35243   cat >>confdefs.h <<_ACEOF
35244 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35245 _ACEOF
35246
35247 fi
35248 done
35249
35250     fi
35251   fi
35252
35253
35254
35255
35256
35257   LIBS="$ac_save_LIBS"
35258   CXXFLAGS="$ac_save_CXXFLAGS"
35259
35260
35261
35262   { echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
35263 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6; }
35264   if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
35265     if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
35266   echo $ECHO_N "(cached) $ECHO_C" >&6
35267 else
35268
35269
35270       ac_ext=cpp
35271 ac_cpp='$CXXCPP $CPPFLAGS'
35272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35275
35276       cat >conftest.$ac_ext <<_ACEOF
35277 /* confdefs.h.  */
35278 _ACEOF
35279 cat confdefs.h >>conftest.$ac_ext
35280 cat >>conftest.$ac_ext <<_ACEOF
35281 /* end confdefs.h.  */
35282 #include <math.h>
35283 int
35284 main ()
35285 {
35286  __builtin_abs(0);
35287   ;
35288   return 0;
35289 }
35290 _ACEOF
35291 rm -f conftest.$ac_objext
35292 if { (ac_try="$ac_compile"
35293 case "(($ac_try" in
35294   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35295   *) ac_try_echo=$ac_try;;
35296 esac
35297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35298   (eval "$ac_compile") 2>conftest.er1
35299   ac_status=$?
35300   grep -v '^ *+' conftest.er1 >conftest.err
35301   rm -f conftest.er1
35302   cat conftest.err >&5
35303   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35304   (exit $ac_status); } && {
35305          test -z "$ac_cxx_werror_flag" ||
35306          test ! -s conftest.err
35307        } && test -s conftest.$ac_objext; then
35308   glibcxx_cv_func___builtin_abs_use=yes
35309 else
35310   echo "$as_me: failed program was:" >&5
35311 sed 's/^/| /' conftest.$ac_ext >&5
35312
35313         glibcxx_cv_func___builtin_abs_use=no
35314 fi
35315
35316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35317       ac_ext=c
35318 ac_cpp='$CPP $CPPFLAGS'
35319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35322
35323
35324 fi
35325
35326   fi
35327   { echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
35328 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6; }
35329   if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
35330     { echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
35331 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6; }
35332     if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
35333       if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
35334   echo $ECHO_N "(cached) $ECHO_C" >&6
35335 else
35336
35337         if test x$gcc_no_link = xyes; then
35338   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35339 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35340    { (exit 1); exit 1; }; }
35341 fi
35342 cat >conftest.$ac_ext <<_ACEOF
35343 /* confdefs.h.  */
35344 _ACEOF
35345 cat confdefs.h >>conftest.$ac_ext
35346 cat >>conftest.$ac_ext <<_ACEOF
35347 /* end confdefs.h.  */
35348 #include <math.h>
35349 int
35350 main ()
35351 {
35352  __builtin_abs(0);
35353   ;
35354   return 0;
35355 }
35356 _ACEOF
35357 rm -f conftest.$ac_objext conftest$ac_exeext
35358 if { (ac_try="$ac_link"
35359 case "(($ac_try" in
35360   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35361   *) ac_try_echo=$ac_try;;
35362 esac
35363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35364   (eval "$ac_link") 2>conftest.er1
35365   ac_status=$?
35366   grep -v '^ *+' conftest.er1 >conftest.err
35367   rm -f conftest.er1
35368   cat conftest.err >&5
35369   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35370   (exit $ac_status); } && {
35371          test -z "$ac_c_werror_flag" ||
35372          test ! -s conftest.err
35373        } && test -s conftest$ac_exeext &&
35374        $as_test_x conftest$ac_exeext; then
35375   glibcxx_cv_func___builtin_abs_link=yes
35376 else
35377   echo "$as_me: failed program was:" >&5
35378 sed 's/^/| /' conftest.$ac_ext >&5
35379
35380         glibcxx_cv_func___builtin_abs_link=no
35381 fi
35382
35383 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35384       conftest$ac_exeext conftest.$ac_ext
35385
35386 fi
35387
35388     fi
35389     { echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
35390 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6; }
35391
35392     if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
35393
35394 cat >>confdefs.h <<\_ACEOF
35395 #define HAVE___BUILTIN_ABS 1
35396 _ACEOF
35397
35398     fi
35399
35400   fi
35401
35402
35403   { echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
35404 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6; }
35405   if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
35406     if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
35407   echo $ECHO_N "(cached) $ECHO_C" >&6
35408 else
35409
35410
35411       ac_ext=cpp
35412 ac_cpp='$CXXCPP $CPPFLAGS'
35413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35416
35417       cat >conftest.$ac_ext <<_ACEOF
35418 /* confdefs.h.  */
35419 _ACEOF
35420 cat confdefs.h >>conftest.$ac_ext
35421 cat >>conftest.$ac_ext <<_ACEOF
35422 /* end confdefs.h.  */
35423 #include <math.h>
35424 int
35425 main ()
35426 {
35427  __builtin_fabsf(0);
35428   ;
35429   return 0;
35430 }
35431 _ACEOF
35432 rm -f conftest.$ac_objext
35433 if { (ac_try="$ac_compile"
35434 case "(($ac_try" in
35435   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35436   *) ac_try_echo=$ac_try;;
35437 esac
35438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35439   (eval "$ac_compile") 2>conftest.er1
35440   ac_status=$?
35441   grep -v '^ *+' conftest.er1 >conftest.err
35442   rm -f conftest.er1
35443   cat conftest.err >&5
35444   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35445   (exit $ac_status); } && {
35446          test -z "$ac_cxx_werror_flag" ||
35447          test ! -s conftest.err
35448        } && test -s conftest.$ac_objext; then
35449   glibcxx_cv_func___builtin_fabsf_use=yes
35450 else
35451   echo "$as_me: failed program was:" >&5
35452 sed 's/^/| /' conftest.$ac_ext >&5
35453
35454         glibcxx_cv_func___builtin_fabsf_use=no
35455 fi
35456
35457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35458       ac_ext=c
35459 ac_cpp='$CPP $CPPFLAGS'
35460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35463
35464
35465 fi
35466
35467   fi
35468   { echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
35469 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6; }
35470   if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
35471     { echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
35472 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6; }
35473     if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
35474       if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
35475   echo $ECHO_N "(cached) $ECHO_C" >&6
35476 else
35477
35478         if test x$gcc_no_link = xyes; then
35479   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35480 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35481    { (exit 1); exit 1; }; }
35482 fi
35483 cat >conftest.$ac_ext <<_ACEOF
35484 /* confdefs.h.  */
35485 _ACEOF
35486 cat confdefs.h >>conftest.$ac_ext
35487 cat >>conftest.$ac_ext <<_ACEOF
35488 /* end confdefs.h.  */
35489 #include <math.h>
35490 int
35491 main ()
35492 {
35493  __builtin_fabsf(0);
35494   ;
35495   return 0;
35496 }
35497 _ACEOF
35498 rm -f conftest.$ac_objext conftest$ac_exeext
35499 if { (ac_try="$ac_link"
35500 case "(($ac_try" in
35501   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35502   *) ac_try_echo=$ac_try;;
35503 esac
35504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35505   (eval "$ac_link") 2>conftest.er1
35506   ac_status=$?
35507   grep -v '^ *+' conftest.er1 >conftest.err
35508   rm -f conftest.er1
35509   cat conftest.err >&5
35510   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35511   (exit $ac_status); } && {
35512          test -z "$ac_c_werror_flag" ||
35513          test ! -s conftest.err
35514        } && test -s conftest$ac_exeext &&
35515        $as_test_x conftest$ac_exeext; then
35516   glibcxx_cv_func___builtin_fabsf_link=yes
35517 else
35518   echo "$as_me: failed program was:" >&5
35519 sed 's/^/| /' conftest.$ac_ext >&5
35520
35521         glibcxx_cv_func___builtin_fabsf_link=no
35522 fi
35523
35524 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35525       conftest$ac_exeext conftest.$ac_ext
35526
35527 fi
35528
35529     fi
35530     { echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
35531 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6; }
35532
35533     if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
35534
35535 cat >>confdefs.h <<\_ACEOF
35536 #define HAVE___BUILTIN_FABSF 1
35537 _ACEOF
35538
35539     fi
35540
35541   fi
35542
35543
35544   { echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
35545 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6; }
35546   if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
35547     if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
35548   echo $ECHO_N "(cached) $ECHO_C" >&6
35549 else
35550
35551
35552       ac_ext=cpp
35553 ac_cpp='$CXXCPP $CPPFLAGS'
35554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35557
35558       cat >conftest.$ac_ext <<_ACEOF
35559 /* confdefs.h.  */
35560 _ACEOF
35561 cat confdefs.h >>conftest.$ac_ext
35562 cat >>conftest.$ac_ext <<_ACEOF
35563 /* end confdefs.h.  */
35564 #include <math.h>
35565 int
35566 main ()
35567 {
35568  __builtin_fabs(0);
35569   ;
35570   return 0;
35571 }
35572 _ACEOF
35573 rm -f conftest.$ac_objext
35574 if { (ac_try="$ac_compile"
35575 case "(($ac_try" in
35576   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35577   *) ac_try_echo=$ac_try;;
35578 esac
35579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35580   (eval "$ac_compile") 2>conftest.er1
35581   ac_status=$?
35582   grep -v '^ *+' conftest.er1 >conftest.err
35583   rm -f conftest.er1
35584   cat conftest.err >&5
35585   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35586   (exit $ac_status); } && {
35587          test -z "$ac_cxx_werror_flag" ||
35588          test ! -s conftest.err
35589        } && test -s conftest.$ac_objext; then
35590   glibcxx_cv_func___builtin_fabs_use=yes
35591 else
35592   echo "$as_me: failed program was:" >&5
35593 sed 's/^/| /' conftest.$ac_ext >&5
35594
35595         glibcxx_cv_func___builtin_fabs_use=no
35596 fi
35597
35598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35599       ac_ext=c
35600 ac_cpp='$CPP $CPPFLAGS'
35601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35604
35605
35606 fi
35607
35608   fi
35609   { echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
35610 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6; }
35611   if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
35612     { echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
35613 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6; }
35614     if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
35615       if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
35616   echo $ECHO_N "(cached) $ECHO_C" >&6
35617 else
35618
35619         if test x$gcc_no_link = xyes; then
35620   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35621 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35622    { (exit 1); exit 1; }; }
35623 fi
35624 cat >conftest.$ac_ext <<_ACEOF
35625 /* confdefs.h.  */
35626 _ACEOF
35627 cat confdefs.h >>conftest.$ac_ext
35628 cat >>conftest.$ac_ext <<_ACEOF
35629 /* end confdefs.h.  */
35630 #include <math.h>
35631 int
35632 main ()
35633 {
35634  __builtin_fabs(0);
35635   ;
35636   return 0;
35637 }
35638 _ACEOF
35639 rm -f conftest.$ac_objext conftest$ac_exeext
35640 if { (ac_try="$ac_link"
35641 case "(($ac_try" in
35642   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35643   *) ac_try_echo=$ac_try;;
35644 esac
35645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35646   (eval "$ac_link") 2>conftest.er1
35647   ac_status=$?
35648   grep -v '^ *+' conftest.er1 >conftest.err
35649   rm -f conftest.er1
35650   cat conftest.err >&5
35651   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35652   (exit $ac_status); } && {
35653          test -z "$ac_c_werror_flag" ||
35654          test ! -s conftest.err
35655        } && test -s conftest$ac_exeext &&
35656        $as_test_x conftest$ac_exeext; then
35657   glibcxx_cv_func___builtin_fabs_link=yes
35658 else
35659   echo "$as_me: failed program was:" >&5
35660 sed 's/^/| /' conftest.$ac_ext >&5
35661
35662         glibcxx_cv_func___builtin_fabs_link=no
35663 fi
35664
35665 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35666       conftest$ac_exeext conftest.$ac_ext
35667
35668 fi
35669
35670     fi
35671     { echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
35672 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6; }
35673
35674     if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
35675
35676 cat >>confdefs.h <<\_ACEOF
35677 #define HAVE___BUILTIN_FABS 1
35678 _ACEOF
35679
35680     fi
35681
35682   fi
35683
35684
35685   { echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
35686 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6; }
35687   if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
35688     if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
35689   echo $ECHO_N "(cached) $ECHO_C" >&6
35690 else
35691
35692
35693       ac_ext=cpp
35694 ac_cpp='$CXXCPP $CPPFLAGS'
35695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35698
35699       cat >conftest.$ac_ext <<_ACEOF
35700 /* confdefs.h.  */
35701 _ACEOF
35702 cat confdefs.h >>conftest.$ac_ext
35703 cat >>conftest.$ac_ext <<_ACEOF
35704 /* end confdefs.h.  */
35705 #include <math.h>
35706 int
35707 main ()
35708 {
35709  __builtin_fabsl(0);
35710   ;
35711   return 0;
35712 }
35713 _ACEOF
35714 rm -f conftest.$ac_objext
35715 if { (ac_try="$ac_compile"
35716 case "(($ac_try" in
35717   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35718   *) ac_try_echo=$ac_try;;
35719 esac
35720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35721   (eval "$ac_compile") 2>conftest.er1
35722   ac_status=$?
35723   grep -v '^ *+' conftest.er1 >conftest.err
35724   rm -f conftest.er1
35725   cat conftest.err >&5
35726   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35727   (exit $ac_status); } && {
35728          test -z "$ac_cxx_werror_flag" ||
35729          test ! -s conftest.err
35730        } && test -s conftest.$ac_objext; then
35731   glibcxx_cv_func___builtin_fabsl_use=yes
35732 else
35733   echo "$as_me: failed program was:" >&5
35734 sed 's/^/| /' conftest.$ac_ext >&5
35735
35736         glibcxx_cv_func___builtin_fabsl_use=no
35737 fi
35738
35739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35740       ac_ext=c
35741 ac_cpp='$CPP $CPPFLAGS'
35742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35745
35746
35747 fi
35748
35749   fi
35750   { echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
35751 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6; }
35752   if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
35753     { echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
35754 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6; }
35755     if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
35756       if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
35757   echo $ECHO_N "(cached) $ECHO_C" >&6
35758 else
35759
35760         if test x$gcc_no_link = xyes; then
35761   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35762 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35763    { (exit 1); exit 1; }; }
35764 fi
35765 cat >conftest.$ac_ext <<_ACEOF
35766 /* confdefs.h.  */
35767 _ACEOF
35768 cat confdefs.h >>conftest.$ac_ext
35769 cat >>conftest.$ac_ext <<_ACEOF
35770 /* end confdefs.h.  */
35771 #include <math.h>
35772 int
35773 main ()
35774 {
35775  __builtin_fabsl(0);
35776   ;
35777   return 0;
35778 }
35779 _ACEOF
35780 rm -f conftest.$ac_objext conftest$ac_exeext
35781 if { (ac_try="$ac_link"
35782 case "(($ac_try" in
35783   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35784   *) ac_try_echo=$ac_try;;
35785 esac
35786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35787   (eval "$ac_link") 2>conftest.er1
35788   ac_status=$?
35789   grep -v '^ *+' conftest.er1 >conftest.err
35790   rm -f conftest.er1
35791   cat conftest.err >&5
35792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35793   (exit $ac_status); } && {
35794          test -z "$ac_c_werror_flag" ||
35795          test ! -s conftest.err
35796        } && test -s conftest$ac_exeext &&
35797        $as_test_x conftest$ac_exeext; then
35798   glibcxx_cv_func___builtin_fabsl_link=yes
35799 else
35800   echo "$as_me: failed program was:" >&5
35801 sed 's/^/| /' conftest.$ac_ext >&5
35802
35803         glibcxx_cv_func___builtin_fabsl_link=no
35804 fi
35805
35806 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35807       conftest$ac_exeext conftest.$ac_ext
35808
35809 fi
35810
35811     fi
35812     { echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
35813 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6; }
35814
35815     if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
35816
35817 cat >>confdefs.h <<\_ACEOF
35818 #define HAVE___BUILTIN_FABSL 1
35819 _ACEOF
35820
35821     fi
35822
35823   fi
35824
35825
35826   { echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
35827 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6; }
35828   if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
35829     if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
35830   echo $ECHO_N "(cached) $ECHO_C" >&6
35831 else
35832
35833
35834       ac_ext=cpp
35835 ac_cpp='$CXXCPP $CPPFLAGS'
35836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35839
35840       cat >conftest.$ac_ext <<_ACEOF
35841 /* confdefs.h.  */
35842 _ACEOF
35843 cat confdefs.h >>conftest.$ac_ext
35844 cat >>conftest.$ac_ext <<_ACEOF
35845 /* end confdefs.h.  */
35846 #include <math.h>
35847 int
35848 main ()
35849 {
35850  __builtin_labs(0);
35851   ;
35852   return 0;
35853 }
35854 _ACEOF
35855 rm -f conftest.$ac_objext
35856 if { (ac_try="$ac_compile"
35857 case "(($ac_try" in
35858   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35859   *) ac_try_echo=$ac_try;;
35860 esac
35861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35862   (eval "$ac_compile") 2>conftest.er1
35863   ac_status=$?
35864   grep -v '^ *+' conftest.er1 >conftest.err
35865   rm -f conftest.er1
35866   cat conftest.err >&5
35867   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35868   (exit $ac_status); } && {
35869          test -z "$ac_cxx_werror_flag" ||
35870          test ! -s conftest.err
35871        } && test -s conftest.$ac_objext; then
35872   glibcxx_cv_func___builtin_labs_use=yes
35873 else
35874   echo "$as_me: failed program was:" >&5
35875 sed 's/^/| /' conftest.$ac_ext >&5
35876
35877         glibcxx_cv_func___builtin_labs_use=no
35878 fi
35879
35880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35881       ac_ext=c
35882 ac_cpp='$CPP $CPPFLAGS'
35883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35886
35887
35888 fi
35889
35890   fi
35891   { echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
35892 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6; }
35893   if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
35894     { echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
35895 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6; }
35896     if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
35897       if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
35898   echo $ECHO_N "(cached) $ECHO_C" >&6
35899 else
35900
35901         if test x$gcc_no_link = xyes; then
35902   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35903 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35904    { (exit 1); exit 1; }; }
35905 fi
35906 cat >conftest.$ac_ext <<_ACEOF
35907 /* confdefs.h.  */
35908 _ACEOF
35909 cat confdefs.h >>conftest.$ac_ext
35910 cat >>conftest.$ac_ext <<_ACEOF
35911 /* end confdefs.h.  */
35912 #include <math.h>
35913 int
35914 main ()
35915 {
35916  __builtin_labs(0);
35917   ;
35918   return 0;
35919 }
35920 _ACEOF
35921 rm -f conftest.$ac_objext conftest$ac_exeext
35922 if { (ac_try="$ac_link"
35923 case "(($ac_try" in
35924   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35925   *) ac_try_echo=$ac_try;;
35926 esac
35927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35928   (eval "$ac_link") 2>conftest.er1
35929   ac_status=$?
35930   grep -v '^ *+' conftest.er1 >conftest.err
35931   rm -f conftest.er1
35932   cat conftest.err >&5
35933   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35934   (exit $ac_status); } && {
35935          test -z "$ac_c_werror_flag" ||
35936          test ! -s conftest.err
35937        } && test -s conftest$ac_exeext &&
35938        $as_test_x conftest$ac_exeext; then
35939   glibcxx_cv_func___builtin_labs_link=yes
35940 else
35941   echo "$as_me: failed program was:" >&5
35942 sed 's/^/| /' conftest.$ac_ext >&5
35943
35944         glibcxx_cv_func___builtin_labs_link=no
35945 fi
35946
35947 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35948       conftest$ac_exeext conftest.$ac_ext
35949
35950 fi
35951
35952     fi
35953     { echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
35954 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6; }
35955
35956     if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
35957
35958 cat >>confdefs.h <<\_ACEOF
35959 #define HAVE___BUILTIN_LABS 1
35960 _ACEOF
35961
35962     fi
35963
35964   fi
35965
35966
35967
35968   { echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
35969 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6; }
35970   if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
35971     if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
35972   echo $ECHO_N "(cached) $ECHO_C" >&6
35973 else
35974
35975
35976       ac_ext=cpp
35977 ac_cpp='$CXXCPP $CPPFLAGS'
35978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35981
35982       cat >conftest.$ac_ext <<_ACEOF
35983 /* confdefs.h.  */
35984 _ACEOF
35985 cat confdefs.h >>conftest.$ac_ext
35986 cat >>conftest.$ac_ext <<_ACEOF
35987 /* end confdefs.h.  */
35988 #include <math.h>
35989 int
35990 main ()
35991 {
35992  __builtin_sqrtf(0);
35993   ;
35994   return 0;
35995 }
35996 _ACEOF
35997 rm -f conftest.$ac_objext
35998 if { (ac_try="$ac_compile"
35999 case "(($ac_try" in
36000   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36001   *) ac_try_echo=$ac_try;;
36002 esac
36003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36004   (eval "$ac_compile") 2>conftest.er1
36005   ac_status=$?
36006   grep -v '^ *+' conftest.er1 >conftest.err
36007   rm -f conftest.er1
36008   cat conftest.err >&5
36009   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36010   (exit $ac_status); } && {
36011          test -z "$ac_cxx_werror_flag" ||
36012          test ! -s conftest.err
36013        } && test -s conftest.$ac_objext; then
36014   glibcxx_cv_func___builtin_sqrtf_use=yes
36015 else
36016   echo "$as_me: failed program was:" >&5
36017 sed 's/^/| /' conftest.$ac_ext >&5
36018
36019         glibcxx_cv_func___builtin_sqrtf_use=no
36020 fi
36021
36022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36023       ac_ext=c
36024 ac_cpp='$CPP $CPPFLAGS'
36025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36028
36029
36030 fi
36031
36032   fi
36033   { echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
36034 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6; }
36035   if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
36036     { echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
36037 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6; }
36038     if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
36039       if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
36040   echo $ECHO_N "(cached) $ECHO_C" >&6
36041 else
36042
36043         if test x$gcc_no_link = xyes; then
36044   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36045 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36046    { (exit 1); exit 1; }; }
36047 fi
36048 cat >conftest.$ac_ext <<_ACEOF
36049 /* confdefs.h.  */
36050 _ACEOF
36051 cat confdefs.h >>conftest.$ac_ext
36052 cat >>conftest.$ac_ext <<_ACEOF
36053 /* end confdefs.h.  */
36054 #include <math.h>
36055 int
36056 main ()
36057 {
36058  __builtin_sqrtf(0);
36059   ;
36060   return 0;
36061 }
36062 _ACEOF
36063 rm -f conftest.$ac_objext conftest$ac_exeext
36064 if { (ac_try="$ac_link"
36065 case "(($ac_try" in
36066   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36067   *) ac_try_echo=$ac_try;;
36068 esac
36069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36070   (eval "$ac_link") 2>conftest.er1
36071   ac_status=$?
36072   grep -v '^ *+' conftest.er1 >conftest.err
36073   rm -f conftest.er1
36074   cat conftest.err >&5
36075   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36076   (exit $ac_status); } && {
36077          test -z "$ac_c_werror_flag" ||
36078          test ! -s conftest.err
36079        } && test -s conftest$ac_exeext &&
36080        $as_test_x conftest$ac_exeext; then
36081   glibcxx_cv_func___builtin_sqrtf_link=yes
36082 else
36083   echo "$as_me: failed program was:" >&5
36084 sed 's/^/| /' conftest.$ac_ext >&5
36085
36086         glibcxx_cv_func___builtin_sqrtf_link=no
36087 fi
36088
36089 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36090       conftest$ac_exeext conftest.$ac_ext
36091
36092 fi
36093
36094     fi
36095     { echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
36096 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6; }
36097
36098     if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
36099
36100 cat >>confdefs.h <<\_ACEOF
36101 #define HAVE___BUILTIN_SQRTF 1
36102 _ACEOF
36103
36104     fi
36105
36106   fi
36107
36108
36109   { echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
36110 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6; }
36111   if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
36112     if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
36113   echo $ECHO_N "(cached) $ECHO_C" >&6
36114 else
36115
36116
36117       ac_ext=cpp
36118 ac_cpp='$CXXCPP $CPPFLAGS'
36119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36122
36123       cat >conftest.$ac_ext <<_ACEOF
36124 /* confdefs.h.  */
36125 _ACEOF
36126 cat confdefs.h >>conftest.$ac_ext
36127 cat >>conftest.$ac_ext <<_ACEOF
36128 /* end confdefs.h.  */
36129 #include <math.h>
36130 int
36131 main ()
36132 {
36133  __builtin_sqrt(0);
36134   ;
36135   return 0;
36136 }
36137 _ACEOF
36138 rm -f conftest.$ac_objext
36139 if { (ac_try="$ac_compile"
36140 case "(($ac_try" in
36141   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36142   *) ac_try_echo=$ac_try;;
36143 esac
36144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36145   (eval "$ac_compile") 2>conftest.er1
36146   ac_status=$?
36147   grep -v '^ *+' conftest.er1 >conftest.err
36148   rm -f conftest.er1
36149   cat conftest.err >&5
36150   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36151   (exit $ac_status); } && {
36152          test -z "$ac_cxx_werror_flag" ||
36153          test ! -s conftest.err
36154        } && test -s conftest.$ac_objext; then
36155   glibcxx_cv_func___builtin_sqrt_use=yes
36156 else
36157   echo "$as_me: failed program was:" >&5
36158 sed 's/^/| /' conftest.$ac_ext >&5
36159
36160         glibcxx_cv_func___builtin_sqrt_use=no
36161 fi
36162
36163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36164       ac_ext=c
36165 ac_cpp='$CPP $CPPFLAGS'
36166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36169
36170
36171 fi
36172
36173   fi
36174   { echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
36175 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6; }
36176   if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
36177     { echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
36178 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6; }
36179     if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
36180       if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
36181   echo $ECHO_N "(cached) $ECHO_C" >&6
36182 else
36183
36184         if test x$gcc_no_link = xyes; then
36185   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36186 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36187    { (exit 1); exit 1; }; }
36188 fi
36189 cat >conftest.$ac_ext <<_ACEOF
36190 /* confdefs.h.  */
36191 _ACEOF
36192 cat confdefs.h >>conftest.$ac_ext
36193 cat >>conftest.$ac_ext <<_ACEOF
36194 /* end confdefs.h.  */
36195 #include <math.h>
36196 int
36197 main ()
36198 {
36199  __builtin_sqrt(0);
36200   ;
36201   return 0;
36202 }
36203 _ACEOF
36204 rm -f conftest.$ac_objext conftest$ac_exeext
36205 if { (ac_try="$ac_link"
36206 case "(($ac_try" in
36207   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36208   *) ac_try_echo=$ac_try;;
36209 esac
36210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36211   (eval "$ac_link") 2>conftest.er1
36212   ac_status=$?
36213   grep -v '^ *+' conftest.er1 >conftest.err
36214   rm -f conftest.er1
36215   cat conftest.err >&5
36216   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36217   (exit $ac_status); } && {
36218          test -z "$ac_c_werror_flag" ||
36219          test ! -s conftest.err
36220        } && test -s conftest$ac_exeext &&
36221        $as_test_x conftest$ac_exeext; then
36222   glibcxx_cv_func___builtin_sqrt_link=yes
36223 else
36224   echo "$as_me: failed program was:" >&5
36225 sed 's/^/| /' conftest.$ac_ext >&5
36226
36227         glibcxx_cv_func___builtin_sqrt_link=no
36228 fi
36229
36230 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36231       conftest$ac_exeext conftest.$ac_ext
36232
36233 fi
36234
36235     fi
36236     { echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
36237 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6; }
36238
36239     if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
36240
36241 cat >>confdefs.h <<\_ACEOF
36242 #define HAVE___BUILTIN_SQRT 1
36243 _ACEOF
36244
36245     fi
36246
36247   fi
36248
36249
36250   { echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
36251 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6; }
36252   if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
36253     if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
36254   echo $ECHO_N "(cached) $ECHO_C" >&6
36255 else
36256
36257
36258       ac_ext=cpp
36259 ac_cpp='$CXXCPP $CPPFLAGS'
36260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36263
36264       cat >conftest.$ac_ext <<_ACEOF
36265 /* confdefs.h.  */
36266 _ACEOF
36267 cat confdefs.h >>conftest.$ac_ext
36268 cat >>conftest.$ac_ext <<_ACEOF
36269 /* end confdefs.h.  */
36270 #include <math.h>
36271 int
36272 main ()
36273 {
36274  __builtin_sqrtl(0);
36275   ;
36276   return 0;
36277 }
36278 _ACEOF
36279 rm -f conftest.$ac_objext
36280 if { (ac_try="$ac_compile"
36281 case "(($ac_try" in
36282   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36283   *) ac_try_echo=$ac_try;;
36284 esac
36285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36286   (eval "$ac_compile") 2>conftest.er1
36287   ac_status=$?
36288   grep -v '^ *+' conftest.er1 >conftest.err
36289   rm -f conftest.er1
36290   cat conftest.err >&5
36291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36292   (exit $ac_status); } && {
36293          test -z "$ac_cxx_werror_flag" ||
36294          test ! -s conftest.err
36295        } && test -s conftest.$ac_objext; then
36296   glibcxx_cv_func___builtin_sqrtl_use=yes
36297 else
36298   echo "$as_me: failed program was:" >&5
36299 sed 's/^/| /' conftest.$ac_ext >&5
36300
36301         glibcxx_cv_func___builtin_sqrtl_use=no
36302 fi
36303
36304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36305       ac_ext=c
36306 ac_cpp='$CPP $CPPFLAGS'
36307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36310
36311
36312 fi
36313
36314   fi
36315   { echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
36316 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6; }
36317   if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
36318     { echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
36319 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6; }
36320     if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
36321       if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
36322   echo $ECHO_N "(cached) $ECHO_C" >&6
36323 else
36324
36325         if test x$gcc_no_link = xyes; then
36326   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36327 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36328    { (exit 1); exit 1; }; }
36329 fi
36330 cat >conftest.$ac_ext <<_ACEOF
36331 /* confdefs.h.  */
36332 _ACEOF
36333 cat confdefs.h >>conftest.$ac_ext
36334 cat >>conftest.$ac_ext <<_ACEOF
36335 /* end confdefs.h.  */
36336 #include <math.h>
36337 int
36338 main ()
36339 {
36340  __builtin_sqrtl(0);
36341   ;
36342   return 0;
36343 }
36344 _ACEOF
36345 rm -f conftest.$ac_objext conftest$ac_exeext
36346 if { (ac_try="$ac_link"
36347 case "(($ac_try" in
36348   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36349   *) ac_try_echo=$ac_try;;
36350 esac
36351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36352   (eval "$ac_link") 2>conftest.er1
36353   ac_status=$?
36354   grep -v '^ *+' conftest.er1 >conftest.err
36355   rm -f conftest.er1
36356   cat conftest.err >&5
36357   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36358   (exit $ac_status); } && {
36359          test -z "$ac_c_werror_flag" ||
36360          test ! -s conftest.err
36361        } && test -s conftest$ac_exeext &&
36362        $as_test_x conftest$ac_exeext; then
36363   glibcxx_cv_func___builtin_sqrtl_link=yes
36364 else
36365   echo "$as_me: failed program was:" >&5
36366 sed 's/^/| /' conftest.$ac_ext >&5
36367
36368         glibcxx_cv_func___builtin_sqrtl_link=no
36369 fi
36370
36371 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36372       conftest$ac_exeext conftest.$ac_ext
36373
36374 fi
36375
36376     fi
36377     { echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
36378 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6; }
36379
36380     if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
36381
36382 cat >>confdefs.h <<\_ACEOF
36383 #define HAVE___BUILTIN_SQRTL 1
36384 _ACEOF
36385
36386     fi
36387
36388   fi
36389
36390
36391
36392   { echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
36393 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6; }
36394   if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
36395     if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
36396   echo $ECHO_N "(cached) $ECHO_C" >&6
36397 else
36398
36399
36400       ac_ext=cpp
36401 ac_cpp='$CXXCPP $CPPFLAGS'
36402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36405
36406       cat >conftest.$ac_ext <<_ACEOF
36407 /* confdefs.h.  */
36408 _ACEOF
36409 cat confdefs.h >>conftest.$ac_ext
36410 cat >>conftest.$ac_ext <<_ACEOF
36411 /* end confdefs.h.  */
36412 #include <math.h>
36413 int
36414 main ()
36415 {
36416  __builtin_sinf(0);
36417   ;
36418   return 0;
36419 }
36420 _ACEOF
36421 rm -f conftest.$ac_objext
36422 if { (ac_try="$ac_compile"
36423 case "(($ac_try" in
36424   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36425   *) ac_try_echo=$ac_try;;
36426 esac
36427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36428   (eval "$ac_compile") 2>conftest.er1
36429   ac_status=$?
36430   grep -v '^ *+' conftest.er1 >conftest.err
36431   rm -f conftest.er1
36432   cat conftest.err >&5
36433   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36434   (exit $ac_status); } && {
36435          test -z "$ac_cxx_werror_flag" ||
36436          test ! -s conftest.err
36437        } && test -s conftest.$ac_objext; then
36438   glibcxx_cv_func___builtin_sinf_use=yes
36439 else
36440   echo "$as_me: failed program was:" >&5
36441 sed 's/^/| /' conftest.$ac_ext >&5
36442
36443         glibcxx_cv_func___builtin_sinf_use=no
36444 fi
36445
36446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36447       ac_ext=c
36448 ac_cpp='$CPP $CPPFLAGS'
36449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36452
36453
36454 fi
36455
36456   fi
36457   { echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
36458 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6; }
36459   if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
36460     { echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
36461 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6; }
36462     if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
36463       if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
36464   echo $ECHO_N "(cached) $ECHO_C" >&6
36465 else
36466
36467         if test x$gcc_no_link = xyes; then
36468   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36469 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36470    { (exit 1); exit 1; }; }
36471 fi
36472 cat >conftest.$ac_ext <<_ACEOF
36473 /* confdefs.h.  */
36474 _ACEOF
36475 cat confdefs.h >>conftest.$ac_ext
36476 cat >>conftest.$ac_ext <<_ACEOF
36477 /* end confdefs.h.  */
36478 #include <math.h>
36479 int
36480 main ()
36481 {
36482  __builtin_sinf(0);
36483   ;
36484   return 0;
36485 }
36486 _ACEOF
36487 rm -f conftest.$ac_objext conftest$ac_exeext
36488 if { (ac_try="$ac_link"
36489 case "(($ac_try" in
36490   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36491   *) ac_try_echo=$ac_try;;
36492 esac
36493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36494   (eval "$ac_link") 2>conftest.er1
36495   ac_status=$?
36496   grep -v '^ *+' conftest.er1 >conftest.err
36497   rm -f conftest.er1
36498   cat conftest.err >&5
36499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36500   (exit $ac_status); } && {
36501          test -z "$ac_c_werror_flag" ||
36502          test ! -s conftest.err
36503        } && test -s conftest$ac_exeext &&
36504        $as_test_x conftest$ac_exeext; then
36505   glibcxx_cv_func___builtin_sinf_link=yes
36506 else
36507   echo "$as_me: failed program was:" >&5
36508 sed 's/^/| /' conftest.$ac_ext >&5
36509
36510         glibcxx_cv_func___builtin_sinf_link=no
36511 fi
36512
36513 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36514       conftest$ac_exeext conftest.$ac_ext
36515
36516 fi
36517
36518     fi
36519     { echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
36520 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6; }
36521
36522     if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
36523
36524 cat >>confdefs.h <<\_ACEOF
36525 #define HAVE___BUILTIN_SINF 1
36526 _ACEOF
36527
36528     fi
36529
36530   fi
36531
36532
36533   { echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
36534 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6; }
36535   if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
36536     if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
36537   echo $ECHO_N "(cached) $ECHO_C" >&6
36538 else
36539
36540
36541       ac_ext=cpp
36542 ac_cpp='$CXXCPP $CPPFLAGS'
36543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36546
36547       cat >conftest.$ac_ext <<_ACEOF
36548 /* confdefs.h.  */
36549 _ACEOF
36550 cat confdefs.h >>conftest.$ac_ext
36551 cat >>conftest.$ac_ext <<_ACEOF
36552 /* end confdefs.h.  */
36553 #include <math.h>
36554 int
36555 main ()
36556 {
36557  __builtin_sin(0);
36558   ;
36559   return 0;
36560 }
36561 _ACEOF
36562 rm -f conftest.$ac_objext
36563 if { (ac_try="$ac_compile"
36564 case "(($ac_try" in
36565   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36566   *) ac_try_echo=$ac_try;;
36567 esac
36568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36569   (eval "$ac_compile") 2>conftest.er1
36570   ac_status=$?
36571   grep -v '^ *+' conftest.er1 >conftest.err
36572   rm -f conftest.er1
36573   cat conftest.err >&5
36574   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36575   (exit $ac_status); } && {
36576          test -z "$ac_cxx_werror_flag" ||
36577          test ! -s conftest.err
36578        } && test -s conftest.$ac_objext; then
36579   glibcxx_cv_func___builtin_sin_use=yes
36580 else
36581   echo "$as_me: failed program was:" >&5
36582 sed 's/^/| /' conftest.$ac_ext >&5
36583
36584         glibcxx_cv_func___builtin_sin_use=no
36585 fi
36586
36587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36588       ac_ext=c
36589 ac_cpp='$CPP $CPPFLAGS'
36590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36593
36594
36595 fi
36596
36597   fi
36598   { echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
36599 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6; }
36600   if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
36601     { echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
36602 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6; }
36603     if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
36604       if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
36605   echo $ECHO_N "(cached) $ECHO_C" >&6
36606 else
36607
36608         if test x$gcc_no_link = xyes; then
36609   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36610 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36611    { (exit 1); exit 1; }; }
36612 fi
36613 cat >conftest.$ac_ext <<_ACEOF
36614 /* confdefs.h.  */
36615 _ACEOF
36616 cat confdefs.h >>conftest.$ac_ext
36617 cat >>conftest.$ac_ext <<_ACEOF
36618 /* end confdefs.h.  */
36619 #include <math.h>
36620 int
36621 main ()
36622 {
36623  __builtin_sin(0);
36624   ;
36625   return 0;
36626 }
36627 _ACEOF
36628 rm -f conftest.$ac_objext conftest$ac_exeext
36629 if { (ac_try="$ac_link"
36630 case "(($ac_try" in
36631   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36632   *) ac_try_echo=$ac_try;;
36633 esac
36634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36635   (eval "$ac_link") 2>conftest.er1
36636   ac_status=$?
36637   grep -v '^ *+' conftest.er1 >conftest.err
36638   rm -f conftest.er1
36639   cat conftest.err >&5
36640   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36641   (exit $ac_status); } && {
36642          test -z "$ac_c_werror_flag" ||
36643          test ! -s conftest.err
36644        } && test -s conftest$ac_exeext &&
36645        $as_test_x conftest$ac_exeext; then
36646   glibcxx_cv_func___builtin_sin_link=yes
36647 else
36648   echo "$as_me: failed program was:" >&5
36649 sed 's/^/| /' conftest.$ac_ext >&5
36650
36651         glibcxx_cv_func___builtin_sin_link=no
36652 fi
36653
36654 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36655       conftest$ac_exeext conftest.$ac_ext
36656
36657 fi
36658
36659     fi
36660     { echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
36661 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6; }
36662
36663     if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
36664
36665 cat >>confdefs.h <<\_ACEOF
36666 #define HAVE___BUILTIN_SIN 1
36667 _ACEOF
36668
36669     fi
36670
36671   fi
36672
36673
36674   { echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
36675 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6; }
36676   if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
36677     if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
36678   echo $ECHO_N "(cached) $ECHO_C" >&6
36679 else
36680
36681
36682       ac_ext=cpp
36683 ac_cpp='$CXXCPP $CPPFLAGS'
36684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36687
36688       cat >conftest.$ac_ext <<_ACEOF
36689 /* confdefs.h.  */
36690 _ACEOF
36691 cat confdefs.h >>conftest.$ac_ext
36692 cat >>conftest.$ac_ext <<_ACEOF
36693 /* end confdefs.h.  */
36694 #include <math.h>
36695 int
36696 main ()
36697 {
36698  __builtin_sinl(0);
36699   ;
36700   return 0;
36701 }
36702 _ACEOF
36703 rm -f conftest.$ac_objext
36704 if { (ac_try="$ac_compile"
36705 case "(($ac_try" in
36706   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36707   *) ac_try_echo=$ac_try;;
36708 esac
36709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36710   (eval "$ac_compile") 2>conftest.er1
36711   ac_status=$?
36712   grep -v '^ *+' conftest.er1 >conftest.err
36713   rm -f conftest.er1
36714   cat conftest.err >&5
36715   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36716   (exit $ac_status); } && {
36717          test -z "$ac_cxx_werror_flag" ||
36718          test ! -s conftest.err
36719        } && test -s conftest.$ac_objext; then
36720   glibcxx_cv_func___builtin_sinl_use=yes
36721 else
36722   echo "$as_me: failed program was:" >&5
36723 sed 's/^/| /' conftest.$ac_ext >&5
36724
36725         glibcxx_cv_func___builtin_sinl_use=no
36726 fi
36727
36728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36729       ac_ext=c
36730 ac_cpp='$CPP $CPPFLAGS'
36731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36734
36735
36736 fi
36737
36738   fi
36739   { echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
36740 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6; }
36741   if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
36742     { echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
36743 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6; }
36744     if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
36745       if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
36746   echo $ECHO_N "(cached) $ECHO_C" >&6
36747 else
36748
36749         if test x$gcc_no_link = xyes; then
36750   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36751 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36752    { (exit 1); exit 1; }; }
36753 fi
36754 cat >conftest.$ac_ext <<_ACEOF
36755 /* confdefs.h.  */
36756 _ACEOF
36757 cat confdefs.h >>conftest.$ac_ext
36758 cat >>conftest.$ac_ext <<_ACEOF
36759 /* end confdefs.h.  */
36760 #include <math.h>
36761 int
36762 main ()
36763 {
36764  __builtin_sinl(0);
36765   ;
36766   return 0;
36767 }
36768 _ACEOF
36769 rm -f conftest.$ac_objext conftest$ac_exeext
36770 if { (ac_try="$ac_link"
36771 case "(($ac_try" in
36772   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36773   *) ac_try_echo=$ac_try;;
36774 esac
36775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36776   (eval "$ac_link") 2>conftest.er1
36777   ac_status=$?
36778   grep -v '^ *+' conftest.er1 >conftest.err
36779   rm -f conftest.er1
36780   cat conftest.err >&5
36781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36782   (exit $ac_status); } && {
36783          test -z "$ac_c_werror_flag" ||
36784          test ! -s conftest.err
36785        } && test -s conftest$ac_exeext &&
36786        $as_test_x conftest$ac_exeext; then
36787   glibcxx_cv_func___builtin_sinl_link=yes
36788 else
36789   echo "$as_me: failed program was:" >&5
36790 sed 's/^/| /' conftest.$ac_ext >&5
36791
36792         glibcxx_cv_func___builtin_sinl_link=no
36793 fi
36794
36795 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36796       conftest$ac_exeext conftest.$ac_ext
36797
36798 fi
36799
36800     fi
36801     { echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
36802 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6; }
36803
36804     if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
36805
36806 cat >>confdefs.h <<\_ACEOF
36807 #define HAVE___BUILTIN_SINL 1
36808 _ACEOF
36809
36810     fi
36811
36812   fi
36813
36814
36815
36816   { echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
36817 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6; }
36818   if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
36819     if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
36820   echo $ECHO_N "(cached) $ECHO_C" >&6
36821 else
36822
36823
36824       ac_ext=cpp
36825 ac_cpp='$CXXCPP $CPPFLAGS'
36826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36829
36830       cat >conftest.$ac_ext <<_ACEOF
36831 /* confdefs.h.  */
36832 _ACEOF
36833 cat confdefs.h >>conftest.$ac_ext
36834 cat >>conftest.$ac_ext <<_ACEOF
36835 /* end confdefs.h.  */
36836 #include <math.h>
36837 int
36838 main ()
36839 {
36840  __builtin_cosf(0);
36841   ;
36842   return 0;
36843 }
36844 _ACEOF
36845 rm -f conftest.$ac_objext
36846 if { (ac_try="$ac_compile"
36847 case "(($ac_try" in
36848   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36849   *) ac_try_echo=$ac_try;;
36850 esac
36851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36852   (eval "$ac_compile") 2>conftest.er1
36853   ac_status=$?
36854   grep -v '^ *+' conftest.er1 >conftest.err
36855   rm -f conftest.er1
36856   cat conftest.err >&5
36857   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36858   (exit $ac_status); } && {
36859          test -z "$ac_cxx_werror_flag" ||
36860          test ! -s conftest.err
36861        } && test -s conftest.$ac_objext; then
36862   glibcxx_cv_func___builtin_cosf_use=yes
36863 else
36864   echo "$as_me: failed program was:" >&5
36865 sed 's/^/| /' conftest.$ac_ext >&5
36866
36867         glibcxx_cv_func___builtin_cosf_use=no
36868 fi
36869
36870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36871       ac_ext=c
36872 ac_cpp='$CPP $CPPFLAGS'
36873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36876
36877
36878 fi
36879
36880   fi
36881   { echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
36882 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6; }
36883   if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
36884     { echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
36885 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6; }
36886     if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
36887       if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
36888   echo $ECHO_N "(cached) $ECHO_C" >&6
36889 else
36890
36891         if test x$gcc_no_link = xyes; then
36892   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36893 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36894    { (exit 1); exit 1; }; }
36895 fi
36896 cat >conftest.$ac_ext <<_ACEOF
36897 /* confdefs.h.  */
36898 _ACEOF
36899 cat confdefs.h >>conftest.$ac_ext
36900 cat >>conftest.$ac_ext <<_ACEOF
36901 /* end confdefs.h.  */
36902 #include <math.h>
36903 int
36904 main ()
36905 {
36906  __builtin_cosf(0);
36907   ;
36908   return 0;
36909 }
36910 _ACEOF
36911 rm -f conftest.$ac_objext conftest$ac_exeext
36912 if { (ac_try="$ac_link"
36913 case "(($ac_try" in
36914   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36915   *) ac_try_echo=$ac_try;;
36916 esac
36917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36918   (eval "$ac_link") 2>conftest.er1
36919   ac_status=$?
36920   grep -v '^ *+' conftest.er1 >conftest.err
36921   rm -f conftest.er1
36922   cat conftest.err >&5
36923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36924   (exit $ac_status); } && {
36925          test -z "$ac_c_werror_flag" ||
36926          test ! -s conftest.err
36927        } && test -s conftest$ac_exeext &&
36928        $as_test_x conftest$ac_exeext; then
36929   glibcxx_cv_func___builtin_cosf_link=yes
36930 else
36931   echo "$as_me: failed program was:" >&5
36932 sed 's/^/| /' conftest.$ac_ext >&5
36933
36934         glibcxx_cv_func___builtin_cosf_link=no
36935 fi
36936
36937 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36938       conftest$ac_exeext conftest.$ac_ext
36939
36940 fi
36941
36942     fi
36943     { echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
36944 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6; }
36945
36946     if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
36947
36948 cat >>confdefs.h <<\_ACEOF
36949 #define HAVE___BUILTIN_COSF 1
36950 _ACEOF
36951
36952     fi
36953
36954   fi
36955
36956
36957   { echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
36958 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6; }
36959   if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
36960     if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
36961   echo $ECHO_N "(cached) $ECHO_C" >&6
36962 else
36963
36964
36965       ac_ext=cpp
36966 ac_cpp='$CXXCPP $CPPFLAGS'
36967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36970
36971       cat >conftest.$ac_ext <<_ACEOF
36972 /* confdefs.h.  */
36973 _ACEOF
36974 cat confdefs.h >>conftest.$ac_ext
36975 cat >>conftest.$ac_ext <<_ACEOF
36976 /* end confdefs.h.  */
36977 #include <math.h>
36978 int
36979 main ()
36980 {
36981  __builtin_cos(0);
36982   ;
36983   return 0;
36984 }
36985 _ACEOF
36986 rm -f conftest.$ac_objext
36987 if { (ac_try="$ac_compile"
36988 case "(($ac_try" in
36989   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36990   *) ac_try_echo=$ac_try;;
36991 esac
36992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36993   (eval "$ac_compile") 2>conftest.er1
36994   ac_status=$?
36995   grep -v '^ *+' conftest.er1 >conftest.err
36996   rm -f conftest.er1
36997   cat conftest.err >&5
36998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36999   (exit $ac_status); } && {
37000          test -z "$ac_cxx_werror_flag" ||
37001          test ! -s conftest.err
37002        } && test -s conftest.$ac_objext; then
37003   glibcxx_cv_func___builtin_cos_use=yes
37004 else
37005   echo "$as_me: failed program was:" >&5
37006 sed 's/^/| /' conftest.$ac_ext >&5
37007
37008         glibcxx_cv_func___builtin_cos_use=no
37009 fi
37010
37011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37012       ac_ext=c
37013 ac_cpp='$CPP $CPPFLAGS'
37014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37017
37018
37019 fi
37020
37021   fi
37022   { echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
37023 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6; }
37024   if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
37025     { echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
37026 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6; }
37027     if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
37028       if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
37029   echo $ECHO_N "(cached) $ECHO_C" >&6
37030 else
37031
37032         if test x$gcc_no_link = xyes; then
37033   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37034 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37035    { (exit 1); exit 1; }; }
37036 fi
37037 cat >conftest.$ac_ext <<_ACEOF
37038 /* confdefs.h.  */
37039 _ACEOF
37040 cat confdefs.h >>conftest.$ac_ext
37041 cat >>conftest.$ac_ext <<_ACEOF
37042 /* end confdefs.h.  */
37043 #include <math.h>
37044 int
37045 main ()
37046 {
37047  __builtin_cos(0);
37048   ;
37049   return 0;
37050 }
37051 _ACEOF
37052 rm -f conftest.$ac_objext conftest$ac_exeext
37053 if { (ac_try="$ac_link"
37054 case "(($ac_try" in
37055   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37056   *) ac_try_echo=$ac_try;;
37057 esac
37058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37059   (eval "$ac_link") 2>conftest.er1
37060   ac_status=$?
37061   grep -v '^ *+' conftest.er1 >conftest.err
37062   rm -f conftest.er1
37063   cat conftest.err >&5
37064   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37065   (exit $ac_status); } && {
37066          test -z "$ac_c_werror_flag" ||
37067          test ! -s conftest.err
37068        } && test -s conftest$ac_exeext &&
37069        $as_test_x conftest$ac_exeext; then
37070   glibcxx_cv_func___builtin_cos_link=yes
37071 else
37072   echo "$as_me: failed program was:" >&5
37073 sed 's/^/| /' conftest.$ac_ext >&5
37074
37075         glibcxx_cv_func___builtin_cos_link=no
37076 fi
37077
37078 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37079       conftest$ac_exeext conftest.$ac_ext
37080
37081 fi
37082
37083     fi
37084     { echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
37085 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6; }
37086
37087     if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
37088
37089 cat >>confdefs.h <<\_ACEOF
37090 #define HAVE___BUILTIN_COS 1
37091 _ACEOF
37092
37093     fi
37094
37095   fi
37096
37097
37098   { echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
37099 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6; }
37100   if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
37101     if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
37102   echo $ECHO_N "(cached) $ECHO_C" >&6
37103 else
37104
37105
37106       ac_ext=cpp
37107 ac_cpp='$CXXCPP $CPPFLAGS'
37108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37111
37112       cat >conftest.$ac_ext <<_ACEOF
37113 /* confdefs.h.  */
37114 _ACEOF
37115 cat confdefs.h >>conftest.$ac_ext
37116 cat >>conftest.$ac_ext <<_ACEOF
37117 /* end confdefs.h.  */
37118 #include <math.h>
37119 int
37120 main ()
37121 {
37122  __builtin_cosl(0);
37123   ;
37124   return 0;
37125 }
37126 _ACEOF
37127 rm -f conftest.$ac_objext
37128 if { (ac_try="$ac_compile"
37129 case "(($ac_try" in
37130   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37131   *) ac_try_echo=$ac_try;;
37132 esac
37133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37134   (eval "$ac_compile") 2>conftest.er1
37135   ac_status=$?
37136   grep -v '^ *+' conftest.er1 >conftest.err
37137   rm -f conftest.er1
37138   cat conftest.err >&5
37139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37140   (exit $ac_status); } && {
37141          test -z "$ac_cxx_werror_flag" ||
37142          test ! -s conftest.err
37143        } && test -s conftest.$ac_objext; then
37144   glibcxx_cv_func___builtin_cosl_use=yes
37145 else
37146   echo "$as_me: failed program was:" >&5
37147 sed 's/^/| /' conftest.$ac_ext >&5
37148
37149         glibcxx_cv_func___builtin_cosl_use=no
37150 fi
37151
37152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37153       ac_ext=c
37154 ac_cpp='$CPP $CPPFLAGS'
37155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37158
37159
37160 fi
37161
37162   fi
37163   { echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
37164 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6; }
37165   if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
37166     { echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
37167 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6; }
37168     if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
37169       if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
37170   echo $ECHO_N "(cached) $ECHO_C" >&6
37171 else
37172
37173         if test x$gcc_no_link = xyes; then
37174   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37175 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37176    { (exit 1); exit 1; }; }
37177 fi
37178 cat >conftest.$ac_ext <<_ACEOF
37179 /* confdefs.h.  */
37180 _ACEOF
37181 cat confdefs.h >>conftest.$ac_ext
37182 cat >>conftest.$ac_ext <<_ACEOF
37183 /* end confdefs.h.  */
37184 #include <math.h>
37185 int
37186 main ()
37187 {
37188  __builtin_cosl(0);
37189   ;
37190   return 0;
37191 }
37192 _ACEOF
37193 rm -f conftest.$ac_objext conftest$ac_exeext
37194 if { (ac_try="$ac_link"
37195 case "(($ac_try" in
37196   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37197   *) ac_try_echo=$ac_try;;
37198 esac
37199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37200   (eval "$ac_link") 2>conftest.er1
37201   ac_status=$?
37202   grep -v '^ *+' conftest.er1 >conftest.err
37203   rm -f conftest.er1
37204   cat conftest.err >&5
37205   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37206   (exit $ac_status); } && {
37207          test -z "$ac_c_werror_flag" ||
37208          test ! -s conftest.err
37209        } && test -s conftest$ac_exeext &&
37210        $as_test_x conftest$ac_exeext; then
37211   glibcxx_cv_func___builtin_cosl_link=yes
37212 else
37213   echo "$as_me: failed program was:" >&5
37214 sed 's/^/| /' conftest.$ac_ext >&5
37215
37216         glibcxx_cv_func___builtin_cosl_link=no
37217 fi
37218
37219 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37220       conftest$ac_exeext conftest.$ac_ext
37221
37222 fi
37223
37224     fi
37225     { echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
37226 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6; }
37227
37228     if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
37229
37230 cat >>confdefs.h <<\_ACEOF
37231 #define HAVE___BUILTIN_COSL 1
37232 _ACEOF
37233
37234     fi
37235
37236   fi
37237
37238
37239
37240
37241 { echo "$as_me:$LINENO: checking for main in -lm" >&5
37242 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6; }
37243 if test "${ac_cv_lib_m_main+set}" = set; then
37244   echo $ECHO_N "(cached) $ECHO_C" >&6
37245 else
37246   ac_check_lib_save_LIBS=$LIBS
37247 LIBS="-lm  $LIBS"
37248 if test x$gcc_no_link = xyes; then
37249   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37250 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37251    { (exit 1); exit 1; }; }
37252 fi
37253 cat >conftest.$ac_ext <<_ACEOF
37254 /* confdefs.h.  */
37255 _ACEOF
37256 cat confdefs.h >>conftest.$ac_ext
37257 cat >>conftest.$ac_ext <<_ACEOF
37258 /* end confdefs.h.  */
37259
37260
37261 int
37262 main ()
37263 {
37264 return main ();
37265   ;
37266   return 0;
37267 }
37268 _ACEOF
37269 rm -f conftest.$ac_objext conftest$ac_exeext
37270 if { (ac_try="$ac_link"
37271 case "(($ac_try" in
37272   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37273   *) ac_try_echo=$ac_try;;
37274 esac
37275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37276   (eval "$ac_link") 2>conftest.er1
37277   ac_status=$?
37278   grep -v '^ *+' conftest.er1 >conftest.err
37279   rm -f conftest.er1
37280   cat conftest.err >&5
37281   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37282   (exit $ac_status); } && {
37283          test -z "$ac_c_werror_flag" ||
37284          test ! -s conftest.err
37285        } && test -s conftest$ac_exeext &&
37286        $as_test_x conftest$ac_exeext; then
37287   ac_cv_lib_m_main=yes
37288 else
37289   echo "$as_me: failed program was:" >&5
37290 sed 's/^/| /' conftest.$ac_ext >&5
37291
37292         ac_cv_lib_m_main=no
37293 fi
37294
37295 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37296       conftest$ac_exeext conftest.$ac_ext
37297 LIBS=$ac_check_lib_save_LIBS
37298 fi
37299 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
37300 echo "${ECHO_T}$ac_cv_lib_m_main" >&6; }
37301 if test $ac_cv_lib_m_main = yes; then
37302   cat >>confdefs.h <<_ACEOF
37303 #define HAVE_LIBM 1
37304 _ACEOF
37305
37306   LIBS="-lm $LIBS"
37307
37308 fi
37309
37310
37311 for ac_func in copysignf
37312 do
37313 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37314 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37315 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37316 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37317   echo $ECHO_N "(cached) $ECHO_C" >&6
37318 else
37319   if test x$gcc_no_link = xyes; then
37320   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37321 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37322    { (exit 1); exit 1; }; }
37323 fi
37324 cat >conftest.$ac_ext <<_ACEOF
37325 /* confdefs.h.  */
37326 _ACEOF
37327 cat confdefs.h >>conftest.$ac_ext
37328 cat >>conftest.$ac_ext <<_ACEOF
37329 /* end confdefs.h.  */
37330 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37331    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37332 #define $ac_func innocuous_$ac_func
37333
37334 /* System header to define __stub macros and hopefully few prototypes,
37335     which can conflict with char $ac_func (); below.
37336     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37337     <limits.h> exists even on freestanding compilers.  */
37338
37339 #ifdef __STDC__
37340 # include <limits.h>
37341 #else
37342 # include <assert.h>
37343 #endif
37344
37345 #undef $ac_func
37346
37347 /* Override any GCC internal prototype to avoid an error.
37348    Use char because int might match the return type of a GCC
37349    builtin and then its argument prototype would still apply.  */
37350 #ifdef __cplusplus
37351 extern "C"
37352 #endif
37353 char $ac_func ();
37354 /* The GNU C library defines this for functions which it implements
37355     to always fail with ENOSYS.  Some functions are actually named
37356     something starting with __ and the normal name is an alias.  */
37357 #if defined __stub_$ac_func || defined __stub___$ac_func
37358 choke me
37359 #endif
37360
37361 int
37362 main ()
37363 {
37364 return $ac_func ();
37365   ;
37366   return 0;
37367 }
37368 _ACEOF
37369 rm -f conftest.$ac_objext conftest$ac_exeext
37370 if { (ac_try="$ac_link"
37371 case "(($ac_try" in
37372   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37373   *) ac_try_echo=$ac_try;;
37374 esac
37375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37376   (eval "$ac_link") 2>conftest.er1
37377   ac_status=$?
37378   grep -v '^ *+' conftest.er1 >conftest.err
37379   rm -f conftest.er1
37380   cat conftest.err >&5
37381   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37382   (exit $ac_status); } && {
37383          test -z "$ac_c_werror_flag" ||
37384          test ! -s conftest.err
37385        } && test -s conftest$ac_exeext &&
37386        $as_test_x conftest$ac_exeext; then
37387   eval "$as_ac_var=yes"
37388 else
37389   echo "$as_me: failed program was:" >&5
37390 sed 's/^/| /' conftest.$ac_ext >&5
37391
37392         eval "$as_ac_var=no"
37393 fi
37394
37395 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37396       conftest$ac_exeext conftest.$ac_ext
37397 fi
37398 ac_res=`eval echo '${'$as_ac_var'}'`
37399                { echo "$as_me:$LINENO: result: $ac_res" >&5
37400 echo "${ECHO_T}$ac_res" >&6; }
37401 if test `eval echo '${'$as_ac_var'}'` = yes; then
37402   cat >>confdefs.h <<_ACEOF
37403 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37404 _ACEOF
37405
37406 else
37407   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
37408 fi
37409 done
37410
37411
37412
37413 for ac_func in __signbit
37414 do
37415 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37416 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37417 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37418 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37419   echo $ECHO_N "(cached) $ECHO_C" >&6
37420 else
37421   if test x$gcc_no_link = xyes; then
37422   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37423 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37424    { (exit 1); exit 1; }; }
37425 fi
37426 cat >conftest.$ac_ext <<_ACEOF
37427 /* confdefs.h.  */
37428 _ACEOF
37429 cat confdefs.h >>conftest.$ac_ext
37430 cat >>conftest.$ac_ext <<_ACEOF
37431 /* end confdefs.h.  */
37432 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37433    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37434 #define $ac_func innocuous_$ac_func
37435
37436 /* System header to define __stub macros and hopefully few prototypes,
37437     which can conflict with char $ac_func (); below.
37438     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37439     <limits.h> exists even on freestanding compilers.  */
37440
37441 #ifdef __STDC__
37442 # include <limits.h>
37443 #else
37444 # include <assert.h>
37445 #endif
37446
37447 #undef $ac_func
37448
37449 /* Override any GCC internal prototype to avoid an error.
37450    Use char because int might match the return type of a GCC
37451    builtin and then its argument prototype would still apply.  */
37452 #ifdef __cplusplus
37453 extern "C"
37454 #endif
37455 char $ac_func ();
37456 /* The GNU C library defines this for functions which it implements
37457     to always fail with ENOSYS.  Some functions are actually named
37458     something starting with __ and the normal name is an alias.  */
37459 #if defined __stub_$ac_func || defined __stub___$ac_func
37460 choke me
37461 #endif
37462
37463 int
37464 main ()
37465 {
37466 return $ac_func ();
37467   ;
37468   return 0;
37469 }
37470 _ACEOF
37471 rm -f conftest.$ac_objext conftest$ac_exeext
37472 if { (ac_try="$ac_link"
37473 case "(($ac_try" in
37474   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37475   *) ac_try_echo=$ac_try;;
37476 esac
37477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37478   (eval "$ac_link") 2>conftest.er1
37479   ac_status=$?
37480   grep -v '^ *+' conftest.er1 >conftest.err
37481   rm -f conftest.er1
37482   cat conftest.err >&5
37483   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37484   (exit $ac_status); } && {
37485          test -z "$ac_c_werror_flag" ||
37486          test ! -s conftest.err
37487        } && test -s conftest$ac_exeext &&
37488        $as_test_x conftest$ac_exeext; then
37489   eval "$as_ac_var=yes"
37490 else
37491   echo "$as_me: failed program was:" >&5
37492 sed 's/^/| /' conftest.$ac_ext >&5
37493
37494         eval "$as_ac_var=no"
37495 fi
37496
37497 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37498       conftest$ac_exeext conftest.$ac_ext
37499 fi
37500 ac_res=`eval echo '${'$as_ac_var'}'`
37501                { echo "$as_me:$LINENO: result: $ac_res" >&5
37502 echo "${ECHO_T}$ac_res" >&6; }
37503 if test `eval echo '${'$as_ac_var'}'` = yes; then
37504   cat >>confdefs.h <<_ACEOF
37505 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37506 _ACEOF
37507
37508 else
37509   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
37510 fi
37511 done
37512
37513
37514
37515 for ac_func in __signbitf
37516 do
37517 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37518 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37519 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37520 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37521   echo $ECHO_N "(cached) $ECHO_C" >&6
37522 else
37523   if test x$gcc_no_link = xyes; then
37524   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37525 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37526    { (exit 1); exit 1; }; }
37527 fi
37528 cat >conftest.$ac_ext <<_ACEOF
37529 /* confdefs.h.  */
37530 _ACEOF
37531 cat confdefs.h >>conftest.$ac_ext
37532 cat >>conftest.$ac_ext <<_ACEOF
37533 /* end confdefs.h.  */
37534 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37535    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37536 #define $ac_func innocuous_$ac_func
37537
37538 /* System header to define __stub macros and hopefully few prototypes,
37539     which can conflict with char $ac_func (); below.
37540     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37541     <limits.h> exists even on freestanding compilers.  */
37542
37543 #ifdef __STDC__
37544 # include <limits.h>
37545 #else
37546 # include <assert.h>
37547 #endif
37548
37549 #undef $ac_func
37550
37551 /* Override any GCC internal prototype to avoid an error.
37552    Use char because int might match the return type of a GCC
37553    builtin and then its argument prototype would still apply.  */
37554 #ifdef __cplusplus
37555 extern "C"
37556 #endif
37557 char $ac_func ();
37558 /* The GNU C library defines this for functions which it implements
37559     to always fail with ENOSYS.  Some functions are actually named
37560     something starting with __ and the normal name is an alias.  */
37561 #if defined __stub_$ac_func || defined __stub___$ac_func
37562 choke me
37563 #endif
37564
37565 int
37566 main ()
37567 {
37568 return $ac_func ();
37569   ;
37570   return 0;
37571 }
37572 _ACEOF
37573 rm -f conftest.$ac_objext conftest$ac_exeext
37574 if { (ac_try="$ac_link"
37575 case "(($ac_try" in
37576   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37577   *) ac_try_echo=$ac_try;;
37578 esac
37579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37580   (eval "$ac_link") 2>conftest.er1
37581   ac_status=$?
37582   grep -v '^ *+' conftest.er1 >conftest.err
37583   rm -f conftest.er1
37584   cat conftest.err >&5
37585   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37586   (exit $ac_status); } && {
37587          test -z "$ac_c_werror_flag" ||
37588          test ! -s conftest.err
37589        } && test -s conftest$ac_exeext &&
37590        $as_test_x conftest$ac_exeext; then
37591   eval "$as_ac_var=yes"
37592 else
37593   echo "$as_me: failed program was:" >&5
37594 sed 's/^/| /' conftest.$ac_ext >&5
37595
37596         eval "$as_ac_var=no"
37597 fi
37598
37599 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37600       conftest$ac_exeext conftest.$ac_ext
37601 fi
37602 ac_res=`eval echo '${'$as_ac_var'}'`
37603                { echo "$as_me:$LINENO: result: $ac_res" >&5
37604 echo "${ECHO_T}$ac_res" >&6; }
37605 if test `eval echo '${'$as_ac_var'}'` = yes; then
37606   cat >>confdefs.h <<_ACEOF
37607 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37608 _ACEOF
37609
37610 else
37611   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
37612 fi
37613 done
37614
37615
37616           if test x$ac_cv_func_copysignl = x"yes"; then
37617
37618 for ac_func in __signbitl
37619 do
37620 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37621 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37622 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37623 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37624   echo $ECHO_N "(cached) $ECHO_C" >&6
37625 else
37626   if test x$gcc_no_link = xyes; then
37627   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37628 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37629    { (exit 1); exit 1; }; }
37630 fi
37631 cat >conftest.$ac_ext <<_ACEOF
37632 /* confdefs.h.  */
37633 _ACEOF
37634 cat confdefs.h >>conftest.$ac_ext
37635 cat >>conftest.$ac_ext <<_ACEOF
37636 /* end confdefs.h.  */
37637 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37638    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37639 #define $ac_func innocuous_$ac_func
37640
37641 /* System header to define __stub macros and hopefully few prototypes,
37642     which can conflict with char $ac_func (); below.
37643     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37644     <limits.h> exists even on freestanding compilers.  */
37645
37646 #ifdef __STDC__
37647 # include <limits.h>
37648 #else
37649 # include <assert.h>
37650 #endif
37651
37652 #undef $ac_func
37653
37654 /* Override any GCC internal prototype to avoid an error.
37655    Use char because int might match the return type of a GCC
37656    builtin and then its argument prototype would still apply.  */
37657 #ifdef __cplusplus
37658 extern "C"
37659 #endif
37660 char $ac_func ();
37661 /* The GNU C library defines this for functions which it implements
37662     to always fail with ENOSYS.  Some functions are actually named
37663     something starting with __ and the normal name is an alias.  */
37664 #if defined __stub_$ac_func || defined __stub___$ac_func
37665 choke me
37666 #endif
37667
37668 int
37669 main ()
37670 {
37671 return $ac_func ();
37672   ;
37673   return 0;
37674 }
37675 _ACEOF
37676 rm -f conftest.$ac_objext conftest$ac_exeext
37677 if { (ac_try="$ac_link"
37678 case "(($ac_try" in
37679   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37680   *) ac_try_echo=$ac_try;;
37681 esac
37682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37683   (eval "$ac_link") 2>conftest.er1
37684   ac_status=$?
37685   grep -v '^ *+' conftest.er1 >conftest.err
37686   rm -f conftest.er1
37687   cat conftest.err >&5
37688   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37689   (exit $ac_status); } && {
37690          test -z "$ac_c_werror_flag" ||
37691          test ! -s conftest.err
37692        } && test -s conftest$ac_exeext &&
37693        $as_test_x conftest$ac_exeext; then
37694   eval "$as_ac_var=yes"
37695 else
37696   echo "$as_me: failed program was:" >&5
37697 sed 's/^/| /' conftest.$ac_ext >&5
37698
37699         eval "$as_ac_var=no"
37700 fi
37701
37702 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37703       conftest$ac_exeext conftest.$ac_ext
37704 fi
37705 ac_res=`eval echo '${'$as_ac_var'}'`
37706                { echo "$as_me:$LINENO: result: $ac_res" >&5
37707 echo "${ECHO_T}$ac_res" >&6; }
37708 if test `eval echo '${'$as_ac_var'}'` = yes; then
37709   cat >>confdefs.h <<_ACEOF
37710 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37711 _ACEOF
37712
37713 else
37714   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
37715 fi
37716 done
37717
37718   fi
37719
37720   # Used in libmath/Makefile.am.
37721   if test -n "$LIBMATHOBJS"; then
37722     need_libmath=yes
37723   fi
37724
37725
37726
37727   ac_test_CXXFLAGS="${CXXFLAGS+set}"
37728   ac_save_CXXFLAGS="$CXXFLAGS"
37729   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
37730
37731
37732   { echo "$as_me:$LINENO: checking for strtold declaration" >&5
37733 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6; }
37734   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
37735     if test "${glibcxx_cv_func_strtold_use+set}" = set; then
37736   echo $ECHO_N "(cached) $ECHO_C" >&6
37737 else
37738
37739
37740       ac_ext=cpp
37741 ac_cpp='$CXXCPP $CPPFLAGS'
37742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37745
37746       cat >conftest.$ac_ext <<_ACEOF
37747 /* confdefs.h.  */
37748 _ACEOF
37749 cat confdefs.h >>conftest.$ac_ext
37750 cat >>conftest.$ac_ext <<_ACEOF
37751 /* end confdefs.h.  */
37752 #include <stdlib.h>
37753 int
37754 main ()
37755 {
37756  strtold(0, 0);
37757   ;
37758   return 0;
37759 }
37760 _ACEOF
37761 rm -f conftest.$ac_objext
37762 if { (ac_try="$ac_compile"
37763 case "(($ac_try" in
37764   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37765   *) ac_try_echo=$ac_try;;
37766 esac
37767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37768   (eval "$ac_compile") 2>conftest.er1
37769   ac_status=$?
37770   grep -v '^ *+' conftest.er1 >conftest.err
37771   rm -f conftest.er1
37772   cat conftest.err >&5
37773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37774   (exit $ac_status); } && {
37775          test -z "$ac_cxx_werror_flag" ||
37776          test ! -s conftest.err
37777        } && test -s conftest.$ac_objext; then
37778   glibcxx_cv_func_strtold_use=yes
37779 else
37780   echo "$as_me: failed program was:" >&5
37781 sed 's/^/| /' conftest.$ac_ext >&5
37782
37783         glibcxx_cv_func_strtold_use=no
37784 fi
37785
37786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37787       ac_ext=c
37788 ac_cpp='$CPP $CPPFLAGS'
37789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37792
37793
37794 fi
37795
37796   fi
37797   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
37798 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6; }
37799   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
37800
37801 for ac_func in strtold
37802 do
37803 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37804 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37805 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37806 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37807   echo $ECHO_N "(cached) $ECHO_C" >&6
37808 else
37809   if test x$gcc_no_link = xyes; then
37810   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37811 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37812    { (exit 1); exit 1; }; }
37813 fi
37814 cat >conftest.$ac_ext <<_ACEOF
37815 /* confdefs.h.  */
37816 _ACEOF
37817 cat confdefs.h >>conftest.$ac_ext
37818 cat >>conftest.$ac_ext <<_ACEOF
37819 /* end confdefs.h.  */
37820 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37821    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37822 #define $ac_func innocuous_$ac_func
37823
37824 /* System header to define __stub macros and hopefully few prototypes,
37825     which can conflict with char $ac_func (); below.
37826     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37827     <limits.h> exists even on freestanding compilers.  */
37828
37829 #ifdef __STDC__
37830 # include <limits.h>
37831 #else
37832 # include <assert.h>
37833 #endif
37834
37835 #undef $ac_func
37836
37837 /* Override any GCC internal prototype to avoid an error.
37838    Use char because int might match the return type of a GCC
37839    builtin and then its argument prototype would still apply.  */
37840 #ifdef __cplusplus
37841 extern "C"
37842 #endif
37843 char $ac_func ();
37844 /* The GNU C library defines this for functions which it implements
37845     to always fail with ENOSYS.  Some functions are actually named
37846     something starting with __ and the normal name is an alias.  */
37847 #if defined __stub_$ac_func || defined __stub___$ac_func
37848 choke me
37849 #endif
37850
37851 int
37852 main ()
37853 {
37854 return $ac_func ();
37855   ;
37856   return 0;
37857 }
37858 _ACEOF
37859 rm -f conftest.$ac_objext conftest$ac_exeext
37860 if { (ac_try="$ac_link"
37861 case "(($ac_try" in
37862   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37863   *) ac_try_echo=$ac_try;;
37864 esac
37865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37866   (eval "$ac_link") 2>conftest.er1
37867   ac_status=$?
37868   grep -v '^ *+' conftest.er1 >conftest.err
37869   rm -f conftest.er1
37870   cat conftest.err >&5
37871   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37872   (exit $ac_status); } && {
37873          test -z "$ac_c_werror_flag" ||
37874          test ! -s conftest.err
37875        } && test -s conftest$ac_exeext &&
37876        $as_test_x conftest$ac_exeext; then
37877   eval "$as_ac_var=yes"
37878 else
37879   echo "$as_me: failed program was:" >&5
37880 sed 's/^/| /' conftest.$ac_ext >&5
37881
37882         eval "$as_ac_var=no"
37883 fi
37884
37885 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37886       conftest$ac_exeext conftest.$ac_ext
37887 fi
37888 ac_res=`eval echo '${'$as_ac_var'}'`
37889                { echo "$as_me:$LINENO: result: $ac_res" >&5
37890 echo "${ECHO_T}$ac_res" >&6; }
37891 if test `eval echo '${'$as_ac_var'}'` = yes; then
37892   cat >>confdefs.h <<_ACEOF
37893 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37894 _ACEOF
37895
37896 fi
37897 done
37898
37899   fi
37900
37901
37902
37903
37904
37905   { echo "$as_me:$LINENO: checking for strtof declaration" >&5
37906 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6; }
37907   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
37908     if test "${glibcxx_cv_func_strtof_use+set}" = set; then
37909   echo $ECHO_N "(cached) $ECHO_C" >&6
37910 else
37911
37912
37913       ac_ext=cpp
37914 ac_cpp='$CXXCPP $CPPFLAGS'
37915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37918
37919       cat >conftest.$ac_ext <<_ACEOF
37920 /* confdefs.h.  */
37921 _ACEOF
37922 cat confdefs.h >>conftest.$ac_ext
37923 cat >>conftest.$ac_ext <<_ACEOF
37924 /* end confdefs.h.  */
37925 #include <stdlib.h>
37926 int
37927 main ()
37928 {
37929  strtof(0, 0);
37930   ;
37931   return 0;
37932 }
37933 _ACEOF
37934 rm -f conftest.$ac_objext
37935 if { (ac_try="$ac_compile"
37936 case "(($ac_try" in
37937   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37938   *) ac_try_echo=$ac_try;;
37939 esac
37940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37941   (eval "$ac_compile") 2>conftest.er1
37942   ac_status=$?
37943   grep -v '^ *+' conftest.er1 >conftest.err
37944   rm -f conftest.er1
37945   cat conftest.err >&5
37946   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37947   (exit $ac_status); } && {
37948          test -z "$ac_cxx_werror_flag" ||
37949          test ! -s conftest.err
37950        } && test -s conftest.$ac_objext; then
37951   glibcxx_cv_func_strtof_use=yes
37952 else
37953   echo "$as_me: failed program was:" >&5
37954 sed 's/^/| /' conftest.$ac_ext >&5
37955
37956         glibcxx_cv_func_strtof_use=no
37957 fi
37958
37959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37960       ac_ext=c
37961 ac_cpp='$CPP $CPPFLAGS'
37962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37965
37966
37967 fi
37968
37969   fi
37970   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
37971 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6; }
37972   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
37973
37974 for ac_func in strtof
37975 do
37976 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37977 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37978 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37979 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37980   echo $ECHO_N "(cached) $ECHO_C" >&6
37981 else
37982   if test x$gcc_no_link = xyes; then
37983   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37984 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37985    { (exit 1); exit 1; }; }
37986 fi
37987 cat >conftest.$ac_ext <<_ACEOF
37988 /* confdefs.h.  */
37989 _ACEOF
37990 cat confdefs.h >>conftest.$ac_ext
37991 cat >>conftest.$ac_ext <<_ACEOF
37992 /* end confdefs.h.  */
37993 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37994    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37995 #define $ac_func innocuous_$ac_func
37996
37997 /* System header to define __stub macros and hopefully few prototypes,
37998     which can conflict with char $ac_func (); below.
37999     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38000     <limits.h> exists even on freestanding compilers.  */
38001
38002 #ifdef __STDC__
38003 # include <limits.h>
38004 #else
38005 # include <assert.h>
38006 #endif
38007
38008 #undef $ac_func
38009
38010 /* Override any GCC internal prototype to avoid an error.
38011    Use char because int might match the return type of a GCC
38012    builtin and then its argument prototype would still apply.  */
38013 #ifdef __cplusplus
38014 extern "C"
38015 #endif
38016 char $ac_func ();
38017 /* The GNU C library defines this for functions which it implements
38018     to always fail with ENOSYS.  Some functions are actually named
38019     something starting with __ and the normal name is an alias.  */
38020 #if defined __stub_$ac_func || defined __stub___$ac_func
38021 choke me
38022 #endif
38023
38024 int
38025 main ()
38026 {
38027 return $ac_func ();
38028   ;
38029   return 0;
38030 }
38031 _ACEOF
38032 rm -f conftest.$ac_objext conftest$ac_exeext
38033 if { (ac_try="$ac_link"
38034 case "(($ac_try" in
38035   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38036   *) ac_try_echo=$ac_try;;
38037 esac
38038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38039   (eval "$ac_link") 2>conftest.er1
38040   ac_status=$?
38041   grep -v '^ *+' conftest.er1 >conftest.err
38042   rm -f conftest.er1
38043   cat conftest.err >&5
38044   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38045   (exit $ac_status); } && {
38046          test -z "$ac_c_werror_flag" ||
38047          test ! -s conftest.err
38048        } && test -s conftest$ac_exeext &&
38049        $as_test_x conftest$ac_exeext; then
38050   eval "$as_ac_var=yes"
38051 else
38052   echo "$as_me: failed program was:" >&5
38053 sed 's/^/| /' conftest.$ac_ext >&5
38054
38055         eval "$as_ac_var=no"
38056 fi
38057
38058 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38059       conftest$ac_exeext conftest.$ac_ext
38060 fi
38061 ac_res=`eval echo '${'$as_ac_var'}'`
38062                { echo "$as_me:$LINENO: result: $ac_res" >&5
38063 echo "${ECHO_T}$ac_res" >&6; }
38064 if test `eval echo '${'$as_ac_var'}'` = yes; then
38065   cat >>confdefs.h <<_ACEOF
38066 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38067 _ACEOF
38068
38069 fi
38070 done
38071
38072   fi
38073
38074
38075
38076
38077
38078   CXXFLAGS="$ac_save_CXXFLAGS"
38079
38080
38081   # For showmanyc_helper().
38082
38083
38084 for ac_header in sys/ioctl.h sys/filio.h
38085 do
38086 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38087 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
38088   { echo "$as_me:$LINENO: checking for $ac_header" >&5
38089 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
38090 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
38091   echo $ECHO_N "(cached) $ECHO_C" >&6
38092 fi
38093 ac_res=`eval echo '${'$as_ac_Header'}'`
38094                { echo "$as_me:$LINENO: result: $ac_res" >&5
38095 echo "${ECHO_T}$ac_res" >&6; }
38096 else
38097   # Is the header compilable?
38098 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
38099 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
38100 cat >conftest.$ac_ext <<_ACEOF
38101 /* confdefs.h.  */
38102 _ACEOF
38103 cat confdefs.h >>conftest.$ac_ext
38104 cat >>conftest.$ac_ext <<_ACEOF
38105 /* end confdefs.h.  */
38106 $ac_includes_default
38107 #include <$ac_header>
38108 _ACEOF
38109 rm -f conftest.$ac_objext
38110 if { (ac_try="$ac_compile"
38111 case "(($ac_try" in
38112   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38113   *) ac_try_echo=$ac_try;;
38114 esac
38115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38116   (eval "$ac_compile") 2>conftest.er1
38117   ac_status=$?
38118   grep -v '^ *+' conftest.er1 >conftest.err
38119   rm -f conftest.er1
38120   cat conftest.err >&5
38121   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38122   (exit $ac_status); } && {
38123          test -z "$ac_c_werror_flag" ||
38124          test ! -s conftest.err
38125        } && test -s conftest.$ac_objext; then
38126   ac_header_compiler=yes
38127 else
38128   echo "$as_me: failed program was:" >&5
38129 sed 's/^/| /' conftest.$ac_ext >&5
38130
38131         ac_header_compiler=no
38132 fi
38133
38134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38135 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
38136 echo "${ECHO_T}$ac_header_compiler" >&6; }
38137
38138 # Is the header present?
38139 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
38140 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
38141 cat >conftest.$ac_ext <<_ACEOF
38142 /* confdefs.h.  */
38143 _ACEOF
38144 cat confdefs.h >>conftest.$ac_ext
38145 cat >>conftest.$ac_ext <<_ACEOF
38146 /* end confdefs.h.  */
38147 #include <$ac_header>
38148 _ACEOF
38149 if { (ac_try="$ac_cpp conftest.$ac_ext"
38150 case "(($ac_try" in
38151   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38152   *) ac_try_echo=$ac_try;;
38153 esac
38154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38155   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
38156   ac_status=$?
38157   grep -v '^ *+' conftest.er1 >conftest.err
38158   rm -f conftest.er1
38159   cat conftest.err >&5
38160   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38161   (exit $ac_status); } >/dev/null && {
38162          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
38163          test ! -s conftest.err
38164        }; then
38165   ac_header_preproc=yes
38166 else
38167   echo "$as_me: failed program was:" >&5
38168 sed 's/^/| /' conftest.$ac_ext >&5
38169
38170   ac_header_preproc=no
38171 fi
38172
38173 rm -f conftest.err conftest.$ac_ext
38174 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38175 echo "${ECHO_T}$ac_header_preproc" >&6; }
38176
38177 # So?  What about this header?
38178 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
38179   yes:no: )
38180     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
38181 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
38182     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
38183 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
38184     ac_header_preproc=yes
38185     ;;
38186   no:yes:* )
38187     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
38188 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
38189     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
38190 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
38191     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
38192 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
38193     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
38194 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
38195     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
38196 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
38197     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
38198 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
38199
38200     ;;
38201 esac
38202 { echo "$as_me:$LINENO: checking for $ac_header" >&5
38203 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
38204 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
38205   echo $ECHO_N "(cached) $ECHO_C" >&6
38206 else
38207   eval "$as_ac_Header=\$ac_header_preproc"
38208 fi
38209 ac_res=`eval echo '${'$as_ac_Header'}'`
38210                { echo "$as_me:$LINENO: result: $ac_res" >&5
38211 echo "${ECHO_T}$ac_res" >&6; }
38212
38213 fi
38214 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38215   cat >>confdefs.h <<_ACEOF
38216 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38217 _ACEOF
38218
38219 fi
38220
38221 done
38222
38223
38224   { echo "$as_me:$LINENO: checking for poll" >&5
38225 echo $ECHO_N "checking for poll... $ECHO_C" >&6; }
38226   if test "${glibcxx_cv_POLL+set}" = set; then
38227   echo $ECHO_N "(cached) $ECHO_C" >&6
38228 else
38229
38230     if test x$gcc_no_link = xyes; then
38231   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38232 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38233    { (exit 1); exit 1; }; }
38234 fi
38235 cat >conftest.$ac_ext <<_ACEOF
38236 /* confdefs.h.  */
38237 _ACEOF
38238 cat confdefs.h >>conftest.$ac_ext
38239 cat >>conftest.$ac_ext <<_ACEOF
38240 /* end confdefs.h.  */
38241 #include <poll.h>
38242 int
38243 main ()
38244 {
38245 struct pollfd pfd[1];
38246        pfd[0].events = POLLIN;
38247        poll(pfd, 1, 0);
38248   ;
38249   return 0;
38250 }
38251 _ACEOF
38252 rm -f conftest.$ac_objext conftest$ac_exeext
38253 if { (ac_try="$ac_link"
38254 case "(($ac_try" in
38255   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38256   *) ac_try_echo=$ac_try;;
38257 esac
38258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38259   (eval "$ac_link") 2>conftest.er1
38260   ac_status=$?
38261   grep -v '^ *+' conftest.er1 >conftest.err
38262   rm -f conftest.er1
38263   cat conftest.err >&5
38264   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38265   (exit $ac_status); } && {
38266          test -z "$ac_c_werror_flag" ||
38267          test ! -s conftest.err
38268        } && test -s conftest$ac_exeext &&
38269        $as_test_x conftest$ac_exeext; then
38270   glibcxx_cv_POLL=yes
38271 else
38272   echo "$as_me: failed program was:" >&5
38273 sed 's/^/| /' conftest.$ac_ext >&5
38274
38275         glibcxx_cv_POLL=no
38276 fi
38277
38278 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38279       conftest$ac_exeext conftest.$ac_ext
38280
38281 fi
38282
38283   if test $glibcxx_cv_POLL = yes; then
38284
38285 cat >>confdefs.h <<\_ACEOF
38286 #define HAVE_POLL 1
38287 _ACEOF
38288
38289   fi
38290   { echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
38291 echo "${ECHO_T}$glibcxx_cv_POLL" >&6; }
38292
38293
38294   { echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
38295 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6; }
38296   if test "${glibcxx_cv_S_ISREG+set}" = set; then
38297   echo $ECHO_N "(cached) $ECHO_C" >&6
38298 else
38299
38300     if test x$gcc_no_link = xyes; then
38301   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38302 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38303    { (exit 1); exit 1; }; }
38304 fi
38305 cat >conftest.$ac_ext <<_ACEOF
38306 /* confdefs.h.  */
38307 _ACEOF
38308 cat confdefs.h >>conftest.$ac_ext
38309 cat >>conftest.$ac_ext <<_ACEOF
38310 /* end confdefs.h.  */
38311 #include <sys/stat.h>
38312 int
38313 main ()
38314 {
38315 struct stat buffer;
38316        fstat(0, &buffer);
38317        S_ISREG(buffer.st_mode);
38318   ;
38319   return 0;
38320 }
38321 _ACEOF
38322 rm -f conftest.$ac_objext conftest$ac_exeext
38323 if { (ac_try="$ac_link"
38324 case "(($ac_try" in
38325   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38326   *) ac_try_echo=$ac_try;;
38327 esac
38328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38329   (eval "$ac_link") 2>conftest.er1
38330   ac_status=$?
38331   grep -v '^ *+' conftest.er1 >conftest.err
38332   rm -f conftest.er1
38333   cat conftest.err >&5
38334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38335   (exit $ac_status); } && {
38336          test -z "$ac_c_werror_flag" ||
38337          test ! -s conftest.err
38338        } && test -s conftest$ac_exeext &&
38339        $as_test_x conftest$ac_exeext; then
38340   glibcxx_cv_S_ISREG=yes
38341 else
38342   echo "$as_me: failed program was:" >&5
38343 sed 's/^/| /' conftest.$ac_ext >&5
38344
38345         glibcxx_cv_S_ISREG=no
38346 fi
38347
38348 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38349       conftest$ac_exeext conftest.$ac_ext
38350
38351 fi
38352
38353   if test "${glibcxx_cv_S_IFREG+set}" = set; then
38354   echo $ECHO_N "(cached) $ECHO_C" >&6
38355 else
38356
38357     if test x$gcc_no_link = xyes; then
38358   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38359 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38360    { (exit 1); exit 1; }; }
38361 fi
38362 cat >conftest.$ac_ext <<_ACEOF
38363 /* confdefs.h.  */
38364 _ACEOF
38365 cat confdefs.h >>conftest.$ac_ext
38366 cat >>conftest.$ac_ext <<_ACEOF
38367 /* end confdefs.h.  */
38368 #include <sys/stat.h>
38369 int
38370 main ()
38371 {
38372 struct stat buffer;
38373        fstat(0, &buffer);
38374        S_IFREG & buffer.st_mode;
38375   ;
38376   return 0;
38377 }
38378 _ACEOF
38379 rm -f conftest.$ac_objext conftest$ac_exeext
38380 if { (ac_try="$ac_link"
38381 case "(($ac_try" in
38382   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38383   *) ac_try_echo=$ac_try;;
38384 esac
38385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38386   (eval "$ac_link") 2>conftest.er1
38387   ac_status=$?
38388   grep -v '^ *+' conftest.er1 >conftest.err
38389   rm -f conftest.er1
38390   cat conftest.err >&5
38391   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38392   (exit $ac_status); } && {
38393          test -z "$ac_c_werror_flag" ||
38394          test ! -s conftest.err
38395        } && test -s conftest$ac_exeext &&
38396        $as_test_x conftest$ac_exeext; then
38397   glibcxx_cv_S_IFREG=yes
38398 else
38399   echo "$as_me: failed program was:" >&5
38400 sed 's/^/| /' conftest.$ac_ext >&5
38401
38402         glibcxx_cv_S_IFREG=no
38403 fi
38404
38405 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38406       conftest$ac_exeext conftest.$ac_ext
38407
38408 fi
38409
38410   res=no
38411   if test $glibcxx_cv_S_ISREG = yes; then
38412
38413 cat >>confdefs.h <<\_ACEOF
38414 #define HAVE_S_ISREG 1
38415 _ACEOF
38416
38417     res=S_ISREG
38418   elif test $glibcxx_cv_S_IFREG = yes; then
38419
38420 cat >>confdefs.h <<\_ACEOF
38421 #define HAVE_S_IFREG 1
38422 _ACEOF
38423
38424     res=S_IFREG
38425   fi
38426   { echo "$as_me:$LINENO: result: $res" >&5
38427 echo "${ECHO_T}$res" >&6; }
38428
38429
38430   # For xsputn_2().
38431
38432 for ac_header in sys/uio.h
38433 do
38434 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38435 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
38436   { echo "$as_me:$LINENO: checking for $ac_header" >&5
38437 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
38438 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
38439   echo $ECHO_N "(cached) $ECHO_C" >&6
38440 fi
38441 ac_res=`eval echo '${'$as_ac_Header'}'`
38442                { echo "$as_me:$LINENO: result: $ac_res" >&5
38443 echo "${ECHO_T}$ac_res" >&6; }
38444 else
38445   # Is the header compilable?
38446 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
38447 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
38448 cat >conftest.$ac_ext <<_ACEOF
38449 /* confdefs.h.  */
38450 _ACEOF
38451 cat confdefs.h >>conftest.$ac_ext
38452 cat >>conftest.$ac_ext <<_ACEOF
38453 /* end confdefs.h.  */
38454 $ac_includes_default
38455 #include <$ac_header>
38456 _ACEOF
38457 rm -f conftest.$ac_objext
38458 if { (ac_try="$ac_compile"
38459 case "(($ac_try" in
38460   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38461   *) ac_try_echo=$ac_try;;
38462 esac
38463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38464   (eval "$ac_compile") 2>conftest.er1
38465   ac_status=$?
38466   grep -v '^ *+' conftest.er1 >conftest.err
38467   rm -f conftest.er1
38468   cat conftest.err >&5
38469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38470   (exit $ac_status); } && {
38471          test -z "$ac_c_werror_flag" ||
38472          test ! -s conftest.err
38473        } && test -s conftest.$ac_objext; then
38474   ac_header_compiler=yes
38475 else
38476   echo "$as_me: failed program was:" >&5
38477 sed 's/^/| /' conftest.$ac_ext >&5
38478
38479         ac_header_compiler=no
38480 fi
38481
38482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38483 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
38484 echo "${ECHO_T}$ac_header_compiler" >&6; }
38485
38486 # Is the header present?
38487 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
38488 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
38489 cat >conftest.$ac_ext <<_ACEOF
38490 /* confdefs.h.  */
38491 _ACEOF
38492 cat confdefs.h >>conftest.$ac_ext
38493 cat >>conftest.$ac_ext <<_ACEOF
38494 /* end confdefs.h.  */
38495 #include <$ac_header>
38496 _ACEOF
38497 if { (ac_try="$ac_cpp conftest.$ac_ext"
38498 case "(($ac_try" in
38499   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38500   *) ac_try_echo=$ac_try;;
38501 esac
38502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38503   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
38504   ac_status=$?
38505   grep -v '^ *+' conftest.er1 >conftest.err
38506   rm -f conftest.er1
38507   cat conftest.err >&5
38508   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38509   (exit $ac_status); } >/dev/null && {
38510          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
38511          test ! -s conftest.err
38512        }; then
38513   ac_header_preproc=yes
38514 else
38515   echo "$as_me: failed program was:" >&5
38516 sed 's/^/| /' conftest.$ac_ext >&5
38517
38518   ac_header_preproc=no
38519 fi
38520
38521 rm -f conftest.err conftest.$ac_ext
38522 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38523 echo "${ECHO_T}$ac_header_preproc" >&6; }
38524
38525 # So?  What about this header?
38526 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
38527   yes:no: )
38528     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
38529 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
38530     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
38531 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
38532     ac_header_preproc=yes
38533     ;;
38534   no:yes:* )
38535     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
38536 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
38537     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
38538 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
38539     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
38540 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
38541     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
38542 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
38543     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
38544 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
38545     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
38546 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
38547
38548     ;;
38549 esac
38550 { echo "$as_me:$LINENO: checking for $ac_header" >&5
38551 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
38552 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
38553   echo $ECHO_N "(cached) $ECHO_C" >&6
38554 else
38555   eval "$as_ac_Header=\$ac_header_preproc"
38556 fi
38557 ac_res=`eval echo '${'$as_ac_Header'}'`
38558                { echo "$as_me:$LINENO: result: $ac_res" >&5
38559 echo "${ECHO_T}$ac_res" >&6; }
38560
38561 fi
38562 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38563   cat >>confdefs.h <<_ACEOF
38564 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38565 _ACEOF
38566
38567 fi
38568
38569 done
38570
38571
38572   { echo "$as_me:$LINENO: checking for writev" >&5
38573 echo $ECHO_N "checking for writev... $ECHO_C" >&6; }
38574   if test "${glibcxx_cv_WRITEV+set}" = set; then
38575   echo $ECHO_N "(cached) $ECHO_C" >&6
38576 else
38577
38578     if test x$gcc_no_link = xyes; then
38579   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38580 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38581    { (exit 1); exit 1; }; }
38582 fi
38583 cat >conftest.$ac_ext <<_ACEOF
38584 /* confdefs.h.  */
38585 _ACEOF
38586 cat confdefs.h >>conftest.$ac_ext
38587 cat >>conftest.$ac_ext <<_ACEOF
38588 /* end confdefs.h.  */
38589 #include <sys/uio.h>
38590 int
38591 main ()
38592 {
38593 struct iovec iov[2];
38594        writev(0, iov, 0);
38595   ;
38596   return 0;
38597 }
38598 _ACEOF
38599 rm -f conftest.$ac_objext conftest$ac_exeext
38600 if { (ac_try="$ac_link"
38601 case "(($ac_try" in
38602   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38603   *) ac_try_echo=$ac_try;;
38604 esac
38605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38606   (eval "$ac_link") 2>conftest.er1
38607   ac_status=$?
38608   grep -v '^ *+' conftest.er1 >conftest.err
38609   rm -f conftest.er1
38610   cat conftest.err >&5
38611   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38612   (exit $ac_status); } && {
38613          test -z "$ac_c_werror_flag" ||
38614          test ! -s conftest.err
38615        } && test -s conftest$ac_exeext &&
38616        $as_test_x conftest$ac_exeext; then
38617   glibcxx_cv_WRITEV=yes
38618 else
38619   echo "$as_me: failed program was:" >&5
38620 sed 's/^/| /' conftest.$ac_ext >&5
38621
38622         glibcxx_cv_WRITEV=no
38623 fi
38624
38625 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38626       conftest$ac_exeext conftest.$ac_ext
38627
38628 fi
38629
38630   if test $glibcxx_cv_WRITEV = yes; then
38631
38632 cat >>confdefs.h <<\_ACEOF
38633 #define HAVE_WRITEV 1
38634 _ACEOF
38635
38636   fi
38637   { echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
38638 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6; }
38639
38640
38641   # For the __streamoff_base_type typedef.
38642
38643   { echo "$as_me:$LINENO: checking for int64_t" >&5
38644 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6; }
38645   if test "${glibcxx_cv_INT64_T+set}" = set; then
38646   echo $ECHO_N "(cached) $ECHO_C" >&6
38647 else
38648
38649     cat >conftest.$ac_ext <<_ACEOF
38650 /* confdefs.h.  */
38651 _ACEOF
38652 cat confdefs.h >>conftest.$ac_ext
38653 cat >>conftest.$ac_ext <<_ACEOF
38654 /* end confdefs.h.  */
38655 #include <stdint.h>
38656 int
38657 main ()
38658 {
38659 int64_t var;
38660   ;
38661   return 0;
38662 }
38663 _ACEOF
38664 rm -f conftest.$ac_objext
38665 if { (ac_try="$ac_compile"
38666 case "(($ac_try" in
38667   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38668   *) ac_try_echo=$ac_try;;
38669 esac
38670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38671   (eval "$ac_compile") 2>conftest.er1
38672   ac_status=$?
38673   grep -v '^ *+' conftest.er1 >conftest.err
38674   rm -f conftest.er1
38675   cat conftest.err >&5
38676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38677   (exit $ac_status); } && {
38678          test -z "$ac_c_werror_flag" ||
38679          test ! -s conftest.err
38680        } && test -s conftest.$ac_objext; then
38681   glibcxx_cv_INT64_T=yes
38682 else
38683   echo "$as_me: failed program was:" >&5
38684 sed 's/^/| /' conftest.$ac_ext >&5
38685
38686         glibcxx_cv_INT64_T=no
38687 fi
38688
38689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38690
38691 fi
38692
38693   if test $glibcxx_cv_INT64_T = yes; then
38694
38695 cat >>confdefs.h <<\_ACEOF
38696 #define HAVE_INT64_T 1
38697 _ACEOF
38698
38699   fi
38700   { echo "$as_me:$LINENO: result: $glibcxx_cv_INT64_T" >&5
38701 echo "${ECHO_T}$glibcxx_cv_INT64_T" >&6; }
38702
38703
38704   # For LFS support.
38705
38706
38707   ac_ext=cpp
38708 ac_cpp='$CXXCPP $CPPFLAGS'
38709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38712
38713   ac_save_CXXFLAGS="$CXXFLAGS"
38714   CXXFLAGS="$CXXFLAGS -fno-exceptions"
38715   { echo "$as_me:$LINENO: checking for LFS support" >&5
38716 echo $ECHO_N "checking for LFS support... $ECHO_C" >&6; }
38717   if test "${glibcxx_cv_LFS+set}" = set; then
38718   echo $ECHO_N "(cached) $ECHO_C" >&6
38719 else
38720
38721     if test x$gcc_no_link = xyes; then
38722   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38723 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38724    { (exit 1); exit 1; }; }
38725 fi
38726 cat >conftest.$ac_ext <<_ACEOF
38727 /* confdefs.h.  */
38728 _ACEOF
38729 cat confdefs.h >>conftest.$ac_ext
38730 cat >>conftest.$ac_ext <<_ACEOF
38731 /* end confdefs.h.  */
38732 #include <unistd.h>
38733        #include <stdio.h>
38734        #include <sys/stat.h>
38735
38736 int
38737 main ()
38738 {
38739 FILE* fp;
38740        fopen64("t", "w");
38741        fseeko64(fp, 0, SEEK_CUR);
38742        ftello64(fp);
38743        lseek64(1, 0, SEEK_CUR);
38744        struct stat64 buf;
38745        fstat64(1, &buf);
38746   ;
38747   return 0;
38748 }
38749 _ACEOF
38750 rm -f conftest.$ac_objext conftest$ac_exeext
38751 if { (ac_try="$ac_link"
38752 case "(($ac_try" in
38753   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38754   *) ac_try_echo=$ac_try;;
38755 esac
38756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38757   (eval "$ac_link") 2>conftest.er1
38758   ac_status=$?
38759   grep -v '^ *+' conftest.er1 >conftest.err
38760   rm -f conftest.er1
38761   cat conftest.err >&5
38762   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38763   (exit $ac_status); } && {
38764          test -z "$ac_cxx_werror_flag" ||
38765          test ! -s conftest.err
38766        } && test -s conftest$ac_exeext &&
38767        $as_test_x conftest$ac_exeext; then
38768   glibcxx_cv_LFS=yes
38769 else
38770   echo "$as_me: failed program was:" >&5
38771 sed 's/^/| /' conftest.$ac_ext >&5
38772
38773         glibcxx_cv_LFS=no
38774 fi
38775
38776 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38777       conftest$ac_exeext conftest.$ac_ext
38778
38779 fi
38780
38781   if test $glibcxx_cv_LFS = yes; then
38782
38783 cat >>confdefs.h <<\_ACEOF
38784 #define _GLIBCXX_USE_LFS 1
38785 _ACEOF
38786
38787   fi
38788   { echo "$as_me:$LINENO: result: $glibcxx_cv_LFS" >&5
38789 echo "${ECHO_T}$glibcxx_cv_LFS" >&6; }
38790   CXXFLAGS="$ac_save_CXXFLAGS"
38791   ac_ext=c
38792 ac_cpp='$CPP $CPPFLAGS'
38793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38796
38797
38798
38799   # For C99 support to TR1.
38800
38801
38802
38803   ac_ext=cpp
38804 ac_cpp='$CXXCPP $CPPFLAGS'
38805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38808
38809
38810   # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
38811   # undefined and fake C99 facilities may be spuriously enabled.
38812   ac_save_CXXFLAGS="$CXXFLAGS"
38813   CXXFLAGS="$CXXFLAGS -std=c++98"
38814
38815   # Check for the existence of <complex.h> complex math functions used
38816   # by tr1/complex.
38817
38818 for ac_header in complex.h
38819 do
38820 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38821 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
38822   { echo "$as_me:$LINENO: checking for $ac_header" >&5
38823 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
38824 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
38825   echo $ECHO_N "(cached) $ECHO_C" >&6
38826 fi
38827 ac_res=`eval echo '${'$as_ac_Header'}'`
38828                { echo "$as_me:$LINENO: result: $ac_res" >&5
38829 echo "${ECHO_T}$ac_res" >&6; }
38830 else
38831   # Is the header compilable?
38832 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
38833 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
38834 cat >conftest.$ac_ext <<_ACEOF
38835 /* confdefs.h.  */
38836 _ACEOF
38837 cat confdefs.h >>conftest.$ac_ext
38838 cat >>conftest.$ac_ext <<_ACEOF
38839 /* end confdefs.h.  */
38840 $ac_includes_default
38841 #include <$ac_header>
38842 _ACEOF
38843 rm -f conftest.$ac_objext
38844 if { (ac_try="$ac_compile"
38845 case "(($ac_try" in
38846   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38847   *) ac_try_echo=$ac_try;;
38848 esac
38849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38850   (eval "$ac_compile") 2>conftest.er1
38851   ac_status=$?
38852   grep -v '^ *+' conftest.er1 >conftest.err
38853   rm -f conftest.er1
38854   cat conftest.err >&5
38855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38856   (exit $ac_status); } && {
38857          test -z "$ac_cxx_werror_flag" ||
38858          test ! -s conftest.err
38859        } && test -s conftest.$ac_objext; then
38860   ac_header_compiler=yes
38861 else
38862   echo "$as_me: failed program was:" >&5
38863 sed 's/^/| /' conftest.$ac_ext >&5
38864
38865         ac_header_compiler=no
38866 fi
38867
38868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38869 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
38870 echo "${ECHO_T}$ac_header_compiler" >&6; }
38871
38872 # Is the header present?
38873 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
38874 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
38875 cat >conftest.$ac_ext <<_ACEOF
38876 /* confdefs.h.  */
38877 _ACEOF
38878 cat confdefs.h >>conftest.$ac_ext
38879 cat >>conftest.$ac_ext <<_ACEOF
38880 /* end confdefs.h.  */
38881 #include <$ac_header>
38882 _ACEOF
38883 if { (ac_try="$ac_cpp conftest.$ac_ext"
38884 case "(($ac_try" in
38885   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38886   *) ac_try_echo=$ac_try;;
38887 esac
38888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38889   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
38890   ac_status=$?
38891   grep -v '^ *+' conftest.er1 >conftest.err
38892   rm -f conftest.er1
38893   cat conftest.err >&5
38894   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38895   (exit $ac_status); } >/dev/null && {
38896          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
38897          test ! -s conftest.err
38898        }; then
38899   ac_header_preproc=yes
38900 else
38901   echo "$as_me: failed program was:" >&5
38902 sed 's/^/| /' conftest.$ac_ext >&5
38903
38904   ac_header_preproc=no
38905 fi
38906
38907 rm -f conftest.err conftest.$ac_ext
38908 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38909 echo "${ECHO_T}$ac_header_preproc" >&6; }
38910
38911 # So?  What about this header?
38912 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
38913   yes:no: )
38914     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
38915 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
38916     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
38917 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
38918     ac_header_preproc=yes
38919     ;;
38920   no:yes:* )
38921     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
38922 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
38923     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
38924 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
38925     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
38926 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
38927     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
38928 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
38929     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
38930 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
38931     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
38932 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
38933
38934     ;;
38935 esac
38936 { echo "$as_me:$LINENO: checking for $ac_header" >&5
38937 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
38938 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
38939   echo $ECHO_N "(cached) $ECHO_C" >&6
38940 else
38941   eval "$as_ac_Header=\$ac_header_preproc"
38942 fi
38943 ac_res=`eval echo '${'$as_ac_Header'}'`
38944                { echo "$as_me:$LINENO: result: $ac_res" >&5
38945 echo "${ECHO_T}$ac_res" >&6; }
38946
38947 fi
38948 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38949   cat >>confdefs.h <<_ACEOF
38950 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38951 _ACEOF
38952  ac_has_complex_h=yes
38953 else
38954   ac_has_complex_h=no
38955 fi
38956
38957 done
38958
38959   ac_c99_complex_tr1=no;
38960   if test x"$ac_has_complex_h" = x"yes"; then
38961     { echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <complex.h>" >&5
38962 echo $ECHO_N "checking for ISO C99 support to TR1 in <complex.h>... $ECHO_C" >&6; }
38963     cat >conftest.$ac_ext <<_ACEOF
38964 /* confdefs.h.  */
38965 _ACEOF
38966 cat confdefs.h >>conftest.$ac_ext
38967 cat >>conftest.$ac_ext <<_ACEOF
38968 /* end confdefs.h.  */
38969 #include <complex.h>
38970 int
38971 main ()
38972 {
38973 typedef __complex__ float float_type; float_type tmpf;
38974                     cacosf(tmpf);
38975                     casinf(tmpf);
38976                     catanf(tmpf);
38977                     cacoshf(tmpf);
38978                     casinhf(tmpf);
38979                     catanhf(tmpf);
38980                     typedef __complex__ double double_type; double_type tmpd;
38981                     cacos(tmpd);
38982                     casin(tmpd);
38983                     catan(tmpd);
38984                     cacosh(tmpd);
38985                     casinh(tmpd);
38986                     catanh(tmpd);
38987                     typedef __complex__ long double ld_type; ld_type tmpld;
38988                     cacosl(tmpld);
38989                     casinl(tmpld);
38990                     catanl(tmpld);
38991                     cacoshl(tmpld);
38992                     casinhl(tmpld);
38993                     catanhl(tmpld);
38994
38995   ;
38996   return 0;
38997 }
38998 _ACEOF
38999 rm -f conftest.$ac_objext
39000 if { (ac_try="$ac_compile"
39001 case "(($ac_try" in
39002   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39003   *) ac_try_echo=$ac_try;;
39004 esac
39005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39006   (eval "$ac_compile") 2>conftest.er1
39007   ac_status=$?
39008   grep -v '^ *+' conftest.er1 >conftest.err
39009   rm -f conftest.er1
39010   cat conftest.err >&5
39011   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39012   (exit $ac_status); } && {
39013          test -z "$ac_cxx_werror_flag" ||
39014          test ! -s conftest.err
39015        } && test -s conftest.$ac_objext; then
39016   ac_c99_complex_tr1=yes
39017 else
39018   echo "$as_me: failed program was:" >&5
39019 sed 's/^/| /' conftest.$ac_ext >&5
39020
39021         ac_c99_complex_tr1=no
39022 fi
39023
39024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39025   fi
39026   { echo "$as_me:$LINENO: result: $ac_c99_complex_tr1" >&5
39027 echo "${ECHO_T}$ac_c99_complex_tr1" >&6; }
39028   if test x"$ac_c99_complex_tr1" = x"yes"; then
39029
39030 cat >>confdefs.h <<\_ACEOF
39031 #define _GLIBCXX_USE_C99_COMPLEX_TR1 1
39032 _ACEOF
39033
39034   fi
39035
39036   # Check for the existence of <ctype.h> functions.
39037   { echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <ctype.h>" >&5
39038 echo $ECHO_N "checking for ISO C99 support to TR1 in <ctype.h>... $ECHO_C" >&6; }
39039   if test "${ac_c99_ctype_tr1+set}" = set; then
39040   echo $ECHO_N "(cached) $ECHO_C" >&6
39041 else
39042
39043   cat >conftest.$ac_ext <<_ACEOF
39044 /* confdefs.h.  */
39045 _ACEOF
39046 cat confdefs.h >>conftest.$ac_ext
39047 cat >>conftest.$ac_ext <<_ACEOF
39048 /* end confdefs.h.  */
39049 #include <ctype.h>
39050 int
39051 main ()
39052 {
39053 int ch;
39054                   int ret;
39055                   ret = isblank(ch);
39056
39057   ;
39058   return 0;
39059 }
39060 _ACEOF
39061 rm -f conftest.$ac_objext
39062 if { (ac_try="$ac_compile"
39063 case "(($ac_try" in
39064   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39065   *) ac_try_echo=$ac_try;;
39066 esac
39067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39068   (eval "$ac_compile") 2>conftest.er1
39069   ac_status=$?
39070   grep -v '^ *+' conftest.er1 >conftest.err
39071   rm -f conftest.er1
39072   cat conftest.err >&5
39073   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39074   (exit $ac_status); } && {
39075          test -z "$ac_cxx_werror_flag" ||
39076          test ! -s conftest.err
39077        } && test -s conftest.$ac_objext; then
39078   ac_c99_ctype_tr1=yes
39079 else
39080   echo "$as_me: failed program was:" >&5
39081 sed 's/^/| /' conftest.$ac_ext >&5
39082
39083         ac_c99_ctype_tr1=no
39084 fi
39085
39086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39087
39088 fi
39089
39090   { echo "$as_me:$LINENO: result: $ac_c99_ctype_tr1" >&5
39091 echo "${ECHO_T}$ac_c99_ctype_tr1" >&6; }
39092   if test x"$ac_c99_ctype_tr1" = x"yes"; then
39093
39094 cat >>confdefs.h <<\_ACEOF
39095 #define _GLIBCXX_USE_C99_CTYPE_TR1 1
39096 _ACEOF
39097
39098   fi
39099
39100   # Check for the existence of <fenv.h> functions.
39101
39102 for ac_header in fenv.h
39103 do
39104 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39105 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
39106   { echo "$as_me:$LINENO: checking for $ac_header" >&5
39107 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
39108 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
39109   echo $ECHO_N "(cached) $ECHO_C" >&6
39110 fi
39111 ac_res=`eval echo '${'$as_ac_Header'}'`
39112                { echo "$as_me:$LINENO: result: $ac_res" >&5
39113 echo "${ECHO_T}$ac_res" >&6; }
39114 else
39115   # Is the header compilable?
39116 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
39117 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
39118 cat >conftest.$ac_ext <<_ACEOF
39119 /* confdefs.h.  */
39120 _ACEOF
39121 cat confdefs.h >>conftest.$ac_ext
39122 cat >>conftest.$ac_ext <<_ACEOF
39123 /* end confdefs.h.  */
39124 $ac_includes_default
39125 #include <$ac_header>
39126 _ACEOF
39127 rm -f conftest.$ac_objext
39128 if { (ac_try="$ac_compile"
39129 case "(($ac_try" in
39130   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39131   *) ac_try_echo=$ac_try;;
39132 esac
39133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39134   (eval "$ac_compile") 2>conftest.er1
39135   ac_status=$?
39136   grep -v '^ *+' conftest.er1 >conftest.err
39137   rm -f conftest.er1
39138   cat conftest.err >&5
39139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39140   (exit $ac_status); } && {
39141          test -z "$ac_cxx_werror_flag" ||
39142          test ! -s conftest.err
39143        } && test -s conftest.$ac_objext; then
39144   ac_header_compiler=yes
39145 else
39146   echo "$as_me: failed program was:" >&5
39147 sed 's/^/| /' conftest.$ac_ext >&5
39148
39149         ac_header_compiler=no
39150 fi
39151
39152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39153 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39154 echo "${ECHO_T}$ac_header_compiler" >&6; }
39155
39156 # Is the header present?
39157 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
39158 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
39159 cat >conftest.$ac_ext <<_ACEOF
39160 /* confdefs.h.  */
39161 _ACEOF
39162 cat confdefs.h >>conftest.$ac_ext
39163 cat >>conftest.$ac_ext <<_ACEOF
39164 /* end confdefs.h.  */
39165 #include <$ac_header>
39166 _ACEOF
39167 if { (ac_try="$ac_cpp conftest.$ac_ext"
39168 case "(($ac_try" in
39169   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39170   *) ac_try_echo=$ac_try;;
39171 esac
39172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39173   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
39174   ac_status=$?
39175   grep -v '^ *+' conftest.er1 >conftest.err
39176   rm -f conftest.er1
39177   cat conftest.err >&5
39178   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39179   (exit $ac_status); } >/dev/null && {
39180          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
39181          test ! -s conftest.err
39182        }; then
39183   ac_header_preproc=yes
39184 else
39185   echo "$as_me: failed program was:" >&5
39186 sed 's/^/| /' conftest.$ac_ext >&5
39187
39188   ac_header_preproc=no
39189 fi
39190
39191 rm -f conftest.err conftest.$ac_ext
39192 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39193 echo "${ECHO_T}$ac_header_preproc" >&6; }
39194
39195 # So?  What about this header?
39196 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
39197   yes:no: )
39198     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39199 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39200     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39201 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39202     ac_header_preproc=yes
39203     ;;
39204   no:yes:* )
39205     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39206 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39207     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
39208 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
39209     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39210 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39211     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
39212 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
39213     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39214 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39215     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39216 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39217
39218     ;;
39219 esac
39220 { echo "$as_me:$LINENO: checking for $ac_header" >&5
39221 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
39222 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
39223   echo $ECHO_N "(cached) $ECHO_C" >&6
39224 else
39225   eval "$as_ac_Header=\$ac_header_preproc"
39226 fi
39227 ac_res=`eval echo '${'$as_ac_Header'}'`
39228                { echo "$as_me:$LINENO: result: $ac_res" >&5
39229 echo "${ECHO_T}$ac_res" >&6; }
39230
39231 fi
39232 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39233   cat >>confdefs.h <<_ACEOF
39234 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39235 _ACEOF
39236  ac_has_fenv_h=yes
39237 else
39238   ac_has_fenv_h=no
39239 fi
39240
39241 done
39242
39243   ac_c99_fenv_tr1=no;
39244   if test x"$ac_has_fenv_h" = x"yes"; then
39245     { echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <fenv.h>" >&5
39246 echo $ECHO_N "checking for ISO C99 support to TR1 in <fenv.h>... $ECHO_C" >&6; }
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 <fenv.h>
39254 int
39255 main ()
39256 {
39257 int except, mode;
39258                     fexcept_t* pflag;
39259                     fenv_t* penv;
39260                     int ret;
39261                     ret = feclearexcept(except);
39262                     ret = fegetexceptflag(pflag, except);
39263                     ret = feraiseexcept(except);
39264                     ret = fesetexceptflag(pflag, except);
39265                     ret = fetestexcept(except);
39266                     ret = fegetround();
39267                     ret = fesetround(mode);
39268                     ret = fegetenv(penv);
39269                     ret = feholdexcept(penv);
39270                     ret = fesetenv(penv);
39271                     ret = feupdateenv(penv);
39272
39273   ;
39274   return 0;
39275 }
39276 _ACEOF
39277 rm -f conftest.$ac_objext
39278 if { (ac_try="$ac_compile"
39279 case "(($ac_try" in
39280   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39281   *) ac_try_echo=$ac_try;;
39282 esac
39283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39284   (eval "$ac_compile") 2>conftest.er1
39285   ac_status=$?
39286   grep -v '^ *+' conftest.er1 >conftest.err
39287   rm -f conftest.er1
39288   cat conftest.err >&5
39289   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39290   (exit $ac_status); } && {
39291          test -z "$ac_cxx_werror_flag" ||
39292          test ! -s conftest.err
39293        } && test -s conftest.$ac_objext; then
39294   ac_c99_fenv_tr1=yes
39295 else
39296   echo "$as_me: failed program was:" >&5
39297 sed 's/^/| /' conftest.$ac_ext >&5
39298
39299         ac_c99_fenv_tr1=no
39300 fi
39301
39302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39303   fi
39304   { echo "$as_me:$LINENO: result: $ac_c99_fenv_tr1" >&5
39305 echo "${ECHO_T}$ac_c99_fenv_tr1" >&6; }
39306   if test x"$ac_c99_fenv_tr1" = x"yes"; then
39307
39308 cat >>confdefs.h <<\_ACEOF
39309 #define _GLIBCXX_USE_C99_FENV_TR1 1
39310 _ACEOF
39311
39312   fi
39313
39314   # Check for the existence of <stdint.h> types.
39315   { echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <stdint.h>" >&5
39316 echo $ECHO_N "checking for ISO C99 support to TR1 in <stdint.h>... $ECHO_C" >&6; }
39317   if test "${ac_c99_stdint_tr1+set}" = set; then
39318   echo $ECHO_N "(cached) $ECHO_C" >&6
39319 else
39320
39321   cat >conftest.$ac_ext <<_ACEOF
39322 /* confdefs.h.  */
39323 _ACEOF
39324 cat confdefs.h >>conftest.$ac_ext
39325 cat >>conftest.$ac_ext <<_ACEOF
39326 /* end confdefs.h.  */
39327 #include <stdint.h>
39328 int
39329 main ()
39330 {
39331 typedef int8_t          my_int8_t;
39332                   typedef int16_t         my_int16_t;
39333                   typedef int32_t         my_int32_t;
39334                   typedef int64_t         my_int64_t;
39335                   typedef int_fast8_t     my_int_fast8_t;
39336                   typedef int_fast16_t    my_int_fast16_t;
39337                   typedef int_fast32_t    my_int_fast32_t;
39338                   typedef int_fast64_t    my_int_fast64_t;
39339                   typedef int_least8_t    my_int_least8_t;
39340                   typedef int_least16_t   my_int_least16_t;
39341                   typedef int_least32_t   my_int_least32_t;
39342                   typedef int_least64_t   my_int_least64_t;
39343                   typedef intmax_t        my_intmax_t;
39344                   typedef intptr_t        my_intptr_t;
39345                   typedef uint8_t         my_uint8_t;
39346                   typedef uint16_t        my_uint16_t;
39347                   typedef uint32_t        my_uint32_t;
39348                   typedef uint64_t        my_uint64_t;
39349                   typedef uint_fast8_t    my_uint_fast8_t;
39350                   typedef uint_fast16_t   my_uint_fast16_t;
39351                   typedef uint_fast32_t   my_uint_fast32_t;
39352                   typedef uint_fast64_t   my_uint_fast64_t;
39353                   typedef uint_least8_t   my_uint_least8_t;
39354                   typedef uint_least16_t  my_uint_least16_t;
39355                   typedef uint_least32_t  my_uint_least32_t;
39356                   typedef uint_least64_t  my_uint_least64_t;
39357                   typedef uintmax_t       my_uintmax_t;
39358                   typedef uintptr_t       my_uintptr_t;
39359
39360   ;
39361   return 0;
39362 }
39363 _ACEOF
39364 rm -f conftest.$ac_objext
39365 if { (ac_try="$ac_compile"
39366 case "(($ac_try" in
39367   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39368   *) ac_try_echo=$ac_try;;
39369 esac
39370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39371   (eval "$ac_compile") 2>conftest.er1
39372   ac_status=$?
39373   grep -v '^ *+' conftest.er1 >conftest.err
39374   rm -f conftest.er1
39375   cat conftest.err >&5
39376   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39377   (exit $ac_status); } && {
39378          test -z "$ac_cxx_werror_flag" ||
39379          test ! -s conftest.err
39380        } && test -s conftest.$ac_objext; then
39381   ac_c99_stdint_tr1=yes
39382 else
39383   echo "$as_me: failed program was:" >&5
39384 sed 's/^/| /' conftest.$ac_ext >&5
39385
39386         ac_c99_stdint_tr1=no
39387 fi
39388
39389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39390
39391 fi
39392
39393   { echo "$as_me:$LINENO: result: $ac_c99_stdint_tr1" >&5
39394 echo "${ECHO_T}$ac_c99_stdint_tr1" >&6; }
39395   if test x"$ac_c99_stdint_tr1" = x"yes"; then
39396
39397 cat >>confdefs.h <<\_ACEOF
39398 #define _GLIBCXX_USE_C99_STDINT_TR1 1
39399 _ACEOF
39400
39401   fi
39402
39403   # Check for the existence of <math.h> functions.
39404   { echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <math.h>" >&5
39405 echo $ECHO_N "checking for ISO C99 support to TR1 in <math.h>... $ECHO_C" >&6; }
39406   if test "${ac_c99_math_tr1+set}" = set; then
39407   echo $ECHO_N "(cached) $ECHO_C" >&6
39408 else
39409
39410   cat >conftest.$ac_ext <<_ACEOF
39411 /* confdefs.h.  */
39412 _ACEOF
39413 cat confdefs.h >>conftest.$ac_ext
39414 cat >>conftest.$ac_ext <<_ACEOF
39415 /* end confdefs.h.  */
39416 #include <math.h>
39417 int
39418 main ()
39419 {
39420 typedef double_t  my_double_t;
39421                   typedef float_t   my_float_t;
39422                   acosh(0.0);
39423                   acoshf(0.0f);
39424                   acoshl(0.0l);
39425                   asinh(0.0);
39426                   asinhf(0.0f);
39427                   asinhl(0.0l);
39428                   atanh(0.0);
39429                   atanhf(0.0f);
39430                   atanhl(0.0l);
39431                   cbrt(0.0);
39432                   cbrtf(0.0f);
39433                   cbrtl(0.0l);
39434                   copysign(0.0, 0.0);
39435                   copysignf(0.0f, 0.0f);
39436                   copysignl(0.0l, 0.0l);
39437                   erf(0.0);
39438                   erff(0.0f);
39439                   erfl(0.0l);
39440                   erfc(0.0);
39441                   erfcf(0.0f);
39442                   erfcl(0.0l);
39443                   exp2(0.0);
39444                   exp2f(0.0f);
39445                   exp2l(0.0l);
39446                   expm1(0.0);
39447                   expm1f(0.0f);
39448                   expm1l(0.0l);
39449                   fdim(0.0, 0.0);
39450                   fdimf(0.0f, 0.0f);
39451                   fdiml(0.0l, 0.0l);
39452                   fma(0.0, 0.0, 0.0);
39453                   fmaf(0.0f, 0.0f, 0.0f);
39454                   fmal(0.0l, 0.0l, 0.0l);
39455                   fmax(0.0, 0.0);
39456                   fmaxf(0.0f, 0.0f);
39457                   fmaxl(0.0l, 0.0l);
39458                   fmin(0.0, 0.0);
39459                   fminf(0.0f, 0.0f);
39460                   fminl(0.0l, 0.0l);
39461                   hypot(0.0, 0.0);
39462                   hypotf(0.0f, 0.0f);
39463                   hypotl(0.0l, 0.0l);
39464                   ilogb(0.0);
39465                   ilogbf(0.0f);
39466                   ilogbl(0.0l);
39467                   lgamma(0.0);
39468                   lgammaf(0.0f);
39469                   lgammal(0.0l);
39470                   llrint(0.0);
39471                   llrintf(0.0f);
39472                   llrintl(0.0l);
39473                   llround(0.0);
39474                   llroundf(0.0f);
39475                   llroundl(0.0l);
39476                   log1p(0.0);
39477                   log1pf(0.0f);
39478                   log1pl(0.0l);
39479                   log2(0.0);
39480                   log2f(0.0f);
39481                   log2l(0.0l);
39482                   logb(0.0);
39483                   logbf(0.0f);
39484                   logbl(0.0l);
39485                   lrint(0.0);
39486                   lrintf(0.0f);
39487                   lrintl(0.0l);
39488                   lround(0.0);
39489                   lroundf(0.0f);
39490                   lroundl(0.0l);
39491                   nan(0);
39492                   nanf(0);
39493                   nanl(0);
39494                   nearbyint(0.0);
39495                   nearbyintf(0.0f);
39496                   nearbyintl(0.0l);
39497                   nextafter(0.0, 0.0);
39498                   nextafterf(0.0f, 0.0f);
39499                   nextafterl(0.0l, 0.0l);
39500                   nexttoward(0.0, 0.0);
39501                   nexttowardf(0.0f, 0.0f);
39502                   nexttowardl(0.0l, 0.0l);
39503                   remainder(0.0, 0.0);
39504                   remainderf(0.0f, 0.0f);
39505                   remainderl(0.0l, 0.0l);
39506                   remquo(0.0, 0.0, 0);
39507                   remquo(0.0f, 0.0f, 0);
39508                   remquo(0.0l, 0.0l, 0);
39509                   rint(0.0);
39510                   rintf(0.0f);
39511                   rintl(0.0l);
39512                   round(0.0);
39513                   roundf(0.0f);
39514                   roundl(0.0l);
39515                   scalbln(0.0, 0l);
39516                   scalblnf(0.0f, 0l);
39517                   scalblnl(0.0l, 0l);
39518                   scalbn(0.0, 0);
39519                   scalbnf(0.0f, 0);
39520                   scalbnl(0.0l, 0);
39521                   tgamma(0.0);
39522                   tgammaf(0.0f);
39523                   tgammal(0.0l);
39524                   trunc(0.0);
39525                   truncf(0.0f);
39526                   truncl(0.0l);
39527
39528   ;
39529   return 0;
39530 }
39531 _ACEOF
39532 rm -f conftest.$ac_objext
39533 if { (ac_try="$ac_compile"
39534 case "(($ac_try" in
39535   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39536   *) ac_try_echo=$ac_try;;
39537 esac
39538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39539   (eval "$ac_compile") 2>conftest.er1
39540   ac_status=$?
39541   grep -v '^ *+' conftest.er1 >conftest.err
39542   rm -f conftest.er1
39543   cat conftest.err >&5
39544   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39545   (exit $ac_status); } && {
39546          test -z "$ac_cxx_werror_flag" ||
39547          test ! -s conftest.err
39548        } && test -s conftest.$ac_objext; then
39549   ac_c99_math_tr1=yes
39550 else
39551   echo "$as_me: failed program was:" >&5
39552 sed 's/^/| /' conftest.$ac_ext >&5
39553
39554         ac_c99_math_tr1=no
39555 fi
39556
39557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39558
39559 fi
39560
39561   { echo "$as_me:$LINENO: result: $ac_c99_math_tr1" >&5
39562 echo "${ECHO_T}$ac_c99_math_tr1" >&6; }
39563   if test x"$ac_c99_math_tr1" = x"yes"; then
39564
39565 cat >>confdefs.h <<\_ACEOF
39566 #define _GLIBCXX_USE_C99_MATH_TR1 1
39567 _ACEOF
39568
39569   fi
39570
39571   # Check for the existence of <inttypes.h> functions (NB: doesn't make
39572   # sense if the previous check fails, per C99, 7.8/1).
39573   ac_c99_inttypes_tr1=no;
39574   if test x"$ac_c99_stdint_tr1" = x"yes"; then
39575     { echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
39576 echo $ECHO_N "checking for ISO C99 support to TR1 in <inttypes.h>... $ECHO_C" >&6; }
39577     cat >conftest.$ac_ext <<_ACEOF
39578 /* confdefs.h.  */
39579 _ACEOF
39580 cat confdefs.h >>conftest.$ac_ext
39581 cat >>conftest.$ac_ext <<_ACEOF
39582 /* end confdefs.h.  */
39583 #include <inttypes.h>
39584 int
39585 main ()
39586 {
39587 intmax_t i, numer, denom, base;
39588                     const char* s;
39589                     char** endptr;
39590                     intmax_t ret = imaxabs(i);
39591                     imaxdiv_t dret = imaxdiv(numer, denom);
39592                     ret = strtoimax(s, endptr, base);
39593                     uintmax_t uret = strtoumax(s, endptr, base);
39594
39595   ;
39596   return 0;
39597 }
39598 _ACEOF
39599 rm -f conftest.$ac_objext
39600 if { (ac_try="$ac_compile"
39601 case "(($ac_try" in
39602   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39603   *) ac_try_echo=$ac_try;;
39604 esac
39605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39606   (eval "$ac_compile") 2>conftest.er1
39607   ac_status=$?
39608   grep -v '^ *+' conftest.er1 >conftest.err
39609   rm -f conftest.er1
39610   cat conftest.err >&5
39611   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39612   (exit $ac_status); } && {
39613          test -z "$ac_cxx_werror_flag" ||
39614          test ! -s conftest.err
39615        } && test -s conftest.$ac_objext; then
39616   ac_c99_inttypes_tr1=yes
39617 else
39618   echo "$as_me: failed program was:" >&5
39619 sed 's/^/| /' conftest.$ac_ext >&5
39620
39621         ac_c99_inttypes_tr1=no
39622 fi
39623
39624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39625   fi
39626   { echo "$as_me:$LINENO: result: $ac_c99_inttypes_tr1" >&5
39627 echo "${ECHO_T}$ac_c99_inttypes_tr1" >&6; }
39628   if test x"$ac_c99_inttypes_tr1" = x"yes"; then
39629
39630 cat >>confdefs.h <<\_ACEOF
39631 #define _GLIBCXX_USE_C99_INTTYPES_TR1 1
39632 _ACEOF
39633
39634   fi
39635
39636   # Check for the existence of the <stdbool.h> header.
39637
39638 for ac_header in stdbool.h
39639 do
39640 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39641 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
39642   { echo "$as_me:$LINENO: checking for $ac_header" >&5
39643 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
39644 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
39645   echo $ECHO_N "(cached) $ECHO_C" >&6
39646 fi
39647 ac_res=`eval echo '${'$as_ac_Header'}'`
39648                { echo "$as_me:$LINENO: result: $ac_res" >&5
39649 echo "${ECHO_T}$ac_res" >&6; }
39650 else
39651   # Is the header compilable?
39652 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
39653 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
39654 cat >conftest.$ac_ext <<_ACEOF
39655 /* confdefs.h.  */
39656 _ACEOF
39657 cat confdefs.h >>conftest.$ac_ext
39658 cat >>conftest.$ac_ext <<_ACEOF
39659 /* end confdefs.h.  */
39660 $ac_includes_default
39661 #include <$ac_header>
39662 _ACEOF
39663 rm -f conftest.$ac_objext
39664 if { (ac_try="$ac_compile"
39665 case "(($ac_try" in
39666   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39667   *) ac_try_echo=$ac_try;;
39668 esac
39669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39670   (eval "$ac_compile") 2>conftest.er1
39671   ac_status=$?
39672   grep -v '^ *+' conftest.er1 >conftest.err
39673   rm -f conftest.er1
39674   cat conftest.err >&5
39675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39676   (exit $ac_status); } && {
39677          test -z "$ac_cxx_werror_flag" ||
39678          test ! -s conftest.err
39679        } && test -s conftest.$ac_objext; then
39680   ac_header_compiler=yes
39681 else
39682   echo "$as_me: failed program was:" >&5
39683 sed 's/^/| /' conftest.$ac_ext >&5
39684
39685         ac_header_compiler=no
39686 fi
39687
39688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39689 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39690 echo "${ECHO_T}$ac_header_compiler" >&6; }
39691
39692 # Is the header present?
39693 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
39694 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
39695 cat >conftest.$ac_ext <<_ACEOF
39696 /* confdefs.h.  */
39697 _ACEOF
39698 cat confdefs.h >>conftest.$ac_ext
39699 cat >>conftest.$ac_ext <<_ACEOF
39700 /* end confdefs.h.  */
39701 #include <$ac_header>
39702 _ACEOF
39703 if { (ac_try="$ac_cpp conftest.$ac_ext"
39704 case "(($ac_try" in
39705   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39706   *) ac_try_echo=$ac_try;;
39707 esac
39708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39709   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
39710   ac_status=$?
39711   grep -v '^ *+' conftest.er1 >conftest.err
39712   rm -f conftest.er1
39713   cat conftest.err >&5
39714   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39715   (exit $ac_status); } >/dev/null && {
39716          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
39717          test ! -s conftest.err
39718        }; then
39719   ac_header_preproc=yes
39720 else
39721   echo "$as_me: failed program was:" >&5
39722 sed 's/^/| /' conftest.$ac_ext >&5
39723
39724   ac_header_preproc=no
39725 fi
39726
39727 rm -f conftest.err conftest.$ac_ext
39728 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39729 echo "${ECHO_T}$ac_header_preproc" >&6; }
39730
39731 # So?  What about this header?
39732 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
39733   yes:no: )
39734     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39735 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39736     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39737 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39738     ac_header_preproc=yes
39739     ;;
39740   no:yes:* )
39741     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39742 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39743     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
39744 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
39745     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39746 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39747     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
39748 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
39749     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39750 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39751     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39752 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39753
39754     ;;
39755 esac
39756 { echo "$as_me:$LINENO: checking for $ac_header" >&5
39757 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
39758 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
39759   echo $ECHO_N "(cached) $ECHO_C" >&6
39760 else
39761   eval "$as_ac_Header=\$ac_header_preproc"
39762 fi
39763 ac_res=`eval echo '${'$as_ac_Header'}'`
39764                { echo "$as_me:$LINENO: result: $ac_res" >&5
39765 echo "${ECHO_T}$ac_res" >&6; }
39766
39767 fi
39768 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39769   cat >>confdefs.h <<_ACEOF
39770 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39771 _ACEOF
39772
39773 fi
39774
39775 done
39776
39777
39778   CXXFLAGS="$ac_save_CXXFLAGS"
39779   ac_ext=c
39780 ac_cpp='$CPP $CPPFLAGS'
39781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39784
39785
39786
39787   # For dev/random and dev/urandom for TR1.
39788
39789
39790   { echo "$as_me:$LINENO: checking for \"dev/random\" and \"dev/urandom\" for TR1 random_device" >&5
39791 echo $ECHO_N "checking for \"dev/random\" and \"dev/urandom\" for TR1 random_device... $ECHO_C" >&6; }
39792   if test "${ac_random_tr1+set}" = set; then
39793   echo $ECHO_N "(cached) $ECHO_C" >&6
39794 else
39795
39796   if test "$cross_compiling" = yes; then
39797   ac_random_tr1=no
39798 else
39799   cat >conftest.$ac_ext <<_ACEOF
39800 /* confdefs.h.  */
39801 _ACEOF
39802 cat confdefs.h >>conftest.$ac_ext
39803 cat >>conftest.$ac_ext <<_ACEOF
39804 /* end confdefs.h.  */
39805 #include <stdio.h>
39806               int main()
39807               {
39808                 return !(fopen("/dev/random", "r")
39809                          && fopen("/dev/urandom", "r"));
39810               }
39811
39812 _ACEOF
39813 rm -f conftest$ac_exeext
39814 if { (ac_try="$ac_link"
39815 case "(($ac_try" in
39816   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39817   *) ac_try_echo=$ac_try;;
39818 esac
39819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39820   (eval "$ac_link") 2>&5
39821   ac_status=$?
39822   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39823   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
39824   { (case "(($ac_try" in
39825   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39826   *) ac_try_echo=$ac_try;;
39827 esac
39828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39829   (eval "$ac_try") 2>&5
39830   ac_status=$?
39831   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39832   (exit $ac_status); }; }; then
39833   ac_random_tr1=yes
39834 else
39835   echo "$as_me: program exited with status $ac_status" >&5
39836 echo "$as_me: failed program was:" >&5
39837 sed 's/^/| /' conftest.$ac_ext >&5
39838
39839 ( exit $ac_status )
39840 ac_random_tr1=no
39841 fi
39842 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
39843 fi
39844
39845
39846
39847 fi
39848
39849   { echo "$as_me:$LINENO: result: $ac_random_tr1" >&5
39850 echo "${ECHO_T}$ac_random_tr1" >&6; }
39851   if test x"$ac_random_tr1" = x"yes"; then
39852
39853 cat >>confdefs.h <<\_ACEOF
39854 #define _GLIBCXX_USE_RANDOM_TR1 1
39855 _ACEOF
39856
39857   fi
39858
39859
39860
39861   # For TLS support.
39862
39863    # Check whether --enable-tls was given.
39864 if test "${enable_tls+set}" = set; then
39865   enableval=$enable_tls;
39866       case "$enableval" in
39867        yes|no) ;;
39868        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable tls must be yes or no" >&5
39869 echo "$as_me: error: Argument to enable/disable tls must be yes or no" >&2;}
39870    { (exit 1); exit 1; }; } ;;
39871       esac
39872
39873 else
39874   enable_tls=yes
39875 fi
39876
39877
39878   { echo "$as_me:$LINENO: checking whether the target supports thread-local storage" >&5
39879 echo $ECHO_N "checking whether the target supports thread-local storage... $ECHO_C" >&6; }
39880 if test "${gcc_cv_have_tls+set}" = set; then
39881   echo $ECHO_N "(cached) $ECHO_C" >&6
39882 else
39883
39884     if test "$cross_compiling" = yes; then
39885                 if test x$gcc_no_link = xyes; then
39886   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39887 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39888    { (exit 1); exit 1; }; }
39889 fi
39890 cat >conftest.$ac_ext <<_ACEOF
39891 __thread int a; int b; int main() { return a = b; }
39892 _ACEOF
39893 rm -f conftest.$ac_objext conftest$ac_exeext
39894 if { (ac_try="$ac_link"
39895 case "(($ac_try" in
39896   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39897   *) ac_try_echo=$ac_try;;
39898 esac
39899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39900   (eval "$ac_link") 2>conftest.er1
39901   ac_status=$?
39902   grep -v '^ *+' conftest.er1 >conftest.err
39903   rm -f conftest.er1
39904   cat conftest.err >&5
39905   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39906   (exit $ac_status); } && {
39907          test -z "$ac_c_werror_flag" ||
39908          test ! -s conftest.err
39909        } && test -s conftest$ac_exeext &&
39910        $as_test_x conftest$ac_exeext; then
39911   gcc_cv_have_tls=yes
39912 else
39913   echo "$as_me: failed program was:" >&5
39914 sed 's/^/| /' conftest.$ac_ext >&5
39915
39916         gcc_cv_have_tls=no
39917 fi
39918
39919 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39920       conftest$ac_exeext conftest.$ac_ext
39921
39922
39923 else
39924   cat >conftest.$ac_ext <<_ACEOF
39925 __thread int a; int b; int main() { return a = b; }
39926 _ACEOF
39927 rm -f conftest$ac_exeext
39928 if { (ac_try="$ac_link"
39929 case "(($ac_try" in
39930   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39931   *) ac_try_echo=$ac_try;;
39932 esac
39933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39934   (eval "$ac_link") 2>&5
39935   ac_status=$?
39936   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39937   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
39938   { (case "(($ac_try" in
39939   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39940   *) ac_try_echo=$ac_try;;
39941 esac
39942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39943   (eval "$ac_try") 2>&5
39944   ac_status=$?
39945   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39946   (exit $ac_status); }; }; then
39947                       chktls_save_LDFLAGS="$LDFLAGS"
39948       LDFLAGS="-static $LDFLAGS"
39949       if test x$gcc_no_link = xyes; then
39950   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39951 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39952    { (exit 1); exit 1; }; }
39953 fi
39954 cat >conftest.$ac_ext <<_ACEOF
39955 int main() { return 0; }
39956 _ACEOF
39957 rm -f conftest.$ac_objext conftest$ac_exeext
39958 if { (ac_try="$ac_link"
39959 case "(($ac_try" in
39960   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39961   *) ac_try_echo=$ac_try;;
39962 esac
39963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39964   (eval "$ac_link") 2>conftest.er1
39965   ac_status=$?
39966   grep -v '^ *+' conftest.er1 >conftest.err
39967   rm -f conftest.er1
39968   cat conftest.err >&5
39969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39970   (exit $ac_status); } && {
39971          test -z "$ac_c_werror_flag" ||
39972          test ! -s conftest.err
39973        } && test -s conftest$ac_exeext &&
39974        $as_test_x conftest$ac_exeext; then
39975   if test "$cross_compiling" = yes; then
39976   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
39977 See \`config.log' for more details." >&5
39978 echo "$as_me: error: cannot run test program while cross compiling
39979 See \`config.log' for more details." >&2;}
39980    { (exit 1); exit 1; }; }
39981 else
39982   cat >conftest.$ac_ext <<_ACEOF
39983 __thread int a; int b; int main() { return a = b; }
39984 _ACEOF
39985 rm -f conftest$ac_exeext
39986 if { (ac_try="$ac_link"
39987 case "(($ac_try" in
39988   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39989   *) ac_try_echo=$ac_try;;
39990 esac
39991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39992   (eval "$ac_link") 2>&5
39993   ac_status=$?
39994   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39995   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
39996   { (case "(($ac_try" in
39997   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39998   *) ac_try_echo=$ac_try;;
39999 esac
40000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40001   (eval "$ac_try") 2>&5
40002   ac_status=$?
40003   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40004   (exit $ac_status); }; }; then
40005   gcc_cv_have_tls=yes
40006 else
40007   echo "$as_me: program exited with status $ac_status" >&5
40008 echo "$as_me: failed program was:" >&5
40009 sed 's/^/| /' conftest.$ac_ext >&5
40010
40011 ( exit $ac_status )
40012 gcc_cv_have_tls=no
40013 fi
40014 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
40015 fi
40016
40017
40018 else
40019   echo "$as_me: failed program was:" >&5
40020 sed 's/^/| /' conftest.$ac_ext >&5
40021
40022         gcc_cv_have_tls=yes
40023 fi
40024
40025 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40026       conftest$ac_exeext conftest.$ac_ext
40027       LDFLAGS="$chktls_save_LDFLAGS"
40028       if test $gcc_cv_have_tls = yes; then
40029                                                 chktls_save_CFLAGS="$CFLAGS"
40030         thread_CFLAGS=failed
40031         for flag in '' '-pthread' '-lpthread'; do
40032           CFLAGS="$flag $chktls_save_CFLAGS"
40033           if test x$gcc_no_link = xyes; then
40034   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40035 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40036    { (exit 1); exit 1; }; }
40037 fi
40038 cat >conftest.$ac_ext <<_ACEOF
40039 /* confdefs.h.  */
40040 _ACEOF
40041 cat confdefs.h >>conftest.$ac_ext
40042 cat >>conftest.$ac_ext <<_ACEOF
40043 /* end confdefs.h.  */
40044 #include <pthread.h>
40045                 void *g(void *d) { return NULL; }
40046 int
40047 main ()
40048 {
40049 pthread_t t; pthread_create(&t,NULL,g,NULL);
40050   ;
40051   return 0;
40052 }
40053 _ACEOF
40054 rm -f conftest.$ac_objext conftest$ac_exeext
40055 if { (ac_try="$ac_link"
40056 case "(($ac_try" in
40057   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40058   *) ac_try_echo=$ac_try;;
40059 esac
40060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40061   (eval "$ac_link") 2>conftest.er1
40062   ac_status=$?
40063   grep -v '^ *+' conftest.er1 >conftest.err
40064   rm -f conftest.er1
40065   cat conftest.err >&5
40066   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40067   (exit $ac_status); } && {
40068          test -z "$ac_c_werror_flag" ||
40069          test ! -s conftest.err
40070        } && test -s conftest$ac_exeext &&
40071        $as_test_x conftest$ac_exeext; then
40072   thread_CFLAGS="$flag"
40073 else
40074   echo "$as_me: failed program was:" >&5
40075 sed 's/^/| /' conftest.$ac_ext >&5
40076
40077
40078 fi
40079
40080 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40081       conftest$ac_exeext conftest.$ac_ext
40082           if test "X$thread_CFLAGS" != Xfailed; then
40083             break
40084           fi
40085         done
40086         CFLAGS="$chktls_save_CFLAGS"
40087         if test "X$thread_CFLAGS" != Xfailed; then
40088           CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
40089           if test "$cross_compiling" = yes; then
40090   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
40091 See \`config.log' for more details." >&5
40092 echo "$as_me: error: cannot run test program while cross compiling
40093 See \`config.log' for more details." >&2;}
40094    { (exit 1); exit 1; }; }
40095 else
40096   cat >conftest.$ac_ext <<_ACEOF
40097 /* confdefs.h.  */
40098 _ACEOF
40099 cat confdefs.h >>conftest.$ac_ext
40100 cat >>conftest.$ac_ext <<_ACEOF
40101 /* end confdefs.h.  */
40102 #include <pthread.h>
40103                 __thread int a;
40104                 static int *a_in_other_thread;
40105                 static void *
40106                 thread_func (void *arg)
40107                 {
40108                   a_in_other_thread = &a;
40109                   return (void *)0;
40110                 }
40111 int
40112 main ()
40113 {
40114 pthread_t thread;
40115                 void *thread_retval;
40116                 int *a_in_main_thread;
40117                 if (pthread_create (&thread, (pthread_attr_t *)0,
40118                                     thread_func, (void *)0))
40119                   return 0;
40120                 a_in_main_thread = &a;
40121                 if (pthread_join (thread, &thread_retval))
40122                   return 0;
40123                 return (a_in_other_thread == a_in_main_thread);
40124   ;
40125   return 0;
40126 }
40127 _ACEOF
40128 rm -f conftest$ac_exeext
40129 if { (ac_try="$ac_link"
40130 case "(($ac_try" in
40131   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40132   *) ac_try_echo=$ac_try;;
40133 esac
40134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40135   (eval "$ac_link") 2>&5
40136   ac_status=$?
40137   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40138   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
40139   { (case "(($ac_try" in
40140   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40141   *) ac_try_echo=$ac_try;;
40142 esac
40143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40144   (eval "$ac_try") 2>&5
40145   ac_status=$?
40146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40147   (exit $ac_status); }; }; then
40148   gcc_cv_have_tls=yes
40149 else
40150   echo "$as_me: program exited with status $ac_status" >&5
40151 echo "$as_me: failed program was:" >&5
40152 sed 's/^/| /' conftest.$ac_ext >&5
40153
40154 ( exit $ac_status )
40155 gcc_cv_have_tls=no
40156 fi
40157 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
40158 fi
40159
40160
40161           CFLAGS="$chktls_save_CFLAGS"
40162         fi
40163       fi
40164 else
40165   echo "$as_me: program exited with status $ac_status" >&5
40166 echo "$as_me: failed program was:" >&5
40167 sed 's/^/| /' conftest.$ac_ext >&5
40168
40169 ( exit $ac_status )
40170 gcc_cv_have_tls=no
40171 fi
40172 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
40173 fi
40174
40175
40176 fi
40177 { echo "$as_me:$LINENO: result: $gcc_cv_have_tls" >&5
40178 echo "${ECHO_T}$gcc_cv_have_tls" >&6; }
40179   if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
40180
40181 cat >>confdefs.h <<\_ACEOF
40182 #define HAVE_TLS 1
40183 _ACEOF
40184
40185   fi
40186
40187   # For _Unwind_GetIPInfo.
40188
40189
40190   ac_ext=cpp
40191 ac_cpp='$CXXCPP $CPPFLAGS'
40192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40195
40196   ac_save_CXXFLAGS="$CXXFLAGS"
40197   CXXFLAGS="$CXXFLAGS -fno-exceptions"
40198   { echo "$as_me:$LINENO: checking for _Unwind_GetIPInfo" >&5
40199 echo $ECHO_N "checking for _Unwind_GetIPInfo... $ECHO_C" >&6; }
40200   if test "${gcc_cv_getipinfo+set}" = set; then
40201   echo $ECHO_N "(cached) $ECHO_C" >&6
40202 else
40203
40204   if test x$gcc_no_link = xyes; then
40205   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40206 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40207    { (exit 1); exit 1; }; }
40208 fi
40209 cat >conftest.$ac_ext <<_ACEOF
40210 /* confdefs.h.  */
40211 _ACEOF
40212 cat confdefs.h >>conftest.$ac_ext
40213 cat >>conftest.$ac_ext <<_ACEOF
40214 /* end confdefs.h.  */
40215 extern "C" { extern void _Unwind_GetIPInfo(); }
40216 int
40217 main ()
40218 {
40219 _Unwind_GetIPInfo();
40220   ;
40221   return 0;
40222 }
40223 _ACEOF
40224 rm -f conftest.$ac_objext conftest$ac_exeext
40225 if { (ac_try="$ac_link"
40226 case "(($ac_try" in
40227   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40228   *) ac_try_echo=$ac_try;;
40229 esac
40230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40231   (eval "$ac_link") 2>conftest.er1
40232   ac_status=$?
40233   grep -v '^ *+' conftest.er1 >conftest.err
40234   rm -f conftest.er1
40235   cat conftest.err >&5
40236   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40237   (exit $ac_status); } && {
40238          test -z "$ac_cxx_werror_flag" ||
40239          test ! -s conftest.err
40240        } && test -s conftest$ac_exeext &&
40241        $as_test_x conftest$ac_exeext; then
40242   gcc_cv_getipinfo=yes
40243 else
40244   echo "$as_me: failed program was:" >&5
40245 sed 's/^/| /' conftest.$ac_ext >&5
40246
40247         gcc_cv_getipinfo=no
40248 fi
40249
40250 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40251       conftest$ac_exeext conftest.$ac_ext
40252
40253 fi
40254
40255   if test $gcc_cv_getipinfo = yes; then
40256
40257 cat >>confdefs.h <<\_ACEOF
40258 #define HAVE_GETIPINFO 1
40259 _ACEOF
40260
40261   fi
40262   { echo "$as_me:$LINENO: result: $gcc_cv_getipinfo" >&5
40263 echo "${ECHO_T}$gcc_cv_getipinfo" >&6; }
40264   CXXFLAGS="$ac_save_CXXFLAGS"
40265   ac_ext=c
40266 ac_cpp='$CPP $CPPFLAGS'
40267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40270
40271
40272
40273
40274   if test "${ac_cv_header_locale_h+set}" = set; then
40275   { echo "$as_me:$LINENO: checking for locale.h" >&5
40276 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6; }
40277 if test "${ac_cv_header_locale_h+set}" = set; then
40278   echo $ECHO_N "(cached) $ECHO_C" >&6
40279 fi
40280 { echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
40281 echo "${ECHO_T}$ac_cv_header_locale_h" >&6; }
40282 else
40283   # Is the header compilable?
40284 { echo "$as_me:$LINENO: checking locale.h usability" >&5
40285 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6; }
40286 cat >conftest.$ac_ext <<_ACEOF
40287 /* confdefs.h.  */
40288 _ACEOF
40289 cat confdefs.h >>conftest.$ac_ext
40290 cat >>conftest.$ac_ext <<_ACEOF
40291 /* end confdefs.h.  */
40292 $ac_includes_default
40293 #include <locale.h>
40294 _ACEOF
40295 rm -f conftest.$ac_objext
40296 if { (ac_try="$ac_compile"
40297 case "(($ac_try" in
40298   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40299   *) ac_try_echo=$ac_try;;
40300 esac
40301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40302   (eval "$ac_compile") 2>conftest.er1
40303   ac_status=$?
40304   grep -v '^ *+' conftest.er1 >conftest.err
40305   rm -f conftest.er1
40306   cat conftest.err >&5
40307   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40308   (exit $ac_status); } && {
40309          test -z "$ac_c_werror_flag" ||
40310          test ! -s conftest.err
40311        } && test -s conftest.$ac_objext; then
40312   ac_header_compiler=yes
40313 else
40314   echo "$as_me: failed program was:" >&5
40315 sed 's/^/| /' conftest.$ac_ext >&5
40316
40317         ac_header_compiler=no
40318 fi
40319
40320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40321 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
40322 echo "${ECHO_T}$ac_header_compiler" >&6; }
40323
40324 # Is the header present?
40325 { echo "$as_me:$LINENO: checking locale.h presence" >&5
40326 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6; }
40327 cat >conftest.$ac_ext <<_ACEOF
40328 /* confdefs.h.  */
40329 _ACEOF
40330 cat confdefs.h >>conftest.$ac_ext
40331 cat >>conftest.$ac_ext <<_ACEOF
40332 /* end confdefs.h.  */
40333 #include <locale.h>
40334 _ACEOF
40335 if { (ac_try="$ac_cpp conftest.$ac_ext"
40336 case "(($ac_try" in
40337   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40338   *) ac_try_echo=$ac_try;;
40339 esac
40340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40341   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
40342   ac_status=$?
40343   grep -v '^ *+' conftest.er1 >conftest.err
40344   rm -f conftest.er1
40345   cat conftest.err >&5
40346   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40347   (exit $ac_status); } >/dev/null && {
40348          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
40349          test ! -s conftest.err
40350        }; then
40351   ac_header_preproc=yes
40352 else
40353   echo "$as_me: failed program was:" >&5
40354 sed 's/^/| /' conftest.$ac_ext >&5
40355
40356   ac_header_preproc=no
40357 fi
40358
40359 rm -f conftest.err conftest.$ac_ext
40360 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
40361 echo "${ECHO_T}$ac_header_preproc" >&6; }
40362
40363 # So?  What about this header?
40364 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
40365   yes:no: )
40366     { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
40367 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
40368     { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the compiler's result" >&5
40369 echo "$as_me: WARNING: locale.h: proceeding with the compiler's result" >&2;}
40370     ac_header_preproc=yes
40371     ;;
40372   no:yes:* )
40373     { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
40374 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
40375     { echo "$as_me:$LINENO: WARNING: locale.h:     check for missing prerequisite headers?" >&5
40376 echo "$as_me: WARNING: locale.h:     check for missing prerequisite headers?" >&2;}
40377     { echo "$as_me:$LINENO: WARNING: locale.h: see the Autoconf documentation" >&5
40378 echo "$as_me: WARNING: locale.h: see the Autoconf documentation" >&2;}
40379     { echo "$as_me:$LINENO: WARNING: locale.h:     section \"Present But Cannot Be Compiled\"" >&5
40380 echo "$as_me: WARNING: locale.h:     section \"Present But Cannot Be Compiled\"" >&2;}
40381     { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
40382 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
40383     { echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5
40384 echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;}
40385
40386     ;;
40387 esac
40388 { echo "$as_me:$LINENO: checking for locale.h" >&5
40389 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6; }
40390 if test "${ac_cv_header_locale_h+set}" = set; then
40391   echo $ECHO_N "(cached) $ECHO_C" >&6
40392 else
40393   ac_cv_header_locale_h=$ac_header_preproc
40394 fi
40395 { echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
40396 echo "${ECHO_T}$ac_cv_header_locale_h" >&6; }
40397
40398 fi
40399 if test $ac_cv_header_locale_h = yes; then
40400
40401     { echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
40402 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6; }
40403 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then
40404   echo $ECHO_N "(cached) $ECHO_C" >&6
40405 else
40406   if test x$gcc_no_link = xyes; then
40407   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40408 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40409    { (exit 1); exit 1; }; }
40410 fi
40411 cat >conftest.$ac_ext <<_ACEOF
40412 /* confdefs.h.  */
40413 _ACEOF
40414 cat confdefs.h >>conftest.$ac_ext
40415 cat >>conftest.$ac_ext <<_ACEOF
40416 /* end confdefs.h.  */
40417 #include <locale.h>
40418 int
40419 main ()
40420 {
40421 return LC_MESSAGES
40422   ;
40423   return 0;
40424 }
40425 _ACEOF
40426 rm -f conftest.$ac_objext conftest$ac_exeext
40427 if { (ac_try="$ac_link"
40428 case "(($ac_try" in
40429   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40430   *) ac_try_echo=$ac_try;;
40431 esac
40432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40433   (eval "$ac_link") 2>conftest.er1
40434   ac_status=$?
40435   grep -v '^ *+' conftest.er1 >conftest.err
40436   rm -f conftest.er1
40437   cat conftest.err >&5
40438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40439   (exit $ac_status); } && {
40440          test -z "$ac_c_werror_flag" ||
40441          test ! -s conftest.err
40442        } && test -s conftest$ac_exeext &&
40443        $as_test_x conftest$ac_exeext; then
40444   ac_cv_val_LC_MESSAGES=yes
40445 else
40446   echo "$as_me: failed program was:" >&5
40447 sed 's/^/| /' conftest.$ac_ext >&5
40448
40449         ac_cv_val_LC_MESSAGES=no
40450 fi
40451
40452 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40453       conftest$ac_exeext conftest.$ac_ext
40454 fi
40455 { echo "$as_me:$LINENO: result: $ac_cv_val_LC_MESSAGES" >&5
40456 echo "${ECHO_T}$ac_cv_val_LC_MESSAGES" >&6; }
40457     if test $ac_cv_val_LC_MESSAGES = yes; then
40458
40459 cat >>confdefs.h <<\_ACEOF
40460 #define HAVE_LC_MESSAGES 1
40461 _ACEOF
40462
40463     fi
40464
40465 fi
40466
40467
40468
40469
40470   cat >conftest.$ac_ext <<_ACEOF
40471 /* confdefs.h.  */
40472 _ACEOF
40473 cat confdefs.h >>conftest.$ac_ext
40474 cat >>conftest.$ac_ext <<_ACEOF
40475 /* end confdefs.h.  */
40476 #include <setjmp.h>
40477 int
40478 main ()
40479 {
40480 sigjmp_buf env;
40481      while (! sigsetjmp (env, 1))
40482        siglongjmp (env, 1);
40483
40484   ;
40485   return 0;
40486 }
40487 _ACEOF
40488 rm -f conftest.$ac_objext
40489 if { (ac_try="$ac_compile"
40490 case "(($ac_try" in
40491   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40492   *) ac_try_echo=$ac_try;;
40493 esac
40494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40495   (eval "$ac_compile") 2>conftest.er1
40496   ac_status=$?
40497   grep -v '^ *+' conftest.er1 >conftest.err
40498   rm -f conftest.er1
40499   cat conftest.err >&5
40500   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40501   (exit $ac_status); } && {
40502          test -z "$ac_c_werror_flag" ||
40503          test ! -s conftest.err
40504        } && test -s conftest.$ac_objext; then
40505
40506 cat >>confdefs.h <<\_ACEOF
40507 #define HAVE_SIGSETJMP 1
40508 _ACEOF
40509
40510 else
40511   echo "$as_me: failed program was:" >&5
40512 sed 's/^/| /' conftest.$ac_ext >&5
40513
40514
40515 fi
40516
40517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40518
40519   if test x$gcc_no_link = xyes; then
40520   if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
40521     ac_cv_func_mmap_fixed_mapped=no
40522   fi
40523 fi
40524 if test "x${ac_cv_func_mmap_fixed_mapped}" != xno; then
40525
40526
40527 for ac_header in stdlib.h unistd.h
40528 do
40529 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
40530 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
40531   { echo "$as_me:$LINENO: checking for $ac_header" >&5
40532 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
40533 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
40534   echo $ECHO_N "(cached) $ECHO_C" >&6
40535 fi
40536 ac_res=`eval echo '${'$as_ac_Header'}'`
40537                { echo "$as_me:$LINENO: result: $ac_res" >&5
40538 echo "${ECHO_T}$ac_res" >&6; }
40539 else
40540   # Is the header compilable?
40541 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
40542 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
40543 cat >conftest.$ac_ext <<_ACEOF
40544 /* confdefs.h.  */
40545 _ACEOF
40546 cat confdefs.h >>conftest.$ac_ext
40547 cat >>conftest.$ac_ext <<_ACEOF
40548 /* end confdefs.h.  */
40549 $ac_includes_default
40550 #include <$ac_header>
40551 _ACEOF
40552 rm -f conftest.$ac_objext
40553 if { (ac_try="$ac_compile"
40554 case "(($ac_try" in
40555   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40556   *) ac_try_echo=$ac_try;;
40557 esac
40558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40559   (eval "$ac_compile") 2>conftest.er1
40560   ac_status=$?
40561   grep -v '^ *+' conftest.er1 >conftest.err
40562   rm -f conftest.er1
40563   cat conftest.err >&5
40564   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40565   (exit $ac_status); } && {
40566          test -z "$ac_c_werror_flag" ||
40567          test ! -s conftest.err
40568        } && test -s conftest.$ac_objext; then
40569   ac_header_compiler=yes
40570 else
40571   echo "$as_me: failed program was:" >&5
40572 sed 's/^/| /' conftest.$ac_ext >&5
40573
40574         ac_header_compiler=no
40575 fi
40576
40577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40578 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
40579 echo "${ECHO_T}$ac_header_compiler" >&6; }
40580
40581 # Is the header present?
40582 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
40583 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
40584 cat >conftest.$ac_ext <<_ACEOF
40585 /* confdefs.h.  */
40586 _ACEOF
40587 cat confdefs.h >>conftest.$ac_ext
40588 cat >>conftest.$ac_ext <<_ACEOF
40589 /* end confdefs.h.  */
40590 #include <$ac_header>
40591 _ACEOF
40592 if { (ac_try="$ac_cpp conftest.$ac_ext"
40593 case "(($ac_try" in
40594   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40595   *) ac_try_echo=$ac_try;;
40596 esac
40597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40598   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
40599   ac_status=$?
40600   grep -v '^ *+' conftest.er1 >conftest.err
40601   rm -f conftest.er1
40602   cat conftest.err >&5
40603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40604   (exit $ac_status); } >/dev/null && {
40605          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
40606          test ! -s conftest.err
40607        }; then
40608   ac_header_preproc=yes
40609 else
40610   echo "$as_me: failed program was:" >&5
40611 sed 's/^/| /' conftest.$ac_ext >&5
40612
40613   ac_header_preproc=no
40614 fi
40615
40616 rm -f conftest.err conftest.$ac_ext
40617 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
40618 echo "${ECHO_T}$ac_header_preproc" >&6; }
40619
40620 # So?  What about this header?
40621 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
40622   yes:no: )
40623     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
40624 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
40625     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
40626 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
40627     ac_header_preproc=yes
40628     ;;
40629   no:yes:* )
40630     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
40631 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
40632     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
40633 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
40634     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
40635 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
40636     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
40637 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
40638     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
40639 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
40640     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
40641 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
40642
40643     ;;
40644 esac
40645 { echo "$as_me:$LINENO: checking for $ac_header" >&5
40646 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
40647 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
40648   echo $ECHO_N "(cached) $ECHO_C" >&6
40649 else
40650   eval "$as_ac_Header=\$ac_header_preproc"
40651 fi
40652 ac_res=`eval echo '${'$as_ac_Header'}'`
40653                { echo "$as_me:$LINENO: result: $ac_res" >&5
40654 echo "${ECHO_T}$ac_res" >&6; }
40655
40656 fi
40657 if test `eval echo '${'$as_ac_Header'}'` = yes; then
40658   cat >>confdefs.h <<_ACEOF
40659 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
40660 _ACEOF
40661
40662 fi
40663
40664 done
40665
40666
40667 for ac_func in getpagesize
40668 do
40669 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40670 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40671 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40672 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40673   echo $ECHO_N "(cached) $ECHO_C" >&6
40674 else
40675   if test x$gcc_no_link = xyes; then
40676   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40677 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40678    { (exit 1); exit 1; }; }
40679 fi
40680 cat >conftest.$ac_ext <<_ACEOF
40681 /* confdefs.h.  */
40682 _ACEOF
40683 cat confdefs.h >>conftest.$ac_ext
40684 cat >>conftest.$ac_ext <<_ACEOF
40685 /* end confdefs.h.  */
40686 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40687    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
40688 #define $ac_func innocuous_$ac_func
40689
40690 /* System header to define __stub macros and hopefully few prototypes,
40691     which can conflict with char $ac_func (); below.
40692     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40693     <limits.h> exists even on freestanding compilers.  */
40694
40695 #ifdef __STDC__
40696 # include <limits.h>
40697 #else
40698 # include <assert.h>
40699 #endif
40700
40701 #undef $ac_func
40702
40703 /* Override any GCC internal prototype to avoid an error.
40704    Use char because int might match the return type of a GCC
40705    builtin and then its argument prototype would still apply.  */
40706 #ifdef __cplusplus
40707 extern "C"
40708 #endif
40709 char $ac_func ();
40710 /* The GNU C library defines this for functions which it implements
40711     to always fail with ENOSYS.  Some functions are actually named
40712     something starting with __ and the normal name is an alias.  */
40713 #if defined __stub_$ac_func || defined __stub___$ac_func
40714 choke me
40715 #endif
40716
40717 int
40718 main ()
40719 {
40720 return $ac_func ();
40721   ;
40722   return 0;
40723 }
40724 _ACEOF
40725 rm -f conftest.$ac_objext conftest$ac_exeext
40726 if { (ac_try="$ac_link"
40727 case "(($ac_try" in
40728   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40729   *) ac_try_echo=$ac_try;;
40730 esac
40731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40732   (eval "$ac_link") 2>conftest.er1
40733   ac_status=$?
40734   grep -v '^ *+' conftest.er1 >conftest.err
40735   rm -f conftest.er1
40736   cat conftest.err >&5
40737   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40738   (exit $ac_status); } && {
40739          test -z "$ac_c_werror_flag" ||
40740          test ! -s conftest.err
40741        } && test -s conftest$ac_exeext &&
40742        $as_test_x conftest$ac_exeext; then
40743   eval "$as_ac_var=yes"
40744 else
40745   echo "$as_me: failed program was:" >&5
40746 sed 's/^/| /' conftest.$ac_ext >&5
40747
40748         eval "$as_ac_var=no"
40749 fi
40750
40751 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40752       conftest$ac_exeext conftest.$ac_ext
40753 fi
40754 ac_res=`eval echo '${'$as_ac_var'}'`
40755                { echo "$as_me:$LINENO: result: $ac_res" >&5
40756 echo "${ECHO_T}$ac_res" >&6; }
40757 if test `eval echo '${'$as_ac_var'}'` = yes; then
40758   cat >>confdefs.h <<_ACEOF
40759 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40760 _ACEOF
40761
40762 fi
40763 done
40764
40765 { echo "$as_me:$LINENO: checking for working mmap" >&5
40766 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6; }
40767 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
40768   echo $ECHO_N "(cached) $ECHO_C" >&6
40769 else
40770   if test "$cross_compiling" = yes; then
40771   ac_cv_func_mmap_fixed_mapped=no
40772 else
40773   cat >conftest.$ac_ext <<_ACEOF
40774 /* confdefs.h.  */
40775 _ACEOF
40776 cat confdefs.h >>conftest.$ac_ext
40777 cat >>conftest.$ac_ext <<_ACEOF
40778 /* end confdefs.h.  */
40779 $ac_includes_default
40780 /* malloc might have been renamed as rpl_malloc. */
40781 #undef malloc
40782
40783 /* Thanks to Mike Haertel and Jim Avera for this test.
40784    Here is a matrix of mmap possibilities:
40785         mmap private not fixed
40786         mmap private fixed at somewhere currently unmapped
40787         mmap private fixed at somewhere already mapped
40788         mmap shared not fixed
40789         mmap shared fixed at somewhere currently unmapped
40790         mmap shared fixed at somewhere already mapped
40791    For private mappings, we should verify that changes cannot be read()
40792    back from the file, nor mmap's back from the file at a different
40793    address.  (There have been systems where private was not correctly
40794    implemented like the infamous i386 svr4.0, and systems where the
40795    VM page cache was not coherent with the file system buffer cache
40796    like early versions of FreeBSD and possibly contemporary NetBSD.)
40797    For shared mappings, we should conversely verify that changes get
40798    propagated back to all the places they're supposed to be.
40799
40800    Grep wants private fixed already mapped.
40801    The main things grep needs to know about mmap are:
40802    * does it exist and is it safe to write into the mmap'd area
40803    * how to use it (BSD variants)  */
40804
40805 #include <fcntl.h>
40806 #include <sys/mman.h>
40807
40808 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
40809 char *malloc ();
40810 #endif
40811
40812 /* This mess was copied from the GNU getpagesize.h.  */
40813 #ifndef HAVE_GETPAGESIZE
40814 /* Assume that all systems that can run configure have sys/param.h.  */
40815 # ifndef HAVE_SYS_PARAM_H
40816 #  define HAVE_SYS_PARAM_H 1
40817 # endif
40818
40819 # ifdef _SC_PAGESIZE
40820 #  define getpagesize() sysconf(_SC_PAGESIZE)
40821 # else /* no _SC_PAGESIZE */
40822 #  ifdef HAVE_SYS_PARAM_H
40823 #   include <sys/param.h>
40824 #   ifdef EXEC_PAGESIZE
40825 #    define getpagesize() EXEC_PAGESIZE
40826 #   else /* no EXEC_PAGESIZE */
40827 #    ifdef NBPG
40828 #     define getpagesize() NBPG * CLSIZE
40829 #     ifndef CLSIZE
40830 #      define CLSIZE 1
40831 #     endif /* no CLSIZE */
40832 #    else /* no NBPG */
40833 #     ifdef NBPC
40834 #      define getpagesize() NBPC
40835 #     else /* no NBPC */
40836 #      ifdef PAGESIZE
40837 #       define getpagesize() PAGESIZE
40838 #      endif /* PAGESIZE */
40839 #     endif /* no NBPC */
40840 #    endif /* no NBPG */
40841 #   endif /* no EXEC_PAGESIZE */
40842 #  else /* no HAVE_SYS_PARAM_H */
40843 #   define getpagesize() 8192   /* punt totally */
40844 #  endif /* no HAVE_SYS_PARAM_H */
40845 # endif /* no _SC_PAGESIZE */
40846
40847 #endif /* no HAVE_GETPAGESIZE */
40848
40849 int
40850 main ()
40851 {
40852   char *data, *data2, *data3;
40853   int i, pagesize;
40854   int fd;
40855
40856   pagesize = getpagesize ();
40857
40858   /* First, make a file with some known garbage in it. */
40859   data = (char *) malloc (pagesize);
40860   if (!data)
40861     return 1;
40862   for (i = 0; i < pagesize; ++i)
40863     *(data + i) = rand ();
40864   umask (0);
40865   fd = creat ("conftest.mmap", 0600);
40866   if (fd < 0)
40867     return 1;
40868   if (write (fd, data, pagesize) != pagesize)
40869     return 1;
40870   close (fd);
40871
40872   /* Next, try to mmap the file at a fixed address which already has
40873      something else allocated at it.  If we can, also make sure that
40874      we see the same garbage.  */
40875   fd = open ("conftest.mmap", O_RDWR);
40876   if (fd < 0)
40877     return 1;
40878   data2 = (char *) malloc (2 * pagesize);
40879   if (!data2)
40880     return 1;
40881   data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
40882   if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
40883                      MAP_PRIVATE | MAP_FIXED, fd, 0L))
40884     return 1;
40885   for (i = 0; i < pagesize; ++i)
40886     if (*(data + i) != *(data2 + i))
40887       return 1;
40888
40889   /* Finally, make sure that changes to the mapped area do not
40890      percolate back to the file as seen by read().  (This is a bug on
40891      some variants of i386 svr4.0.)  */
40892   for (i = 0; i < pagesize; ++i)
40893     *(data2 + i) = *(data2 + i) + 1;
40894   data3 = (char *) malloc (pagesize);
40895   if (!data3)
40896     return 1;
40897   if (read (fd, data3, pagesize) != pagesize)
40898     return 1;
40899   for (i = 0; i < pagesize; ++i)
40900     if (*(data + i) != *(data3 + i))
40901       return 1;
40902   close (fd);
40903   return 0;
40904 }
40905 _ACEOF
40906 rm -f conftest$ac_exeext
40907 if { (ac_try="$ac_link"
40908 case "(($ac_try" in
40909   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40910   *) ac_try_echo=$ac_try;;
40911 esac
40912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40913   (eval "$ac_link") 2>&5
40914   ac_status=$?
40915   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40916   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
40917   { (case "(($ac_try" in
40918   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40919   *) ac_try_echo=$ac_try;;
40920 esac
40921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40922   (eval "$ac_try") 2>&5
40923   ac_status=$?
40924   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40925   (exit $ac_status); }; }; then
40926   ac_cv_func_mmap_fixed_mapped=yes
40927 else
40928   echo "$as_me: program exited with status $ac_status" >&5
40929 echo "$as_me: failed program was:" >&5
40930 sed 's/^/| /' conftest.$ac_ext >&5
40931
40932 ( exit $ac_status )
40933 ac_cv_func_mmap_fixed_mapped=no
40934 fi
40935 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
40936 fi
40937
40938
40939 fi
40940 { echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
40941 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6; }
40942 if test $ac_cv_func_mmap_fixed_mapped = yes; then
40943
40944 cat >>confdefs.h <<\_ACEOF
40945 #define HAVE_MMAP 1
40946 _ACEOF
40947
40948 fi
40949 rm -f conftest.mmap
40950
40951 fi
40952
40953   # For iconv support.
40954
40955       if test "X$prefix" = "XNONE"; then
40956     acl_final_prefix="$ac_default_prefix"
40957   else
40958     acl_final_prefix="$prefix"
40959   fi
40960   if test "X$exec_prefix" = "XNONE"; then
40961     acl_final_exec_prefix='${prefix}'
40962   else
40963     acl_final_exec_prefix="$exec_prefix"
40964   fi
40965   acl_save_prefix="$prefix"
40966   prefix="$acl_final_prefix"
40967   eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
40968   prefix="$acl_save_prefix"
40969
40970
40971 # Check whether --with-gnu-ld was given.
40972 if test "${with_gnu_ld+set}" = set; then
40973   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
40974 else
40975   with_gnu_ld=no
40976 fi
40977
40978 # Prepare PATH_SEPARATOR.
40979 # The user is always right.
40980 if test "${PATH_SEPARATOR+set}" != set; then
40981   echo "#! /bin/sh" >conf$$.sh
40982   echo  "exit 0"   >>conf$$.sh
40983   chmod +x conf$$.sh
40984   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
40985     PATH_SEPARATOR=';'
40986   else
40987     PATH_SEPARATOR=:
40988   fi
40989   rm -f conf$$.sh
40990 fi
40991 ac_prog=ld
40992 if test "$GCC" = yes; then
40993   # Check if gcc -print-prog-name=ld gives a path.
40994   { echo "$as_me:$LINENO: checking for ld used by GCC" >&5
40995 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6; }
40996   case $host in
40997   *-*-mingw*)
40998     # gcc leaves a trailing carriage return which upsets mingw
40999     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
41000   *)
41001     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
41002   esac
41003   case $ac_prog in
41004     # Accept absolute paths.
41005     [\\/]* | [A-Za-z]:[\\/]*)
41006       re_direlt='/[^/][^/]*/\.\./'
41007       # Canonicalize the path of ld
41008       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
41009       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
41010         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
41011       done
41012       test -z "$LD" && LD="$ac_prog"
41013       ;;
41014   "")
41015     # If it fails, then pretend we aren't using GCC.
41016     ac_prog=ld
41017     ;;
41018   *)
41019     # If it is relative, then search for the first ld in PATH.
41020     with_gnu_ld=unknown
41021     ;;
41022   esac
41023 elif test "$with_gnu_ld" = yes; then
41024   { echo "$as_me:$LINENO: checking for GNU ld" >&5
41025 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
41026 else
41027   { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
41028 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
41029 fi
41030 if test "${acl_cv_path_LD+set}" = set; then
41031   echo $ECHO_N "(cached) $ECHO_C" >&6
41032 else
41033   if test -z "$LD"; then
41034   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
41035   for ac_dir in $PATH; do
41036     test -z "$ac_dir" && ac_dir=.
41037     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
41038       acl_cv_path_LD="$ac_dir/$ac_prog"
41039       # Check to see if the program is GNU ld.  I'd rather use --version,
41040       # but apparently some GNU ld's only accept -v.
41041       # Break only if it was the GNU/non-GNU ld that we prefer.
41042       if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
41043         test "$with_gnu_ld" != no && break
41044       else
41045         test "$with_gnu_ld" != yes && break
41046       fi
41047     fi
41048   done
41049   IFS="$ac_save_ifs"
41050 else
41051   acl_cv_path_LD="$LD" # Let the user override the test with a path.
41052 fi
41053 fi
41054
41055 LD="$acl_cv_path_LD"
41056 if test -n "$LD"; then
41057   { echo "$as_me:$LINENO: result: $LD" >&5
41058 echo "${ECHO_T}$LD" >&6; }
41059 else
41060   { echo "$as_me:$LINENO: result: no" >&5
41061 echo "${ECHO_T}no" >&6; }
41062 fi
41063 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
41064 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
41065    { (exit 1); exit 1; }; }
41066 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
41067 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
41068 if test "${acl_cv_prog_gnu_ld+set}" = set; then
41069   echo $ECHO_N "(cached) $ECHO_C" >&6
41070 else
41071   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
41072 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
41073   acl_cv_prog_gnu_ld=yes
41074 else
41075   acl_cv_prog_gnu_ld=no
41076 fi
41077 fi
41078 { echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
41079 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6; }
41080 with_gnu_ld=$acl_cv_prog_gnu_ld
41081
41082
41083
41084                                                 { echo "$as_me:$LINENO: checking for shared library run path origin" >&5
41085 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6; }
41086 if test "${acl_cv_rpath+set}" = set; then
41087   echo $ECHO_N "(cached) $ECHO_C" >&6
41088 else
41089
41090     CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
41091     ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
41092     . ./conftest.sh
41093     rm -f ./conftest.sh
41094     acl_cv_rpath=done
41095
41096 fi
41097 { echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
41098 echo "${ECHO_T}$acl_cv_rpath" >&6; }
41099   wl="$acl_cv_wl"
41100   libext="$acl_cv_libext"
41101   shlibext="$acl_cv_shlibext"
41102   hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
41103   hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
41104   hardcode_direct="$acl_cv_hardcode_direct"
41105   hardcode_minus_L="$acl_cv_hardcode_minus_L"
41106     # Check whether --enable-rpath was given.
41107 if test "${enable_rpath+set}" = set; then
41108   enableval=$enable_rpath; :
41109 else
41110   enable_rpath=yes
41111 fi
41112
41113
41114
41115
41116
41117
41118
41119
41120     use_additional=yes
41121
41122   acl_save_prefix="$prefix"
41123   prefix="$acl_final_prefix"
41124   acl_save_exec_prefix="$exec_prefix"
41125   exec_prefix="$acl_final_exec_prefix"
41126
41127     eval additional_includedir=\"$includedir\"
41128     eval additional_libdir=\"$libdir\"
41129
41130   exec_prefix="$acl_save_exec_prefix"
41131   prefix="$acl_save_prefix"
41132
41133
41134 # Check whether --with-libiconv-prefix was given.
41135 if test "${with_libiconv_prefix+set}" = set; then
41136   withval=$with_libiconv_prefix;
41137     if test "X$withval" = "Xno"; then
41138       use_additional=no
41139     else
41140       if test "X$withval" = "X"; then
41141
41142   acl_save_prefix="$prefix"
41143   prefix="$acl_final_prefix"
41144   acl_save_exec_prefix="$exec_prefix"
41145   exec_prefix="$acl_final_exec_prefix"
41146
41147           eval additional_includedir=\"$includedir\"
41148           eval additional_libdir=\"$libdir\"
41149
41150   exec_prefix="$acl_save_exec_prefix"
41151   prefix="$acl_save_prefix"
41152
41153       else
41154         additional_includedir="$withval/include"
41155         additional_libdir="$withval/lib"
41156       fi
41157     fi
41158
41159 fi
41160
41161       LIBICONV=
41162   LTLIBICONV=
41163   INCICONV=
41164   rpathdirs=
41165   ltrpathdirs=
41166   names_already_handled=
41167   names_next_round='iconv '
41168   while test -n "$names_next_round"; do
41169     names_this_round="$names_next_round"
41170     names_next_round=
41171     for name in $names_this_round; do
41172       already_handled=
41173       for n in $names_already_handled; do
41174         if test "$n" = "$name"; then
41175           already_handled=yes
41176           break
41177         fi
41178       done
41179       if test -z "$already_handled"; then
41180         names_already_handled="$names_already_handled $name"
41181                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
41182         eval value=\"\$HAVE_LIB$uppername\"
41183         if test -n "$value"; then
41184           if test "$value" = yes; then
41185             eval value=\"\$LIB$uppername\"
41186             test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
41187             eval value=\"\$LTLIB$uppername\"
41188             test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
41189           else
41190                                     :
41191           fi
41192         else
41193                               found_dir=
41194           found_la=
41195           found_so=
41196           found_a=
41197           if test $use_additional = yes; then
41198             if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
41199               found_dir="$additional_libdir"
41200               found_so="$additional_libdir/lib$name.$shlibext"
41201               if test -f "$additional_libdir/lib$name.la"; then
41202                 found_la="$additional_libdir/lib$name.la"
41203               fi
41204             else
41205               if test -f "$additional_libdir/lib$name.$libext"; then
41206                 found_dir="$additional_libdir"
41207                 found_a="$additional_libdir/lib$name.$libext"
41208                 if test -f "$additional_libdir/lib$name.la"; then
41209                   found_la="$additional_libdir/lib$name.la"
41210                 fi
41211               fi
41212             fi
41213           fi
41214           if test "X$found_dir" = "X"; then
41215             for x in $LDFLAGS $LTLIBICONV; do
41216
41217   acl_save_prefix="$prefix"
41218   prefix="$acl_final_prefix"
41219   acl_save_exec_prefix="$exec_prefix"
41220   exec_prefix="$acl_final_exec_prefix"
41221   eval x=\"$x\"
41222   exec_prefix="$acl_save_exec_prefix"
41223   prefix="$acl_save_prefix"
41224
41225               case "$x" in
41226                 -L*)
41227                   dir=`echo "X$x" | sed -e 's/^X-L//'`
41228                   if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
41229                     found_dir="$dir"
41230                     found_so="$dir/lib$name.$shlibext"
41231                     if test -f "$dir/lib$name.la"; then
41232                       found_la="$dir/lib$name.la"
41233                     fi
41234                   else
41235                     if test -f "$dir/lib$name.$libext"; then
41236                       found_dir="$dir"
41237                       found_a="$dir/lib$name.$libext"
41238                       if test -f "$dir/lib$name.la"; then
41239                         found_la="$dir/lib$name.la"
41240                       fi
41241                     fi
41242                   fi
41243                   ;;
41244               esac
41245               if test "X$found_dir" != "X"; then
41246                 break
41247               fi
41248             done
41249           fi
41250           if test "X$found_dir" != "X"; then
41251                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
41252             if test "X$found_so" != "X"; then
41253                                                         if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
41254                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
41255               else
41256                                                                                 haveit=
41257                 for x in $ltrpathdirs; do
41258                   if test "X$x" = "X$found_dir"; then
41259                     haveit=yes
41260                     break
41261                   fi
41262                 done
41263                 if test -z "$haveit"; then
41264                   ltrpathdirs="$ltrpathdirs $found_dir"
41265                 fi
41266                                 if test "$hardcode_direct" = yes; then
41267                                                       LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
41268                 else
41269                   if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
41270                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
41271                                                             haveit=
41272                     for x in $rpathdirs; do
41273                       if test "X$x" = "X$found_dir"; then
41274                         haveit=yes
41275                         break
41276                       fi
41277                     done
41278                     if test -z "$haveit"; then
41279                       rpathdirs="$rpathdirs $found_dir"
41280                     fi
41281                   else
41282                                                                                 haveit=
41283                     for x in $LDFLAGS $LIBICONV; do
41284
41285   acl_save_prefix="$prefix"
41286   prefix="$acl_final_prefix"
41287   acl_save_exec_prefix="$exec_prefix"
41288   exec_prefix="$acl_final_exec_prefix"
41289   eval x=\"$x\"
41290   exec_prefix="$acl_save_exec_prefix"
41291   prefix="$acl_save_prefix"
41292
41293                       if test "X$x" = "X-L$found_dir"; then
41294                         haveit=yes
41295                         break
41296                       fi
41297                     done
41298                     if test -z "$haveit"; then
41299                       LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
41300                     fi
41301                     if test "$hardcode_minus_L" != no; then
41302                                                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
41303                     else
41304                                                                                                                                                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
41305                     fi
41306                   fi
41307                 fi
41308               fi
41309             else
41310               if test "X$found_a" != "X"; then
41311                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
41312               else
41313                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
41314               fi
41315             fi
41316                         additional_includedir=
41317             case "$found_dir" in
41318               */lib | */lib/)
41319                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
41320                 additional_includedir="$basedir/include"
41321                 ;;
41322             esac
41323             if test "X$additional_includedir" != "X"; then
41324                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
41325                 haveit=
41326                 if test "X$additional_includedir" = "X/usr/local/include"; then
41327                   if test -n "$GCC"; then
41328                     case $host_os in
41329                       linux*) haveit=yes;;
41330                     esac
41331                   fi
41332                 fi
41333                 if test -z "$haveit"; then
41334                   for x in $CPPFLAGS $INCICONV; do
41335
41336   acl_save_prefix="$prefix"
41337   prefix="$acl_final_prefix"
41338   acl_save_exec_prefix="$exec_prefix"
41339   exec_prefix="$acl_final_exec_prefix"
41340   eval x=\"$x\"
41341   exec_prefix="$acl_save_exec_prefix"
41342   prefix="$acl_save_prefix"
41343
41344                     if test "X$x" = "X-I$additional_includedir"; then
41345                       haveit=yes
41346                       break
41347                     fi
41348                   done
41349                   if test -z "$haveit"; then
41350                     if test -d "$additional_includedir"; then
41351                                             INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
41352                     fi
41353                   fi
41354                 fi
41355               fi
41356             fi
41357                         if test -n "$found_la"; then
41358                                                         save_libdir="$libdir"
41359               case "$found_la" in
41360                 */* | *\\*) . "$found_la" ;;
41361                 *) . "./$found_la" ;;
41362               esac
41363               libdir="$save_libdir"
41364                             for dep in $dependency_libs; do
41365                 case "$dep" in
41366                   -L*)
41367                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
41368                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/lib"; then
41369                       haveit=
41370                       if test "X$additional_libdir" = "X/usr/local/lib"; then
41371                         if test -n "$GCC"; then
41372                           case $host_os in
41373                             linux*) haveit=yes;;
41374                           esac
41375                         fi
41376                       fi
41377                       if test -z "$haveit"; then
41378                         haveit=
41379                         for x in $LDFLAGS $LIBICONV; do
41380
41381   acl_save_prefix="$prefix"
41382   prefix="$acl_final_prefix"
41383   acl_save_exec_prefix="$exec_prefix"
41384   exec_prefix="$acl_final_exec_prefix"
41385   eval x=\"$x\"
41386   exec_prefix="$acl_save_exec_prefix"
41387   prefix="$acl_save_prefix"
41388
41389                           if test "X$x" = "X-L$additional_libdir"; then
41390                             haveit=yes
41391                             break
41392                           fi
41393                         done
41394                         if test -z "$haveit"; then
41395                           if test -d "$additional_libdir"; then
41396                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
41397                           fi
41398                         fi
41399                         haveit=
41400                         for x in $LDFLAGS $LTLIBICONV; do
41401
41402   acl_save_prefix="$prefix"
41403   prefix="$acl_final_prefix"
41404   acl_save_exec_prefix="$exec_prefix"
41405   exec_prefix="$acl_final_exec_prefix"
41406   eval x=\"$x\"
41407   exec_prefix="$acl_save_exec_prefix"
41408   prefix="$acl_save_prefix"
41409
41410                           if test "X$x" = "X-L$additional_libdir"; then
41411                             haveit=yes
41412                             break
41413                           fi
41414                         done
41415                         if test -z "$haveit"; then
41416                           if test -d "$additional_libdir"; then
41417                                                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
41418                           fi
41419                         fi
41420                       fi
41421                     fi
41422                     ;;
41423                   -R*)
41424                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
41425                     if test "$enable_rpath" != no; then
41426                                                                   haveit=
41427                       for x in $rpathdirs; do
41428                         if test "X$x" = "X$dir"; then
41429                           haveit=yes
41430                           break
41431                         fi
41432                       done
41433                       if test -z "$haveit"; then
41434                         rpathdirs="$rpathdirs $dir"
41435                       fi
41436                                                                   haveit=
41437                       for x in $ltrpathdirs; do
41438                         if test "X$x" = "X$dir"; then
41439                           haveit=yes
41440                           break
41441                         fi
41442                       done
41443                       if test -z "$haveit"; then
41444                         ltrpathdirs="$ltrpathdirs $dir"
41445                       fi
41446                     fi
41447                     ;;
41448                   -l*)
41449                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
41450                     ;;
41451                   *.la)
41452                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
41453                     ;;
41454                   *)
41455                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
41456                     LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
41457                     ;;
41458                 esac
41459               done
41460             fi
41461           else
41462                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
41463             LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
41464           fi
41465         fi
41466       fi
41467     done
41468   done
41469   if test "X$rpathdirs" != "X"; then
41470     if test -n "$hardcode_libdir_separator"; then
41471                         alldirs=
41472       for found_dir in $rpathdirs; do
41473         alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
41474       done
41475             acl_save_libdir="$libdir"
41476       libdir="$alldirs"
41477       eval flag=\"$hardcode_libdir_flag_spec\"
41478       libdir="$acl_save_libdir"
41479       LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
41480     else
41481             for found_dir in $rpathdirs; do
41482         acl_save_libdir="$libdir"
41483         libdir="$found_dir"
41484         eval flag=\"$hardcode_libdir_flag_spec\"
41485         libdir="$acl_save_libdir"
41486         LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
41487       done
41488     fi
41489   fi
41490   if test "X$ltrpathdirs" != "X"; then
41491             for found_dir in $ltrpathdirs; do
41492       LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
41493     done
41494   fi
41495
41496
41497
41498
41499
41500
41501
41502           am_save_CPPFLAGS="$CPPFLAGS"
41503
41504   for element in $INCICONV; do
41505     haveit=
41506     for x in $CPPFLAGS; do
41507
41508   acl_save_prefix="$prefix"
41509   prefix="$acl_final_prefix"
41510   acl_save_exec_prefix="$exec_prefix"
41511   exec_prefix="$acl_final_exec_prefix"
41512   eval x=\"$x\"
41513   exec_prefix="$acl_save_exec_prefix"
41514   prefix="$acl_save_prefix"
41515
41516       if test "X$x" = "X$element"; then
41517         haveit=yes
41518         break
41519       fi
41520     done
41521     if test -z "$haveit"; then
41522       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
41523     fi
41524   done
41525
41526
41527   { echo "$as_me:$LINENO: checking for iconv" >&5
41528 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
41529 if test "${am_cv_func_iconv+set}" = set; then
41530   echo $ECHO_N "(cached) $ECHO_C" >&6
41531 else
41532
41533     am_cv_func_iconv="no, consider installing GNU libiconv"
41534     am_cv_lib_iconv=no
41535     if test x$gcc_no_link = xyes; then
41536   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41537 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41538    { (exit 1); exit 1; }; }
41539 fi
41540 cat >conftest.$ac_ext <<_ACEOF
41541 /* confdefs.h.  */
41542 _ACEOF
41543 cat confdefs.h >>conftest.$ac_ext
41544 cat >>conftest.$ac_ext <<_ACEOF
41545 /* end confdefs.h.  */
41546 #include <stdlib.h>
41547 #include <iconv.h>
41548 int
41549 main ()
41550 {
41551 iconv_t cd = iconv_open("","");
41552        iconv(cd,NULL,NULL,NULL,NULL);
41553        iconv_close(cd);
41554   ;
41555   return 0;
41556 }
41557 _ACEOF
41558 rm -f conftest.$ac_objext conftest$ac_exeext
41559 if { (ac_try="$ac_link"
41560 case "(($ac_try" in
41561   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41562   *) ac_try_echo=$ac_try;;
41563 esac
41564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41565   (eval "$ac_link") 2>conftest.er1
41566   ac_status=$?
41567   grep -v '^ *+' conftest.er1 >conftest.err
41568   rm -f conftest.er1
41569   cat conftest.err >&5
41570   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41571   (exit $ac_status); } && {
41572          test -z "$ac_c_werror_flag" ||
41573          test ! -s conftest.err
41574        } && test -s conftest$ac_exeext &&
41575        $as_test_x conftest$ac_exeext; then
41576   am_cv_func_iconv=yes
41577 else
41578   echo "$as_me: failed program was:" >&5
41579 sed 's/^/| /' conftest.$ac_ext >&5
41580
41581
41582 fi
41583
41584 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41585       conftest$ac_exeext conftest.$ac_ext
41586     if test "$am_cv_func_iconv" != yes; then
41587       am_save_LIBS="$LIBS"
41588       LIBS="$LIBS $LIBICONV"
41589       if test x$gcc_no_link = xyes; then
41590   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41591 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41592    { (exit 1); exit 1; }; }
41593 fi
41594 cat >conftest.$ac_ext <<_ACEOF
41595 /* confdefs.h.  */
41596 _ACEOF
41597 cat confdefs.h >>conftest.$ac_ext
41598 cat >>conftest.$ac_ext <<_ACEOF
41599 /* end confdefs.h.  */
41600 #include <stdlib.h>
41601 #include <iconv.h>
41602 int
41603 main ()
41604 {
41605 iconv_t cd = iconv_open("","");
41606          iconv(cd,NULL,NULL,NULL,NULL);
41607          iconv_close(cd);
41608   ;
41609   return 0;
41610 }
41611 _ACEOF
41612 rm -f conftest.$ac_objext conftest$ac_exeext
41613 if { (ac_try="$ac_link"
41614 case "(($ac_try" in
41615   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41616   *) ac_try_echo=$ac_try;;
41617 esac
41618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41619   (eval "$ac_link") 2>conftest.er1
41620   ac_status=$?
41621   grep -v '^ *+' conftest.er1 >conftest.err
41622   rm -f conftest.er1
41623   cat conftest.err >&5
41624   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41625   (exit $ac_status); } && {
41626          test -z "$ac_c_werror_flag" ||
41627          test ! -s conftest.err
41628        } && test -s conftest$ac_exeext &&
41629        $as_test_x conftest$ac_exeext; then
41630   am_cv_lib_iconv=yes
41631         am_cv_func_iconv=yes
41632 else
41633   echo "$as_me: failed program was:" >&5
41634 sed 's/^/| /' conftest.$ac_ext >&5
41635
41636
41637 fi
41638
41639 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41640       conftest$ac_exeext conftest.$ac_ext
41641       LIBS="$am_save_LIBS"
41642     fi
41643
41644 fi
41645 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
41646 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
41647   if test "$am_cv_func_iconv" = yes; then
41648
41649 cat >>confdefs.h <<\_ACEOF
41650 #define HAVE_ICONV 1
41651 _ACEOF
41652
41653   fi
41654   if test "$am_cv_lib_iconv" = yes; then
41655     { echo "$as_me:$LINENO: checking how to link with libiconv" >&5
41656 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6; }
41657     { echo "$as_me:$LINENO: result: $LIBICONV" >&5
41658 echo "${ECHO_T}$LIBICONV" >&6; }
41659   else
41660             CPPFLAGS="$am_save_CPPFLAGS"
41661     LIBICONV=
41662     LTLIBICONV=
41663   fi
41664
41665
41666
41667   if test "$am_cv_func_iconv" = yes; then
41668     { echo "$as_me:$LINENO: checking for iconv declaration" >&5
41669 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6; }
41670     if test "${am_cv_proto_iconv+set}" = set; then
41671   echo $ECHO_N "(cached) $ECHO_C" >&6
41672 else
41673
41674       cat >conftest.$ac_ext <<_ACEOF
41675 /* confdefs.h.  */
41676 _ACEOF
41677 cat confdefs.h >>conftest.$ac_ext
41678 cat >>conftest.$ac_ext <<_ACEOF
41679 /* end confdefs.h.  */
41680
41681 #include <stdlib.h>
41682 #include <iconv.h>
41683 extern
41684 #ifdef __cplusplus
41685 "C"
41686 #endif
41687 #if defined(__STDC__) || defined(__cplusplus)
41688 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
41689 #else
41690 size_t iconv();
41691 #endif
41692
41693 int
41694 main ()
41695 {
41696
41697   ;
41698   return 0;
41699 }
41700 _ACEOF
41701 rm -f conftest.$ac_objext
41702 if { (ac_try="$ac_compile"
41703 case "(($ac_try" in
41704   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41705   *) ac_try_echo=$ac_try;;
41706 esac
41707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41708   (eval "$ac_compile") 2>conftest.er1
41709   ac_status=$?
41710   grep -v '^ *+' conftest.er1 >conftest.err
41711   rm -f conftest.er1
41712   cat conftest.err >&5
41713   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41714   (exit $ac_status); } && {
41715          test -z "$ac_c_werror_flag" ||
41716          test ! -s conftest.err
41717        } && test -s conftest.$ac_objext; then
41718   am_cv_proto_iconv_arg1=""
41719 else
41720   echo "$as_me: failed program was:" >&5
41721 sed 's/^/| /' conftest.$ac_ext >&5
41722
41723         am_cv_proto_iconv_arg1="const"
41724 fi
41725
41726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41727       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);"
41728 fi
41729
41730     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
41731     { echo "$as_me:$LINENO: result: ${ac_t:-
41732          }$am_cv_proto_iconv" >&5
41733 echo "${ECHO_T}${ac_t:-
41734          }$am_cv_proto_iconv" >&6; }
41735
41736 cat >>confdefs.h <<_ACEOF
41737 #define ICONV_CONST $am_cv_proto_iconv_arg1
41738 _ACEOF
41739
41740   fi
41741
41742
41743 else
41744
41745   # This lets us hard-code the functionality we know we'll have in the cross
41746   # target environment.  "Let" is a sugar-coated word placed on an especially
41747   # dull and tedious hack, actually.
41748   #
41749   # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
41750   # that involve linking, can't be used:
41751   #    "cannot open sim-crt0.o"
41752   #    "cannot open crt0.o"
41753   # etc.  All this is because there currently exists no unified, consistent
41754   # way for top level CC information to be passed down to target directories:
41755   # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
41756   # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
41757   # crosses can be removed.
41758
41759   # If Canadian cross, then don't pick up tools from the build directory.
41760   # Used only in GLIBCXX_EXPORT_INCLUDES.
41761   if test -n "$with_cross_host" &&
41762      test x"$build_alias" != x"$with_cross_host" &&
41763      test x"$build" != x"$target";
41764   then
41765     CANADIAN=yes
41766   else
41767     CANADIAN=no
41768   fi
41769
41770   # Construct crosses by hand, eliminating bits that need ld...
41771   # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
41772   # GLIBCXX_CHECK_MATH_SUPPORT
41773
41774   # First, test for "known" system libraries.  We may be using newlib even
41775   # on a hosted environment.
41776   if test "x${with_newlib}" = "xyes"; then
41777     os_include_dir="os/newlib"
41778     cat >>confdefs.h <<\_ACEOF
41779 #define HAVE_HYPOT 1
41780 _ACEOF
41781
41782
41783     # GLIBCXX_CHECK_STDLIB_SUPPORT
41784     cat >>confdefs.h <<\_ACEOF
41785 #define HAVE_STRTOF 1
41786 _ACEOF
41787
41788     # AC_FUNC_MMAP
41789     cat >>confdefs.h <<\_ACEOF
41790 #define HAVE_MMAP 1
41791 _ACEOF
41792
41793
41794     cat >>confdefs.h <<\_ACEOF
41795 #define HAVE_ACOSF 1
41796 _ACEOF
41797
41798     cat >>confdefs.h <<\_ACEOF
41799 #define HAVE_ASINF 1
41800 _ACEOF
41801
41802     cat >>confdefs.h <<\_ACEOF
41803 #define HAVE_ATAN2F 1
41804 _ACEOF
41805
41806     cat >>confdefs.h <<\_ACEOF
41807 #define HAVE_ATANF 1
41808 _ACEOF
41809
41810     cat >>confdefs.h <<\_ACEOF
41811 #define HAVE_CEILF 1
41812 _ACEOF
41813
41814     cat >>confdefs.h <<\_ACEOF
41815 #define HAVE_COPYSIGN 1
41816 _ACEOF
41817
41818     cat >>confdefs.h <<\_ACEOF
41819 #define HAVE_COPYSIGNF 1
41820 _ACEOF
41821
41822     cat >>confdefs.h <<\_ACEOF
41823 #define HAVE_COSF 1
41824 _ACEOF
41825
41826     cat >>confdefs.h <<\_ACEOF
41827 #define HAVE_COSHF 1
41828 _ACEOF
41829
41830     cat >>confdefs.h <<\_ACEOF
41831 #define HAVE_EXPF 1
41832 _ACEOF
41833
41834     cat >>confdefs.h <<\_ACEOF
41835 #define HAVE_FABSF 1
41836 _ACEOF
41837
41838     cat >>confdefs.h <<\_ACEOF
41839 #define HAVE_FLOORF 1
41840 _ACEOF
41841
41842     cat >>confdefs.h <<\_ACEOF
41843 #define HAVE_FMODF 1
41844 _ACEOF
41845
41846     cat >>confdefs.h <<\_ACEOF
41847 #define HAVE_FREXPF 1
41848 _ACEOF
41849
41850     cat >>confdefs.h <<\_ACEOF
41851 #define HAVE_LDEXPF 1
41852 _ACEOF
41853
41854     cat >>confdefs.h <<\_ACEOF
41855 #define HAVE_LOG10F 1
41856 _ACEOF
41857
41858     cat >>confdefs.h <<\_ACEOF
41859 #define HAVE_LOGF 1
41860 _ACEOF
41861
41862     cat >>confdefs.h <<\_ACEOF
41863 #define HAVE_MODFF 1
41864 _ACEOF
41865
41866     cat >>confdefs.h <<\_ACEOF
41867 #define HAVE_POWF 1
41868 _ACEOF
41869
41870     cat >>confdefs.h <<\_ACEOF
41871 #define HAVE_SINF 1
41872 _ACEOF
41873
41874     cat >>confdefs.h <<\_ACEOF
41875 #define HAVE_SINHF 1
41876 _ACEOF
41877
41878     cat >>confdefs.h <<\_ACEOF
41879 #define HAVE_SQRTF 1
41880 _ACEOF
41881
41882     cat >>confdefs.h <<\_ACEOF
41883 #define HAVE_TANF 1
41884 _ACEOF
41885
41886     cat >>confdefs.h <<\_ACEOF
41887 #define HAVE_TANHF 1
41888 _ACEOF
41889
41890
41891     cat >>confdefs.h <<\_ACEOF
41892 #define HAVE_S_ISREG 1
41893 _ACEOF
41894
41895     cat >>confdefs.h <<\_ACEOF
41896 #define HAVE_S_IFREG 1
41897 _ACEOF
41898
41899
41900     cat >>confdefs.h <<\_ACEOF
41901 #define HAVE_ICONV 1
41902 _ACEOF
41903
41904   else
41905
41906 # Base decisions on target environment.
41907 case "${host}" in
41908   arm*-*-symbianelf*)
41909     # This is a freestanding configuration; there is nothing to do here.
41910     ;;
41911
41912   mips*-sde-elf*)
41913     # These definitions are for the SDE C library rather than newlib.
41914
41915
41916
41917
41918
41919
41920
41921
41922
41923
41924
41925
41926
41927
41928
41929 for ac_header in float.h inttypes.h locale.h \
41930       stdint.h stdlib.h string.h unistd.h wchar.h \
41931       machine/endian.h sys/ioctl.h sys/resource.h \
41932       sys/stat.h sys/time.h sys/types.h sys/uio.h
41933 do
41934 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
41935 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
41936   { echo "$as_me:$LINENO: checking for $ac_header" >&5
41937 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
41938 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
41939   echo $ECHO_N "(cached) $ECHO_C" >&6
41940 fi
41941 ac_res=`eval echo '${'$as_ac_Header'}'`
41942                { echo "$as_me:$LINENO: result: $ac_res" >&5
41943 echo "${ECHO_T}$ac_res" >&6; }
41944 else
41945   # Is the header compilable?
41946 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
41947 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
41948 cat >conftest.$ac_ext <<_ACEOF
41949 /* confdefs.h.  */
41950 _ACEOF
41951 cat confdefs.h >>conftest.$ac_ext
41952 cat >>conftest.$ac_ext <<_ACEOF
41953 /* end confdefs.h.  */
41954 $ac_includes_default
41955 #include <$ac_header>
41956 _ACEOF
41957 rm -f conftest.$ac_objext
41958 if { (ac_try="$ac_compile"
41959 case "(($ac_try" in
41960   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41961   *) ac_try_echo=$ac_try;;
41962 esac
41963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41964   (eval "$ac_compile") 2>conftest.er1
41965   ac_status=$?
41966   grep -v '^ *+' conftest.er1 >conftest.err
41967   rm -f conftest.er1
41968   cat conftest.err >&5
41969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41970   (exit $ac_status); } && {
41971          test -z "$ac_c_werror_flag" ||
41972          test ! -s conftest.err
41973        } && test -s conftest.$ac_objext; then
41974   ac_header_compiler=yes
41975 else
41976   echo "$as_me: failed program was:" >&5
41977 sed 's/^/| /' conftest.$ac_ext >&5
41978
41979         ac_header_compiler=no
41980 fi
41981
41982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41983 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
41984 echo "${ECHO_T}$ac_header_compiler" >&6; }
41985
41986 # Is the header present?
41987 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
41988 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
41989 cat >conftest.$ac_ext <<_ACEOF
41990 /* confdefs.h.  */
41991 _ACEOF
41992 cat confdefs.h >>conftest.$ac_ext
41993 cat >>conftest.$ac_ext <<_ACEOF
41994 /* end confdefs.h.  */
41995 #include <$ac_header>
41996 _ACEOF
41997 if { (ac_try="$ac_cpp conftest.$ac_ext"
41998 case "(($ac_try" in
41999   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42000   *) ac_try_echo=$ac_try;;
42001 esac
42002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42003   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
42004   ac_status=$?
42005   grep -v '^ *+' conftest.er1 >conftest.err
42006   rm -f conftest.er1
42007   cat conftest.err >&5
42008   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42009   (exit $ac_status); } >/dev/null && {
42010          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
42011          test ! -s conftest.err
42012        }; then
42013   ac_header_preproc=yes
42014 else
42015   echo "$as_me: failed program was:" >&5
42016 sed 's/^/| /' conftest.$ac_ext >&5
42017
42018   ac_header_preproc=no
42019 fi
42020
42021 rm -f conftest.err conftest.$ac_ext
42022 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
42023 echo "${ECHO_T}$ac_header_preproc" >&6; }
42024
42025 # So?  What about this header?
42026 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
42027   yes:no: )
42028     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
42029 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
42030     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
42031 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
42032     ac_header_preproc=yes
42033     ;;
42034   no:yes:* )
42035     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
42036 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
42037     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
42038 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
42039     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
42040 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
42041     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
42042 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
42043     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
42044 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
42045     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
42046 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
42047
42048     ;;
42049 esac
42050 { echo "$as_me:$LINENO: checking for $ac_header" >&5
42051 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
42052 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
42053   echo $ECHO_N "(cached) $ECHO_C" >&6
42054 else
42055   eval "$as_ac_Header=\$ac_header_preproc"
42056 fi
42057 ac_res=`eval echo '${'$as_ac_Header'}'`
42058                { echo "$as_me:$LINENO: result: $ac_res" >&5
42059 echo "${ECHO_T}$ac_res" >&6; }
42060
42061 fi
42062 if test `eval echo '${'$as_ac_Header'}'` = yes; then
42063   cat >>confdefs.h <<_ACEOF
42064 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
42065 _ACEOF
42066
42067 fi
42068
42069 done
42070
42071     SECTION_FLAGS='-ffunction-sections -fdata-sections'
42072
42073
42074   # All these tests are for C++; save the language and the compiler flags.
42075   # The CXXFLAGS thing is suspicious, but based on similar bits previously
42076   # found in GLIBCXX_CONFIGURE.
42077
42078   ac_ext=cpp
42079 ac_cpp='$CXXCPP $CPPFLAGS'
42080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42083
42084   ac_test_CXXFLAGS="${CXXFLAGS+set}"
42085   ac_save_CXXFLAGS="$CXXFLAGS"
42086
42087   # Check for maintainer-mode bits.
42088   if test x"$USE_MAINTAINER_MODE" = xno; then
42089     WERROR=''
42090   else
42091     WERROR='-Werror'
42092   fi
42093
42094   # Check for -ffunction-sections -fdata-sections
42095   { echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
42096 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6; }
42097   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
42098   cat >conftest.$ac_ext <<_ACEOF
42099 /* confdefs.h.  */
42100 _ACEOF
42101 cat confdefs.h >>conftest.$ac_ext
42102 cat >>conftest.$ac_ext <<_ACEOF
42103 /* end confdefs.h.  */
42104 int foo; void bar() { };
42105 int
42106 main ()
42107 {
42108
42109   ;
42110   return 0;
42111 }
42112 _ACEOF
42113 rm -f conftest.$ac_objext
42114 if { (ac_try="$ac_compile"
42115 case "(($ac_try" in
42116   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42117   *) ac_try_echo=$ac_try;;
42118 esac
42119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42120   (eval "$ac_compile") 2>conftest.er1
42121   ac_status=$?
42122   grep -v '^ *+' conftest.er1 >conftest.err
42123   rm -f conftest.er1
42124   cat conftest.err >&5
42125   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42126   (exit $ac_status); } && {
42127          test -z "$ac_cxx_werror_flag" ||
42128          test ! -s conftest.err
42129        } && test -s conftest.$ac_objext; then
42130   ac_fdsections=yes
42131 else
42132   echo "$as_me: failed program was:" >&5
42133 sed 's/^/| /' conftest.$ac_ext >&5
42134
42135         ac_fdsections=no
42136 fi
42137
42138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42139   if test "$ac_test_CXXFLAGS" = set; then
42140     CXXFLAGS="$ac_save_CXXFLAGS"
42141   else
42142     # this is the suspicious part
42143     CXXFLAGS=''
42144   fi
42145   if test x"$ac_fdsections" = x"yes"; then
42146     SECTION_FLAGS='-ffunction-sections -fdata-sections'
42147   fi
42148   { echo "$as_me:$LINENO: result: $ac_fdsections" >&5
42149 echo "${ECHO_T}$ac_fdsections" >&6; }
42150
42151   ac_ext=c
42152 ac_cpp='$CPP $CPPFLAGS'
42153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42156
42157
42158
42159
42160
42161   # If we're not using GNU ld, then there's no point in even trying these
42162   # tests.  Check for that first.  We should have already tested for gld
42163   # by now (in libtool), but require it now just to be safe...
42164   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
42165   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
42166
42167
42168
42169   # The name set by libtool depends on the version of libtool.  Shame on us
42170   # for depending on an impl detail, but c'est la vie.  Older versions used
42171   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
42172   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
42173   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
42174   # set (hence we're using an older libtool), then set it.
42175   if test x${with_gnu_ld+set} != xset; then
42176     if test x${ac_cv_prog_gnu_ld+set} != xset; then
42177       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
42178       with_gnu_ld=no
42179     else
42180       with_gnu_ld=$ac_cv_prog_gnu_ld
42181     fi
42182   fi
42183
42184   # Start by getting the version number.  I think the libtool test already
42185   # does some of this, but throws away the result.
42186   if test x"$with_gnu_ld" = x"yes"; then
42187     { echo "$as_me:$LINENO: checking for ld version" >&5
42188 echo $ECHO_N "checking for ld version... $ECHO_C" >&6; }
42189
42190     ldver=`$LD --version 2>/dev/null | head -1 | \
42191            sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
42192
42193     glibcxx_gnu_ld_version=`echo $ldver | \
42194            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
42195     { echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
42196 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6; }
42197   fi
42198
42199   # Set --gc-sections.
42200   glibcxx_gcsections_min_ld=21602
42201   if test x"$with_gnu_ld" = x"yes" &&
42202         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
42203
42204     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
42205     # NB: This flag only works reliably after 2.16.1. Configure tests
42206     # for this are difficult, so hard wire a value that should work.
42207
42208     ac_test_CFLAGS="${CFLAGS+set}"
42209     ac_save_CFLAGS="$CFLAGS"
42210     CFLAGS='-Wl,--gc-sections'
42211
42212     # Check for -Wl,--gc-sections
42213     { echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
42214 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6; }
42215     if test x$gcc_no_link = xyes; then
42216   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42217 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42218    { (exit 1); exit 1; }; }
42219 fi
42220 cat >conftest.$ac_ext <<_ACEOF
42221 /* confdefs.h.  */
42222 _ACEOF
42223 cat confdefs.h >>conftest.$ac_ext
42224 cat >>conftest.$ac_ext <<_ACEOF
42225 /* end confdefs.h.  */
42226  int one(void) { return 1; }
42227      int two(void) { return 2; }
42228
42229 int
42230 main ()
42231 {
42232  two();
42233   ;
42234   return 0;
42235 }
42236 _ACEOF
42237 rm -f conftest.$ac_objext conftest$ac_exeext
42238 if { (ac_try="$ac_link"
42239 case "(($ac_try" in
42240   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42241   *) ac_try_echo=$ac_try;;
42242 esac
42243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42244   (eval "$ac_link") 2>conftest.er1
42245   ac_status=$?
42246   grep -v '^ *+' conftest.er1 >conftest.err
42247   rm -f conftest.er1
42248   cat conftest.err >&5
42249   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42250   (exit $ac_status); } && {
42251          test -z "$ac_c_werror_flag" ||
42252          test ! -s conftest.err
42253        } && test -s conftest$ac_exeext &&
42254        $as_test_x conftest$ac_exeext; then
42255   ac_gcsections=yes
42256 else
42257   echo "$as_me: failed program was:" >&5
42258 sed 's/^/| /' conftest.$ac_ext >&5
42259
42260         ac_gcsections=no
42261 fi
42262
42263 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42264       conftest$ac_exeext conftest.$ac_ext
42265     if test "$ac_gcsections" = "yes"; then
42266       rm -f conftest.c
42267       touch conftest.c
42268       if $CC -c conftest.c; then
42269         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
42270            grep "Warning: gc-sections option ignored" > /dev/null; then
42271           ac_gcsections=no
42272         fi
42273       fi
42274       rm -f conftest.c conftest.o conftest
42275     fi
42276     if test "$ac_gcsections" = "yes"; then
42277       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
42278     fi
42279     { echo "$as_me:$LINENO: result: $ac_gcsections" >&5
42280 echo "${ECHO_T}$ac_gcsections" >&6; }
42281
42282     if test "$ac_test_CFLAGS" = set; then
42283       CFLAGS="$ac_save_CFLAGS"
42284     else
42285       # this is the suspicious part
42286       CFLAGS=''
42287     fi
42288   fi
42289
42290   # Set -z,relro.
42291   # Note this is only for shared objects.
42292   ac_ld_relro=no
42293   if test x"$with_gnu_ld" = x"yes"; then
42294     { echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
42295 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6; }
42296     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
42297     if test -n "$cxx_z_relo"; then
42298       OPT_LDFLAGS="-Wl,-z,relro"
42299       ac_ld_relro=yes
42300     fi
42301     { echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
42302 echo "${ECHO_T}$ac_ld_relro" >&6; }
42303   fi
42304
42305   # Set linker optimization flags.
42306   if test x"$with_gnu_ld" = x"yes"; then
42307     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
42308   fi
42309
42310
42311
42312
42313
42314   ac_test_CXXFLAGS="${CXXFLAGS+set}"
42315   ac_save_CXXFLAGS="$CXXFLAGS"
42316   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
42317
42318     { echo "$as_me:$LINENO: checking for sin in -lm" >&5
42319 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6; }
42320 if test "${ac_cv_lib_m_sin+set}" = set; then
42321   echo $ECHO_N "(cached) $ECHO_C" >&6
42322 else
42323   ac_check_lib_save_LIBS=$LIBS
42324 LIBS="-lm  $LIBS"
42325 if test x$gcc_no_link = xyes; then
42326   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42327 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42328    { (exit 1); exit 1; }; }
42329 fi
42330 cat >conftest.$ac_ext <<_ACEOF
42331 /* confdefs.h.  */
42332 _ACEOF
42333 cat confdefs.h >>conftest.$ac_ext
42334 cat >>conftest.$ac_ext <<_ACEOF
42335 /* end confdefs.h.  */
42336
42337 /* Override any GCC internal prototype to avoid an error.
42338    Use char because int might match the return type of a GCC
42339    builtin and then its argument prototype would still apply.  */
42340 #ifdef __cplusplus
42341 extern "C"
42342 #endif
42343 char sin ();
42344 int
42345 main ()
42346 {
42347 return sin ();
42348   ;
42349   return 0;
42350 }
42351 _ACEOF
42352 rm -f conftest.$ac_objext conftest$ac_exeext
42353 if { (ac_try="$ac_link"
42354 case "(($ac_try" in
42355   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42356   *) ac_try_echo=$ac_try;;
42357 esac
42358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42359   (eval "$ac_link") 2>conftest.er1
42360   ac_status=$?
42361   grep -v '^ *+' conftest.er1 >conftest.err
42362   rm -f conftest.er1
42363   cat conftest.err >&5
42364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42365   (exit $ac_status); } && {
42366          test -z "$ac_c_werror_flag" ||
42367          test ! -s conftest.err
42368        } && test -s conftest$ac_exeext &&
42369        $as_test_x conftest$ac_exeext; then
42370   ac_cv_lib_m_sin=yes
42371 else
42372   echo "$as_me: failed program was:" >&5
42373 sed 's/^/| /' conftest.$ac_ext >&5
42374
42375         ac_cv_lib_m_sin=no
42376 fi
42377
42378 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42379       conftest$ac_exeext conftest.$ac_ext
42380 LIBS=$ac_check_lib_save_LIBS
42381 fi
42382 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
42383 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6; }
42384 if test $ac_cv_lib_m_sin = yes; then
42385   libm="-lm"
42386 fi
42387
42388   ac_save_LIBS="$LIBS"
42389   LIBS="$LIBS $libm"
42390
42391
42392
42393   { echo "$as_me:$LINENO: checking for isinf declaration" >&5
42394 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6; }
42395   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
42396     if test "${glibcxx_cv_func_isinf_use+set}" = set; then
42397   echo $ECHO_N "(cached) $ECHO_C" >&6
42398 else
42399
42400
42401       ac_ext=cpp
42402 ac_cpp='$CXXCPP $CPPFLAGS'
42403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42406
42407       cat >conftest.$ac_ext <<_ACEOF
42408 /* confdefs.h.  */
42409 _ACEOF
42410 cat confdefs.h >>conftest.$ac_ext
42411 cat >>conftest.$ac_ext <<_ACEOF
42412 /* end confdefs.h.  */
42413 #include <math.h>
42414                       #ifdef HAVE_IEEEFP_H
42415                       #include <ieeefp.h>
42416                       #endif
42417
42418 int
42419 main ()
42420 {
42421  isinf(0);
42422   ;
42423   return 0;
42424 }
42425 _ACEOF
42426 rm -f conftest.$ac_objext
42427 if { (ac_try="$ac_compile"
42428 case "(($ac_try" in
42429   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42430   *) ac_try_echo=$ac_try;;
42431 esac
42432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42433   (eval "$ac_compile") 2>conftest.er1
42434   ac_status=$?
42435   grep -v '^ *+' conftest.er1 >conftest.err
42436   rm -f conftest.er1
42437   cat conftest.err >&5
42438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42439   (exit $ac_status); } && {
42440          test -z "$ac_cxx_werror_flag" ||
42441          test ! -s conftest.err
42442        } && test -s conftest.$ac_objext; then
42443   glibcxx_cv_func_isinf_use=yes
42444 else
42445   echo "$as_me: failed program was:" >&5
42446 sed 's/^/| /' conftest.$ac_ext >&5
42447
42448         glibcxx_cv_func_isinf_use=no
42449 fi
42450
42451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42452       ac_ext=c
42453 ac_cpp='$CPP $CPPFLAGS'
42454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42457
42458
42459 fi
42460
42461   fi
42462   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
42463 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6; }
42464
42465   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
42466
42467 for ac_func in isinf
42468 do
42469 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42470 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42471 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42472 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42473   echo $ECHO_N "(cached) $ECHO_C" >&6
42474 else
42475   if test x$gcc_no_link = xyes; then
42476   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42477 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42478    { (exit 1); exit 1; }; }
42479 fi
42480 cat >conftest.$ac_ext <<_ACEOF
42481 /* confdefs.h.  */
42482 _ACEOF
42483 cat confdefs.h >>conftest.$ac_ext
42484 cat >>conftest.$ac_ext <<_ACEOF
42485 /* end confdefs.h.  */
42486 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42487    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
42488 #define $ac_func innocuous_$ac_func
42489
42490 /* System header to define __stub macros and hopefully few prototypes,
42491     which can conflict with char $ac_func (); below.
42492     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42493     <limits.h> exists even on freestanding compilers.  */
42494
42495 #ifdef __STDC__
42496 # include <limits.h>
42497 #else
42498 # include <assert.h>
42499 #endif
42500
42501 #undef $ac_func
42502
42503 /* Override any GCC internal prototype to avoid an error.
42504    Use char because int might match the return type of a GCC
42505    builtin and then its argument prototype would still apply.  */
42506 #ifdef __cplusplus
42507 extern "C"
42508 #endif
42509 char $ac_func ();
42510 /* The GNU C library defines this for functions which it implements
42511     to always fail with ENOSYS.  Some functions are actually named
42512     something starting with __ and the normal name is an alias.  */
42513 #if defined __stub_$ac_func || defined __stub___$ac_func
42514 choke me
42515 #endif
42516
42517 int
42518 main ()
42519 {
42520 return $ac_func ();
42521   ;
42522   return 0;
42523 }
42524 _ACEOF
42525 rm -f conftest.$ac_objext conftest$ac_exeext
42526 if { (ac_try="$ac_link"
42527 case "(($ac_try" in
42528   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42529   *) ac_try_echo=$ac_try;;
42530 esac
42531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42532   (eval "$ac_link") 2>conftest.er1
42533   ac_status=$?
42534   grep -v '^ *+' conftest.er1 >conftest.err
42535   rm -f conftest.er1
42536   cat conftest.err >&5
42537   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42538   (exit $ac_status); } && {
42539          test -z "$ac_c_werror_flag" ||
42540          test ! -s conftest.err
42541        } && test -s conftest$ac_exeext &&
42542        $as_test_x conftest$ac_exeext; then
42543   eval "$as_ac_var=yes"
42544 else
42545   echo "$as_me: failed program was:" >&5
42546 sed 's/^/| /' conftest.$ac_ext >&5
42547
42548         eval "$as_ac_var=no"
42549 fi
42550
42551 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42552       conftest$ac_exeext conftest.$ac_ext
42553 fi
42554 ac_res=`eval echo '${'$as_ac_var'}'`
42555                { echo "$as_me:$LINENO: result: $ac_res" >&5
42556 echo "${ECHO_T}$ac_res" >&6; }
42557 if test `eval echo '${'$as_ac_var'}'` = yes; then
42558   cat >>confdefs.h <<_ACEOF
42559 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42560 _ACEOF
42561
42562 fi
42563 done
42564
42565   else
42566
42567   { echo "$as_me:$LINENO: checking for _isinf declaration" >&5
42568 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6; }
42569   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
42570     if test "${glibcxx_cv_func__isinf_use+set}" = set; then
42571   echo $ECHO_N "(cached) $ECHO_C" >&6
42572 else
42573
42574
42575       ac_ext=cpp
42576 ac_cpp='$CXXCPP $CPPFLAGS'
42577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42580
42581       cat >conftest.$ac_ext <<_ACEOF
42582 /* confdefs.h.  */
42583 _ACEOF
42584 cat confdefs.h >>conftest.$ac_ext
42585 cat >>conftest.$ac_ext <<_ACEOF
42586 /* end confdefs.h.  */
42587 #include <math.h>
42588                       #ifdef HAVE_IEEEFP_H
42589                       #include <ieeefp.h>
42590                       #endif
42591
42592 int
42593 main ()
42594 {
42595  _isinf(0);
42596   ;
42597   return 0;
42598 }
42599 _ACEOF
42600 rm -f conftest.$ac_objext
42601 if { (ac_try="$ac_compile"
42602 case "(($ac_try" in
42603   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42604   *) ac_try_echo=$ac_try;;
42605 esac
42606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42607   (eval "$ac_compile") 2>conftest.er1
42608   ac_status=$?
42609   grep -v '^ *+' conftest.er1 >conftest.err
42610   rm -f conftest.er1
42611   cat conftest.err >&5
42612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42613   (exit $ac_status); } && {
42614          test -z "$ac_cxx_werror_flag" ||
42615          test ! -s conftest.err
42616        } && test -s conftest.$ac_objext; then
42617   glibcxx_cv_func__isinf_use=yes
42618 else
42619   echo "$as_me: failed program was:" >&5
42620 sed 's/^/| /' conftest.$ac_ext >&5
42621
42622         glibcxx_cv_func__isinf_use=no
42623 fi
42624
42625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42626       ac_ext=c
42627 ac_cpp='$CPP $CPPFLAGS'
42628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42631
42632
42633 fi
42634
42635   fi
42636   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
42637 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6; }
42638
42639     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
42640
42641 for ac_func in _isinf
42642 do
42643 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42644 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42645 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42646 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42647   echo $ECHO_N "(cached) $ECHO_C" >&6
42648 else
42649   if test x$gcc_no_link = xyes; then
42650   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42651 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42652    { (exit 1); exit 1; }; }
42653 fi
42654 cat >conftest.$ac_ext <<_ACEOF
42655 /* confdefs.h.  */
42656 _ACEOF
42657 cat confdefs.h >>conftest.$ac_ext
42658 cat >>conftest.$ac_ext <<_ACEOF
42659 /* end confdefs.h.  */
42660 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42661    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
42662 #define $ac_func innocuous_$ac_func
42663
42664 /* System header to define __stub macros and hopefully few prototypes,
42665     which can conflict with char $ac_func (); below.
42666     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42667     <limits.h> exists even on freestanding compilers.  */
42668
42669 #ifdef __STDC__
42670 # include <limits.h>
42671 #else
42672 # include <assert.h>
42673 #endif
42674
42675 #undef $ac_func
42676
42677 /* Override any GCC internal prototype to avoid an error.
42678    Use char because int might match the return type of a GCC
42679    builtin and then its argument prototype would still apply.  */
42680 #ifdef __cplusplus
42681 extern "C"
42682 #endif
42683 char $ac_func ();
42684 /* The GNU C library defines this for functions which it implements
42685     to always fail with ENOSYS.  Some functions are actually named
42686     something starting with __ and the normal name is an alias.  */
42687 #if defined __stub_$ac_func || defined __stub___$ac_func
42688 choke me
42689 #endif
42690
42691 int
42692 main ()
42693 {
42694 return $ac_func ();
42695   ;
42696   return 0;
42697 }
42698 _ACEOF
42699 rm -f conftest.$ac_objext conftest$ac_exeext
42700 if { (ac_try="$ac_link"
42701 case "(($ac_try" in
42702   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42703   *) ac_try_echo=$ac_try;;
42704 esac
42705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&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          test -z "$ac_c_werror_flag" ||
42714          test ! -s conftest.err
42715        } && test -s conftest$ac_exeext &&
42716        $as_test_x conftest$ac_exeext; then
42717   eval "$as_ac_var=yes"
42718 else
42719   echo "$as_me: failed program was:" >&5
42720 sed 's/^/| /' conftest.$ac_ext >&5
42721
42722         eval "$as_ac_var=no"
42723 fi
42724
42725 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42726       conftest$ac_exeext conftest.$ac_ext
42727 fi
42728 ac_res=`eval echo '${'$as_ac_var'}'`
42729                { echo "$as_me:$LINENO: result: $ac_res" >&5
42730 echo "${ECHO_T}$ac_res" >&6; }
42731 if test `eval echo '${'$as_ac_var'}'` = yes; then
42732   cat >>confdefs.h <<_ACEOF
42733 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42734 _ACEOF
42735
42736 fi
42737 done
42738
42739     fi
42740   fi
42741
42742
42743
42744
42745
42746
42747   { echo "$as_me:$LINENO: checking for isnan declaration" >&5
42748 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6; }
42749   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
42750     if test "${glibcxx_cv_func_isnan_use+set}" = set; then
42751   echo $ECHO_N "(cached) $ECHO_C" >&6
42752 else
42753
42754
42755       ac_ext=cpp
42756 ac_cpp='$CXXCPP $CPPFLAGS'
42757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42760
42761       cat >conftest.$ac_ext <<_ACEOF
42762 /* confdefs.h.  */
42763 _ACEOF
42764 cat confdefs.h >>conftest.$ac_ext
42765 cat >>conftest.$ac_ext <<_ACEOF
42766 /* end confdefs.h.  */
42767 #include <math.h>
42768                       #ifdef HAVE_IEEEFP_H
42769                       #include <ieeefp.h>
42770                       #endif
42771
42772 int
42773 main ()
42774 {
42775  isnan(0);
42776   ;
42777   return 0;
42778 }
42779 _ACEOF
42780 rm -f conftest.$ac_objext
42781 if { (ac_try="$ac_compile"
42782 case "(($ac_try" in
42783   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42784   *) ac_try_echo=$ac_try;;
42785 esac
42786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42787   (eval "$ac_compile") 2>conftest.er1
42788   ac_status=$?
42789   grep -v '^ *+' conftest.er1 >conftest.err
42790   rm -f conftest.er1
42791   cat conftest.err >&5
42792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42793   (exit $ac_status); } && {
42794          test -z "$ac_cxx_werror_flag" ||
42795          test ! -s conftest.err
42796        } && test -s conftest.$ac_objext; then
42797   glibcxx_cv_func_isnan_use=yes
42798 else
42799   echo "$as_me: failed program was:" >&5
42800 sed 's/^/| /' conftest.$ac_ext >&5
42801
42802         glibcxx_cv_func_isnan_use=no
42803 fi
42804
42805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42806       ac_ext=c
42807 ac_cpp='$CPP $CPPFLAGS'
42808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42811
42812
42813 fi
42814
42815   fi
42816   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
42817 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6; }
42818
42819   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
42820
42821 for ac_func in isnan
42822 do
42823 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42824 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42825 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42826 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42827   echo $ECHO_N "(cached) $ECHO_C" >&6
42828 else
42829   if test x$gcc_no_link = xyes; then
42830   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42831 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42832    { (exit 1); exit 1; }; }
42833 fi
42834 cat >conftest.$ac_ext <<_ACEOF
42835 /* confdefs.h.  */
42836 _ACEOF
42837 cat confdefs.h >>conftest.$ac_ext
42838 cat >>conftest.$ac_ext <<_ACEOF
42839 /* end confdefs.h.  */
42840 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42841    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
42842 #define $ac_func innocuous_$ac_func
42843
42844 /* System header to define __stub macros and hopefully few prototypes,
42845     which can conflict with char $ac_func (); below.
42846     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42847     <limits.h> exists even on freestanding compilers.  */
42848
42849 #ifdef __STDC__
42850 # include <limits.h>
42851 #else
42852 # include <assert.h>
42853 #endif
42854
42855 #undef $ac_func
42856
42857 /* Override any GCC internal prototype to avoid an error.
42858    Use char because int might match the return type of a GCC
42859    builtin and then its argument prototype would still apply.  */
42860 #ifdef __cplusplus
42861 extern "C"
42862 #endif
42863 char $ac_func ();
42864 /* The GNU C library defines this for functions which it implements
42865     to always fail with ENOSYS.  Some functions are actually named
42866     something starting with __ and the normal name is an alias.  */
42867 #if defined __stub_$ac_func || defined __stub___$ac_func
42868 choke me
42869 #endif
42870
42871 int
42872 main ()
42873 {
42874 return $ac_func ();
42875   ;
42876   return 0;
42877 }
42878 _ACEOF
42879 rm -f conftest.$ac_objext conftest$ac_exeext
42880 if { (ac_try="$ac_link"
42881 case "(($ac_try" in
42882   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42883   *) ac_try_echo=$ac_try;;
42884 esac
42885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42886   (eval "$ac_link") 2>conftest.er1
42887   ac_status=$?
42888   grep -v '^ *+' conftest.er1 >conftest.err
42889   rm -f conftest.er1
42890   cat conftest.err >&5
42891   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42892   (exit $ac_status); } && {
42893          test -z "$ac_c_werror_flag" ||
42894          test ! -s conftest.err
42895        } && test -s conftest$ac_exeext &&
42896        $as_test_x conftest$ac_exeext; then
42897   eval "$as_ac_var=yes"
42898 else
42899   echo "$as_me: failed program was:" >&5
42900 sed 's/^/| /' conftest.$ac_ext >&5
42901
42902         eval "$as_ac_var=no"
42903 fi
42904
42905 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42906       conftest$ac_exeext conftest.$ac_ext
42907 fi
42908 ac_res=`eval echo '${'$as_ac_var'}'`
42909                { echo "$as_me:$LINENO: result: $ac_res" >&5
42910 echo "${ECHO_T}$ac_res" >&6; }
42911 if test `eval echo '${'$as_ac_var'}'` = yes; then
42912   cat >>confdefs.h <<_ACEOF
42913 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42914 _ACEOF
42915
42916 fi
42917 done
42918
42919   else
42920
42921   { echo "$as_me:$LINENO: checking for _isnan declaration" >&5
42922 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6; }
42923   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
42924     if test "${glibcxx_cv_func__isnan_use+set}" = set; then
42925   echo $ECHO_N "(cached) $ECHO_C" >&6
42926 else
42927
42928
42929       ac_ext=cpp
42930 ac_cpp='$CXXCPP $CPPFLAGS'
42931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42934
42935       cat >conftest.$ac_ext <<_ACEOF
42936 /* confdefs.h.  */
42937 _ACEOF
42938 cat confdefs.h >>conftest.$ac_ext
42939 cat >>conftest.$ac_ext <<_ACEOF
42940 /* end confdefs.h.  */
42941 #include <math.h>
42942                       #ifdef HAVE_IEEEFP_H
42943                       #include <ieeefp.h>
42944                       #endif
42945
42946 int
42947 main ()
42948 {
42949  _isnan(0);
42950   ;
42951   return 0;
42952 }
42953 _ACEOF
42954 rm -f conftest.$ac_objext
42955 if { (ac_try="$ac_compile"
42956 case "(($ac_try" in
42957   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42958   *) ac_try_echo=$ac_try;;
42959 esac
42960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42961   (eval "$ac_compile") 2>conftest.er1
42962   ac_status=$?
42963   grep -v '^ *+' conftest.er1 >conftest.err
42964   rm -f conftest.er1
42965   cat conftest.err >&5
42966   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42967   (exit $ac_status); } && {
42968          test -z "$ac_cxx_werror_flag" ||
42969          test ! -s conftest.err
42970        } && test -s conftest.$ac_objext; then
42971   glibcxx_cv_func__isnan_use=yes
42972 else
42973   echo "$as_me: failed program was:" >&5
42974 sed 's/^/| /' conftest.$ac_ext >&5
42975
42976         glibcxx_cv_func__isnan_use=no
42977 fi
42978
42979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42980       ac_ext=c
42981 ac_cpp='$CPP $CPPFLAGS'
42982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42985
42986
42987 fi
42988
42989   fi
42990   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
42991 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6; }
42992
42993     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
42994
42995 for ac_func in _isnan
42996 do
42997 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42998 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42999 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43000 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43001   echo $ECHO_N "(cached) $ECHO_C" >&6
43002 else
43003   if test x$gcc_no_link = xyes; then
43004   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43005 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43006    { (exit 1); exit 1; }; }
43007 fi
43008 cat >conftest.$ac_ext <<_ACEOF
43009 /* confdefs.h.  */
43010 _ACEOF
43011 cat confdefs.h >>conftest.$ac_ext
43012 cat >>conftest.$ac_ext <<_ACEOF
43013 /* end confdefs.h.  */
43014 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43015    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
43016 #define $ac_func innocuous_$ac_func
43017
43018 /* System header to define __stub macros and hopefully few prototypes,
43019     which can conflict with char $ac_func (); below.
43020     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43021     <limits.h> exists even on freestanding compilers.  */
43022
43023 #ifdef __STDC__
43024 # include <limits.h>
43025 #else
43026 # include <assert.h>
43027 #endif
43028
43029 #undef $ac_func
43030
43031 /* Override any GCC internal prototype to avoid an error.
43032    Use char because int might match the return type of a GCC
43033    builtin and then its argument prototype would still apply.  */
43034 #ifdef __cplusplus
43035 extern "C"
43036 #endif
43037 char $ac_func ();
43038 /* The GNU C library defines this for functions which it implements
43039     to always fail with ENOSYS.  Some functions are actually named
43040     something starting with __ and the normal name is an alias.  */
43041 #if defined __stub_$ac_func || defined __stub___$ac_func
43042 choke me
43043 #endif
43044
43045 int
43046 main ()
43047 {
43048 return $ac_func ();
43049   ;
43050   return 0;
43051 }
43052 _ACEOF
43053 rm -f conftest.$ac_objext conftest$ac_exeext
43054 if { (ac_try="$ac_link"
43055 case "(($ac_try" in
43056   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43057   *) ac_try_echo=$ac_try;;
43058 esac
43059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43060   (eval "$ac_link") 2>conftest.er1
43061   ac_status=$?
43062   grep -v '^ *+' conftest.er1 >conftest.err
43063   rm -f conftest.er1
43064   cat conftest.err >&5
43065   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43066   (exit $ac_status); } && {
43067          test -z "$ac_c_werror_flag" ||
43068          test ! -s conftest.err
43069        } && test -s conftest$ac_exeext &&
43070        $as_test_x conftest$ac_exeext; then
43071   eval "$as_ac_var=yes"
43072 else
43073   echo "$as_me: failed program was:" >&5
43074 sed 's/^/| /' conftest.$ac_ext >&5
43075
43076         eval "$as_ac_var=no"
43077 fi
43078
43079 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43080       conftest$ac_exeext conftest.$ac_ext
43081 fi
43082 ac_res=`eval echo '${'$as_ac_var'}'`
43083                { echo "$as_me:$LINENO: result: $ac_res" >&5
43084 echo "${ECHO_T}$ac_res" >&6; }
43085 if test `eval echo '${'$as_ac_var'}'` = yes; then
43086   cat >>confdefs.h <<_ACEOF
43087 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43088 _ACEOF
43089
43090 fi
43091 done
43092
43093     fi
43094   fi
43095
43096
43097
43098
43099
43100
43101   { echo "$as_me:$LINENO: checking for finite declaration" >&5
43102 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6; }
43103   if test x${glibcxx_cv_func_finite_use+set} != xset; then
43104     if test "${glibcxx_cv_func_finite_use+set}" = set; then
43105   echo $ECHO_N "(cached) $ECHO_C" >&6
43106 else
43107
43108
43109       ac_ext=cpp
43110 ac_cpp='$CXXCPP $CPPFLAGS'
43111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43114
43115       cat >conftest.$ac_ext <<_ACEOF
43116 /* confdefs.h.  */
43117 _ACEOF
43118 cat confdefs.h >>conftest.$ac_ext
43119 cat >>conftest.$ac_ext <<_ACEOF
43120 /* end confdefs.h.  */
43121 #include <math.h>
43122                       #ifdef HAVE_IEEEFP_H
43123                       #include <ieeefp.h>
43124                       #endif
43125
43126 int
43127 main ()
43128 {
43129  finite(0);
43130   ;
43131   return 0;
43132 }
43133 _ACEOF
43134 rm -f conftest.$ac_objext
43135 if { (ac_try="$ac_compile"
43136 case "(($ac_try" in
43137   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43138   *) ac_try_echo=$ac_try;;
43139 esac
43140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43141   (eval "$ac_compile") 2>conftest.er1
43142   ac_status=$?
43143   grep -v '^ *+' conftest.er1 >conftest.err
43144   rm -f conftest.er1
43145   cat conftest.err >&5
43146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43147   (exit $ac_status); } && {
43148          test -z "$ac_cxx_werror_flag" ||
43149          test ! -s conftest.err
43150        } && test -s conftest.$ac_objext; then
43151   glibcxx_cv_func_finite_use=yes
43152 else
43153   echo "$as_me: failed program was:" >&5
43154 sed 's/^/| /' conftest.$ac_ext >&5
43155
43156         glibcxx_cv_func_finite_use=no
43157 fi
43158
43159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43160       ac_ext=c
43161 ac_cpp='$CPP $CPPFLAGS'
43162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43165
43166
43167 fi
43168
43169   fi
43170   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
43171 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6; }
43172
43173   if test x$glibcxx_cv_func_finite_use = x"yes"; then
43174
43175 for ac_func in finite
43176 do
43177 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43178 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43179 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43180 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43181   echo $ECHO_N "(cached) $ECHO_C" >&6
43182 else
43183   if test x$gcc_no_link = xyes; then
43184   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43185 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43186    { (exit 1); exit 1; }; }
43187 fi
43188 cat >conftest.$ac_ext <<_ACEOF
43189 /* confdefs.h.  */
43190 _ACEOF
43191 cat confdefs.h >>conftest.$ac_ext
43192 cat >>conftest.$ac_ext <<_ACEOF
43193 /* end confdefs.h.  */
43194 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43195    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
43196 #define $ac_func innocuous_$ac_func
43197
43198 /* System header to define __stub macros and hopefully few prototypes,
43199     which can conflict with char $ac_func (); below.
43200     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43201     <limits.h> exists even on freestanding compilers.  */
43202
43203 #ifdef __STDC__
43204 # include <limits.h>
43205 #else
43206 # include <assert.h>
43207 #endif
43208
43209 #undef $ac_func
43210
43211 /* Override any GCC internal prototype to avoid an error.
43212    Use char because int might match the return type of a GCC
43213    builtin and then its argument prototype would still apply.  */
43214 #ifdef __cplusplus
43215 extern "C"
43216 #endif
43217 char $ac_func ();
43218 /* The GNU C library defines this for functions which it implements
43219     to always fail with ENOSYS.  Some functions are actually named
43220     something starting with __ and the normal name is an alias.  */
43221 #if defined __stub_$ac_func || defined __stub___$ac_func
43222 choke me
43223 #endif
43224
43225 int
43226 main ()
43227 {
43228 return $ac_func ();
43229   ;
43230   return 0;
43231 }
43232 _ACEOF
43233 rm -f conftest.$ac_objext conftest$ac_exeext
43234 if { (ac_try="$ac_link"
43235 case "(($ac_try" in
43236   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43237   *) ac_try_echo=$ac_try;;
43238 esac
43239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43240   (eval "$ac_link") 2>conftest.er1
43241   ac_status=$?
43242   grep -v '^ *+' conftest.er1 >conftest.err
43243   rm -f conftest.er1
43244   cat conftest.err >&5
43245   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43246   (exit $ac_status); } && {
43247          test -z "$ac_c_werror_flag" ||
43248          test ! -s conftest.err
43249        } && test -s conftest$ac_exeext &&
43250        $as_test_x conftest$ac_exeext; then
43251   eval "$as_ac_var=yes"
43252 else
43253   echo "$as_me: failed program was:" >&5
43254 sed 's/^/| /' conftest.$ac_ext >&5
43255
43256         eval "$as_ac_var=no"
43257 fi
43258
43259 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43260       conftest$ac_exeext conftest.$ac_ext
43261 fi
43262 ac_res=`eval echo '${'$as_ac_var'}'`
43263                { echo "$as_me:$LINENO: result: $ac_res" >&5
43264 echo "${ECHO_T}$ac_res" >&6; }
43265 if test `eval echo '${'$as_ac_var'}'` = yes; then
43266   cat >>confdefs.h <<_ACEOF
43267 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43268 _ACEOF
43269
43270 fi
43271 done
43272
43273   else
43274
43275   { echo "$as_me:$LINENO: checking for _finite declaration" >&5
43276 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6; }
43277   if test x${glibcxx_cv_func__finite_use+set} != xset; then
43278     if test "${glibcxx_cv_func__finite_use+set}" = set; then
43279   echo $ECHO_N "(cached) $ECHO_C" >&6
43280 else
43281
43282
43283       ac_ext=cpp
43284 ac_cpp='$CXXCPP $CPPFLAGS'
43285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43288
43289       cat >conftest.$ac_ext <<_ACEOF
43290 /* confdefs.h.  */
43291 _ACEOF
43292 cat confdefs.h >>conftest.$ac_ext
43293 cat >>conftest.$ac_ext <<_ACEOF
43294 /* end confdefs.h.  */
43295 #include <math.h>
43296                       #ifdef HAVE_IEEEFP_H
43297                       #include <ieeefp.h>
43298                       #endif
43299
43300 int
43301 main ()
43302 {
43303  _finite(0);
43304   ;
43305   return 0;
43306 }
43307 _ACEOF
43308 rm -f conftest.$ac_objext
43309 if { (ac_try="$ac_compile"
43310 case "(($ac_try" in
43311   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43312   *) ac_try_echo=$ac_try;;
43313 esac
43314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43315   (eval "$ac_compile") 2>conftest.er1
43316   ac_status=$?
43317   grep -v '^ *+' conftest.er1 >conftest.err
43318   rm -f conftest.er1
43319   cat conftest.err >&5
43320   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43321   (exit $ac_status); } && {
43322          test -z "$ac_cxx_werror_flag" ||
43323          test ! -s conftest.err
43324        } && test -s conftest.$ac_objext; then
43325   glibcxx_cv_func__finite_use=yes
43326 else
43327   echo "$as_me: failed program was:" >&5
43328 sed 's/^/| /' conftest.$ac_ext >&5
43329
43330         glibcxx_cv_func__finite_use=no
43331 fi
43332
43333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43334       ac_ext=c
43335 ac_cpp='$CPP $CPPFLAGS'
43336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43339
43340
43341 fi
43342
43343   fi
43344   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
43345 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6; }
43346
43347     if test x$glibcxx_cv_func__finite_use = x"yes"; then
43348
43349 for ac_func in _finite
43350 do
43351 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43352 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43353 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43354 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43355   echo $ECHO_N "(cached) $ECHO_C" >&6
43356 else
43357   if test x$gcc_no_link = xyes; then
43358   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43359 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43360    { (exit 1); exit 1; }; }
43361 fi
43362 cat >conftest.$ac_ext <<_ACEOF
43363 /* confdefs.h.  */
43364 _ACEOF
43365 cat confdefs.h >>conftest.$ac_ext
43366 cat >>conftest.$ac_ext <<_ACEOF
43367 /* end confdefs.h.  */
43368 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43369    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
43370 #define $ac_func innocuous_$ac_func
43371
43372 /* System header to define __stub macros and hopefully few prototypes,
43373     which can conflict with char $ac_func (); below.
43374     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43375     <limits.h> exists even on freestanding compilers.  */
43376
43377 #ifdef __STDC__
43378 # include <limits.h>
43379 #else
43380 # include <assert.h>
43381 #endif
43382
43383 #undef $ac_func
43384
43385 /* Override any GCC internal prototype to avoid an error.
43386    Use char because int might match the return type of a GCC
43387    builtin and then its argument prototype would still apply.  */
43388 #ifdef __cplusplus
43389 extern "C"
43390 #endif
43391 char $ac_func ();
43392 /* The GNU C library defines this for functions which it implements
43393     to always fail with ENOSYS.  Some functions are actually named
43394     something starting with __ and the normal name is an alias.  */
43395 #if defined __stub_$ac_func || defined __stub___$ac_func
43396 choke me
43397 #endif
43398
43399 int
43400 main ()
43401 {
43402 return $ac_func ();
43403   ;
43404   return 0;
43405 }
43406 _ACEOF
43407 rm -f conftest.$ac_objext conftest$ac_exeext
43408 if { (ac_try="$ac_link"
43409 case "(($ac_try" in
43410   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43411   *) ac_try_echo=$ac_try;;
43412 esac
43413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43414   (eval "$ac_link") 2>conftest.er1
43415   ac_status=$?
43416   grep -v '^ *+' conftest.er1 >conftest.err
43417   rm -f conftest.er1
43418   cat conftest.err >&5
43419   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43420   (exit $ac_status); } && {
43421          test -z "$ac_c_werror_flag" ||
43422          test ! -s conftest.err
43423        } && test -s conftest$ac_exeext &&
43424        $as_test_x conftest$ac_exeext; then
43425   eval "$as_ac_var=yes"
43426 else
43427   echo "$as_me: failed program was:" >&5
43428 sed 's/^/| /' conftest.$ac_ext >&5
43429
43430         eval "$as_ac_var=no"
43431 fi
43432
43433 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43434       conftest$ac_exeext conftest.$ac_ext
43435 fi
43436 ac_res=`eval echo '${'$as_ac_var'}'`
43437                { echo "$as_me:$LINENO: result: $ac_res" >&5
43438 echo "${ECHO_T}$ac_res" >&6; }
43439 if test `eval echo '${'$as_ac_var'}'` = yes; then
43440   cat >>confdefs.h <<_ACEOF
43441 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43442 _ACEOF
43443
43444 fi
43445 done
43446
43447     fi
43448   fi
43449
43450
43451
43452
43453
43454
43455   { echo "$as_me:$LINENO: checking for copysign declaration" >&5
43456 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6; }
43457   if test x${glibcxx_cv_func_copysign_use+set} != xset; then
43458     if test "${glibcxx_cv_func_copysign_use+set}" = set; then
43459   echo $ECHO_N "(cached) $ECHO_C" >&6
43460 else
43461
43462
43463       ac_ext=cpp
43464 ac_cpp='$CXXCPP $CPPFLAGS'
43465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43468
43469       cat >conftest.$ac_ext <<_ACEOF
43470 /* confdefs.h.  */
43471 _ACEOF
43472 cat confdefs.h >>conftest.$ac_ext
43473 cat >>conftest.$ac_ext <<_ACEOF
43474 /* end confdefs.h.  */
43475 #include <math.h>
43476 int
43477 main ()
43478 {
43479  copysign(0, 0);
43480   ;
43481   return 0;
43482 }
43483 _ACEOF
43484 rm -f conftest.$ac_objext
43485 if { (ac_try="$ac_compile"
43486 case "(($ac_try" in
43487   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43488   *) ac_try_echo=$ac_try;;
43489 esac
43490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43491   (eval "$ac_compile") 2>conftest.er1
43492   ac_status=$?
43493   grep -v '^ *+' conftest.er1 >conftest.err
43494   rm -f conftest.er1
43495   cat conftest.err >&5
43496   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43497   (exit $ac_status); } && {
43498          test -z "$ac_cxx_werror_flag" ||
43499          test ! -s conftest.err
43500        } && test -s conftest.$ac_objext; then
43501   glibcxx_cv_func_copysign_use=yes
43502 else
43503   echo "$as_me: failed program was:" >&5
43504 sed 's/^/| /' conftest.$ac_ext >&5
43505
43506         glibcxx_cv_func_copysign_use=no
43507 fi
43508
43509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43510       ac_ext=c
43511 ac_cpp='$CPP $CPPFLAGS'
43512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43515
43516
43517 fi
43518
43519   fi
43520   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
43521 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6; }
43522
43523   if test x$glibcxx_cv_func_copysign_use = x"yes"; then
43524
43525 for ac_func in copysign
43526 do
43527 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43528 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43529 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43530 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43531   echo $ECHO_N "(cached) $ECHO_C" >&6
43532 else
43533   if test x$gcc_no_link = xyes; then
43534   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43535 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43536    { (exit 1); exit 1; }; }
43537 fi
43538 cat >conftest.$ac_ext <<_ACEOF
43539 /* confdefs.h.  */
43540 _ACEOF
43541 cat confdefs.h >>conftest.$ac_ext
43542 cat >>conftest.$ac_ext <<_ACEOF
43543 /* end confdefs.h.  */
43544 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43545    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
43546 #define $ac_func innocuous_$ac_func
43547
43548 /* System header to define __stub macros and hopefully few prototypes,
43549     which can conflict with char $ac_func (); below.
43550     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43551     <limits.h> exists even on freestanding compilers.  */
43552
43553 #ifdef __STDC__
43554 # include <limits.h>
43555 #else
43556 # include <assert.h>
43557 #endif
43558
43559 #undef $ac_func
43560
43561 /* Override any GCC internal prototype to avoid an error.
43562    Use char because int might match the return type of a GCC
43563    builtin and then its argument prototype would still apply.  */
43564 #ifdef __cplusplus
43565 extern "C"
43566 #endif
43567 char $ac_func ();
43568 /* The GNU C library defines this for functions which it implements
43569     to always fail with ENOSYS.  Some functions are actually named
43570     something starting with __ and the normal name is an alias.  */
43571 #if defined __stub_$ac_func || defined __stub___$ac_func
43572 choke me
43573 #endif
43574
43575 int
43576 main ()
43577 {
43578 return $ac_func ();
43579   ;
43580   return 0;
43581 }
43582 _ACEOF
43583 rm -f conftest.$ac_objext conftest$ac_exeext
43584 if { (ac_try="$ac_link"
43585 case "(($ac_try" in
43586   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43587   *) ac_try_echo=$ac_try;;
43588 esac
43589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43590   (eval "$ac_link") 2>conftest.er1
43591   ac_status=$?
43592   grep -v '^ *+' conftest.er1 >conftest.err
43593   rm -f conftest.er1
43594   cat conftest.err >&5
43595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43596   (exit $ac_status); } && {
43597          test -z "$ac_c_werror_flag" ||
43598          test ! -s conftest.err
43599        } && test -s conftest$ac_exeext &&
43600        $as_test_x conftest$ac_exeext; then
43601   eval "$as_ac_var=yes"
43602 else
43603   echo "$as_me: failed program was:" >&5
43604 sed 's/^/| /' conftest.$ac_ext >&5
43605
43606         eval "$as_ac_var=no"
43607 fi
43608
43609 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43610       conftest$ac_exeext conftest.$ac_ext
43611 fi
43612 ac_res=`eval echo '${'$as_ac_var'}'`
43613                { echo "$as_me:$LINENO: result: $ac_res" >&5
43614 echo "${ECHO_T}$ac_res" >&6; }
43615 if test `eval echo '${'$as_ac_var'}'` = yes; then
43616   cat >>confdefs.h <<_ACEOF
43617 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43618 _ACEOF
43619
43620 fi
43621 done
43622
43623   else
43624
43625   { echo "$as_me:$LINENO: checking for _copysign declaration" >&5
43626 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6; }
43627   if test x${glibcxx_cv_func__copysign_use+set} != xset; then
43628     if test "${glibcxx_cv_func__copysign_use+set}" = set; then
43629   echo $ECHO_N "(cached) $ECHO_C" >&6
43630 else
43631
43632
43633       ac_ext=cpp
43634 ac_cpp='$CXXCPP $CPPFLAGS'
43635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43638
43639       cat >conftest.$ac_ext <<_ACEOF
43640 /* confdefs.h.  */
43641 _ACEOF
43642 cat confdefs.h >>conftest.$ac_ext
43643 cat >>conftest.$ac_ext <<_ACEOF
43644 /* end confdefs.h.  */
43645 #include <math.h>
43646 int
43647 main ()
43648 {
43649  _copysign(0, 0);
43650   ;
43651   return 0;
43652 }
43653 _ACEOF
43654 rm -f conftest.$ac_objext
43655 if { (ac_try="$ac_compile"
43656 case "(($ac_try" in
43657   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43658   *) ac_try_echo=$ac_try;;
43659 esac
43660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43661   (eval "$ac_compile") 2>conftest.er1
43662   ac_status=$?
43663   grep -v '^ *+' conftest.er1 >conftest.err
43664   rm -f conftest.er1
43665   cat conftest.err >&5
43666   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43667   (exit $ac_status); } && {
43668          test -z "$ac_cxx_werror_flag" ||
43669          test ! -s conftest.err
43670        } && test -s conftest.$ac_objext; then
43671   glibcxx_cv_func__copysign_use=yes
43672 else
43673   echo "$as_me: failed program was:" >&5
43674 sed 's/^/| /' conftest.$ac_ext >&5
43675
43676         glibcxx_cv_func__copysign_use=no
43677 fi
43678
43679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43680       ac_ext=c
43681 ac_cpp='$CPP $CPPFLAGS'
43682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43685
43686
43687 fi
43688
43689   fi
43690   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
43691 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6; }
43692
43693     if test x$glibcxx_cv_func__copysign_use = x"yes"; then
43694
43695 for ac_func in _copysign
43696 do
43697 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43698 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43699 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43700 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43701   echo $ECHO_N "(cached) $ECHO_C" >&6
43702 else
43703   if test x$gcc_no_link = xyes; then
43704   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43705 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43706    { (exit 1); exit 1; }; }
43707 fi
43708 cat >conftest.$ac_ext <<_ACEOF
43709 /* confdefs.h.  */
43710 _ACEOF
43711 cat confdefs.h >>conftest.$ac_ext
43712 cat >>conftest.$ac_ext <<_ACEOF
43713 /* end confdefs.h.  */
43714 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43715    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
43716 #define $ac_func innocuous_$ac_func
43717
43718 /* System header to define __stub macros and hopefully few prototypes,
43719     which can conflict with char $ac_func (); below.
43720     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43721     <limits.h> exists even on freestanding compilers.  */
43722
43723 #ifdef __STDC__
43724 # include <limits.h>
43725 #else
43726 # include <assert.h>
43727 #endif
43728
43729 #undef $ac_func
43730
43731 /* Override any GCC internal prototype to avoid an error.
43732    Use char because int might match the return type of a GCC
43733    builtin and then its argument prototype would still apply.  */
43734 #ifdef __cplusplus
43735 extern "C"
43736 #endif
43737 char $ac_func ();
43738 /* The GNU C library defines this for functions which it implements
43739     to always fail with ENOSYS.  Some functions are actually named
43740     something starting with __ and the normal name is an alias.  */
43741 #if defined __stub_$ac_func || defined __stub___$ac_func
43742 choke me
43743 #endif
43744
43745 int
43746 main ()
43747 {
43748 return $ac_func ();
43749   ;
43750   return 0;
43751 }
43752 _ACEOF
43753 rm -f conftest.$ac_objext conftest$ac_exeext
43754 if { (ac_try="$ac_link"
43755 case "(($ac_try" in
43756   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43757   *) ac_try_echo=$ac_try;;
43758 esac
43759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43760   (eval "$ac_link") 2>conftest.er1
43761   ac_status=$?
43762   grep -v '^ *+' conftest.er1 >conftest.err
43763   rm -f conftest.er1
43764   cat conftest.err >&5
43765   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43766   (exit $ac_status); } && {
43767          test -z "$ac_c_werror_flag" ||
43768          test ! -s conftest.err
43769        } && test -s conftest$ac_exeext &&
43770        $as_test_x conftest$ac_exeext; then
43771   eval "$as_ac_var=yes"
43772 else
43773   echo "$as_me: failed program was:" >&5
43774 sed 's/^/| /' conftest.$ac_ext >&5
43775
43776         eval "$as_ac_var=no"
43777 fi
43778
43779 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43780       conftest$ac_exeext conftest.$ac_ext
43781 fi
43782 ac_res=`eval echo '${'$as_ac_var'}'`
43783                { echo "$as_me:$LINENO: result: $ac_res" >&5
43784 echo "${ECHO_T}$ac_res" >&6; }
43785 if test `eval echo '${'$as_ac_var'}'` = yes; then
43786   cat >>confdefs.h <<_ACEOF
43787 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43788 _ACEOF
43789
43790 fi
43791 done
43792
43793     fi
43794   fi
43795
43796
43797
43798
43799
43800
43801   { echo "$as_me:$LINENO: checking for sincos declaration" >&5
43802 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6; }
43803   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
43804     if test "${glibcxx_cv_func_sincos_use+set}" = set; then
43805   echo $ECHO_N "(cached) $ECHO_C" >&6
43806 else
43807
43808
43809       ac_ext=cpp
43810 ac_cpp='$CXXCPP $CPPFLAGS'
43811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43814
43815       cat >conftest.$ac_ext <<_ACEOF
43816 /* confdefs.h.  */
43817 _ACEOF
43818 cat confdefs.h >>conftest.$ac_ext
43819 cat >>conftest.$ac_ext <<_ACEOF
43820 /* end confdefs.h.  */
43821 #include <math.h>
43822 int
43823 main ()
43824 {
43825  sincos(0, 0, 0);
43826   ;
43827   return 0;
43828 }
43829 _ACEOF
43830 rm -f conftest.$ac_objext
43831 if { (ac_try="$ac_compile"
43832 case "(($ac_try" in
43833   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43834   *) ac_try_echo=$ac_try;;
43835 esac
43836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43837   (eval "$ac_compile") 2>conftest.er1
43838   ac_status=$?
43839   grep -v '^ *+' conftest.er1 >conftest.err
43840   rm -f conftest.er1
43841   cat conftest.err >&5
43842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43843   (exit $ac_status); } && {
43844          test -z "$ac_cxx_werror_flag" ||
43845          test ! -s conftest.err
43846        } && test -s conftest.$ac_objext; then
43847   glibcxx_cv_func_sincos_use=yes
43848 else
43849   echo "$as_me: failed program was:" >&5
43850 sed 's/^/| /' conftest.$ac_ext >&5
43851
43852         glibcxx_cv_func_sincos_use=no
43853 fi
43854
43855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43856       ac_ext=c
43857 ac_cpp='$CPP $CPPFLAGS'
43858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43861
43862
43863 fi
43864
43865   fi
43866   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
43867 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6; }
43868
43869   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
43870
43871 for ac_func in sincos
43872 do
43873 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43874 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43875 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43876 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43877   echo $ECHO_N "(cached) $ECHO_C" >&6
43878 else
43879   if test x$gcc_no_link = xyes; then
43880   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43881 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43882    { (exit 1); exit 1; }; }
43883 fi
43884 cat >conftest.$ac_ext <<_ACEOF
43885 /* confdefs.h.  */
43886 _ACEOF
43887 cat confdefs.h >>conftest.$ac_ext
43888 cat >>conftest.$ac_ext <<_ACEOF
43889 /* end confdefs.h.  */
43890 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43891    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
43892 #define $ac_func innocuous_$ac_func
43893
43894 /* System header to define __stub macros and hopefully few prototypes,
43895     which can conflict with char $ac_func (); below.
43896     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43897     <limits.h> exists even on freestanding compilers.  */
43898
43899 #ifdef __STDC__
43900 # include <limits.h>
43901 #else
43902 # include <assert.h>
43903 #endif
43904
43905 #undef $ac_func
43906
43907 /* Override any GCC internal prototype to avoid an error.
43908    Use char because int might match the return type of a GCC
43909    builtin and then its argument prototype would still apply.  */
43910 #ifdef __cplusplus
43911 extern "C"
43912 #endif
43913 char $ac_func ();
43914 /* The GNU C library defines this for functions which it implements
43915     to always fail with ENOSYS.  Some functions are actually named
43916     something starting with __ and the normal name is an alias.  */
43917 #if defined __stub_$ac_func || defined __stub___$ac_func
43918 choke me
43919 #endif
43920
43921 int
43922 main ()
43923 {
43924 return $ac_func ();
43925   ;
43926   return 0;
43927 }
43928 _ACEOF
43929 rm -f conftest.$ac_objext conftest$ac_exeext
43930 if { (ac_try="$ac_link"
43931 case "(($ac_try" in
43932   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43933   *) ac_try_echo=$ac_try;;
43934 esac
43935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43936   (eval "$ac_link") 2>conftest.er1
43937   ac_status=$?
43938   grep -v '^ *+' conftest.er1 >conftest.err
43939   rm -f conftest.er1
43940   cat conftest.err >&5
43941   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43942   (exit $ac_status); } && {
43943          test -z "$ac_c_werror_flag" ||
43944          test ! -s conftest.err
43945        } && test -s conftest$ac_exeext &&
43946        $as_test_x conftest$ac_exeext; then
43947   eval "$as_ac_var=yes"
43948 else
43949   echo "$as_me: failed program was:" >&5
43950 sed 's/^/| /' conftest.$ac_ext >&5
43951
43952         eval "$as_ac_var=no"
43953 fi
43954
43955 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43956       conftest$ac_exeext conftest.$ac_ext
43957 fi
43958 ac_res=`eval echo '${'$as_ac_var'}'`
43959                { echo "$as_me:$LINENO: result: $ac_res" >&5
43960 echo "${ECHO_T}$ac_res" >&6; }
43961 if test `eval echo '${'$as_ac_var'}'` = yes; then
43962   cat >>confdefs.h <<_ACEOF
43963 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43964 _ACEOF
43965
43966 fi
43967 done
43968
43969   else
43970
43971   { echo "$as_me:$LINENO: checking for _sincos declaration" >&5
43972 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6; }
43973   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
43974     if test "${glibcxx_cv_func__sincos_use+set}" = set; then
43975   echo $ECHO_N "(cached) $ECHO_C" >&6
43976 else
43977
43978
43979       ac_ext=cpp
43980 ac_cpp='$CXXCPP $CPPFLAGS'
43981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43984
43985       cat >conftest.$ac_ext <<_ACEOF
43986 /* confdefs.h.  */
43987 _ACEOF
43988 cat confdefs.h >>conftest.$ac_ext
43989 cat >>conftest.$ac_ext <<_ACEOF
43990 /* end confdefs.h.  */
43991 #include <math.h>
43992 int
43993 main ()
43994 {
43995  _sincos(0, 0, 0);
43996   ;
43997   return 0;
43998 }
43999 _ACEOF
44000 rm -f conftest.$ac_objext
44001 if { (ac_try="$ac_compile"
44002 case "(($ac_try" in
44003   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44004   *) ac_try_echo=$ac_try;;
44005 esac
44006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44007   (eval "$ac_compile") 2>conftest.er1
44008   ac_status=$?
44009   grep -v '^ *+' conftest.er1 >conftest.err
44010   rm -f conftest.er1
44011   cat conftest.err >&5
44012   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44013   (exit $ac_status); } && {
44014          test -z "$ac_cxx_werror_flag" ||
44015          test ! -s conftest.err
44016        } && test -s conftest.$ac_objext; then
44017   glibcxx_cv_func__sincos_use=yes
44018 else
44019   echo "$as_me: failed program was:" >&5
44020 sed 's/^/| /' conftest.$ac_ext >&5
44021
44022         glibcxx_cv_func__sincos_use=no
44023 fi
44024
44025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44026       ac_ext=c
44027 ac_cpp='$CPP $CPPFLAGS'
44028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44031
44032
44033 fi
44034
44035   fi
44036   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
44037 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6; }
44038
44039     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
44040
44041 for ac_func in _sincos
44042 do
44043 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44044 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44045 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44046 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44047   echo $ECHO_N "(cached) $ECHO_C" >&6
44048 else
44049   if test x$gcc_no_link = xyes; then
44050   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44051 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44052    { (exit 1); exit 1; }; }
44053 fi
44054 cat >conftest.$ac_ext <<_ACEOF
44055 /* confdefs.h.  */
44056 _ACEOF
44057 cat confdefs.h >>conftest.$ac_ext
44058 cat >>conftest.$ac_ext <<_ACEOF
44059 /* end confdefs.h.  */
44060 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44061    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44062 #define $ac_func innocuous_$ac_func
44063
44064 /* System header to define __stub macros and hopefully few prototypes,
44065     which can conflict with char $ac_func (); below.
44066     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44067     <limits.h> exists even on freestanding compilers.  */
44068
44069 #ifdef __STDC__
44070 # include <limits.h>
44071 #else
44072 # include <assert.h>
44073 #endif
44074
44075 #undef $ac_func
44076
44077 /* Override any GCC internal prototype to avoid an error.
44078    Use char because int might match the return type of a GCC
44079    builtin and then its argument prototype would still apply.  */
44080 #ifdef __cplusplus
44081 extern "C"
44082 #endif
44083 char $ac_func ();
44084 /* The GNU C library defines this for functions which it implements
44085     to always fail with ENOSYS.  Some functions are actually named
44086     something starting with __ and the normal name is an alias.  */
44087 #if defined __stub_$ac_func || defined __stub___$ac_func
44088 choke me
44089 #endif
44090
44091 int
44092 main ()
44093 {
44094 return $ac_func ();
44095   ;
44096   return 0;
44097 }
44098 _ACEOF
44099 rm -f conftest.$ac_objext conftest$ac_exeext
44100 if { (ac_try="$ac_link"
44101 case "(($ac_try" in
44102   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44103   *) ac_try_echo=$ac_try;;
44104 esac
44105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44106   (eval "$ac_link") 2>conftest.er1
44107   ac_status=$?
44108   grep -v '^ *+' conftest.er1 >conftest.err
44109   rm -f conftest.er1
44110   cat conftest.err >&5
44111   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44112   (exit $ac_status); } && {
44113          test -z "$ac_c_werror_flag" ||
44114          test ! -s conftest.err
44115        } && test -s conftest$ac_exeext &&
44116        $as_test_x conftest$ac_exeext; then
44117   eval "$as_ac_var=yes"
44118 else
44119   echo "$as_me: failed program was:" >&5
44120 sed 's/^/| /' conftest.$ac_ext >&5
44121
44122         eval "$as_ac_var=no"
44123 fi
44124
44125 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44126       conftest$ac_exeext conftest.$ac_ext
44127 fi
44128 ac_res=`eval echo '${'$as_ac_var'}'`
44129                { echo "$as_me:$LINENO: result: $ac_res" >&5
44130 echo "${ECHO_T}$ac_res" >&6; }
44131 if test `eval echo '${'$as_ac_var'}'` = yes; then
44132   cat >>confdefs.h <<_ACEOF
44133 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44134 _ACEOF
44135
44136 fi
44137 done
44138
44139     fi
44140   fi
44141
44142
44143
44144
44145
44146
44147   { echo "$as_me:$LINENO: checking for fpclass declaration" >&5
44148 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6; }
44149   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
44150     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
44151   echo $ECHO_N "(cached) $ECHO_C" >&6
44152 else
44153
44154
44155       ac_ext=cpp
44156 ac_cpp='$CXXCPP $CPPFLAGS'
44157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44160
44161       cat >conftest.$ac_ext <<_ACEOF
44162 /* confdefs.h.  */
44163 _ACEOF
44164 cat confdefs.h >>conftest.$ac_ext
44165 cat >>conftest.$ac_ext <<_ACEOF
44166 /* end confdefs.h.  */
44167 #include <math.h>
44168                       #ifdef HAVE_IEEEFP_H
44169                       #include <ieeefp.h>
44170                       #endif
44171
44172 int
44173 main ()
44174 {
44175  fpclass(0);
44176   ;
44177   return 0;
44178 }
44179 _ACEOF
44180 rm -f conftest.$ac_objext
44181 if { (ac_try="$ac_compile"
44182 case "(($ac_try" in
44183   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44184   *) ac_try_echo=$ac_try;;
44185 esac
44186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44187   (eval "$ac_compile") 2>conftest.er1
44188   ac_status=$?
44189   grep -v '^ *+' conftest.er1 >conftest.err
44190   rm -f conftest.er1
44191   cat conftest.err >&5
44192   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44193   (exit $ac_status); } && {
44194          test -z "$ac_cxx_werror_flag" ||
44195          test ! -s conftest.err
44196        } && test -s conftest.$ac_objext; then
44197   glibcxx_cv_func_fpclass_use=yes
44198 else
44199   echo "$as_me: failed program was:" >&5
44200 sed 's/^/| /' conftest.$ac_ext >&5
44201
44202         glibcxx_cv_func_fpclass_use=no
44203 fi
44204
44205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44206       ac_ext=c
44207 ac_cpp='$CPP $CPPFLAGS'
44208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44211
44212
44213 fi
44214
44215   fi
44216   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
44217 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6; }
44218
44219   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
44220
44221 for ac_func in fpclass
44222 do
44223 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44224 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44225 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44226 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44227   echo $ECHO_N "(cached) $ECHO_C" >&6
44228 else
44229   if test x$gcc_no_link = xyes; then
44230   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44231 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44232    { (exit 1); exit 1; }; }
44233 fi
44234 cat >conftest.$ac_ext <<_ACEOF
44235 /* confdefs.h.  */
44236 _ACEOF
44237 cat confdefs.h >>conftest.$ac_ext
44238 cat >>conftest.$ac_ext <<_ACEOF
44239 /* end confdefs.h.  */
44240 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44241    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44242 #define $ac_func innocuous_$ac_func
44243
44244 /* System header to define __stub macros and hopefully few prototypes,
44245     which can conflict with char $ac_func (); below.
44246     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44247     <limits.h> exists even on freestanding compilers.  */
44248
44249 #ifdef __STDC__
44250 # include <limits.h>
44251 #else
44252 # include <assert.h>
44253 #endif
44254
44255 #undef $ac_func
44256
44257 /* Override any GCC internal prototype to avoid an error.
44258    Use char because int might match the return type of a GCC
44259    builtin and then its argument prototype would still apply.  */
44260 #ifdef __cplusplus
44261 extern "C"
44262 #endif
44263 char $ac_func ();
44264 /* The GNU C library defines this for functions which it implements
44265     to always fail with ENOSYS.  Some functions are actually named
44266     something starting with __ and the normal name is an alias.  */
44267 #if defined __stub_$ac_func || defined __stub___$ac_func
44268 choke me
44269 #endif
44270
44271 int
44272 main ()
44273 {
44274 return $ac_func ();
44275   ;
44276   return 0;
44277 }
44278 _ACEOF
44279 rm -f conftest.$ac_objext conftest$ac_exeext
44280 if { (ac_try="$ac_link"
44281 case "(($ac_try" in
44282   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44283   *) ac_try_echo=$ac_try;;
44284 esac
44285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44286   (eval "$ac_link") 2>conftest.er1
44287   ac_status=$?
44288   grep -v '^ *+' conftest.er1 >conftest.err
44289   rm -f conftest.er1
44290   cat conftest.err >&5
44291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44292   (exit $ac_status); } && {
44293          test -z "$ac_c_werror_flag" ||
44294          test ! -s conftest.err
44295        } && test -s conftest$ac_exeext &&
44296        $as_test_x conftest$ac_exeext; then
44297   eval "$as_ac_var=yes"
44298 else
44299   echo "$as_me: failed program was:" >&5
44300 sed 's/^/| /' conftest.$ac_ext >&5
44301
44302         eval "$as_ac_var=no"
44303 fi
44304
44305 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44306       conftest$ac_exeext conftest.$ac_ext
44307 fi
44308 ac_res=`eval echo '${'$as_ac_var'}'`
44309                { echo "$as_me:$LINENO: result: $ac_res" >&5
44310 echo "${ECHO_T}$ac_res" >&6; }
44311 if test `eval echo '${'$as_ac_var'}'` = yes; then
44312   cat >>confdefs.h <<_ACEOF
44313 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44314 _ACEOF
44315
44316 fi
44317 done
44318
44319   else
44320
44321   { echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
44322 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6; }
44323   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
44324     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
44325   echo $ECHO_N "(cached) $ECHO_C" >&6
44326 else
44327
44328
44329       ac_ext=cpp
44330 ac_cpp='$CXXCPP $CPPFLAGS'
44331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44334
44335       cat >conftest.$ac_ext <<_ACEOF
44336 /* confdefs.h.  */
44337 _ACEOF
44338 cat confdefs.h >>conftest.$ac_ext
44339 cat >>conftest.$ac_ext <<_ACEOF
44340 /* end confdefs.h.  */
44341 #include <math.h>
44342                       #ifdef HAVE_IEEEFP_H
44343                       #include <ieeefp.h>
44344                       #endif
44345
44346 int
44347 main ()
44348 {
44349  _fpclass(0);
44350   ;
44351   return 0;
44352 }
44353 _ACEOF
44354 rm -f conftest.$ac_objext
44355 if { (ac_try="$ac_compile"
44356 case "(($ac_try" in
44357   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44358   *) ac_try_echo=$ac_try;;
44359 esac
44360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44361   (eval "$ac_compile") 2>conftest.er1
44362   ac_status=$?
44363   grep -v '^ *+' conftest.er1 >conftest.err
44364   rm -f conftest.er1
44365   cat conftest.err >&5
44366   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44367   (exit $ac_status); } && {
44368          test -z "$ac_cxx_werror_flag" ||
44369          test ! -s conftest.err
44370        } && test -s conftest.$ac_objext; then
44371   glibcxx_cv_func__fpclass_use=yes
44372 else
44373   echo "$as_me: failed program was:" >&5
44374 sed 's/^/| /' conftest.$ac_ext >&5
44375
44376         glibcxx_cv_func__fpclass_use=no
44377 fi
44378
44379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44380       ac_ext=c
44381 ac_cpp='$CPP $CPPFLAGS'
44382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44385
44386
44387 fi
44388
44389   fi
44390   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
44391 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6; }
44392
44393     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
44394
44395 for ac_func in _fpclass
44396 do
44397 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44398 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44399 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44400 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44401   echo $ECHO_N "(cached) $ECHO_C" >&6
44402 else
44403   if test x$gcc_no_link = xyes; then
44404   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44405 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44406    { (exit 1); exit 1; }; }
44407 fi
44408 cat >conftest.$ac_ext <<_ACEOF
44409 /* confdefs.h.  */
44410 _ACEOF
44411 cat confdefs.h >>conftest.$ac_ext
44412 cat >>conftest.$ac_ext <<_ACEOF
44413 /* end confdefs.h.  */
44414 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44415    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44416 #define $ac_func innocuous_$ac_func
44417
44418 /* System header to define __stub macros and hopefully few prototypes,
44419     which can conflict with char $ac_func (); below.
44420     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44421     <limits.h> exists even on freestanding compilers.  */
44422
44423 #ifdef __STDC__
44424 # include <limits.h>
44425 #else
44426 # include <assert.h>
44427 #endif
44428
44429 #undef $ac_func
44430
44431 /* Override any GCC internal prototype to avoid an error.
44432    Use char because int might match the return type of a GCC
44433    builtin and then its argument prototype would still apply.  */
44434 #ifdef __cplusplus
44435 extern "C"
44436 #endif
44437 char $ac_func ();
44438 /* The GNU C library defines this for functions which it implements
44439     to always fail with ENOSYS.  Some functions are actually named
44440     something starting with __ and the normal name is an alias.  */
44441 #if defined __stub_$ac_func || defined __stub___$ac_func
44442 choke me
44443 #endif
44444
44445 int
44446 main ()
44447 {
44448 return $ac_func ();
44449   ;
44450   return 0;
44451 }
44452 _ACEOF
44453 rm -f conftest.$ac_objext conftest$ac_exeext
44454 if { (ac_try="$ac_link"
44455 case "(($ac_try" in
44456   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44457   *) ac_try_echo=$ac_try;;
44458 esac
44459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44460   (eval "$ac_link") 2>conftest.er1
44461   ac_status=$?
44462   grep -v '^ *+' conftest.er1 >conftest.err
44463   rm -f conftest.er1
44464   cat conftest.err >&5
44465   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44466   (exit $ac_status); } && {
44467          test -z "$ac_c_werror_flag" ||
44468          test ! -s conftest.err
44469        } && test -s conftest$ac_exeext &&
44470        $as_test_x conftest$ac_exeext; then
44471   eval "$as_ac_var=yes"
44472 else
44473   echo "$as_me: failed program was:" >&5
44474 sed 's/^/| /' conftest.$ac_ext >&5
44475
44476         eval "$as_ac_var=no"
44477 fi
44478
44479 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44480       conftest$ac_exeext conftest.$ac_ext
44481 fi
44482 ac_res=`eval echo '${'$as_ac_var'}'`
44483                { echo "$as_me:$LINENO: result: $ac_res" >&5
44484 echo "${ECHO_T}$ac_res" >&6; }
44485 if test `eval echo '${'$as_ac_var'}'` = yes; then
44486   cat >>confdefs.h <<_ACEOF
44487 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44488 _ACEOF
44489
44490 fi
44491 done
44492
44493     fi
44494   fi
44495
44496
44497
44498
44499
44500
44501   { echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
44502 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6; }
44503   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
44504     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
44505   echo $ECHO_N "(cached) $ECHO_C" >&6
44506 else
44507
44508
44509       ac_ext=cpp
44510 ac_cpp='$CXXCPP $CPPFLAGS'
44511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44514
44515       cat >conftest.$ac_ext <<_ACEOF
44516 /* confdefs.h.  */
44517 _ACEOF
44518 cat confdefs.h >>conftest.$ac_ext
44519 cat >>conftest.$ac_ext <<_ACEOF
44520 /* end confdefs.h.  */
44521 #include <math.h>
44522                       #ifdef HAVE_IEEEFP_H
44523                       #include <ieeefp.h>
44524                       #endif
44525
44526 int
44527 main ()
44528 {
44529  qfpclass(0);
44530   ;
44531   return 0;
44532 }
44533 _ACEOF
44534 rm -f conftest.$ac_objext
44535 if { (ac_try="$ac_compile"
44536 case "(($ac_try" in
44537   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44538   *) ac_try_echo=$ac_try;;
44539 esac
44540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44541   (eval "$ac_compile") 2>conftest.er1
44542   ac_status=$?
44543   grep -v '^ *+' conftest.er1 >conftest.err
44544   rm -f conftest.er1
44545   cat conftest.err >&5
44546   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44547   (exit $ac_status); } && {
44548          test -z "$ac_cxx_werror_flag" ||
44549          test ! -s conftest.err
44550        } && test -s conftest.$ac_objext; then
44551   glibcxx_cv_func_qfpclass_use=yes
44552 else
44553   echo "$as_me: failed program was:" >&5
44554 sed 's/^/| /' conftest.$ac_ext >&5
44555
44556         glibcxx_cv_func_qfpclass_use=no
44557 fi
44558
44559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44560       ac_ext=c
44561 ac_cpp='$CPP $CPPFLAGS'
44562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44565
44566
44567 fi
44568
44569   fi
44570   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
44571 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6; }
44572
44573   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
44574
44575 for ac_func in qfpclass
44576 do
44577 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44578 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44579 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44580 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44581   echo $ECHO_N "(cached) $ECHO_C" >&6
44582 else
44583   if test x$gcc_no_link = xyes; then
44584   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44585 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44586    { (exit 1); exit 1; }; }
44587 fi
44588 cat >conftest.$ac_ext <<_ACEOF
44589 /* confdefs.h.  */
44590 _ACEOF
44591 cat confdefs.h >>conftest.$ac_ext
44592 cat >>conftest.$ac_ext <<_ACEOF
44593 /* end confdefs.h.  */
44594 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44595    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44596 #define $ac_func innocuous_$ac_func
44597
44598 /* System header to define __stub macros and hopefully few prototypes,
44599     which can conflict with char $ac_func (); below.
44600     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44601     <limits.h> exists even on freestanding compilers.  */
44602
44603 #ifdef __STDC__
44604 # include <limits.h>
44605 #else
44606 # include <assert.h>
44607 #endif
44608
44609 #undef $ac_func
44610
44611 /* Override any GCC internal prototype to avoid an error.
44612    Use char because int might match the return type of a GCC
44613    builtin and then its argument prototype would still apply.  */
44614 #ifdef __cplusplus
44615 extern "C"
44616 #endif
44617 char $ac_func ();
44618 /* The GNU C library defines this for functions which it implements
44619     to always fail with ENOSYS.  Some functions are actually named
44620     something starting with __ and the normal name is an alias.  */
44621 #if defined __stub_$ac_func || defined __stub___$ac_func
44622 choke me
44623 #endif
44624
44625 int
44626 main ()
44627 {
44628 return $ac_func ();
44629   ;
44630   return 0;
44631 }
44632 _ACEOF
44633 rm -f conftest.$ac_objext conftest$ac_exeext
44634 if { (ac_try="$ac_link"
44635 case "(($ac_try" in
44636   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44637   *) ac_try_echo=$ac_try;;
44638 esac
44639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44640   (eval "$ac_link") 2>conftest.er1
44641   ac_status=$?
44642   grep -v '^ *+' conftest.er1 >conftest.err
44643   rm -f conftest.er1
44644   cat conftest.err >&5
44645   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44646   (exit $ac_status); } && {
44647          test -z "$ac_c_werror_flag" ||
44648          test ! -s conftest.err
44649        } && test -s conftest$ac_exeext &&
44650        $as_test_x conftest$ac_exeext; then
44651   eval "$as_ac_var=yes"
44652 else
44653   echo "$as_me: failed program was:" >&5
44654 sed 's/^/| /' conftest.$ac_ext >&5
44655
44656         eval "$as_ac_var=no"
44657 fi
44658
44659 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44660       conftest$ac_exeext conftest.$ac_ext
44661 fi
44662 ac_res=`eval echo '${'$as_ac_var'}'`
44663                { echo "$as_me:$LINENO: result: $ac_res" >&5
44664 echo "${ECHO_T}$ac_res" >&6; }
44665 if test `eval echo '${'$as_ac_var'}'` = yes; then
44666   cat >>confdefs.h <<_ACEOF
44667 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44668 _ACEOF
44669
44670 fi
44671 done
44672
44673   else
44674
44675   { echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
44676 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6; }
44677   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
44678     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
44679   echo $ECHO_N "(cached) $ECHO_C" >&6
44680 else
44681
44682
44683       ac_ext=cpp
44684 ac_cpp='$CXXCPP $CPPFLAGS'
44685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44688
44689       cat >conftest.$ac_ext <<_ACEOF
44690 /* confdefs.h.  */
44691 _ACEOF
44692 cat confdefs.h >>conftest.$ac_ext
44693 cat >>conftest.$ac_ext <<_ACEOF
44694 /* end confdefs.h.  */
44695 #include <math.h>
44696                       #ifdef HAVE_IEEEFP_H
44697                       #include <ieeefp.h>
44698                       #endif
44699
44700 int
44701 main ()
44702 {
44703  _qfpclass(0);
44704   ;
44705   return 0;
44706 }
44707 _ACEOF
44708 rm -f conftest.$ac_objext
44709 if { (ac_try="$ac_compile"
44710 case "(($ac_try" in
44711   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44712   *) ac_try_echo=$ac_try;;
44713 esac
44714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44715   (eval "$ac_compile") 2>conftest.er1
44716   ac_status=$?
44717   grep -v '^ *+' conftest.er1 >conftest.err
44718   rm -f conftest.er1
44719   cat conftest.err >&5
44720   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44721   (exit $ac_status); } && {
44722          test -z "$ac_cxx_werror_flag" ||
44723          test ! -s conftest.err
44724        } && test -s conftest.$ac_objext; then
44725   glibcxx_cv_func__qfpclass_use=yes
44726 else
44727   echo "$as_me: failed program was:" >&5
44728 sed 's/^/| /' conftest.$ac_ext >&5
44729
44730         glibcxx_cv_func__qfpclass_use=no
44731 fi
44732
44733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44734       ac_ext=c
44735 ac_cpp='$CPP $CPPFLAGS'
44736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44739
44740
44741 fi
44742
44743   fi
44744   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
44745 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6; }
44746
44747     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
44748
44749 for ac_func in _qfpclass
44750 do
44751 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44752 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44753 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44754 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44755   echo $ECHO_N "(cached) $ECHO_C" >&6
44756 else
44757   if test x$gcc_no_link = xyes; then
44758   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44759 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44760    { (exit 1); exit 1; }; }
44761 fi
44762 cat >conftest.$ac_ext <<_ACEOF
44763 /* confdefs.h.  */
44764 _ACEOF
44765 cat confdefs.h >>conftest.$ac_ext
44766 cat >>conftest.$ac_ext <<_ACEOF
44767 /* end confdefs.h.  */
44768 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44769    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44770 #define $ac_func innocuous_$ac_func
44771
44772 /* System header to define __stub macros and hopefully few prototypes,
44773     which can conflict with char $ac_func (); below.
44774     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44775     <limits.h> exists even on freestanding compilers.  */
44776
44777 #ifdef __STDC__
44778 # include <limits.h>
44779 #else
44780 # include <assert.h>
44781 #endif
44782
44783 #undef $ac_func
44784
44785 /* Override any GCC internal prototype to avoid an error.
44786    Use char because int might match the return type of a GCC
44787    builtin and then its argument prototype would still apply.  */
44788 #ifdef __cplusplus
44789 extern "C"
44790 #endif
44791 char $ac_func ();
44792 /* The GNU C library defines this for functions which it implements
44793     to always fail with ENOSYS.  Some functions are actually named
44794     something starting with __ and the normal name is an alias.  */
44795 #if defined __stub_$ac_func || defined __stub___$ac_func
44796 choke me
44797 #endif
44798
44799 int
44800 main ()
44801 {
44802 return $ac_func ();
44803   ;
44804   return 0;
44805 }
44806 _ACEOF
44807 rm -f conftest.$ac_objext conftest$ac_exeext
44808 if { (ac_try="$ac_link"
44809 case "(($ac_try" in
44810   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44811   *) ac_try_echo=$ac_try;;
44812 esac
44813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44814   (eval "$ac_link") 2>conftest.er1
44815   ac_status=$?
44816   grep -v '^ *+' conftest.er1 >conftest.err
44817   rm -f conftest.er1
44818   cat conftest.err >&5
44819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44820   (exit $ac_status); } && {
44821          test -z "$ac_c_werror_flag" ||
44822          test ! -s conftest.err
44823        } && test -s conftest$ac_exeext &&
44824        $as_test_x conftest$ac_exeext; then
44825   eval "$as_ac_var=yes"
44826 else
44827   echo "$as_me: failed program was:" >&5
44828 sed 's/^/| /' conftest.$ac_ext >&5
44829
44830         eval "$as_ac_var=no"
44831 fi
44832
44833 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44834       conftest$ac_exeext conftest.$ac_ext
44835 fi
44836 ac_res=`eval echo '${'$as_ac_var'}'`
44837                { echo "$as_me:$LINENO: result: $ac_res" >&5
44838 echo "${ECHO_T}$ac_res" >&6; }
44839 if test `eval echo '${'$as_ac_var'}'` = yes; then
44840   cat >>confdefs.h <<_ACEOF
44841 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44842 _ACEOF
44843
44844 fi
44845 done
44846
44847     fi
44848   fi
44849
44850
44851
44852
44853
44854
44855   { echo "$as_me:$LINENO: checking for hypot declaration" >&5
44856 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6; }
44857   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
44858     if test "${glibcxx_cv_func_hypot_use+set}" = set; then
44859   echo $ECHO_N "(cached) $ECHO_C" >&6
44860 else
44861
44862
44863       ac_ext=cpp
44864 ac_cpp='$CXXCPP $CPPFLAGS'
44865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44868
44869       cat >conftest.$ac_ext <<_ACEOF
44870 /* confdefs.h.  */
44871 _ACEOF
44872 cat confdefs.h >>conftest.$ac_ext
44873 cat >>conftest.$ac_ext <<_ACEOF
44874 /* end confdefs.h.  */
44875 #include <math.h>
44876 int
44877 main ()
44878 {
44879  hypot(0, 0);
44880   ;
44881   return 0;
44882 }
44883 _ACEOF
44884 rm -f conftest.$ac_objext
44885 if { (ac_try="$ac_compile"
44886 case "(($ac_try" in
44887   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44888   *) ac_try_echo=$ac_try;;
44889 esac
44890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44891   (eval "$ac_compile") 2>conftest.er1
44892   ac_status=$?
44893   grep -v '^ *+' conftest.er1 >conftest.err
44894   rm -f conftest.er1
44895   cat conftest.err >&5
44896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44897   (exit $ac_status); } && {
44898          test -z "$ac_cxx_werror_flag" ||
44899          test ! -s conftest.err
44900        } && test -s conftest.$ac_objext; then
44901   glibcxx_cv_func_hypot_use=yes
44902 else
44903   echo "$as_me: failed program was:" >&5
44904 sed 's/^/| /' conftest.$ac_ext >&5
44905
44906         glibcxx_cv_func_hypot_use=no
44907 fi
44908
44909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44910       ac_ext=c
44911 ac_cpp='$CPP $CPPFLAGS'
44912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44915
44916
44917 fi
44918
44919   fi
44920   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
44921 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6; }
44922
44923   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
44924
44925 for ac_func in hypot
44926 do
44927 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44928 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44929 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44930 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44931   echo $ECHO_N "(cached) $ECHO_C" >&6
44932 else
44933   if test x$gcc_no_link = xyes; then
44934   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44935 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44936    { (exit 1); exit 1; }; }
44937 fi
44938 cat >conftest.$ac_ext <<_ACEOF
44939 /* confdefs.h.  */
44940 _ACEOF
44941 cat confdefs.h >>conftest.$ac_ext
44942 cat >>conftest.$ac_ext <<_ACEOF
44943 /* end confdefs.h.  */
44944 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44945    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44946 #define $ac_func innocuous_$ac_func
44947
44948 /* System header to define __stub macros and hopefully few prototypes,
44949     which can conflict with char $ac_func (); below.
44950     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44951     <limits.h> exists even on freestanding compilers.  */
44952
44953 #ifdef __STDC__
44954 # include <limits.h>
44955 #else
44956 # include <assert.h>
44957 #endif
44958
44959 #undef $ac_func
44960
44961 /* Override any GCC internal prototype to avoid an error.
44962    Use char because int might match the return type of a GCC
44963    builtin and then its argument prototype would still apply.  */
44964 #ifdef __cplusplus
44965 extern "C"
44966 #endif
44967 char $ac_func ();
44968 /* The GNU C library defines this for functions which it implements
44969     to always fail with ENOSYS.  Some functions are actually named
44970     something starting with __ and the normal name is an alias.  */
44971 #if defined __stub_$ac_func || defined __stub___$ac_func
44972 choke me
44973 #endif
44974
44975 int
44976 main ()
44977 {
44978 return $ac_func ();
44979   ;
44980   return 0;
44981 }
44982 _ACEOF
44983 rm -f conftest.$ac_objext conftest$ac_exeext
44984 if { (ac_try="$ac_link"
44985 case "(($ac_try" in
44986   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44987   *) ac_try_echo=$ac_try;;
44988 esac
44989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44990   (eval "$ac_link") 2>conftest.er1
44991   ac_status=$?
44992   grep -v '^ *+' conftest.er1 >conftest.err
44993   rm -f conftest.er1
44994   cat conftest.err >&5
44995   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44996   (exit $ac_status); } && {
44997          test -z "$ac_c_werror_flag" ||
44998          test ! -s conftest.err
44999        } && test -s conftest$ac_exeext &&
45000        $as_test_x conftest$ac_exeext; then
45001   eval "$as_ac_var=yes"
45002 else
45003   echo "$as_me: failed program was:" >&5
45004 sed 's/^/| /' conftest.$ac_ext >&5
45005
45006         eval "$as_ac_var=no"
45007 fi
45008
45009 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45010       conftest$ac_exeext conftest.$ac_ext
45011 fi
45012 ac_res=`eval echo '${'$as_ac_var'}'`
45013                { echo "$as_me:$LINENO: result: $ac_res" >&5
45014 echo "${ECHO_T}$ac_res" >&6; }
45015 if test `eval echo '${'$as_ac_var'}'` = yes; then
45016   cat >>confdefs.h <<_ACEOF
45017 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45018 _ACEOF
45019
45020 fi
45021 done
45022
45023   else
45024
45025   { echo "$as_me:$LINENO: checking for _hypot declaration" >&5
45026 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6; }
45027   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
45028     if test "${glibcxx_cv_func__hypot_use+set}" = set; then
45029   echo $ECHO_N "(cached) $ECHO_C" >&6
45030 else
45031
45032
45033       ac_ext=cpp
45034 ac_cpp='$CXXCPP $CPPFLAGS'
45035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45038
45039       cat >conftest.$ac_ext <<_ACEOF
45040 /* confdefs.h.  */
45041 _ACEOF
45042 cat confdefs.h >>conftest.$ac_ext
45043 cat >>conftest.$ac_ext <<_ACEOF
45044 /* end confdefs.h.  */
45045 #include <math.h>
45046 int
45047 main ()
45048 {
45049  _hypot(0, 0);
45050   ;
45051   return 0;
45052 }
45053 _ACEOF
45054 rm -f conftest.$ac_objext
45055 if { (ac_try="$ac_compile"
45056 case "(($ac_try" in
45057   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45058   *) ac_try_echo=$ac_try;;
45059 esac
45060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45061   (eval "$ac_compile") 2>conftest.er1
45062   ac_status=$?
45063   grep -v '^ *+' conftest.er1 >conftest.err
45064   rm -f conftest.er1
45065   cat conftest.err >&5
45066   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45067   (exit $ac_status); } && {
45068          test -z "$ac_cxx_werror_flag" ||
45069          test ! -s conftest.err
45070        } && test -s conftest.$ac_objext; then
45071   glibcxx_cv_func__hypot_use=yes
45072 else
45073   echo "$as_me: failed program was:" >&5
45074 sed 's/^/| /' conftest.$ac_ext >&5
45075
45076         glibcxx_cv_func__hypot_use=no
45077 fi
45078
45079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45080       ac_ext=c
45081 ac_cpp='$CPP $CPPFLAGS'
45082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45085
45086
45087 fi
45088
45089   fi
45090   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
45091 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6; }
45092
45093     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
45094
45095 for ac_func in _hypot
45096 do
45097 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45098 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45099 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45100 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45101   echo $ECHO_N "(cached) $ECHO_C" >&6
45102 else
45103   if test x$gcc_no_link = xyes; then
45104   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45105 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45106    { (exit 1); exit 1; }; }
45107 fi
45108 cat >conftest.$ac_ext <<_ACEOF
45109 /* confdefs.h.  */
45110 _ACEOF
45111 cat confdefs.h >>conftest.$ac_ext
45112 cat >>conftest.$ac_ext <<_ACEOF
45113 /* end confdefs.h.  */
45114 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45115    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45116 #define $ac_func innocuous_$ac_func
45117
45118 /* System header to define __stub macros and hopefully few prototypes,
45119     which can conflict with char $ac_func (); below.
45120     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45121     <limits.h> exists even on freestanding compilers.  */
45122
45123 #ifdef __STDC__
45124 # include <limits.h>
45125 #else
45126 # include <assert.h>
45127 #endif
45128
45129 #undef $ac_func
45130
45131 /* Override any GCC internal prototype to avoid an error.
45132    Use char because int might match the return type of a GCC
45133    builtin and then its argument prototype would still apply.  */
45134 #ifdef __cplusplus
45135 extern "C"
45136 #endif
45137 char $ac_func ();
45138 /* The GNU C library defines this for functions which it implements
45139     to always fail with ENOSYS.  Some functions are actually named
45140     something starting with __ and the normal name is an alias.  */
45141 #if defined __stub_$ac_func || defined __stub___$ac_func
45142 choke me
45143 #endif
45144
45145 int
45146 main ()
45147 {
45148 return $ac_func ();
45149   ;
45150   return 0;
45151 }
45152 _ACEOF
45153 rm -f conftest.$ac_objext conftest$ac_exeext
45154 if { (ac_try="$ac_link"
45155 case "(($ac_try" in
45156   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45157   *) ac_try_echo=$ac_try;;
45158 esac
45159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45160   (eval "$ac_link") 2>conftest.er1
45161   ac_status=$?
45162   grep -v '^ *+' conftest.er1 >conftest.err
45163   rm -f conftest.er1
45164   cat conftest.err >&5
45165   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45166   (exit $ac_status); } && {
45167          test -z "$ac_c_werror_flag" ||
45168          test ! -s conftest.err
45169        } && test -s conftest$ac_exeext &&
45170        $as_test_x conftest$ac_exeext; then
45171   eval "$as_ac_var=yes"
45172 else
45173   echo "$as_me: failed program was:" >&5
45174 sed 's/^/| /' conftest.$ac_ext >&5
45175
45176         eval "$as_ac_var=no"
45177 fi
45178
45179 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45180       conftest$ac_exeext conftest.$ac_ext
45181 fi
45182 ac_res=`eval echo '${'$as_ac_var'}'`
45183                { echo "$as_me:$LINENO: result: $ac_res" >&5
45184 echo "${ECHO_T}$ac_res" >&6; }
45185 if test `eval echo '${'$as_ac_var'}'` = yes; then
45186   cat >>confdefs.h <<_ACEOF
45187 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45188 _ACEOF
45189
45190 fi
45191 done
45192
45193     fi
45194   fi
45195
45196
45197
45198
45199
45200
45201     { echo "$as_me:$LINENO: checking for float trig functions" >&5
45202 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6; }
45203   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
45204   echo $ECHO_N "(cached) $ECHO_C" >&6
45205 else
45206
45207
45208     ac_ext=cpp
45209 ac_cpp='$CXXCPP $CPPFLAGS'
45210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45213
45214     cat >conftest.$ac_ext <<_ACEOF
45215 /* confdefs.h.  */
45216 _ACEOF
45217 cat confdefs.h >>conftest.$ac_ext
45218 cat >>conftest.$ac_ext <<_ACEOF
45219 /* end confdefs.h.  */
45220 #include <math.h>
45221 int
45222 main ()
45223 {
45224 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
45225   ;
45226   return 0;
45227 }
45228 _ACEOF
45229 rm -f conftest.$ac_objext
45230 if { (ac_try="$ac_compile"
45231 case "(($ac_try" in
45232   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45233   *) ac_try_echo=$ac_try;;
45234 esac
45235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45236   (eval "$ac_compile") 2>conftest.er1
45237   ac_status=$?
45238   grep -v '^ *+' conftest.er1 >conftest.err
45239   rm -f conftest.er1
45240   cat conftest.err >&5
45241   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45242   (exit $ac_status); } && {
45243          test -z "$ac_cxx_werror_flag" ||
45244          test ! -s conftest.err
45245        } && test -s conftest.$ac_objext; then
45246   glibcxx_cv_func_float_trig_use=yes
45247 else
45248   echo "$as_me: failed program was:" >&5
45249 sed 's/^/| /' conftest.$ac_ext >&5
45250
45251         glibcxx_cv_func_float_trig_use=no
45252 fi
45253
45254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45255     ac_ext=c
45256 ac_cpp='$CPP $CPPFLAGS'
45257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45260
45261 fi
45262
45263   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
45264 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6; }
45265   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
45266
45267
45268
45269
45270
45271
45272
45273
45274
45275 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
45276 do
45277 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45278 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45279 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45280 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45281   echo $ECHO_N "(cached) $ECHO_C" >&6
45282 else
45283   if test x$gcc_no_link = xyes; then
45284   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45285 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45286    { (exit 1); exit 1; }; }
45287 fi
45288 cat >conftest.$ac_ext <<_ACEOF
45289 /* confdefs.h.  */
45290 _ACEOF
45291 cat confdefs.h >>conftest.$ac_ext
45292 cat >>conftest.$ac_ext <<_ACEOF
45293 /* end confdefs.h.  */
45294 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45295    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45296 #define $ac_func innocuous_$ac_func
45297
45298 /* System header to define __stub macros and hopefully few prototypes,
45299     which can conflict with char $ac_func (); below.
45300     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45301     <limits.h> exists even on freestanding compilers.  */
45302
45303 #ifdef __STDC__
45304 # include <limits.h>
45305 #else
45306 # include <assert.h>
45307 #endif
45308
45309 #undef $ac_func
45310
45311 /* Override any GCC internal prototype to avoid an error.
45312    Use char because int might match the return type of a GCC
45313    builtin and then its argument prototype would still apply.  */
45314 #ifdef __cplusplus
45315 extern "C"
45316 #endif
45317 char $ac_func ();
45318 /* The GNU C library defines this for functions which it implements
45319     to always fail with ENOSYS.  Some functions are actually named
45320     something starting with __ and the normal name is an alias.  */
45321 #if defined __stub_$ac_func || defined __stub___$ac_func
45322 choke me
45323 #endif
45324
45325 int
45326 main ()
45327 {
45328 return $ac_func ();
45329   ;
45330   return 0;
45331 }
45332 _ACEOF
45333 rm -f conftest.$ac_objext conftest$ac_exeext
45334 if { (ac_try="$ac_link"
45335 case "(($ac_try" in
45336   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45337   *) ac_try_echo=$ac_try;;
45338 esac
45339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45340   (eval "$ac_link") 2>conftest.er1
45341   ac_status=$?
45342   grep -v '^ *+' conftest.er1 >conftest.err
45343   rm -f conftest.er1
45344   cat conftest.err >&5
45345   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45346   (exit $ac_status); } && {
45347          test -z "$ac_c_werror_flag" ||
45348          test ! -s conftest.err
45349        } && test -s conftest$ac_exeext &&
45350        $as_test_x conftest$ac_exeext; then
45351   eval "$as_ac_var=yes"
45352 else
45353   echo "$as_me: failed program was:" >&5
45354 sed 's/^/| /' conftest.$ac_ext >&5
45355
45356         eval "$as_ac_var=no"
45357 fi
45358
45359 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45360       conftest$ac_exeext conftest.$ac_ext
45361 fi
45362 ac_res=`eval echo '${'$as_ac_var'}'`
45363                { echo "$as_me:$LINENO: result: $ac_res" >&5
45364 echo "${ECHO_T}$ac_res" >&6; }
45365 if test `eval echo '${'$as_ac_var'}'` = yes; then
45366   cat >>confdefs.h <<_ACEOF
45367 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45368 _ACEOF
45369
45370 fi
45371 done
45372
45373   else
45374     { echo "$as_me:$LINENO: checking for _float trig functions" >&5
45375 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6; }
45376     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
45377   echo $ECHO_N "(cached) $ECHO_C" >&6
45378 else
45379
45380
45381       ac_ext=cpp
45382 ac_cpp='$CXXCPP $CPPFLAGS'
45383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45386
45387       cat >conftest.$ac_ext <<_ACEOF
45388 /* confdefs.h.  */
45389 _ACEOF
45390 cat confdefs.h >>conftest.$ac_ext
45391 cat >>conftest.$ac_ext <<_ACEOF
45392 /* end confdefs.h.  */
45393 #include <math.h>
45394 int
45395 main ()
45396 {
45397 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
45398   ;
45399   return 0;
45400 }
45401 _ACEOF
45402 rm -f conftest.$ac_objext
45403 if { (ac_try="$ac_compile"
45404 case "(($ac_try" in
45405   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45406   *) ac_try_echo=$ac_try;;
45407 esac
45408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45409   (eval "$ac_compile") 2>conftest.er1
45410   ac_status=$?
45411   grep -v '^ *+' conftest.er1 >conftest.err
45412   rm -f conftest.er1
45413   cat conftest.err >&5
45414   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45415   (exit $ac_status); } && {
45416          test -z "$ac_cxx_werror_flag" ||
45417          test ! -s conftest.err
45418        } && test -s conftest.$ac_objext; then
45419   glibcxx_cv_func__float_trig_use=yes
45420 else
45421   echo "$as_me: failed program was:" >&5
45422 sed 's/^/| /' conftest.$ac_ext >&5
45423
45424         glibcxx_cv_func__float_trig_use=no
45425 fi
45426
45427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45428       ac_ext=c
45429 ac_cpp='$CPP $CPPFLAGS'
45430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45433
45434 fi
45435
45436     { echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
45437 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6; }
45438     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
45439
45440
45441
45442
45443
45444
45445
45446
45447
45448 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
45449 do
45450 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45451 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45452 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45453 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45454   echo $ECHO_N "(cached) $ECHO_C" >&6
45455 else
45456   if test x$gcc_no_link = xyes; then
45457   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45458 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45459    { (exit 1); exit 1; }; }
45460 fi
45461 cat >conftest.$ac_ext <<_ACEOF
45462 /* confdefs.h.  */
45463 _ACEOF
45464 cat confdefs.h >>conftest.$ac_ext
45465 cat >>conftest.$ac_ext <<_ACEOF
45466 /* end confdefs.h.  */
45467 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45468    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45469 #define $ac_func innocuous_$ac_func
45470
45471 /* System header to define __stub macros and hopefully few prototypes,
45472     which can conflict with char $ac_func (); below.
45473     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45474     <limits.h> exists even on freestanding compilers.  */
45475
45476 #ifdef __STDC__
45477 # include <limits.h>
45478 #else
45479 # include <assert.h>
45480 #endif
45481
45482 #undef $ac_func
45483
45484 /* Override any GCC internal prototype to avoid an error.
45485    Use char because int might match the return type of a GCC
45486    builtin and then its argument prototype would still apply.  */
45487 #ifdef __cplusplus
45488 extern "C"
45489 #endif
45490 char $ac_func ();
45491 /* The GNU C library defines this for functions which it implements
45492     to always fail with ENOSYS.  Some functions are actually named
45493     something starting with __ and the normal name is an alias.  */
45494 #if defined __stub_$ac_func || defined __stub___$ac_func
45495 choke me
45496 #endif
45497
45498 int
45499 main ()
45500 {
45501 return $ac_func ();
45502   ;
45503   return 0;
45504 }
45505 _ACEOF
45506 rm -f conftest.$ac_objext conftest$ac_exeext
45507 if { (ac_try="$ac_link"
45508 case "(($ac_try" in
45509   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45510   *) ac_try_echo=$ac_try;;
45511 esac
45512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45513   (eval "$ac_link") 2>conftest.er1
45514   ac_status=$?
45515   grep -v '^ *+' conftest.er1 >conftest.err
45516   rm -f conftest.er1
45517   cat conftest.err >&5
45518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45519   (exit $ac_status); } && {
45520          test -z "$ac_c_werror_flag" ||
45521          test ! -s conftest.err
45522        } && test -s conftest$ac_exeext &&
45523        $as_test_x conftest$ac_exeext; then
45524   eval "$as_ac_var=yes"
45525 else
45526   echo "$as_me: failed program was:" >&5
45527 sed 's/^/| /' conftest.$ac_ext >&5
45528
45529         eval "$as_ac_var=no"
45530 fi
45531
45532 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45533       conftest$ac_exeext conftest.$ac_ext
45534 fi
45535 ac_res=`eval echo '${'$as_ac_var'}'`
45536                { echo "$as_me:$LINENO: result: $ac_res" >&5
45537 echo "${ECHO_T}$ac_res" >&6; }
45538 if test `eval echo '${'$as_ac_var'}'` = yes; then
45539   cat >>confdefs.h <<_ACEOF
45540 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45541 _ACEOF
45542
45543 fi
45544 done
45545
45546     fi
45547   fi
45548
45549
45550
45551
45552
45553
45554
45555
45556
45557
45558
45559
45560
45561
45562     { echo "$as_me:$LINENO: checking for float round functions" >&5
45563 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6; }
45564   if test "${glibcxx_cv_func_float_round_use+set}" = set; then
45565   echo $ECHO_N "(cached) $ECHO_C" >&6
45566 else
45567
45568
45569     ac_ext=cpp
45570 ac_cpp='$CXXCPP $CPPFLAGS'
45571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45574
45575     cat >conftest.$ac_ext <<_ACEOF
45576 /* confdefs.h.  */
45577 _ACEOF
45578 cat confdefs.h >>conftest.$ac_ext
45579 cat >>conftest.$ac_ext <<_ACEOF
45580 /* end confdefs.h.  */
45581 #include <math.h>
45582 int
45583 main ()
45584 {
45585 ceilf (0); floorf (0);
45586   ;
45587   return 0;
45588 }
45589 _ACEOF
45590 rm -f conftest.$ac_objext
45591 if { (ac_try="$ac_compile"
45592 case "(($ac_try" in
45593   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45594   *) ac_try_echo=$ac_try;;
45595 esac
45596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45597   (eval "$ac_compile") 2>conftest.er1
45598   ac_status=$?
45599   grep -v '^ *+' conftest.er1 >conftest.err
45600   rm -f conftest.er1
45601   cat conftest.err >&5
45602   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45603   (exit $ac_status); } && {
45604          test -z "$ac_cxx_werror_flag" ||
45605          test ! -s conftest.err
45606        } && test -s conftest.$ac_objext; then
45607   glibcxx_cv_func_float_round_use=yes
45608 else
45609   echo "$as_me: failed program was:" >&5
45610 sed 's/^/| /' conftest.$ac_ext >&5
45611
45612         glibcxx_cv_func_float_round_use=no
45613 fi
45614
45615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45616     ac_ext=c
45617 ac_cpp='$CPP $CPPFLAGS'
45618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45621
45622 fi
45623
45624   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
45625 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6; }
45626   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
45627
45628
45629 for ac_func in ceilf floorf
45630 do
45631 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45632 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45633 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45634 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45635   echo $ECHO_N "(cached) $ECHO_C" >&6
45636 else
45637   if test x$gcc_no_link = xyes; then
45638   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45639 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45640    { (exit 1); exit 1; }; }
45641 fi
45642 cat >conftest.$ac_ext <<_ACEOF
45643 /* confdefs.h.  */
45644 _ACEOF
45645 cat confdefs.h >>conftest.$ac_ext
45646 cat >>conftest.$ac_ext <<_ACEOF
45647 /* end confdefs.h.  */
45648 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45649    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45650 #define $ac_func innocuous_$ac_func
45651
45652 /* System header to define __stub macros and hopefully few prototypes,
45653     which can conflict with char $ac_func (); below.
45654     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45655     <limits.h> exists even on freestanding compilers.  */
45656
45657 #ifdef __STDC__
45658 # include <limits.h>
45659 #else
45660 # include <assert.h>
45661 #endif
45662
45663 #undef $ac_func
45664
45665 /* Override any GCC internal prototype to avoid an error.
45666    Use char because int might match the return type of a GCC
45667    builtin and then its argument prototype would still apply.  */
45668 #ifdef __cplusplus
45669 extern "C"
45670 #endif
45671 char $ac_func ();
45672 /* The GNU C library defines this for functions which it implements
45673     to always fail with ENOSYS.  Some functions are actually named
45674     something starting with __ and the normal name is an alias.  */
45675 #if defined __stub_$ac_func || defined __stub___$ac_func
45676 choke me
45677 #endif
45678
45679 int
45680 main ()
45681 {
45682 return $ac_func ();
45683   ;
45684   return 0;
45685 }
45686 _ACEOF
45687 rm -f conftest.$ac_objext conftest$ac_exeext
45688 if { (ac_try="$ac_link"
45689 case "(($ac_try" in
45690   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45691   *) ac_try_echo=$ac_try;;
45692 esac
45693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45694   (eval "$ac_link") 2>conftest.er1
45695   ac_status=$?
45696   grep -v '^ *+' conftest.er1 >conftest.err
45697   rm -f conftest.er1
45698   cat conftest.err >&5
45699   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45700   (exit $ac_status); } && {
45701          test -z "$ac_c_werror_flag" ||
45702          test ! -s conftest.err
45703        } && test -s conftest$ac_exeext &&
45704        $as_test_x conftest$ac_exeext; then
45705   eval "$as_ac_var=yes"
45706 else
45707   echo "$as_me: failed program was:" >&5
45708 sed 's/^/| /' conftest.$ac_ext >&5
45709
45710         eval "$as_ac_var=no"
45711 fi
45712
45713 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45714       conftest$ac_exeext conftest.$ac_ext
45715 fi
45716 ac_res=`eval echo '${'$as_ac_var'}'`
45717                { echo "$as_me:$LINENO: result: $ac_res" >&5
45718 echo "${ECHO_T}$ac_res" >&6; }
45719 if test `eval echo '${'$as_ac_var'}'` = yes; then
45720   cat >>confdefs.h <<_ACEOF
45721 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45722 _ACEOF
45723
45724 fi
45725 done
45726
45727   else
45728     { echo "$as_me:$LINENO: checking for _float round functions" >&5
45729 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6; }
45730     if test "${glibcxx_cv_func__float_round_use+set}" = set; then
45731   echo $ECHO_N "(cached) $ECHO_C" >&6
45732 else
45733
45734
45735       ac_ext=cpp
45736 ac_cpp='$CXXCPP $CPPFLAGS'
45737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45740
45741       cat >conftest.$ac_ext <<_ACEOF
45742 /* confdefs.h.  */
45743 _ACEOF
45744 cat confdefs.h >>conftest.$ac_ext
45745 cat >>conftest.$ac_ext <<_ACEOF
45746 /* end confdefs.h.  */
45747 #include <math.h>
45748 int
45749 main ()
45750 {
45751 _ceilf (0); _floorf (0);
45752   ;
45753   return 0;
45754 }
45755 _ACEOF
45756 rm -f conftest.$ac_objext
45757 if { (ac_try="$ac_compile"
45758 case "(($ac_try" in
45759   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45760   *) ac_try_echo=$ac_try;;
45761 esac
45762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45763   (eval "$ac_compile") 2>conftest.er1
45764   ac_status=$?
45765   grep -v '^ *+' conftest.er1 >conftest.err
45766   rm -f conftest.er1
45767   cat conftest.err >&5
45768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45769   (exit $ac_status); } && {
45770          test -z "$ac_cxx_werror_flag" ||
45771          test ! -s conftest.err
45772        } && test -s conftest.$ac_objext; then
45773   glibcxx_cv_func__float_round_use=yes
45774 else
45775   echo "$as_me: failed program was:" >&5
45776 sed 's/^/| /' conftest.$ac_ext >&5
45777
45778         glibcxx_cv_func__float_round_use=no
45779 fi
45780
45781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45782       ac_ext=c
45783 ac_cpp='$CPP $CPPFLAGS'
45784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45787
45788 fi
45789
45790     { echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
45791 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6; }
45792     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
45793
45794
45795 for ac_func in _ceilf _floorf
45796 do
45797 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45798 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45799 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45800 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45801   echo $ECHO_N "(cached) $ECHO_C" >&6
45802 else
45803   if test x$gcc_no_link = xyes; then
45804   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45805 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45806    { (exit 1); exit 1; }; }
45807 fi
45808 cat >conftest.$ac_ext <<_ACEOF
45809 /* confdefs.h.  */
45810 _ACEOF
45811 cat confdefs.h >>conftest.$ac_ext
45812 cat >>conftest.$ac_ext <<_ACEOF
45813 /* end confdefs.h.  */
45814 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45815    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45816 #define $ac_func innocuous_$ac_func
45817
45818 /* System header to define __stub macros and hopefully few prototypes,
45819     which can conflict with char $ac_func (); below.
45820     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45821     <limits.h> exists even on freestanding compilers.  */
45822
45823 #ifdef __STDC__
45824 # include <limits.h>
45825 #else
45826 # include <assert.h>
45827 #endif
45828
45829 #undef $ac_func
45830
45831 /* Override any GCC internal prototype to avoid an error.
45832    Use char because int might match the return type of a GCC
45833    builtin and then its argument prototype would still apply.  */
45834 #ifdef __cplusplus
45835 extern "C"
45836 #endif
45837 char $ac_func ();
45838 /* The GNU C library defines this for functions which it implements
45839     to always fail with ENOSYS.  Some functions are actually named
45840     something starting with __ and the normal name is an alias.  */
45841 #if defined __stub_$ac_func || defined __stub___$ac_func
45842 choke me
45843 #endif
45844
45845 int
45846 main ()
45847 {
45848 return $ac_func ();
45849   ;
45850   return 0;
45851 }
45852 _ACEOF
45853 rm -f conftest.$ac_objext conftest$ac_exeext
45854 if { (ac_try="$ac_link"
45855 case "(($ac_try" in
45856   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45857   *) ac_try_echo=$ac_try;;
45858 esac
45859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45860   (eval "$ac_link") 2>conftest.er1
45861   ac_status=$?
45862   grep -v '^ *+' conftest.er1 >conftest.err
45863   rm -f conftest.er1
45864   cat conftest.err >&5
45865   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45866   (exit $ac_status); } && {
45867          test -z "$ac_c_werror_flag" ||
45868          test ! -s conftest.err
45869        } && test -s conftest$ac_exeext &&
45870        $as_test_x conftest$ac_exeext; then
45871   eval "$as_ac_var=yes"
45872 else
45873   echo "$as_me: failed program was:" >&5
45874 sed 's/^/| /' conftest.$ac_ext >&5
45875
45876         eval "$as_ac_var=no"
45877 fi
45878
45879 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45880       conftest$ac_exeext conftest.$ac_ext
45881 fi
45882 ac_res=`eval echo '${'$as_ac_var'}'`
45883                { echo "$as_me:$LINENO: result: $ac_res" >&5
45884 echo "${ECHO_T}$ac_res" >&6; }
45885 if test `eval echo '${'$as_ac_var'}'` = yes; then
45886   cat >>confdefs.h <<_ACEOF
45887 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45888 _ACEOF
45889
45890 fi
45891 done
45892
45893     fi
45894   fi
45895
45896
45897
45898
45899
45900
45901
45902
45903   { echo "$as_me:$LINENO: checking for expf declaration" >&5
45904 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6; }
45905   if test x${glibcxx_cv_func_expf_use+set} != xset; then
45906     if test "${glibcxx_cv_func_expf_use+set}" = set; then
45907   echo $ECHO_N "(cached) $ECHO_C" >&6
45908 else
45909
45910
45911       ac_ext=cpp
45912 ac_cpp='$CXXCPP $CPPFLAGS'
45913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45916
45917       cat >conftest.$ac_ext <<_ACEOF
45918 /* confdefs.h.  */
45919 _ACEOF
45920 cat confdefs.h >>conftest.$ac_ext
45921 cat >>conftest.$ac_ext <<_ACEOF
45922 /* end confdefs.h.  */
45923 #include <math.h>
45924                       #ifdef HAVE_IEEEFP_H
45925                       #include <ieeefp.h>
45926                       #endif
45927
45928 int
45929 main ()
45930 {
45931  expf(0);
45932   ;
45933   return 0;
45934 }
45935 _ACEOF
45936 rm -f conftest.$ac_objext
45937 if { (ac_try="$ac_compile"
45938 case "(($ac_try" in
45939   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45940   *) ac_try_echo=$ac_try;;
45941 esac
45942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45943   (eval "$ac_compile") 2>conftest.er1
45944   ac_status=$?
45945   grep -v '^ *+' conftest.er1 >conftest.err
45946   rm -f conftest.er1
45947   cat conftest.err >&5
45948   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45949   (exit $ac_status); } && {
45950          test -z "$ac_cxx_werror_flag" ||
45951          test ! -s conftest.err
45952        } && test -s conftest.$ac_objext; then
45953   glibcxx_cv_func_expf_use=yes
45954 else
45955   echo "$as_me: failed program was:" >&5
45956 sed 's/^/| /' conftest.$ac_ext >&5
45957
45958         glibcxx_cv_func_expf_use=no
45959 fi
45960
45961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45962       ac_ext=c
45963 ac_cpp='$CPP $CPPFLAGS'
45964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45967
45968
45969 fi
45970
45971   fi
45972   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
45973 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6; }
45974
45975   if test x$glibcxx_cv_func_expf_use = x"yes"; then
45976
45977 for ac_func in expf
45978 do
45979 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45980 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45981 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45982 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45983   echo $ECHO_N "(cached) $ECHO_C" >&6
45984 else
45985   if test x$gcc_no_link = xyes; then
45986   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45987 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45988    { (exit 1); exit 1; }; }
45989 fi
45990 cat >conftest.$ac_ext <<_ACEOF
45991 /* confdefs.h.  */
45992 _ACEOF
45993 cat confdefs.h >>conftest.$ac_ext
45994 cat >>conftest.$ac_ext <<_ACEOF
45995 /* end confdefs.h.  */
45996 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45997    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45998 #define $ac_func innocuous_$ac_func
45999
46000 /* System header to define __stub macros and hopefully few prototypes,
46001     which can conflict with char $ac_func (); below.
46002     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46003     <limits.h> exists even on freestanding compilers.  */
46004
46005 #ifdef __STDC__
46006 # include <limits.h>
46007 #else
46008 # include <assert.h>
46009 #endif
46010
46011 #undef $ac_func
46012
46013 /* Override any GCC internal prototype to avoid an error.
46014    Use char because int might match the return type of a GCC
46015    builtin and then its argument prototype would still apply.  */
46016 #ifdef __cplusplus
46017 extern "C"
46018 #endif
46019 char $ac_func ();
46020 /* The GNU C library defines this for functions which it implements
46021     to always fail with ENOSYS.  Some functions are actually named
46022     something starting with __ and the normal name is an alias.  */
46023 #if defined __stub_$ac_func || defined __stub___$ac_func
46024 choke me
46025 #endif
46026
46027 int
46028 main ()
46029 {
46030 return $ac_func ();
46031   ;
46032   return 0;
46033 }
46034 _ACEOF
46035 rm -f conftest.$ac_objext conftest$ac_exeext
46036 if { (ac_try="$ac_link"
46037 case "(($ac_try" in
46038   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46039   *) ac_try_echo=$ac_try;;
46040 esac
46041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46042   (eval "$ac_link") 2>conftest.er1
46043   ac_status=$?
46044   grep -v '^ *+' conftest.er1 >conftest.err
46045   rm -f conftest.er1
46046   cat conftest.err >&5
46047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46048   (exit $ac_status); } && {
46049          test -z "$ac_c_werror_flag" ||
46050          test ! -s conftest.err
46051        } && test -s conftest$ac_exeext &&
46052        $as_test_x conftest$ac_exeext; then
46053   eval "$as_ac_var=yes"
46054 else
46055   echo "$as_me: failed program was:" >&5
46056 sed 's/^/| /' conftest.$ac_ext >&5
46057
46058         eval "$as_ac_var=no"
46059 fi
46060
46061 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46062       conftest$ac_exeext conftest.$ac_ext
46063 fi
46064 ac_res=`eval echo '${'$as_ac_var'}'`
46065                { echo "$as_me:$LINENO: result: $ac_res" >&5
46066 echo "${ECHO_T}$ac_res" >&6; }
46067 if test `eval echo '${'$as_ac_var'}'` = yes; then
46068   cat >>confdefs.h <<_ACEOF
46069 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46070 _ACEOF
46071
46072 fi
46073 done
46074
46075   else
46076
46077   { echo "$as_me:$LINENO: checking for _expf declaration" >&5
46078 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6; }
46079   if test x${glibcxx_cv_func__expf_use+set} != xset; then
46080     if test "${glibcxx_cv_func__expf_use+set}" = set; then
46081   echo $ECHO_N "(cached) $ECHO_C" >&6
46082 else
46083
46084
46085       ac_ext=cpp
46086 ac_cpp='$CXXCPP $CPPFLAGS'
46087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46090
46091       cat >conftest.$ac_ext <<_ACEOF
46092 /* confdefs.h.  */
46093 _ACEOF
46094 cat confdefs.h >>conftest.$ac_ext
46095 cat >>conftest.$ac_ext <<_ACEOF
46096 /* end confdefs.h.  */
46097 #include <math.h>
46098                       #ifdef HAVE_IEEEFP_H
46099                       #include <ieeefp.h>
46100                       #endif
46101
46102 int
46103 main ()
46104 {
46105  _expf(0);
46106   ;
46107   return 0;
46108 }
46109 _ACEOF
46110 rm -f conftest.$ac_objext
46111 if { (ac_try="$ac_compile"
46112 case "(($ac_try" in
46113   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46114   *) ac_try_echo=$ac_try;;
46115 esac
46116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46117   (eval "$ac_compile") 2>conftest.er1
46118   ac_status=$?
46119   grep -v '^ *+' conftest.er1 >conftest.err
46120   rm -f conftest.er1
46121   cat conftest.err >&5
46122   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46123   (exit $ac_status); } && {
46124          test -z "$ac_cxx_werror_flag" ||
46125          test ! -s conftest.err
46126        } && test -s conftest.$ac_objext; then
46127   glibcxx_cv_func__expf_use=yes
46128 else
46129   echo "$as_me: failed program was:" >&5
46130 sed 's/^/| /' conftest.$ac_ext >&5
46131
46132         glibcxx_cv_func__expf_use=no
46133 fi
46134
46135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46136       ac_ext=c
46137 ac_cpp='$CPP $CPPFLAGS'
46138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46141
46142
46143 fi
46144
46145   fi
46146   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
46147 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6; }
46148
46149     if test x$glibcxx_cv_func__expf_use = x"yes"; then
46150
46151 for ac_func in _expf
46152 do
46153 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46154 { echo "$as_me:$LINENO: checking for $ac_func" >&5
46155 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
46156 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
46157   echo $ECHO_N "(cached) $ECHO_C" >&6
46158 else
46159   if test x$gcc_no_link = xyes; then
46160   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46161 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46162    { (exit 1); exit 1; }; }
46163 fi
46164 cat >conftest.$ac_ext <<_ACEOF
46165 /* confdefs.h.  */
46166 _ACEOF
46167 cat confdefs.h >>conftest.$ac_ext
46168 cat >>conftest.$ac_ext <<_ACEOF
46169 /* end confdefs.h.  */
46170 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46171    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46172 #define $ac_func innocuous_$ac_func
46173
46174 /* System header to define __stub macros and hopefully few prototypes,
46175     which can conflict with char $ac_func (); below.
46176     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46177     <limits.h> exists even on freestanding compilers.  */
46178
46179 #ifdef __STDC__
46180 # include <limits.h>
46181 #else
46182 # include <assert.h>
46183 #endif
46184
46185 #undef $ac_func
46186
46187 /* Override any GCC internal prototype to avoid an error.
46188    Use char because int might match the return type of a GCC
46189    builtin and then its argument prototype would still apply.  */
46190 #ifdef __cplusplus
46191 extern "C"
46192 #endif
46193 char $ac_func ();
46194 /* The GNU C library defines this for functions which it implements
46195     to always fail with ENOSYS.  Some functions are actually named
46196     something starting with __ and the normal name is an alias.  */
46197 #if defined __stub_$ac_func || defined __stub___$ac_func
46198 choke me
46199 #endif
46200
46201 int
46202 main ()
46203 {
46204 return $ac_func ();
46205   ;
46206   return 0;
46207 }
46208 _ACEOF
46209 rm -f conftest.$ac_objext conftest$ac_exeext
46210 if { (ac_try="$ac_link"
46211 case "(($ac_try" in
46212   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46213   *) ac_try_echo=$ac_try;;
46214 esac
46215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46216   (eval "$ac_link") 2>conftest.er1
46217   ac_status=$?
46218   grep -v '^ *+' conftest.er1 >conftest.err
46219   rm -f conftest.er1
46220   cat conftest.err >&5
46221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46222   (exit $ac_status); } && {
46223          test -z "$ac_c_werror_flag" ||
46224          test ! -s conftest.err
46225        } && test -s conftest$ac_exeext &&
46226        $as_test_x conftest$ac_exeext; then
46227   eval "$as_ac_var=yes"
46228 else
46229   echo "$as_me: failed program was:" >&5
46230 sed 's/^/| /' conftest.$ac_ext >&5
46231
46232         eval "$as_ac_var=no"
46233 fi
46234
46235 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46236       conftest$ac_exeext conftest.$ac_ext
46237 fi
46238 ac_res=`eval echo '${'$as_ac_var'}'`
46239                { echo "$as_me:$LINENO: result: $ac_res" >&5
46240 echo "${ECHO_T}$ac_res" >&6; }
46241 if test `eval echo '${'$as_ac_var'}'` = yes; then
46242   cat >>confdefs.h <<_ACEOF
46243 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46244 _ACEOF
46245
46246 fi
46247 done
46248
46249     fi
46250   fi
46251
46252
46253
46254
46255
46256
46257   { echo "$as_me:$LINENO: checking for isnanf declaration" >&5
46258 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6; }
46259   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
46260     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
46261   echo $ECHO_N "(cached) $ECHO_C" >&6
46262 else
46263
46264
46265       ac_ext=cpp
46266 ac_cpp='$CXXCPP $CPPFLAGS'
46267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46270
46271       cat >conftest.$ac_ext <<_ACEOF
46272 /* confdefs.h.  */
46273 _ACEOF
46274 cat confdefs.h >>conftest.$ac_ext
46275 cat >>conftest.$ac_ext <<_ACEOF
46276 /* end confdefs.h.  */
46277 #include <math.h>
46278                       #ifdef HAVE_IEEEFP_H
46279                       #include <ieeefp.h>
46280                       #endif
46281
46282 int
46283 main ()
46284 {
46285  isnanf(0);
46286   ;
46287   return 0;
46288 }
46289 _ACEOF
46290 rm -f conftest.$ac_objext
46291 if { (ac_try="$ac_compile"
46292 case "(($ac_try" in
46293   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46294   *) ac_try_echo=$ac_try;;
46295 esac
46296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46297   (eval "$ac_compile") 2>conftest.er1
46298   ac_status=$?
46299   grep -v '^ *+' conftest.er1 >conftest.err
46300   rm -f conftest.er1
46301   cat conftest.err >&5
46302   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46303   (exit $ac_status); } && {
46304          test -z "$ac_cxx_werror_flag" ||
46305          test ! -s conftest.err
46306        } && test -s conftest.$ac_objext; then
46307   glibcxx_cv_func_isnanf_use=yes
46308 else
46309   echo "$as_me: failed program was:" >&5
46310 sed 's/^/| /' conftest.$ac_ext >&5
46311
46312         glibcxx_cv_func_isnanf_use=no
46313 fi
46314
46315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46316       ac_ext=c
46317 ac_cpp='$CPP $CPPFLAGS'
46318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46321
46322
46323 fi
46324
46325   fi
46326   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
46327 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6; }
46328
46329   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
46330
46331 for ac_func in isnanf
46332 do
46333 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46334 { echo "$as_me:$LINENO: checking for $ac_func" >&5
46335 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
46336 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
46337   echo $ECHO_N "(cached) $ECHO_C" >&6
46338 else
46339   if test x$gcc_no_link = xyes; then
46340   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46341 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46342    { (exit 1); exit 1; }; }
46343 fi
46344 cat >conftest.$ac_ext <<_ACEOF
46345 /* confdefs.h.  */
46346 _ACEOF
46347 cat confdefs.h >>conftest.$ac_ext
46348 cat >>conftest.$ac_ext <<_ACEOF
46349 /* end confdefs.h.  */
46350 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46351    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46352 #define $ac_func innocuous_$ac_func
46353
46354 /* System header to define __stub macros and hopefully few prototypes,
46355     which can conflict with char $ac_func (); below.
46356     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46357     <limits.h> exists even on freestanding compilers.  */
46358
46359 #ifdef __STDC__
46360 # include <limits.h>
46361 #else
46362 # include <assert.h>
46363 #endif
46364
46365 #undef $ac_func
46366
46367 /* Override any GCC internal prototype to avoid an error.
46368    Use char because int might match the return type of a GCC
46369    builtin and then its argument prototype would still apply.  */
46370 #ifdef __cplusplus
46371 extern "C"
46372 #endif
46373 char $ac_func ();
46374 /* The GNU C library defines this for functions which it implements
46375     to always fail with ENOSYS.  Some functions are actually named
46376     something starting with __ and the normal name is an alias.  */
46377 #if defined __stub_$ac_func || defined __stub___$ac_func
46378 choke me
46379 #endif
46380
46381 int
46382 main ()
46383 {
46384 return $ac_func ();
46385   ;
46386   return 0;
46387 }
46388 _ACEOF
46389 rm -f conftest.$ac_objext conftest$ac_exeext
46390 if { (ac_try="$ac_link"
46391 case "(($ac_try" in
46392   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46393   *) ac_try_echo=$ac_try;;
46394 esac
46395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46396   (eval "$ac_link") 2>conftest.er1
46397   ac_status=$?
46398   grep -v '^ *+' conftest.er1 >conftest.err
46399   rm -f conftest.er1
46400   cat conftest.err >&5
46401   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46402   (exit $ac_status); } && {
46403          test -z "$ac_c_werror_flag" ||
46404          test ! -s conftest.err
46405        } && test -s conftest$ac_exeext &&
46406        $as_test_x conftest$ac_exeext; then
46407   eval "$as_ac_var=yes"
46408 else
46409   echo "$as_me: failed program was:" >&5
46410 sed 's/^/| /' conftest.$ac_ext >&5
46411
46412         eval "$as_ac_var=no"
46413 fi
46414
46415 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46416       conftest$ac_exeext conftest.$ac_ext
46417 fi
46418 ac_res=`eval echo '${'$as_ac_var'}'`
46419                { echo "$as_me:$LINENO: result: $ac_res" >&5
46420 echo "${ECHO_T}$ac_res" >&6; }
46421 if test `eval echo '${'$as_ac_var'}'` = yes; then
46422   cat >>confdefs.h <<_ACEOF
46423 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46424 _ACEOF
46425
46426 fi
46427 done
46428
46429   else
46430
46431   { echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
46432 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6; }
46433   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
46434     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
46435   echo $ECHO_N "(cached) $ECHO_C" >&6
46436 else
46437
46438
46439       ac_ext=cpp
46440 ac_cpp='$CXXCPP $CPPFLAGS'
46441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46444
46445       cat >conftest.$ac_ext <<_ACEOF
46446 /* confdefs.h.  */
46447 _ACEOF
46448 cat confdefs.h >>conftest.$ac_ext
46449 cat >>conftest.$ac_ext <<_ACEOF
46450 /* end confdefs.h.  */
46451 #include <math.h>
46452                       #ifdef HAVE_IEEEFP_H
46453                       #include <ieeefp.h>
46454                       #endif
46455
46456 int
46457 main ()
46458 {
46459  _isnanf(0);
46460   ;
46461   return 0;
46462 }
46463 _ACEOF
46464 rm -f conftest.$ac_objext
46465 if { (ac_try="$ac_compile"
46466 case "(($ac_try" in
46467   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46468   *) ac_try_echo=$ac_try;;
46469 esac
46470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46471   (eval "$ac_compile") 2>conftest.er1
46472   ac_status=$?
46473   grep -v '^ *+' conftest.er1 >conftest.err
46474   rm -f conftest.er1
46475   cat conftest.err >&5
46476   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46477   (exit $ac_status); } && {
46478          test -z "$ac_cxx_werror_flag" ||
46479          test ! -s conftest.err
46480        } && test -s conftest.$ac_objext; then
46481   glibcxx_cv_func__isnanf_use=yes
46482 else
46483   echo "$as_me: failed program was:" >&5
46484 sed 's/^/| /' conftest.$ac_ext >&5
46485
46486         glibcxx_cv_func__isnanf_use=no
46487 fi
46488
46489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46490       ac_ext=c
46491 ac_cpp='$CPP $CPPFLAGS'
46492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46495
46496
46497 fi
46498
46499   fi
46500   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
46501 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6; }
46502
46503     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
46504
46505 for ac_func in _isnanf
46506 do
46507 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46508 { echo "$as_me:$LINENO: checking for $ac_func" >&5
46509 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
46510 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
46511   echo $ECHO_N "(cached) $ECHO_C" >&6
46512 else
46513   if test x$gcc_no_link = xyes; then
46514   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46515 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46516    { (exit 1); exit 1; }; }
46517 fi
46518 cat >conftest.$ac_ext <<_ACEOF
46519 /* confdefs.h.  */
46520 _ACEOF
46521 cat confdefs.h >>conftest.$ac_ext
46522 cat >>conftest.$ac_ext <<_ACEOF
46523 /* end confdefs.h.  */
46524 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46525    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46526 #define $ac_func innocuous_$ac_func
46527
46528 /* System header to define __stub macros and hopefully few prototypes,
46529     which can conflict with char $ac_func (); below.
46530     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46531     <limits.h> exists even on freestanding compilers.  */
46532
46533 #ifdef __STDC__
46534 # include <limits.h>
46535 #else
46536 # include <assert.h>
46537 #endif
46538
46539 #undef $ac_func
46540
46541 /* Override any GCC internal prototype to avoid an error.
46542    Use char because int might match the return type of a GCC
46543    builtin and then its argument prototype would still apply.  */
46544 #ifdef __cplusplus
46545 extern "C"
46546 #endif
46547 char $ac_func ();
46548 /* The GNU C library defines this for functions which it implements
46549     to always fail with ENOSYS.  Some functions are actually named
46550     something starting with __ and the normal name is an alias.  */
46551 #if defined __stub_$ac_func || defined __stub___$ac_func
46552 choke me
46553 #endif
46554
46555 int
46556 main ()
46557 {
46558 return $ac_func ();
46559   ;
46560   return 0;
46561 }
46562 _ACEOF
46563 rm -f conftest.$ac_objext conftest$ac_exeext
46564 if { (ac_try="$ac_link"
46565 case "(($ac_try" in
46566   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46567   *) ac_try_echo=$ac_try;;
46568 esac
46569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46570   (eval "$ac_link") 2>conftest.er1
46571   ac_status=$?
46572   grep -v '^ *+' conftest.er1 >conftest.err
46573   rm -f conftest.er1
46574   cat conftest.err >&5
46575   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46576   (exit $ac_status); } && {
46577          test -z "$ac_c_werror_flag" ||
46578          test ! -s conftest.err
46579        } && test -s conftest$ac_exeext &&
46580        $as_test_x conftest$ac_exeext; then
46581   eval "$as_ac_var=yes"
46582 else
46583   echo "$as_me: failed program was:" >&5
46584 sed 's/^/| /' conftest.$ac_ext >&5
46585
46586         eval "$as_ac_var=no"
46587 fi
46588
46589 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46590       conftest$ac_exeext conftest.$ac_ext
46591 fi
46592 ac_res=`eval echo '${'$as_ac_var'}'`
46593                { echo "$as_me:$LINENO: result: $ac_res" >&5
46594 echo "${ECHO_T}$ac_res" >&6; }
46595 if test `eval echo '${'$as_ac_var'}'` = yes; then
46596   cat >>confdefs.h <<_ACEOF
46597 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46598 _ACEOF
46599
46600 fi
46601 done
46602
46603     fi
46604   fi
46605
46606
46607
46608
46609
46610
46611   { echo "$as_me:$LINENO: checking for isinff declaration" >&5
46612 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6; }
46613   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
46614     if test "${glibcxx_cv_func_isinff_use+set}" = set; then
46615   echo $ECHO_N "(cached) $ECHO_C" >&6
46616 else
46617
46618
46619       ac_ext=cpp
46620 ac_cpp='$CXXCPP $CPPFLAGS'
46621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46624
46625       cat >conftest.$ac_ext <<_ACEOF
46626 /* confdefs.h.  */
46627 _ACEOF
46628 cat confdefs.h >>conftest.$ac_ext
46629 cat >>conftest.$ac_ext <<_ACEOF
46630 /* end confdefs.h.  */
46631 #include <math.h>
46632                       #ifdef HAVE_IEEEFP_H
46633                       #include <ieeefp.h>
46634                       #endif
46635
46636 int
46637 main ()
46638 {
46639  isinff(0);
46640   ;
46641   return 0;
46642 }
46643 _ACEOF
46644 rm -f conftest.$ac_objext
46645 if { (ac_try="$ac_compile"
46646 case "(($ac_try" in
46647   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46648   *) ac_try_echo=$ac_try;;
46649 esac
46650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46651   (eval "$ac_compile") 2>conftest.er1
46652   ac_status=$?
46653   grep -v '^ *+' conftest.er1 >conftest.err
46654   rm -f conftest.er1
46655   cat conftest.err >&5
46656   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46657   (exit $ac_status); } && {
46658          test -z "$ac_cxx_werror_flag" ||
46659          test ! -s conftest.err
46660        } && test -s conftest.$ac_objext; then
46661   glibcxx_cv_func_isinff_use=yes
46662 else
46663   echo "$as_me: failed program was:" >&5
46664 sed 's/^/| /' conftest.$ac_ext >&5
46665
46666         glibcxx_cv_func_isinff_use=no
46667 fi
46668
46669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46670       ac_ext=c
46671 ac_cpp='$CPP $CPPFLAGS'
46672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46675
46676
46677 fi
46678
46679   fi
46680   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
46681 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6; }
46682
46683   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
46684
46685 for ac_func in isinff
46686 do
46687 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46688 { echo "$as_me:$LINENO: checking for $ac_func" >&5
46689 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
46690 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
46691   echo $ECHO_N "(cached) $ECHO_C" >&6
46692 else
46693   if test x$gcc_no_link = xyes; then
46694   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46695 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46696    { (exit 1); exit 1; }; }
46697 fi
46698 cat >conftest.$ac_ext <<_ACEOF
46699 /* confdefs.h.  */
46700 _ACEOF
46701 cat confdefs.h >>conftest.$ac_ext
46702 cat >>conftest.$ac_ext <<_ACEOF
46703 /* end confdefs.h.  */
46704 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46705    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46706 #define $ac_func innocuous_$ac_func
46707
46708 /* System header to define __stub macros and hopefully few prototypes,
46709     which can conflict with char $ac_func (); below.
46710     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46711     <limits.h> exists even on freestanding compilers.  */
46712
46713 #ifdef __STDC__
46714 # include <limits.h>
46715 #else
46716 # include <assert.h>
46717 #endif
46718
46719 #undef $ac_func
46720
46721 /* Override any GCC internal prototype to avoid an error.
46722    Use char because int might match the return type of a GCC
46723    builtin and then its argument prototype would still apply.  */
46724 #ifdef __cplusplus
46725 extern "C"
46726 #endif
46727 char $ac_func ();
46728 /* The GNU C library defines this for functions which it implements
46729     to always fail with ENOSYS.  Some functions are actually named
46730     something starting with __ and the normal name is an alias.  */
46731 #if defined __stub_$ac_func || defined __stub___$ac_func
46732 choke me
46733 #endif
46734
46735 int
46736 main ()
46737 {
46738 return $ac_func ();
46739   ;
46740   return 0;
46741 }
46742 _ACEOF
46743 rm -f conftest.$ac_objext conftest$ac_exeext
46744 if { (ac_try="$ac_link"
46745 case "(($ac_try" in
46746   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46747   *) ac_try_echo=$ac_try;;
46748 esac
46749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46750   (eval "$ac_link") 2>conftest.er1
46751   ac_status=$?
46752   grep -v '^ *+' conftest.er1 >conftest.err
46753   rm -f conftest.er1
46754   cat conftest.err >&5
46755   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46756   (exit $ac_status); } && {
46757          test -z "$ac_c_werror_flag" ||
46758          test ! -s conftest.err
46759        } && test -s conftest$ac_exeext &&
46760        $as_test_x conftest$ac_exeext; then
46761   eval "$as_ac_var=yes"
46762 else
46763   echo "$as_me: failed program was:" >&5
46764 sed 's/^/| /' conftest.$ac_ext >&5
46765
46766         eval "$as_ac_var=no"
46767 fi
46768
46769 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46770       conftest$ac_exeext conftest.$ac_ext
46771 fi
46772 ac_res=`eval echo '${'$as_ac_var'}'`
46773                { echo "$as_me:$LINENO: result: $ac_res" >&5
46774 echo "${ECHO_T}$ac_res" >&6; }
46775 if test `eval echo '${'$as_ac_var'}'` = yes; then
46776   cat >>confdefs.h <<_ACEOF
46777 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46778 _ACEOF
46779
46780 fi
46781 done
46782
46783   else
46784
46785   { echo "$as_me:$LINENO: checking for _isinff declaration" >&5
46786 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6; }
46787   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
46788     if test "${glibcxx_cv_func__isinff_use+set}" = set; then
46789   echo $ECHO_N "(cached) $ECHO_C" >&6
46790 else
46791
46792
46793       ac_ext=cpp
46794 ac_cpp='$CXXCPP $CPPFLAGS'
46795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46798
46799       cat >conftest.$ac_ext <<_ACEOF
46800 /* confdefs.h.  */
46801 _ACEOF
46802 cat confdefs.h >>conftest.$ac_ext
46803 cat >>conftest.$ac_ext <<_ACEOF
46804 /* end confdefs.h.  */
46805 #include <math.h>
46806                       #ifdef HAVE_IEEEFP_H
46807                       #include <ieeefp.h>
46808                       #endif
46809
46810 int
46811 main ()
46812 {
46813  _isinff(0);
46814   ;
46815   return 0;
46816 }
46817 _ACEOF
46818 rm -f conftest.$ac_objext
46819 if { (ac_try="$ac_compile"
46820 case "(($ac_try" in
46821   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46822   *) ac_try_echo=$ac_try;;
46823 esac
46824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46825   (eval "$ac_compile") 2>conftest.er1
46826   ac_status=$?
46827   grep -v '^ *+' conftest.er1 >conftest.err
46828   rm -f conftest.er1
46829   cat conftest.err >&5
46830   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46831   (exit $ac_status); } && {
46832          test -z "$ac_cxx_werror_flag" ||
46833          test ! -s conftest.err
46834        } && test -s conftest.$ac_objext; then
46835   glibcxx_cv_func__isinff_use=yes
46836 else
46837   echo "$as_me: failed program was:" >&5
46838 sed 's/^/| /' conftest.$ac_ext >&5
46839
46840         glibcxx_cv_func__isinff_use=no
46841 fi
46842
46843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46844       ac_ext=c
46845 ac_cpp='$CPP $CPPFLAGS'
46846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46849
46850
46851 fi
46852
46853   fi
46854   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
46855 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6; }
46856
46857     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
46858
46859 for ac_func in _isinff
46860 do
46861 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46862 { echo "$as_me:$LINENO: checking for $ac_func" >&5
46863 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
46864 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
46865   echo $ECHO_N "(cached) $ECHO_C" >&6
46866 else
46867   if test x$gcc_no_link = xyes; then
46868   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46869 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46870    { (exit 1); exit 1; }; }
46871 fi
46872 cat >conftest.$ac_ext <<_ACEOF
46873 /* confdefs.h.  */
46874 _ACEOF
46875 cat confdefs.h >>conftest.$ac_ext
46876 cat >>conftest.$ac_ext <<_ACEOF
46877 /* end confdefs.h.  */
46878 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46879    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46880 #define $ac_func innocuous_$ac_func
46881
46882 /* System header to define __stub macros and hopefully few prototypes,
46883     which can conflict with char $ac_func (); below.
46884     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46885     <limits.h> exists even on freestanding compilers.  */
46886
46887 #ifdef __STDC__
46888 # include <limits.h>
46889 #else
46890 # include <assert.h>
46891 #endif
46892
46893 #undef $ac_func
46894
46895 /* Override any GCC internal prototype to avoid an error.
46896    Use char because int might match the return type of a GCC
46897    builtin and then its argument prototype would still apply.  */
46898 #ifdef __cplusplus
46899 extern "C"
46900 #endif
46901 char $ac_func ();
46902 /* The GNU C library defines this for functions which it implements
46903     to always fail with ENOSYS.  Some functions are actually named
46904     something starting with __ and the normal name is an alias.  */
46905 #if defined __stub_$ac_func || defined __stub___$ac_func
46906 choke me
46907 #endif
46908
46909 int
46910 main ()
46911 {
46912 return $ac_func ();
46913   ;
46914   return 0;
46915 }
46916 _ACEOF
46917 rm -f conftest.$ac_objext conftest$ac_exeext
46918 if { (ac_try="$ac_link"
46919 case "(($ac_try" in
46920   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46921   *) ac_try_echo=$ac_try;;
46922 esac
46923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46924   (eval "$ac_link") 2>conftest.er1
46925   ac_status=$?
46926   grep -v '^ *+' conftest.er1 >conftest.err
46927   rm -f conftest.er1
46928   cat conftest.err >&5
46929   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46930   (exit $ac_status); } && {
46931          test -z "$ac_c_werror_flag" ||
46932          test ! -s conftest.err
46933        } && test -s conftest$ac_exeext &&
46934        $as_test_x conftest$ac_exeext; then
46935   eval "$as_ac_var=yes"
46936 else
46937   echo "$as_me: failed program was:" >&5
46938 sed 's/^/| /' conftest.$ac_ext >&5
46939
46940         eval "$as_ac_var=no"
46941 fi
46942
46943 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46944       conftest$ac_exeext conftest.$ac_ext
46945 fi
46946 ac_res=`eval echo '${'$as_ac_var'}'`
46947                { echo "$as_me:$LINENO: result: $ac_res" >&5
46948 echo "${ECHO_T}$ac_res" >&6; }
46949 if test `eval echo '${'$as_ac_var'}'` = yes; then
46950   cat >>confdefs.h <<_ACEOF
46951 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46952 _ACEOF
46953
46954 fi
46955 done
46956
46957     fi
46958   fi
46959
46960
46961
46962
46963
46964
46965   { echo "$as_me:$LINENO: checking for atan2f declaration" >&5
46966 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6; }
46967   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
46968     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
46969   echo $ECHO_N "(cached) $ECHO_C" >&6
46970 else
46971
46972
46973       ac_ext=cpp
46974 ac_cpp='$CXXCPP $CPPFLAGS'
46975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46978
46979       cat >conftest.$ac_ext <<_ACEOF
46980 /* confdefs.h.  */
46981 _ACEOF
46982 cat confdefs.h >>conftest.$ac_ext
46983 cat >>conftest.$ac_ext <<_ACEOF
46984 /* end confdefs.h.  */
46985 #include <math.h>
46986 int
46987 main ()
46988 {
46989  atan2f(0, 0);
46990   ;
46991   return 0;
46992 }
46993 _ACEOF
46994 rm -f conftest.$ac_objext
46995 if { (ac_try="$ac_compile"
46996 case "(($ac_try" in
46997   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46998   *) ac_try_echo=$ac_try;;
46999 esac
47000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47001   (eval "$ac_compile") 2>conftest.er1
47002   ac_status=$?
47003   grep -v '^ *+' conftest.er1 >conftest.err
47004   rm -f conftest.er1
47005   cat conftest.err >&5
47006   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47007   (exit $ac_status); } && {
47008          test -z "$ac_cxx_werror_flag" ||
47009          test ! -s conftest.err
47010        } && test -s conftest.$ac_objext; then
47011   glibcxx_cv_func_atan2f_use=yes
47012 else
47013   echo "$as_me: failed program was:" >&5
47014 sed 's/^/| /' conftest.$ac_ext >&5
47015
47016         glibcxx_cv_func_atan2f_use=no
47017 fi
47018
47019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47020       ac_ext=c
47021 ac_cpp='$CPP $CPPFLAGS'
47022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47025
47026
47027 fi
47028
47029   fi
47030   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
47031 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6; }
47032
47033   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
47034
47035 for ac_func in atan2f
47036 do
47037 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47038 { echo "$as_me:$LINENO: checking for $ac_func" >&5
47039 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
47040 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
47041   echo $ECHO_N "(cached) $ECHO_C" >&6
47042 else
47043   if test x$gcc_no_link = xyes; then
47044   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47045 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47046    { (exit 1); exit 1; }; }
47047 fi
47048 cat >conftest.$ac_ext <<_ACEOF
47049 /* confdefs.h.  */
47050 _ACEOF
47051 cat confdefs.h >>conftest.$ac_ext
47052 cat >>conftest.$ac_ext <<_ACEOF
47053 /* end confdefs.h.  */
47054 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47055    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47056 #define $ac_func innocuous_$ac_func
47057
47058 /* System header to define __stub macros and hopefully few prototypes,
47059     which can conflict with char $ac_func (); below.
47060     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47061     <limits.h> exists even on freestanding compilers.  */
47062
47063 #ifdef __STDC__
47064 # include <limits.h>
47065 #else
47066 # include <assert.h>
47067 #endif
47068
47069 #undef $ac_func
47070
47071 /* Override any GCC internal prototype to avoid an error.
47072    Use char because int might match the return type of a GCC
47073    builtin and then its argument prototype would still apply.  */
47074 #ifdef __cplusplus
47075 extern "C"
47076 #endif
47077 char $ac_func ();
47078 /* The GNU C library defines this for functions which it implements
47079     to always fail with ENOSYS.  Some functions are actually named
47080     something starting with __ and the normal name is an alias.  */
47081 #if defined __stub_$ac_func || defined __stub___$ac_func
47082 choke me
47083 #endif
47084
47085 int
47086 main ()
47087 {
47088 return $ac_func ();
47089   ;
47090   return 0;
47091 }
47092 _ACEOF
47093 rm -f conftest.$ac_objext conftest$ac_exeext
47094 if { (ac_try="$ac_link"
47095 case "(($ac_try" in
47096   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47097   *) ac_try_echo=$ac_try;;
47098 esac
47099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47100   (eval "$ac_link") 2>conftest.er1
47101   ac_status=$?
47102   grep -v '^ *+' conftest.er1 >conftest.err
47103   rm -f conftest.er1
47104   cat conftest.err >&5
47105   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47106   (exit $ac_status); } && {
47107          test -z "$ac_c_werror_flag" ||
47108          test ! -s conftest.err
47109        } && test -s conftest$ac_exeext &&
47110        $as_test_x conftest$ac_exeext; then
47111   eval "$as_ac_var=yes"
47112 else
47113   echo "$as_me: failed program was:" >&5
47114 sed 's/^/| /' conftest.$ac_ext >&5
47115
47116         eval "$as_ac_var=no"
47117 fi
47118
47119 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
47120       conftest$ac_exeext conftest.$ac_ext
47121 fi
47122 ac_res=`eval echo '${'$as_ac_var'}'`
47123                { echo "$as_me:$LINENO: result: $ac_res" >&5
47124 echo "${ECHO_T}$ac_res" >&6; }
47125 if test `eval echo '${'$as_ac_var'}'` = yes; then
47126   cat >>confdefs.h <<_ACEOF
47127 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47128 _ACEOF
47129
47130 fi
47131 done
47132
47133   else
47134
47135   { echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
47136 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6; }
47137   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
47138     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
47139   echo $ECHO_N "(cached) $ECHO_C" >&6
47140 else
47141
47142
47143       ac_ext=cpp
47144 ac_cpp='$CXXCPP $CPPFLAGS'
47145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47148
47149       cat >conftest.$ac_ext <<_ACEOF
47150 /* confdefs.h.  */
47151 _ACEOF
47152 cat confdefs.h >>conftest.$ac_ext
47153 cat >>conftest.$ac_ext <<_ACEOF
47154 /* end confdefs.h.  */
47155 #include <math.h>
47156 int
47157 main ()
47158 {
47159  _atan2f(0, 0);
47160   ;
47161   return 0;
47162 }
47163 _ACEOF
47164 rm -f conftest.$ac_objext
47165 if { (ac_try="$ac_compile"
47166 case "(($ac_try" in
47167   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47168   *) ac_try_echo=$ac_try;;
47169 esac
47170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47171   (eval "$ac_compile") 2>conftest.er1
47172   ac_status=$?
47173   grep -v '^ *+' conftest.er1 >conftest.err
47174   rm -f conftest.er1
47175   cat conftest.err >&5
47176   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47177   (exit $ac_status); } && {
47178          test -z "$ac_cxx_werror_flag" ||
47179          test ! -s conftest.err
47180        } && test -s conftest.$ac_objext; then
47181   glibcxx_cv_func__atan2f_use=yes
47182 else
47183   echo "$as_me: failed program was:" >&5
47184 sed 's/^/| /' conftest.$ac_ext >&5
47185
47186         glibcxx_cv_func__atan2f_use=no
47187 fi
47188
47189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47190       ac_ext=c
47191 ac_cpp='$CPP $CPPFLAGS'
47192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47195
47196
47197 fi
47198
47199   fi
47200   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
47201 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6; }
47202
47203     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
47204
47205 for ac_func in _atan2f
47206 do
47207 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47208 { echo "$as_me:$LINENO: checking for $ac_func" >&5
47209 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
47210 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
47211   echo $ECHO_N "(cached) $ECHO_C" >&6
47212 else
47213   if test x$gcc_no_link = xyes; then
47214   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47215 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47216    { (exit 1); exit 1; }; }
47217 fi
47218 cat >conftest.$ac_ext <<_ACEOF
47219 /* confdefs.h.  */
47220 _ACEOF
47221 cat confdefs.h >>conftest.$ac_ext
47222 cat >>conftest.$ac_ext <<_ACEOF
47223 /* end confdefs.h.  */
47224 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47225    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47226 #define $ac_func innocuous_$ac_func
47227
47228 /* System header to define __stub macros and hopefully few prototypes,
47229     which can conflict with char $ac_func (); below.
47230     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47231     <limits.h> exists even on freestanding compilers.  */
47232
47233 #ifdef __STDC__
47234 # include <limits.h>
47235 #else
47236 # include <assert.h>
47237 #endif
47238
47239 #undef $ac_func
47240
47241 /* Override any GCC internal prototype to avoid an error.
47242    Use char because int might match the return type of a GCC
47243    builtin and then its argument prototype would still apply.  */
47244 #ifdef __cplusplus
47245 extern "C"
47246 #endif
47247 char $ac_func ();
47248 /* The GNU C library defines this for functions which it implements
47249     to always fail with ENOSYS.  Some functions are actually named
47250     something starting with __ and the normal name is an alias.  */
47251 #if defined __stub_$ac_func || defined __stub___$ac_func
47252 choke me
47253 #endif
47254
47255 int
47256 main ()
47257 {
47258 return $ac_func ();
47259   ;
47260   return 0;
47261 }
47262 _ACEOF
47263 rm -f conftest.$ac_objext conftest$ac_exeext
47264 if { (ac_try="$ac_link"
47265 case "(($ac_try" in
47266   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47267   *) ac_try_echo=$ac_try;;
47268 esac
47269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47270   (eval "$ac_link") 2>conftest.er1
47271   ac_status=$?
47272   grep -v '^ *+' conftest.er1 >conftest.err
47273   rm -f conftest.er1
47274   cat conftest.err >&5
47275   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47276   (exit $ac_status); } && {
47277          test -z "$ac_c_werror_flag" ||
47278          test ! -s conftest.err
47279        } && test -s conftest$ac_exeext &&
47280        $as_test_x conftest$ac_exeext; then
47281   eval "$as_ac_var=yes"
47282 else
47283   echo "$as_me: failed program was:" >&5
47284 sed 's/^/| /' conftest.$ac_ext >&5
47285
47286         eval "$as_ac_var=no"
47287 fi
47288
47289 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
47290       conftest$ac_exeext conftest.$ac_ext
47291 fi
47292 ac_res=`eval echo '${'$as_ac_var'}'`
47293                { echo "$as_me:$LINENO: result: $ac_res" >&5
47294 echo "${ECHO_T}$ac_res" >&6; }
47295 if test `eval echo '${'$as_ac_var'}'` = yes; then
47296   cat >>confdefs.h <<_ACEOF
47297 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47298 _ACEOF
47299
47300 fi
47301 done
47302
47303     fi
47304   fi
47305
47306
47307
47308
47309
47310
47311   { echo "$as_me:$LINENO: checking for fabsf declaration" >&5
47312 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6; }
47313   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
47314     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
47315   echo $ECHO_N "(cached) $ECHO_C" >&6
47316 else
47317
47318
47319       ac_ext=cpp
47320 ac_cpp='$CXXCPP $CPPFLAGS'
47321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47324
47325       cat >conftest.$ac_ext <<_ACEOF
47326 /* confdefs.h.  */
47327 _ACEOF
47328 cat confdefs.h >>conftest.$ac_ext
47329 cat >>conftest.$ac_ext <<_ACEOF
47330 /* end confdefs.h.  */
47331 #include <math.h>
47332                       #ifdef HAVE_IEEEFP_H
47333                       #include <ieeefp.h>
47334                       #endif
47335
47336 int
47337 main ()
47338 {
47339  fabsf(0);
47340   ;
47341   return 0;
47342 }
47343 _ACEOF
47344 rm -f conftest.$ac_objext
47345 if { (ac_try="$ac_compile"
47346 case "(($ac_try" in
47347   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47348   *) ac_try_echo=$ac_try;;
47349 esac
47350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47351   (eval "$ac_compile") 2>conftest.er1
47352   ac_status=$?
47353   grep -v '^ *+' conftest.er1 >conftest.err
47354   rm -f conftest.er1
47355   cat conftest.err >&5
47356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47357   (exit $ac_status); } && {
47358          test -z "$ac_cxx_werror_flag" ||
47359          test ! -s conftest.err
47360        } && test -s conftest.$ac_objext; then
47361   glibcxx_cv_func_fabsf_use=yes
47362 else
47363   echo "$as_me: failed program was:" >&5
47364 sed 's/^/| /' conftest.$ac_ext >&5
47365
47366         glibcxx_cv_func_fabsf_use=no
47367 fi
47368
47369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47370       ac_ext=c
47371 ac_cpp='$CPP $CPPFLAGS'
47372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47375
47376
47377 fi
47378
47379   fi
47380   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
47381 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6; }
47382
47383   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
47384
47385 for ac_func in fabsf
47386 do
47387 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47388 { echo "$as_me:$LINENO: checking for $ac_func" >&5
47389 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
47390 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
47391   echo $ECHO_N "(cached) $ECHO_C" >&6
47392 else
47393   if test x$gcc_no_link = xyes; then
47394   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47395 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47396    { (exit 1); exit 1; }; }
47397 fi
47398 cat >conftest.$ac_ext <<_ACEOF
47399 /* confdefs.h.  */
47400 _ACEOF
47401 cat confdefs.h >>conftest.$ac_ext
47402 cat >>conftest.$ac_ext <<_ACEOF
47403 /* end confdefs.h.  */
47404 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47405    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47406 #define $ac_func innocuous_$ac_func
47407
47408 /* System header to define __stub macros and hopefully few prototypes,
47409     which can conflict with char $ac_func (); below.
47410     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47411     <limits.h> exists even on freestanding compilers.  */
47412
47413 #ifdef __STDC__
47414 # include <limits.h>
47415 #else
47416 # include <assert.h>
47417 #endif
47418
47419 #undef $ac_func
47420
47421 /* Override any GCC internal prototype to avoid an error.
47422    Use char because int might match the return type of a GCC
47423    builtin and then its argument prototype would still apply.  */
47424 #ifdef __cplusplus
47425 extern "C"
47426 #endif
47427 char $ac_func ();
47428 /* The GNU C library defines this for functions which it implements
47429     to always fail with ENOSYS.  Some functions are actually named
47430     something starting with __ and the normal name is an alias.  */
47431 #if defined __stub_$ac_func || defined __stub___$ac_func
47432 choke me
47433 #endif
47434
47435 int
47436 main ()
47437 {
47438 return $ac_func ();
47439   ;
47440   return 0;
47441 }
47442 _ACEOF
47443 rm -f conftest.$ac_objext conftest$ac_exeext
47444 if { (ac_try="$ac_link"
47445 case "(($ac_try" in
47446   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47447   *) ac_try_echo=$ac_try;;
47448 esac
47449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47450   (eval "$ac_link") 2>conftest.er1
47451   ac_status=$?
47452   grep -v '^ *+' conftest.er1 >conftest.err
47453   rm -f conftest.er1
47454   cat conftest.err >&5
47455   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47456   (exit $ac_status); } && {
47457          test -z "$ac_c_werror_flag" ||
47458          test ! -s conftest.err
47459        } && test -s conftest$ac_exeext &&
47460        $as_test_x conftest$ac_exeext; then
47461   eval "$as_ac_var=yes"
47462 else
47463   echo "$as_me: failed program was:" >&5
47464 sed 's/^/| /' conftest.$ac_ext >&5
47465
47466         eval "$as_ac_var=no"
47467 fi
47468
47469 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
47470       conftest$ac_exeext conftest.$ac_ext
47471 fi
47472 ac_res=`eval echo '${'$as_ac_var'}'`
47473                { echo "$as_me:$LINENO: result: $ac_res" >&5
47474 echo "${ECHO_T}$ac_res" >&6; }
47475 if test `eval echo '${'$as_ac_var'}'` = yes; then
47476   cat >>confdefs.h <<_ACEOF
47477 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47478 _ACEOF
47479
47480 fi
47481 done
47482
47483   else
47484
47485   { echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
47486 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6; }
47487   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
47488     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
47489   echo $ECHO_N "(cached) $ECHO_C" >&6
47490 else
47491
47492
47493       ac_ext=cpp
47494 ac_cpp='$CXXCPP $CPPFLAGS'
47495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47498
47499       cat >conftest.$ac_ext <<_ACEOF
47500 /* confdefs.h.  */
47501 _ACEOF
47502 cat confdefs.h >>conftest.$ac_ext
47503 cat >>conftest.$ac_ext <<_ACEOF
47504 /* end confdefs.h.  */
47505 #include <math.h>
47506                       #ifdef HAVE_IEEEFP_H
47507                       #include <ieeefp.h>
47508                       #endif
47509
47510 int
47511 main ()
47512 {
47513  _fabsf(0);
47514   ;
47515   return 0;
47516 }
47517 _ACEOF
47518 rm -f conftest.$ac_objext
47519 if { (ac_try="$ac_compile"
47520 case "(($ac_try" in
47521   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47522   *) ac_try_echo=$ac_try;;
47523 esac
47524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47525   (eval "$ac_compile") 2>conftest.er1
47526   ac_status=$?
47527   grep -v '^ *+' conftest.er1 >conftest.err
47528   rm -f conftest.er1
47529   cat conftest.err >&5
47530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47531   (exit $ac_status); } && {
47532          test -z "$ac_cxx_werror_flag" ||
47533          test ! -s conftest.err
47534        } && test -s conftest.$ac_objext; then
47535   glibcxx_cv_func__fabsf_use=yes
47536 else
47537   echo "$as_me: failed program was:" >&5
47538 sed 's/^/| /' conftest.$ac_ext >&5
47539
47540         glibcxx_cv_func__fabsf_use=no
47541 fi
47542
47543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47544       ac_ext=c
47545 ac_cpp='$CPP $CPPFLAGS'
47546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47549
47550
47551 fi
47552
47553   fi
47554   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
47555 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6; }
47556
47557     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
47558
47559 for ac_func in _fabsf
47560 do
47561 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47562 { echo "$as_me:$LINENO: checking for $ac_func" >&5
47563 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
47564 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
47565   echo $ECHO_N "(cached) $ECHO_C" >&6
47566 else
47567   if test x$gcc_no_link = xyes; then
47568   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47569 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47570    { (exit 1); exit 1; }; }
47571 fi
47572 cat >conftest.$ac_ext <<_ACEOF
47573 /* confdefs.h.  */
47574 _ACEOF
47575 cat confdefs.h >>conftest.$ac_ext
47576 cat >>conftest.$ac_ext <<_ACEOF
47577 /* end confdefs.h.  */
47578 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47579    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47580 #define $ac_func innocuous_$ac_func
47581
47582 /* System header to define __stub macros and hopefully few prototypes,
47583     which can conflict with char $ac_func (); below.
47584     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47585     <limits.h> exists even on freestanding compilers.  */
47586
47587 #ifdef __STDC__
47588 # include <limits.h>
47589 #else
47590 # include <assert.h>
47591 #endif
47592
47593 #undef $ac_func
47594
47595 /* Override any GCC internal prototype to avoid an error.
47596    Use char because int might match the return type of a GCC
47597    builtin and then its argument prototype would still apply.  */
47598 #ifdef __cplusplus
47599 extern "C"
47600 #endif
47601 char $ac_func ();
47602 /* The GNU C library defines this for functions which it implements
47603     to always fail with ENOSYS.  Some functions are actually named
47604     something starting with __ and the normal name is an alias.  */
47605 #if defined __stub_$ac_func || defined __stub___$ac_func
47606 choke me
47607 #endif
47608
47609 int
47610 main ()
47611 {
47612 return $ac_func ();
47613   ;
47614   return 0;
47615 }
47616 _ACEOF
47617 rm -f conftest.$ac_objext conftest$ac_exeext
47618 if { (ac_try="$ac_link"
47619 case "(($ac_try" in
47620   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47621   *) ac_try_echo=$ac_try;;
47622 esac
47623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47624   (eval "$ac_link") 2>conftest.er1
47625   ac_status=$?
47626   grep -v '^ *+' conftest.er1 >conftest.err
47627   rm -f conftest.er1
47628   cat conftest.err >&5
47629   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47630   (exit $ac_status); } && {
47631          test -z "$ac_c_werror_flag" ||
47632          test ! -s conftest.err
47633        } && test -s conftest$ac_exeext &&
47634        $as_test_x conftest$ac_exeext; then
47635   eval "$as_ac_var=yes"
47636 else
47637   echo "$as_me: failed program was:" >&5
47638 sed 's/^/| /' conftest.$ac_ext >&5
47639
47640         eval "$as_ac_var=no"
47641 fi
47642
47643 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
47644       conftest$ac_exeext conftest.$ac_ext
47645 fi
47646 ac_res=`eval echo '${'$as_ac_var'}'`
47647                { echo "$as_me:$LINENO: result: $ac_res" >&5
47648 echo "${ECHO_T}$ac_res" >&6; }
47649 if test `eval echo '${'$as_ac_var'}'` = yes; then
47650   cat >>confdefs.h <<_ACEOF
47651 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47652 _ACEOF
47653
47654 fi
47655 done
47656
47657     fi
47658   fi
47659
47660
47661
47662
47663
47664
47665   { echo "$as_me:$LINENO: checking for fmodf declaration" >&5
47666 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6; }
47667   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
47668     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
47669   echo $ECHO_N "(cached) $ECHO_C" >&6
47670 else
47671
47672
47673       ac_ext=cpp
47674 ac_cpp='$CXXCPP $CPPFLAGS'
47675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47678
47679       cat >conftest.$ac_ext <<_ACEOF
47680 /* confdefs.h.  */
47681 _ACEOF
47682 cat confdefs.h >>conftest.$ac_ext
47683 cat >>conftest.$ac_ext <<_ACEOF
47684 /* end confdefs.h.  */
47685 #include <math.h>
47686 int
47687 main ()
47688 {
47689  fmodf(0, 0);
47690   ;
47691   return 0;
47692 }
47693 _ACEOF
47694 rm -f conftest.$ac_objext
47695 if { (ac_try="$ac_compile"
47696 case "(($ac_try" in
47697   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47698   *) ac_try_echo=$ac_try;;
47699 esac
47700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47701   (eval "$ac_compile") 2>conftest.er1
47702   ac_status=$?
47703   grep -v '^ *+' conftest.er1 >conftest.err
47704   rm -f conftest.er1
47705   cat conftest.err >&5
47706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47707   (exit $ac_status); } && {
47708          test -z "$ac_cxx_werror_flag" ||
47709          test ! -s conftest.err
47710        } && test -s conftest.$ac_objext; then
47711   glibcxx_cv_func_fmodf_use=yes
47712 else
47713   echo "$as_me: failed program was:" >&5
47714 sed 's/^/| /' conftest.$ac_ext >&5
47715
47716         glibcxx_cv_func_fmodf_use=no
47717 fi
47718
47719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47720       ac_ext=c
47721 ac_cpp='$CPP $CPPFLAGS'
47722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47725
47726
47727 fi
47728
47729   fi
47730   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
47731 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6; }
47732
47733   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
47734
47735 for ac_func in fmodf
47736 do
47737 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47738 { echo "$as_me:$LINENO: checking for $ac_func" >&5
47739 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
47740 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
47741   echo $ECHO_N "(cached) $ECHO_C" >&6
47742 else
47743   if test x$gcc_no_link = xyes; then
47744   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47745 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47746    { (exit 1); exit 1; }; }
47747 fi
47748 cat >conftest.$ac_ext <<_ACEOF
47749 /* confdefs.h.  */
47750 _ACEOF
47751 cat confdefs.h >>conftest.$ac_ext
47752 cat >>conftest.$ac_ext <<_ACEOF
47753 /* end confdefs.h.  */
47754 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47755    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47756 #define $ac_func innocuous_$ac_func
47757
47758 /* System header to define __stub macros and hopefully few prototypes,
47759     which can conflict with char $ac_func (); below.
47760     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47761     <limits.h> exists even on freestanding compilers.  */
47762
47763 #ifdef __STDC__
47764 # include <limits.h>
47765 #else
47766 # include <assert.h>
47767 #endif
47768
47769 #undef $ac_func
47770
47771 /* Override any GCC internal prototype to avoid an error.
47772    Use char because int might match the return type of a GCC
47773    builtin and then its argument prototype would still apply.  */
47774 #ifdef __cplusplus
47775 extern "C"
47776 #endif
47777 char $ac_func ();
47778 /* The GNU C library defines this for functions which it implements
47779     to always fail with ENOSYS.  Some functions are actually named
47780     something starting with __ and the normal name is an alias.  */
47781 #if defined __stub_$ac_func || defined __stub___$ac_func
47782 choke me
47783 #endif
47784
47785 int
47786 main ()
47787 {
47788 return $ac_func ();
47789   ;
47790   return 0;
47791 }
47792 _ACEOF
47793 rm -f conftest.$ac_objext conftest$ac_exeext
47794 if { (ac_try="$ac_link"
47795 case "(($ac_try" in
47796   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47797   *) ac_try_echo=$ac_try;;
47798 esac
47799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47800   (eval "$ac_link") 2>conftest.er1
47801   ac_status=$?
47802   grep -v '^ *+' conftest.er1 >conftest.err
47803   rm -f conftest.er1
47804   cat conftest.err >&5
47805   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47806   (exit $ac_status); } && {
47807          test -z "$ac_c_werror_flag" ||
47808          test ! -s conftest.err
47809        } && test -s conftest$ac_exeext &&
47810        $as_test_x conftest$ac_exeext; then
47811   eval "$as_ac_var=yes"
47812 else
47813   echo "$as_me: failed program was:" >&5
47814 sed 's/^/| /' conftest.$ac_ext >&5
47815
47816         eval "$as_ac_var=no"
47817 fi
47818
47819 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
47820       conftest$ac_exeext conftest.$ac_ext
47821 fi
47822 ac_res=`eval echo '${'$as_ac_var'}'`
47823                { echo "$as_me:$LINENO: result: $ac_res" >&5
47824 echo "${ECHO_T}$ac_res" >&6; }
47825 if test `eval echo '${'$as_ac_var'}'` = yes; then
47826   cat >>confdefs.h <<_ACEOF
47827 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47828 _ACEOF
47829
47830 fi
47831 done
47832
47833   else
47834
47835   { echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
47836 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6; }
47837   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
47838     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
47839   echo $ECHO_N "(cached) $ECHO_C" >&6
47840 else
47841
47842
47843       ac_ext=cpp
47844 ac_cpp='$CXXCPP $CPPFLAGS'
47845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47848
47849       cat >conftest.$ac_ext <<_ACEOF
47850 /* confdefs.h.  */
47851 _ACEOF
47852 cat confdefs.h >>conftest.$ac_ext
47853 cat >>conftest.$ac_ext <<_ACEOF
47854 /* end confdefs.h.  */
47855 #include <math.h>
47856 int
47857 main ()
47858 {
47859  _fmodf(0, 0);
47860   ;
47861   return 0;
47862 }
47863 _ACEOF
47864 rm -f conftest.$ac_objext
47865 if { (ac_try="$ac_compile"
47866 case "(($ac_try" in
47867   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47868   *) ac_try_echo=$ac_try;;
47869 esac
47870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47871   (eval "$ac_compile") 2>conftest.er1
47872   ac_status=$?
47873   grep -v '^ *+' conftest.er1 >conftest.err
47874   rm -f conftest.er1
47875   cat conftest.err >&5
47876   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47877   (exit $ac_status); } && {
47878          test -z "$ac_cxx_werror_flag" ||
47879          test ! -s conftest.err
47880        } && test -s conftest.$ac_objext; then
47881   glibcxx_cv_func__fmodf_use=yes
47882 else
47883   echo "$as_me: failed program was:" >&5
47884 sed 's/^/| /' conftest.$ac_ext >&5
47885
47886         glibcxx_cv_func__fmodf_use=no
47887 fi
47888
47889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47890       ac_ext=c
47891 ac_cpp='$CPP $CPPFLAGS'
47892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47895
47896
47897 fi
47898
47899   fi
47900   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
47901 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6; }
47902
47903     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
47904
47905 for ac_func in _fmodf
47906 do
47907 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47908 { echo "$as_me:$LINENO: checking for $ac_func" >&5
47909 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
47910 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
47911   echo $ECHO_N "(cached) $ECHO_C" >&6
47912 else
47913   if test x$gcc_no_link = xyes; then
47914   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47915 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47916    { (exit 1); exit 1; }; }
47917 fi
47918 cat >conftest.$ac_ext <<_ACEOF
47919 /* confdefs.h.  */
47920 _ACEOF
47921 cat confdefs.h >>conftest.$ac_ext
47922 cat >>conftest.$ac_ext <<_ACEOF
47923 /* end confdefs.h.  */
47924 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47925    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47926 #define $ac_func innocuous_$ac_func
47927
47928 /* System header to define __stub macros and hopefully few prototypes,
47929     which can conflict with char $ac_func (); below.
47930     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47931     <limits.h> exists even on freestanding compilers.  */
47932
47933 #ifdef __STDC__
47934 # include <limits.h>
47935 #else
47936 # include <assert.h>
47937 #endif
47938
47939 #undef $ac_func
47940
47941 /* Override any GCC internal prototype to avoid an error.
47942    Use char because int might match the return type of a GCC
47943    builtin and then its argument prototype would still apply.  */
47944 #ifdef __cplusplus
47945 extern "C"
47946 #endif
47947 char $ac_func ();
47948 /* The GNU C library defines this for functions which it implements
47949     to always fail with ENOSYS.  Some functions are actually named
47950     something starting with __ and the normal name is an alias.  */
47951 #if defined __stub_$ac_func || defined __stub___$ac_func
47952 choke me
47953 #endif
47954
47955 int
47956 main ()
47957 {
47958 return $ac_func ();
47959   ;
47960   return 0;
47961 }
47962 _ACEOF
47963 rm -f conftest.$ac_objext conftest$ac_exeext
47964 if { (ac_try="$ac_link"
47965 case "(($ac_try" in
47966   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47967   *) ac_try_echo=$ac_try;;
47968 esac
47969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47970   (eval "$ac_link") 2>conftest.er1
47971   ac_status=$?
47972   grep -v '^ *+' conftest.er1 >conftest.err
47973   rm -f conftest.er1
47974   cat conftest.err >&5
47975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47976   (exit $ac_status); } && {
47977          test -z "$ac_c_werror_flag" ||
47978          test ! -s conftest.err
47979        } && test -s conftest$ac_exeext &&
47980        $as_test_x conftest$ac_exeext; then
47981   eval "$as_ac_var=yes"
47982 else
47983   echo "$as_me: failed program was:" >&5
47984 sed 's/^/| /' conftest.$ac_ext >&5
47985
47986         eval "$as_ac_var=no"
47987 fi
47988
47989 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
47990       conftest$ac_exeext conftest.$ac_ext
47991 fi
47992 ac_res=`eval echo '${'$as_ac_var'}'`
47993                { echo "$as_me:$LINENO: result: $ac_res" >&5
47994 echo "${ECHO_T}$ac_res" >&6; }
47995 if test `eval echo '${'$as_ac_var'}'` = yes; then
47996   cat >>confdefs.h <<_ACEOF
47997 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47998 _ACEOF
47999
48000 fi
48001 done
48002
48003     fi
48004   fi
48005
48006
48007
48008
48009
48010
48011   { echo "$as_me:$LINENO: checking for frexpf declaration" >&5
48012 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6; }
48013   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
48014     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
48015   echo $ECHO_N "(cached) $ECHO_C" >&6
48016 else
48017
48018
48019       ac_ext=cpp
48020 ac_cpp='$CXXCPP $CPPFLAGS'
48021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48024
48025       cat >conftest.$ac_ext <<_ACEOF
48026 /* confdefs.h.  */
48027 _ACEOF
48028 cat confdefs.h >>conftest.$ac_ext
48029 cat >>conftest.$ac_ext <<_ACEOF
48030 /* end confdefs.h.  */
48031 #include <math.h>
48032 int
48033 main ()
48034 {
48035  frexpf(0, 0);
48036   ;
48037   return 0;
48038 }
48039 _ACEOF
48040 rm -f conftest.$ac_objext
48041 if { (ac_try="$ac_compile"
48042 case "(($ac_try" in
48043   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48044   *) ac_try_echo=$ac_try;;
48045 esac
48046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48047   (eval "$ac_compile") 2>conftest.er1
48048   ac_status=$?
48049   grep -v '^ *+' conftest.er1 >conftest.err
48050   rm -f conftest.er1
48051   cat conftest.err >&5
48052   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48053   (exit $ac_status); } && {
48054          test -z "$ac_cxx_werror_flag" ||
48055          test ! -s conftest.err
48056        } && test -s conftest.$ac_objext; then
48057   glibcxx_cv_func_frexpf_use=yes
48058 else
48059   echo "$as_me: failed program was:" >&5
48060 sed 's/^/| /' conftest.$ac_ext >&5
48061
48062         glibcxx_cv_func_frexpf_use=no
48063 fi
48064
48065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48066       ac_ext=c
48067 ac_cpp='$CPP $CPPFLAGS'
48068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48071
48072
48073 fi
48074
48075   fi
48076   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
48077 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6; }
48078
48079   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
48080
48081 for ac_func in frexpf
48082 do
48083 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48084 { echo "$as_me:$LINENO: checking for $ac_func" >&5
48085 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
48086 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
48087   echo $ECHO_N "(cached) $ECHO_C" >&6
48088 else
48089   if test x$gcc_no_link = xyes; then
48090   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48091 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48092    { (exit 1); exit 1; }; }
48093 fi
48094 cat >conftest.$ac_ext <<_ACEOF
48095 /* confdefs.h.  */
48096 _ACEOF
48097 cat confdefs.h >>conftest.$ac_ext
48098 cat >>conftest.$ac_ext <<_ACEOF
48099 /* end confdefs.h.  */
48100 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48101    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
48102 #define $ac_func innocuous_$ac_func
48103
48104 /* System header to define __stub macros and hopefully few prototypes,
48105     which can conflict with char $ac_func (); below.
48106     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48107     <limits.h> exists even on freestanding compilers.  */
48108
48109 #ifdef __STDC__
48110 # include <limits.h>
48111 #else
48112 # include <assert.h>
48113 #endif
48114
48115 #undef $ac_func
48116
48117 /* Override any GCC internal prototype to avoid an error.
48118    Use char because int might match the return type of a GCC
48119    builtin and then its argument prototype would still apply.  */
48120 #ifdef __cplusplus
48121 extern "C"
48122 #endif
48123 char $ac_func ();
48124 /* The GNU C library defines this for functions which it implements
48125     to always fail with ENOSYS.  Some functions are actually named
48126     something starting with __ and the normal name is an alias.  */
48127 #if defined __stub_$ac_func || defined __stub___$ac_func
48128 choke me
48129 #endif
48130
48131 int
48132 main ()
48133 {
48134 return $ac_func ();
48135   ;
48136   return 0;
48137 }
48138 _ACEOF
48139 rm -f conftest.$ac_objext conftest$ac_exeext
48140 if { (ac_try="$ac_link"
48141 case "(($ac_try" in
48142   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48143   *) ac_try_echo=$ac_try;;
48144 esac
48145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48146   (eval "$ac_link") 2>conftest.er1
48147   ac_status=$?
48148   grep -v '^ *+' conftest.er1 >conftest.err
48149   rm -f conftest.er1
48150   cat conftest.err >&5
48151   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48152   (exit $ac_status); } && {
48153          test -z "$ac_c_werror_flag" ||
48154          test ! -s conftest.err
48155        } && test -s conftest$ac_exeext &&
48156        $as_test_x conftest$ac_exeext; then
48157   eval "$as_ac_var=yes"
48158 else
48159   echo "$as_me: failed program was:" >&5
48160 sed 's/^/| /' conftest.$ac_ext >&5
48161
48162         eval "$as_ac_var=no"
48163 fi
48164
48165 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
48166       conftest$ac_exeext conftest.$ac_ext
48167 fi
48168 ac_res=`eval echo '${'$as_ac_var'}'`
48169                { echo "$as_me:$LINENO: result: $ac_res" >&5
48170 echo "${ECHO_T}$ac_res" >&6; }
48171 if test `eval echo '${'$as_ac_var'}'` = yes; then
48172   cat >>confdefs.h <<_ACEOF
48173 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48174 _ACEOF
48175
48176 fi
48177 done
48178
48179   else
48180
48181   { echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
48182 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6; }
48183   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
48184     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
48185   echo $ECHO_N "(cached) $ECHO_C" >&6
48186 else
48187
48188
48189       ac_ext=cpp
48190 ac_cpp='$CXXCPP $CPPFLAGS'
48191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48194
48195       cat >conftest.$ac_ext <<_ACEOF
48196 /* confdefs.h.  */
48197 _ACEOF
48198 cat confdefs.h >>conftest.$ac_ext
48199 cat >>conftest.$ac_ext <<_ACEOF
48200 /* end confdefs.h.  */
48201 #include <math.h>
48202 int
48203 main ()
48204 {
48205  _frexpf(0, 0);
48206   ;
48207   return 0;
48208 }
48209 _ACEOF
48210 rm -f conftest.$ac_objext
48211 if { (ac_try="$ac_compile"
48212 case "(($ac_try" in
48213   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48214   *) ac_try_echo=$ac_try;;
48215 esac
48216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48217   (eval "$ac_compile") 2>conftest.er1
48218   ac_status=$?
48219   grep -v '^ *+' conftest.er1 >conftest.err
48220   rm -f conftest.er1
48221   cat conftest.err >&5
48222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48223   (exit $ac_status); } && {
48224          test -z "$ac_cxx_werror_flag" ||
48225          test ! -s conftest.err
48226        } && test -s conftest.$ac_objext; then
48227   glibcxx_cv_func__frexpf_use=yes
48228 else
48229   echo "$as_me: failed program was:" >&5
48230 sed 's/^/| /' conftest.$ac_ext >&5
48231
48232         glibcxx_cv_func__frexpf_use=no
48233 fi
48234
48235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48236       ac_ext=c
48237 ac_cpp='$CPP $CPPFLAGS'
48238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48241
48242
48243 fi
48244
48245   fi
48246   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
48247 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6; }
48248
48249     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
48250
48251 for ac_func in _frexpf
48252 do
48253 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48254 { echo "$as_me:$LINENO: checking for $ac_func" >&5
48255 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
48256 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
48257   echo $ECHO_N "(cached) $ECHO_C" >&6
48258 else
48259   if test x$gcc_no_link = xyes; then
48260   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48261 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48262    { (exit 1); exit 1; }; }
48263 fi
48264 cat >conftest.$ac_ext <<_ACEOF
48265 /* confdefs.h.  */
48266 _ACEOF
48267 cat confdefs.h >>conftest.$ac_ext
48268 cat >>conftest.$ac_ext <<_ACEOF
48269 /* end confdefs.h.  */
48270 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48271    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
48272 #define $ac_func innocuous_$ac_func
48273
48274 /* System header to define __stub macros and hopefully few prototypes,
48275     which can conflict with char $ac_func (); below.
48276     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48277     <limits.h> exists even on freestanding compilers.  */
48278
48279 #ifdef __STDC__
48280 # include <limits.h>
48281 #else
48282 # include <assert.h>
48283 #endif
48284
48285 #undef $ac_func
48286
48287 /* Override any GCC internal prototype to avoid an error.
48288    Use char because int might match the return type of a GCC
48289    builtin and then its argument prototype would still apply.  */
48290 #ifdef __cplusplus
48291 extern "C"
48292 #endif
48293 char $ac_func ();
48294 /* The GNU C library defines this for functions which it implements
48295     to always fail with ENOSYS.  Some functions are actually named
48296     something starting with __ and the normal name is an alias.  */
48297 #if defined __stub_$ac_func || defined __stub___$ac_func
48298 choke me
48299 #endif
48300
48301 int
48302 main ()
48303 {
48304 return $ac_func ();
48305   ;
48306   return 0;
48307 }
48308 _ACEOF
48309 rm -f conftest.$ac_objext conftest$ac_exeext
48310 if { (ac_try="$ac_link"
48311 case "(($ac_try" in
48312   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48313   *) ac_try_echo=$ac_try;;
48314 esac
48315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48316   (eval "$ac_link") 2>conftest.er1
48317   ac_status=$?
48318   grep -v '^ *+' conftest.er1 >conftest.err
48319   rm -f conftest.er1
48320   cat conftest.err >&5
48321   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48322   (exit $ac_status); } && {
48323          test -z "$ac_c_werror_flag" ||
48324          test ! -s conftest.err
48325        } && test -s conftest$ac_exeext &&
48326        $as_test_x conftest$ac_exeext; then
48327   eval "$as_ac_var=yes"
48328 else
48329   echo "$as_me: failed program was:" >&5
48330 sed 's/^/| /' conftest.$ac_ext >&5
48331
48332         eval "$as_ac_var=no"
48333 fi
48334
48335 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
48336       conftest$ac_exeext conftest.$ac_ext
48337 fi
48338 ac_res=`eval echo '${'$as_ac_var'}'`
48339                { echo "$as_me:$LINENO: result: $ac_res" >&5
48340 echo "${ECHO_T}$ac_res" >&6; }
48341 if test `eval echo '${'$as_ac_var'}'` = yes; then
48342   cat >>confdefs.h <<_ACEOF
48343 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48344 _ACEOF
48345
48346 fi
48347 done
48348
48349     fi
48350   fi
48351
48352
48353
48354
48355
48356
48357   { echo "$as_me:$LINENO: checking for hypotf declaration" >&5
48358 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6; }
48359   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
48360     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
48361   echo $ECHO_N "(cached) $ECHO_C" >&6
48362 else
48363
48364
48365       ac_ext=cpp
48366 ac_cpp='$CXXCPP $CPPFLAGS'
48367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48370
48371       cat >conftest.$ac_ext <<_ACEOF
48372 /* confdefs.h.  */
48373 _ACEOF
48374 cat confdefs.h >>conftest.$ac_ext
48375 cat >>conftest.$ac_ext <<_ACEOF
48376 /* end confdefs.h.  */
48377 #include <math.h>
48378 int
48379 main ()
48380 {
48381  hypotf(0, 0);
48382   ;
48383   return 0;
48384 }
48385 _ACEOF
48386 rm -f conftest.$ac_objext
48387 if { (ac_try="$ac_compile"
48388 case "(($ac_try" in
48389   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48390   *) ac_try_echo=$ac_try;;
48391 esac
48392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48393   (eval "$ac_compile") 2>conftest.er1
48394   ac_status=$?
48395   grep -v '^ *+' conftest.er1 >conftest.err
48396   rm -f conftest.er1
48397   cat conftest.err >&5
48398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48399   (exit $ac_status); } && {
48400          test -z "$ac_cxx_werror_flag" ||
48401          test ! -s conftest.err
48402        } && test -s conftest.$ac_objext; then
48403   glibcxx_cv_func_hypotf_use=yes
48404 else
48405   echo "$as_me: failed program was:" >&5
48406 sed 's/^/| /' conftest.$ac_ext >&5
48407
48408         glibcxx_cv_func_hypotf_use=no
48409 fi
48410
48411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48412       ac_ext=c
48413 ac_cpp='$CPP $CPPFLAGS'
48414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48417
48418
48419 fi
48420
48421   fi
48422   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
48423 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6; }
48424
48425   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
48426
48427 for ac_func in hypotf
48428 do
48429 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48430 { echo "$as_me:$LINENO: checking for $ac_func" >&5
48431 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
48432 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
48433   echo $ECHO_N "(cached) $ECHO_C" >&6
48434 else
48435   if test x$gcc_no_link = xyes; then
48436   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48437 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48438    { (exit 1); exit 1; }; }
48439 fi
48440 cat >conftest.$ac_ext <<_ACEOF
48441 /* confdefs.h.  */
48442 _ACEOF
48443 cat confdefs.h >>conftest.$ac_ext
48444 cat >>conftest.$ac_ext <<_ACEOF
48445 /* end confdefs.h.  */
48446 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48447    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
48448 #define $ac_func innocuous_$ac_func
48449
48450 /* System header to define __stub macros and hopefully few prototypes,
48451     which can conflict with char $ac_func (); below.
48452     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48453     <limits.h> exists even on freestanding compilers.  */
48454
48455 #ifdef __STDC__
48456 # include <limits.h>
48457 #else
48458 # include <assert.h>
48459 #endif
48460
48461 #undef $ac_func
48462
48463 /* Override any GCC internal prototype to avoid an error.
48464    Use char because int might match the return type of a GCC
48465    builtin and then its argument prototype would still apply.  */
48466 #ifdef __cplusplus
48467 extern "C"
48468 #endif
48469 char $ac_func ();
48470 /* The GNU C library defines this for functions which it implements
48471     to always fail with ENOSYS.  Some functions are actually named
48472     something starting with __ and the normal name is an alias.  */
48473 #if defined __stub_$ac_func || defined __stub___$ac_func
48474 choke me
48475 #endif
48476
48477 int
48478 main ()
48479 {
48480 return $ac_func ();
48481   ;
48482   return 0;
48483 }
48484 _ACEOF
48485 rm -f conftest.$ac_objext conftest$ac_exeext
48486 if { (ac_try="$ac_link"
48487 case "(($ac_try" in
48488   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48489   *) ac_try_echo=$ac_try;;
48490 esac
48491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48492   (eval "$ac_link") 2>conftest.er1
48493   ac_status=$?
48494   grep -v '^ *+' conftest.er1 >conftest.err
48495   rm -f conftest.er1
48496   cat conftest.err >&5
48497   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48498   (exit $ac_status); } && {
48499          test -z "$ac_c_werror_flag" ||
48500          test ! -s conftest.err
48501        } && test -s conftest$ac_exeext &&
48502        $as_test_x conftest$ac_exeext; then
48503   eval "$as_ac_var=yes"
48504 else
48505   echo "$as_me: failed program was:" >&5
48506 sed 's/^/| /' conftest.$ac_ext >&5
48507
48508         eval "$as_ac_var=no"
48509 fi
48510
48511 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
48512       conftest$ac_exeext conftest.$ac_ext
48513 fi
48514 ac_res=`eval echo '${'$as_ac_var'}'`
48515                { echo "$as_me:$LINENO: result: $ac_res" >&5
48516 echo "${ECHO_T}$ac_res" >&6; }
48517 if test `eval echo '${'$as_ac_var'}'` = yes; then
48518   cat >>confdefs.h <<_ACEOF
48519 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48520 _ACEOF
48521
48522 fi
48523 done
48524
48525   else
48526
48527   { echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
48528 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6; }
48529   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
48530     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
48531   echo $ECHO_N "(cached) $ECHO_C" >&6
48532 else
48533
48534
48535       ac_ext=cpp
48536 ac_cpp='$CXXCPP $CPPFLAGS'
48537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48540
48541       cat >conftest.$ac_ext <<_ACEOF
48542 /* confdefs.h.  */
48543 _ACEOF
48544 cat confdefs.h >>conftest.$ac_ext
48545 cat >>conftest.$ac_ext <<_ACEOF
48546 /* end confdefs.h.  */
48547 #include <math.h>
48548 int
48549 main ()
48550 {
48551  _hypotf(0, 0);
48552   ;
48553   return 0;
48554 }
48555 _ACEOF
48556 rm -f conftest.$ac_objext
48557 if { (ac_try="$ac_compile"
48558 case "(($ac_try" in
48559   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48560   *) ac_try_echo=$ac_try;;
48561 esac
48562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48563   (eval "$ac_compile") 2>conftest.er1
48564   ac_status=$?
48565   grep -v '^ *+' conftest.er1 >conftest.err
48566   rm -f conftest.er1
48567   cat conftest.err >&5
48568   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48569   (exit $ac_status); } && {
48570          test -z "$ac_cxx_werror_flag" ||
48571          test ! -s conftest.err
48572        } && test -s conftest.$ac_objext; then
48573   glibcxx_cv_func__hypotf_use=yes
48574 else
48575   echo "$as_me: failed program was:" >&5
48576 sed 's/^/| /' conftest.$ac_ext >&5
48577
48578         glibcxx_cv_func__hypotf_use=no
48579 fi
48580
48581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48582       ac_ext=c
48583 ac_cpp='$CPP $CPPFLAGS'
48584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48587
48588
48589 fi
48590
48591   fi
48592   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
48593 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6; }
48594
48595     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
48596
48597 for ac_func in _hypotf
48598 do
48599 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48600 { echo "$as_me:$LINENO: checking for $ac_func" >&5
48601 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
48602 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
48603   echo $ECHO_N "(cached) $ECHO_C" >&6
48604 else
48605   if test x$gcc_no_link = xyes; then
48606   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48607 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48608    { (exit 1); exit 1; }; }
48609 fi
48610 cat >conftest.$ac_ext <<_ACEOF
48611 /* confdefs.h.  */
48612 _ACEOF
48613 cat confdefs.h >>conftest.$ac_ext
48614 cat >>conftest.$ac_ext <<_ACEOF
48615 /* end confdefs.h.  */
48616 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48617    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
48618 #define $ac_func innocuous_$ac_func
48619
48620 /* System header to define __stub macros and hopefully few prototypes,
48621     which can conflict with char $ac_func (); below.
48622     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48623     <limits.h> exists even on freestanding compilers.  */
48624
48625 #ifdef __STDC__
48626 # include <limits.h>
48627 #else
48628 # include <assert.h>
48629 #endif
48630
48631 #undef $ac_func
48632
48633 /* Override any GCC internal prototype to avoid an error.
48634    Use char because int might match the return type of a GCC
48635    builtin and then its argument prototype would still apply.  */
48636 #ifdef __cplusplus
48637 extern "C"
48638 #endif
48639 char $ac_func ();
48640 /* The GNU C library defines this for functions which it implements
48641     to always fail with ENOSYS.  Some functions are actually named
48642     something starting with __ and the normal name is an alias.  */
48643 #if defined __stub_$ac_func || defined __stub___$ac_func
48644 choke me
48645 #endif
48646
48647 int
48648 main ()
48649 {
48650 return $ac_func ();
48651   ;
48652   return 0;
48653 }
48654 _ACEOF
48655 rm -f conftest.$ac_objext conftest$ac_exeext
48656 if { (ac_try="$ac_link"
48657 case "(($ac_try" in
48658   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48659   *) ac_try_echo=$ac_try;;
48660 esac
48661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48662   (eval "$ac_link") 2>conftest.er1
48663   ac_status=$?
48664   grep -v '^ *+' conftest.er1 >conftest.err
48665   rm -f conftest.er1
48666   cat conftest.err >&5
48667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48668   (exit $ac_status); } && {
48669          test -z "$ac_c_werror_flag" ||
48670          test ! -s conftest.err
48671        } && test -s conftest$ac_exeext &&
48672        $as_test_x conftest$ac_exeext; then
48673   eval "$as_ac_var=yes"
48674 else
48675   echo "$as_me: failed program was:" >&5
48676 sed 's/^/| /' conftest.$ac_ext >&5
48677
48678         eval "$as_ac_var=no"
48679 fi
48680
48681 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
48682       conftest$ac_exeext conftest.$ac_ext
48683 fi
48684 ac_res=`eval echo '${'$as_ac_var'}'`
48685                { echo "$as_me:$LINENO: result: $ac_res" >&5
48686 echo "${ECHO_T}$ac_res" >&6; }
48687 if test `eval echo '${'$as_ac_var'}'` = yes; then
48688   cat >>confdefs.h <<_ACEOF
48689 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48690 _ACEOF
48691
48692 fi
48693 done
48694
48695     fi
48696   fi
48697
48698
48699
48700
48701
48702
48703   { echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
48704 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6; }
48705   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
48706     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
48707   echo $ECHO_N "(cached) $ECHO_C" >&6
48708 else
48709
48710
48711       ac_ext=cpp
48712 ac_cpp='$CXXCPP $CPPFLAGS'
48713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48716
48717       cat >conftest.$ac_ext <<_ACEOF
48718 /* confdefs.h.  */
48719 _ACEOF
48720 cat confdefs.h >>conftest.$ac_ext
48721 cat >>conftest.$ac_ext <<_ACEOF
48722 /* end confdefs.h.  */
48723 #include <math.h>
48724 int
48725 main ()
48726 {
48727  ldexpf(0, 0);
48728   ;
48729   return 0;
48730 }
48731 _ACEOF
48732 rm -f conftest.$ac_objext
48733 if { (ac_try="$ac_compile"
48734 case "(($ac_try" in
48735   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48736   *) ac_try_echo=$ac_try;;
48737 esac
48738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48739   (eval "$ac_compile") 2>conftest.er1
48740   ac_status=$?
48741   grep -v '^ *+' conftest.er1 >conftest.err
48742   rm -f conftest.er1
48743   cat conftest.err >&5
48744   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48745   (exit $ac_status); } && {
48746          test -z "$ac_cxx_werror_flag" ||
48747          test ! -s conftest.err
48748        } && test -s conftest.$ac_objext; then
48749   glibcxx_cv_func_ldexpf_use=yes
48750 else
48751   echo "$as_me: failed program was:" >&5
48752 sed 's/^/| /' conftest.$ac_ext >&5
48753
48754         glibcxx_cv_func_ldexpf_use=no
48755 fi
48756
48757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48758       ac_ext=c
48759 ac_cpp='$CPP $CPPFLAGS'
48760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48763
48764
48765 fi
48766
48767   fi
48768   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
48769 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6; }
48770
48771   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
48772
48773 for ac_func in ldexpf
48774 do
48775 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48776 { echo "$as_me:$LINENO: checking for $ac_func" >&5
48777 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
48778 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
48779   echo $ECHO_N "(cached) $ECHO_C" >&6
48780 else
48781   if test x$gcc_no_link = xyes; then
48782   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48783 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48784    { (exit 1); exit 1; }; }
48785 fi
48786 cat >conftest.$ac_ext <<_ACEOF
48787 /* confdefs.h.  */
48788 _ACEOF
48789 cat confdefs.h >>conftest.$ac_ext
48790 cat >>conftest.$ac_ext <<_ACEOF
48791 /* end confdefs.h.  */
48792 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48793    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
48794 #define $ac_func innocuous_$ac_func
48795
48796 /* System header to define __stub macros and hopefully few prototypes,
48797     which can conflict with char $ac_func (); below.
48798     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48799     <limits.h> exists even on freestanding compilers.  */
48800
48801 #ifdef __STDC__
48802 # include <limits.h>
48803 #else
48804 # include <assert.h>
48805 #endif
48806
48807 #undef $ac_func
48808
48809 /* Override any GCC internal prototype to avoid an error.
48810    Use char because int might match the return type of a GCC
48811    builtin and then its argument prototype would still apply.  */
48812 #ifdef __cplusplus
48813 extern "C"
48814 #endif
48815 char $ac_func ();
48816 /* The GNU C library defines this for functions which it implements
48817     to always fail with ENOSYS.  Some functions are actually named
48818     something starting with __ and the normal name is an alias.  */
48819 #if defined __stub_$ac_func || defined __stub___$ac_func
48820 choke me
48821 #endif
48822
48823 int
48824 main ()
48825 {
48826 return $ac_func ();
48827   ;
48828   return 0;
48829 }
48830 _ACEOF
48831 rm -f conftest.$ac_objext conftest$ac_exeext
48832 if { (ac_try="$ac_link"
48833 case "(($ac_try" in
48834   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48835   *) ac_try_echo=$ac_try;;
48836 esac
48837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48838   (eval "$ac_link") 2>conftest.er1
48839   ac_status=$?
48840   grep -v '^ *+' conftest.er1 >conftest.err
48841   rm -f conftest.er1
48842   cat conftest.err >&5
48843   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48844   (exit $ac_status); } && {
48845          test -z "$ac_c_werror_flag" ||
48846          test ! -s conftest.err
48847        } && test -s conftest$ac_exeext &&
48848        $as_test_x conftest$ac_exeext; then
48849   eval "$as_ac_var=yes"
48850 else
48851   echo "$as_me: failed program was:" >&5
48852 sed 's/^/| /' conftest.$ac_ext >&5
48853
48854         eval "$as_ac_var=no"
48855 fi
48856
48857 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
48858       conftest$ac_exeext conftest.$ac_ext
48859 fi
48860 ac_res=`eval echo '${'$as_ac_var'}'`
48861                { echo "$as_me:$LINENO: result: $ac_res" >&5
48862 echo "${ECHO_T}$ac_res" >&6; }
48863 if test `eval echo '${'$as_ac_var'}'` = yes; then
48864   cat >>confdefs.h <<_ACEOF
48865 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48866 _ACEOF
48867
48868 fi
48869 done
48870
48871   else
48872
48873   { echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
48874 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6; }
48875   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
48876     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
48877   echo $ECHO_N "(cached) $ECHO_C" >&6
48878 else
48879
48880
48881       ac_ext=cpp
48882 ac_cpp='$CXXCPP $CPPFLAGS'
48883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48886
48887       cat >conftest.$ac_ext <<_ACEOF
48888 /* confdefs.h.  */
48889 _ACEOF
48890 cat confdefs.h >>conftest.$ac_ext
48891 cat >>conftest.$ac_ext <<_ACEOF
48892 /* end confdefs.h.  */
48893 #include <math.h>
48894 int
48895 main ()
48896 {
48897  _ldexpf(0, 0);
48898   ;
48899   return 0;
48900 }
48901 _ACEOF
48902 rm -f conftest.$ac_objext
48903 if { (ac_try="$ac_compile"
48904 case "(($ac_try" in
48905   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48906   *) ac_try_echo=$ac_try;;
48907 esac
48908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48909   (eval "$ac_compile") 2>conftest.er1
48910   ac_status=$?
48911   grep -v '^ *+' conftest.er1 >conftest.err
48912   rm -f conftest.er1
48913   cat conftest.err >&5
48914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48915   (exit $ac_status); } && {
48916          test -z "$ac_cxx_werror_flag" ||
48917          test ! -s conftest.err
48918        } && test -s conftest.$ac_objext; then
48919   glibcxx_cv_func__ldexpf_use=yes
48920 else
48921   echo "$as_me: failed program was:" >&5
48922 sed 's/^/| /' conftest.$ac_ext >&5
48923
48924         glibcxx_cv_func__ldexpf_use=no
48925 fi
48926
48927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48928       ac_ext=c
48929 ac_cpp='$CPP $CPPFLAGS'
48930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48933
48934
48935 fi
48936
48937   fi
48938   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
48939 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6; }
48940
48941     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
48942
48943 for ac_func in _ldexpf
48944 do
48945 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48946 { echo "$as_me:$LINENO: checking for $ac_func" >&5
48947 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
48948 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
48949   echo $ECHO_N "(cached) $ECHO_C" >&6
48950 else
48951   if test x$gcc_no_link = xyes; then
48952   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48953 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48954    { (exit 1); exit 1; }; }
48955 fi
48956 cat >conftest.$ac_ext <<_ACEOF
48957 /* confdefs.h.  */
48958 _ACEOF
48959 cat confdefs.h >>conftest.$ac_ext
48960 cat >>conftest.$ac_ext <<_ACEOF
48961 /* end confdefs.h.  */
48962 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48963    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
48964 #define $ac_func innocuous_$ac_func
48965
48966 /* System header to define __stub macros and hopefully few prototypes,
48967     which can conflict with char $ac_func (); below.
48968     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48969     <limits.h> exists even on freestanding compilers.  */
48970
48971 #ifdef __STDC__
48972 # include <limits.h>
48973 #else
48974 # include <assert.h>
48975 #endif
48976
48977 #undef $ac_func
48978
48979 /* Override any GCC internal prototype to avoid an error.
48980    Use char because int might match the return type of a GCC
48981    builtin and then its argument prototype would still apply.  */
48982 #ifdef __cplusplus
48983 extern "C"
48984 #endif
48985 char $ac_func ();
48986 /* The GNU C library defines this for functions which it implements
48987     to always fail with ENOSYS.  Some functions are actually named
48988     something starting with __ and the normal name is an alias.  */
48989 #if defined __stub_$ac_func || defined __stub___$ac_func
48990 choke me
48991 #endif
48992
48993 int
48994 main ()
48995 {
48996 return $ac_func ();
48997   ;
48998   return 0;
48999 }
49000 _ACEOF
49001 rm -f conftest.$ac_objext conftest$ac_exeext
49002 if { (ac_try="$ac_link"
49003 case "(($ac_try" in
49004   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49005   *) ac_try_echo=$ac_try;;
49006 esac
49007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49008   (eval "$ac_link") 2>conftest.er1
49009   ac_status=$?
49010   grep -v '^ *+' conftest.er1 >conftest.err
49011   rm -f conftest.er1
49012   cat conftest.err >&5
49013   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49014   (exit $ac_status); } && {
49015          test -z "$ac_c_werror_flag" ||
49016          test ! -s conftest.err
49017        } && test -s conftest$ac_exeext &&
49018        $as_test_x conftest$ac_exeext; then
49019   eval "$as_ac_var=yes"
49020 else
49021   echo "$as_me: failed program was:" >&5
49022 sed 's/^/| /' conftest.$ac_ext >&5
49023
49024         eval "$as_ac_var=no"
49025 fi
49026
49027 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
49028       conftest$ac_exeext conftest.$ac_ext
49029 fi
49030 ac_res=`eval echo '${'$as_ac_var'}'`
49031                { echo "$as_me:$LINENO: result: $ac_res" >&5
49032 echo "${ECHO_T}$ac_res" >&6; }
49033 if test `eval echo '${'$as_ac_var'}'` = yes; then
49034   cat >>confdefs.h <<_ACEOF
49035 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49036 _ACEOF
49037
49038 fi
49039 done
49040
49041     fi
49042   fi
49043
49044
49045
49046
49047
49048
49049   { echo "$as_me:$LINENO: checking for logf declaration" >&5
49050 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6; }
49051   if test x${glibcxx_cv_func_logf_use+set} != xset; then
49052     if test "${glibcxx_cv_func_logf_use+set}" = set; then
49053   echo $ECHO_N "(cached) $ECHO_C" >&6
49054 else
49055
49056
49057       ac_ext=cpp
49058 ac_cpp='$CXXCPP $CPPFLAGS'
49059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49062
49063       cat >conftest.$ac_ext <<_ACEOF
49064 /* confdefs.h.  */
49065 _ACEOF
49066 cat confdefs.h >>conftest.$ac_ext
49067 cat >>conftest.$ac_ext <<_ACEOF
49068 /* end confdefs.h.  */
49069 #include <math.h>
49070                       #ifdef HAVE_IEEEFP_H
49071                       #include <ieeefp.h>
49072                       #endif
49073
49074 int
49075 main ()
49076 {
49077  logf(0);
49078   ;
49079   return 0;
49080 }
49081 _ACEOF
49082 rm -f conftest.$ac_objext
49083 if { (ac_try="$ac_compile"
49084 case "(($ac_try" in
49085   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49086   *) ac_try_echo=$ac_try;;
49087 esac
49088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49089   (eval "$ac_compile") 2>conftest.er1
49090   ac_status=$?
49091   grep -v '^ *+' conftest.er1 >conftest.err
49092   rm -f conftest.er1
49093   cat conftest.err >&5
49094   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49095   (exit $ac_status); } && {
49096          test -z "$ac_cxx_werror_flag" ||
49097          test ! -s conftest.err
49098        } && test -s conftest.$ac_objext; then
49099   glibcxx_cv_func_logf_use=yes
49100 else
49101   echo "$as_me: failed program was:" >&5
49102 sed 's/^/| /' conftest.$ac_ext >&5
49103
49104         glibcxx_cv_func_logf_use=no
49105 fi
49106
49107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49108       ac_ext=c
49109 ac_cpp='$CPP $CPPFLAGS'
49110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49113
49114
49115 fi
49116
49117   fi
49118   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
49119 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6; }
49120
49121   if test x$glibcxx_cv_func_logf_use = x"yes"; then
49122
49123 for ac_func in logf
49124 do
49125 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49126 { echo "$as_me:$LINENO: checking for $ac_func" >&5
49127 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
49128 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
49129   echo $ECHO_N "(cached) $ECHO_C" >&6
49130 else
49131   if test x$gcc_no_link = xyes; then
49132   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49133 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49134    { (exit 1); exit 1; }; }
49135 fi
49136 cat >conftest.$ac_ext <<_ACEOF
49137 /* confdefs.h.  */
49138 _ACEOF
49139 cat confdefs.h >>conftest.$ac_ext
49140 cat >>conftest.$ac_ext <<_ACEOF
49141 /* end confdefs.h.  */
49142 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49143    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
49144 #define $ac_func innocuous_$ac_func
49145
49146 /* System header to define __stub macros and hopefully few prototypes,
49147     which can conflict with char $ac_func (); below.
49148     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49149     <limits.h> exists even on freestanding compilers.  */
49150
49151 #ifdef __STDC__
49152 # include <limits.h>
49153 #else
49154 # include <assert.h>
49155 #endif
49156
49157 #undef $ac_func
49158
49159 /* Override any GCC internal prototype to avoid an error.
49160    Use char because int might match the return type of a GCC
49161    builtin and then its argument prototype would still apply.  */
49162 #ifdef __cplusplus
49163 extern "C"
49164 #endif
49165 char $ac_func ();
49166 /* The GNU C library defines this for functions which it implements
49167     to always fail with ENOSYS.  Some functions are actually named
49168     something starting with __ and the normal name is an alias.  */
49169 #if defined __stub_$ac_func || defined __stub___$ac_func
49170 choke me
49171 #endif
49172
49173 int
49174 main ()
49175 {
49176 return $ac_func ();
49177   ;
49178   return 0;
49179 }
49180 _ACEOF
49181 rm -f conftest.$ac_objext conftest$ac_exeext
49182 if { (ac_try="$ac_link"
49183 case "(($ac_try" in
49184   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49185   *) ac_try_echo=$ac_try;;
49186 esac
49187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49188   (eval "$ac_link") 2>conftest.er1
49189   ac_status=$?
49190   grep -v '^ *+' conftest.er1 >conftest.err
49191   rm -f conftest.er1
49192   cat conftest.err >&5
49193   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49194   (exit $ac_status); } && {
49195          test -z "$ac_c_werror_flag" ||
49196          test ! -s conftest.err
49197        } && test -s conftest$ac_exeext &&
49198        $as_test_x conftest$ac_exeext; then
49199   eval "$as_ac_var=yes"
49200 else
49201   echo "$as_me: failed program was:" >&5
49202 sed 's/^/| /' conftest.$ac_ext >&5
49203
49204         eval "$as_ac_var=no"
49205 fi
49206
49207 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
49208       conftest$ac_exeext conftest.$ac_ext
49209 fi
49210 ac_res=`eval echo '${'$as_ac_var'}'`
49211                { echo "$as_me:$LINENO: result: $ac_res" >&5
49212 echo "${ECHO_T}$ac_res" >&6; }
49213 if test `eval echo '${'$as_ac_var'}'` = yes; then
49214   cat >>confdefs.h <<_ACEOF
49215 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49216 _ACEOF
49217
49218 fi
49219 done
49220
49221   else
49222
49223   { echo "$as_me:$LINENO: checking for _logf declaration" >&5
49224 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6; }
49225   if test x${glibcxx_cv_func__logf_use+set} != xset; then
49226     if test "${glibcxx_cv_func__logf_use+set}" = set; then
49227   echo $ECHO_N "(cached) $ECHO_C" >&6
49228 else
49229
49230
49231       ac_ext=cpp
49232 ac_cpp='$CXXCPP $CPPFLAGS'
49233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49236
49237       cat >conftest.$ac_ext <<_ACEOF
49238 /* confdefs.h.  */
49239 _ACEOF
49240 cat confdefs.h >>conftest.$ac_ext
49241 cat >>conftest.$ac_ext <<_ACEOF
49242 /* end confdefs.h.  */
49243 #include <math.h>
49244                       #ifdef HAVE_IEEEFP_H
49245                       #include <ieeefp.h>
49246                       #endif
49247
49248 int
49249 main ()
49250 {
49251  _logf(0);
49252   ;
49253   return 0;
49254 }
49255 _ACEOF
49256 rm -f conftest.$ac_objext
49257 if { (ac_try="$ac_compile"
49258 case "(($ac_try" in
49259   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49260   *) ac_try_echo=$ac_try;;
49261 esac
49262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49263   (eval "$ac_compile") 2>conftest.er1
49264   ac_status=$?
49265   grep -v '^ *+' conftest.er1 >conftest.err
49266   rm -f conftest.er1
49267   cat conftest.err >&5
49268   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49269   (exit $ac_status); } && {
49270          test -z "$ac_cxx_werror_flag" ||
49271          test ! -s conftest.err
49272        } && test -s conftest.$ac_objext; then
49273   glibcxx_cv_func__logf_use=yes
49274 else
49275   echo "$as_me: failed program was:" >&5
49276 sed 's/^/| /' conftest.$ac_ext >&5
49277
49278         glibcxx_cv_func__logf_use=no
49279 fi
49280
49281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49282       ac_ext=c
49283 ac_cpp='$CPP $CPPFLAGS'
49284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49287
49288
49289 fi
49290
49291   fi
49292   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
49293 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6; }
49294
49295     if test x$glibcxx_cv_func__logf_use = x"yes"; then
49296
49297 for ac_func in _logf
49298 do
49299 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49300 { echo "$as_me:$LINENO: checking for $ac_func" >&5
49301 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
49302 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
49303   echo $ECHO_N "(cached) $ECHO_C" >&6
49304 else
49305   if test x$gcc_no_link = xyes; then
49306   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49307 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49308    { (exit 1); exit 1; }; }
49309 fi
49310 cat >conftest.$ac_ext <<_ACEOF
49311 /* confdefs.h.  */
49312 _ACEOF
49313 cat confdefs.h >>conftest.$ac_ext
49314 cat >>conftest.$ac_ext <<_ACEOF
49315 /* end confdefs.h.  */
49316 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49317    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
49318 #define $ac_func innocuous_$ac_func
49319
49320 /* System header to define __stub macros and hopefully few prototypes,
49321     which can conflict with char $ac_func (); below.
49322     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49323     <limits.h> exists even on freestanding compilers.  */
49324
49325 #ifdef __STDC__
49326 # include <limits.h>
49327 #else
49328 # include <assert.h>
49329 #endif
49330
49331 #undef $ac_func
49332
49333 /* Override any GCC internal prototype to avoid an error.
49334    Use char because int might match the return type of a GCC
49335    builtin and then its argument prototype would still apply.  */
49336 #ifdef __cplusplus
49337 extern "C"
49338 #endif
49339 char $ac_func ();
49340 /* The GNU C library defines this for functions which it implements
49341     to always fail with ENOSYS.  Some functions are actually named
49342     something starting with __ and the normal name is an alias.  */
49343 #if defined __stub_$ac_func || defined __stub___$ac_func
49344 choke me
49345 #endif
49346
49347 int
49348 main ()
49349 {
49350 return $ac_func ();
49351   ;
49352   return 0;
49353 }
49354 _ACEOF
49355 rm -f conftest.$ac_objext conftest$ac_exeext
49356 if { (ac_try="$ac_link"
49357 case "(($ac_try" in
49358   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49359   *) ac_try_echo=$ac_try;;
49360 esac
49361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49362   (eval "$ac_link") 2>conftest.er1
49363   ac_status=$?
49364   grep -v '^ *+' conftest.er1 >conftest.err
49365   rm -f conftest.er1
49366   cat conftest.err >&5
49367   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49368   (exit $ac_status); } && {
49369          test -z "$ac_c_werror_flag" ||
49370          test ! -s conftest.err
49371        } && test -s conftest$ac_exeext &&
49372        $as_test_x conftest$ac_exeext; then
49373   eval "$as_ac_var=yes"
49374 else
49375   echo "$as_me: failed program was:" >&5
49376 sed 's/^/| /' conftest.$ac_ext >&5
49377
49378         eval "$as_ac_var=no"
49379 fi
49380
49381 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
49382       conftest$ac_exeext conftest.$ac_ext
49383 fi
49384 ac_res=`eval echo '${'$as_ac_var'}'`
49385                { echo "$as_me:$LINENO: result: $ac_res" >&5
49386 echo "${ECHO_T}$ac_res" >&6; }
49387 if test `eval echo '${'$as_ac_var'}'` = yes; then
49388   cat >>confdefs.h <<_ACEOF
49389 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49390 _ACEOF
49391
49392 fi
49393 done
49394
49395     fi
49396   fi
49397
49398
49399
49400
49401
49402
49403   { echo "$as_me:$LINENO: checking for log10f declaration" >&5
49404 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6; }
49405   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
49406     if test "${glibcxx_cv_func_log10f_use+set}" = set; then
49407   echo $ECHO_N "(cached) $ECHO_C" >&6
49408 else
49409
49410
49411       ac_ext=cpp
49412 ac_cpp='$CXXCPP $CPPFLAGS'
49413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49416
49417       cat >conftest.$ac_ext <<_ACEOF
49418 /* confdefs.h.  */
49419 _ACEOF
49420 cat confdefs.h >>conftest.$ac_ext
49421 cat >>conftest.$ac_ext <<_ACEOF
49422 /* end confdefs.h.  */
49423 #include <math.h>
49424                       #ifdef HAVE_IEEEFP_H
49425                       #include <ieeefp.h>
49426                       #endif
49427
49428 int
49429 main ()
49430 {
49431  log10f(0);
49432   ;
49433   return 0;
49434 }
49435 _ACEOF
49436 rm -f conftest.$ac_objext
49437 if { (ac_try="$ac_compile"
49438 case "(($ac_try" in
49439   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49440   *) ac_try_echo=$ac_try;;
49441 esac
49442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49443   (eval "$ac_compile") 2>conftest.er1
49444   ac_status=$?
49445   grep -v '^ *+' conftest.er1 >conftest.err
49446   rm -f conftest.er1
49447   cat conftest.err >&5
49448   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49449   (exit $ac_status); } && {
49450          test -z "$ac_cxx_werror_flag" ||
49451          test ! -s conftest.err
49452        } && test -s conftest.$ac_objext; then
49453   glibcxx_cv_func_log10f_use=yes
49454 else
49455   echo "$as_me: failed program was:" >&5
49456 sed 's/^/| /' conftest.$ac_ext >&5
49457
49458         glibcxx_cv_func_log10f_use=no
49459 fi
49460
49461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49462       ac_ext=c
49463 ac_cpp='$CPP $CPPFLAGS'
49464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49467
49468
49469 fi
49470
49471   fi
49472   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
49473 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6; }
49474
49475   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
49476
49477 for ac_func in log10f
49478 do
49479 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49480 { echo "$as_me:$LINENO: checking for $ac_func" >&5
49481 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
49482 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
49483   echo $ECHO_N "(cached) $ECHO_C" >&6
49484 else
49485   if test x$gcc_no_link = xyes; then
49486   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49487 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49488    { (exit 1); exit 1; }; }
49489 fi
49490 cat >conftest.$ac_ext <<_ACEOF
49491 /* confdefs.h.  */
49492 _ACEOF
49493 cat confdefs.h >>conftest.$ac_ext
49494 cat >>conftest.$ac_ext <<_ACEOF
49495 /* end confdefs.h.  */
49496 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49497    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
49498 #define $ac_func innocuous_$ac_func
49499
49500 /* System header to define __stub macros and hopefully few prototypes,
49501     which can conflict with char $ac_func (); below.
49502     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49503     <limits.h> exists even on freestanding compilers.  */
49504
49505 #ifdef __STDC__
49506 # include <limits.h>
49507 #else
49508 # include <assert.h>
49509 #endif
49510
49511 #undef $ac_func
49512
49513 /* Override any GCC internal prototype to avoid an error.
49514    Use char because int might match the return type of a GCC
49515    builtin and then its argument prototype would still apply.  */
49516 #ifdef __cplusplus
49517 extern "C"
49518 #endif
49519 char $ac_func ();
49520 /* The GNU C library defines this for functions which it implements
49521     to always fail with ENOSYS.  Some functions are actually named
49522     something starting with __ and the normal name is an alias.  */
49523 #if defined __stub_$ac_func || defined __stub___$ac_func
49524 choke me
49525 #endif
49526
49527 int
49528 main ()
49529 {
49530 return $ac_func ();
49531   ;
49532   return 0;
49533 }
49534 _ACEOF
49535 rm -f conftest.$ac_objext conftest$ac_exeext
49536 if { (ac_try="$ac_link"
49537 case "(($ac_try" in
49538   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49539   *) ac_try_echo=$ac_try;;
49540 esac
49541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49542   (eval "$ac_link") 2>conftest.er1
49543   ac_status=$?
49544   grep -v '^ *+' conftest.er1 >conftest.err
49545   rm -f conftest.er1
49546   cat conftest.err >&5
49547   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49548   (exit $ac_status); } && {
49549          test -z "$ac_c_werror_flag" ||
49550          test ! -s conftest.err
49551        } && test -s conftest$ac_exeext &&
49552        $as_test_x conftest$ac_exeext; then
49553   eval "$as_ac_var=yes"
49554 else
49555   echo "$as_me: failed program was:" >&5
49556 sed 's/^/| /' conftest.$ac_ext >&5
49557
49558         eval "$as_ac_var=no"
49559 fi
49560
49561 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
49562       conftest$ac_exeext conftest.$ac_ext
49563 fi
49564 ac_res=`eval echo '${'$as_ac_var'}'`
49565                { echo "$as_me:$LINENO: result: $ac_res" >&5
49566 echo "${ECHO_T}$ac_res" >&6; }
49567 if test `eval echo '${'$as_ac_var'}'` = yes; then
49568   cat >>confdefs.h <<_ACEOF
49569 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49570 _ACEOF
49571
49572 fi
49573 done
49574
49575   else
49576
49577   { echo "$as_me:$LINENO: checking for _log10f declaration" >&5
49578 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6; }
49579   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
49580     if test "${glibcxx_cv_func__log10f_use+set}" = set; then
49581   echo $ECHO_N "(cached) $ECHO_C" >&6
49582 else
49583
49584
49585       ac_ext=cpp
49586 ac_cpp='$CXXCPP $CPPFLAGS'
49587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49590
49591       cat >conftest.$ac_ext <<_ACEOF
49592 /* confdefs.h.  */
49593 _ACEOF
49594 cat confdefs.h >>conftest.$ac_ext
49595 cat >>conftest.$ac_ext <<_ACEOF
49596 /* end confdefs.h.  */
49597 #include <math.h>
49598                       #ifdef HAVE_IEEEFP_H
49599                       #include <ieeefp.h>
49600                       #endif
49601
49602 int
49603 main ()
49604 {
49605  _log10f(0);
49606   ;
49607   return 0;
49608 }
49609 _ACEOF
49610 rm -f conftest.$ac_objext
49611 if { (ac_try="$ac_compile"
49612 case "(($ac_try" in
49613   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49614   *) ac_try_echo=$ac_try;;
49615 esac
49616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49617   (eval "$ac_compile") 2>conftest.er1
49618   ac_status=$?
49619   grep -v '^ *+' conftest.er1 >conftest.err
49620   rm -f conftest.er1
49621   cat conftest.err >&5
49622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49623   (exit $ac_status); } && {
49624          test -z "$ac_cxx_werror_flag" ||
49625          test ! -s conftest.err
49626        } && test -s conftest.$ac_objext; then
49627   glibcxx_cv_func__log10f_use=yes
49628 else
49629   echo "$as_me: failed program was:" >&5
49630 sed 's/^/| /' conftest.$ac_ext >&5
49631
49632         glibcxx_cv_func__log10f_use=no
49633 fi
49634
49635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49636       ac_ext=c
49637 ac_cpp='$CPP $CPPFLAGS'
49638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49641
49642
49643 fi
49644
49645   fi
49646   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
49647 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6; }
49648
49649     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
49650
49651 for ac_func in _log10f
49652 do
49653 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49654 { echo "$as_me:$LINENO: checking for $ac_func" >&5
49655 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
49656 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
49657   echo $ECHO_N "(cached) $ECHO_C" >&6
49658 else
49659   if test x$gcc_no_link = xyes; then
49660   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49661 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49662    { (exit 1); exit 1; }; }
49663 fi
49664 cat >conftest.$ac_ext <<_ACEOF
49665 /* confdefs.h.  */
49666 _ACEOF
49667 cat confdefs.h >>conftest.$ac_ext
49668 cat >>conftest.$ac_ext <<_ACEOF
49669 /* end confdefs.h.  */
49670 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49671    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
49672 #define $ac_func innocuous_$ac_func
49673
49674 /* System header to define __stub macros and hopefully few prototypes,
49675     which can conflict with char $ac_func (); below.
49676     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49677     <limits.h> exists even on freestanding compilers.  */
49678
49679 #ifdef __STDC__
49680 # include <limits.h>
49681 #else
49682 # include <assert.h>
49683 #endif
49684
49685 #undef $ac_func
49686
49687 /* Override any GCC internal prototype to avoid an error.
49688    Use char because int might match the return type of a GCC
49689    builtin and then its argument prototype would still apply.  */
49690 #ifdef __cplusplus
49691 extern "C"
49692 #endif
49693 char $ac_func ();
49694 /* The GNU C library defines this for functions which it implements
49695     to always fail with ENOSYS.  Some functions are actually named
49696     something starting with __ and the normal name is an alias.  */
49697 #if defined __stub_$ac_func || defined __stub___$ac_func
49698 choke me
49699 #endif
49700
49701 int
49702 main ()
49703 {
49704 return $ac_func ();
49705   ;
49706   return 0;
49707 }
49708 _ACEOF
49709 rm -f conftest.$ac_objext conftest$ac_exeext
49710 if { (ac_try="$ac_link"
49711 case "(($ac_try" in
49712   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49713   *) ac_try_echo=$ac_try;;
49714 esac
49715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49716   (eval "$ac_link") 2>conftest.er1
49717   ac_status=$?
49718   grep -v '^ *+' conftest.er1 >conftest.err
49719   rm -f conftest.er1
49720   cat conftest.err >&5
49721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49722   (exit $ac_status); } && {
49723          test -z "$ac_c_werror_flag" ||
49724          test ! -s conftest.err
49725        } && test -s conftest$ac_exeext &&
49726        $as_test_x conftest$ac_exeext; then
49727   eval "$as_ac_var=yes"
49728 else
49729   echo "$as_me: failed program was:" >&5
49730 sed 's/^/| /' conftest.$ac_ext >&5
49731
49732         eval "$as_ac_var=no"
49733 fi
49734
49735 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
49736       conftest$ac_exeext conftest.$ac_ext
49737 fi
49738 ac_res=`eval echo '${'$as_ac_var'}'`
49739                { echo "$as_me:$LINENO: result: $ac_res" >&5
49740 echo "${ECHO_T}$ac_res" >&6; }
49741 if test `eval echo '${'$as_ac_var'}'` = yes; then
49742   cat >>confdefs.h <<_ACEOF
49743 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49744 _ACEOF
49745
49746 fi
49747 done
49748
49749     fi
49750   fi
49751
49752
49753
49754
49755
49756
49757   { echo "$as_me:$LINENO: checking for modff declaration" >&5
49758 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6; }
49759   if test x${glibcxx_cv_func_modff_use+set} != xset; then
49760     if test "${glibcxx_cv_func_modff_use+set}" = set; then
49761   echo $ECHO_N "(cached) $ECHO_C" >&6
49762 else
49763
49764
49765       ac_ext=cpp
49766 ac_cpp='$CXXCPP $CPPFLAGS'
49767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49770
49771       cat >conftest.$ac_ext <<_ACEOF
49772 /* confdefs.h.  */
49773 _ACEOF
49774 cat confdefs.h >>conftest.$ac_ext
49775 cat >>conftest.$ac_ext <<_ACEOF
49776 /* end confdefs.h.  */
49777 #include <math.h>
49778 int
49779 main ()
49780 {
49781  modff(0, 0);
49782   ;
49783   return 0;
49784 }
49785 _ACEOF
49786 rm -f conftest.$ac_objext
49787 if { (ac_try="$ac_compile"
49788 case "(($ac_try" in
49789   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49790   *) ac_try_echo=$ac_try;;
49791 esac
49792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49793   (eval "$ac_compile") 2>conftest.er1
49794   ac_status=$?
49795   grep -v '^ *+' conftest.er1 >conftest.err
49796   rm -f conftest.er1
49797   cat conftest.err >&5
49798   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49799   (exit $ac_status); } && {
49800          test -z "$ac_cxx_werror_flag" ||
49801          test ! -s conftest.err
49802        } && test -s conftest.$ac_objext; then
49803   glibcxx_cv_func_modff_use=yes
49804 else
49805   echo "$as_me: failed program was:" >&5
49806 sed 's/^/| /' conftest.$ac_ext >&5
49807
49808         glibcxx_cv_func_modff_use=no
49809 fi
49810
49811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49812       ac_ext=c
49813 ac_cpp='$CPP $CPPFLAGS'
49814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49817
49818
49819 fi
49820
49821   fi
49822   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
49823 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6; }
49824
49825   if test x$glibcxx_cv_func_modff_use = x"yes"; then
49826
49827 for ac_func in modff
49828 do
49829 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49830 { echo "$as_me:$LINENO: checking for $ac_func" >&5
49831 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
49832 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
49833   echo $ECHO_N "(cached) $ECHO_C" >&6
49834 else
49835   if test x$gcc_no_link = xyes; then
49836   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49837 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49838    { (exit 1); exit 1; }; }
49839 fi
49840 cat >conftest.$ac_ext <<_ACEOF
49841 /* confdefs.h.  */
49842 _ACEOF
49843 cat confdefs.h >>conftest.$ac_ext
49844 cat >>conftest.$ac_ext <<_ACEOF
49845 /* end confdefs.h.  */
49846 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49847    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
49848 #define $ac_func innocuous_$ac_func
49849
49850 /* System header to define __stub macros and hopefully few prototypes,
49851     which can conflict with char $ac_func (); below.
49852     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49853     <limits.h> exists even on freestanding compilers.  */
49854
49855 #ifdef __STDC__
49856 # include <limits.h>
49857 #else
49858 # include <assert.h>
49859 #endif
49860
49861 #undef $ac_func
49862
49863 /* Override any GCC internal prototype to avoid an error.
49864    Use char because int might match the return type of a GCC
49865    builtin and then its argument prototype would still apply.  */
49866 #ifdef __cplusplus
49867 extern "C"
49868 #endif
49869 char $ac_func ();
49870 /* The GNU C library defines this for functions which it implements
49871     to always fail with ENOSYS.  Some functions are actually named
49872     something starting with __ and the normal name is an alias.  */
49873 #if defined __stub_$ac_func || defined __stub___$ac_func
49874 choke me
49875 #endif
49876
49877 int
49878 main ()
49879 {
49880 return $ac_func ();
49881   ;
49882   return 0;
49883 }
49884 _ACEOF
49885 rm -f conftest.$ac_objext conftest$ac_exeext
49886 if { (ac_try="$ac_link"
49887 case "(($ac_try" in
49888   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49889   *) ac_try_echo=$ac_try;;
49890 esac
49891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49892   (eval "$ac_link") 2>conftest.er1
49893   ac_status=$?
49894   grep -v '^ *+' conftest.er1 >conftest.err
49895   rm -f conftest.er1
49896   cat conftest.err >&5
49897   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49898   (exit $ac_status); } && {
49899          test -z "$ac_c_werror_flag" ||
49900          test ! -s conftest.err
49901        } && test -s conftest$ac_exeext &&
49902        $as_test_x conftest$ac_exeext; 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
49911 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
49912       conftest$ac_exeext conftest.$ac_ext
49913 fi
49914 ac_res=`eval echo '${'$as_ac_var'}'`
49915                { echo "$as_me:$LINENO: result: $ac_res" >&5
49916 echo "${ECHO_T}$ac_res" >&6; }
49917 if test `eval echo '${'$as_ac_var'}'` = yes; then
49918   cat >>confdefs.h <<_ACEOF
49919 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49920 _ACEOF
49921
49922 fi
49923 done
49924
49925   else
49926
49927   { echo "$as_me:$LINENO: checking for _modff declaration" >&5
49928 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6; }
49929   if test x${glibcxx_cv_func__modff_use+set} != xset; then
49930     if test "${glibcxx_cv_func__modff_use+set}" = set; then
49931   echo $ECHO_N "(cached) $ECHO_C" >&6
49932 else
49933
49934
49935       ac_ext=cpp
49936 ac_cpp='$CXXCPP $CPPFLAGS'
49937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49940
49941       cat >conftest.$ac_ext <<_ACEOF
49942 /* confdefs.h.  */
49943 _ACEOF
49944 cat confdefs.h >>conftest.$ac_ext
49945 cat >>conftest.$ac_ext <<_ACEOF
49946 /* end confdefs.h.  */
49947 #include <math.h>
49948 int
49949 main ()
49950 {
49951  _modff(0, 0);
49952   ;
49953   return 0;
49954 }
49955 _ACEOF
49956 rm -f conftest.$ac_objext
49957 if { (ac_try="$ac_compile"
49958 case "(($ac_try" in
49959   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49960   *) ac_try_echo=$ac_try;;
49961 esac
49962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&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          test -z "$ac_cxx_werror_flag" ||
49971          test ! -s conftest.err
49972        } && test -s conftest.$ac_objext; then
49973   glibcxx_cv_func__modff_use=yes
49974 else
49975   echo "$as_me: failed program was:" >&5
49976 sed 's/^/| /' conftest.$ac_ext >&5
49977
49978         glibcxx_cv_func__modff_use=no
49979 fi
49980
49981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49982       ac_ext=c
49983 ac_cpp='$CPP $CPPFLAGS'
49984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49987
49988
49989 fi
49990
49991   fi
49992   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
49993 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6; }
49994
49995     if test x$glibcxx_cv_func__modff_use = x"yes"; then
49996
49997 for ac_func in _modff
49998 do
49999 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50000 { echo "$as_me:$LINENO: checking for $ac_func" >&5
50001 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
50002 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
50003   echo $ECHO_N "(cached) $ECHO_C" >&6
50004 else
50005   if test x$gcc_no_link = xyes; then
50006   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50007 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50008    { (exit 1); exit 1; }; }
50009 fi
50010 cat >conftest.$ac_ext <<_ACEOF
50011 /* confdefs.h.  */
50012 _ACEOF
50013 cat confdefs.h >>conftest.$ac_ext
50014 cat >>conftest.$ac_ext <<_ACEOF
50015 /* end confdefs.h.  */
50016 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50017    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
50018 #define $ac_func innocuous_$ac_func
50019
50020 /* System header to define __stub macros and hopefully few prototypes,
50021     which can conflict with char $ac_func (); below.
50022     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50023     <limits.h> exists even on freestanding compilers.  */
50024
50025 #ifdef __STDC__
50026 # include <limits.h>
50027 #else
50028 # include <assert.h>
50029 #endif
50030
50031 #undef $ac_func
50032
50033 /* Override any GCC internal prototype to avoid an error.
50034    Use char because int might match the return type of a GCC
50035    builtin and then its argument prototype would still apply.  */
50036 #ifdef __cplusplus
50037 extern "C"
50038 #endif
50039 char $ac_func ();
50040 /* The GNU C library defines this for functions which it implements
50041     to always fail with ENOSYS.  Some functions are actually named
50042     something starting with __ and the normal name is an alias.  */
50043 #if defined __stub_$ac_func || defined __stub___$ac_func
50044 choke me
50045 #endif
50046
50047 int
50048 main ()
50049 {
50050 return $ac_func ();
50051   ;
50052   return 0;
50053 }
50054 _ACEOF
50055 rm -f conftest.$ac_objext conftest$ac_exeext
50056 if { (ac_try="$ac_link"
50057 case "(($ac_try" in
50058   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50059   *) ac_try_echo=$ac_try;;
50060 esac
50061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50062   (eval "$ac_link") 2>conftest.er1
50063   ac_status=$?
50064   grep -v '^ *+' conftest.er1 >conftest.err
50065   rm -f conftest.er1
50066   cat conftest.err >&5
50067   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50068   (exit $ac_status); } && {
50069          test -z "$ac_c_werror_flag" ||
50070          test ! -s conftest.err
50071        } && test -s conftest$ac_exeext &&
50072        $as_test_x conftest$ac_exeext; then
50073   eval "$as_ac_var=yes"
50074 else
50075   echo "$as_me: failed program was:" >&5
50076 sed 's/^/| /' conftest.$ac_ext >&5
50077
50078         eval "$as_ac_var=no"
50079 fi
50080
50081 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
50082       conftest$ac_exeext conftest.$ac_ext
50083 fi
50084 ac_res=`eval echo '${'$as_ac_var'}'`
50085                { echo "$as_me:$LINENO: result: $ac_res" >&5
50086 echo "${ECHO_T}$ac_res" >&6; }
50087 if test `eval echo '${'$as_ac_var'}'` = yes; then
50088   cat >>confdefs.h <<_ACEOF
50089 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50090 _ACEOF
50091
50092 fi
50093 done
50094
50095     fi
50096   fi
50097
50098
50099
50100
50101
50102
50103   { echo "$as_me:$LINENO: checking for modf declaration" >&5
50104 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6; }
50105   if test x${glibcxx_cv_func_modf_use+set} != xset; then
50106     if test "${glibcxx_cv_func_modf_use+set}" = set; then
50107   echo $ECHO_N "(cached) $ECHO_C" >&6
50108 else
50109
50110
50111       ac_ext=cpp
50112 ac_cpp='$CXXCPP $CPPFLAGS'
50113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50116
50117       cat >conftest.$ac_ext <<_ACEOF
50118 /* confdefs.h.  */
50119 _ACEOF
50120 cat confdefs.h >>conftest.$ac_ext
50121 cat >>conftest.$ac_ext <<_ACEOF
50122 /* end confdefs.h.  */
50123 #include <math.h>
50124 int
50125 main ()
50126 {
50127  modf(0, 0);
50128   ;
50129   return 0;
50130 }
50131 _ACEOF
50132 rm -f conftest.$ac_objext
50133 if { (ac_try="$ac_compile"
50134 case "(($ac_try" in
50135   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50136   *) ac_try_echo=$ac_try;;
50137 esac
50138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50139   (eval "$ac_compile") 2>conftest.er1
50140   ac_status=$?
50141   grep -v '^ *+' conftest.er1 >conftest.err
50142   rm -f conftest.er1
50143   cat conftest.err >&5
50144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50145   (exit $ac_status); } && {
50146          test -z "$ac_cxx_werror_flag" ||
50147          test ! -s conftest.err
50148        } && test -s conftest.$ac_objext; then
50149   glibcxx_cv_func_modf_use=yes
50150 else
50151   echo "$as_me: failed program was:" >&5
50152 sed 's/^/| /' conftest.$ac_ext >&5
50153
50154         glibcxx_cv_func_modf_use=no
50155 fi
50156
50157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50158       ac_ext=c
50159 ac_cpp='$CPP $CPPFLAGS'
50160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50163
50164
50165 fi
50166
50167   fi
50168   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
50169 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6; }
50170
50171   if test x$glibcxx_cv_func_modf_use = x"yes"; then
50172
50173 for ac_func in modf
50174 do
50175 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50176 { echo "$as_me:$LINENO: checking for $ac_func" >&5
50177 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
50178 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
50179   echo $ECHO_N "(cached) $ECHO_C" >&6
50180 else
50181   if test x$gcc_no_link = xyes; then
50182   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50183 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50184    { (exit 1); exit 1; }; }
50185 fi
50186 cat >conftest.$ac_ext <<_ACEOF
50187 /* confdefs.h.  */
50188 _ACEOF
50189 cat confdefs.h >>conftest.$ac_ext
50190 cat >>conftest.$ac_ext <<_ACEOF
50191 /* end confdefs.h.  */
50192 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50193    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
50194 #define $ac_func innocuous_$ac_func
50195
50196 /* System header to define __stub macros and hopefully few prototypes,
50197     which can conflict with char $ac_func (); below.
50198     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50199     <limits.h> exists even on freestanding compilers.  */
50200
50201 #ifdef __STDC__
50202 # include <limits.h>
50203 #else
50204 # include <assert.h>
50205 #endif
50206
50207 #undef $ac_func
50208
50209 /* Override any GCC internal prototype to avoid an error.
50210    Use char because int might match the return type of a GCC
50211    builtin and then its argument prototype would still apply.  */
50212 #ifdef __cplusplus
50213 extern "C"
50214 #endif
50215 char $ac_func ();
50216 /* The GNU C library defines this for functions which it implements
50217     to always fail with ENOSYS.  Some functions are actually named
50218     something starting with __ and the normal name is an alias.  */
50219 #if defined __stub_$ac_func || defined __stub___$ac_func
50220 choke me
50221 #endif
50222
50223 int
50224 main ()
50225 {
50226 return $ac_func ();
50227   ;
50228   return 0;
50229 }
50230 _ACEOF
50231 rm -f conftest.$ac_objext conftest$ac_exeext
50232 if { (ac_try="$ac_link"
50233 case "(($ac_try" in
50234   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50235   *) ac_try_echo=$ac_try;;
50236 esac
50237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50238   (eval "$ac_link") 2>conftest.er1
50239   ac_status=$?
50240   grep -v '^ *+' conftest.er1 >conftest.err
50241   rm -f conftest.er1
50242   cat conftest.err >&5
50243   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50244   (exit $ac_status); } && {
50245          test -z "$ac_c_werror_flag" ||
50246          test ! -s conftest.err
50247        } && test -s conftest$ac_exeext &&
50248        $as_test_x conftest$ac_exeext; then
50249   eval "$as_ac_var=yes"
50250 else
50251   echo "$as_me: failed program was:" >&5
50252 sed 's/^/| /' conftest.$ac_ext >&5
50253
50254         eval "$as_ac_var=no"
50255 fi
50256
50257 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
50258       conftest$ac_exeext conftest.$ac_ext
50259 fi
50260 ac_res=`eval echo '${'$as_ac_var'}'`
50261                { echo "$as_me:$LINENO: result: $ac_res" >&5
50262 echo "${ECHO_T}$ac_res" >&6; }
50263 if test `eval echo '${'$as_ac_var'}'` = yes; then
50264   cat >>confdefs.h <<_ACEOF
50265 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50266 _ACEOF
50267
50268 fi
50269 done
50270
50271   else
50272
50273   { echo "$as_me:$LINENO: checking for _modf declaration" >&5
50274 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6; }
50275   if test x${glibcxx_cv_func__modf_use+set} != xset; then
50276     if test "${glibcxx_cv_func__modf_use+set}" = set; then
50277   echo $ECHO_N "(cached) $ECHO_C" >&6
50278 else
50279
50280
50281       ac_ext=cpp
50282 ac_cpp='$CXXCPP $CPPFLAGS'
50283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50286
50287       cat >conftest.$ac_ext <<_ACEOF
50288 /* confdefs.h.  */
50289 _ACEOF
50290 cat confdefs.h >>conftest.$ac_ext
50291 cat >>conftest.$ac_ext <<_ACEOF
50292 /* end confdefs.h.  */
50293 #include <math.h>
50294 int
50295 main ()
50296 {
50297  _modf(0, 0);
50298   ;
50299   return 0;
50300 }
50301 _ACEOF
50302 rm -f conftest.$ac_objext
50303 if { (ac_try="$ac_compile"
50304 case "(($ac_try" in
50305   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50306   *) ac_try_echo=$ac_try;;
50307 esac
50308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50309   (eval "$ac_compile") 2>conftest.er1
50310   ac_status=$?
50311   grep -v '^ *+' conftest.er1 >conftest.err
50312   rm -f conftest.er1
50313   cat conftest.err >&5
50314   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50315   (exit $ac_status); } && {
50316          test -z "$ac_cxx_werror_flag" ||
50317          test ! -s conftest.err
50318        } && test -s conftest.$ac_objext; then
50319   glibcxx_cv_func__modf_use=yes
50320 else
50321   echo "$as_me: failed program was:" >&5
50322 sed 's/^/| /' conftest.$ac_ext >&5
50323
50324         glibcxx_cv_func__modf_use=no
50325 fi
50326
50327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50328       ac_ext=c
50329 ac_cpp='$CPP $CPPFLAGS'
50330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50333
50334
50335 fi
50336
50337   fi
50338   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
50339 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6; }
50340
50341     if test x$glibcxx_cv_func__modf_use = x"yes"; then
50342
50343 for ac_func in _modf
50344 do
50345 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50346 { echo "$as_me:$LINENO: checking for $ac_func" >&5
50347 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
50348 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
50349   echo $ECHO_N "(cached) $ECHO_C" >&6
50350 else
50351   if test x$gcc_no_link = xyes; then
50352   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50353 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50354    { (exit 1); exit 1; }; }
50355 fi
50356 cat >conftest.$ac_ext <<_ACEOF
50357 /* confdefs.h.  */
50358 _ACEOF
50359 cat confdefs.h >>conftest.$ac_ext
50360 cat >>conftest.$ac_ext <<_ACEOF
50361 /* end confdefs.h.  */
50362 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50363    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
50364 #define $ac_func innocuous_$ac_func
50365
50366 /* System header to define __stub macros and hopefully few prototypes,
50367     which can conflict with char $ac_func (); below.
50368     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50369     <limits.h> exists even on freestanding compilers.  */
50370
50371 #ifdef __STDC__
50372 # include <limits.h>
50373 #else
50374 # include <assert.h>
50375 #endif
50376
50377 #undef $ac_func
50378
50379 /* Override any GCC internal prototype to avoid an error.
50380    Use char because int might match the return type of a GCC
50381    builtin and then its argument prototype would still apply.  */
50382 #ifdef __cplusplus
50383 extern "C"
50384 #endif
50385 char $ac_func ();
50386 /* The GNU C library defines this for functions which it implements
50387     to always fail with ENOSYS.  Some functions are actually named
50388     something starting with __ and the normal name is an alias.  */
50389 #if defined __stub_$ac_func || defined __stub___$ac_func
50390 choke me
50391 #endif
50392
50393 int
50394 main ()
50395 {
50396 return $ac_func ();
50397   ;
50398   return 0;
50399 }
50400 _ACEOF
50401 rm -f conftest.$ac_objext conftest$ac_exeext
50402 if { (ac_try="$ac_link"
50403 case "(($ac_try" in
50404   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50405   *) ac_try_echo=$ac_try;;
50406 esac
50407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50408   (eval "$ac_link") 2>conftest.er1
50409   ac_status=$?
50410   grep -v '^ *+' conftest.er1 >conftest.err
50411   rm -f conftest.er1
50412   cat conftest.err >&5
50413   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50414   (exit $ac_status); } && {
50415          test -z "$ac_c_werror_flag" ||
50416          test ! -s conftest.err
50417        } && test -s conftest$ac_exeext &&
50418        $as_test_x conftest$ac_exeext; then
50419   eval "$as_ac_var=yes"
50420 else
50421   echo "$as_me: failed program was:" >&5
50422 sed 's/^/| /' conftest.$ac_ext >&5
50423
50424         eval "$as_ac_var=no"
50425 fi
50426
50427 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
50428       conftest$ac_exeext conftest.$ac_ext
50429 fi
50430 ac_res=`eval echo '${'$as_ac_var'}'`
50431                { echo "$as_me:$LINENO: result: $ac_res" >&5
50432 echo "${ECHO_T}$ac_res" >&6; }
50433 if test `eval echo '${'$as_ac_var'}'` = yes; then
50434   cat >>confdefs.h <<_ACEOF
50435 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50436 _ACEOF
50437
50438 fi
50439 done
50440
50441     fi
50442   fi
50443
50444
50445
50446
50447
50448
50449   { echo "$as_me:$LINENO: checking for powf declaration" >&5
50450 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6; }
50451   if test x${glibcxx_cv_func_powf_use+set} != xset; then
50452     if test "${glibcxx_cv_func_powf_use+set}" = set; then
50453   echo $ECHO_N "(cached) $ECHO_C" >&6
50454 else
50455
50456
50457       ac_ext=cpp
50458 ac_cpp='$CXXCPP $CPPFLAGS'
50459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50462
50463       cat >conftest.$ac_ext <<_ACEOF
50464 /* confdefs.h.  */
50465 _ACEOF
50466 cat confdefs.h >>conftest.$ac_ext
50467 cat >>conftest.$ac_ext <<_ACEOF
50468 /* end confdefs.h.  */
50469 #include <math.h>
50470 int
50471 main ()
50472 {
50473  powf(0, 0);
50474   ;
50475   return 0;
50476 }
50477 _ACEOF
50478 rm -f conftest.$ac_objext
50479 if { (ac_try="$ac_compile"
50480 case "(($ac_try" in
50481   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50482   *) ac_try_echo=$ac_try;;
50483 esac
50484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50485   (eval "$ac_compile") 2>conftest.er1
50486   ac_status=$?
50487   grep -v '^ *+' conftest.er1 >conftest.err
50488   rm -f conftest.er1
50489   cat conftest.err >&5
50490   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50491   (exit $ac_status); } && {
50492          test -z "$ac_cxx_werror_flag" ||
50493          test ! -s conftest.err
50494        } && test -s conftest.$ac_objext; then
50495   glibcxx_cv_func_powf_use=yes
50496 else
50497   echo "$as_me: failed program was:" >&5
50498 sed 's/^/| /' conftest.$ac_ext >&5
50499
50500         glibcxx_cv_func_powf_use=no
50501 fi
50502
50503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50504       ac_ext=c
50505 ac_cpp='$CPP $CPPFLAGS'
50506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50509
50510
50511 fi
50512
50513   fi
50514   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
50515 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6; }
50516
50517   if test x$glibcxx_cv_func_powf_use = x"yes"; then
50518
50519 for ac_func in powf
50520 do
50521 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50522 { echo "$as_me:$LINENO: checking for $ac_func" >&5
50523 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
50524 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
50525   echo $ECHO_N "(cached) $ECHO_C" >&6
50526 else
50527   if test x$gcc_no_link = xyes; then
50528   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50529 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50530    { (exit 1); exit 1; }; }
50531 fi
50532 cat >conftest.$ac_ext <<_ACEOF
50533 /* confdefs.h.  */
50534 _ACEOF
50535 cat confdefs.h >>conftest.$ac_ext
50536 cat >>conftest.$ac_ext <<_ACEOF
50537 /* end confdefs.h.  */
50538 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50539    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
50540 #define $ac_func innocuous_$ac_func
50541
50542 /* System header to define __stub macros and hopefully few prototypes,
50543     which can conflict with char $ac_func (); below.
50544     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50545     <limits.h> exists even on freestanding compilers.  */
50546
50547 #ifdef __STDC__
50548 # include <limits.h>
50549 #else
50550 # include <assert.h>
50551 #endif
50552
50553 #undef $ac_func
50554
50555 /* Override any GCC internal prototype to avoid an error.
50556    Use char because int might match the return type of a GCC
50557    builtin and then its argument prototype would still apply.  */
50558 #ifdef __cplusplus
50559 extern "C"
50560 #endif
50561 char $ac_func ();
50562 /* The GNU C library defines this for functions which it implements
50563     to always fail with ENOSYS.  Some functions are actually named
50564     something starting with __ and the normal name is an alias.  */
50565 #if defined __stub_$ac_func || defined __stub___$ac_func
50566 choke me
50567 #endif
50568
50569 int
50570 main ()
50571 {
50572 return $ac_func ();
50573   ;
50574   return 0;
50575 }
50576 _ACEOF
50577 rm -f conftest.$ac_objext conftest$ac_exeext
50578 if { (ac_try="$ac_link"
50579 case "(($ac_try" in
50580   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50581   *) ac_try_echo=$ac_try;;
50582 esac
50583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50584   (eval "$ac_link") 2>conftest.er1
50585   ac_status=$?
50586   grep -v '^ *+' conftest.er1 >conftest.err
50587   rm -f conftest.er1
50588   cat conftest.err >&5
50589   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50590   (exit $ac_status); } && {
50591          test -z "$ac_c_werror_flag" ||
50592          test ! -s conftest.err
50593        } && test -s conftest$ac_exeext &&
50594        $as_test_x conftest$ac_exeext; then
50595   eval "$as_ac_var=yes"
50596 else
50597   echo "$as_me: failed program was:" >&5
50598 sed 's/^/| /' conftest.$ac_ext >&5
50599
50600         eval "$as_ac_var=no"
50601 fi
50602
50603 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
50604       conftest$ac_exeext conftest.$ac_ext
50605 fi
50606 ac_res=`eval echo '${'$as_ac_var'}'`
50607                { echo "$as_me:$LINENO: result: $ac_res" >&5
50608 echo "${ECHO_T}$ac_res" >&6; }
50609 if test `eval echo '${'$as_ac_var'}'` = yes; then
50610   cat >>confdefs.h <<_ACEOF
50611 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50612 _ACEOF
50613
50614 fi
50615 done
50616
50617   else
50618
50619   { echo "$as_me:$LINENO: checking for _powf declaration" >&5
50620 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6; }
50621   if test x${glibcxx_cv_func__powf_use+set} != xset; then
50622     if test "${glibcxx_cv_func__powf_use+set}" = set; then
50623   echo $ECHO_N "(cached) $ECHO_C" >&6
50624 else
50625
50626
50627       ac_ext=cpp
50628 ac_cpp='$CXXCPP $CPPFLAGS'
50629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50632
50633       cat >conftest.$ac_ext <<_ACEOF
50634 /* confdefs.h.  */
50635 _ACEOF
50636 cat confdefs.h >>conftest.$ac_ext
50637 cat >>conftest.$ac_ext <<_ACEOF
50638 /* end confdefs.h.  */
50639 #include <math.h>
50640 int
50641 main ()
50642 {
50643  _powf(0, 0);
50644   ;
50645   return 0;
50646 }
50647 _ACEOF
50648 rm -f conftest.$ac_objext
50649 if { (ac_try="$ac_compile"
50650 case "(($ac_try" in
50651   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50652   *) ac_try_echo=$ac_try;;
50653 esac
50654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50655   (eval "$ac_compile") 2>conftest.er1
50656   ac_status=$?
50657   grep -v '^ *+' conftest.er1 >conftest.err
50658   rm -f conftest.er1
50659   cat conftest.err >&5
50660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50661   (exit $ac_status); } && {
50662          test -z "$ac_cxx_werror_flag" ||
50663          test ! -s conftest.err
50664        } && test -s conftest.$ac_objext; then
50665   glibcxx_cv_func__powf_use=yes
50666 else
50667   echo "$as_me: failed program was:" >&5
50668 sed 's/^/| /' conftest.$ac_ext >&5
50669
50670         glibcxx_cv_func__powf_use=no
50671 fi
50672
50673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50674       ac_ext=c
50675 ac_cpp='$CPP $CPPFLAGS'
50676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50679
50680
50681 fi
50682
50683   fi
50684   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
50685 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6; }
50686
50687     if test x$glibcxx_cv_func__powf_use = x"yes"; then
50688
50689 for ac_func in _powf
50690 do
50691 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50692 { echo "$as_me:$LINENO: checking for $ac_func" >&5
50693 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
50694 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
50695   echo $ECHO_N "(cached) $ECHO_C" >&6
50696 else
50697   if test x$gcc_no_link = xyes; then
50698   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50699 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50700    { (exit 1); exit 1; }; }
50701 fi
50702 cat >conftest.$ac_ext <<_ACEOF
50703 /* confdefs.h.  */
50704 _ACEOF
50705 cat confdefs.h >>conftest.$ac_ext
50706 cat >>conftest.$ac_ext <<_ACEOF
50707 /* end confdefs.h.  */
50708 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50709    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
50710 #define $ac_func innocuous_$ac_func
50711
50712 /* System header to define __stub macros and hopefully few prototypes,
50713     which can conflict with char $ac_func (); below.
50714     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50715     <limits.h> exists even on freestanding compilers.  */
50716
50717 #ifdef __STDC__
50718 # include <limits.h>
50719 #else
50720 # include <assert.h>
50721 #endif
50722
50723 #undef $ac_func
50724
50725 /* Override any GCC internal prototype to avoid an error.
50726    Use char because int might match the return type of a GCC
50727    builtin and then its argument prototype would still apply.  */
50728 #ifdef __cplusplus
50729 extern "C"
50730 #endif
50731 char $ac_func ();
50732 /* The GNU C library defines this for functions which it implements
50733     to always fail with ENOSYS.  Some functions are actually named
50734     something starting with __ and the normal name is an alias.  */
50735 #if defined __stub_$ac_func || defined __stub___$ac_func
50736 choke me
50737 #endif
50738
50739 int
50740 main ()
50741 {
50742 return $ac_func ();
50743   ;
50744   return 0;
50745 }
50746 _ACEOF
50747 rm -f conftest.$ac_objext conftest$ac_exeext
50748 if { (ac_try="$ac_link"
50749 case "(($ac_try" in
50750   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50751   *) ac_try_echo=$ac_try;;
50752 esac
50753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50754   (eval "$ac_link") 2>conftest.er1
50755   ac_status=$?
50756   grep -v '^ *+' conftest.er1 >conftest.err
50757   rm -f conftest.er1
50758   cat conftest.err >&5
50759   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50760   (exit $ac_status); } && {
50761          test -z "$ac_c_werror_flag" ||
50762          test ! -s conftest.err
50763        } && test -s conftest$ac_exeext &&
50764        $as_test_x conftest$ac_exeext; then
50765   eval "$as_ac_var=yes"
50766 else
50767   echo "$as_me: failed program was:" >&5
50768 sed 's/^/| /' conftest.$ac_ext >&5
50769
50770         eval "$as_ac_var=no"
50771 fi
50772
50773 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
50774       conftest$ac_exeext conftest.$ac_ext
50775 fi
50776 ac_res=`eval echo '${'$as_ac_var'}'`
50777                { echo "$as_me:$LINENO: result: $ac_res" >&5
50778 echo "${ECHO_T}$ac_res" >&6; }
50779 if test `eval echo '${'$as_ac_var'}'` = yes; then
50780   cat >>confdefs.h <<_ACEOF
50781 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50782 _ACEOF
50783
50784 fi
50785 done
50786
50787     fi
50788   fi
50789
50790
50791
50792
50793
50794
50795   { echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
50796 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6; }
50797   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
50798     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
50799   echo $ECHO_N "(cached) $ECHO_C" >&6
50800 else
50801
50802
50803       ac_ext=cpp
50804 ac_cpp='$CXXCPP $CPPFLAGS'
50805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50808
50809       cat >conftest.$ac_ext <<_ACEOF
50810 /* confdefs.h.  */
50811 _ACEOF
50812 cat confdefs.h >>conftest.$ac_ext
50813 cat >>conftest.$ac_ext <<_ACEOF
50814 /* end confdefs.h.  */
50815 #include <math.h>
50816                       #ifdef HAVE_IEEEFP_H
50817                       #include <ieeefp.h>
50818                       #endif
50819
50820 int
50821 main ()
50822 {
50823  sqrtf(0);
50824   ;
50825   return 0;
50826 }
50827 _ACEOF
50828 rm -f conftest.$ac_objext
50829 if { (ac_try="$ac_compile"
50830 case "(($ac_try" in
50831   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50832   *) ac_try_echo=$ac_try;;
50833 esac
50834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50835   (eval "$ac_compile") 2>conftest.er1
50836   ac_status=$?
50837   grep -v '^ *+' conftest.er1 >conftest.err
50838   rm -f conftest.er1
50839   cat conftest.err >&5
50840   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50841   (exit $ac_status); } && {
50842          test -z "$ac_cxx_werror_flag" ||
50843          test ! -s conftest.err
50844        } && test -s conftest.$ac_objext; then
50845   glibcxx_cv_func_sqrtf_use=yes
50846 else
50847   echo "$as_me: failed program was:" >&5
50848 sed 's/^/| /' conftest.$ac_ext >&5
50849
50850         glibcxx_cv_func_sqrtf_use=no
50851 fi
50852
50853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50854       ac_ext=c
50855 ac_cpp='$CPP $CPPFLAGS'
50856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50859
50860
50861 fi
50862
50863   fi
50864   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
50865 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6; }
50866
50867   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
50868
50869 for ac_func in sqrtf
50870 do
50871 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50872 { echo "$as_me:$LINENO: checking for $ac_func" >&5
50873 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
50874 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
50875   echo $ECHO_N "(cached) $ECHO_C" >&6
50876 else
50877   if test x$gcc_no_link = xyes; then
50878   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50879 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50880    { (exit 1); exit 1; }; }
50881 fi
50882 cat >conftest.$ac_ext <<_ACEOF
50883 /* confdefs.h.  */
50884 _ACEOF
50885 cat confdefs.h >>conftest.$ac_ext
50886 cat >>conftest.$ac_ext <<_ACEOF
50887 /* end confdefs.h.  */
50888 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50889    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
50890 #define $ac_func innocuous_$ac_func
50891
50892 /* System header to define __stub macros and hopefully few prototypes,
50893     which can conflict with char $ac_func (); below.
50894     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50895     <limits.h> exists even on freestanding compilers.  */
50896
50897 #ifdef __STDC__
50898 # include <limits.h>
50899 #else
50900 # include <assert.h>
50901 #endif
50902
50903 #undef $ac_func
50904
50905 /* Override any GCC internal prototype to avoid an error.
50906    Use char because int might match the return type of a GCC
50907    builtin and then its argument prototype would still apply.  */
50908 #ifdef __cplusplus
50909 extern "C"
50910 #endif
50911 char $ac_func ();
50912 /* The GNU C library defines this for functions which it implements
50913     to always fail with ENOSYS.  Some functions are actually named
50914     something starting with __ and the normal name is an alias.  */
50915 #if defined __stub_$ac_func || defined __stub___$ac_func
50916 choke me
50917 #endif
50918
50919 int
50920 main ()
50921 {
50922 return $ac_func ();
50923   ;
50924   return 0;
50925 }
50926 _ACEOF
50927 rm -f conftest.$ac_objext conftest$ac_exeext
50928 if { (ac_try="$ac_link"
50929 case "(($ac_try" in
50930   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50931   *) ac_try_echo=$ac_try;;
50932 esac
50933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50934   (eval "$ac_link") 2>conftest.er1
50935   ac_status=$?
50936   grep -v '^ *+' conftest.er1 >conftest.err
50937   rm -f conftest.er1
50938   cat conftest.err >&5
50939   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50940   (exit $ac_status); } && {
50941          test -z "$ac_c_werror_flag" ||
50942          test ! -s conftest.err
50943        } && test -s conftest$ac_exeext &&
50944        $as_test_x conftest$ac_exeext; then
50945   eval "$as_ac_var=yes"
50946 else
50947   echo "$as_me: failed program was:" >&5
50948 sed 's/^/| /' conftest.$ac_ext >&5
50949
50950         eval "$as_ac_var=no"
50951 fi
50952
50953 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
50954       conftest$ac_exeext conftest.$ac_ext
50955 fi
50956 ac_res=`eval echo '${'$as_ac_var'}'`
50957                { echo "$as_me:$LINENO: result: $ac_res" >&5
50958 echo "${ECHO_T}$ac_res" >&6; }
50959 if test `eval echo '${'$as_ac_var'}'` = yes; then
50960   cat >>confdefs.h <<_ACEOF
50961 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50962 _ACEOF
50963
50964 fi
50965 done
50966
50967   else
50968
50969   { echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
50970 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6; }
50971   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
50972     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
50973   echo $ECHO_N "(cached) $ECHO_C" >&6
50974 else
50975
50976
50977       ac_ext=cpp
50978 ac_cpp='$CXXCPP $CPPFLAGS'
50979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50982
50983       cat >conftest.$ac_ext <<_ACEOF
50984 /* confdefs.h.  */
50985 _ACEOF
50986 cat confdefs.h >>conftest.$ac_ext
50987 cat >>conftest.$ac_ext <<_ACEOF
50988 /* end confdefs.h.  */
50989 #include <math.h>
50990                       #ifdef HAVE_IEEEFP_H
50991                       #include <ieeefp.h>
50992                       #endif
50993
50994 int
50995 main ()
50996 {
50997  _sqrtf(0);
50998   ;
50999   return 0;
51000 }
51001 _ACEOF
51002 rm -f conftest.$ac_objext
51003 if { (ac_try="$ac_compile"
51004 case "(($ac_try" in
51005   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51006   *) ac_try_echo=$ac_try;;
51007 esac
51008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51009   (eval "$ac_compile") 2>conftest.er1
51010   ac_status=$?
51011   grep -v '^ *+' conftest.er1 >conftest.err
51012   rm -f conftest.er1
51013   cat conftest.err >&5
51014   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51015   (exit $ac_status); } && {
51016          test -z "$ac_cxx_werror_flag" ||
51017          test ! -s conftest.err
51018        } && test -s conftest.$ac_objext; then
51019   glibcxx_cv_func__sqrtf_use=yes
51020 else
51021   echo "$as_me: failed program was:" >&5
51022 sed 's/^/| /' conftest.$ac_ext >&5
51023
51024         glibcxx_cv_func__sqrtf_use=no
51025 fi
51026
51027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51028       ac_ext=c
51029 ac_cpp='$CPP $CPPFLAGS'
51030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51033
51034
51035 fi
51036
51037   fi
51038   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
51039 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6; }
51040
51041     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
51042
51043 for ac_func in _sqrtf
51044 do
51045 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51046 { echo "$as_me:$LINENO: checking for $ac_func" >&5
51047 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
51048 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
51049   echo $ECHO_N "(cached) $ECHO_C" >&6
51050 else
51051   if test x$gcc_no_link = xyes; then
51052   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51053 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51054    { (exit 1); exit 1; }; }
51055 fi
51056 cat >conftest.$ac_ext <<_ACEOF
51057 /* confdefs.h.  */
51058 _ACEOF
51059 cat confdefs.h >>conftest.$ac_ext
51060 cat >>conftest.$ac_ext <<_ACEOF
51061 /* end confdefs.h.  */
51062 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51063    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
51064 #define $ac_func innocuous_$ac_func
51065
51066 /* System header to define __stub macros and hopefully few prototypes,
51067     which can conflict with char $ac_func (); below.
51068     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51069     <limits.h> exists even on freestanding compilers.  */
51070
51071 #ifdef __STDC__
51072 # include <limits.h>
51073 #else
51074 # include <assert.h>
51075 #endif
51076
51077 #undef $ac_func
51078
51079 /* Override any GCC internal prototype to avoid an error.
51080    Use char because int might match the return type of a GCC
51081    builtin and then its argument prototype would still apply.  */
51082 #ifdef __cplusplus
51083 extern "C"
51084 #endif
51085 char $ac_func ();
51086 /* The GNU C library defines this for functions which it implements
51087     to always fail with ENOSYS.  Some functions are actually named
51088     something starting with __ and the normal name is an alias.  */
51089 #if defined __stub_$ac_func || defined __stub___$ac_func
51090 choke me
51091 #endif
51092
51093 int
51094 main ()
51095 {
51096 return $ac_func ();
51097   ;
51098   return 0;
51099 }
51100 _ACEOF
51101 rm -f conftest.$ac_objext conftest$ac_exeext
51102 if { (ac_try="$ac_link"
51103 case "(($ac_try" in
51104   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51105   *) ac_try_echo=$ac_try;;
51106 esac
51107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51108   (eval "$ac_link") 2>conftest.er1
51109   ac_status=$?
51110   grep -v '^ *+' conftest.er1 >conftest.err
51111   rm -f conftest.er1
51112   cat conftest.err >&5
51113   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51114   (exit $ac_status); } && {
51115          test -z "$ac_c_werror_flag" ||
51116          test ! -s conftest.err
51117        } && test -s conftest$ac_exeext &&
51118        $as_test_x conftest$ac_exeext; then
51119   eval "$as_ac_var=yes"
51120 else
51121   echo "$as_me: failed program was:" >&5
51122 sed 's/^/| /' conftest.$ac_ext >&5
51123
51124         eval "$as_ac_var=no"
51125 fi
51126
51127 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
51128       conftest$ac_exeext conftest.$ac_ext
51129 fi
51130 ac_res=`eval echo '${'$as_ac_var'}'`
51131                { echo "$as_me:$LINENO: result: $ac_res" >&5
51132 echo "${ECHO_T}$ac_res" >&6; }
51133 if test `eval echo '${'$as_ac_var'}'` = yes; then
51134   cat >>confdefs.h <<_ACEOF
51135 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51136 _ACEOF
51137
51138 fi
51139 done
51140
51141     fi
51142   fi
51143
51144
51145
51146
51147
51148
51149   { echo "$as_me:$LINENO: checking for sincosf declaration" >&5
51150 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6; }
51151   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
51152     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
51153   echo $ECHO_N "(cached) $ECHO_C" >&6
51154 else
51155
51156
51157       ac_ext=cpp
51158 ac_cpp='$CXXCPP $CPPFLAGS'
51159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51162
51163       cat >conftest.$ac_ext <<_ACEOF
51164 /* confdefs.h.  */
51165 _ACEOF
51166 cat confdefs.h >>conftest.$ac_ext
51167 cat >>conftest.$ac_ext <<_ACEOF
51168 /* end confdefs.h.  */
51169 #include <math.h>
51170 int
51171 main ()
51172 {
51173  sincosf(0, 0, 0);
51174   ;
51175   return 0;
51176 }
51177 _ACEOF
51178 rm -f conftest.$ac_objext
51179 if { (ac_try="$ac_compile"
51180 case "(($ac_try" in
51181   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51182   *) ac_try_echo=$ac_try;;
51183 esac
51184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51185   (eval "$ac_compile") 2>conftest.er1
51186   ac_status=$?
51187   grep -v '^ *+' conftest.er1 >conftest.err
51188   rm -f conftest.er1
51189   cat conftest.err >&5
51190   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51191   (exit $ac_status); } && {
51192          test -z "$ac_cxx_werror_flag" ||
51193          test ! -s conftest.err
51194        } && test -s conftest.$ac_objext; then
51195   glibcxx_cv_func_sincosf_use=yes
51196 else
51197   echo "$as_me: failed program was:" >&5
51198 sed 's/^/| /' conftest.$ac_ext >&5
51199
51200         glibcxx_cv_func_sincosf_use=no
51201 fi
51202
51203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51204       ac_ext=c
51205 ac_cpp='$CPP $CPPFLAGS'
51206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51209
51210
51211 fi
51212
51213   fi
51214   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
51215 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6; }
51216
51217   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
51218
51219 for ac_func in sincosf
51220 do
51221 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51222 { echo "$as_me:$LINENO: checking for $ac_func" >&5
51223 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
51224 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
51225   echo $ECHO_N "(cached) $ECHO_C" >&6
51226 else
51227   if test x$gcc_no_link = xyes; then
51228   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51229 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51230    { (exit 1); exit 1; }; }
51231 fi
51232 cat >conftest.$ac_ext <<_ACEOF
51233 /* confdefs.h.  */
51234 _ACEOF
51235 cat confdefs.h >>conftest.$ac_ext
51236 cat >>conftest.$ac_ext <<_ACEOF
51237 /* end confdefs.h.  */
51238 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51239    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
51240 #define $ac_func innocuous_$ac_func
51241
51242 /* System header to define __stub macros and hopefully few prototypes,
51243     which can conflict with char $ac_func (); below.
51244     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51245     <limits.h> exists even on freestanding compilers.  */
51246
51247 #ifdef __STDC__
51248 # include <limits.h>
51249 #else
51250 # include <assert.h>
51251 #endif
51252
51253 #undef $ac_func
51254
51255 /* Override any GCC internal prototype to avoid an error.
51256    Use char because int might match the return type of a GCC
51257    builtin and then its argument prototype would still apply.  */
51258 #ifdef __cplusplus
51259 extern "C"
51260 #endif
51261 char $ac_func ();
51262 /* The GNU C library defines this for functions which it implements
51263     to always fail with ENOSYS.  Some functions are actually named
51264     something starting with __ and the normal name is an alias.  */
51265 #if defined __stub_$ac_func || defined __stub___$ac_func
51266 choke me
51267 #endif
51268
51269 int
51270 main ()
51271 {
51272 return $ac_func ();
51273   ;
51274   return 0;
51275 }
51276 _ACEOF
51277 rm -f conftest.$ac_objext conftest$ac_exeext
51278 if { (ac_try="$ac_link"
51279 case "(($ac_try" in
51280   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51281   *) ac_try_echo=$ac_try;;
51282 esac
51283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51284   (eval "$ac_link") 2>conftest.er1
51285   ac_status=$?
51286   grep -v '^ *+' conftest.er1 >conftest.err
51287   rm -f conftest.er1
51288   cat conftest.err >&5
51289   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51290   (exit $ac_status); } && {
51291          test -z "$ac_c_werror_flag" ||
51292          test ! -s conftest.err
51293        } && test -s conftest$ac_exeext &&
51294        $as_test_x conftest$ac_exeext; then
51295   eval "$as_ac_var=yes"
51296 else
51297   echo "$as_me: failed program was:" >&5
51298 sed 's/^/| /' conftest.$ac_ext >&5
51299
51300         eval "$as_ac_var=no"
51301 fi
51302
51303 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
51304       conftest$ac_exeext conftest.$ac_ext
51305 fi
51306 ac_res=`eval echo '${'$as_ac_var'}'`
51307                { echo "$as_me:$LINENO: result: $ac_res" >&5
51308 echo "${ECHO_T}$ac_res" >&6; }
51309 if test `eval echo '${'$as_ac_var'}'` = yes; then
51310   cat >>confdefs.h <<_ACEOF
51311 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51312 _ACEOF
51313
51314 fi
51315 done
51316
51317   else
51318
51319   { echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
51320 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6; }
51321   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
51322     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
51323   echo $ECHO_N "(cached) $ECHO_C" >&6
51324 else
51325
51326
51327       ac_ext=cpp
51328 ac_cpp='$CXXCPP $CPPFLAGS'
51329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51332
51333       cat >conftest.$ac_ext <<_ACEOF
51334 /* confdefs.h.  */
51335 _ACEOF
51336 cat confdefs.h >>conftest.$ac_ext
51337 cat >>conftest.$ac_ext <<_ACEOF
51338 /* end confdefs.h.  */
51339 #include <math.h>
51340 int
51341 main ()
51342 {
51343  _sincosf(0, 0, 0);
51344   ;
51345   return 0;
51346 }
51347 _ACEOF
51348 rm -f conftest.$ac_objext
51349 if { (ac_try="$ac_compile"
51350 case "(($ac_try" in
51351   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51352   *) ac_try_echo=$ac_try;;
51353 esac
51354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51355   (eval "$ac_compile") 2>conftest.er1
51356   ac_status=$?
51357   grep -v '^ *+' conftest.er1 >conftest.err
51358   rm -f conftest.er1
51359   cat conftest.err >&5
51360   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51361   (exit $ac_status); } && {
51362          test -z "$ac_cxx_werror_flag" ||
51363          test ! -s conftest.err
51364        } && test -s conftest.$ac_objext; then
51365   glibcxx_cv_func__sincosf_use=yes
51366 else
51367   echo "$as_me: failed program was:" >&5
51368 sed 's/^/| /' conftest.$ac_ext >&5
51369
51370         glibcxx_cv_func__sincosf_use=no
51371 fi
51372
51373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51374       ac_ext=c
51375 ac_cpp='$CPP $CPPFLAGS'
51376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51379
51380
51381 fi
51382
51383   fi
51384   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
51385 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6; }
51386
51387     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
51388
51389 for ac_func in _sincosf
51390 do
51391 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51392 { echo "$as_me:$LINENO: checking for $ac_func" >&5
51393 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
51394 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
51395   echo $ECHO_N "(cached) $ECHO_C" >&6
51396 else
51397   if test x$gcc_no_link = xyes; then
51398   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51399 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51400    { (exit 1); exit 1; }; }
51401 fi
51402 cat >conftest.$ac_ext <<_ACEOF
51403 /* confdefs.h.  */
51404 _ACEOF
51405 cat confdefs.h >>conftest.$ac_ext
51406 cat >>conftest.$ac_ext <<_ACEOF
51407 /* end confdefs.h.  */
51408 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51409    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
51410 #define $ac_func innocuous_$ac_func
51411
51412 /* System header to define __stub macros and hopefully few prototypes,
51413     which can conflict with char $ac_func (); below.
51414     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51415     <limits.h> exists even on freestanding compilers.  */
51416
51417 #ifdef __STDC__
51418 # include <limits.h>
51419 #else
51420 # include <assert.h>
51421 #endif
51422
51423 #undef $ac_func
51424
51425 /* Override any GCC internal prototype to avoid an error.
51426    Use char because int might match the return type of a GCC
51427    builtin and then its argument prototype would still apply.  */
51428 #ifdef __cplusplus
51429 extern "C"
51430 #endif
51431 char $ac_func ();
51432 /* The GNU C library defines this for functions which it implements
51433     to always fail with ENOSYS.  Some functions are actually named
51434     something starting with __ and the normal name is an alias.  */
51435 #if defined __stub_$ac_func || defined __stub___$ac_func
51436 choke me
51437 #endif
51438
51439 int
51440 main ()
51441 {
51442 return $ac_func ();
51443   ;
51444   return 0;
51445 }
51446 _ACEOF
51447 rm -f conftest.$ac_objext conftest$ac_exeext
51448 if { (ac_try="$ac_link"
51449 case "(($ac_try" in
51450   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51451   *) ac_try_echo=$ac_try;;
51452 esac
51453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51454   (eval "$ac_link") 2>conftest.er1
51455   ac_status=$?
51456   grep -v '^ *+' conftest.er1 >conftest.err
51457   rm -f conftest.er1
51458   cat conftest.err >&5
51459   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51460   (exit $ac_status); } && {
51461          test -z "$ac_c_werror_flag" ||
51462          test ! -s conftest.err
51463        } && test -s conftest$ac_exeext &&
51464        $as_test_x conftest$ac_exeext; then
51465   eval "$as_ac_var=yes"
51466 else
51467   echo "$as_me: failed program was:" >&5
51468 sed 's/^/| /' conftest.$ac_ext >&5
51469
51470         eval "$as_ac_var=no"
51471 fi
51472
51473 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
51474       conftest$ac_exeext conftest.$ac_ext
51475 fi
51476 ac_res=`eval echo '${'$as_ac_var'}'`
51477                { echo "$as_me:$LINENO: result: $ac_res" >&5
51478 echo "${ECHO_T}$ac_res" >&6; }
51479 if test `eval echo '${'$as_ac_var'}'` = yes; then
51480   cat >>confdefs.h <<_ACEOF
51481 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51482 _ACEOF
51483
51484 fi
51485 done
51486
51487     fi
51488   fi
51489
51490
51491
51492
51493
51494
51495   { echo "$as_me:$LINENO: checking for finitef declaration" >&5
51496 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6; }
51497   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
51498     if test "${glibcxx_cv_func_finitef_use+set}" = set; then
51499   echo $ECHO_N "(cached) $ECHO_C" >&6
51500 else
51501
51502
51503       ac_ext=cpp
51504 ac_cpp='$CXXCPP $CPPFLAGS'
51505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51508
51509       cat >conftest.$ac_ext <<_ACEOF
51510 /* confdefs.h.  */
51511 _ACEOF
51512 cat confdefs.h >>conftest.$ac_ext
51513 cat >>conftest.$ac_ext <<_ACEOF
51514 /* end confdefs.h.  */
51515 #include <math.h>
51516                       #ifdef HAVE_IEEEFP_H
51517                       #include <ieeefp.h>
51518                       #endif
51519
51520 int
51521 main ()
51522 {
51523  finitef(0);
51524   ;
51525   return 0;
51526 }
51527 _ACEOF
51528 rm -f conftest.$ac_objext
51529 if { (ac_try="$ac_compile"
51530 case "(($ac_try" in
51531   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51532   *) ac_try_echo=$ac_try;;
51533 esac
51534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51535   (eval "$ac_compile") 2>conftest.er1
51536   ac_status=$?
51537   grep -v '^ *+' conftest.er1 >conftest.err
51538   rm -f conftest.er1
51539   cat conftest.err >&5
51540   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51541   (exit $ac_status); } && {
51542          test -z "$ac_cxx_werror_flag" ||
51543          test ! -s conftest.err
51544        } && test -s conftest.$ac_objext; then
51545   glibcxx_cv_func_finitef_use=yes
51546 else
51547   echo "$as_me: failed program was:" >&5
51548 sed 's/^/| /' conftest.$ac_ext >&5
51549
51550         glibcxx_cv_func_finitef_use=no
51551 fi
51552
51553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51554       ac_ext=c
51555 ac_cpp='$CPP $CPPFLAGS'
51556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51559
51560
51561 fi
51562
51563   fi
51564   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
51565 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6; }
51566
51567   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
51568
51569 for ac_func in finitef
51570 do
51571 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51572 { echo "$as_me:$LINENO: checking for $ac_func" >&5
51573 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
51574 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
51575   echo $ECHO_N "(cached) $ECHO_C" >&6
51576 else
51577   if test x$gcc_no_link = xyes; then
51578   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51579 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51580    { (exit 1); exit 1; }; }
51581 fi
51582 cat >conftest.$ac_ext <<_ACEOF
51583 /* confdefs.h.  */
51584 _ACEOF
51585 cat confdefs.h >>conftest.$ac_ext
51586 cat >>conftest.$ac_ext <<_ACEOF
51587 /* end confdefs.h.  */
51588 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51589    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
51590 #define $ac_func innocuous_$ac_func
51591
51592 /* System header to define __stub macros and hopefully few prototypes,
51593     which can conflict with char $ac_func (); below.
51594     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51595     <limits.h> exists even on freestanding compilers.  */
51596
51597 #ifdef __STDC__
51598 # include <limits.h>
51599 #else
51600 # include <assert.h>
51601 #endif
51602
51603 #undef $ac_func
51604
51605 /* Override any GCC internal prototype to avoid an error.
51606    Use char because int might match the return type of a GCC
51607    builtin and then its argument prototype would still apply.  */
51608 #ifdef __cplusplus
51609 extern "C"
51610 #endif
51611 char $ac_func ();
51612 /* The GNU C library defines this for functions which it implements
51613     to always fail with ENOSYS.  Some functions are actually named
51614     something starting with __ and the normal name is an alias.  */
51615 #if defined __stub_$ac_func || defined __stub___$ac_func
51616 choke me
51617 #endif
51618
51619 int
51620 main ()
51621 {
51622 return $ac_func ();
51623   ;
51624   return 0;
51625 }
51626 _ACEOF
51627 rm -f conftest.$ac_objext conftest$ac_exeext
51628 if { (ac_try="$ac_link"
51629 case "(($ac_try" in
51630   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51631   *) ac_try_echo=$ac_try;;
51632 esac
51633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51634   (eval "$ac_link") 2>conftest.er1
51635   ac_status=$?
51636   grep -v '^ *+' conftest.er1 >conftest.err
51637   rm -f conftest.er1
51638   cat conftest.err >&5
51639   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51640   (exit $ac_status); } && {
51641          test -z "$ac_c_werror_flag" ||
51642          test ! -s conftest.err
51643        } && test -s conftest$ac_exeext &&
51644        $as_test_x conftest$ac_exeext; then
51645   eval "$as_ac_var=yes"
51646 else
51647   echo "$as_me: failed program was:" >&5
51648 sed 's/^/| /' conftest.$ac_ext >&5
51649
51650         eval "$as_ac_var=no"
51651 fi
51652
51653 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
51654       conftest$ac_exeext conftest.$ac_ext
51655 fi
51656 ac_res=`eval echo '${'$as_ac_var'}'`
51657                { echo "$as_me:$LINENO: result: $ac_res" >&5
51658 echo "${ECHO_T}$ac_res" >&6; }
51659 if test `eval echo '${'$as_ac_var'}'` = yes; then
51660   cat >>confdefs.h <<_ACEOF
51661 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51662 _ACEOF
51663
51664 fi
51665 done
51666
51667   else
51668
51669   { echo "$as_me:$LINENO: checking for _finitef declaration" >&5
51670 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6; }
51671   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
51672     if test "${glibcxx_cv_func__finitef_use+set}" = set; then
51673   echo $ECHO_N "(cached) $ECHO_C" >&6
51674 else
51675
51676
51677       ac_ext=cpp
51678 ac_cpp='$CXXCPP $CPPFLAGS'
51679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51682
51683       cat >conftest.$ac_ext <<_ACEOF
51684 /* confdefs.h.  */
51685 _ACEOF
51686 cat confdefs.h >>conftest.$ac_ext
51687 cat >>conftest.$ac_ext <<_ACEOF
51688 /* end confdefs.h.  */
51689 #include <math.h>
51690                       #ifdef HAVE_IEEEFP_H
51691                       #include <ieeefp.h>
51692                       #endif
51693
51694 int
51695 main ()
51696 {
51697  _finitef(0);
51698   ;
51699   return 0;
51700 }
51701 _ACEOF
51702 rm -f conftest.$ac_objext
51703 if { (ac_try="$ac_compile"
51704 case "(($ac_try" in
51705   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51706   *) ac_try_echo=$ac_try;;
51707 esac
51708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51709   (eval "$ac_compile") 2>conftest.er1
51710   ac_status=$?
51711   grep -v '^ *+' conftest.er1 >conftest.err
51712   rm -f conftest.er1
51713   cat conftest.err >&5
51714   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51715   (exit $ac_status); } && {
51716          test -z "$ac_cxx_werror_flag" ||
51717          test ! -s conftest.err
51718        } && test -s conftest.$ac_objext; then
51719   glibcxx_cv_func__finitef_use=yes
51720 else
51721   echo "$as_me: failed program was:" >&5
51722 sed 's/^/| /' conftest.$ac_ext >&5
51723
51724         glibcxx_cv_func__finitef_use=no
51725 fi
51726
51727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51728       ac_ext=c
51729 ac_cpp='$CPP $CPPFLAGS'
51730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51733
51734
51735 fi
51736
51737   fi
51738   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
51739 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6; }
51740
51741     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
51742
51743 for ac_func in _finitef
51744 do
51745 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51746 { echo "$as_me:$LINENO: checking for $ac_func" >&5
51747 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
51748 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
51749   echo $ECHO_N "(cached) $ECHO_C" >&6
51750 else
51751   if test x$gcc_no_link = xyes; then
51752   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51753 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51754    { (exit 1); exit 1; }; }
51755 fi
51756 cat >conftest.$ac_ext <<_ACEOF
51757 /* confdefs.h.  */
51758 _ACEOF
51759 cat confdefs.h >>conftest.$ac_ext
51760 cat >>conftest.$ac_ext <<_ACEOF
51761 /* end confdefs.h.  */
51762 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51763    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
51764 #define $ac_func innocuous_$ac_func
51765
51766 /* System header to define __stub macros and hopefully few prototypes,
51767     which can conflict with char $ac_func (); below.
51768     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51769     <limits.h> exists even on freestanding compilers.  */
51770
51771 #ifdef __STDC__
51772 # include <limits.h>
51773 #else
51774 # include <assert.h>
51775 #endif
51776
51777 #undef $ac_func
51778
51779 /* Override any GCC internal prototype to avoid an error.
51780    Use char because int might match the return type of a GCC
51781    builtin and then its argument prototype would still apply.  */
51782 #ifdef __cplusplus
51783 extern "C"
51784 #endif
51785 char $ac_func ();
51786 /* The GNU C library defines this for functions which it implements
51787     to always fail with ENOSYS.  Some functions are actually named
51788     something starting with __ and the normal name is an alias.  */
51789 #if defined __stub_$ac_func || defined __stub___$ac_func
51790 choke me
51791 #endif
51792
51793 int
51794 main ()
51795 {
51796 return $ac_func ();
51797   ;
51798   return 0;
51799 }
51800 _ACEOF
51801 rm -f conftest.$ac_objext conftest$ac_exeext
51802 if { (ac_try="$ac_link"
51803 case "(($ac_try" in
51804   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51805   *) ac_try_echo=$ac_try;;
51806 esac
51807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51808   (eval "$ac_link") 2>conftest.er1
51809   ac_status=$?
51810   grep -v '^ *+' conftest.er1 >conftest.err
51811   rm -f conftest.er1
51812   cat conftest.err >&5
51813   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51814   (exit $ac_status); } && {
51815          test -z "$ac_c_werror_flag" ||
51816          test ! -s conftest.err
51817        } && test -s conftest$ac_exeext &&
51818        $as_test_x conftest$ac_exeext; then
51819   eval "$as_ac_var=yes"
51820 else
51821   echo "$as_me: failed program was:" >&5
51822 sed 's/^/| /' conftest.$ac_ext >&5
51823
51824         eval "$as_ac_var=no"
51825 fi
51826
51827 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
51828       conftest$ac_exeext conftest.$ac_ext
51829 fi
51830 ac_res=`eval echo '${'$as_ac_var'}'`
51831                { echo "$as_me:$LINENO: result: $ac_res" >&5
51832 echo "${ECHO_T}$ac_res" >&6; }
51833 if test `eval echo '${'$as_ac_var'}'` = yes; then
51834   cat >>confdefs.h <<_ACEOF
51835 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51836 _ACEOF
51837
51838 fi
51839 done
51840
51841     fi
51842   fi
51843
51844
51845
51846
51847
51848
51849     { echo "$as_me:$LINENO: checking for long double trig functions" >&5
51850 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6; }
51851   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
51852   echo $ECHO_N "(cached) $ECHO_C" >&6
51853 else
51854
51855
51856     ac_ext=cpp
51857 ac_cpp='$CXXCPP $CPPFLAGS'
51858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51861
51862     cat >conftest.$ac_ext <<_ACEOF
51863 /* confdefs.h.  */
51864 _ACEOF
51865 cat confdefs.h >>conftest.$ac_ext
51866 cat >>conftest.$ac_ext <<_ACEOF
51867 /* end confdefs.h.  */
51868 #include <math.h>
51869 int
51870 main ()
51871 {
51872 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
51873   ;
51874   return 0;
51875 }
51876 _ACEOF
51877 rm -f conftest.$ac_objext
51878 if { (ac_try="$ac_compile"
51879 case "(($ac_try" in
51880   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51881   *) ac_try_echo=$ac_try;;
51882 esac
51883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51884   (eval "$ac_compile") 2>conftest.er1
51885   ac_status=$?
51886   grep -v '^ *+' conftest.er1 >conftest.err
51887   rm -f conftest.er1
51888   cat conftest.err >&5
51889   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51890   (exit $ac_status); } && {
51891          test -z "$ac_cxx_werror_flag" ||
51892          test ! -s conftest.err
51893        } && test -s conftest.$ac_objext; then
51894   glibcxx_cv_func_long_double_trig_use=yes
51895 else
51896   echo "$as_me: failed program was:" >&5
51897 sed 's/^/| /' conftest.$ac_ext >&5
51898
51899         glibcxx_cv_func_long_double_trig_use=no
51900 fi
51901
51902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51903     ac_ext=c
51904 ac_cpp='$CPP $CPPFLAGS'
51905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51908
51909 fi
51910
51911   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
51912 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6; }
51913   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
51914
51915
51916
51917
51918
51919
51920
51921
51922
51923 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
51924 do
51925 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51926 { echo "$as_me:$LINENO: checking for $ac_func" >&5
51927 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
51928 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
51929   echo $ECHO_N "(cached) $ECHO_C" >&6
51930 else
51931   if test x$gcc_no_link = xyes; then
51932   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51933 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51934    { (exit 1); exit 1; }; }
51935 fi
51936 cat >conftest.$ac_ext <<_ACEOF
51937 /* confdefs.h.  */
51938 _ACEOF
51939 cat confdefs.h >>conftest.$ac_ext
51940 cat >>conftest.$ac_ext <<_ACEOF
51941 /* end confdefs.h.  */
51942 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51943    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
51944 #define $ac_func innocuous_$ac_func
51945
51946 /* System header to define __stub macros and hopefully few prototypes,
51947     which can conflict with char $ac_func (); below.
51948     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51949     <limits.h> exists even on freestanding compilers.  */
51950
51951 #ifdef __STDC__
51952 # include <limits.h>
51953 #else
51954 # include <assert.h>
51955 #endif
51956
51957 #undef $ac_func
51958
51959 /* Override any GCC internal prototype to avoid an error.
51960    Use char because int might match the return type of a GCC
51961    builtin and then its argument prototype would still apply.  */
51962 #ifdef __cplusplus
51963 extern "C"
51964 #endif
51965 char $ac_func ();
51966 /* The GNU C library defines this for functions which it implements
51967     to always fail with ENOSYS.  Some functions are actually named
51968     something starting with __ and the normal name is an alias.  */
51969 #if defined __stub_$ac_func || defined __stub___$ac_func
51970 choke me
51971 #endif
51972
51973 int
51974 main ()
51975 {
51976 return $ac_func ();
51977   ;
51978   return 0;
51979 }
51980 _ACEOF
51981 rm -f conftest.$ac_objext conftest$ac_exeext
51982 if { (ac_try="$ac_link"
51983 case "(($ac_try" in
51984   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51985   *) ac_try_echo=$ac_try;;
51986 esac
51987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51988   (eval "$ac_link") 2>conftest.er1
51989   ac_status=$?
51990   grep -v '^ *+' conftest.er1 >conftest.err
51991   rm -f conftest.er1
51992   cat conftest.err >&5
51993   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51994   (exit $ac_status); } && {
51995          test -z "$ac_c_werror_flag" ||
51996          test ! -s conftest.err
51997        } && test -s conftest$ac_exeext &&
51998        $as_test_x conftest$ac_exeext; then
51999   eval "$as_ac_var=yes"
52000 else
52001   echo "$as_me: failed program was:" >&5
52002 sed 's/^/| /' conftest.$ac_ext >&5
52003
52004         eval "$as_ac_var=no"
52005 fi
52006
52007 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
52008       conftest$ac_exeext conftest.$ac_ext
52009 fi
52010 ac_res=`eval echo '${'$as_ac_var'}'`
52011                { echo "$as_me:$LINENO: result: $ac_res" >&5
52012 echo "${ECHO_T}$ac_res" >&6; }
52013 if test `eval echo '${'$as_ac_var'}'` = yes; then
52014   cat >>confdefs.h <<_ACEOF
52015 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52016 _ACEOF
52017
52018 fi
52019 done
52020
52021   else
52022     { echo "$as_me:$LINENO: checking for _long double trig functions" >&5
52023 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6; }
52024     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
52025   echo $ECHO_N "(cached) $ECHO_C" >&6
52026 else
52027
52028
52029       ac_ext=cpp
52030 ac_cpp='$CXXCPP $CPPFLAGS'
52031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52034
52035       cat >conftest.$ac_ext <<_ACEOF
52036 /* confdefs.h.  */
52037 _ACEOF
52038 cat confdefs.h >>conftest.$ac_ext
52039 cat >>conftest.$ac_ext <<_ACEOF
52040 /* end confdefs.h.  */
52041 #include <math.h>
52042 int
52043 main ()
52044 {
52045 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
52046   ;
52047   return 0;
52048 }
52049 _ACEOF
52050 rm -f conftest.$ac_objext
52051 if { (ac_try="$ac_compile"
52052 case "(($ac_try" in
52053   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
52054   *) ac_try_echo=$ac_try;;
52055 esac
52056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
52057   (eval "$ac_compile") 2>conftest.er1
52058   ac_status=$?
52059   grep -v '^ *+' conftest.er1 >conftest.err
52060   rm -f conftest.er1
52061   cat conftest.err >&5
52062   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52063   (exit $ac_status); } && {
52064          test -z "$ac_cxx_werror_flag" ||
52065          test ! -s conftest.err
52066        } && test -s conftest.$ac_objext; then
52067   glibcxx_cv_func__long_double_trig_use=yes
52068 else
52069   echo "$as_me: failed program was:" >&5
52070 sed 's/^/| /' conftest.$ac_ext >&5
52071
52072         glibcxx_cv_func__long_double_trig_use=no
52073 fi
52074
52075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52076       ac_ext=c
52077 ac_cpp='$CPP $CPPFLAGS'
52078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52081
52082 fi
52083
52084     { echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
52085 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6; }
52086     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
52087
52088
52089
52090
52091
52092
52093
52094
52095
52096 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
52097 do
52098 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52099 { echo "$as_me:$LINENO: checking for $ac_func" >&5
52100 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
52101 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
52102   echo $ECHO_N "(cached) $ECHO_C" >&6
52103 else
52104   if test x$gcc_no_link = xyes; then
52105   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52106 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52107    { (exit 1); exit 1; }; }
52108 fi
52109 cat >conftest.$ac_ext <<_ACEOF
52110 /* confdefs.h.  */
52111 _ACEOF
52112 cat confdefs.h >>conftest.$ac_ext
52113 cat >>conftest.$ac_ext <<_ACEOF
52114 /* end confdefs.h.  */
52115 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52116    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
52117 #define $ac_func innocuous_$ac_func
52118
52119 /* System header to define __stub macros and hopefully few prototypes,
52120     which can conflict with char $ac_func (); below.
52121     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52122     <limits.h> exists even on freestanding compilers.  */
52123
52124 #ifdef __STDC__
52125 # include <limits.h>
52126 #else
52127 # include <assert.h>
52128 #endif
52129
52130 #undef $ac_func
52131
52132 /* Override any GCC internal prototype to avoid an error.
52133    Use char because int might match the return type of a GCC
52134    builtin and then its argument prototype would still apply.  */
52135 #ifdef __cplusplus
52136 extern "C"
52137 #endif
52138 char $ac_func ();
52139 /* The GNU C library defines this for functions which it implements
52140     to always fail with ENOSYS.  Some functions are actually named
52141     something starting with __ and the normal name is an alias.  */
52142 #if defined __stub_$ac_func || defined __stub___$ac_func
52143 choke me
52144 #endif
52145
52146 int
52147 main ()
52148 {
52149 return $ac_func ();
52150   ;
52151   return 0;
52152 }
52153 _ACEOF
52154 rm -f conftest.$ac_objext conftest$ac_exeext
52155 if { (ac_try="$ac_link"
52156 case "(($ac_try" in
52157   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
52158   *) ac_try_echo=$ac_try;;
52159 esac
52160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
52161   (eval "$ac_link") 2>conftest.er1
52162   ac_status=$?
52163   grep -v '^ *+' conftest.er1 >conftest.err
52164   rm -f conftest.er1
52165   cat conftest.err >&5
52166   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52167   (exit $ac_status); } && {
52168          test -z "$ac_c_werror_flag" ||
52169          test ! -s conftest.err
52170        } && test -s conftest$ac_exeext &&
52171        $as_test_x conftest$ac_exeext; then
52172   eval "$as_ac_var=yes"
52173 else
52174   echo "$as_me: failed program was:" >&5
52175 sed 's/^/| /' conftest.$ac_ext >&5
52176
52177         eval "$as_ac_var=no"
52178 fi
52179
52180 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
52181       conftest$ac_exeext conftest.$ac_ext
52182 fi
52183 ac_res=`eval echo '${'$as_ac_var'}'`
52184                { echo "$as_me:$LINENO: result: $ac_res" >&5
52185 echo "${ECHO_T}$ac_res" >&6; }
52186 if test `eval echo '${'$as_ac_var'}'` = yes; then
52187   cat >>confdefs.h <<_ACEOF
52188 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52189 _ACEOF
52190
52191 fi
52192 done
52193
52194     fi
52195   fi
52196
52197
52198
52199
52200
52201
52202
52203
52204
52205
52206
52207
52208
52209
52210     { echo "$as_me:$LINENO: checking for long double round functions" >&5
52211 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6; }
52212   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
52213   echo $ECHO_N "(cached) $ECHO_C" >&6
52214 else
52215
52216
52217     ac_ext=cpp
52218 ac_cpp='$CXXCPP $CPPFLAGS'
52219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52222
52223     cat >conftest.$ac_ext <<_ACEOF
52224 /* confdefs.h.  */
52225 _ACEOF
52226 cat confdefs.h >>conftest.$ac_ext
52227 cat >>conftest.$ac_ext <<_ACEOF
52228 /* end confdefs.h.  */
52229 #include <math.h>
52230 int
52231 main ()
52232 {
52233 ceill (0); floorl (0);
52234   ;
52235   return 0;
52236 }
52237 _ACEOF
52238 rm -f conftest.$ac_objext
52239 if { (ac_try="$ac_compile"
52240 case "(($ac_try" in
52241   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
52242   *) ac_try_echo=$ac_try;;
52243 esac
52244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
52245   (eval "$ac_compile") 2>conftest.er1
52246   ac_status=$?
52247   grep -v '^ *+' conftest.er1 >conftest.err
52248   rm -f conftest.er1
52249   cat conftest.err >&5
52250   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52251   (exit $ac_status); } && {
52252          test -z "$ac_cxx_werror_flag" ||
52253          test ! -s conftest.err
52254        } && test -s conftest.$ac_objext; then
52255   glibcxx_cv_func_long_double_round_use=yes
52256 else
52257   echo "$as_me: failed program was:" >&5
52258 sed 's/^/| /' conftest.$ac_ext >&5
52259
52260         glibcxx_cv_func_long_double_round_use=no
52261 fi
52262
52263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52264     ac_ext=c
52265 ac_cpp='$CPP $CPPFLAGS'
52266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52269
52270 fi
52271
52272   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
52273 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6; }
52274   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
52275
52276
52277 for ac_func in ceill floorl
52278 do
52279 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52280 { echo "$as_me:$LINENO: checking for $ac_func" >&5
52281 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
52282 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
52283   echo $ECHO_N "(cached) $ECHO_C" >&6
52284 else
52285   if test x$gcc_no_link = xyes; then
52286   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52287 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52288    { (exit 1); exit 1; }; }
52289 fi
52290 cat >conftest.$ac_ext <<_ACEOF
52291 /* confdefs.h.  */
52292 _ACEOF
52293 cat confdefs.h >>conftest.$ac_ext
52294 cat >>conftest.$ac_ext <<_ACEOF
52295 /* end confdefs.h.  */
52296 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52297    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
52298 #define $ac_func innocuous_$ac_func
52299
52300 /* System header to define __stub macros and hopefully few prototypes,
52301     which can conflict with char $ac_func (); below.
52302     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52303     <limits.h> exists even on freestanding compilers.  */
52304
52305 #ifdef __STDC__
52306 # include <limits.h>
52307 #else
52308 # include <assert.h>
52309 #endif
52310
52311 #undef $ac_func
52312
52313 /* Override any GCC internal prototype to avoid an error.
52314    Use char because int might match the return type of a GCC
52315    builtin and then its argument prototype would still apply.  */
52316 #ifdef __cplusplus
52317 extern "C"
52318 #endif
52319 char $ac_func ();
52320 /* The GNU C library defines this for functions which it implements
52321     to always fail with ENOSYS.  Some functions are actually named
52322     something starting with __ and the normal name is an alias.  */
52323 #if defined __stub_$ac_func || defined __stub___$ac_func
52324 choke me
52325 #endif
52326
52327 int
52328 main ()
52329 {
52330 return $ac_func ();
52331   ;
52332   return 0;
52333 }
52334 _ACEOF
52335 rm -f conftest.$ac_objext conftest$ac_exeext
52336 if { (ac_try="$ac_link"
52337 case "(($ac_try" in
52338   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
52339   *) ac_try_echo=$ac_try;;
52340 esac
52341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
52342   (eval "$ac_link") 2>conftest.er1
52343   ac_status=$?
52344   grep -v '^ *+' conftest.er1 >conftest.err
52345   rm -f conftest.er1
52346   cat conftest.err >&5
52347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52348   (exit $ac_status); } && {
52349          test -z "$ac_c_werror_flag" ||
52350          test ! -s conftest.err
52351        } && test -s conftest$ac_exeext &&
52352        $as_test_x conftest$ac_exeext; then
52353   eval "$as_ac_var=yes"
52354 else
52355   echo "$as_me: failed program was:" >&5
52356 sed 's/^/| /' conftest.$ac_ext >&5
52357
52358         eval "$as_ac_var=no"
52359 fi
52360
52361 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
52362       conftest$ac_exeext conftest.$ac_ext
52363 fi
52364 ac_res=`eval echo '${'$as_ac_var'}'`
52365                { echo "$as_me:$LINENO: result: $ac_res" >&5
52366 echo "${ECHO_T}$ac_res" >&6; }
52367 if test `eval echo '${'$as_ac_var'}'` = yes; then
52368   cat >>confdefs.h <<_ACEOF
52369 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52370 _ACEOF
52371
52372 fi
52373 done
52374
52375   else
52376     { echo "$as_me:$LINENO: checking for _long double round functions" >&5
52377 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6; }
52378     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
52379   echo $ECHO_N "(cached) $ECHO_C" >&6
52380 else
52381
52382
52383       ac_ext=cpp
52384 ac_cpp='$CXXCPP $CPPFLAGS'
52385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52388
52389       cat >conftest.$ac_ext <<_ACEOF
52390 /* confdefs.h.  */
52391 _ACEOF
52392 cat confdefs.h >>conftest.$ac_ext
52393 cat >>conftest.$ac_ext <<_ACEOF
52394 /* end confdefs.h.  */
52395 #include <math.h>
52396 int
52397 main ()
52398 {
52399 _ceill (0); _floorl (0);
52400   ;
52401   return 0;
52402 }
52403 _ACEOF
52404 rm -f conftest.$ac_objext
52405 if { (ac_try="$ac_compile"
52406 case "(($ac_try" in
52407   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
52408   *) ac_try_echo=$ac_try;;
52409 esac
52410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
52411   (eval "$ac_compile") 2>conftest.er1
52412   ac_status=$?
52413   grep -v '^ *+' conftest.er1 >conftest.err
52414   rm -f conftest.er1
52415   cat conftest.err >&5
52416   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52417   (exit $ac_status); } && {
52418          test -z "$ac_cxx_werror_flag" ||
52419          test ! -s conftest.err
52420        } && test -s conftest.$ac_objext; then
52421   glibcxx_cv_func__long_double_round_use=yes
52422 else
52423   echo "$as_me: failed program was:" >&5
52424 sed 's/^/| /' conftest.$ac_ext >&5
52425
52426         glibcxx_cv_func__long_double_round_use=no
52427 fi
52428
52429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52430       ac_ext=c
52431 ac_cpp='$CPP $CPPFLAGS'
52432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52435
52436 fi
52437
52438     { echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
52439 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6; }
52440     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
52441
52442
52443 for ac_func in _ceill _floorl
52444 do
52445 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52446 { echo "$as_me:$LINENO: checking for $ac_func" >&5
52447 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
52448 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
52449   echo $ECHO_N "(cached) $ECHO_C" >&6
52450 else
52451   if test x$gcc_no_link = xyes; then
52452   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52453 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52454    { (exit 1); exit 1; }; }
52455 fi
52456 cat >conftest.$ac_ext <<_ACEOF
52457 /* confdefs.h.  */
52458 _ACEOF
52459 cat confdefs.h >>conftest.$ac_ext
52460 cat >>conftest.$ac_ext <<_ACEOF
52461 /* end confdefs.h.  */
52462 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52463    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
52464 #define $ac_func innocuous_$ac_func
52465
52466 /* System header to define __stub macros and hopefully few prototypes,
52467     which can conflict with char $ac_func (); below.
52468     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52469     <limits.h> exists even on freestanding compilers.  */
52470
52471 #ifdef __STDC__
52472 # include <limits.h>
52473 #else
52474 # include <assert.h>
52475 #endif
52476
52477 #undef $ac_func
52478
52479 /* Override any GCC internal prototype to avoid an error.
52480    Use char because int might match the return type of a GCC
52481    builtin and then its argument prototype would still apply.  */
52482 #ifdef __cplusplus
52483 extern "C"
52484 #endif
52485 char $ac_func ();
52486 /* The GNU C library defines this for functions which it implements
52487     to always fail with ENOSYS.  Some functions are actually named
52488     something starting with __ and the normal name is an alias.  */
52489 #if defined __stub_$ac_func || defined __stub___$ac_func
52490 choke me
52491 #endif
52492
52493 int
52494 main ()
52495 {
52496 return $ac_func ();
52497   ;
52498   return 0;
52499 }
52500 _ACEOF
52501 rm -f conftest.$ac_objext conftest$ac_exeext
52502 if { (ac_try="$ac_link"
52503 case "(($ac_try" in
52504   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
52505   *) ac_try_echo=$ac_try;;
52506 esac
52507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
52508   (eval "$ac_link") 2>conftest.er1
52509   ac_status=$?
52510   grep -v '^ *+' conftest.er1 >conftest.err
52511   rm -f conftest.er1
52512   cat conftest.err >&5
52513   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52514   (exit $ac_status); } && {
52515          test -z "$ac_c_werror_flag" ||
52516          test ! -s conftest.err
52517        } && test -s conftest$ac_exeext &&
52518        $as_test_x conftest$ac_exeext; then
52519   eval "$as_ac_var=yes"
52520 else
52521   echo "$as_me: failed program was:" >&5
52522 sed 's/^/| /' conftest.$ac_ext >&5
52523
52524         eval "$as_ac_var=no"
52525 fi
52526
52527 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
52528       conftest$ac_exeext conftest.$ac_ext
52529 fi
52530 ac_res=`eval echo '${'$as_ac_var'}'`
52531                { echo "$as_me:$LINENO: result: $ac_res" >&5
52532 echo "${ECHO_T}$ac_res" >&6; }
52533 if test `eval echo '${'$as_ac_var'}'` = yes; then
52534   cat >>confdefs.h <<_ACEOF
52535 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52536 _ACEOF
52537
52538 fi
52539 done
52540
52541     fi
52542   fi
52543
52544
52545
52546
52547
52548
52549
52550
52551   { echo "$as_me:$LINENO: checking for isnanl declaration" >&5
52552 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6; }
52553   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
52554     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
52555   echo $ECHO_N "(cached) $ECHO_C" >&6
52556 else
52557
52558
52559       ac_ext=cpp
52560 ac_cpp='$CXXCPP $CPPFLAGS'
52561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52564
52565       cat >conftest.$ac_ext <<_ACEOF
52566 /* confdefs.h.  */
52567 _ACEOF
52568 cat confdefs.h >>conftest.$ac_ext
52569 cat >>conftest.$ac_ext <<_ACEOF
52570 /* end confdefs.h.  */
52571 #include <math.h>
52572                       #ifdef HAVE_IEEEFP_H
52573                       #include <ieeefp.h>
52574                       #endif
52575
52576 int
52577 main ()
52578 {
52579  isnanl(0);
52580   ;
52581   return 0;
52582 }
52583 _ACEOF
52584 rm -f conftest.$ac_objext
52585 if { (ac_try="$ac_compile"
52586 case "(($ac_try" in
52587   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
52588   *) ac_try_echo=$ac_try;;
52589 esac
52590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
52591   (eval "$ac_compile") 2>conftest.er1
52592   ac_status=$?
52593   grep -v '^ *+' conftest.er1 >conftest.err
52594   rm -f conftest.er1
52595   cat conftest.err >&5
52596   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52597   (exit $ac_status); } && {
52598          test -z "$ac_cxx_werror_flag" ||
52599          test ! -s conftest.err
52600        } && test -s conftest.$ac_objext; then
52601   glibcxx_cv_func_isnanl_use=yes
52602 else
52603   echo "$as_me: failed program was:" >&5
52604 sed 's/^/| /' conftest.$ac_ext >&5
52605
52606         glibcxx_cv_func_isnanl_use=no
52607 fi
52608
52609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52610       ac_ext=c
52611 ac_cpp='$CPP $CPPFLAGS'
52612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52615
52616
52617 fi
52618
52619   fi
52620   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
52621 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6; }
52622
52623   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
52624
52625 for ac_func in isnanl
52626 do
52627 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52628 { echo "$as_me:$LINENO: checking for $ac_func" >&5
52629 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
52630 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
52631   echo $ECHO_N "(cached) $ECHO_C" >&6
52632 else
52633   if test x$gcc_no_link = xyes; then
52634   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52635 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52636    { (exit 1); exit 1; }; }
52637 fi
52638 cat >conftest.$ac_ext <<_ACEOF
52639 /* confdefs.h.  */
52640 _ACEOF
52641 cat confdefs.h >>conftest.$ac_ext
52642 cat >>conftest.$ac_ext <<_ACEOF
52643 /* end confdefs.h.  */
52644 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52645    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
52646 #define $ac_func innocuous_$ac_func
52647
52648 /* System header to define __stub macros and hopefully few prototypes,
52649     which can conflict with char $ac_func (); below.
52650     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52651     <limits.h> exists even on freestanding compilers.  */
52652
52653 #ifdef __STDC__
52654 # include <limits.h>
52655 #else
52656 # include <assert.h>
52657 #endif
52658
52659 #undef $ac_func
52660
52661 /* Override any GCC internal prototype to avoid an error.
52662    Use char because int might match the return type of a GCC
52663    builtin and then its argument prototype would still apply.  */
52664 #ifdef __cplusplus
52665 extern "C"
52666 #endif
52667 char $ac_func ();
52668 /* The GNU C library defines this for functions which it implements
52669     to always fail with ENOSYS.  Some functions are actually named
52670     something starting with __ and the normal name is an alias.  */
52671 #if defined __stub_$ac_func || defined __stub___$ac_func
52672 choke me
52673 #endif
52674
52675 int
52676 main ()
52677 {
52678 return $ac_func ();
52679   ;
52680   return 0;
52681 }
52682 _ACEOF
52683 rm -f conftest.$ac_objext conftest$ac_exeext
52684 if { (ac_try="$ac_link"
52685 case "(($ac_try" in
52686   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
52687   *) ac_try_echo=$ac_try;;
52688 esac
52689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
52690   (eval "$ac_link") 2>conftest.er1
52691   ac_status=$?
52692   grep -v '^ *+' conftest.er1 >conftest.err
52693   rm -f conftest.er1
52694   cat conftest.err >&5
52695   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52696   (exit $ac_status); } && {
52697          test -z "$ac_c_werror_flag" ||
52698          test ! -s conftest.err
52699        } && test -s conftest$ac_exeext &&
52700        $as_test_x conftest$ac_exeext; then
52701   eval "$as_ac_var=yes"
52702 else
52703   echo "$as_me: failed program was:" >&5
52704 sed 's/^/| /' conftest.$ac_ext >&5
52705
52706         eval "$as_ac_var=no"
52707 fi
52708
52709 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
52710       conftest$ac_exeext conftest.$ac_ext
52711 fi
52712 ac_res=`eval echo '${'$as_ac_var'}'`
52713                { echo "$as_me:$LINENO: result: $ac_res" >&5
52714 echo "${ECHO_T}$ac_res" >&6; }
52715 if test `eval echo '${'$as_ac_var'}'` = yes; then
52716   cat >>confdefs.h <<_ACEOF
52717 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52718 _ACEOF
52719
52720 fi
52721 done
52722
52723   else
52724
52725   { echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
52726 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6; }
52727   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
52728     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
52729   echo $ECHO_N "(cached) $ECHO_C" >&6
52730 else
52731
52732
52733       ac_ext=cpp
52734 ac_cpp='$CXXCPP $CPPFLAGS'
52735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52738
52739       cat >conftest.$ac_ext <<_ACEOF
52740 /* confdefs.h.  */
52741 _ACEOF
52742 cat confdefs.h >>conftest.$ac_ext
52743 cat >>conftest.$ac_ext <<_ACEOF
52744 /* end confdefs.h.  */
52745 #include <math.h>
52746                       #ifdef HAVE_IEEEFP_H
52747                       #include <ieeefp.h>
52748                       #endif
52749
52750 int
52751 main ()
52752 {
52753  _isnanl(0);
52754   ;
52755   return 0;
52756 }
52757 _ACEOF
52758 rm -f conftest.$ac_objext
52759 if { (ac_try="$ac_compile"
52760 case "(($ac_try" in
52761   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
52762   *) ac_try_echo=$ac_try;;
52763 esac
52764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
52765   (eval "$ac_compile") 2>conftest.er1
52766   ac_status=$?
52767   grep -v '^ *+' conftest.er1 >conftest.err
52768   rm -f conftest.er1
52769   cat conftest.err >&5
52770   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52771   (exit $ac_status); } && {
52772          test -z "$ac_cxx_werror_flag" ||
52773          test ! -s conftest.err
52774        } && test -s conftest.$ac_objext; then
52775   glibcxx_cv_func__isnanl_use=yes
52776 else
52777   echo "$as_me: failed program was:" >&5
52778 sed 's/^/| /' conftest.$ac_ext >&5
52779
52780         glibcxx_cv_func__isnanl_use=no
52781 fi
52782
52783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52784       ac_ext=c
52785 ac_cpp='$CPP $CPPFLAGS'
52786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52789
52790
52791 fi
52792
52793   fi
52794   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
52795 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6; }
52796
52797     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
52798
52799 for ac_func in _isnanl
52800 do
52801 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52802 { echo "$as_me:$LINENO: checking for $ac_func" >&5
52803 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
52804 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
52805   echo $ECHO_N "(cached) $ECHO_C" >&6
52806 else
52807   if test x$gcc_no_link = xyes; then
52808   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52809 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52810    { (exit 1); exit 1; }; }
52811 fi
52812 cat >conftest.$ac_ext <<_ACEOF
52813 /* confdefs.h.  */
52814 _ACEOF
52815 cat confdefs.h >>conftest.$ac_ext
52816 cat >>conftest.$ac_ext <<_ACEOF
52817 /* end confdefs.h.  */
52818 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52819    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
52820 #define $ac_func innocuous_$ac_func
52821
52822 /* System header to define __stub macros and hopefully few prototypes,
52823     which can conflict with char $ac_func (); below.
52824     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52825     <limits.h> exists even on freestanding compilers.  */
52826
52827 #ifdef __STDC__
52828 # include <limits.h>
52829 #else
52830 # include <assert.h>
52831 #endif
52832
52833 #undef $ac_func
52834
52835 /* Override any GCC internal prototype to avoid an error.
52836    Use char because int might match the return type of a GCC
52837    builtin and then its argument prototype would still apply.  */
52838 #ifdef __cplusplus
52839 extern "C"
52840 #endif
52841 char $ac_func ();
52842 /* The GNU C library defines this for functions which it implements
52843     to always fail with ENOSYS.  Some functions are actually named
52844     something starting with __ and the normal name is an alias.  */
52845 #if defined __stub_$ac_func || defined __stub___$ac_func
52846 choke me
52847 #endif
52848
52849 int
52850 main ()
52851 {
52852 return $ac_func ();
52853   ;
52854   return 0;
52855 }
52856 _ACEOF
52857 rm -f conftest.$ac_objext conftest$ac_exeext
52858 if { (ac_try="$ac_link"
52859 case "(($ac_try" in
52860   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
52861   *) ac_try_echo=$ac_try;;
52862 esac
52863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
52864   (eval "$ac_link") 2>conftest.er1
52865   ac_status=$?
52866   grep -v '^ *+' conftest.er1 >conftest.err
52867   rm -f conftest.er1
52868   cat conftest.err >&5
52869   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52870   (exit $ac_status); } && {
52871          test -z "$ac_c_werror_flag" ||
52872          test ! -s conftest.err
52873        } && test -s conftest$ac_exeext &&
52874        $as_test_x conftest$ac_exeext; then
52875   eval "$as_ac_var=yes"
52876 else
52877   echo "$as_me: failed program was:" >&5
52878 sed 's/^/| /' conftest.$ac_ext >&5
52879
52880         eval "$as_ac_var=no"
52881 fi
52882
52883 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
52884       conftest$ac_exeext conftest.$ac_ext
52885 fi
52886 ac_res=`eval echo '${'$as_ac_var'}'`
52887                { echo "$as_me:$LINENO: result: $ac_res" >&5
52888 echo "${ECHO_T}$ac_res" >&6; }
52889 if test `eval echo '${'$as_ac_var'}'` = yes; then
52890   cat >>confdefs.h <<_ACEOF
52891 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52892 _ACEOF
52893
52894 fi
52895 done
52896
52897     fi
52898   fi
52899
52900
52901
52902
52903
52904
52905   { echo "$as_me:$LINENO: checking for isinfl declaration" >&5
52906 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6; }
52907   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
52908     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
52909   echo $ECHO_N "(cached) $ECHO_C" >&6
52910 else
52911
52912
52913       ac_ext=cpp
52914 ac_cpp='$CXXCPP $CPPFLAGS'
52915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52918
52919       cat >conftest.$ac_ext <<_ACEOF
52920 /* confdefs.h.  */
52921 _ACEOF
52922 cat confdefs.h >>conftest.$ac_ext
52923 cat >>conftest.$ac_ext <<_ACEOF
52924 /* end confdefs.h.  */
52925 #include <math.h>
52926                       #ifdef HAVE_IEEEFP_H
52927                       #include <ieeefp.h>
52928                       #endif
52929
52930 int
52931 main ()
52932 {
52933  isinfl(0);
52934   ;
52935   return 0;
52936 }
52937 _ACEOF
52938 rm -f conftest.$ac_objext
52939 if { (ac_try="$ac_compile"
52940 case "(($ac_try" in
52941   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
52942   *) ac_try_echo=$ac_try;;
52943 esac
52944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
52945   (eval "$ac_compile") 2>conftest.er1
52946   ac_status=$?
52947   grep -v '^ *+' conftest.er1 >conftest.err
52948   rm -f conftest.er1
52949   cat conftest.err >&5
52950   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52951   (exit $ac_status); } && {
52952          test -z "$ac_cxx_werror_flag" ||
52953          test ! -s conftest.err
52954        } && test -s conftest.$ac_objext; then
52955   glibcxx_cv_func_isinfl_use=yes
52956 else
52957   echo "$as_me: failed program was:" >&5
52958 sed 's/^/| /' conftest.$ac_ext >&5
52959
52960         glibcxx_cv_func_isinfl_use=no
52961 fi
52962
52963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52964       ac_ext=c
52965 ac_cpp='$CPP $CPPFLAGS'
52966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52969
52970
52971 fi
52972
52973   fi
52974   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
52975 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6; }
52976
52977   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
52978
52979 for ac_func in isinfl
52980 do
52981 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52982 { echo "$as_me:$LINENO: checking for $ac_func" >&5
52983 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
52984 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
52985   echo $ECHO_N "(cached) $ECHO_C" >&6
52986 else
52987   if test x$gcc_no_link = xyes; then
52988   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52989 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52990    { (exit 1); exit 1; }; }
52991 fi
52992 cat >conftest.$ac_ext <<_ACEOF
52993 /* confdefs.h.  */
52994 _ACEOF
52995 cat confdefs.h >>conftest.$ac_ext
52996 cat >>conftest.$ac_ext <<_ACEOF
52997 /* end confdefs.h.  */
52998 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52999    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
53000 #define $ac_func innocuous_$ac_func
53001
53002 /* System header to define __stub macros and hopefully few prototypes,
53003     which can conflict with char $ac_func (); below.
53004     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53005     <limits.h> exists even on freestanding compilers.  */
53006
53007 #ifdef __STDC__
53008 # include <limits.h>
53009 #else
53010 # include <assert.h>
53011 #endif
53012
53013 #undef $ac_func
53014
53015 /* Override any GCC internal prototype to avoid an error.
53016    Use char because int might match the return type of a GCC
53017    builtin and then its argument prototype would still apply.  */
53018 #ifdef __cplusplus
53019 extern "C"
53020 #endif
53021 char $ac_func ();
53022 /* The GNU C library defines this for functions which it implements
53023     to always fail with ENOSYS.  Some functions are actually named
53024     something starting with __ and the normal name is an alias.  */
53025 #if defined __stub_$ac_func || defined __stub___$ac_func
53026 choke me
53027 #endif
53028
53029 int
53030 main ()
53031 {
53032 return $ac_func ();
53033   ;
53034   return 0;
53035 }
53036 _ACEOF
53037 rm -f conftest.$ac_objext conftest$ac_exeext
53038 if { (ac_try="$ac_link"
53039 case "(($ac_try" in
53040   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
53041   *) ac_try_echo=$ac_try;;
53042 esac
53043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
53044   (eval "$ac_link") 2>conftest.er1
53045   ac_status=$?
53046   grep -v '^ *+' conftest.er1 >conftest.err
53047   rm -f conftest.er1
53048   cat conftest.err >&5
53049   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53050   (exit $ac_status); } && {
53051          test -z "$ac_c_werror_flag" ||
53052          test ! -s conftest.err
53053        } && test -s conftest$ac_exeext &&
53054        $as_test_x conftest$ac_exeext; then
53055   eval "$as_ac_var=yes"
53056 else
53057   echo "$as_me: failed program was:" >&5
53058 sed 's/^/| /' conftest.$ac_ext >&5
53059
53060         eval "$as_ac_var=no"
53061 fi
53062
53063 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
53064       conftest$ac_exeext conftest.$ac_ext
53065 fi
53066 ac_res=`eval echo '${'$as_ac_var'}'`
53067                { echo "$as_me:$LINENO: result: $ac_res" >&5
53068 echo "${ECHO_T}$ac_res" >&6; }
53069 if test `eval echo '${'$as_ac_var'}'` = yes; then
53070   cat >>confdefs.h <<_ACEOF
53071 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53072 _ACEOF
53073
53074 fi
53075 done
53076
53077   else
53078
53079   { echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
53080 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6; }
53081   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
53082     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
53083   echo $ECHO_N "(cached) $ECHO_C" >&6
53084 else
53085
53086
53087       ac_ext=cpp
53088 ac_cpp='$CXXCPP $CPPFLAGS'
53089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53092
53093       cat >conftest.$ac_ext <<_ACEOF
53094 /* confdefs.h.  */
53095 _ACEOF
53096 cat confdefs.h >>conftest.$ac_ext
53097 cat >>conftest.$ac_ext <<_ACEOF
53098 /* end confdefs.h.  */
53099 #include <math.h>
53100                       #ifdef HAVE_IEEEFP_H
53101                       #include <ieeefp.h>
53102                       #endif
53103
53104 int
53105 main ()
53106 {
53107  _isinfl(0);
53108   ;
53109   return 0;
53110 }
53111 _ACEOF
53112 rm -f conftest.$ac_objext
53113 if { (ac_try="$ac_compile"
53114 case "(($ac_try" in
53115   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
53116   *) ac_try_echo=$ac_try;;
53117 esac
53118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
53119   (eval "$ac_compile") 2>conftest.er1
53120   ac_status=$?
53121   grep -v '^ *+' conftest.er1 >conftest.err
53122   rm -f conftest.er1
53123   cat conftest.err >&5
53124   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53125   (exit $ac_status); } && {
53126          test -z "$ac_cxx_werror_flag" ||
53127          test ! -s conftest.err
53128        } && test -s conftest.$ac_objext; then
53129   glibcxx_cv_func__isinfl_use=yes
53130 else
53131   echo "$as_me: failed program was:" >&5
53132 sed 's/^/| /' conftest.$ac_ext >&5
53133
53134         glibcxx_cv_func__isinfl_use=no
53135 fi
53136
53137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53138       ac_ext=c
53139 ac_cpp='$CPP $CPPFLAGS'
53140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53143
53144
53145 fi
53146
53147   fi
53148   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
53149 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6; }
53150
53151     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
53152
53153 for ac_func in _isinfl
53154 do
53155 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53156 { echo "$as_me:$LINENO: checking for $ac_func" >&5
53157 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
53158 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
53159   echo $ECHO_N "(cached) $ECHO_C" >&6
53160 else
53161   if test x$gcc_no_link = xyes; then
53162   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53163 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53164    { (exit 1); exit 1; }; }
53165 fi
53166 cat >conftest.$ac_ext <<_ACEOF
53167 /* confdefs.h.  */
53168 _ACEOF
53169 cat confdefs.h >>conftest.$ac_ext
53170 cat >>conftest.$ac_ext <<_ACEOF
53171 /* end confdefs.h.  */
53172 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53173    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
53174 #define $ac_func innocuous_$ac_func
53175
53176 /* System header to define __stub macros and hopefully few prototypes,
53177     which can conflict with char $ac_func (); below.
53178     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53179     <limits.h> exists even on freestanding compilers.  */
53180
53181 #ifdef __STDC__
53182 # include <limits.h>
53183 #else
53184 # include <assert.h>
53185 #endif
53186
53187 #undef $ac_func
53188
53189 /* Override any GCC internal prototype to avoid an error.
53190    Use char because int might match the return type of a GCC
53191    builtin and then its argument prototype would still apply.  */
53192 #ifdef __cplusplus
53193 extern "C"
53194 #endif
53195 char $ac_func ();
53196 /* The GNU C library defines this for functions which it implements
53197     to always fail with ENOSYS.  Some functions are actually named
53198     something starting with __ and the normal name is an alias.  */
53199 #if defined __stub_$ac_func || defined __stub___$ac_func
53200 choke me
53201 #endif
53202
53203 int
53204 main ()
53205 {
53206 return $ac_func ();
53207   ;
53208   return 0;
53209 }
53210 _ACEOF
53211 rm -f conftest.$ac_objext conftest$ac_exeext
53212 if { (ac_try="$ac_link"
53213 case "(($ac_try" in
53214   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
53215   *) ac_try_echo=$ac_try;;
53216 esac
53217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
53218   (eval "$ac_link") 2>conftest.er1
53219   ac_status=$?
53220   grep -v '^ *+' conftest.er1 >conftest.err
53221   rm -f conftest.er1
53222   cat conftest.err >&5
53223   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53224   (exit $ac_status); } && {
53225          test -z "$ac_c_werror_flag" ||
53226          test ! -s conftest.err
53227        } && test -s conftest$ac_exeext &&
53228        $as_test_x conftest$ac_exeext; then
53229   eval "$as_ac_var=yes"
53230 else
53231   echo "$as_me: failed program was:" >&5
53232 sed 's/^/| /' conftest.$ac_ext >&5
53233
53234         eval "$as_ac_var=no"
53235 fi
53236
53237 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
53238       conftest$ac_exeext conftest.$ac_ext
53239 fi
53240 ac_res=`eval echo '${'$as_ac_var'}'`
53241                { echo "$as_me:$LINENO: result: $ac_res" >&5
53242 echo "${ECHO_T}$ac_res" >&6; }
53243 if test `eval echo '${'$as_ac_var'}'` = yes; then
53244   cat >>confdefs.h <<_ACEOF
53245 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53246 _ACEOF
53247
53248 fi
53249 done
53250
53251     fi
53252   fi
53253
53254
53255
53256
53257
53258
53259   { echo "$as_me:$LINENO: checking for copysignl declaration" >&5
53260 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6; }
53261   if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
53262     if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
53263   echo $ECHO_N "(cached) $ECHO_C" >&6
53264 else
53265
53266
53267       ac_ext=cpp
53268 ac_cpp='$CXXCPP $CPPFLAGS'
53269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53272
53273       cat >conftest.$ac_ext <<_ACEOF
53274 /* confdefs.h.  */
53275 _ACEOF
53276 cat confdefs.h >>conftest.$ac_ext
53277 cat >>conftest.$ac_ext <<_ACEOF
53278 /* end confdefs.h.  */
53279 #include <math.h>
53280 int
53281 main ()
53282 {
53283  copysignl(0, 0);
53284   ;
53285   return 0;
53286 }
53287 _ACEOF
53288 rm -f conftest.$ac_objext
53289 if { (ac_try="$ac_compile"
53290 case "(($ac_try" in
53291   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
53292   *) ac_try_echo=$ac_try;;
53293 esac
53294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
53295   (eval "$ac_compile") 2>conftest.er1
53296   ac_status=$?
53297   grep -v '^ *+' conftest.er1 >conftest.err
53298   rm -f conftest.er1
53299   cat conftest.err >&5
53300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53301   (exit $ac_status); } && {
53302          test -z "$ac_cxx_werror_flag" ||
53303          test ! -s conftest.err
53304        } && test -s conftest.$ac_objext; then
53305   glibcxx_cv_func_copysignl_use=yes
53306 else
53307   echo "$as_me: failed program was:" >&5
53308 sed 's/^/| /' conftest.$ac_ext >&5
53309
53310         glibcxx_cv_func_copysignl_use=no
53311 fi
53312
53313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53314       ac_ext=c
53315 ac_cpp='$CPP $CPPFLAGS'
53316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53319
53320
53321 fi
53322
53323   fi
53324   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
53325 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6; }
53326
53327   if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
53328
53329 for ac_func in copysignl
53330 do
53331 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53332 { echo "$as_me:$LINENO: checking for $ac_func" >&5
53333 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
53334 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
53335   echo $ECHO_N "(cached) $ECHO_C" >&6
53336 else
53337   if test x$gcc_no_link = xyes; then
53338   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53339 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53340    { (exit 1); exit 1; }; }
53341 fi
53342 cat >conftest.$ac_ext <<_ACEOF
53343 /* confdefs.h.  */
53344 _ACEOF
53345 cat confdefs.h >>conftest.$ac_ext
53346 cat >>conftest.$ac_ext <<_ACEOF
53347 /* end confdefs.h.  */
53348 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53349    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
53350 #define $ac_func innocuous_$ac_func
53351
53352 /* System header to define __stub macros and hopefully few prototypes,
53353     which can conflict with char $ac_func (); below.
53354     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53355     <limits.h> exists even on freestanding compilers.  */
53356
53357 #ifdef __STDC__
53358 # include <limits.h>
53359 #else
53360 # include <assert.h>
53361 #endif
53362
53363 #undef $ac_func
53364
53365 /* Override any GCC internal prototype to avoid an error.
53366    Use char because int might match the return type of a GCC
53367    builtin and then its argument prototype would still apply.  */
53368 #ifdef __cplusplus
53369 extern "C"
53370 #endif
53371 char $ac_func ();
53372 /* The GNU C library defines this for functions which it implements
53373     to always fail with ENOSYS.  Some functions are actually named
53374     something starting with __ and the normal name is an alias.  */
53375 #if defined __stub_$ac_func || defined __stub___$ac_func
53376 choke me
53377 #endif
53378
53379 int
53380 main ()
53381 {
53382 return $ac_func ();
53383   ;
53384   return 0;
53385 }
53386 _ACEOF
53387 rm -f conftest.$ac_objext conftest$ac_exeext
53388 if { (ac_try="$ac_link"
53389 case "(($ac_try" in
53390   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
53391   *) ac_try_echo=$ac_try;;
53392 esac
53393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
53394   (eval "$ac_link") 2>conftest.er1
53395   ac_status=$?
53396   grep -v '^ *+' conftest.er1 >conftest.err
53397   rm -f conftest.er1
53398   cat conftest.err >&5
53399   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53400   (exit $ac_status); } && {
53401          test -z "$ac_c_werror_flag" ||
53402          test ! -s conftest.err
53403        } && test -s conftest$ac_exeext &&
53404        $as_test_x conftest$ac_exeext; then
53405   eval "$as_ac_var=yes"
53406 else
53407   echo "$as_me: failed program was:" >&5
53408 sed 's/^/| /' conftest.$ac_ext >&5
53409
53410         eval "$as_ac_var=no"
53411 fi
53412
53413 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
53414       conftest$ac_exeext conftest.$ac_ext
53415 fi
53416 ac_res=`eval echo '${'$as_ac_var'}'`
53417                { echo "$as_me:$LINENO: result: $ac_res" >&5
53418 echo "${ECHO_T}$ac_res" >&6; }
53419 if test `eval echo '${'$as_ac_var'}'` = yes; then
53420   cat >>confdefs.h <<_ACEOF
53421 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53422 _ACEOF
53423
53424 fi
53425 done
53426
53427   else
53428
53429   { echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
53430 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6; }
53431   if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
53432     if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
53433   echo $ECHO_N "(cached) $ECHO_C" >&6
53434 else
53435
53436
53437       ac_ext=cpp
53438 ac_cpp='$CXXCPP $CPPFLAGS'
53439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53442
53443       cat >conftest.$ac_ext <<_ACEOF
53444 /* confdefs.h.  */
53445 _ACEOF
53446 cat confdefs.h >>conftest.$ac_ext
53447 cat >>conftest.$ac_ext <<_ACEOF
53448 /* end confdefs.h.  */
53449 #include <math.h>
53450 int
53451 main ()
53452 {
53453  _copysignl(0, 0);
53454   ;
53455   return 0;
53456 }
53457 _ACEOF
53458 rm -f conftest.$ac_objext
53459 if { (ac_try="$ac_compile"
53460 case "(($ac_try" in
53461   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
53462   *) ac_try_echo=$ac_try;;
53463 esac
53464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
53465   (eval "$ac_compile") 2>conftest.er1
53466   ac_status=$?
53467   grep -v '^ *+' conftest.er1 >conftest.err
53468   rm -f conftest.er1
53469   cat conftest.err >&5
53470   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53471   (exit $ac_status); } && {
53472          test -z "$ac_cxx_werror_flag" ||
53473          test ! -s conftest.err
53474        } && test -s conftest.$ac_objext; then
53475   glibcxx_cv_func__copysignl_use=yes
53476 else
53477   echo "$as_me: failed program was:" >&5
53478 sed 's/^/| /' conftest.$ac_ext >&5
53479
53480         glibcxx_cv_func__copysignl_use=no
53481 fi
53482
53483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53484       ac_ext=c
53485 ac_cpp='$CPP $CPPFLAGS'
53486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53489
53490
53491 fi
53492
53493   fi
53494   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
53495 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6; }
53496
53497     if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
53498
53499 for ac_func in _copysignl
53500 do
53501 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53502 { echo "$as_me:$LINENO: checking for $ac_func" >&5
53503 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
53504 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
53505   echo $ECHO_N "(cached) $ECHO_C" >&6
53506 else
53507   if test x$gcc_no_link = xyes; then
53508   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53509 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53510    { (exit 1); exit 1; }; }
53511 fi
53512 cat >conftest.$ac_ext <<_ACEOF
53513 /* confdefs.h.  */
53514 _ACEOF
53515 cat confdefs.h >>conftest.$ac_ext
53516 cat >>conftest.$ac_ext <<_ACEOF
53517 /* end confdefs.h.  */
53518 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53519    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
53520 #define $ac_func innocuous_$ac_func
53521
53522 /* System header to define __stub macros and hopefully few prototypes,
53523     which can conflict with char $ac_func (); below.
53524     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53525     <limits.h> exists even on freestanding compilers.  */
53526
53527 #ifdef __STDC__
53528 # include <limits.h>
53529 #else
53530 # include <assert.h>
53531 #endif
53532
53533 #undef $ac_func
53534
53535 /* Override any GCC internal prototype to avoid an error.
53536    Use char because int might match the return type of a GCC
53537    builtin and then its argument prototype would still apply.  */
53538 #ifdef __cplusplus
53539 extern "C"
53540 #endif
53541 char $ac_func ();
53542 /* The GNU C library defines this for functions which it implements
53543     to always fail with ENOSYS.  Some functions are actually named
53544     something starting with __ and the normal name is an alias.  */
53545 #if defined __stub_$ac_func || defined __stub___$ac_func
53546 choke me
53547 #endif
53548
53549 int
53550 main ()
53551 {
53552 return $ac_func ();
53553   ;
53554   return 0;
53555 }
53556 _ACEOF
53557 rm -f conftest.$ac_objext conftest$ac_exeext
53558 if { (ac_try="$ac_link"
53559 case "(($ac_try" in
53560   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
53561   *) ac_try_echo=$ac_try;;
53562 esac
53563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
53564   (eval "$ac_link") 2>conftest.er1
53565   ac_status=$?
53566   grep -v '^ *+' conftest.er1 >conftest.err
53567   rm -f conftest.er1
53568   cat conftest.err >&5
53569   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53570   (exit $ac_status); } && {
53571          test -z "$ac_c_werror_flag" ||
53572          test ! -s conftest.err
53573        } && test -s conftest$ac_exeext &&
53574        $as_test_x conftest$ac_exeext; then
53575   eval "$as_ac_var=yes"
53576 else
53577   echo "$as_me: failed program was:" >&5
53578 sed 's/^/| /' conftest.$ac_ext >&5
53579
53580         eval "$as_ac_var=no"
53581 fi
53582
53583 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
53584       conftest$ac_exeext conftest.$ac_ext
53585 fi
53586 ac_res=`eval echo '${'$as_ac_var'}'`
53587                { echo "$as_me:$LINENO: result: $ac_res" >&5
53588 echo "${ECHO_T}$ac_res" >&6; }
53589 if test `eval echo '${'$as_ac_var'}'` = yes; then
53590   cat >>confdefs.h <<_ACEOF
53591 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53592 _ACEOF
53593
53594 fi
53595 done
53596
53597     fi
53598   fi
53599
53600
53601
53602
53603
53604
53605   { echo "$as_me:$LINENO: checking for atan2l declaration" >&5
53606 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6; }
53607   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
53608     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
53609   echo $ECHO_N "(cached) $ECHO_C" >&6
53610 else
53611
53612
53613       ac_ext=cpp
53614 ac_cpp='$CXXCPP $CPPFLAGS'
53615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53618
53619       cat >conftest.$ac_ext <<_ACEOF
53620 /* confdefs.h.  */
53621 _ACEOF
53622 cat confdefs.h >>conftest.$ac_ext
53623 cat >>conftest.$ac_ext <<_ACEOF
53624 /* end confdefs.h.  */
53625 #include <math.h>
53626 int
53627 main ()
53628 {
53629  atan2l(0, 0);
53630   ;
53631   return 0;
53632 }
53633 _ACEOF
53634 rm -f conftest.$ac_objext
53635 if { (ac_try="$ac_compile"
53636 case "(($ac_try" in
53637   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
53638   *) ac_try_echo=$ac_try;;
53639 esac
53640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
53641   (eval "$ac_compile") 2>conftest.er1
53642   ac_status=$?
53643   grep -v '^ *+' conftest.er1 >conftest.err
53644   rm -f conftest.er1
53645   cat conftest.err >&5
53646   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53647   (exit $ac_status); } && {
53648          test -z "$ac_cxx_werror_flag" ||
53649          test ! -s conftest.err
53650        } && test -s conftest.$ac_objext; then
53651   glibcxx_cv_func_atan2l_use=yes
53652 else
53653   echo "$as_me: failed program was:" >&5
53654 sed 's/^/| /' conftest.$ac_ext >&5
53655
53656         glibcxx_cv_func_atan2l_use=no
53657 fi
53658
53659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53660       ac_ext=c
53661 ac_cpp='$CPP $CPPFLAGS'
53662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53665
53666
53667 fi
53668
53669   fi
53670   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
53671 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6; }
53672
53673   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
53674
53675 for ac_func in atan2l
53676 do
53677 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53678 { echo "$as_me:$LINENO: checking for $ac_func" >&5
53679 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
53680 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
53681   echo $ECHO_N "(cached) $ECHO_C" >&6
53682 else
53683   if test x$gcc_no_link = xyes; then
53684   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53685 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53686    { (exit 1); exit 1; }; }
53687 fi
53688 cat >conftest.$ac_ext <<_ACEOF
53689 /* confdefs.h.  */
53690 _ACEOF
53691 cat confdefs.h >>conftest.$ac_ext
53692 cat >>conftest.$ac_ext <<_ACEOF
53693 /* end confdefs.h.  */
53694 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53695    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
53696 #define $ac_func innocuous_$ac_func
53697
53698 /* System header to define __stub macros and hopefully few prototypes,
53699     which can conflict with char $ac_func (); below.
53700     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53701     <limits.h> exists even on freestanding compilers.  */
53702
53703 #ifdef __STDC__
53704 # include <limits.h>
53705 #else
53706 # include <assert.h>
53707 #endif
53708
53709 #undef $ac_func
53710
53711 /* Override any GCC internal prototype to avoid an error.
53712    Use char because int might match the return type of a GCC
53713    builtin and then its argument prototype would still apply.  */
53714 #ifdef __cplusplus
53715 extern "C"
53716 #endif
53717 char $ac_func ();
53718 /* The GNU C library defines this for functions which it implements
53719     to always fail with ENOSYS.  Some functions are actually named
53720     something starting with __ and the normal name is an alias.  */
53721 #if defined __stub_$ac_func || defined __stub___$ac_func
53722 choke me
53723 #endif
53724
53725 int
53726 main ()
53727 {
53728 return $ac_func ();
53729   ;
53730   return 0;
53731 }
53732 _ACEOF
53733 rm -f conftest.$ac_objext conftest$ac_exeext
53734 if { (ac_try="$ac_link"
53735 case "(($ac_try" in
53736   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
53737   *) ac_try_echo=$ac_try;;
53738 esac
53739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
53740   (eval "$ac_link") 2>conftest.er1
53741   ac_status=$?
53742   grep -v '^ *+' conftest.er1 >conftest.err
53743   rm -f conftest.er1
53744   cat conftest.err >&5
53745   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53746   (exit $ac_status); } && {
53747          test -z "$ac_c_werror_flag" ||
53748          test ! -s conftest.err
53749        } && test -s conftest$ac_exeext &&
53750        $as_test_x conftest$ac_exeext; then
53751   eval "$as_ac_var=yes"
53752 else
53753   echo "$as_me: failed program was:" >&5
53754 sed 's/^/| /' conftest.$ac_ext >&5
53755
53756         eval "$as_ac_var=no"
53757 fi
53758
53759 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
53760       conftest$ac_exeext conftest.$ac_ext
53761 fi
53762 ac_res=`eval echo '${'$as_ac_var'}'`
53763                { echo "$as_me:$LINENO: result: $ac_res" >&5
53764 echo "${ECHO_T}$ac_res" >&6; }
53765 if test `eval echo '${'$as_ac_var'}'` = yes; then
53766   cat >>confdefs.h <<_ACEOF
53767 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53768 _ACEOF
53769
53770 fi
53771 done
53772
53773   else
53774
53775   { echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
53776 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6; }
53777   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
53778     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
53779   echo $ECHO_N "(cached) $ECHO_C" >&6
53780 else
53781
53782
53783       ac_ext=cpp
53784 ac_cpp='$CXXCPP $CPPFLAGS'
53785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53788
53789       cat >conftest.$ac_ext <<_ACEOF
53790 /* confdefs.h.  */
53791 _ACEOF
53792 cat confdefs.h >>conftest.$ac_ext
53793 cat >>conftest.$ac_ext <<_ACEOF
53794 /* end confdefs.h.  */
53795 #include <math.h>
53796 int
53797 main ()
53798 {
53799  _atan2l(0, 0);
53800   ;
53801   return 0;
53802 }
53803 _ACEOF
53804 rm -f conftest.$ac_objext
53805 if { (ac_try="$ac_compile"
53806 case "(($ac_try" in
53807   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
53808   *) ac_try_echo=$ac_try;;
53809 esac
53810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
53811   (eval "$ac_compile") 2>conftest.er1
53812   ac_status=$?
53813   grep -v '^ *+' conftest.er1 >conftest.err
53814   rm -f conftest.er1
53815   cat conftest.err >&5
53816   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53817   (exit $ac_status); } && {
53818          test -z "$ac_cxx_werror_flag" ||
53819          test ! -s conftest.err
53820        } && test -s conftest.$ac_objext; then
53821   glibcxx_cv_func__atan2l_use=yes
53822 else
53823   echo "$as_me: failed program was:" >&5
53824 sed 's/^/| /' conftest.$ac_ext >&5
53825
53826         glibcxx_cv_func__atan2l_use=no
53827 fi
53828
53829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53830       ac_ext=c
53831 ac_cpp='$CPP $CPPFLAGS'
53832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53835
53836
53837 fi
53838
53839   fi
53840   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
53841 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6; }
53842
53843     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
53844
53845 for ac_func in _atan2l
53846 do
53847 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53848 { echo "$as_me:$LINENO: checking for $ac_func" >&5
53849 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
53850 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
53851   echo $ECHO_N "(cached) $ECHO_C" >&6
53852 else
53853   if test x$gcc_no_link = xyes; then
53854   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53855 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53856    { (exit 1); exit 1; }; }
53857 fi
53858 cat >conftest.$ac_ext <<_ACEOF
53859 /* confdefs.h.  */
53860 _ACEOF
53861 cat confdefs.h >>conftest.$ac_ext
53862 cat >>conftest.$ac_ext <<_ACEOF
53863 /* end confdefs.h.  */
53864 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53865    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
53866 #define $ac_func innocuous_$ac_func
53867
53868 /* System header to define __stub macros and hopefully few prototypes,
53869     which can conflict with char $ac_func (); below.
53870     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53871     <limits.h> exists even on freestanding compilers.  */
53872
53873 #ifdef __STDC__
53874 # include <limits.h>
53875 #else
53876 # include <assert.h>
53877 #endif
53878
53879 #undef $ac_func
53880
53881 /* Override any GCC internal prototype to avoid an error.
53882    Use char because int might match the return type of a GCC
53883    builtin and then its argument prototype would still apply.  */
53884 #ifdef __cplusplus
53885 extern "C"
53886 #endif
53887 char $ac_func ();
53888 /* The GNU C library defines this for functions which it implements
53889     to always fail with ENOSYS.  Some functions are actually named
53890     something starting with __ and the normal name is an alias.  */
53891 #if defined __stub_$ac_func || defined __stub___$ac_func
53892 choke me
53893 #endif
53894
53895 int
53896 main ()
53897 {
53898 return $ac_func ();
53899   ;
53900   return 0;
53901 }
53902 _ACEOF
53903 rm -f conftest.$ac_objext conftest$ac_exeext
53904 if { (ac_try="$ac_link"
53905 case "(($ac_try" in
53906   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
53907   *) ac_try_echo=$ac_try;;
53908 esac
53909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
53910   (eval "$ac_link") 2>conftest.er1
53911   ac_status=$?
53912   grep -v '^ *+' conftest.er1 >conftest.err
53913   rm -f conftest.er1
53914   cat conftest.err >&5
53915   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53916   (exit $ac_status); } && {
53917          test -z "$ac_c_werror_flag" ||
53918          test ! -s conftest.err
53919        } && test -s conftest$ac_exeext &&
53920        $as_test_x conftest$ac_exeext; then
53921   eval "$as_ac_var=yes"
53922 else
53923   echo "$as_me: failed program was:" >&5
53924 sed 's/^/| /' conftest.$ac_ext >&5
53925
53926         eval "$as_ac_var=no"
53927 fi
53928
53929 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
53930       conftest$ac_exeext conftest.$ac_ext
53931 fi
53932 ac_res=`eval echo '${'$as_ac_var'}'`
53933                { echo "$as_me:$LINENO: result: $ac_res" >&5
53934 echo "${ECHO_T}$ac_res" >&6; }
53935 if test `eval echo '${'$as_ac_var'}'` = yes; then
53936   cat >>confdefs.h <<_ACEOF
53937 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53938 _ACEOF
53939
53940 fi
53941 done
53942
53943     fi
53944   fi
53945
53946
53947
53948
53949
53950
53951   { echo "$as_me:$LINENO: checking for expl declaration" >&5
53952 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6; }
53953   if test x${glibcxx_cv_func_expl_use+set} != xset; then
53954     if test "${glibcxx_cv_func_expl_use+set}" = set; then
53955   echo $ECHO_N "(cached) $ECHO_C" >&6
53956 else
53957
53958
53959       ac_ext=cpp
53960 ac_cpp='$CXXCPP $CPPFLAGS'
53961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53964
53965       cat >conftest.$ac_ext <<_ACEOF
53966 /* confdefs.h.  */
53967 _ACEOF
53968 cat confdefs.h >>conftest.$ac_ext
53969 cat >>conftest.$ac_ext <<_ACEOF
53970 /* end confdefs.h.  */
53971 #include <math.h>
53972                       #ifdef HAVE_IEEEFP_H
53973                       #include <ieeefp.h>
53974                       #endif
53975
53976 int
53977 main ()
53978 {
53979  expl(0);
53980   ;
53981   return 0;
53982 }
53983 _ACEOF
53984 rm -f conftest.$ac_objext
53985 if { (ac_try="$ac_compile"
53986 case "(($ac_try" in
53987   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
53988   *) ac_try_echo=$ac_try;;
53989 esac
53990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
53991   (eval "$ac_compile") 2>conftest.er1
53992   ac_status=$?
53993   grep -v '^ *+' conftest.er1 >conftest.err
53994   rm -f conftest.er1
53995   cat conftest.err >&5
53996   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53997   (exit $ac_status); } && {
53998          test -z "$ac_cxx_werror_flag" ||
53999          test ! -s conftest.err
54000        } && test -s conftest.$ac_objext; then
54001   glibcxx_cv_func_expl_use=yes
54002 else
54003   echo "$as_me: failed program was:" >&5
54004 sed 's/^/| /' conftest.$ac_ext >&5
54005
54006         glibcxx_cv_func_expl_use=no
54007 fi
54008
54009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54010       ac_ext=c
54011 ac_cpp='$CPP $CPPFLAGS'
54012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54015
54016
54017 fi
54018
54019   fi
54020   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
54021 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6; }
54022
54023   if test x$glibcxx_cv_func_expl_use = x"yes"; then
54024
54025 for ac_func in expl
54026 do
54027 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54028 { echo "$as_me:$LINENO: checking for $ac_func" >&5
54029 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
54030 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
54031   echo $ECHO_N "(cached) $ECHO_C" >&6
54032 else
54033   if test x$gcc_no_link = xyes; then
54034   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54035 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54036    { (exit 1); exit 1; }; }
54037 fi
54038 cat >conftest.$ac_ext <<_ACEOF
54039 /* confdefs.h.  */
54040 _ACEOF
54041 cat confdefs.h >>conftest.$ac_ext
54042 cat >>conftest.$ac_ext <<_ACEOF
54043 /* end confdefs.h.  */
54044 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54045    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54046 #define $ac_func innocuous_$ac_func
54047
54048 /* System header to define __stub macros and hopefully few prototypes,
54049     which can conflict with char $ac_func (); below.
54050     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54051     <limits.h> exists even on freestanding compilers.  */
54052
54053 #ifdef __STDC__
54054 # include <limits.h>
54055 #else
54056 # include <assert.h>
54057 #endif
54058
54059 #undef $ac_func
54060
54061 /* Override any GCC internal prototype to avoid an error.
54062    Use char because int might match the return type of a GCC
54063    builtin and then its argument prototype would still apply.  */
54064 #ifdef __cplusplus
54065 extern "C"
54066 #endif
54067 char $ac_func ();
54068 /* The GNU C library defines this for functions which it implements
54069     to always fail with ENOSYS.  Some functions are actually named
54070     something starting with __ and the normal name is an alias.  */
54071 #if defined __stub_$ac_func || defined __stub___$ac_func
54072 choke me
54073 #endif
54074
54075 int
54076 main ()
54077 {
54078 return $ac_func ();
54079   ;
54080   return 0;
54081 }
54082 _ACEOF
54083 rm -f conftest.$ac_objext conftest$ac_exeext
54084 if { (ac_try="$ac_link"
54085 case "(($ac_try" in
54086   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
54087   *) ac_try_echo=$ac_try;;
54088 esac
54089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
54090   (eval "$ac_link") 2>conftest.er1
54091   ac_status=$?
54092   grep -v '^ *+' conftest.er1 >conftest.err
54093   rm -f conftest.er1
54094   cat conftest.err >&5
54095   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54096   (exit $ac_status); } && {
54097          test -z "$ac_c_werror_flag" ||
54098          test ! -s conftest.err
54099        } && test -s conftest$ac_exeext &&
54100        $as_test_x conftest$ac_exeext; then
54101   eval "$as_ac_var=yes"
54102 else
54103   echo "$as_me: failed program was:" >&5
54104 sed 's/^/| /' conftest.$ac_ext >&5
54105
54106         eval "$as_ac_var=no"
54107 fi
54108
54109 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
54110       conftest$ac_exeext conftest.$ac_ext
54111 fi
54112 ac_res=`eval echo '${'$as_ac_var'}'`
54113                { echo "$as_me:$LINENO: result: $ac_res" >&5
54114 echo "${ECHO_T}$ac_res" >&6; }
54115 if test `eval echo '${'$as_ac_var'}'` = yes; then
54116   cat >>confdefs.h <<_ACEOF
54117 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54118 _ACEOF
54119
54120 fi
54121 done
54122
54123   else
54124
54125   { echo "$as_me:$LINENO: checking for _expl declaration" >&5
54126 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6; }
54127   if test x${glibcxx_cv_func__expl_use+set} != xset; then
54128     if test "${glibcxx_cv_func__expl_use+set}" = set; then
54129   echo $ECHO_N "(cached) $ECHO_C" >&6
54130 else
54131
54132
54133       ac_ext=cpp
54134 ac_cpp='$CXXCPP $CPPFLAGS'
54135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54138
54139       cat >conftest.$ac_ext <<_ACEOF
54140 /* confdefs.h.  */
54141 _ACEOF
54142 cat confdefs.h >>conftest.$ac_ext
54143 cat >>conftest.$ac_ext <<_ACEOF
54144 /* end confdefs.h.  */
54145 #include <math.h>
54146                       #ifdef HAVE_IEEEFP_H
54147                       #include <ieeefp.h>
54148                       #endif
54149
54150 int
54151 main ()
54152 {
54153  _expl(0);
54154   ;
54155   return 0;
54156 }
54157 _ACEOF
54158 rm -f conftest.$ac_objext
54159 if { (ac_try="$ac_compile"
54160 case "(($ac_try" in
54161   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
54162   *) ac_try_echo=$ac_try;;
54163 esac
54164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
54165   (eval "$ac_compile") 2>conftest.er1
54166   ac_status=$?
54167   grep -v '^ *+' conftest.er1 >conftest.err
54168   rm -f conftest.er1
54169   cat conftest.err >&5
54170   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54171   (exit $ac_status); } && {
54172          test -z "$ac_cxx_werror_flag" ||
54173          test ! -s conftest.err
54174        } && test -s conftest.$ac_objext; then
54175   glibcxx_cv_func__expl_use=yes
54176 else
54177   echo "$as_me: failed program was:" >&5
54178 sed 's/^/| /' conftest.$ac_ext >&5
54179
54180         glibcxx_cv_func__expl_use=no
54181 fi
54182
54183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54184       ac_ext=c
54185 ac_cpp='$CPP $CPPFLAGS'
54186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54189
54190
54191 fi
54192
54193   fi
54194   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
54195 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6; }
54196
54197     if test x$glibcxx_cv_func__expl_use = x"yes"; then
54198
54199 for ac_func in _expl
54200 do
54201 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54202 { echo "$as_me:$LINENO: checking for $ac_func" >&5
54203 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
54204 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
54205   echo $ECHO_N "(cached) $ECHO_C" >&6
54206 else
54207   if test x$gcc_no_link = xyes; then
54208   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54209 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54210    { (exit 1); exit 1; }; }
54211 fi
54212 cat >conftest.$ac_ext <<_ACEOF
54213 /* confdefs.h.  */
54214 _ACEOF
54215 cat confdefs.h >>conftest.$ac_ext
54216 cat >>conftest.$ac_ext <<_ACEOF
54217 /* end confdefs.h.  */
54218 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54219    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54220 #define $ac_func innocuous_$ac_func
54221
54222 /* System header to define __stub macros and hopefully few prototypes,
54223     which can conflict with char $ac_func (); below.
54224     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54225     <limits.h> exists even on freestanding compilers.  */
54226
54227 #ifdef __STDC__
54228 # include <limits.h>
54229 #else
54230 # include <assert.h>
54231 #endif
54232
54233 #undef $ac_func
54234
54235 /* Override any GCC internal prototype to avoid an error.
54236    Use char because int might match the return type of a GCC
54237    builtin and then its argument prototype would still apply.  */
54238 #ifdef __cplusplus
54239 extern "C"
54240 #endif
54241 char $ac_func ();
54242 /* The GNU C library defines this for functions which it implements
54243     to always fail with ENOSYS.  Some functions are actually named
54244     something starting with __ and the normal name is an alias.  */
54245 #if defined __stub_$ac_func || defined __stub___$ac_func
54246 choke me
54247 #endif
54248
54249 int
54250 main ()
54251 {
54252 return $ac_func ();
54253   ;
54254   return 0;
54255 }
54256 _ACEOF
54257 rm -f conftest.$ac_objext conftest$ac_exeext
54258 if { (ac_try="$ac_link"
54259 case "(($ac_try" in
54260   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
54261   *) ac_try_echo=$ac_try;;
54262 esac
54263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
54264   (eval "$ac_link") 2>conftest.er1
54265   ac_status=$?
54266   grep -v '^ *+' conftest.er1 >conftest.err
54267   rm -f conftest.er1
54268   cat conftest.err >&5
54269   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54270   (exit $ac_status); } && {
54271          test -z "$ac_c_werror_flag" ||
54272          test ! -s conftest.err
54273        } && test -s conftest$ac_exeext &&
54274        $as_test_x conftest$ac_exeext; then
54275   eval "$as_ac_var=yes"
54276 else
54277   echo "$as_me: failed program was:" >&5
54278 sed 's/^/| /' conftest.$ac_ext >&5
54279
54280         eval "$as_ac_var=no"
54281 fi
54282
54283 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
54284       conftest$ac_exeext conftest.$ac_ext
54285 fi
54286 ac_res=`eval echo '${'$as_ac_var'}'`
54287                { echo "$as_me:$LINENO: result: $ac_res" >&5
54288 echo "${ECHO_T}$ac_res" >&6; }
54289 if test `eval echo '${'$as_ac_var'}'` = yes; then
54290   cat >>confdefs.h <<_ACEOF
54291 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54292 _ACEOF
54293
54294 fi
54295 done
54296
54297     fi
54298   fi
54299
54300
54301
54302
54303
54304
54305   { echo "$as_me:$LINENO: checking for fabsl declaration" >&5
54306 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6; }
54307   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
54308     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
54309   echo $ECHO_N "(cached) $ECHO_C" >&6
54310 else
54311
54312
54313       ac_ext=cpp
54314 ac_cpp='$CXXCPP $CPPFLAGS'
54315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54318
54319       cat >conftest.$ac_ext <<_ACEOF
54320 /* confdefs.h.  */
54321 _ACEOF
54322 cat confdefs.h >>conftest.$ac_ext
54323 cat >>conftest.$ac_ext <<_ACEOF
54324 /* end confdefs.h.  */
54325 #include <math.h>
54326                       #ifdef HAVE_IEEEFP_H
54327                       #include <ieeefp.h>
54328                       #endif
54329
54330 int
54331 main ()
54332 {
54333  fabsl(0);
54334   ;
54335   return 0;
54336 }
54337 _ACEOF
54338 rm -f conftest.$ac_objext
54339 if { (ac_try="$ac_compile"
54340 case "(($ac_try" in
54341   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
54342   *) ac_try_echo=$ac_try;;
54343 esac
54344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
54345   (eval "$ac_compile") 2>conftest.er1
54346   ac_status=$?
54347   grep -v '^ *+' conftest.er1 >conftest.err
54348   rm -f conftest.er1
54349   cat conftest.err >&5
54350   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54351   (exit $ac_status); } && {
54352          test -z "$ac_cxx_werror_flag" ||
54353          test ! -s conftest.err
54354        } && test -s conftest.$ac_objext; then
54355   glibcxx_cv_func_fabsl_use=yes
54356 else
54357   echo "$as_me: failed program was:" >&5
54358 sed 's/^/| /' conftest.$ac_ext >&5
54359
54360         glibcxx_cv_func_fabsl_use=no
54361 fi
54362
54363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54364       ac_ext=c
54365 ac_cpp='$CPP $CPPFLAGS'
54366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54369
54370
54371 fi
54372
54373   fi
54374   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
54375 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6; }
54376
54377   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
54378
54379 for ac_func in fabsl
54380 do
54381 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54382 { echo "$as_me:$LINENO: checking for $ac_func" >&5
54383 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
54384 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
54385   echo $ECHO_N "(cached) $ECHO_C" >&6
54386 else
54387   if test x$gcc_no_link = xyes; then
54388   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54389 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54390    { (exit 1); exit 1; }; }
54391 fi
54392 cat >conftest.$ac_ext <<_ACEOF
54393 /* confdefs.h.  */
54394 _ACEOF
54395 cat confdefs.h >>conftest.$ac_ext
54396 cat >>conftest.$ac_ext <<_ACEOF
54397 /* end confdefs.h.  */
54398 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54399    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54400 #define $ac_func innocuous_$ac_func
54401
54402 /* System header to define __stub macros and hopefully few prototypes,
54403     which can conflict with char $ac_func (); below.
54404     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54405     <limits.h> exists even on freestanding compilers.  */
54406
54407 #ifdef __STDC__
54408 # include <limits.h>
54409 #else
54410 # include <assert.h>
54411 #endif
54412
54413 #undef $ac_func
54414
54415 /* Override any GCC internal prototype to avoid an error.
54416    Use char because int might match the return type of a GCC
54417    builtin and then its argument prototype would still apply.  */
54418 #ifdef __cplusplus
54419 extern "C"
54420 #endif
54421 char $ac_func ();
54422 /* The GNU C library defines this for functions which it implements
54423     to always fail with ENOSYS.  Some functions are actually named
54424     something starting with __ and the normal name is an alias.  */
54425 #if defined __stub_$ac_func || defined __stub___$ac_func
54426 choke me
54427 #endif
54428
54429 int
54430 main ()
54431 {
54432 return $ac_func ();
54433   ;
54434   return 0;
54435 }
54436 _ACEOF
54437 rm -f conftest.$ac_objext conftest$ac_exeext
54438 if { (ac_try="$ac_link"
54439 case "(($ac_try" in
54440   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
54441   *) ac_try_echo=$ac_try;;
54442 esac
54443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
54444   (eval "$ac_link") 2>conftest.er1
54445   ac_status=$?
54446   grep -v '^ *+' conftest.er1 >conftest.err
54447   rm -f conftest.er1
54448   cat conftest.err >&5
54449   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54450   (exit $ac_status); } && {
54451          test -z "$ac_c_werror_flag" ||
54452          test ! -s conftest.err
54453        } && test -s conftest$ac_exeext &&
54454        $as_test_x conftest$ac_exeext; then
54455   eval "$as_ac_var=yes"
54456 else
54457   echo "$as_me: failed program was:" >&5
54458 sed 's/^/| /' conftest.$ac_ext >&5
54459
54460         eval "$as_ac_var=no"
54461 fi
54462
54463 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
54464       conftest$ac_exeext conftest.$ac_ext
54465 fi
54466 ac_res=`eval echo '${'$as_ac_var'}'`
54467                { echo "$as_me:$LINENO: result: $ac_res" >&5
54468 echo "${ECHO_T}$ac_res" >&6; }
54469 if test `eval echo '${'$as_ac_var'}'` = yes; then
54470   cat >>confdefs.h <<_ACEOF
54471 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54472 _ACEOF
54473
54474 fi
54475 done
54476
54477   else
54478
54479   { echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
54480 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6; }
54481   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
54482     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
54483   echo $ECHO_N "(cached) $ECHO_C" >&6
54484 else
54485
54486
54487       ac_ext=cpp
54488 ac_cpp='$CXXCPP $CPPFLAGS'
54489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54492
54493       cat >conftest.$ac_ext <<_ACEOF
54494 /* confdefs.h.  */
54495 _ACEOF
54496 cat confdefs.h >>conftest.$ac_ext
54497 cat >>conftest.$ac_ext <<_ACEOF
54498 /* end confdefs.h.  */
54499 #include <math.h>
54500                       #ifdef HAVE_IEEEFP_H
54501                       #include <ieeefp.h>
54502                       #endif
54503
54504 int
54505 main ()
54506 {
54507  _fabsl(0);
54508   ;
54509   return 0;
54510 }
54511 _ACEOF
54512 rm -f conftest.$ac_objext
54513 if { (ac_try="$ac_compile"
54514 case "(($ac_try" in
54515   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
54516   *) ac_try_echo=$ac_try;;
54517 esac
54518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
54519   (eval "$ac_compile") 2>conftest.er1
54520   ac_status=$?
54521   grep -v '^ *+' conftest.er1 >conftest.err
54522   rm -f conftest.er1
54523   cat conftest.err >&5
54524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54525   (exit $ac_status); } && {
54526          test -z "$ac_cxx_werror_flag" ||
54527          test ! -s conftest.err
54528        } && test -s conftest.$ac_objext; then
54529   glibcxx_cv_func__fabsl_use=yes
54530 else
54531   echo "$as_me: failed program was:" >&5
54532 sed 's/^/| /' conftest.$ac_ext >&5
54533
54534         glibcxx_cv_func__fabsl_use=no
54535 fi
54536
54537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54538       ac_ext=c
54539 ac_cpp='$CPP $CPPFLAGS'
54540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54543
54544
54545 fi
54546
54547   fi
54548   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
54549 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6; }
54550
54551     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
54552
54553 for ac_func in _fabsl
54554 do
54555 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54556 { echo "$as_me:$LINENO: checking for $ac_func" >&5
54557 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
54558 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
54559   echo $ECHO_N "(cached) $ECHO_C" >&6
54560 else
54561   if test x$gcc_no_link = xyes; then
54562   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54563 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54564    { (exit 1); exit 1; }; }
54565 fi
54566 cat >conftest.$ac_ext <<_ACEOF
54567 /* confdefs.h.  */
54568 _ACEOF
54569 cat confdefs.h >>conftest.$ac_ext
54570 cat >>conftest.$ac_ext <<_ACEOF
54571 /* end confdefs.h.  */
54572 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54573    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54574 #define $ac_func innocuous_$ac_func
54575
54576 /* System header to define __stub macros and hopefully few prototypes,
54577     which can conflict with char $ac_func (); below.
54578     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54579     <limits.h> exists even on freestanding compilers.  */
54580
54581 #ifdef __STDC__
54582 # include <limits.h>
54583 #else
54584 # include <assert.h>
54585 #endif
54586
54587 #undef $ac_func
54588
54589 /* Override any GCC internal prototype to avoid an error.
54590    Use char because int might match the return type of a GCC
54591    builtin and then its argument prototype would still apply.  */
54592 #ifdef __cplusplus
54593 extern "C"
54594 #endif
54595 char $ac_func ();
54596 /* The GNU C library defines this for functions which it implements
54597     to always fail with ENOSYS.  Some functions are actually named
54598     something starting with __ and the normal name is an alias.  */
54599 #if defined __stub_$ac_func || defined __stub___$ac_func
54600 choke me
54601 #endif
54602
54603 int
54604 main ()
54605 {
54606 return $ac_func ();
54607   ;
54608   return 0;
54609 }
54610 _ACEOF
54611 rm -f conftest.$ac_objext conftest$ac_exeext
54612 if { (ac_try="$ac_link"
54613 case "(($ac_try" in
54614   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
54615   *) ac_try_echo=$ac_try;;
54616 esac
54617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
54618   (eval "$ac_link") 2>conftest.er1
54619   ac_status=$?
54620   grep -v '^ *+' conftest.er1 >conftest.err
54621   rm -f conftest.er1
54622   cat conftest.err >&5
54623   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54624   (exit $ac_status); } && {
54625          test -z "$ac_c_werror_flag" ||
54626          test ! -s conftest.err
54627        } && test -s conftest$ac_exeext &&
54628        $as_test_x conftest$ac_exeext; then
54629   eval "$as_ac_var=yes"
54630 else
54631   echo "$as_me: failed program was:" >&5
54632 sed 's/^/| /' conftest.$ac_ext >&5
54633
54634         eval "$as_ac_var=no"
54635 fi
54636
54637 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
54638       conftest$ac_exeext conftest.$ac_ext
54639 fi
54640 ac_res=`eval echo '${'$as_ac_var'}'`
54641                { echo "$as_me:$LINENO: result: $ac_res" >&5
54642 echo "${ECHO_T}$ac_res" >&6; }
54643 if test `eval echo '${'$as_ac_var'}'` = yes; then
54644   cat >>confdefs.h <<_ACEOF
54645 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54646 _ACEOF
54647
54648 fi
54649 done
54650
54651     fi
54652   fi
54653
54654
54655
54656
54657
54658
54659   { echo "$as_me:$LINENO: checking for fmodl declaration" >&5
54660 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6; }
54661   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
54662     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
54663   echo $ECHO_N "(cached) $ECHO_C" >&6
54664 else
54665
54666
54667       ac_ext=cpp
54668 ac_cpp='$CXXCPP $CPPFLAGS'
54669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54672
54673       cat >conftest.$ac_ext <<_ACEOF
54674 /* confdefs.h.  */
54675 _ACEOF
54676 cat confdefs.h >>conftest.$ac_ext
54677 cat >>conftest.$ac_ext <<_ACEOF
54678 /* end confdefs.h.  */
54679 #include <math.h>
54680 int
54681 main ()
54682 {
54683  fmodl(0, 0);
54684   ;
54685   return 0;
54686 }
54687 _ACEOF
54688 rm -f conftest.$ac_objext
54689 if { (ac_try="$ac_compile"
54690 case "(($ac_try" in
54691   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
54692   *) ac_try_echo=$ac_try;;
54693 esac
54694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
54695   (eval "$ac_compile") 2>conftest.er1
54696   ac_status=$?
54697   grep -v '^ *+' conftest.er1 >conftest.err
54698   rm -f conftest.er1
54699   cat conftest.err >&5
54700   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54701   (exit $ac_status); } && {
54702          test -z "$ac_cxx_werror_flag" ||
54703          test ! -s conftest.err
54704        } && test -s conftest.$ac_objext; then
54705   glibcxx_cv_func_fmodl_use=yes
54706 else
54707   echo "$as_me: failed program was:" >&5
54708 sed 's/^/| /' conftest.$ac_ext >&5
54709
54710         glibcxx_cv_func_fmodl_use=no
54711 fi
54712
54713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54714       ac_ext=c
54715 ac_cpp='$CPP $CPPFLAGS'
54716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54719
54720
54721 fi
54722
54723   fi
54724   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
54725 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6; }
54726
54727   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
54728
54729 for ac_func in fmodl
54730 do
54731 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54732 { echo "$as_me:$LINENO: checking for $ac_func" >&5
54733 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
54734 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
54735   echo $ECHO_N "(cached) $ECHO_C" >&6
54736 else
54737   if test x$gcc_no_link = xyes; then
54738   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54739 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54740    { (exit 1); exit 1; }; }
54741 fi
54742 cat >conftest.$ac_ext <<_ACEOF
54743 /* confdefs.h.  */
54744 _ACEOF
54745 cat confdefs.h >>conftest.$ac_ext
54746 cat >>conftest.$ac_ext <<_ACEOF
54747 /* end confdefs.h.  */
54748 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54749    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54750 #define $ac_func innocuous_$ac_func
54751
54752 /* System header to define __stub macros and hopefully few prototypes,
54753     which can conflict with char $ac_func (); below.
54754     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54755     <limits.h> exists even on freestanding compilers.  */
54756
54757 #ifdef __STDC__
54758 # include <limits.h>
54759 #else
54760 # include <assert.h>
54761 #endif
54762
54763 #undef $ac_func
54764
54765 /* Override any GCC internal prototype to avoid an error.
54766    Use char because int might match the return type of a GCC
54767    builtin and then its argument prototype would still apply.  */
54768 #ifdef __cplusplus
54769 extern "C"
54770 #endif
54771 char $ac_func ();
54772 /* The GNU C library defines this for functions which it implements
54773     to always fail with ENOSYS.  Some functions are actually named
54774     something starting with __ and the normal name is an alias.  */
54775 #if defined __stub_$ac_func || defined __stub___$ac_func
54776 choke me
54777 #endif
54778
54779 int
54780 main ()
54781 {
54782 return $ac_func ();
54783   ;
54784   return 0;
54785 }
54786 _ACEOF
54787 rm -f conftest.$ac_objext conftest$ac_exeext
54788 if { (ac_try="$ac_link"
54789 case "(($ac_try" in
54790   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
54791   *) ac_try_echo=$ac_try;;
54792 esac
54793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
54794   (eval "$ac_link") 2>conftest.er1
54795   ac_status=$?
54796   grep -v '^ *+' conftest.er1 >conftest.err
54797   rm -f conftest.er1
54798   cat conftest.err >&5
54799   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54800   (exit $ac_status); } && {
54801          test -z "$ac_c_werror_flag" ||
54802          test ! -s conftest.err
54803        } && test -s conftest$ac_exeext &&
54804        $as_test_x conftest$ac_exeext; then
54805   eval "$as_ac_var=yes"
54806 else
54807   echo "$as_me: failed program was:" >&5
54808 sed 's/^/| /' conftest.$ac_ext >&5
54809
54810         eval "$as_ac_var=no"
54811 fi
54812
54813 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
54814       conftest$ac_exeext conftest.$ac_ext
54815 fi
54816 ac_res=`eval echo '${'$as_ac_var'}'`
54817                { echo "$as_me:$LINENO: result: $ac_res" >&5
54818 echo "${ECHO_T}$ac_res" >&6; }
54819 if test `eval echo '${'$as_ac_var'}'` = yes; then
54820   cat >>confdefs.h <<_ACEOF
54821 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54822 _ACEOF
54823
54824 fi
54825 done
54826
54827   else
54828
54829   { echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
54830 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6; }
54831   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
54832     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
54833   echo $ECHO_N "(cached) $ECHO_C" >&6
54834 else
54835
54836
54837       ac_ext=cpp
54838 ac_cpp='$CXXCPP $CPPFLAGS'
54839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54842
54843       cat >conftest.$ac_ext <<_ACEOF
54844 /* confdefs.h.  */
54845 _ACEOF
54846 cat confdefs.h >>conftest.$ac_ext
54847 cat >>conftest.$ac_ext <<_ACEOF
54848 /* end confdefs.h.  */
54849 #include <math.h>
54850 int
54851 main ()
54852 {
54853  _fmodl(0, 0);
54854   ;
54855   return 0;
54856 }
54857 _ACEOF
54858 rm -f conftest.$ac_objext
54859 if { (ac_try="$ac_compile"
54860 case "(($ac_try" in
54861   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
54862   *) ac_try_echo=$ac_try;;
54863 esac
54864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
54865   (eval "$ac_compile") 2>conftest.er1
54866   ac_status=$?
54867   grep -v '^ *+' conftest.er1 >conftest.err
54868   rm -f conftest.er1
54869   cat conftest.err >&5
54870   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54871   (exit $ac_status); } && {
54872          test -z "$ac_cxx_werror_flag" ||
54873          test ! -s conftest.err
54874        } && test -s conftest.$ac_objext; then
54875   glibcxx_cv_func__fmodl_use=yes
54876 else
54877   echo "$as_me: failed program was:" >&5
54878 sed 's/^/| /' conftest.$ac_ext >&5
54879
54880         glibcxx_cv_func__fmodl_use=no
54881 fi
54882
54883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54884       ac_ext=c
54885 ac_cpp='$CPP $CPPFLAGS'
54886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54889
54890
54891 fi
54892
54893   fi
54894   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
54895 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6; }
54896
54897     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
54898
54899 for ac_func in _fmodl
54900 do
54901 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54902 { echo "$as_me:$LINENO: checking for $ac_func" >&5
54903 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
54904 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
54905   echo $ECHO_N "(cached) $ECHO_C" >&6
54906 else
54907   if test x$gcc_no_link = xyes; then
54908   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54909 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54910    { (exit 1); exit 1; }; }
54911 fi
54912 cat >conftest.$ac_ext <<_ACEOF
54913 /* confdefs.h.  */
54914 _ACEOF
54915 cat confdefs.h >>conftest.$ac_ext
54916 cat >>conftest.$ac_ext <<_ACEOF
54917 /* end confdefs.h.  */
54918 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54919    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54920 #define $ac_func innocuous_$ac_func
54921
54922 /* System header to define __stub macros and hopefully few prototypes,
54923     which can conflict with char $ac_func (); below.
54924     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54925     <limits.h> exists even on freestanding compilers.  */
54926
54927 #ifdef __STDC__
54928 # include <limits.h>
54929 #else
54930 # include <assert.h>
54931 #endif
54932
54933 #undef $ac_func
54934
54935 /* Override any GCC internal prototype to avoid an error.
54936    Use char because int might match the return type of a GCC
54937    builtin and then its argument prototype would still apply.  */
54938 #ifdef __cplusplus
54939 extern "C"
54940 #endif
54941 char $ac_func ();
54942 /* The GNU C library defines this for functions which it implements
54943     to always fail with ENOSYS.  Some functions are actually named
54944     something starting with __ and the normal name is an alias.  */
54945 #if defined __stub_$ac_func || defined __stub___$ac_func
54946 choke me
54947 #endif
54948
54949 int
54950 main ()
54951 {
54952 return $ac_func ();
54953   ;
54954   return 0;
54955 }
54956 _ACEOF
54957 rm -f conftest.$ac_objext conftest$ac_exeext
54958 if { (ac_try="$ac_link"
54959 case "(($ac_try" in
54960   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
54961   *) ac_try_echo=$ac_try;;
54962 esac
54963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
54964   (eval "$ac_link") 2>conftest.er1
54965   ac_status=$?
54966   grep -v '^ *+' conftest.er1 >conftest.err
54967   rm -f conftest.er1
54968   cat conftest.err >&5
54969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54970   (exit $ac_status); } && {
54971          test -z "$ac_c_werror_flag" ||
54972          test ! -s conftest.err
54973        } && test -s conftest$ac_exeext &&
54974        $as_test_x conftest$ac_exeext; then
54975   eval "$as_ac_var=yes"
54976 else
54977   echo "$as_me: failed program was:" >&5
54978 sed 's/^/| /' conftest.$ac_ext >&5
54979
54980         eval "$as_ac_var=no"
54981 fi
54982
54983 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
54984       conftest$ac_exeext conftest.$ac_ext
54985 fi
54986 ac_res=`eval echo '${'$as_ac_var'}'`
54987                { echo "$as_me:$LINENO: result: $ac_res" >&5
54988 echo "${ECHO_T}$ac_res" >&6; }
54989 if test `eval echo '${'$as_ac_var'}'` = yes; then
54990   cat >>confdefs.h <<_ACEOF
54991 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54992 _ACEOF
54993
54994 fi
54995 done
54996
54997     fi
54998   fi
54999
55000
55001
55002
55003
55004
55005   { echo "$as_me:$LINENO: checking for frexpl declaration" >&5
55006 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6; }
55007   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
55008     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
55009   echo $ECHO_N "(cached) $ECHO_C" >&6
55010 else
55011
55012
55013       ac_ext=cpp
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 int
55027 main ()
55028 {
55029  frexpl(0, 0);
55030   ;
55031   return 0;
55032 }
55033 _ACEOF
55034 rm -f conftest.$ac_objext
55035 if { (ac_try="$ac_compile"
55036 case "(($ac_try" in
55037   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
55038   *) ac_try_echo=$ac_try;;
55039 esac
55040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
55041   (eval "$ac_compile") 2>conftest.er1
55042   ac_status=$?
55043   grep -v '^ *+' conftest.er1 >conftest.err
55044   rm -f conftest.er1
55045   cat conftest.err >&5
55046   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55047   (exit $ac_status); } && {
55048          test -z "$ac_cxx_werror_flag" ||
55049          test ! -s conftest.err
55050        } && test -s conftest.$ac_objext; then
55051   glibcxx_cv_func_frexpl_use=yes
55052 else
55053   echo "$as_me: failed program was:" >&5
55054 sed 's/^/| /' conftest.$ac_ext >&5
55055
55056         glibcxx_cv_func_frexpl_use=no
55057 fi
55058
55059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55060       ac_ext=c
55061 ac_cpp='$CPP $CPPFLAGS'
55062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55065
55066
55067 fi
55068
55069   fi
55070   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
55071 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6; }
55072
55073   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
55074
55075 for ac_func in frexpl
55076 do
55077 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55078 { echo "$as_me:$LINENO: checking for $ac_func" >&5
55079 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
55080 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
55081   echo $ECHO_N "(cached) $ECHO_C" >&6
55082 else
55083   if test x$gcc_no_link = xyes; then
55084   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55085 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55086    { (exit 1); exit 1; }; }
55087 fi
55088 cat >conftest.$ac_ext <<_ACEOF
55089 /* confdefs.h.  */
55090 _ACEOF
55091 cat confdefs.h >>conftest.$ac_ext
55092 cat >>conftest.$ac_ext <<_ACEOF
55093 /* end confdefs.h.  */
55094 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55095    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55096 #define $ac_func innocuous_$ac_func
55097
55098 /* System header to define __stub macros and hopefully few prototypes,
55099     which can conflict with char $ac_func (); below.
55100     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55101     <limits.h> exists even on freestanding compilers.  */
55102
55103 #ifdef __STDC__
55104 # include <limits.h>
55105 #else
55106 # include <assert.h>
55107 #endif
55108
55109 #undef $ac_func
55110
55111 /* Override any GCC internal prototype to avoid an error.
55112    Use char because int might match the return type of a GCC
55113    builtin and then its argument prototype would still apply.  */
55114 #ifdef __cplusplus
55115 extern "C"
55116 #endif
55117 char $ac_func ();
55118 /* The GNU C library defines this for functions which it implements
55119     to always fail with ENOSYS.  Some functions are actually named
55120     something starting with __ and the normal name is an alias.  */
55121 #if defined __stub_$ac_func || defined __stub___$ac_func
55122 choke me
55123 #endif
55124
55125 int
55126 main ()
55127 {
55128 return $ac_func ();
55129   ;
55130   return 0;
55131 }
55132 _ACEOF
55133 rm -f conftest.$ac_objext conftest$ac_exeext
55134 if { (ac_try="$ac_link"
55135 case "(($ac_try" in
55136   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
55137   *) ac_try_echo=$ac_try;;
55138 esac
55139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
55140   (eval "$ac_link") 2>conftest.er1
55141   ac_status=$?
55142   grep -v '^ *+' conftest.er1 >conftest.err
55143   rm -f conftest.er1
55144   cat conftest.err >&5
55145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55146   (exit $ac_status); } && {
55147          test -z "$ac_c_werror_flag" ||
55148          test ! -s conftest.err
55149        } && test -s conftest$ac_exeext &&
55150        $as_test_x conftest$ac_exeext; then
55151   eval "$as_ac_var=yes"
55152 else
55153   echo "$as_me: failed program was:" >&5
55154 sed 's/^/| /' conftest.$ac_ext >&5
55155
55156         eval "$as_ac_var=no"
55157 fi
55158
55159 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
55160       conftest$ac_exeext conftest.$ac_ext
55161 fi
55162 ac_res=`eval echo '${'$as_ac_var'}'`
55163                { echo "$as_me:$LINENO: result: $ac_res" >&5
55164 echo "${ECHO_T}$ac_res" >&6; }
55165 if test `eval echo '${'$as_ac_var'}'` = yes; then
55166   cat >>confdefs.h <<_ACEOF
55167 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55168 _ACEOF
55169
55170 fi
55171 done
55172
55173   else
55174
55175   { echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
55176 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6; }
55177   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
55178     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
55179   echo $ECHO_N "(cached) $ECHO_C" >&6
55180 else
55181
55182
55183       ac_ext=cpp
55184 ac_cpp='$CXXCPP $CPPFLAGS'
55185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55188
55189       cat >conftest.$ac_ext <<_ACEOF
55190 /* confdefs.h.  */
55191 _ACEOF
55192 cat confdefs.h >>conftest.$ac_ext
55193 cat >>conftest.$ac_ext <<_ACEOF
55194 /* end confdefs.h.  */
55195 #include <math.h>
55196 int
55197 main ()
55198 {
55199  _frexpl(0, 0);
55200   ;
55201   return 0;
55202 }
55203 _ACEOF
55204 rm -f conftest.$ac_objext
55205 if { (ac_try="$ac_compile"
55206 case "(($ac_try" in
55207   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
55208   *) ac_try_echo=$ac_try;;
55209 esac
55210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
55211   (eval "$ac_compile") 2>conftest.er1
55212   ac_status=$?
55213   grep -v '^ *+' conftest.er1 >conftest.err
55214   rm -f conftest.er1
55215   cat conftest.err >&5
55216   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55217   (exit $ac_status); } && {
55218          test -z "$ac_cxx_werror_flag" ||
55219          test ! -s conftest.err
55220        } && test -s conftest.$ac_objext; then
55221   glibcxx_cv_func__frexpl_use=yes
55222 else
55223   echo "$as_me: failed program was:" >&5
55224 sed 's/^/| /' conftest.$ac_ext >&5
55225
55226         glibcxx_cv_func__frexpl_use=no
55227 fi
55228
55229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55230       ac_ext=c
55231 ac_cpp='$CPP $CPPFLAGS'
55232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55235
55236
55237 fi
55238
55239   fi
55240   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
55241 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6; }
55242
55243     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
55244
55245 for ac_func in _frexpl
55246 do
55247 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55248 { echo "$as_me:$LINENO: checking for $ac_func" >&5
55249 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
55250 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
55251   echo $ECHO_N "(cached) $ECHO_C" >&6
55252 else
55253   if test x$gcc_no_link = xyes; then
55254   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55255 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55256    { (exit 1); exit 1; }; }
55257 fi
55258 cat >conftest.$ac_ext <<_ACEOF
55259 /* confdefs.h.  */
55260 _ACEOF
55261 cat confdefs.h >>conftest.$ac_ext
55262 cat >>conftest.$ac_ext <<_ACEOF
55263 /* end confdefs.h.  */
55264 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55265    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55266 #define $ac_func innocuous_$ac_func
55267
55268 /* System header to define __stub macros and hopefully few prototypes,
55269     which can conflict with char $ac_func (); below.
55270     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55271     <limits.h> exists even on freestanding compilers.  */
55272
55273 #ifdef __STDC__
55274 # include <limits.h>
55275 #else
55276 # include <assert.h>
55277 #endif
55278
55279 #undef $ac_func
55280
55281 /* Override any GCC internal prototype to avoid an error.
55282    Use char because int might match the return type of a GCC
55283    builtin and then its argument prototype would still apply.  */
55284 #ifdef __cplusplus
55285 extern "C"
55286 #endif
55287 char $ac_func ();
55288 /* The GNU C library defines this for functions which it implements
55289     to always fail with ENOSYS.  Some functions are actually named
55290     something starting with __ and the normal name is an alias.  */
55291 #if defined __stub_$ac_func || defined __stub___$ac_func
55292 choke me
55293 #endif
55294
55295 int
55296 main ()
55297 {
55298 return $ac_func ();
55299   ;
55300   return 0;
55301 }
55302 _ACEOF
55303 rm -f conftest.$ac_objext conftest$ac_exeext
55304 if { (ac_try="$ac_link"
55305 case "(($ac_try" in
55306   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
55307   *) ac_try_echo=$ac_try;;
55308 esac
55309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
55310   (eval "$ac_link") 2>conftest.er1
55311   ac_status=$?
55312   grep -v '^ *+' conftest.er1 >conftest.err
55313   rm -f conftest.er1
55314   cat conftest.err >&5
55315   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55316   (exit $ac_status); } && {
55317          test -z "$ac_c_werror_flag" ||
55318          test ! -s conftest.err
55319        } && test -s conftest$ac_exeext &&
55320        $as_test_x conftest$ac_exeext; then
55321   eval "$as_ac_var=yes"
55322 else
55323   echo "$as_me: failed program was:" >&5
55324 sed 's/^/| /' conftest.$ac_ext >&5
55325
55326         eval "$as_ac_var=no"
55327 fi
55328
55329 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
55330       conftest$ac_exeext conftest.$ac_ext
55331 fi
55332 ac_res=`eval echo '${'$as_ac_var'}'`
55333                { echo "$as_me:$LINENO: result: $ac_res" >&5
55334 echo "${ECHO_T}$ac_res" >&6; }
55335 if test `eval echo '${'$as_ac_var'}'` = yes; then
55336   cat >>confdefs.h <<_ACEOF
55337 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55338 _ACEOF
55339
55340 fi
55341 done
55342
55343     fi
55344   fi
55345
55346
55347
55348
55349
55350
55351   { echo "$as_me:$LINENO: checking for hypotl declaration" >&5
55352 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6; }
55353   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
55354     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
55355   echo $ECHO_N "(cached) $ECHO_C" >&6
55356 else
55357
55358
55359       ac_ext=cpp
55360 ac_cpp='$CXXCPP $CPPFLAGS'
55361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55364
55365       cat >conftest.$ac_ext <<_ACEOF
55366 /* confdefs.h.  */
55367 _ACEOF
55368 cat confdefs.h >>conftest.$ac_ext
55369 cat >>conftest.$ac_ext <<_ACEOF
55370 /* end confdefs.h.  */
55371 #include <math.h>
55372 int
55373 main ()
55374 {
55375  hypotl(0, 0);
55376   ;
55377   return 0;
55378 }
55379 _ACEOF
55380 rm -f conftest.$ac_objext
55381 if { (ac_try="$ac_compile"
55382 case "(($ac_try" in
55383   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
55384   *) ac_try_echo=$ac_try;;
55385 esac
55386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
55387   (eval "$ac_compile") 2>conftest.er1
55388   ac_status=$?
55389   grep -v '^ *+' conftest.er1 >conftest.err
55390   rm -f conftest.er1
55391   cat conftest.err >&5
55392   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55393   (exit $ac_status); } && {
55394          test -z "$ac_cxx_werror_flag" ||
55395          test ! -s conftest.err
55396        } && test -s conftest.$ac_objext; then
55397   glibcxx_cv_func_hypotl_use=yes
55398 else
55399   echo "$as_me: failed program was:" >&5
55400 sed 's/^/| /' conftest.$ac_ext >&5
55401
55402         glibcxx_cv_func_hypotl_use=no
55403 fi
55404
55405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55406       ac_ext=c
55407 ac_cpp='$CPP $CPPFLAGS'
55408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55411
55412
55413 fi
55414
55415   fi
55416   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
55417 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6; }
55418
55419   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
55420
55421 for ac_func in hypotl
55422 do
55423 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55424 { echo "$as_me:$LINENO: checking for $ac_func" >&5
55425 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
55426 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
55427   echo $ECHO_N "(cached) $ECHO_C" >&6
55428 else
55429   if test x$gcc_no_link = xyes; then
55430   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55431 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55432    { (exit 1); exit 1; }; }
55433 fi
55434 cat >conftest.$ac_ext <<_ACEOF
55435 /* confdefs.h.  */
55436 _ACEOF
55437 cat confdefs.h >>conftest.$ac_ext
55438 cat >>conftest.$ac_ext <<_ACEOF
55439 /* end confdefs.h.  */
55440 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55441    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55442 #define $ac_func innocuous_$ac_func
55443
55444 /* System header to define __stub macros and hopefully few prototypes,
55445     which can conflict with char $ac_func (); below.
55446     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55447     <limits.h> exists even on freestanding compilers.  */
55448
55449 #ifdef __STDC__
55450 # include <limits.h>
55451 #else
55452 # include <assert.h>
55453 #endif
55454
55455 #undef $ac_func
55456
55457 /* Override any GCC internal prototype to avoid an error.
55458    Use char because int might match the return type of a GCC
55459    builtin and then its argument prototype would still apply.  */
55460 #ifdef __cplusplus
55461 extern "C"
55462 #endif
55463 char $ac_func ();
55464 /* The GNU C library defines this for functions which it implements
55465     to always fail with ENOSYS.  Some functions are actually named
55466     something starting with __ and the normal name is an alias.  */
55467 #if defined __stub_$ac_func || defined __stub___$ac_func
55468 choke me
55469 #endif
55470
55471 int
55472 main ()
55473 {
55474 return $ac_func ();
55475   ;
55476   return 0;
55477 }
55478 _ACEOF
55479 rm -f conftest.$ac_objext conftest$ac_exeext
55480 if { (ac_try="$ac_link"
55481 case "(($ac_try" in
55482   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
55483   *) ac_try_echo=$ac_try;;
55484 esac
55485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
55486   (eval "$ac_link") 2>conftest.er1
55487   ac_status=$?
55488   grep -v '^ *+' conftest.er1 >conftest.err
55489   rm -f conftest.er1
55490   cat conftest.err >&5
55491   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55492   (exit $ac_status); } && {
55493          test -z "$ac_c_werror_flag" ||
55494          test ! -s conftest.err
55495        } && test -s conftest$ac_exeext &&
55496        $as_test_x conftest$ac_exeext; then
55497   eval "$as_ac_var=yes"
55498 else
55499   echo "$as_me: failed program was:" >&5
55500 sed 's/^/| /' conftest.$ac_ext >&5
55501
55502         eval "$as_ac_var=no"
55503 fi
55504
55505 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
55506       conftest$ac_exeext conftest.$ac_ext
55507 fi
55508 ac_res=`eval echo '${'$as_ac_var'}'`
55509                { echo "$as_me:$LINENO: result: $ac_res" >&5
55510 echo "${ECHO_T}$ac_res" >&6; }
55511 if test `eval echo '${'$as_ac_var'}'` = yes; then
55512   cat >>confdefs.h <<_ACEOF
55513 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55514 _ACEOF
55515
55516 fi
55517 done
55518
55519   else
55520
55521   { echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
55522 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6; }
55523   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
55524     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
55525   echo $ECHO_N "(cached) $ECHO_C" >&6
55526 else
55527
55528
55529       ac_ext=cpp
55530 ac_cpp='$CXXCPP $CPPFLAGS'
55531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55534
55535       cat >conftest.$ac_ext <<_ACEOF
55536 /* confdefs.h.  */
55537 _ACEOF
55538 cat confdefs.h >>conftest.$ac_ext
55539 cat >>conftest.$ac_ext <<_ACEOF
55540 /* end confdefs.h.  */
55541 #include <math.h>
55542 int
55543 main ()
55544 {
55545  _hypotl(0, 0);
55546   ;
55547   return 0;
55548 }
55549 _ACEOF
55550 rm -f conftest.$ac_objext
55551 if { (ac_try="$ac_compile"
55552 case "(($ac_try" in
55553   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
55554   *) ac_try_echo=$ac_try;;
55555 esac
55556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
55557   (eval "$ac_compile") 2>conftest.er1
55558   ac_status=$?
55559   grep -v '^ *+' conftest.er1 >conftest.err
55560   rm -f conftest.er1
55561   cat conftest.err >&5
55562   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55563   (exit $ac_status); } && {
55564          test -z "$ac_cxx_werror_flag" ||
55565          test ! -s conftest.err
55566        } && test -s conftest.$ac_objext; then
55567   glibcxx_cv_func__hypotl_use=yes
55568 else
55569   echo "$as_me: failed program was:" >&5
55570 sed 's/^/| /' conftest.$ac_ext >&5
55571
55572         glibcxx_cv_func__hypotl_use=no
55573 fi
55574
55575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55576       ac_ext=c
55577 ac_cpp='$CPP $CPPFLAGS'
55578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55581
55582
55583 fi
55584
55585   fi
55586   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
55587 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6; }
55588
55589     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
55590
55591 for ac_func in _hypotl
55592 do
55593 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55594 { echo "$as_me:$LINENO: checking for $ac_func" >&5
55595 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
55596 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
55597   echo $ECHO_N "(cached) $ECHO_C" >&6
55598 else
55599   if test x$gcc_no_link = xyes; then
55600   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55601 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55602    { (exit 1); exit 1; }; }
55603 fi
55604 cat >conftest.$ac_ext <<_ACEOF
55605 /* confdefs.h.  */
55606 _ACEOF
55607 cat confdefs.h >>conftest.$ac_ext
55608 cat >>conftest.$ac_ext <<_ACEOF
55609 /* end confdefs.h.  */
55610 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55611    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55612 #define $ac_func innocuous_$ac_func
55613
55614 /* System header to define __stub macros and hopefully few prototypes,
55615     which can conflict with char $ac_func (); below.
55616     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55617     <limits.h> exists even on freestanding compilers.  */
55618
55619 #ifdef __STDC__
55620 # include <limits.h>
55621 #else
55622 # include <assert.h>
55623 #endif
55624
55625 #undef $ac_func
55626
55627 /* Override any GCC internal prototype to avoid an error.
55628    Use char because int might match the return type of a GCC
55629    builtin and then its argument prototype would still apply.  */
55630 #ifdef __cplusplus
55631 extern "C"
55632 #endif
55633 char $ac_func ();
55634 /* The GNU C library defines this for functions which it implements
55635     to always fail with ENOSYS.  Some functions are actually named
55636     something starting with __ and the normal name is an alias.  */
55637 #if defined __stub_$ac_func || defined __stub___$ac_func
55638 choke me
55639 #endif
55640
55641 int
55642 main ()
55643 {
55644 return $ac_func ();
55645   ;
55646   return 0;
55647 }
55648 _ACEOF
55649 rm -f conftest.$ac_objext conftest$ac_exeext
55650 if { (ac_try="$ac_link"
55651 case "(($ac_try" in
55652   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
55653   *) ac_try_echo=$ac_try;;
55654 esac
55655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
55656   (eval "$ac_link") 2>conftest.er1
55657   ac_status=$?
55658   grep -v '^ *+' conftest.er1 >conftest.err
55659   rm -f conftest.er1
55660   cat conftest.err >&5
55661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55662   (exit $ac_status); } && {
55663          test -z "$ac_c_werror_flag" ||
55664          test ! -s conftest.err
55665        } && test -s conftest$ac_exeext &&
55666        $as_test_x conftest$ac_exeext; then
55667   eval "$as_ac_var=yes"
55668 else
55669   echo "$as_me: failed program was:" >&5
55670 sed 's/^/| /' conftest.$ac_ext >&5
55671
55672         eval "$as_ac_var=no"
55673 fi
55674
55675 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
55676       conftest$ac_exeext conftest.$ac_ext
55677 fi
55678 ac_res=`eval echo '${'$as_ac_var'}'`
55679                { echo "$as_me:$LINENO: result: $ac_res" >&5
55680 echo "${ECHO_T}$ac_res" >&6; }
55681 if test `eval echo '${'$as_ac_var'}'` = yes; then
55682   cat >>confdefs.h <<_ACEOF
55683 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55684 _ACEOF
55685
55686 fi
55687 done
55688
55689     fi
55690   fi
55691
55692
55693
55694
55695
55696
55697   { echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
55698 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6; }
55699   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
55700     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
55701   echo $ECHO_N "(cached) $ECHO_C" >&6
55702 else
55703
55704
55705       ac_ext=cpp
55706 ac_cpp='$CXXCPP $CPPFLAGS'
55707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55710
55711       cat >conftest.$ac_ext <<_ACEOF
55712 /* confdefs.h.  */
55713 _ACEOF
55714 cat confdefs.h >>conftest.$ac_ext
55715 cat >>conftest.$ac_ext <<_ACEOF
55716 /* end confdefs.h.  */
55717 #include <math.h>
55718 int
55719 main ()
55720 {
55721  ldexpl(0, 0);
55722   ;
55723   return 0;
55724 }
55725 _ACEOF
55726 rm -f conftest.$ac_objext
55727 if { (ac_try="$ac_compile"
55728 case "(($ac_try" in
55729   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
55730   *) ac_try_echo=$ac_try;;
55731 esac
55732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
55733   (eval "$ac_compile") 2>conftest.er1
55734   ac_status=$?
55735   grep -v '^ *+' conftest.er1 >conftest.err
55736   rm -f conftest.er1
55737   cat conftest.err >&5
55738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55739   (exit $ac_status); } && {
55740          test -z "$ac_cxx_werror_flag" ||
55741          test ! -s conftest.err
55742        } && test -s conftest.$ac_objext; then
55743   glibcxx_cv_func_ldexpl_use=yes
55744 else
55745   echo "$as_me: failed program was:" >&5
55746 sed 's/^/| /' conftest.$ac_ext >&5
55747
55748         glibcxx_cv_func_ldexpl_use=no
55749 fi
55750
55751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55752       ac_ext=c
55753 ac_cpp='$CPP $CPPFLAGS'
55754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55757
55758
55759 fi
55760
55761   fi
55762   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
55763 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6; }
55764
55765   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
55766
55767 for ac_func in ldexpl
55768 do
55769 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55770 { echo "$as_me:$LINENO: checking for $ac_func" >&5
55771 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
55772 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
55773   echo $ECHO_N "(cached) $ECHO_C" >&6
55774 else
55775   if test x$gcc_no_link = xyes; then
55776   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55777 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55778    { (exit 1); exit 1; }; }
55779 fi
55780 cat >conftest.$ac_ext <<_ACEOF
55781 /* confdefs.h.  */
55782 _ACEOF
55783 cat confdefs.h >>conftest.$ac_ext
55784 cat >>conftest.$ac_ext <<_ACEOF
55785 /* end confdefs.h.  */
55786 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55787    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55788 #define $ac_func innocuous_$ac_func
55789
55790 /* System header to define __stub macros and hopefully few prototypes,
55791     which can conflict with char $ac_func (); below.
55792     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55793     <limits.h> exists even on freestanding compilers.  */
55794
55795 #ifdef __STDC__
55796 # include <limits.h>
55797 #else
55798 # include <assert.h>
55799 #endif
55800
55801 #undef $ac_func
55802
55803 /* Override any GCC internal prototype to avoid an error.
55804    Use char because int might match the return type of a GCC
55805    builtin and then its argument prototype would still apply.  */
55806 #ifdef __cplusplus
55807 extern "C"
55808 #endif
55809 char $ac_func ();
55810 /* The GNU C library defines this for functions which it implements
55811     to always fail with ENOSYS.  Some functions are actually named
55812     something starting with __ and the normal name is an alias.  */
55813 #if defined __stub_$ac_func || defined __stub___$ac_func
55814 choke me
55815 #endif
55816
55817 int
55818 main ()
55819 {
55820 return $ac_func ();
55821   ;
55822   return 0;
55823 }
55824 _ACEOF
55825 rm -f conftest.$ac_objext conftest$ac_exeext
55826 if { (ac_try="$ac_link"
55827 case "(($ac_try" in
55828   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
55829   *) ac_try_echo=$ac_try;;
55830 esac
55831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
55832   (eval "$ac_link") 2>conftest.er1
55833   ac_status=$?
55834   grep -v '^ *+' conftest.er1 >conftest.err
55835   rm -f conftest.er1
55836   cat conftest.err >&5
55837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55838   (exit $ac_status); } && {
55839          test -z "$ac_c_werror_flag" ||
55840          test ! -s conftest.err
55841        } && test -s conftest$ac_exeext &&
55842        $as_test_x conftest$ac_exeext; then
55843   eval "$as_ac_var=yes"
55844 else
55845   echo "$as_me: failed program was:" >&5
55846 sed 's/^/| /' conftest.$ac_ext >&5
55847
55848         eval "$as_ac_var=no"
55849 fi
55850
55851 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
55852       conftest$ac_exeext conftest.$ac_ext
55853 fi
55854 ac_res=`eval echo '${'$as_ac_var'}'`
55855                { echo "$as_me:$LINENO: result: $ac_res" >&5
55856 echo "${ECHO_T}$ac_res" >&6; }
55857 if test `eval echo '${'$as_ac_var'}'` = yes; then
55858   cat >>confdefs.h <<_ACEOF
55859 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55860 _ACEOF
55861
55862 fi
55863 done
55864
55865   else
55866
55867   { echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
55868 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6; }
55869   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
55870     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
55871   echo $ECHO_N "(cached) $ECHO_C" >&6
55872 else
55873
55874
55875       ac_ext=cpp
55876 ac_cpp='$CXXCPP $CPPFLAGS'
55877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55880
55881       cat >conftest.$ac_ext <<_ACEOF
55882 /* confdefs.h.  */
55883 _ACEOF
55884 cat confdefs.h >>conftest.$ac_ext
55885 cat >>conftest.$ac_ext <<_ACEOF
55886 /* end confdefs.h.  */
55887 #include <math.h>
55888 int
55889 main ()
55890 {
55891  _ldexpl(0, 0);
55892   ;
55893   return 0;
55894 }
55895 _ACEOF
55896 rm -f conftest.$ac_objext
55897 if { (ac_try="$ac_compile"
55898 case "(($ac_try" in
55899   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
55900   *) ac_try_echo=$ac_try;;
55901 esac
55902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
55903   (eval "$ac_compile") 2>conftest.er1
55904   ac_status=$?
55905   grep -v '^ *+' conftest.er1 >conftest.err
55906   rm -f conftest.er1
55907   cat conftest.err >&5
55908   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55909   (exit $ac_status); } && {
55910          test -z "$ac_cxx_werror_flag" ||
55911          test ! -s conftest.err
55912        } && test -s conftest.$ac_objext; then
55913   glibcxx_cv_func__ldexpl_use=yes
55914 else
55915   echo "$as_me: failed program was:" >&5
55916 sed 's/^/| /' conftest.$ac_ext >&5
55917
55918         glibcxx_cv_func__ldexpl_use=no
55919 fi
55920
55921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55922       ac_ext=c
55923 ac_cpp='$CPP $CPPFLAGS'
55924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55927
55928
55929 fi
55930
55931   fi
55932   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
55933 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6; }
55934
55935     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
55936
55937 for ac_func in _ldexpl
55938 do
55939 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55940 { echo "$as_me:$LINENO: checking for $ac_func" >&5
55941 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
55942 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
55943   echo $ECHO_N "(cached) $ECHO_C" >&6
55944 else
55945   if test x$gcc_no_link = xyes; then
55946   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55947 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55948    { (exit 1); exit 1; }; }
55949 fi
55950 cat >conftest.$ac_ext <<_ACEOF
55951 /* confdefs.h.  */
55952 _ACEOF
55953 cat confdefs.h >>conftest.$ac_ext
55954 cat >>conftest.$ac_ext <<_ACEOF
55955 /* end confdefs.h.  */
55956 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55957    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55958 #define $ac_func innocuous_$ac_func
55959
55960 /* System header to define __stub macros and hopefully few prototypes,
55961     which can conflict with char $ac_func (); below.
55962     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55963     <limits.h> exists even on freestanding compilers.  */
55964
55965 #ifdef __STDC__
55966 # include <limits.h>
55967 #else
55968 # include <assert.h>
55969 #endif
55970
55971 #undef $ac_func
55972
55973 /* Override any GCC internal prototype to avoid an error.
55974    Use char because int might match the return type of a GCC
55975    builtin and then its argument prototype would still apply.  */
55976 #ifdef __cplusplus
55977 extern "C"
55978 #endif
55979 char $ac_func ();
55980 /* The GNU C library defines this for functions which it implements
55981     to always fail with ENOSYS.  Some functions are actually named
55982     something starting with __ and the normal name is an alias.  */
55983 #if defined __stub_$ac_func || defined __stub___$ac_func
55984 choke me
55985 #endif
55986
55987 int
55988 main ()
55989 {
55990 return $ac_func ();
55991   ;
55992   return 0;
55993 }
55994 _ACEOF
55995 rm -f conftest.$ac_objext conftest$ac_exeext
55996 if { (ac_try="$ac_link"
55997 case "(($ac_try" in
55998   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
55999   *) ac_try_echo=$ac_try;;
56000 esac
56001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
56002   (eval "$ac_link") 2>conftest.er1
56003   ac_status=$?
56004   grep -v '^ *+' conftest.er1 >conftest.err
56005   rm -f conftest.er1
56006   cat conftest.err >&5
56007   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56008   (exit $ac_status); } && {
56009          test -z "$ac_c_werror_flag" ||
56010          test ! -s conftest.err
56011        } && test -s conftest$ac_exeext &&
56012        $as_test_x conftest$ac_exeext; then
56013   eval "$as_ac_var=yes"
56014 else
56015   echo "$as_me: failed program was:" >&5
56016 sed 's/^/| /' conftest.$ac_ext >&5
56017
56018         eval "$as_ac_var=no"
56019 fi
56020
56021 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
56022       conftest$ac_exeext conftest.$ac_ext
56023 fi
56024 ac_res=`eval echo '${'$as_ac_var'}'`
56025                { echo "$as_me:$LINENO: result: $ac_res" >&5
56026 echo "${ECHO_T}$ac_res" >&6; }
56027 if test `eval echo '${'$as_ac_var'}'` = yes; then
56028   cat >>confdefs.h <<_ACEOF
56029 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56030 _ACEOF
56031
56032 fi
56033 done
56034
56035     fi
56036   fi
56037
56038
56039
56040
56041
56042
56043   { echo "$as_me:$LINENO: checking for logl declaration" >&5
56044 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6; }
56045   if test x${glibcxx_cv_func_logl_use+set} != xset; then
56046     if test "${glibcxx_cv_func_logl_use+set}" = set; then
56047   echo $ECHO_N "(cached) $ECHO_C" >&6
56048 else
56049
56050
56051       ac_ext=cpp
56052 ac_cpp='$CXXCPP $CPPFLAGS'
56053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56056
56057       cat >conftest.$ac_ext <<_ACEOF
56058 /* confdefs.h.  */
56059 _ACEOF
56060 cat confdefs.h >>conftest.$ac_ext
56061 cat >>conftest.$ac_ext <<_ACEOF
56062 /* end confdefs.h.  */
56063 #include <math.h>
56064                       #ifdef HAVE_IEEEFP_H
56065                       #include <ieeefp.h>
56066                       #endif
56067
56068 int
56069 main ()
56070 {
56071  logl(0);
56072   ;
56073   return 0;
56074 }
56075 _ACEOF
56076 rm -f conftest.$ac_objext
56077 if { (ac_try="$ac_compile"
56078 case "(($ac_try" in
56079   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
56080   *) ac_try_echo=$ac_try;;
56081 esac
56082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
56083   (eval "$ac_compile") 2>conftest.er1
56084   ac_status=$?
56085   grep -v '^ *+' conftest.er1 >conftest.err
56086   rm -f conftest.er1
56087   cat conftest.err >&5
56088   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56089   (exit $ac_status); } && {
56090          test -z "$ac_cxx_werror_flag" ||
56091          test ! -s conftest.err
56092        } && test -s conftest.$ac_objext; then
56093   glibcxx_cv_func_logl_use=yes
56094 else
56095   echo "$as_me: failed program was:" >&5
56096 sed 's/^/| /' conftest.$ac_ext >&5
56097
56098         glibcxx_cv_func_logl_use=no
56099 fi
56100
56101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56102       ac_ext=c
56103 ac_cpp='$CPP $CPPFLAGS'
56104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56107
56108
56109 fi
56110
56111   fi
56112   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
56113 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6; }
56114
56115   if test x$glibcxx_cv_func_logl_use = x"yes"; then
56116
56117 for ac_func in logl
56118 do
56119 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56120 { echo "$as_me:$LINENO: checking for $ac_func" >&5
56121 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
56122 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
56123   echo $ECHO_N "(cached) $ECHO_C" >&6
56124 else
56125   if test x$gcc_no_link = xyes; then
56126   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56127 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56128    { (exit 1); exit 1; }; }
56129 fi
56130 cat >conftest.$ac_ext <<_ACEOF
56131 /* confdefs.h.  */
56132 _ACEOF
56133 cat confdefs.h >>conftest.$ac_ext
56134 cat >>conftest.$ac_ext <<_ACEOF
56135 /* end confdefs.h.  */
56136 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56137    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56138 #define $ac_func innocuous_$ac_func
56139
56140 /* System header to define __stub macros and hopefully few prototypes,
56141     which can conflict with char $ac_func (); below.
56142     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56143     <limits.h> exists even on freestanding compilers.  */
56144
56145 #ifdef __STDC__
56146 # include <limits.h>
56147 #else
56148 # include <assert.h>
56149 #endif
56150
56151 #undef $ac_func
56152
56153 /* Override any GCC internal prototype to avoid an error.
56154    Use char because int might match the return type of a GCC
56155    builtin and then its argument prototype would still apply.  */
56156 #ifdef __cplusplus
56157 extern "C"
56158 #endif
56159 char $ac_func ();
56160 /* The GNU C library defines this for functions which it implements
56161     to always fail with ENOSYS.  Some functions are actually named
56162     something starting with __ and the normal name is an alias.  */
56163 #if defined __stub_$ac_func || defined __stub___$ac_func
56164 choke me
56165 #endif
56166
56167 int
56168 main ()
56169 {
56170 return $ac_func ();
56171   ;
56172   return 0;
56173 }
56174 _ACEOF
56175 rm -f conftest.$ac_objext conftest$ac_exeext
56176 if { (ac_try="$ac_link"
56177 case "(($ac_try" in
56178   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
56179   *) ac_try_echo=$ac_try;;
56180 esac
56181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
56182   (eval "$ac_link") 2>conftest.er1
56183   ac_status=$?
56184   grep -v '^ *+' conftest.er1 >conftest.err
56185   rm -f conftest.er1
56186   cat conftest.err >&5
56187   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56188   (exit $ac_status); } && {
56189          test -z "$ac_c_werror_flag" ||
56190          test ! -s conftest.err
56191        } && test -s conftest$ac_exeext &&
56192        $as_test_x conftest$ac_exeext; then
56193   eval "$as_ac_var=yes"
56194 else
56195   echo "$as_me: failed program was:" >&5
56196 sed 's/^/| /' conftest.$ac_ext >&5
56197
56198         eval "$as_ac_var=no"
56199 fi
56200
56201 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
56202       conftest$ac_exeext conftest.$ac_ext
56203 fi
56204 ac_res=`eval echo '${'$as_ac_var'}'`
56205                { echo "$as_me:$LINENO: result: $ac_res" >&5
56206 echo "${ECHO_T}$ac_res" >&6; }
56207 if test `eval echo '${'$as_ac_var'}'` = yes; then
56208   cat >>confdefs.h <<_ACEOF
56209 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56210 _ACEOF
56211
56212 fi
56213 done
56214
56215   else
56216
56217   { echo "$as_me:$LINENO: checking for _logl declaration" >&5
56218 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6; }
56219   if test x${glibcxx_cv_func__logl_use+set} != xset; then
56220     if test "${glibcxx_cv_func__logl_use+set}" = set; then
56221   echo $ECHO_N "(cached) $ECHO_C" >&6
56222 else
56223
56224
56225       ac_ext=cpp
56226 ac_cpp='$CXXCPP $CPPFLAGS'
56227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56230
56231       cat >conftest.$ac_ext <<_ACEOF
56232 /* confdefs.h.  */
56233 _ACEOF
56234 cat confdefs.h >>conftest.$ac_ext
56235 cat >>conftest.$ac_ext <<_ACEOF
56236 /* end confdefs.h.  */
56237 #include <math.h>
56238                       #ifdef HAVE_IEEEFP_H
56239                       #include <ieeefp.h>
56240                       #endif
56241
56242 int
56243 main ()
56244 {
56245  _logl(0);
56246   ;
56247   return 0;
56248 }
56249 _ACEOF
56250 rm -f conftest.$ac_objext
56251 if { (ac_try="$ac_compile"
56252 case "(($ac_try" in
56253   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
56254   *) ac_try_echo=$ac_try;;
56255 esac
56256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
56257   (eval "$ac_compile") 2>conftest.er1
56258   ac_status=$?
56259   grep -v '^ *+' conftest.er1 >conftest.err
56260   rm -f conftest.er1
56261   cat conftest.err >&5
56262   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56263   (exit $ac_status); } && {
56264          test -z "$ac_cxx_werror_flag" ||
56265          test ! -s conftest.err
56266        } && test -s conftest.$ac_objext; then
56267   glibcxx_cv_func__logl_use=yes
56268 else
56269   echo "$as_me: failed program was:" >&5
56270 sed 's/^/| /' conftest.$ac_ext >&5
56271
56272         glibcxx_cv_func__logl_use=no
56273 fi
56274
56275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56276       ac_ext=c
56277 ac_cpp='$CPP $CPPFLAGS'
56278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56281
56282
56283 fi
56284
56285   fi
56286   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
56287 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6; }
56288
56289     if test x$glibcxx_cv_func__logl_use = x"yes"; then
56290
56291 for ac_func in _logl
56292 do
56293 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56294 { echo "$as_me:$LINENO: checking for $ac_func" >&5
56295 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
56296 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
56297   echo $ECHO_N "(cached) $ECHO_C" >&6
56298 else
56299   if test x$gcc_no_link = xyes; then
56300   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56301 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56302    { (exit 1); exit 1; }; }
56303 fi
56304 cat >conftest.$ac_ext <<_ACEOF
56305 /* confdefs.h.  */
56306 _ACEOF
56307 cat confdefs.h >>conftest.$ac_ext
56308 cat >>conftest.$ac_ext <<_ACEOF
56309 /* end confdefs.h.  */
56310 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56311    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56312 #define $ac_func innocuous_$ac_func
56313
56314 /* System header to define __stub macros and hopefully few prototypes,
56315     which can conflict with char $ac_func (); below.
56316     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56317     <limits.h> exists even on freestanding compilers.  */
56318
56319 #ifdef __STDC__
56320 # include <limits.h>
56321 #else
56322 # include <assert.h>
56323 #endif
56324
56325 #undef $ac_func
56326
56327 /* Override any GCC internal prototype to avoid an error.
56328    Use char because int might match the return type of a GCC
56329    builtin and then its argument prototype would still apply.  */
56330 #ifdef __cplusplus
56331 extern "C"
56332 #endif
56333 char $ac_func ();
56334 /* The GNU C library defines this for functions which it implements
56335     to always fail with ENOSYS.  Some functions are actually named
56336     something starting with __ and the normal name is an alias.  */
56337 #if defined __stub_$ac_func || defined __stub___$ac_func
56338 choke me
56339 #endif
56340
56341 int
56342 main ()
56343 {
56344 return $ac_func ();
56345   ;
56346   return 0;
56347 }
56348 _ACEOF
56349 rm -f conftest.$ac_objext conftest$ac_exeext
56350 if { (ac_try="$ac_link"
56351 case "(($ac_try" in
56352   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
56353   *) ac_try_echo=$ac_try;;
56354 esac
56355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
56356   (eval "$ac_link") 2>conftest.er1
56357   ac_status=$?
56358   grep -v '^ *+' conftest.er1 >conftest.err
56359   rm -f conftest.er1
56360   cat conftest.err >&5
56361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56362   (exit $ac_status); } && {
56363          test -z "$ac_c_werror_flag" ||
56364          test ! -s conftest.err
56365        } && test -s conftest$ac_exeext &&
56366        $as_test_x conftest$ac_exeext; then
56367   eval "$as_ac_var=yes"
56368 else
56369   echo "$as_me: failed program was:" >&5
56370 sed 's/^/| /' conftest.$ac_ext >&5
56371
56372         eval "$as_ac_var=no"
56373 fi
56374
56375 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
56376       conftest$ac_exeext conftest.$ac_ext
56377 fi
56378 ac_res=`eval echo '${'$as_ac_var'}'`
56379                { echo "$as_me:$LINENO: result: $ac_res" >&5
56380 echo "${ECHO_T}$ac_res" >&6; }
56381 if test `eval echo '${'$as_ac_var'}'` = yes; then
56382   cat >>confdefs.h <<_ACEOF
56383 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56384 _ACEOF
56385
56386 fi
56387 done
56388
56389     fi
56390   fi
56391
56392
56393
56394
56395
56396
56397   { echo "$as_me:$LINENO: checking for log10l declaration" >&5
56398 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6; }
56399   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
56400     if test "${glibcxx_cv_func_log10l_use+set}" = set; then
56401   echo $ECHO_N "(cached) $ECHO_C" >&6
56402 else
56403
56404
56405       ac_ext=cpp
56406 ac_cpp='$CXXCPP $CPPFLAGS'
56407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56410
56411       cat >conftest.$ac_ext <<_ACEOF
56412 /* confdefs.h.  */
56413 _ACEOF
56414 cat confdefs.h >>conftest.$ac_ext
56415 cat >>conftest.$ac_ext <<_ACEOF
56416 /* end confdefs.h.  */
56417 #include <math.h>
56418                       #ifdef HAVE_IEEEFP_H
56419                       #include <ieeefp.h>
56420                       #endif
56421
56422 int
56423 main ()
56424 {
56425  log10l(0);
56426   ;
56427   return 0;
56428 }
56429 _ACEOF
56430 rm -f conftest.$ac_objext
56431 if { (ac_try="$ac_compile"
56432 case "(($ac_try" in
56433   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
56434   *) ac_try_echo=$ac_try;;
56435 esac
56436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
56437   (eval "$ac_compile") 2>conftest.er1
56438   ac_status=$?
56439   grep -v '^ *+' conftest.er1 >conftest.err
56440   rm -f conftest.er1
56441   cat conftest.err >&5
56442   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56443   (exit $ac_status); } && {
56444          test -z "$ac_cxx_werror_flag" ||
56445          test ! -s conftest.err
56446        } && test -s conftest.$ac_objext; then
56447   glibcxx_cv_func_log10l_use=yes
56448 else
56449   echo "$as_me: failed program was:" >&5
56450 sed 's/^/| /' conftest.$ac_ext >&5
56451
56452         glibcxx_cv_func_log10l_use=no
56453 fi
56454
56455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56456       ac_ext=c
56457 ac_cpp='$CPP $CPPFLAGS'
56458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56461
56462
56463 fi
56464
56465   fi
56466   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
56467 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6; }
56468
56469   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
56470
56471 for ac_func in log10l
56472 do
56473 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56474 { echo "$as_me:$LINENO: checking for $ac_func" >&5
56475 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
56476 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
56477   echo $ECHO_N "(cached) $ECHO_C" >&6
56478 else
56479   if test x$gcc_no_link = xyes; then
56480   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56481 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56482    { (exit 1); exit 1; }; }
56483 fi
56484 cat >conftest.$ac_ext <<_ACEOF
56485 /* confdefs.h.  */
56486 _ACEOF
56487 cat confdefs.h >>conftest.$ac_ext
56488 cat >>conftest.$ac_ext <<_ACEOF
56489 /* end confdefs.h.  */
56490 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56491    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56492 #define $ac_func innocuous_$ac_func
56493
56494 /* System header to define __stub macros and hopefully few prototypes,
56495     which can conflict with char $ac_func (); below.
56496     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56497     <limits.h> exists even on freestanding compilers.  */
56498
56499 #ifdef __STDC__
56500 # include <limits.h>
56501 #else
56502 # include <assert.h>
56503 #endif
56504
56505 #undef $ac_func
56506
56507 /* Override any GCC internal prototype to avoid an error.
56508    Use char because int might match the return type of a GCC
56509    builtin and then its argument prototype would still apply.  */
56510 #ifdef __cplusplus
56511 extern "C"
56512 #endif
56513 char $ac_func ();
56514 /* The GNU C library defines this for functions which it implements
56515     to always fail with ENOSYS.  Some functions are actually named
56516     something starting with __ and the normal name is an alias.  */
56517 #if defined __stub_$ac_func || defined __stub___$ac_func
56518 choke me
56519 #endif
56520
56521 int
56522 main ()
56523 {
56524 return $ac_func ();
56525   ;
56526   return 0;
56527 }
56528 _ACEOF
56529 rm -f conftest.$ac_objext conftest$ac_exeext
56530 if { (ac_try="$ac_link"
56531 case "(($ac_try" in
56532   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
56533   *) ac_try_echo=$ac_try;;
56534 esac
56535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
56536   (eval "$ac_link") 2>conftest.er1
56537   ac_status=$?
56538   grep -v '^ *+' conftest.er1 >conftest.err
56539   rm -f conftest.er1
56540   cat conftest.err >&5
56541   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56542   (exit $ac_status); } && {
56543          test -z "$ac_c_werror_flag" ||
56544          test ! -s conftest.err
56545        } && test -s conftest$ac_exeext &&
56546        $as_test_x conftest$ac_exeext; then
56547   eval "$as_ac_var=yes"
56548 else
56549   echo "$as_me: failed program was:" >&5
56550 sed 's/^/| /' conftest.$ac_ext >&5
56551
56552         eval "$as_ac_var=no"
56553 fi
56554
56555 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
56556       conftest$ac_exeext conftest.$ac_ext
56557 fi
56558 ac_res=`eval echo '${'$as_ac_var'}'`
56559                { echo "$as_me:$LINENO: result: $ac_res" >&5
56560 echo "${ECHO_T}$ac_res" >&6; }
56561 if test `eval echo '${'$as_ac_var'}'` = yes; then
56562   cat >>confdefs.h <<_ACEOF
56563 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56564 _ACEOF
56565
56566 fi
56567 done
56568
56569   else
56570
56571   { echo "$as_me:$LINENO: checking for _log10l declaration" >&5
56572 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6; }
56573   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
56574     if test "${glibcxx_cv_func__log10l_use+set}" = set; then
56575   echo $ECHO_N "(cached) $ECHO_C" >&6
56576 else
56577
56578
56579       ac_ext=cpp
56580 ac_cpp='$CXXCPP $CPPFLAGS'
56581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56584
56585       cat >conftest.$ac_ext <<_ACEOF
56586 /* confdefs.h.  */
56587 _ACEOF
56588 cat confdefs.h >>conftest.$ac_ext
56589 cat >>conftest.$ac_ext <<_ACEOF
56590 /* end confdefs.h.  */
56591 #include <math.h>
56592                       #ifdef HAVE_IEEEFP_H
56593                       #include <ieeefp.h>
56594                       #endif
56595
56596 int
56597 main ()
56598 {
56599  _log10l(0);
56600   ;
56601   return 0;
56602 }
56603 _ACEOF
56604 rm -f conftest.$ac_objext
56605 if { (ac_try="$ac_compile"
56606 case "(($ac_try" in
56607   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
56608   *) ac_try_echo=$ac_try;;
56609 esac
56610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
56611   (eval "$ac_compile") 2>conftest.er1
56612   ac_status=$?
56613   grep -v '^ *+' conftest.er1 >conftest.err
56614   rm -f conftest.er1
56615   cat conftest.err >&5
56616   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56617   (exit $ac_status); } && {
56618          test -z "$ac_cxx_werror_flag" ||
56619          test ! -s conftest.err
56620        } && test -s conftest.$ac_objext; then
56621   glibcxx_cv_func__log10l_use=yes
56622 else
56623   echo "$as_me: failed program was:" >&5
56624 sed 's/^/| /' conftest.$ac_ext >&5
56625
56626         glibcxx_cv_func__log10l_use=no
56627 fi
56628
56629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56630       ac_ext=c
56631 ac_cpp='$CPP $CPPFLAGS'
56632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56635
56636
56637 fi
56638
56639   fi
56640   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
56641 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6; }
56642
56643     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
56644
56645 for ac_func in _log10l
56646 do
56647 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56648 { echo "$as_me:$LINENO: checking for $ac_func" >&5
56649 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
56650 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
56651   echo $ECHO_N "(cached) $ECHO_C" >&6
56652 else
56653   if test x$gcc_no_link = xyes; then
56654   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56655 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56656    { (exit 1); exit 1; }; }
56657 fi
56658 cat >conftest.$ac_ext <<_ACEOF
56659 /* confdefs.h.  */
56660 _ACEOF
56661 cat confdefs.h >>conftest.$ac_ext
56662 cat >>conftest.$ac_ext <<_ACEOF
56663 /* end confdefs.h.  */
56664 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56665    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56666 #define $ac_func innocuous_$ac_func
56667
56668 /* System header to define __stub macros and hopefully few prototypes,
56669     which can conflict with char $ac_func (); below.
56670     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56671     <limits.h> exists even on freestanding compilers.  */
56672
56673 #ifdef __STDC__
56674 # include <limits.h>
56675 #else
56676 # include <assert.h>
56677 #endif
56678
56679 #undef $ac_func
56680
56681 /* Override any GCC internal prototype to avoid an error.
56682    Use char because int might match the return type of a GCC
56683    builtin and then its argument prototype would still apply.  */
56684 #ifdef __cplusplus
56685 extern "C"
56686 #endif
56687 char $ac_func ();
56688 /* The GNU C library defines this for functions which it implements
56689     to always fail with ENOSYS.  Some functions are actually named
56690     something starting with __ and the normal name is an alias.  */
56691 #if defined __stub_$ac_func || defined __stub___$ac_func
56692 choke me
56693 #endif
56694
56695 int
56696 main ()
56697 {
56698 return $ac_func ();
56699   ;
56700   return 0;
56701 }
56702 _ACEOF
56703 rm -f conftest.$ac_objext conftest$ac_exeext
56704 if { (ac_try="$ac_link"
56705 case "(($ac_try" in
56706   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
56707   *) ac_try_echo=$ac_try;;
56708 esac
56709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
56710   (eval "$ac_link") 2>conftest.er1
56711   ac_status=$?
56712   grep -v '^ *+' conftest.er1 >conftest.err
56713   rm -f conftest.er1
56714   cat conftest.err >&5
56715   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56716   (exit $ac_status); } && {
56717          test -z "$ac_c_werror_flag" ||
56718          test ! -s conftest.err
56719        } && test -s conftest$ac_exeext &&
56720        $as_test_x conftest$ac_exeext; then
56721   eval "$as_ac_var=yes"
56722 else
56723   echo "$as_me: failed program was:" >&5
56724 sed 's/^/| /' conftest.$ac_ext >&5
56725
56726         eval "$as_ac_var=no"
56727 fi
56728
56729 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
56730       conftest$ac_exeext conftest.$ac_ext
56731 fi
56732 ac_res=`eval echo '${'$as_ac_var'}'`
56733                { echo "$as_me:$LINENO: result: $ac_res" >&5
56734 echo "${ECHO_T}$ac_res" >&6; }
56735 if test `eval echo '${'$as_ac_var'}'` = yes; then
56736   cat >>confdefs.h <<_ACEOF
56737 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56738 _ACEOF
56739
56740 fi
56741 done
56742
56743     fi
56744   fi
56745
56746
56747
56748
56749
56750
56751   { echo "$as_me:$LINENO: checking for modfl declaration" >&5
56752 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6; }
56753   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
56754     if test "${glibcxx_cv_func_modfl_use+set}" = set; then
56755   echo $ECHO_N "(cached) $ECHO_C" >&6
56756 else
56757
56758
56759       ac_ext=cpp
56760 ac_cpp='$CXXCPP $CPPFLAGS'
56761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56764
56765       cat >conftest.$ac_ext <<_ACEOF
56766 /* confdefs.h.  */
56767 _ACEOF
56768 cat confdefs.h >>conftest.$ac_ext
56769 cat >>conftest.$ac_ext <<_ACEOF
56770 /* end confdefs.h.  */
56771 #include <math.h>
56772 int
56773 main ()
56774 {
56775  modfl(0, 0);
56776   ;
56777   return 0;
56778 }
56779 _ACEOF
56780 rm -f conftest.$ac_objext
56781 if { (ac_try="$ac_compile"
56782 case "(($ac_try" in
56783   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
56784   *) ac_try_echo=$ac_try;;
56785 esac
56786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
56787   (eval "$ac_compile") 2>conftest.er1
56788   ac_status=$?
56789   grep -v '^ *+' conftest.er1 >conftest.err
56790   rm -f conftest.er1
56791   cat conftest.err >&5
56792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56793   (exit $ac_status); } && {
56794          test -z "$ac_cxx_werror_flag" ||
56795          test ! -s conftest.err
56796        } && test -s conftest.$ac_objext; then
56797   glibcxx_cv_func_modfl_use=yes
56798 else
56799   echo "$as_me: failed program was:" >&5
56800 sed 's/^/| /' conftest.$ac_ext >&5
56801
56802         glibcxx_cv_func_modfl_use=no
56803 fi
56804
56805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56806       ac_ext=c
56807 ac_cpp='$CPP $CPPFLAGS'
56808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56811
56812
56813 fi
56814
56815   fi
56816   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
56817 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6; }
56818
56819   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
56820
56821 for ac_func in modfl
56822 do
56823 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56824 { echo "$as_me:$LINENO: checking for $ac_func" >&5
56825 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
56826 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
56827   echo $ECHO_N "(cached) $ECHO_C" >&6
56828 else
56829   if test x$gcc_no_link = xyes; then
56830   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56831 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56832    { (exit 1); exit 1; }; }
56833 fi
56834 cat >conftest.$ac_ext <<_ACEOF
56835 /* confdefs.h.  */
56836 _ACEOF
56837 cat confdefs.h >>conftest.$ac_ext
56838 cat >>conftest.$ac_ext <<_ACEOF
56839 /* end confdefs.h.  */
56840 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56841    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56842 #define $ac_func innocuous_$ac_func
56843
56844 /* System header to define __stub macros and hopefully few prototypes,
56845     which can conflict with char $ac_func (); below.
56846     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56847     <limits.h> exists even on freestanding compilers.  */
56848
56849 #ifdef __STDC__
56850 # include <limits.h>
56851 #else
56852 # include <assert.h>
56853 #endif
56854
56855 #undef $ac_func
56856
56857 /* Override any GCC internal prototype to avoid an error.
56858    Use char because int might match the return type of a GCC
56859    builtin and then its argument prototype would still apply.  */
56860 #ifdef __cplusplus
56861 extern "C"
56862 #endif
56863 char $ac_func ();
56864 /* The GNU C library defines this for functions which it implements
56865     to always fail with ENOSYS.  Some functions are actually named
56866     something starting with __ and the normal name is an alias.  */
56867 #if defined __stub_$ac_func || defined __stub___$ac_func
56868 choke me
56869 #endif
56870
56871 int
56872 main ()
56873 {
56874 return $ac_func ();
56875   ;
56876   return 0;
56877 }
56878 _ACEOF
56879 rm -f conftest.$ac_objext conftest$ac_exeext
56880 if { (ac_try="$ac_link"
56881 case "(($ac_try" in
56882   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
56883   *) ac_try_echo=$ac_try;;
56884 esac
56885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
56886   (eval "$ac_link") 2>conftest.er1
56887   ac_status=$?
56888   grep -v '^ *+' conftest.er1 >conftest.err
56889   rm -f conftest.er1
56890   cat conftest.err >&5
56891   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56892   (exit $ac_status); } && {
56893          test -z "$ac_c_werror_flag" ||
56894          test ! -s conftest.err
56895        } && test -s conftest$ac_exeext &&
56896        $as_test_x conftest$ac_exeext; then
56897   eval "$as_ac_var=yes"
56898 else
56899   echo "$as_me: failed program was:" >&5
56900 sed 's/^/| /' conftest.$ac_ext >&5
56901
56902         eval "$as_ac_var=no"
56903 fi
56904
56905 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
56906       conftest$ac_exeext conftest.$ac_ext
56907 fi
56908 ac_res=`eval echo '${'$as_ac_var'}'`
56909                { echo "$as_me:$LINENO: result: $ac_res" >&5
56910 echo "${ECHO_T}$ac_res" >&6; }
56911 if test `eval echo '${'$as_ac_var'}'` = yes; then
56912   cat >>confdefs.h <<_ACEOF
56913 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56914 _ACEOF
56915
56916 fi
56917 done
56918
56919   else
56920
56921   { echo "$as_me:$LINENO: checking for _modfl declaration" >&5
56922 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6; }
56923   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
56924     if test "${glibcxx_cv_func__modfl_use+set}" = set; then
56925   echo $ECHO_N "(cached) $ECHO_C" >&6
56926 else
56927
56928
56929       ac_ext=cpp
56930 ac_cpp='$CXXCPP $CPPFLAGS'
56931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56934
56935       cat >conftest.$ac_ext <<_ACEOF
56936 /* confdefs.h.  */
56937 _ACEOF
56938 cat confdefs.h >>conftest.$ac_ext
56939 cat >>conftest.$ac_ext <<_ACEOF
56940 /* end confdefs.h.  */
56941 #include <math.h>
56942 int
56943 main ()
56944 {
56945  _modfl(0, 0);
56946   ;
56947   return 0;
56948 }
56949 _ACEOF
56950 rm -f conftest.$ac_objext
56951 if { (ac_try="$ac_compile"
56952 case "(($ac_try" in
56953   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
56954   *) ac_try_echo=$ac_try;;
56955 esac
56956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
56957   (eval "$ac_compile") 2>conftest.er1
56958   ac_status=$?
56959   grep -v '^ *+' conftest.er1 >conftest.err
56960   rm -f conftest.er1
56961   cat conftest.err >&5
56962   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56963   (exit $ac_status); } && {
56964          test -z "$ac_cxx_werror_flag" ||
56965          test ! -s conftest.err
56966        } && test -s conftest.$ac_objext; then
56967   glibcxx_cv_func__modfl_use=yes
56968 else
56969   echo "$as_me: failed program was:" >&5
56970 sed 's/^/| /' conftest.$ac_ext >&5
56971
56972         glibcxx_cv_func__modfl_use=no
56973 fi
56974
56975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56976       ac_ext=c
56977 ac_cpp='$CPP $CPPFLAGS'
56978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56981
56982
56983 fi
56984
56985   fi
56986   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
56987 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6; }
56988
56989     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
56990
56991 for ac_func in _modfl
56992 do
56993 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56994 { echo "$as_me:$LINENO: checking for $ac_func" >&5
56995 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
56996 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
56997   echo $ECHO_N "(cached) $ECHO_C" >&6
56998 else
56999   if test x$gcc_no_link = xyes; then
57000   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57001 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57002    { (exit 1); exit 1; }; }
57003 fi
57004 cat >conftest.$ac_ext <<_ACEOF
57005 /* confdefs.h.  */
57006 _ACEOF
57007 cat confdefs.h >>conftest.$ac_ext
57008 cat >>conftest.$ac_ext <<_ACEOF
57009 /* end confdefs.h.  */
57010 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57011    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57012 #define $ac_func innocuous_$ac_func
57013
57014 /* System header to define __stub macros and hopefully few prototypes,
57015     which can conflict with char $ac_func (); below.
57016     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57017     <limits.h> exists even on freestanding compilers.  */
57018
57019 #ifdef __STDC__
57020 # include <limits.h>
57021 #else
57022 # include <assert.h>
57023 #endif
57024
57025 #undef $ac_func
57026
57027 /* Override any GCC internal prototype to avoid an error.
57028    Use char because int might match the return type of a GCC
57029    builtin and then its argument prototype would still apply.  */
57030 #ifdef __cplusplus
57031 extern "C"
57032 #endif
57033 char $ac_func ();
57034 /* The GNU C library defines this for functions which it implements
57035     to always fail with ENOSYS.  Some functions are actually named
57036     something starting with __ and the normal name is an alias.  */
57037 #if defined __stub_$ac_func || defined __stub___$ac_func
57038 choke me
57039 #endif
57040
57041 int
57042 main ()
57043 {
57044 return $ac_func ();
57045   ;
57046   return 0;
57047 }
57048 _ACEOF
57049 rm -f conftest.$ac_objext conftest$ac_exeext
57050 if { (ac_try="$ac_link"
57051 case "(($ac_try" in
57052   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
57053   *) ac_try_echo=$ac_try;;
57054 esac
57055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
57056   (eval "$ac_link") 2>conftest.er1
57057   ac_status=$?
57058   grep -v '^ *+' conftest.er1 >conftest.err
57059   rm -f conftest.er1
57060   cat conftest.err >&5
57061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57062   (exit $ac_status); } && {
57063          test -z "$ac_c_werror_flag" ||
57064          test ! -s conftest.err
57065        } && test -s conftest$ac_exeext &&
57066        $as_test_x conftest$ac_exeext; then
57067   eval "$as_ac_var=yes"
57068 else
57069   echo "$as_me: failed program was:" >&5
57070 sed 's/^/| /' conftest.$ac_ext >&5
57071
57072         eval "$as_ac_var=no"
57073 fi
57074
57075 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
57076       conftest$ac_exeext conftest.$ac_ext
57077 fi
57078 ac_res=`eval echo '${'$as_ac_var'}'`
57079                { echo "$as_me:$LINENO: result: $ac_res" >&5
57080 echo "${ECHO_T}$ac_res" >&6; }
57081 if test `eval echo '${'$as_ac_var'}'` = yes; then
57082   cat >>confdefs.h <<_ACEOF
57083 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57084 _ACEOF
57085
57086 fi
57087 done
57088
57089     fi
57090   fi
57091
57092
57093
57094
57095
57096
57097   { echo "$as_me:$LINENO: checking for powl declaration" >&5
57098 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6; }
57099   if test x${glibcxx_cv_func_powl_use+set} != xset; then
57100     if test "${glibcxx_cv_func_powl_use+set}" = set; then
57101   echo $ECHO_N "(cached) $ECHO_C" >&6
57102 else
57103
57104
57105       ac_ext=cpp
57106 ac_cpp='$CXXCPP $CPPFLAGS'
57107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57110
57111       cat >conftest.$ac_ext <<_ACEOF
57112 /* confdefs.h.  */
57113 _ACEOF
57114 cat confdefs.h >>conftest.$ac_ext
57115 cat >>conftest.$ac_ext <<_ACEOF
57116 /* end confdefs.h.  */
57117 #include <math.h>
57118 int
57119 main ()
57120 {
57121  powl(0, 0);
57122   ;
57123   return 0;
57124 }
57125 _ACEOF
57126 rm -f conftest.$ac_objext
57127 if { (ac_try="$ac_compile"
57128 case "(($ac_try" in
57129   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
57130   *) ac_try_echo=$ac_try;;
57131 esac
57132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
57133   (eval "$ac_compile") 2>conftest.er1
57134   ac_status=$?
57135   grep -v '^ *+' conftest.er1 >conftest.err
57136   rm -f conftest.er1
57137   cat conftest.err >&5
57138   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57139   (exit $ac_status); } && {
57140          test -z "$ac_cxx_werror_flag" ||
57141          test ! -s conftest.err
57142        } && test -s conftest.$ac_objext; then
57143   glibcxx_cv_func_powl_use=yes
57144 else
57145   echo "$as_me: failed program was:" >&5
57146 sed 's/^/| /' conftest.$ac_ext >&5
57147
57148         glibcxx_cv_func_powl_use=no
57149 fi
57150
57151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57152       ac_ext=c
57153 ac_cpp='$CPP $CPPFLAGS'
57154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57157
57158
57159 fi
57160
57161   fi
57162   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
57163 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6; }
57164
57165   if test x$glibcxx_cv_func_powl_use = x"yes"; then
57166
57167 for ac_func in powl
57168 do
57169 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57170 { echo "$as_me:$LINENO: checking for $ac_func" >&5
57171 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
57172 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
57173   echo $ECHO_N "(cached) $ECHO_C" >&6
57174 else
57175   if test x$gcc_no_link = xyes; then
57176   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57177 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57178    { (exit 1); exit 1; }; }
57179 fi
57180 cat >conftest.$ac_ext <<_ACEOF
57181 /* confdefs.h.  */
57182 _ACEOF
57183 cat confdefs.h >>conftest.$ac_ext
57184 cat >>conftest.$ac_ext <<_ACEOF
57185 /* end confdefs.h.  */
57186 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57187    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57188 #define $ac_func innocuous_$ac_func
57189
57190 /* System header to define __stub macros and hopefully few prototypes,
57191     which can conflict with char $ac_func (); below.
57192     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57193     <limits.h> exists even on freestanding compilers.  */
57194
57195 #ifdef __STDC__
57196 # include <limits.h>
57197 #else
57198 # include <assert.h>
57199 #endif
57200
57201 #undef $ac_func
57202
57203 /* Override any GCC internal prototype to avoid an error.
57204    Use char because int might match the return type of a GCC
57205    builtin and then its argument prototype would still apply.  */
57206 #ifdef __cplusplus
57207 extern "C"
57208 #endif
57209 char $ac_func ();
57210 /* The GNU C library defines this for functions which it implements
57211     to always fail with ENOSYS.  Some functions are actually named
57212     something starting with __ and the normal name is an alias.  */
57213 #if defined __stub_$ac_func || defined __stub___$ac_func
57214 choke me
57215 #endif
57216
57217 int
57218 main ()
57219 {
57220 return $ac_func ();
57221   ;
57222   return 0;
57223 }
57224 _ACEOF
57225 rm -f conftest.$ac_objext conftest$ac_exeext
57226 if { (ac_try="$ac_link"
57227 case "(($ac_try" in
57228   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
57229   *) ac_try_echo=$ac_try;;
57230 esac
57231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
57232   (eval "$ac_link") 2>conftest.er1
57233   ac_status=$?
57234   grep -v '^ *+' conftest.er1 >conftest.err
57235   rm -f conftest.er1
57236   cat conftest.err >&5
57237   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57238   (exit $ac_status); } && {
57239          test -z "$ac_c_werror_flag" ||
57240          test ! -s conftest.err
57241        } && test -s conftest$ac_exeext &&
57242        $as_test_x conftest$ac_exeext; then
57243   eval "$as_ac_var=yes"
57244 else
57245   echo "$as_me: failed program was:" >&5
57246 sed 's/^/| /' conftest.$ac_ext >&5
57247
57248         eval "$as_ac_var=no"
57249 fi
57250
57251 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
57252       conftest$ac_exeext conftest.$ac_ext
57253 fi
57254 ac_res=`eval echo '${'$as_ac_var'}'`
57255                { echo "$as_me:$LINENO: result: $ac_res" >&5
57256 echo "${ECHO_T}$ac_res" >&6; }
57257 if test `eval echo '${'$as_ac_var'}'` = yes; then
57258   cat >>confdefs.h <<_ACEOF
57259 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57260 _ACEOF
57261
57262 fi
57263 done
57264
57265   else
57266
57267   { echo "$as_me:$LINENO: checking for _powl declaration" >&5
57268 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6; }
57269   if test x${glibcxx_cv_func__powl_use+set} != xset; then
57270     if test "${glibcxx_cv_func__powl_use+set}" = set; then
57271   echo $ECHO_N "(cached) $ECHO_C" >&6
57272 else
57273
57274
57275       ac_ext=cpp
57276 ac_cpp='$CXXCPP $CPPFLAGS'
57277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57280
57281       cat >conftest.$ac_ext <<_ACEOF
57282 /* confdefs.h.  */
57283 _ACEOF
57284 cat confdefs.h >>conftest.$ac_ext
57285 cat >>conftest.$ac_ext <<_ACEOF
57286 /* end confdefs.h.  */
57287 #include <math.h>
57288 int
57289 main ()
57290 {
57291  _powl(0, 0);
57292   ;
57293   return 0;
57294 }
57295 _ACEOF
57296 rm -f conftest.$ac_objext
57297 if { (ac_try="$ac_compile"
57298 case "(($ac_try" in
57299   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
57300   *) ac_try_echo=$ac_try;;
57301 esac
57302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
57303   (eval "$ac_compile") 2>conftest.er1
57304   ac_status=$?
57305   grep -v '^ *+' conftest.er1 >conftest.err
57306   rm -f conftest.er1
57307   cat conftest.err >&5
57308   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57309   (exit $ac_status); } && {
57310          test -z "$ac_cxx_werror_flag" ||
57311          test ! -s conftest.err
57312        } && test -s conftest.$ac_objext; then
57313   glibcxx_cv_func__powl_use=yes
57314 else
57315   echo "$as_me: failed program was:" >&5
57316 sed 's/^/| /' conftest.$ac_ext >&5
57317
57318         glibcxx_cv_func__powl_use=no
57319 fi
57320
57321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57322       ac_ext=c
57323 ac_cpp='$CPP $CPPFLAGS'
57324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57327
57328
57329 fi
57330
57331   fi
57332   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
57333 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6; }
57334
57335     if test x$glibcxx_cv_func__powl_use = x"yes"; then
57336
57337 for ac_func in _powl
57338 do
57339 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57340 { echo "$as_me:$LINENO: checking for $ac_func" >&5
57341 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
57342 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
57343   echo $ECHO_N "(cached) $ECHO_C" >&6
57344 else
57345   if test x$gcc_no_link = xyes; then
57346   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57347 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57348    { (exit 1); exit 1; }; }
57349 fi
57350 cat >conftest.$ac_ext <<_ACEOF
57351 /* confdefs.h.  */
57352 _ACEOF
57353 cat confdefs.h >>conftest.$ac_ext
57354 cat >>conftest.$ac_ext <<_ACEOF
57355 /* end confdefs.h.  */
57356 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57357    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57358 #define $ac_func innocuous_$ac_func
57359
57360 /* System header to define __stub macros and hopefully few prototypes,
57361     which can conflict with char $ac_func (); below.
57362     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57363     <limits.h> exists even on freestanding compilers.  */
57364
57365 #ifdef __STDC__
57366 # include <limits.h>
57367 #else
57368 # include <assert.h>
57369 #endif
57370
57371 #undef $ac_func
57372
57373 /* Override any GCC internal prototype to avoid an error.
57374    Use char because int might match the return type of a GCC
57375    builtin and then its argument prototype would still apply.  */
57376 #ifdef __cplusplus
57377 extern "C"
57378 #endif
57379 char $ac_func ();
57380 /* The GNU C library defines this for functions which it implements
57381     to always fail with ENOSYS.  Some functions are actually named
57382     something starting with __ and the normal name is an alias.  */
57383 #if defined __stub_$ac_func || defined __stub___$ac_func
57384 choke me
57385 #endif
57386
57387 int
57388 main ()
57389 {
57390 return $ac_func ();
57391   ;
57392   return 0;
57393 }
57394 _ACEOF
57395 rm -f conftest.$ac_objext conftest$ac_exeext
57396 if { (ac_try="$ac_link"
57397 case "(($ac_try" in
57398   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
57399   *) ac_try_echo=$ac_try;;
57400 esac
57401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
57402   (eval "$ac_link") 2>conftest.er1
57403   ac_status=$?
57404   grep -v '^ *+' conftest.er1 >conftest.err
57405   rm -f conftest.er1
57406   cat conftest.err >&5
57407   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57408   (exit $ac_status); } && {
57409          test -z "$ac_c_werror_flag" ||
57410          test ! -s conftest.err
57411        } && test -s conftest$ac_exeext &&
57412        $as_test_x conftest$ac_exeext; then
57413   eval "$as_ac_var=yes"
57414 else
57415   echo "$as_me: failed program was:" >&5
57416 sed 's/^/| /' conftest.$ac_ext >&5
57417
57418         eval "$as_ac_var=no"
57419 fi
57420
57421 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
57422       conftest$ac_exeext conftest.$ac_ext
57423 fi
57424 ac_res=`eval echo '${'$as_ac_var'}'`
57425                { echo "$as_me:$LINENO: result: $ac_res" >&5
57426 echo "${ECHO_T}$ac_res" >&6; }
57427 if test `eval echo '${'$as_ac_var'}'` = yes; then
57428   cat >>confdefs.h <<_ACEOF
57429 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57430 _ACEOF
57431
57432 fi
57433 done
57434
57435     fi
57436   fi
57437
57438
57439
57440
57441
57442
57443   { echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
57444 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6; }
57445   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
57446     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
57447   echo $ECHO_N "(cached) $ECHO_C" >&6
57448 else
57449
57450
57451       ac_ext=cpp
57452 ac_cpp='$CXXCPP $CPPFLAGS'
57453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57456
57457       cat >conftest.$ac_ext <<_ACEOF
57458 /* confdefs.h.  */
57459 _ACEOF
57460 cat confdefs.h >>conftest.$ac_ext
57461 cat >>conftest.$ac_ext <<_ACEOF
57462 /* end confdefs.h.  */
57463 #include <math.h>
57464                       #ifdef HAVE_IEEEFP_H
57465                       #include <ieeefp.h>
57466                       #endif
57467
57468 int
57469 main ()
57470 {
57471  sqrtl(0);
57472   ;
57473   return 0;
57474 }
57475 _ACEOF
57476 rm -f conftest.$ac_objext
57477 if { (ac_try="$ac_compile"
57478 case "(($ac_try" in
57479   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
57480   *) ac_try_echo=$ac_try;;
57481 esac
57482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
57483   (eval "$ac_compile") 2>conftest.er1
57484   ac_status=$?
57485   grep -v '^ *+' conftest.er1 >conftest.err
57486   rm -f conftest.er1
57487   cat conftest.err >&5
57488   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57489   (exit $ac_status); } && {
57490          test -z "$ac_cxx_werror_flag" ||
57491          test ! -s conftest.err
57492        } && test -s conftest.$ac_objext; then
57493   glibcxx_cv_func_sqrtl_use=yes
57494 else
57495   echo "$as_me: failed program was:" >&5
57496 sed 's/^/| /' conftest.$ac_ext >&5
57497
57498         glibcxx_cv_func_sqrtl_use=no
57499 fi
57500
57501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57502       ac_ext=c
57503 ac_cpp='$CPP $CPPFLAGS'
57504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57507
57508
57509 fi
57510
57511   fi
57512   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
57513 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6; }
57514
57515   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
57516
57517 for ac_func in sqrtl
57518 do
57519 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57520 { echo "$as_me:$LINENO: checking for $ac_func" >&5
57521 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
57522 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
57523   echo $ECHO_N "(cached) $ECHO_C" >&6
57524 else
57525   if test x$gcc_no_link = xyes; then
57526   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57527 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57528    { (exit 1); exit 1; }; }
57529 fi
57530 cat >conftest.$ac_ext <<_ACEOF
57531 /* confdefs.h.  */
57532 _ACEOF
57533 cat confdefs.h >>conftest.$ac_ext
57534 cat >>conftest.$ac_ext <<_ACEOF
57535 /* end confdefs.h.  */
57536 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57537    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57538 #define $ac_func innocuous_$ac_func
57539
57540 /* System header to define __stub macros and hopefully few prototypes,
57541     which can conflict with char $ac_func (); below.
57542     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57543     <limits.h> exists even on freestanding compilers.  */
57544
57545 #ifdef __STDC__
57546 # include <limits.h>
57547 #else
57548 # include <assert.h>
57549 #endif
57550
57551 #undef $ac_func
57552
57553 /* Override any GCC internal prototype to avoid an error.
57554    Use char because int might match the return type of a GCC
57555    builtin and then its argument prototype would still apply.  */
57556 #ifdef __cplusplus
57557 extern "C"
57558 #endif
57559 char $ac_func ();
57560 /* The GNU C library defines this for functions which it implements
57561     to always fail with ENOSYS.  Some functions are actually named
57562     something starting with __ and the normal name is an alias.  */
57563 #if defined __stub_$ac_func || defined __stub___$ac_func
57564 choke me
57565 #endif
57566
57567 int
57568 main ()
57569 {
57570 return $ac_func ();
57571   ;
57572   return 0;
57573 }
57574 _ACEOF
57575 rm -f conftest.$ac_objext conftest$ac_exeext
57576 if { (ac_try="$ac_link"
57577 case "(($ac_try" in
57578   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
57579   *) ac_try_echo=$ac_try;;
57580 esac
57581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
57582   (eval "$ac_link") 2>conftest.er1
57583   ac_status=$?
57584   grep -v '^ *+' conftest.er1 >conftest.err
57585   rm -f conftest.er1
57586   cat conftest.err >&5
57587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57588   (exit $ac_status); } && {
57589          test -z "$ac_c_werror_flag" ||
57590          test ! -s conftest.err
57591        } && test -s conftest$ac_exeext &&
57592        $as_test_x conftest$ac_exeext; then
57593   eval "$as_ac_var=yes"
57594 else
57595   echo "$as_me: failed program was:" >&5
57596 sed 's/^/| /' conftest.$ac_ext >&5
57597
57598         eval "$as_ac_var=no"
57599 fi
57600
57601 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
57602       conftest$ac_exeext conftest.$ac_ext
57603 fi
57604 ac_res=`eval echo '${'$as_ac_var'}'`
57605                { echo "$as_me:$LINENO: result: $ac_res" >&5
57606 echo "${ECHO_T}$ac_res" >&6; }
57607 if test `eval echo '${'$as_ac_var'}'` = yes; then
57608   cat >>confdefs.h <<_ACEOF
57609 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57610 _ACEOF
57611
57612 fi
57613 done
57614
57615   else
57616
57617   { echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
57618 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6; }
57619   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
57620     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
57621   echo $ECHO_N "(cached) $ECHO_C" >&6
57622 else
57623
57624
57625       ac_ext=cpp
57626 ac_cpp='$CXXCPP $CPPFLAGS'
57627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57630
57631       cat >conftest.$ac_ext <<_ACEOF
57632 /* confdefs.h.  */
57633 _ACEOF
57634 cat confdefs.h >>conftest.$ac_ext
57635 cat >>conftest.$ac_ext <<_ACEOF
57636 /* end confdefs.h.  */
57637 #include <math.h>
57638                       #ifdef HAVE_IEEEFP_H
57639                       #include <ieeefp.h>
57640                       #endif
57641
57642 int
57643 main ()
57644 {
57645  _sqrtl(0);
57646   ;
57647   return 0;
57648 }
57649 _ACEOF
57650 rm -f conftest.$ac_objext
57651 if { (ac_try="$ac_compile"
57652 case "(($ac_try" in
57653   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
57654   *) ac_try_echo=$ac_try;;
57655 esac
57656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
57657   (eval "$ac_compile") 2>conftest.er1
57658   ac_status=$?
57659   grep -v '^ *+' conftest.er1 >conftest.err
57660   rm -f conftest.er1
57661   cat conftest.err >&5
57662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57663   (exit $ac_status); } && {
57664          test -z "$ac_cxx_werror_flag" ||
57665          test ! -s conftest.err
57666        } && test -s conftest.$ac_objext; then
57667   glibcxx_cv_func__sqrtl_use=yes
57668 else
57669   echo "$as_me: failed program was:" >&5
57670 sed 's/^/| /' conftest.$ac_ext >&5
57671
57672         glibcxx_cv_func__sqrtl_use=no
57673 fi
57674
57675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57676       ac_ext=c
57677 ac_cpp='$CPP $CPPFLAGS'
57678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57681
57682
57683 fi
57684
57685   fi
57686   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
57687 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6; }
57688
57689     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
57690
57691 for ac_func in _sqrtl
57692 do
57693 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57694 { echo "$as_me:$LINENO: checking for $ac_func" >&5
57695 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
57696 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
57697   echo $ECHO_N "(cached) $ECHO_C" >&6
57698 else
57699   if test x$gcc_no_link = xyes; then
57700   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57701 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57702    { (exit 1); exit 1; }; }
57703 fi
57704 cat >conftest.$ac_ext <<_ACEOF
57705 /* confdefs.h.  */
57706 _ACEOF
57707 cat confdefs.h >>conftest.$ac_ext
57708 cat >>conftest.$ac_ext <<_ACEOF
57709 /* end confdefs.h.  */
57710 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57711    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57712 #define $ac_func innocuous_$ac_func
57713
57714 /* System header to define __stub macros and hopefully few prototypes,
57715     which can conflict with char $ac_func (); below.
57716     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57717     <limits.h> exists even on freestanding compilers.  */
57718
57719 #ifdef __STDC__
57720 # include <limits.h>
57721 #else
57722 # include <assert.h>
57723 #endif
57724
57725 #undef $ac_func
57726
57727 /* Override any GCC internal prototype to avoid an error.
57728    Use char because int might match the return type of a GCC
57729    builtin and then its argument prototype would still apply.  */
57730 #ifdef __cplusplus
57731 extern "C"
57732 #endif
57733 char $ac_func ();
57734 /* The GNU C library defines this for functions which it implements
57735     to always fail with ENOSYS.  Some functions are actually named
57736     something starting with __ and the normal name is an alias.  */
57737 #if defined __stub_$ac_func || defined __stub___$ac_func
57738 choke me
57739 #endif
57740
57741 int
57742 main ()
57743 {
57744 return $ac_func ();
57745   ;
57746   return 0;
57747 }
57748 _ACEOF
57749 rm -f conftest.$ac_objext conftest$ac_exeext
57750 if { (ac_try="$ac_link"
57751 case "(($ac_try" in
57752   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
57753   *) ac_try_echo=$ac_try;;
57754 esac
57755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
57756   (eval "$ac_link") 2>conftest.er1
57757   ac_status=$?
57758   grep -v '^ *+' conftest.er1 >conftest.err
57759   rm -f conftest.er1
57760   cat conftest.err >&5
57761   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57762   (exit $ac_status); } && {
57763          test -z "$ac_c_werror_flag" ||
57764          test ! -s conftest.err
57765        } && test -s conftest$ac_exeext &&
57766        $as_test_x conftest$ac_exeext; then
57767   eval "$as_ac_var=yes"
57768 else
57769   echo "$as_me: failed program was:" >&5
57770 sed 's/^/| /' conftest.$ac_ext >&5
57771
57772         eval "$as_ac_var=no"
57773 fi
57774
57775 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
57776       conftest$ac_exeext conftest.$ac_ext
57777 fi
57778 ac_res=`eval echo '${'$as_ac_var'}'`
57779                { echo "$as_me:$LINENO: result: $ac_res" >&5
57780 echo "${ECHO_T}$ac_res" >&6; }
57781 if test `eval echo '${'$as_ac_var'}'` = yes; then
57782   cat >>confdefs.h <<_ACEOF
57783 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57784 _ACEOF
57785
57786 fi
57787 done
57788
57789     fi
57790   fi
57791
57792
57793
57794
57795
57796
57797   { echo "$as_me:$LINENO: checking for sincosl declaration" >&5
57798 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6; }
57799   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
57800     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
57801   echo $ECHO_N "(cached) $ECHO_C" >&6
57802 else
57803
57804
57805       ac_ext=cpp
57806 ac_cpp='$CXXCPP $CPPFLAGS'
57807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57810
57811       cat >conftest.$ac_ext <<_ACEOF
57812 /* confdefs.h.  */
57813 _ACEOF
57814 cat confdefs.h >>conftest.$ac_ext
57815 cat >>conftest.$ac_ext <<_ACEOF
57816 /* end confdefs.h.  */
57817 #include <math.h>
57818 int
57819 main ()
57820 {
57821  sincosl(0, 0, 0);
57822   ;
57823   return 0;
57824 }
57825 _ACEOF
57826 rm -f conftest.$ac_objext
57827 if { (ac_try="$ac_compile"
57828 case "(($ac_try" in
57829   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
57830   *) ac_try_echo=$ac_try;;
57831 esac
57832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
57833   (eval "$ac_compile") 2>conftest.er1
57834   ac_status=$?
57835   grep -v '^ *+' conftest.er1 >conftest.err
57836   rm -f conftest.er1
57837   cat conftest.err >&5
57838   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57839   (exit $ac_status); } && {
57840          test -z "$ac_cxx_werror_flag" ||
57841          test ! -s conftest.err
57842        } && test -s conftest.$ac_objext; then
57843   glibcxx_cv_func_sincosl_use=yes
57844 else
57845   echo "$as_me: failed program was:" >&5
57846 sed 's/^/| /' conftest.$ac_ext >&5
57847
57848         glibcxx_cv_func_sincosl_use=no
57849 fi
57850
57851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57852       ac_ext=c
57853 ac_cpp='$CPP $CPPFLAGS'
57854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57857
57858
57859 fi
57860
57861   fi
57862   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
57863 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6; }
57864
57865   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
57866
57867 for ac_func in sincosl
57868 do
57869 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57870 { echo "$as_me:$LINENO: checking for $ac_func" >&5
57871 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
57872 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
57873   echo $ECHO_N "(cached) $ECHO_C" >&6
57874 else
57875   if test x$gcc_no_link = xyes; then
57876   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57877 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57878    { (exit 1); exit 1; }; }
57879 fi
57880 cat >conftest.$ac_ext <<_ACEOF
57881 /* confdefs.h.  */
57882 _ACEOF
57883 cat confdefs.h >>conftest.$ac_ext
57884 cat >>conftest.$ac_ext <<_ACEOF
57885 /* end confdefs.h.  */
57886 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57887    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57888 #define $ac_func innocuous_$ac_func
57889
57890 /* System header to define __stub macros and hopefully few prototypes,
57891     which can conflict with char $ac_func (); below.
57892     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57893     <limits.h> exists even on freestanding compilers.  */
57894
57895 #ifdef __STDC__
57896 # include <limits.h>
57897 #else
57898 # include <assert.h>
57899 #endif
57900
57901 #undef $ac_func
57902
57903 /* Override any GCC internal prototype to avoid an error.
57904    Use char because int might match the return type of a GCC
57905    builtin and then its argument prototype would still apply.  */
57906 #ifdef __cplusplus
57907 extern "C"
57908 #endif
57909 char $ac_func ();
57910 /* The GNU C library defines this for functions which it implements
57911     to always fail with ENOSYS.  Some functions are actually named
57912     something starting with __ and the normal name is an alias.  */
57913 #if defined __stub_$ac_func || defined __stub___$ac_func
57914 choke me
57915 #endif
57916
57917 int
57918 main ()
57919 {
57920 return $ac_func ();
57921   ;
57922   return 0;
57923 }
57924 _ACEOF
57925 rm -f conftest.$ac_objext conftest$ac_exeext
57926 if { (ac_try="$ac_link"
57927 case "(($ac_try" in
57928   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
57929   *) ac_try_echo=$ac_try;;
57930 esac
57931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
57932   (eval "$ac_link") 2>conftest.er1
57933   ac_status=$?
57934   grep -v '^ *+' conftest.er1 >conftest.err
57935   rm -f conftest.er1
57936   cat conftest.err >&5
57937   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57938   (exit $ac_status); } && {
57939          test -z "$ac_c_werror_flag" ||
57940          test ! -s conftest.err
57941        } && test -s conftest$ac_exeext &&
57942        $as_test_x conftest$ac_exeext; then
57943   eval "$as_ac_var=yes"
57944 else
57945   echo "$as_me: failed program was:" >&5
57946 sed 's/^/| /' conftest.$ac_ext >&5
57947
57948         eval "$as_ac_var=no"
57949 fi
57950
57951 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
57952       conftest$ac_exeext conftest.$ac_ext
57953 fi
57954 ac_res=`eval echo '${'$as_ac_var'}'`
57955                { echo "$as_me:$LINENO: result: $ac_res" >&5
57956 echo "${ECHO_T}$ac_res" >&6; }
57957 if test `eval echo '${'$as_ac_var'}'` = yes; then
57958   cat >>confdefs.h <<_ACEOF
57959 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57960 _ACEOF
57961
57962 fi
57963 done
57964
57965   else
57966
57967   { echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
57968 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6; }
57969   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
57970     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
57971   echo $ECHO_N "(cached) $ECHO_C" >&6
57972 else
57973
57974
57975       ac_ext=cpp
57976 ac_cpp='$CXXCPP $CPPFLAGS'
57977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57980
57981       cat >conftest.$ac_ext <<_ACEOF
57982 /* confdefs.h.  */
57983 _ACEOF
57984 cat confdefs.h >>conftest.$ac_ext
57985 cat >>conftest.$ac_ext <<_ACEOF
57986 /* end confdefs.h.  */
57987 #include <math.h>
57988 int
57989 main ()
57990 {
57991  _sincosl(0, 0, 0);
57992   ;
57993   return 0;
57994 }
57995 _ACEOF
57996 rm -f conftest.$ac_objext
57997 if { (ac_try="$ac_compile"
57998 case "(($ac_try" in
57999   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
58000   *) ac_try_echo=$ac_try;;
58001 esac
58002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
58003   (eval "$ac_compile") 2>conftest.er1
58004   ac_status=$?
58005   grep -v '^ *+' conftest.er1 >conftest.err
58006   rm -f conftest.er1
58007   cat conftest.err >&5
58008   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58009   (exit $ac_status); } && {
58010          test -z "$ac_cxx_werror_flag" ||
58011          test ! -s conftest.err
58012        } && test -s conftest.$ac_objext; then
58013   glibcxx_cv_func__sincosl_use=yes
58014 else
58015   echo "$as_me: failed program was:" >&5
58016 sed 's/^/| /' conftest.$ac_ext >&5
58017
58018         glibcxx_cv_func__sincosl_use=no
58019 fi
58020
58021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58022       ac_ext=c
58023 ac_cpp='$CPP $CPPFLAGS'
58024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58027
58028
58029 fi
58030
58031   fi
58032   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
58033 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6; }
58034
58035     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
58036
58037 for ac_func in _sincosl
58038 do
58039 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58040 { echo "$as_me:$LINENO: checking for $ac_func" >&5
58041 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
58042 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
58043   echo $ECHO_N "(cached) $ECHO_C" >&6
58044 else
58045   if test x$gcc_no_link = xyes; then
58046   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58047 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58048    { (exit 1); exit 1; }; }
58049 fi
58050 cat >conftest.$ac_ext <<_ACEOF
58051 /* confdefs.h.  */
58052 _ACEOF
58053 cat confdefs.h >>conftest.$ac_ext
58054 cat >>conftest.$ac_ext <<_ACEOF
58055 /* end confdefs.h.  */
58056 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58057    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58058 #define $ac_func innocuous_$ac_func
58059
58060 /* System header to define __stub macros and hopefully few prototypes,
58061     which can conflict with char $ac_func (); below.
58062     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58063     <limits.h> exists even on freestanding compilers.  */
58064
58065 #ifdef __STDC__
58066 # include <limits.h>
58067 #else
58068 # include <assert.h>
58069 #endif
58070
58071 #undef $ac_func
58072
58073 /* Override any GCC internal prototype to avoid an error.
58074    Use char because int might match the return type of a GCC
58075    builtin and then its argument prototype would still apply.  */
58076 #ifdef __cplusplus
58077 extern "C"
58078 #endif
58079 char $ac_func ();
58080 /* The GNU C library defines this for functions which it implements
58081     to always fail with ENOSYS.  Some functions are actually named
58082     something starting with __ and the normal name is an alias.  */
58083 #if defined __stub_$ac_func || defined __stub___$ac_func
58084 choke me
58085 #endif
58086
58087 int
58088 main ()
58089 {
58090 return $ac_func ();
58091   ;
58092   return 0;
58093 }
58094 _ACEOF
58095 rm -f conftest.$ac_objext conftest$ac_exeext
58096 if { (ac_try="$ac_link"
58097 case "(($ac_try" in
58098   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
58099   *) ac_try_echo=$ac_try;;
58100 esac
58101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
58102   (eval "$ac_link") 2>conftest.er1
58103   ac_status=$?
58104   grep -v '^ *+' conftest.er1 >conftest.err
58105   rm -f conftest.er1
58106   cat conftest.err >&5
58107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58108   (exit $ac_status); } && {
58109          test -z "$ac_c_werror_flag" ||
58110          test ! -s conftest.err
58111        } && test -s conftest$ac_exeext &&
58112        $as_test_x conftest$ac_exeext; then
58113   eval "$as_ac_var=yes"
58114 else
58115   echo "$as_me: failed program was:" >&5
58116 sed 's/^/| /' conftest.$ac_ext >&5
58117
58118         eval "$as_ac_var=no"
58119 fi
58120
58121 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
58122       conftest$ac_exeext conftest.$ac_ext
58123 fi
58124 ac_res=`eval echo '${'$as_ac_var'}'`
58125                { echo "$as_me:$LINENO: result: $ac_res" >&5
58126 echo "${ECHO_T}$ac_res" >&6; }
58127 if test `eval echo '${'$as_ac_var'}'` = yes; then
58128   cat >>confdefs.h <<_ACEOF
58129 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58130 _ACEOF
58131
58132 fi
58133 done
58134
58135     fi
58136   fi
58137
58138
58139
58140
58141
58142
58143   { echo "$as_me:$LINENO: checking for finitel declaration" >&5
58144 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6; }
58145   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
58146     if test "${glibcxx_cv_func_finitel_use+set}" = set; then
58147   echo $ECHO_N "(cached) $ECHO_C" >&6
58148 else
58149
58150
58151       ac_ext=cpp
58152 ac_cpp='$CXXCPP $CPPFLAGS'
58153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58156
58157       cat >conftest.$ac_ext <<_ACEOF
58158 /* confdefs.h.  */
58159 _ACEOF
58160 cat confdefs.h >>conftest.$ac_ext
58161 cat >>conftest.$ac_ext <<_ACEOF
58162 /* end confdefs.h.  */
58163 #include <math.h>
58164                       #ifdef HAVE_IEEEFP_H
58165                       #include <ieeefp.h>
58166                       #endif
58167
58168 int
58169 main ()
58170 {
58171  finitel(0);
58172   ;
58173   return 0;
58174 }
58175 _ACEOF
58176 rm -f conftest.$ac_objext
58177 if { (ac_try="$ac_compile"
58178 case "(($ac_try" in
58179   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
58180   *) ac_try_echo=$ac_try;;
58181 esac
58182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
58183   (eval "$ac_compile") 2>conftest.er1
58184   ac_status=$?
58185   grep -v '^ *+' conftest.er1 >conftest.err
58186   rm -f conftest.er1
58187   cat conftest.err >&5
58188   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58189   (exit $ac_status); } && {
58190          test -z "$ac_cxx_werror_flag" ||
58191          test ! -s conftest.err
58192        } && test -s conftest.$ac_objext; then
58193   glibcxx_cv_func_finitel_use=yes
58194 else
58195   echo "$as_me: failed program was:" >&5
58196 sed 's/^/| /' conftest.$ac_ext >&5
58197
58198         glibcxx_cv_func_finitel_use=no
58199 fi
58200
58201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58202       ac_ext=c
58203 ac_cpp='$CPP $CPPFLAGS'
58204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58207
58208
58209 fi
58210
58211   fi
58212   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
58213 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6; }
58214
58215   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
58216
58217 for ac_func in finitel
58218 do
58219 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58220 { echo "$as_me:$LINENO: checking for $ac_func" >&5
58221 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
58222 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
58223   echo $ECHO_N "(cached) $ECHO_C" >&6
58224 else
58225   if test x$gcc_no_link = xyes; then
58226   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58227 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58228    { (exit 1); exit 1; }; }
58229 fi
58230 cat >conftest.$ac_ext <<_ACEOF
58231 /* confdefs.h.  */
58232 _ACEOF
58233 cat confdefs.h >>conftest.$ac_ext
58234 cat >>conftest.$ac_ext <<_ACEOF
58235 /* end confdefs.h.  */
58236 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58237    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58238 #define $ac_func innocuous_$ac_func
58239
58240 /* System header to define __stub macros and hopefully few prototypes,
58241     which can conflict with char $ac_func (); below.
58242     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58243     <limits.h> exists even on freestanding compilers.  */
58244
58245 #ifdef __STDC__
58246 # include <limits.h>
58247 #else
58248 # include <assert.h>
58249 #endif
58250
58251 #undef $ac_func
58252
58253 /* Override any GCC internal prototype to avoid an error.
58254    Use char because int might match the return type of a GCC
58255    builtin and then its argument prototype would still apply.  */
58256 #ifdef __cplusplus
58257 extern "C"
58258 #endif
58259 char $ac_func ();
58260 /* The GNU C library defines this for functions which it implements
58261     to always fail with ENOSYS.  Some functions are actually named
58262     something starting with __ and the normal name is an alias.  */
58263 #if defined __stub_$ac_func || defined __stub___$ac_func
58264 choke me
58265 #endif
58266
58267 int
58268 main ()
58269 {
58270 return $ac_func ();
58271   ;
58272   return 0;
58273 }
58274 _ACEOF
58275 rm -f conftest.$ac_objext conftest$ac_exeext
58276 if { (ac_try="$ac_link"
58277 case "(($ac_try" in
58278   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
58279   *) ac_try_echo=$ac_try;;
58280 esac
58281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
58282   (eval "$ac_link") 2>conftest.er1
58283   ac_status=$?
58284   grep -v '^ *+' conftest.er1 >conftest.err
58285   rm -f conftest.er1
58286   cat conftest.err >&5
58287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58288   (exit $ac_status); } && {
58289          test -z "$ac_c_werror_flag" ||
58290          test ! -s conftest.err
58291        } && test -s conftest$ac_exeext &&
58292        $as_test_x conftest$ac_exeext; then
58293   eval "$as_ac_var=yes"
58294 else
58295   echo "$as_me: failed program was:" >&5
58296 sed 's/^/| /' conftest.$ac_ext >&5
58297
58298         eval "$as_ac_var=no"
58299 fi
58300
58301 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
58302       conftest$ac_exeext conftest.$ac_ext
58303 fi
58304 ac_res=`eval echo '${'$as_ac_var'}'`
58305                { echo "$as_me:$LINENO: result: $ac_res" >&5
58306 echo "${ECHO_T}$ac_res" >&6; }
58307 if test `eval echo '${'$as_ac_var'}'` = yes; then
58308   cat >>confdefs.h <<_ACEOF
58309 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58310 _ACEOF
58311
58312 fi
58313 done
58314
58315   else
58316
58317   { echo "$as_me:$LINENO: checking for _finitel declaration" >&5
58318 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6; }
58319   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
58320     if test "${glibcxx_cv_func__finitel_use+set}" = set; then
58321   echo $ECHO_N "(cached) $ECHO_C" >&6
58322 else
58323
58324
58325       ac_ext=cpp
58326 ac_cpp='$CXXCPP $CPPFLAGS'
58327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58330
58331       cat >conftest.$ac_ext <<_ACEOF
58332 /* confdefs.h.  */
58333 _ACEOF
58334 cat confdefs.h >>conftest.$ac_ext
58335 cat >>conftest.$ac_ext <<_ACEOF
58336 /* end confdefs.h.  */
58337 #include <math.h>
58338                       #ifdef HAVE_IEEEFP_H
58339                       #include <ieeefp.h>
58340                       #endif
58341
58342 int
58343 main ()
58344 {
58345  _finitel(0);
58346   ;
58347   return 0;
58348 }
58349 _ACEOF
58350 rm -f conftest.$ac_objext
58351 if { (ac_try="$ac_compile"
58352 case "(($ac_try" in
58353   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
58354   *) ac_try_echo=$ac_try;;
58355 esac
58356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
58357   (eval "$ac_compile") 2>conftest.er1
58358   ac_status=$?
58359   grep -v '^ *+' conftest.er1 >conftest.err
58360   rm -f conftest.er1
58361   cat conftest.err >&5
58362   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58363   (exit $ac_status); } && {
58364          test -z "$ac_cxx_werror_flag" ||
58365          test ! -s conftest.err
58366        } && test -s conftest.$ac_objext; then
58367   glibcxx_cv_func__finitel_use=yes
58368 else
58369   echo "$as_me: failed program was:" >&5
58370 sed 's/^/| /' conftest.$ac_ext >&5
58371
58372         glibcxx_cv_func__finitel_use=no
58373 fi
58374
58375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58376       ac_ext=c
58377 ac_cpp='$CPP $CPPFLAGS'
58378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58381
58382
58383 fi
58384
58385   fi
58386   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
58387 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6; }
58388
58389     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
58390
58391 for ac_func in _finitel
58392 do
58393 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58394 { echo "$as_me:$LINENO: checking for $ac_func" >&5
58395 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
58396 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
58397   echo $ECHO_N "(cached) $ECHO_C" >&6
58398 else
58399   if test x$gcc_no_link = xyes; then
58400   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58401 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58402    { (exit 1); exit 1; }; }
58403 fi
58404 cat >conftest.$ac_ext <<_ACEOF
58405 /* confdefs.h.  */
58406 _ACEOF
58407 cat confdefs.h >>conftest.$ac_ext
58408 cat >>conftest.$ac_ext <<_ACEOF
58409 /* end confdefs.h.  */
58410 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58411    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58412 #define $ac_func innocuous_$ac_func
58413
58414 /* System header to define __stub macros and hopefully few prototypes,
58415     which can conflict with char $ac_func (); below.
58416     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58417     <limits.h> exists even on freestanding compilers.  */
58418
58419 #ifdef __STDC__
58420 # include <limits.h>
58421 #else
58422 # include <assert.h>
58423 #endif
58424
58425 #undef $ac_func
58426
58427 /* Override any GCC internal prototype to avoid an error.
58428    Use char because int might match the return type of a GCC
58429    builtin and then its argument prototype would still apply.  */
58430 #ifdef __cplusplus
58431 extern "C"
58432 #endif
58433 char $ac_func ();
58434 /* The GNU C library defines this for functions which it implements
58435     to always fail with ENOSYS.  Some functions are actually named
58436     something starting with __ and the normal name is an alias.  */
58437 #if defined __stub_$ac_func || defined __stub___$ac_func
58438 choke me
58439 #endif
58440
58441 int
58442 main ()
58443 {
58444 return $ac_func ();
58445   ;
58446   return 0;
58447 }
58448 _ACEOF
58449 rm -f conftest.$ac_objext conftest$ac_exeext
58450 if { (ac_try="$ac_link"
58451 case "(($ac_try" in
58452   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
58453   *) ac_try_echo=$ac_try;;
58454 esac
58455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
58456   (eval "$ac_link") 2>conftest.er1
58457   ac_status=$?
58458   grep -v '^ *+' conftest.er1 >conftest.err
58459   rm -f conftest.er1
58460   cat conftest.err >&5
58461   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58462   (exit $ac_status); } && {
58463          test -z "$ac_c_werror_flag" ||
58464          test ! -s conftest.err
58465        } && test -s conftest$ac_exeext &&
58466        $as_test_x conftest$ac_exeext; then
58467   eval "$as_ac_var=yes"
58468 else
58469   echo "$as_me: failed program was:" >&5
58470 sed 's/^/| /' conftest.$ac_ext >&5
58471
58472         eval "$as_ac_var=no"
58473 fi
58474
58475 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
58476       conftest$ac_exeext conftest.$ac_ext
58477 fi
58478 ac_res=`eval echo '${'$as_ac_var'}'`
58479                { echo "$as_me:$LINENO: result: $ac_res" >&5
58480 echo "${ECHO_T}$ac_res" >&6; }
58481 if test `eval echo '${'$as_ac_var'}'` = yes; then
58482   cat >>confdefs.h <<_ACEOF
58483 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58484 _ACEOF
58485
58486 fi
58487 done
58488
58489     fi
58490   fi
58491
58492
58493
58494
58495
58496   LIBS="$ac_save_LIBS"
58497   CXXFLAGS="$ac_save_CXXFLAGS"
58498
58499
58500
58501   { echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
58502 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6; }
58503   if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
58504     if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
58505   echo $ECHO_N "(cached) $ECHO_C" >&6
58506 else
58507
58508
58509       ac_ext=cpp
58510 ac_cpp='$CXXCPP $CPPFLAGS'
58511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58514
58515       cat >conftest.$ac_ext <<_ACEOF
58516 /* confdefs.h.  */
58517 _ACEOF
58518 cat confdefs.h >>conftest.$ac_ext
58519 cat >>conftest.$ac_ext <<_ACEOF
58520 /* end confdefs.h.  */
58521 #include <math.h>
58522 int
58523 main ()
58524 {
58525  __builtin_abs(0);
58526   ;
58527   return 0;
58528 }
58529 _ACEOF
58530 rm -f conftest.$ac_objext
58531 if { (ac_try="$ac_compile"
58532 case "(($ac_try" in
58533   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
58534   *) ac_try_echo=$ac_try;;
58535 esac
58536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
58537   (eval "$ac_compile") 2>conftest.er1
58538   ac_status=$?
58539   grep -v '^ *+' conftest.er1 >conftest.err
58540   rm -f conftest.er1
58541   cat conftest.err >&5
58542   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58543   (exit $ac_status); } && {
58544          test -z "$ac_cxx_werror_flag" ||
58545          test ! -s conftest.err
58546        } && test -s conftest.$ac_objext; then
58547   glibcxx_cv_func___builtin_abs_use=yes
58548 else
58549   echo "$as_me: failed program was:" >&5
58550 sed 's/^/| /' conftest.$ac_ext >&5
58551
58552         glibcxx_cv_func___builtin_abs_use=no
58553 fi
58554
58555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58556       ac_ext=c
58557 ac_cpp='$CPP $CPPFLAGS'
58558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58561
58562
58563 fi
58564
58565   fi
58566   { echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
58567 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6; }
58568   if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
58569     { echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
58570 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6; }
58571     if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
58572       if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
58573   echo $ECHO_N "(cached) $ECHO_C" >&6
58574 else
58575
58576         if test x$gcc_no_link = xyes; then
58577   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58578 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58579    { (exit 1); exit 1; }; }
58580 fi
58581 cat >conftest.$ac_ext <<_ACEOF
58582 /* confdefs.h.  */
58583 _ACEOF
58584 cat confdefs.h >>conftest.$ac_ext
58585 cat >>conftest.$ac_ext <<_ACEOF
58586 /* end confdefs.h.  */
58587 #include <math.h>
58588 int
58589 main ()
58590 {
58591  __builtin_abs(0);
58592   ;
58593   return 0;
58594 }
58595 _ACEOF
58596 rm -f conftest.$ac_objext conftest$ac_exeext
58597 if { (ac_try="$ac_link"
58598 case "(($ac_try" in
58599   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
58600   *) ac_try_echo=$ac_try;;
58601 esac
58602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
58603   (eval "$ac_link") 2>conftest.er1
58604   ac_status=$?
58605   grep -v '^ *+' conftest.er1 >conftest.err
58606   rm -f conftest.er1
58607   cat conftest.err >&5
58608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58609   (exit $ac_status); } && {
58610          test -z "$ac_c_werror_flag" ||
58611          test ! -s conftest.err
58612        } && test -s conftest$ac_exeext &&
58613        $as_test_x conftest$ac_exeext; then
58614   glibcxx_cv_func___builtin_abs_link=yes
58615 else
58616   echo "$as_me: failed program was:" >&5
58617 sed 's/^/| /' conftest.$ac_ext >&5
58618
58619         glibcxx_cv_func___builtin_abs_link=no
58620 fi
58621
58622 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
58623       conftest$ac_exeext conftest.$ac_ext
58624
58625 fi
58626
58627     fi
58628     { echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
58629 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6; }
58630
58631     if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
58632
58633 cat >>confdefs.h <<\_ACEOF
58634 #define HAVE___BUILTIN_ABS 1
58635 _ACEOF
58636
58637     fi
58638
58639   fi
58640
58641
58642   { echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
58643 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6; }
58644   if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
58645     if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
58646   echo $ECHO_N "(cached) $ECHO_C" >&6
58647 else
58648
58649
58650       ac_ext=cpp
58651 ac_cpp='$CXXCPP $CPPFLAGS'
58652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58655
58656       cat >conftest.$ac_ext <<_ACEOF
58657 /* confdefs.h.  */
58658 _ACEOF
58659 cat confdefs.h >>conftest.$ac_ext
58660 cat >>conftest.$ac_ext <<_ACEOF
58661 /* end confdefs.h.  */
58662 #include <math.h>
58663 int
58664 main ()
58665 {
58666  __builtin_fabsf(0);
58667   ;
58668   return 0;
58669 }
58670 _ACEOF
58671 rm -f conftest.$ac_objext
58672 if { (ac_try="$ac_compile"
58673 case "(($ac_try" in
58674   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
58675   *) ac_try_echo=$ac_try;;
58676 esac
58677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
58678   (eval "$ac_compile") 2>conftest.er1
58679   ac_status=$?
58680   grep -v '^ *+' conftest.er1 >conftest.err
58681   rm -f conftest.er1
58682   cat conftest.err >&5
58683   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58684   (exit $ac_status); } && {
58685          test -z "$ac_cxx_werror_flag" ||
58686          test ! -s conftest.err
58687        } && test -s conftest.$ac_objext; then
58688   glibcxx_cv_func___builtin_fabsf_use=yes
58689 else
58690   echo "$as_me: failed program was:" >&5
58691 sed 's/^/| /' conftest.$ac_ext >&5
58692
58693         glibcxx_cv_func___builtin_fabsf_use=no
58694 fi
58695
58696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58697       ac_ext=c
58698 ac_cpp='$CPP $CPPFLAGS'
58699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58702
58703
58704 fi
58705
58706   fi
58707   { echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
58708 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6; }
58709   if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
58710     { echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
58711 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6; }
58712     if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
58713       if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
58714   echo $ECHO_N "(cached) $ECHO_C" >&6
58715 else
58716
58717         if test x$gcc_no_link = xyes; then
58718   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58719 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58720    { (exit 1); exit 1; }; }
58721 fi
58722 cat >conftest.$ac_ext <<_ACEOF
58723 /* confdefs.h.  */
58724 _ACEOF
58725 cat confdefs.h >>conftest.$ac_ext
58726 cat >>conftest.$ac_ext <<_ACEOF
58727 /* end confdefs.h.  */
58728 #include <math.h>
58729 int
58730 main ()
58731 {
58732  __builtin_fabsf(0);
58733   ;
58734   return 0;
58735 }
58736 _ACEOF
58737 rm -f conftest.$ac_objext conftest$ac_exeext
58738 if { (ac_try="$ac_link"
58739 case "(($ac_try" in
58740   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
58741   *) ac_try_echo=$ac_try;;
58742 esac
58743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
58744   (eval "$ac_link") 2>conftest.er1
58745   ac_status=$?
58746   grep -v '^ *+' conftest.er1 >conftest.err
58747   rm -f conftest.er1
58748   cat conftest.err >&5
58749   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58750   (exit $ac_status); } && {
58751          test -z "$ac_c_werror_flag" ||
58752          test ! -s conftest.err
58753        } && test -s conftest$ac_exeext &&
58754        $as_test_x conftest$ac_exeext; then
58755   glibcxx_cv_func___builtin_fabsf_link=yes
58756 else
58757   echo "$as_me: failed program was:" >&5
58758 sed 's/^/| /' conftest.$ac_ext >&5
58759
58760         glibcxx_cv_func___builtin_fabsf_link=no
58761 fi
58762
58763 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
58764       conftest$ac_exeext conftest.$ac_ext
58765
58766 fi
58767
58768     fi
58769     { echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
58770 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6; }
58771
58772     if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
58773
58774 cat >>confdefs.h <<\_ACEOF
58775 #define HAVE___BUILTIN_FABSF 1
58776 _ACEOF
58777
58778     fi
58779
58780   fi
58781
58782
58783   { echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
58784 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6; }
58785   if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
58786     if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
58787   echo $ECHO_N "(cached) $ECHO_C" >&6
58788 else
58789
58790
58791       ac_ext=cpp
58792 ac_cpp='$CXXCPP $CPPFLAGS'
58793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58796
58797       cat >conftest.$ac_ext <<_ACEOF
58798 /* confdefs.h.  */
58799 _ACEOF
58800 cat confdefs.h >>conftest.$ac_ext
58801 cat >>conftest.$ac_ext <<_ACEOF
58802 /* end confdefs.h.  */
58803 #include <math.h>
58804 int
58805 main ()
58806 {
58807  __builtin_fabs(0);
58808   ;
58809   return 0;
58810 }
58811 _ACEOF
58812 rm -f conftest.$ac_objext
58813 if { (ac_try="$ac_compile"
58814 case "(($ac_try" in
58815   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
58816   *) ac_try_echo=$ac_try;;
58817 esac
58818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
58819   (eval "$ac_compile") 2>conftest.er1
58820   ac_status=$?
58821   grep -v '^ *+' conftest.er1 >conftest.err
58822   rm -f conftest.er1
58823   cat conftest.err >&5
58824   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58825   (exit $ac_status); } && {
58826          test -z "$ac_cxx_werror_flag" ||
58827          test ! -s conftest.err
58828        } && test -s conftest.$ac_objext; then
58829   glibcxx_cv_func___builtin_fabs_use=yes
58830 else
58831   echo "$as_me: failed program was:" >&5
58832 sed 's/^/| /' conftest.$ac_ext >&5
58833
58834         glibcxx_cv_func___builtin_fabs_use=no
58835 fi
58836
58837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58838       ac_ext=c
58839 ac_cpp='$CPP $CPPFLAGS'
58840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58843
58844
58845 fi
58846
58847   fi
58848   { echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
58849 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6; }
58850   if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
58851     { echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
58852 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6; }
58853     if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
58854       if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
58855   echo $ECHO_N "(cached) $ECHO_C" >&6
58856 else
58857
58858         if test x$gcc_no_link = xyes; then
58859   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58860 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58861    { (exit 1); exit 1; }; }
58862 fi
58863 cat >conftest.$ac_ext <<_ACEOF
58864 /* confdefs.h.  */
58865 _ACEOF
58866 cat confdefs.h >>conftest.$ac_ext
58867 cat >>conftest.$ac_ext <<_ACEOF
58868 /* end confdefs.h.  */
58869 #include <math.h>
58870 int
58871 main ()
58872 {
58873  __builtin_fabs(0);
58874   ;
58875   return 0;
58876 }
58877 _ACEOF
58878 rm -f conftest.$ac_objext conftest$ac_exeext
58879 if { (ac_try="$ac_link"
58880 case "(($ac_try" in
58881   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
58882   *) ac_try_echo=$ac_try;;
58883 esac
58884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
58885   (eval "$ac_link") 2>conftest.er1
58886   ac_status=$?
58887   grep -v '^ *+' conftest.er1 >conftest.err
58888   rm -f conftest.er1
58889   cat conftest.err >&5
58890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58891   (exit $ac_status); } && {
58892          test -z "$ac_c_werror_flag" ||
58893          test ! -s conftest.err
58894        } && test -s conftest$ac_exeext &&
58895        $as_test_x conftest$ac_exeext; then
58896   glibcxx_cv_func___builtin_fabs_link=yes
58897 else
58898   echo "$as_me: failed program was:" >&5
58899 sed 's/^/| /' conftest.$ac_ext >&5
58900
58901         glibcxx_cv_func___builtin_fabs_link=no
58902 fi
58903
58904 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
58905       conftest$ac_exeext conftest.$ac_ext
58906
58907 fi
58908
58909     fi
58910     { echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
58911 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6; }
58912
58913     if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
58914
58915 cat >>confdefs.h <<\_ACEOF
58916 #define HAVE___BUILTIN_FABS 1
58917 _ACEOF
58918
58919     fi
58920
58921   fi
58922
58923
58924   { echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
58925 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6; }
58926   if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
58927     if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
58928   echo $ECHO_N "(cached) $ECHO_C" >&6
58929 else
58930
58931
58932       ac_ext=cpp
58933 ac_cpp='$CXXCPP $CPPFLAGS'
58934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58937
58938       cat >conftest.$ac_ext <<_ACEOF
58939 /* confdefs.h.  */
58940 _ACEOF
58941 cat confdefs.h >>conftest.$ac_ext
58942 cat >>conftest.$ac_ext <<_ACEOF
58943 /* end confdefs.h.  */
58944 #include <math.h>
58945 int
58946 main ()
58947 {
58948  __builtin_fabsl(0);
58949   ;
58950   return 0;
58951 }
58952 _ACEOF
58953 rm -f conftest.$ac_objext
58954 if { (ac_try="$ac_compile"
58955 case "(($ac_try" in
58956   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
58957   *) ac_try_echo=$ac_try;;
58958 esac
58959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
58960   (eval "$ac_compile") 2>conftest.er1
58961   ac_status=$?
58962   grep -v '^ *+' conftest.er1 >conftest.err
58963   rm -f conftest.er1
58964   cat conftest.err >&5
58965   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58966   (exit $ac_status); } && {
58967          test -z "$ac_cxx_werror_flag" ||
58968          test ! -s conftest.err
58969        } && test -s conftest.$ac_objext; then
58970   glibcxx_cv_func___builtin_fabsl_use=yes
58971 else
58972   echo "$as_me: failed program was:" >&5
58973 sed 's/^/| /' conftest.$ac_ext >&5
58974
58975         glibcxx_cv_func___builtin_fabsl_use=no
58976 fi
58977
58978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58979       ac_ext=c
58980 ac_cpp='$CPP $CPPFLAGS'
58981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58984
58985
58986 fi
58987
58988   fi
58989   { echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
58990 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6; }
58991   if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
58992     { echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
58993 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6; }
58994     if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
58995       if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
58996   echo $ECHO_N "(cached) $ECHO_C" >&6
58997 else
58998
58999         if test x$gcc_no_link = xyes; then
59000   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59001 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59002    { (exit 1); exit 1; }; }
59003 fi
59004 cat >conftest.$ac_ext <<_ACEOF
59005 /* confdefs.h.  */
59006 _ACEOF
59007 cat confdefs.h >>conftest.$ac_ext
59008 cat >>conftest.$ac_ext <<_ACEOF
59009 /* end confdefs.h.  */
59010 #include <math.h>
59011 int
59012 main ()
59013 {
59014  __builtin_fabsl(0);
59015   ;
59016   return 0;
59017 }
59018 _ACEOF
59019 rm -f conftest.$ac_objext conftest$ac_exeext
59020 if { (ac_try="$ac_link"
59021 case "(($ac_try" in
59022   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
59023   *) ac_try_echo=$ac_try;;
59024 esac
59025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
59026   (eval "$ac_link") 2>conftest.er1
59027   ac_status=$?
59028   grep -v '^ *+' conftest.er1 >conftest.err
59029   rm -f conftest.er1
59030   cat conftest.err >&5
59031   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59032   (exit $ac_status); } && {
59033          test -z "$ac_c_werror_flag" ||
59034          test ! -s conftest.err
59035        } && test -s conftest$ac_exeext &&
59036        $as_test_x conftest$ac_exeext; then
59037   glibcxx_cv_func___builtin_fabsl_link=yes
59038 else
59039   echo "$as_me: failed program was:" >&5
59040 sed 's/^/| /' conftest.$ac_ext >&5
59041
59042         glibcxx_cv_func___builtin_fabsl_link=no
59043 fi
59044
59045 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
59046       conftest$ac_exeext conftest.$ac_ext
59047
59048 fi
59049
59050     fi
59051     { echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
59052 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6; }
59053
59054     if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
59055
59056 cat >>confdefs.h <<\_ACEOF
59057 #define HAVE___BUILTIN_FABSL 1
59058 _ACEOF
59059
59060     fi
59061
59062   fi
59063
59064
59065   { echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
59066 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6; }
59067   if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
59068     if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
59069   echo $ECHO_N "(cached) $ECHO_C" >&6
59070 else
59071
59072
59073       ac_ext=cpp
59074 ac_cpp='$CXXCPP $CPPFLAGS'
59075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59078
59079       cat >conftest.$ac_ext <<_ACEOF
59080 /* confdefs.h.  */
59081 _ACEOF
59082 cat confdefs.h >>conftest.$ac_ext
59083 cat >>conftest.$ac_ext <<_ACEOF
59084 /* end confdefs.h.  */
59085 #include <math.h>
59086 int
59087 main ()
59088 {
59089  __builtin_labs(0);
59090   ;
59091   return 0;
59092 }
59093 _ACEOF
59094 rm -f conftest.$ac_objext
59095 if { (ac_try="$ac_compile"
59096 case "(($ac_try" in
59097   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
59098   *) ac_try_echo=$ac_try;;
59099 esac
59100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
59101   (eval "$ac_compile") 2>conftest.er1
59102   ac_status=$?
59103   grep -v '^ *+' conftest.er1 >conftest.err
59104   rm -f conftest.er1
59105   cat conftest.err >&5
59106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59107   (exit $ac_status); } && {
59108          test -z "$ac_cxx_werror_flag" ||
59109          test ! -s conftest.err
59110        } && test -s conftest.$ac_objext; then
59111   glibcxx_cv_func___builtin_labs_use=yes
59112 else
59113   echo "$as_me: failed program was:" >&5
59114 sed 's/^/| /' conftest.$ac_ext >&5
59115
59116         glibcxx_cv_func___builtin_labs_use=no
59117 fi
59118
59119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59120       ac_ext=c
59121 ac_cpp='$CPP $CPPFLAGS'
59122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59125
59126
59127 fi
59128
59129   fi
59130   { echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
59131 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6; }
59132   if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
59133     { echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
59134 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6; }
59135     if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
59136       if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
59137   echo $ECHO_N "(cached) $ECHO_C" >&6
59138 else
59139
59140         if test x$gcc_no_link = xyes; then
59141   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59142 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59143    { (exit 1); exit 1; }; }
59144 fi
59145 cat >conftest.$ac_ext <<_ACEOF
59146 /* confdefs.h.  */
59147 _ACEOF
59148 cat confdefs.h >>conftest.$ac_ext
59149 cat >>conftest.$ac_ext <<_ACEOF
59150 /* end confdefs.h.  */
59151 #include <math.h>
59152 int
59153 main ()
59154 {
59155  __builtin_labs(0);
59156   ;
59157   return 0;
59158 }
59159 _ACEOF
59160 rm -f conftest.$ac_objext conftest$ac_exeext
59161 if { (ac_try="$ac_link"
59162 case "(($ac_try" in
59163   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
59164   *) ac_try_echo=$ac_try;;
59165 esac
59166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
59167   (eval "$ac_link") 2>conftest.er1
59168   ac_status=$?
59169   grep -v '^ *+' conftest.er1 >conftest.err
59170   rm -f conftest.er1
59171   cat conftest.err >&5
59172   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59173   (exit $ac_status); } && {
59174          test -z "$ac_c_werror_flag" ||
59175          test ! -s conftest.err
59176        } && test -s conftest$ac_exeext &&
59177        $as_test_x conftest$ac_exeext; then
59178   glibcxx_cv_func___builtin_labs_link=yes
59179 else
59180   echo "$as_me: failed program was:" >&5
59181 sed 's/^/| /' conftest.$ac_ext >&5
59182
59183         glibcxx_cv_func___builtin_labs_link=no
59184 fi
59185
59186 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
59187       conftest$ac_exeext conftest.$ac_ext
59188
59189 fi
59190
59191     fi
59192     { echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
59193 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6; }
59194
59195     if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
59196
59197 cat >>confdefs.h <<\_ACEOF
59198 #define HAVE___BUILTIN_LABS 1
59199 _ACEOF
59200
59201     fi
59202
59203   fi
59204
59205
59206
59207   { echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
59208 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6; }
59209   if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
59210     if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
59211   echo $ECHO_N "(cached) $ECHO_C" >&6
59212 else
59213
59214
59215       ac_ext=cpp
59216 ac_cpp='$CXXCPP $CPPFLAGS'
59217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59220
59221       cat >conftest.$ac_ext <<_ACEOF
59222 /* confdefs.h.  */
59223 _ACEOF
59224 cat confdefs.h >>conftest.$ac_ext
59225 cat >>conftest.$ac_ext <<_ACEOF
59226 /* end confdefs.h.  */
59227 #include <math.h>
59228 int
59229 main ()
59230 {
59231  __builtin_sqrtf(0);
59232   ;
59233   return 0;
59234 }
59235 _ACEOF
59236 rm -f conftest.$ac_objext
59237 if { (ac_try="$ac_compile"
59238 case "(($ac_try" in
59239   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
59240   *) ac_try_echo=$ac_try;;
59241 esac
59242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
59243   (eval "$ac_compile") 2>conftest.er1
59244   ac_status=$?
59245   grep -v '^ *+' conftest.er1 >conftest.err
59246   rm -f conftest.er1
59247   cat conftest.err >&5
59248   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59249   (exit $ac_status); } && {
59250          test -z "$ac_cxx_werror_flag" ||
59251          test ! -s conftest.err
59252        } && test -s conftest.$ac_objext; then
59253   glibcxx_cv_func___builtin_sqrtf_use=yes
59254 else
59255   echo "$as_me: failed program was:" >&5
59256 sed 's/^/| /' conftest.$ac_ext >&5
59257
59258         glibcxx_cv_func___builtin_sqrtf_use=no
59259 fi
59260
59261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59262       ac_ext=c
59263 ac_cpp='$CPP $CPPFLAGS'
59264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59267
59268
59269 fi
59270
59271   fi
59272   { echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
59273 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6; }
59274   if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
59275     { echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
59276 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6; }
59277     if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
59278       if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
59279   echo $ECHO_N "(cached) $ECHO_C" >&6
59280 else
59281
59282         if test x$gcc_no_link = xyes; then
59283   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59284 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59285    { (exit 1); exit 1; }; }
59286 fi
59287 cat >conftest.$ac_ext <<_ACEOF
59288 /* confdefs.h.  */
59289 _ACEOF
59290 cat confdefs.h >>conftest.$ac_ext
59291 cat >>conftest.$ac_ext <<_ACEOF
59292 /* end confdefs.h.  */
59293 #include <math.h>
59294 int
59295 main ()
59296 {
59297  __builtin_sqrtf(0);
59298   ;
59299   return 0;
59300 }
59301 _ACEOF
59302 rm -f conftest.$ac_objext conftest$ac_exeext
59303 if { (ac_try="$ac_link"
59304 case "(($ac_try" in
59305   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
59306   *) ac_try_echo=$ac_try;;
59307 esac
59308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
59309   (eval "$ac_link") 2>conftest.er1
59310   ac_status=$?
59311   grep -v '^ *+' conftest.er1 >conftest.err
59312   rm -f conftest.er1
59313   cat conftest.err >&5
59314   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59315   (exit $ac_status); } && {
59316          test -z "$ac_c_werror_flag" ||
59317          test ! -s conftest.err
59318        } && test -s conftest$ac_exeext &&
59319        $as_test_x conftest$ac_exeext; then
59320   glibcxx_cv_func___builtin_sqrtf_link=yes
59321 else
59322   echo "$as_me: failed program was:" >&5
59323 sed 's/^/| /' conftest.$ac_ext >&5
59324
59325         glibcxx_cv_func___builtin_sqrtf_link=no
59326 fi
59327
59328 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
59329       conftest$ac_exeext conftest.$ac_ext
59330
59331 fi
59332
59333     fi
59334     { echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
59335 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6; }
59336
59337     if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
59338
59339 cat >>confdefs.h <<\_ACEOF
59340 #define HAVE___BUILTIN_SQRTF 1
59341 _ACEOF
59342
59343     fi
59344
59345   fi
59346
59347
59348   { echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
59349 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6; }
59350   if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
59351     if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
59352   echo $ECHO_N "(cached) $ECHO_C" >&6
59353 else
59354
59355
59356       ac_ext=cpp
59357 ac_cpp='$CXXCPP $CPPFLAGS'
59358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59361
59362       cat >conftest.$ac_ext <<_ACEOF
59363 /* confdefs.h.  */
59364 _ACEOF
59365 cat confdefs.h >>conftest.$ac_ext
59366 cat >>conftest.$ac_ext <<_ACEOF
59367 /* end confdefs.h.  */
59368 #include <math.h>
59369 int
59370 main ()
59371 {
59372  __builtin_sqrt(0);
59373   ;
59374   return 0;
59375 }
59376 _ACEOF
59377 rm -f conftest.$ac_objext
59378 if { (ac_try="$ac_compile"
59379 case "(($ac_try" in
59380   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
59381   *) ac_try_echo=$ac_try;;
59382 esac
59383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
59384   (eval "$ac_compile") 2>conftest.er1
59385   ac_status=$?
59386   grep -v '^ *+' conftest.er1 >conftest.err
59387   rm -f conftest.er1
59388   cat conftest.err >&5
59389   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59390   (exit $ac_status); } && {
59391          test -z "$ac_cxx_werror_flag" ||
59392          test ! -s conftest.err
59393        } && test -s conftest.$ac_objext; then
59394   glibcxx_cv_func___builtin_sqrt_use=yes
59395 else
59396   echo "$as_me: failed program was:" >&5
59397 sed 's/^/| /' conftest.$ac_ext >&5
59398
59399         glibcxx_cv_func___builtin_sqrt_use=no
59400 fi
59401
59402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59403       ac_ext=c
59404 ac_cpp='$CPP $CPPFLAGS'
59405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59408
59409
59410 fi
59411
59412   fi
59413   { echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
59414 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6; }
59415   if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
59416     { echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
59417 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6; }
59418     if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
59419       if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
59420   echo $ECHO_N "(cached) $ECHO_C" >&6
59421 else
59422
59423         if test x$gcc_no_link = xyes; then
59424   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59425 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59426    { (exit 1); exit 1; }; }
59427 fi
59428 cat >conftest.$ac_ext <<_ACEOF
59429 /* confdefs.h.  */
59430 _ACEOF
59431 cat confdefs.h >>conftest.$ac_ext
59432 cat >>conftest.$ac_ext <<_ACEOF
59433 /* end confdefs.h.  */
59434 #include <math.h>
59435 int
59436 main ()
59437 {
59438  __builtin_sqrt(0);
59439   ;
59440   return 0;
59441 }
59442 _ACEOF
59443 rm -f conftest.$ac_objext conftest$ac_exeext
59444 if { (ac_try="$ac_link"
59445 case "(($ac_try" in
59446   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
59447   *) ac_try_echo=$ac_try;;
59448 esac
59449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
59450   (eval "$ac_link") 2>conftest.er1
59451   ac_status=$?
59452   grep -v '^ *+' conftest.er1 >conftest.err
59453   rm -f conftest.er1
59454   cat conftest.err >&5
59455   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59456   (exit $ac_status); } && {
59457          test -z "$ac_c_werror_flag" ||
59458          test ! -s conftest.err
59459        } && test -s conftest$ac_exeext &&
59460        $as_test_x conftest$ac_exeext; then
59461   glibcxx_cv_func___builtin_sqrt_link=yes
59462 else
59463   echo "$as_me: failed program was:" >&5
59464 sed 's/^/| /' conftest.$ac_ext >&5
59465
59466         glibcxx_cv_func___builtin_sqrt_link=no
59467 fi
59468
59469 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
59470       conftest$ac_exeext conftest.$ac_ext
59471
59472 fi
59473
59474     fi
59475     { echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
59476 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6; }
59477
59478     if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
59479
59480 cat >>confdefs.h <<\_ACEOF
59481 #define HAVE___BUILTIN_SQRT 1
59482 _ACEOF
59483
59484     fi
59485
59486   fi
59487
59488
59489   { echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
59490 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6; }
59491   if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
59492     if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
59493   echo $ECHO_N "(cached) $ECHO_C" >&6
59494 else
59495
59496
59497       ac_ext=cpp
59498 ac_cpp='$CXXCPP $CPPFLAGS'
59499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59502
59503       cat >conftest.$ac_ext <<_ACEOF
59504 /* confdefs.h.  */
59505 _ACEOF
59506 cat confdefs.h >>conftest.$ac_ext
59507 cat >>conftest.$ac_ext <<_ACEOF
59508 /* end confdefs.h.  */
59509 #include <math.h>
59510 int
59511 main ()
59512 {
59513  __builtin_sqrtl(0);
59514   ;
59515   return 0;
59516 }
59517 _ACEOF
59518 rm -f conftest.$ac_objext
59519 if { (ac_try="$ac_compile"
59520 case "(($ac_try" in
59521   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
59522   *) ac_try_echo=$ac_try;;
59523 esac
59524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
59525   (eval "$ac_compile") 2>conftest.er1
59526   ac_status=$?
59527   grep -v '^ *+' conftest.er1 >conftest.err
59528   rm -f conftest.er1
59529   cat conftest.err >&5
59530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59531   (exit $ac_status); } && {
59532          test -z "$ac_cxx_werror_flag" ||
59533          test ! -s conftest.err
59534        } && test -s conftest.$ac_objext; then
59535   glibcxx_cv_func___builtin_sqrtl_use=yes
59536 else
59537   echo "$as_me: failed program was:" >&5
59538 sed 's/^/| /' conftest.$ac_ext >&5
59539
59540         glibcxx_cv_func___builtin_sqrtl_use=no
59541 fi
59542
59543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59544       ac_ext=c
59545 ac_cpp='$CPP $CPPFLAGS'
59546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59549
59550
59551 fi
59552
59553   fi
59554   { echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
59555 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6; }
59556   if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
59557     { echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
59558 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6; }
59559     if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
59560       if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
59561   echo $ECHO_N "(cached) $ECHO_C" >&6
59562 else
59563
59564         if test x$gcc_no_link = xyes; then
59565   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59566 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59567    { (exit 1); exit 1; }; }
59568 fi
59569 cat >conftest.$ac_ext <<_ACEOF
59570 /* confdefs.h.  */
59571 _ACEOF
59572 cat confdefs.h >>conftest.$ac_ext
59573 cat >>conftest.$ac_ext <<_ACEOF
59574 /* end confdefs.h.  */
59575 #include <math.h>
59576 int
59577 main ()
59578 {
59579  __builtin_sqrtl(0);
59580   ;
59581   return 0;
59582 }
59583 _ACEOF
59584 rm -f conftest.$ac_objext conftest$ac_exeext
59585 if { (ac_try="$ac_link"
59586 case "(($ac_try" in
59587   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
59588   *) ac_try_echo=$ac_try;;
59589 esac
59590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
59591   (eval "$ac_link") 2>conftest.er1
59592   ac_status=$?
59593   grep -v '^ *+' conftest.er1 >conftest.err
59594   rm -f conftest.er1
59595   cat conftest.err >&5
59596   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59597   (exit $ac_status); } && {
59598          test -z "$ac_c_werror_flag" ||
59599          test ! -s conftest.err
59600        } && test -s conftest$ac_exeext &&
59601        $as_test_x conftest$ac_exeext; then
59602   glibcxx_cv_func___builtin_sqrtl_link=yes
59603 else
59604   echo "$as_me: failed program was:" >&5
59605 sed 's/^/| /' conftest.$ac_ext >&5
59606
59607         glibcxx_cv_func___builtin_sqrtl_link=no
59608 fi
59609
59610 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
59611       conftest$ac_exeext conftest.$ac_ext
59612
59613 fi
59614
59615     fi
59616     { echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
59617 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6; }
59618
59619     if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
59620
59621 cat >>confdefs.h <<\_ACEOF
59622 #define HAVE___BUILTIN_SQRTL 1
59623 _ACEOF
59624
59625     fi
59626
59627   fi
59628
59629
59630
59631   { echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
59632 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6; }
59633   if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
59634     if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
59635   echo $ECHO_N "(cached) $ECHO_C" >&6
59636 else
59637
59638
59639       ac_ext=cpp
59640 ac_cpp='$CXXCPP $CPPFLAGS'
59641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59644
59645       cat >conftest.$ac_ext <<_ACEOF
59646 /* confdefs.h.  */
59647 _ACEOF
59648 cat confdefs.h >>conftest.$ac_ext
59649 cat >>conftest.$ac_ext <<_ACEOF
59650 /* end confdefs.h.  */
59651 #include <math.h>
59652 int
59653 main ()
59654 {
59655  __builtin_sinf(0);
59656   ;
59657   return 0;
59658 }
59659 _ACEOF
59660 rm -f conftest.$ac_objext
59661 if { (ac_try="$ac_compile"
59662 case "(($ac_try" in
59663   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
59664   *) ac_try_echo=$ac_try;;
59665 esac
59666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
59667   (eval "$ac_compile") 2>conftest.er1
59668   ac_status=$?
59669   grep -v '^ *+' conftest.er1 >conftest.err
59670   rm -f conftest.er1
59671   cat conftest.err >&5
59672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59673   (exit $ac_status); } && {
59674          test -z "$ac_cxx_werror_flag" ||
59675          test ! -s conftest.err
59676        } && test -s conftest.$ac_objext; then
59677   glibcxx_cv_func___builtin_sinf_use=yes
59678 else
59679   echo "$as_me: failed program was:" >&5
59680 sed 's/^/| /' conftest.$ac_ext >&5
59681
59682         glibcxx_cv_func___builtin_sinf_use=no
59683 fi
59684
59685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59686       ac_ext=c
59687 ac_cpp='$CPP $CPPFLAGS'
59688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59691
59692
59693 fi
59694
59695   fi
59696   { echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
59697 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6; }
59698   if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
59699     { echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
59700 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6; }
59701     if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
59702       if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
59703   echo $ECHO_N "(cached) $ECHO_C" >&6
59704 else
59705
59706         if test x$gcc_no_link = xyes; then
59707   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59708 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59709    { (exit 1); exit 1; }; }
59710 fi
59711 cat >conftest.$ac_ext <<_ACEOF
59712 /* confdefs.h.  */
59713 _ACEOF
59714 cat confdefs.h >>conftest.$ac_ext
59715 cat >>conftest.$ac_ext <<_ACEOF
59716 /* end confdefs.h.  */
59717 #include <math.h>
59718 int
59719 main ()
59720 {
59721  __builtin_sinf(0);
59722   ;
59723   return 0;
59724 }
59725 _ACEOF
59726 rm -f conftest.$ac_objext conftest$ac_exeext
59727 if { (ac_try="$ac_link"
59728 case "(($ac_try" in
59729   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
59730   *) ac_try_echo=$ac_try;;
59731 esac
59732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
59733   (eval "$ac_link") 2>conftest.er1
59734   ac_status=$?
59735   grep -v '^ *+' conftest.er1 >conftest.err
59736   rm -f conftest.er1
59737   cat conftest.err >&5
59738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59739   (exit $ac_status); } && {
59740          test -z "$ac_c_werror_flag" ||
59741          test ! -s conftest.err
59742        } && test -s conftest$ac_exeext &&
59743        $as_test_x conftest$ac_exeext; then
59744   glibcxx_cv_func___builtin_sinf_link=yes
59745 else
59746   echo "$as_me: failed program was:" >&5
59747 sed 's/^/| /' conftest.$ac_ext >&5
59748
59749         glibcxx_cv_func___builtin_sinf_link=no
59750 fi
59751
59752 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
59753       conftest$ac_exeext conftest.$ac_ext
59754
59755 fi
59756
59757     fi
59758     { echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
59759 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6; }
59760
59761     if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
59762
59763 cat >>confdefs.h <<\_ACEOF
59764 #define HAVE___BUILTIN_SINF 1
59765 _ACEOF
59766
59767     fi
59768
59769   fi
59770
59771
59772   { echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
59773 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6; }
59774   if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
59775     if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
59776   echo $ECHO_N "(cached) $ECHO_C" >&6
59777 else
59778
59779
59780       ac_ext=cpp
59781 ac_cpp='$CXXCPP $CPPFLAGS'
59782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59785
59786       cat >conftest.$ac_ext <<_ACEOF
59787 /* confdefs.h.  */
59788 _ACEOF
59789 cat confdefs.h >>conftest.$ac_ext
59790 cat >>conftest.$ac_ext <<_ACEOF
59791 /* end confdefs.h.  */
59792 #include <math.h>
59793 int
59794 main ()
59795 {
59796  __builtin_sin(0);
59797   ;
59798   return 0;
59799 }
59800 _ACEOF
59801 rm -f conftest.$ac_objext
59802 if { (ac_try="$ac_compile"
59803 case "(($ac_try" in
59804   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
59805   *) ac_try_echo=$ac_try;;
59806 esac
59807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
59808   (eval "$ac_compile") 2>conftest.er1
59809   ac_status=$?
59810   grep -v '^ *+' conftest.er1 >conftest.err
59811   rm -f conftest.er1
59812   cat conftest.err >&5
59813   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59814   (exit $ac_status); } && {
59815          test -z "$ac_cxx_werror_flag" ||
59816          test ! -s conftest.err
59817        } && test -s conftest.$ac_objext; then
59818   glibcxx_cv_func___builtin_sin_use=yes
59819 else
59820   echo "$as_me: failed program was:" >&5
59821 sed 's/^/| /' conftest.$ac_ext >&5
59822
59823         glibcxx_cv_func___builtin_sin_use=no
59824 fi
59825
59826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59827       ac_ext=c
59828 ac_cpp='$CPP $CPPFLAGS'
59829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59832
59833
59834 fi
59835
59836   fi
59837   { echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
59838 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6; }
59839   if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
59840     { echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
59841 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6; }
59842     if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
59843       if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
59844   echo $ECHO_N "(cached) $ECHO_C" >&6
59845 else
59846
59847         if test x$gcc_no_link = xyes; then
59848   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59849 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59850    { (exit 1); exit 1; }; }
59851 fi
59852 cat >conftest.$ac_ext <<_ACEOF
59853 /* confdefs.h.  */
59854 _ACEOF
59855 cat confdefs.h >>conftest.$ac_ext
59856 cat >>conftest.$ac_ext <<_ACEOF
59857 /* end confdefs.h.  */
59858 #include <math.h>
59859 int
59860 main ()
59861 {
59862  __builtin_sin(0);
59863   ;
59864   return 0;
59865 }
59866 _ACEOF
59867 rm -f conftest.$ac_objext conftest$ac_exeext
59868 if { (ac_try="$ac_link"
59869 case "(($ac_try" in
59870   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
59871   *) ac_try_echo=$ac_try;;
59872 esac
59873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
59874   (eval "$ac_link") 2>conftest.er1
59875   ac_status=$?
59876   grep -v '^ *+' conftest.er1 >conftest.err
59877   rm -f conftest.er1
59878   cat conftest.err >&5
59879   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59880   (exit $ac_status); } && {
59881          test -z "$ac_c_werror_flag" ||
59882          test ! -s conftest.err
59883        } && test -s conftest$ac_exeext &&
59884        $as_test_x conftest$ac_exeext; then
59885   glibcxx_cv_func___builtin_sin_link=yes
59886 else
59887   echo "$as_me: failed program was:" >&5
59888 sed 's/^/| /' conftest.$ac_ext >&5
59889
59890         glibcxx_cv_func___builtin_sin_link=no
59891 fi
59892
59893 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
59894       conftest$ac_exeext conftest.$ac_ext
59895
59896 fi
59897
59898     fi
59899     { echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
59900 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6; }
59901
59902     if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
59903
59904 cat >>confdefs.h <<\_ACEOF
59905 #define HAVE___BUILTIN_SIN 1
59906 _ACEOF
59907
59908     fi
59909
59910   fi
59911
59912
59913   { echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
59914 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6; }
59915   if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
59916     if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
59917   echo $ECHO_N "(cached) $ECHO_C" >&6
59918 else
59919
59920
59921       ac_ext=cpp
59922 ac_cpp='$CXXCPP $CPPFLAGS'
59923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59926
59927       cat >conftest.$ac_ext <<_ACEOF
59928 /* confdefs.h.  */
59929 _ACEOF
59930 cat confdefs.h >>conftest.$ac_ext
59931 cat >>conftest.$ac_ext <<_ACEOF
59932 /* end confdefs.h.  */
59933 #include <math.h>
59934 int
59935 main ()
59936 {
59937  __builtin_sinl(0);
59938   ;
59939   return 0;
59940 }
59941 _ACEOF
59942 rm -f conftest.$ac_objext
59943 if { (ac_try="$ac_compile"
59944 case "(($ac_try" in
59945   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
59946   *) ac_try_echo=$ac_try;;
59947 esac
59948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
59949   (eval "$ac_compile") 2>conftest.er1
59950   ac_status=$?
59951   grep -v '^ *+' conftest.er1 >conftest.err
59952   rm -f conftest.er1
59953   cat conftest.err >&5
59954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59955   (exit $ac_status); } && {
59956          test -z "$ac_cxx_werror_flag" ||
59957          test ! -s conftest.err
59958        } && test -s conftest.$ac_objext; then
59959   glibcxx_cv_func___builtin_sinl_use=yes
59960 else
59961   echo "$as_me: failed program was:" >&5
59962 sed 's/^/| /' conftest.$ac_ext >&5
59963
59964         glibcxx_cv_func___builtin_sinl_use=no
59965 fi
59966
59967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59968       ac_ext=c
59969 ac_cpp='$CPP $CPPFLAGS'
59970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59973
59974
59975 fi
59976
59977   fi
59978   { echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
59979 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6; }
59980   if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
59981     { echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
59982 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6; }
59983     if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
59984       if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
59985   echo $ECHO_N "(cached) $ECHO_C" >&6
59986 else
59987
59988         if test x$gcc_no_link = xyes; then
59989   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59990 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59991    { (exit 1); exit 1; }; }
59992 fi
59993 cat >conftest.$ac_ext <<_ACEOF
59994 /* confdefs.h.  */
59995 _ACEOF
59996 cat confdefs.h >>conftest.$ac_ext
59997 cat >>conftest.$ac_ext <<_ACEOF
59998 /* end confdefs.h.  */
59999 #include <math.h>
60000 int
60001 main ()
60002 {
60003  __builtin_sinl(0);
60004   ;
60005   return 0;
60006 }
60007 _ACEOF
60008 rm -f conftest.$ac_objext conftest$ac_exeext
60009 if { (ac_try="$ac_link"
60010 case "(($ac_try" in
60011   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
60012   *) ac_try_echo=$ac_try;;
60013 esac
60014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
60015   (eval "$ac_link") 2>conftest.er1
60016   ac_status=$?
60017   grep -v '^ *+' conftest.er1 >conftest.err
60018   rm -f conftest.er1
60019   cat conftest.err >&5
60020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60021   (exit $ac_status); } && {
60022          test -z "$ac_c_werror_flag" ||
60023          test ! -s conftest.err
60024        } && test -s conftest$ac_exeext &&
60025        $as_test_x conftest$ac_exeext; then
60026   glibcxx_cv_func___builtin_sinl_link=yes
60027 else
60028   echo "$as_me: failed program was:" >&5
60029 sed 's/^/| /' conftest.$ac_ext >&5
60030
60031         glibcxx_cv_func___builtin_sinl_link=no
60032 fi
60033
60034 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
60035       conftest$ac_exeext conftest.$ac_ext
60036
60037 fi
60038
60039     fi
60040     { echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
60041 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6; }
60042
60043     if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
60044
60045 cat >>confdefs.h <<\_ACEOF
60046 #define HAVE___BUILTIN_SINL 1
60047 _ACEOF
60048
60049     fi
60050
60051   fi
60052
60053
60054
60055   { echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
60056 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6; }
60057   if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
60058     if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
60059   echo $ECHO_N "(cached) $ECHO_C" >&6
60060 else
60061
60062
60063       ac_ext=cpp
60064 ac_cpp='$CXXCPP $CPPFLAGS'
60065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60068
60069       cat >conftest.$ac_ext <<_ACEOF
60070 /* confdefs.h.  */
60071 _ACEOF
60072 cat confdefs.h >>conftest.$ac_ext
60073 cat >>conftest.$ac_ext <<_ACEOF
60074 /* end confdefs.h.  */
60075 #include <math.h>
60076 int
60077 main ()
60078 {
60079  __builtin_cosf(0);
60080   ;
60081   return 0;
60082 }
60083 _ACEOF
60084 rm -f conftest.$ac_objext
60085 if { (ac_try="$ac_compile"
60086 case "(($ac_try" in
60087   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
60088   *) ac_try_echo=$ac_try;;
60089 esac
60090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
60091   (eval "$ac_compile") 2>conftest.er1
60092   ac_status=$?
60093   grep -v '^ *+' conftest.er1 >conftest.err
60094   rm -f conftest.er1
60095   cat conftest.err >&5
60096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60097   (exit $ac_status); } && {
60098          test -z "$ac_cxx_werror_flag" ||
60099          test ! -s conftest.err
60100        } && test -s conftest.$ac_objext; then
60101   glibcxx_cv_func___builtin_cosf_use=yes
60102 else
60103   echo "$as_me: failed program was:" >&5
60104 sed 's/^/| /' conftest.$ac_ext >&5
60105
60106         glibcxx_cv_func___builtin_cosf_use=no
60107 fi
60108
60109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60110       ac_ext=c
60111 ac_cpp='$CPP $CPPFLAGS'
60112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60115
60116
60117 fi
60118
60119   fi
60120   { echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
60121 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6; }
60122   if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
60123     { echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
60124 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6; }
60125     if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
60126       if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
60127   echo $ECHO_N "(cached) $ECHO_C" >&6
60128 else
60129
60130         if test x$gcc_no_link = xyes; then
60131   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60132 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60133    { (exit 1); exit 1; }; }
60134 fi
60135 cat >conftest.$ac_ext <<_ACEOF
60136 /* confdefs.h.  */
60137 _ACEOF
60138 cat confdefs.h >>conftest.$ac_ext
60139 cat >>conftest.$ac_ext <<_ACEOF
60140 /* end confdefs.h.  */
60141 #include <math.h>
60142 int
60143 main ()
60144 {
60145  __builtin_cosf(0);
60146   ;
60147   return 0;
60148 }
60149 _ACEOF
60150 rm -f conftest.$ac_objext conftest$ac_exeext
60151 if { (ac_try="$ac_link"
60152 case "(($ac_try" in
60153   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
60154   *) ac_try_echo=$ac_try;;
60155 esac
60156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
60157   (eval "$ac_link") 2>conftest.er1
60158   ac_status=$?
60159   grep -v '^ *+' conftest.er1 >conftest.err
60160   rm -f conftest.er1
60161   cat conftest.err >&5
60162   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60163   (exit $ac_status); } && {
60164          test -z "$ac_c_werror_flag" ||
60165          test ! -s conftest.err
60166        } && test -s conftest$ac_exeext &&
60167        $as_test_x conftest$ac_exeext; then
60168   glibcxx_cv_func___builtin_cosf_link=yes
60169 else
60170   echo "$as_me: failed program was:" >&5
60171 sed 's/^/| /' conftest.$ac_ext >&5
60172
60173         glibcxx_cv_func___builtin_cosf_link=no
60174 fi
60175
60176 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
60177       conftest$ac_exeext conftest.$ac_ext
60178
60179 fi
60180
60181     fi
60182     { echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
60183 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6; }
60184
60185     if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
60186
60187 cat >>confdefs.h <<\_ACEOF
60188 #define HAVE___BUILTIN_COSF 1
60189 _ACEOF
60190
60191     fi
60192
60193   fi
60194
60195
60196   { echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
60197 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6; }
60198   if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
60199     if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
60200   echo $ECHO_N "(cached) $ECHO_C" >&6
60201 else
60202
60203
60204       ac_ext=cpp
60205 ac_cpp='$CXXCPP $CPPFLAGS'
60206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60209
60210       cat >conftest.$ac_ext <<_ACEOF
60211 /* confdefs.h.  */
60212 _ACEOF
60213 cat confdefs.h >>conftest.$ac_ext
60214 cat >>conftest.$ac_ext <<_ACEOF
60215 /* end confdefs.h.  */
60216 #include <math.h>
60217 int
60218 main ()
60219 {
60220  __builtin_cos(0);
60221   ;
60222   return 0;
60223 }
60224 _ACEOF
60225 rm -f conftest.$ac_objext
60226 if { (ac_try="$ac_compile"
60227 case "(($ac_try" in
60228   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
60229   *) ac_try_echo=$ac_try;;
60230 esac
60231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
60232   (eval "$ac_compile") 2>conftest.er1
60233   ac_status=$?
60234   grep -v '^ *+' conftest.er1 >conftest.err
60235   rm -f conftest.er1
60236   cat conftest.err >&5
60237   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60238   (exit $ac_status); } && {
60239          test -z "$ac_cxx_werror_flag" ||
60240          test ! -s conftest.err
60241        } && test -s conftest.$ac_objext; then
60242   glibcxx_cv_func___builtin_cos_use=yes
60243 else
60244   echo "$as_me: failed program was:" >&5
60245 sed 's/^/| /' conftest.$ac_ext >&5
60246
60247         glibcxx_cv_func___builtin_cos_use=no
60248 fi
60249
60250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60251       ac_ext=c
60252 ac_cpp='$CPP $CPPFLAGS'
60253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60256
60257
60258 fi
60259
60260   fi
60261   { echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
60262 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6; }
60263   if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
60264     { echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
60265 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6; }
60266     if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
60267       if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
60268   echo $ECHO_N "(cached) $ECHO_C" >&6
60269 else
60270
60271         if test x$gcc_no_link = xyes; then
60272   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60273 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60274    { (exit 1); exit 1; }; }
60275 fi
60276 cat >conftest.$ac_ext <<_ACEOF
60277 /* confdefs.h.  */
60278 _ACEOF
60279 cat confdefs.h >>conftest.$ac_ext
60280 cat >>conftest.$ac_ext <<_ACEOF
60281 /* end confdefs.h.  */
60282 #include <math.h>
60283 int
60284 main ()
60285 {
60286  __builtin_cos(0);
60287   ;
60288   return 0;
60289 }
60290 _ACEOF
60291 rm -f conftest.$ac_objext conftest$ac_exeext
60292 if { (ac_try="$ac_link"
60293 case "(($ac_try" in
60294   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
60295   *) ac_try_echo=$ac_try;;
60296 esac
60297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
60298   (eval "$ac_link") 2>conftest.er1
60299   ac_status=$?
60300   grep -v '^ *+' conftest.er1 >conftest.err
60301   rm -f conftest.er1
60302   cat conftest.err >&5
60303   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60304   (exit $ac_status); } && {
60305          test -z "$ac_c_werror_flag" ||
60306          test ! -s conftest.err
60307        } && test -s conftest$ac_exeext &&
60308        $as_test_x conftest$ac_exeext; then
60309   glibcxx_cv_func___builtin_cos_link=yes
60310 else
60311   echo "$as_me: failed program was:" >&5
60312 sed 's/^/| /' conftest.$ac_ext >&5
60313
60314         glibcxx_cv_func___builtin_cos_link=no
60315 fi
60316
60317 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
60318       conftest$ac_exeext conftest.$ac_ext
60319
60320 fi
60321
60322     fi
60323     { echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
60324 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6; }
60325
60326     if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
60327
60328 cat >>confdefs.h <<\_ACEOF
60329 #define HAVE___BUILTIN_COS 1
60330 _ACEOF
60331
60332     fi
60333
60334   fi
60335
60336
60337   { echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
60338 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6; }
60339   if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
60340     if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
60341   echo $ECHO_N "(cached) $ECHO_C" >&6
60342 else
60343
60344
60345       ac_ext=cpp
60346 ac_cpp='$CXXCPP $CPPFLAGS'
60347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60350
60351       cat >conftest.$ac_ext <<_ACEOF
60352 /* confdefs.h.  */
60353 _ACEOF
60354 cat confdefs.h >>conftest.$ac_ext
60355 cat >>conftest.$ac_ext <<_ACEOF
60356 /* end confdefs.h.  */
60357 #include <math.h>
60358 int
60359 main ()
60360 {
60361  __builtin_cosl(0);
60362   ;
60363   return 0;
60364 }
60365 _ACEOF
60366 rm -f conftest.$ac_objext
60367 if { (ac_try="$ac_compile"
60368 case "(($ac_try" in
60369   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
60370   *) ac_try_echo=$ac_try;;
60371 esac
60372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
60373   (eval "$ac_compile") 2>conftest.er1
60374   ac_status=$?
60375   grep -v '^ *+' conftest.er1 >conftest.err
60376   rm -f conftest.er1
60377   cat conftest.err >&5
60378   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60379   (exit $ac_status); } && {
60380          test -z "$ac_cxx_werror_flag" ||
60381          test ! -s conftest.err
60382        } && test -s conftest.$ac_objext; then
60383   glibcxx_cv_func___builtin_cosl_use=yes
60384 else
60385   echo "$as_me: failed program was:" >&5
60386 sed 's/^/| /' conftest.$ac_ext >&5
60387
60388         glibcxx_cv_func___builtin_cosl_use=no
60389 fi
60390
60391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60392       ac_ext=c
60393 ac_cpp='$CPP $CPPFLAGS'
60394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60397
60398
60399 fi
60400
60401   fi
60402   { echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
60403 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6; }
60404   if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
60405     { echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
60406 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6; }
60407     if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
60408       if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
60409   echo $ECHO_N "(cached) $ECHO_C" >&6
60410 else
60411
60412         if test x$gcc_no_link = xyes; then
60413   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60414 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60415    { (exit 1); exit 1; }; }
60416 fi
60417 cat >conftest.$ac_ext <<_ACEOF
60418 /* confdefs.h.  */
60419 _ACEOF
60420 cat confdefs.h >>conftest.$ac_ext
60421 cat >>conftest.$ac_ext <<_ACEOF
60422 /* end confdefs.h.  */
60423 #include <math.h>
60424 int
60425 main ()
60426 {
60427  __builtin_cosl(0);
60428   ;
60429   return 0;
60430 }
60431 _ACEOF
60432 rm -f conftest.$ac_objext conftest$ac_exeext
60433 if { (ac_try="$ac_link"
60434 case "(($ac_try" in
60435   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
60436   *) ac_try_echo=$ac_try;;
60437 esac
60438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
60439   (eval "$ac_link") 2>conftest.er1
60440   ac_status=$?
60441   grep -v '^ *+' conftest.er1 >conftest.err
60442   rm -f conftest.er1
60443   cat conftest.err >&5
60444   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60445   (exit $ac_status); } && {
60446          test -z "$ac_c_werror_flag" ||
60447          test ! -s conftest.err
60448        } && test -s conftest$ac_exeext &&
60449        $as_test_x conftest$ac_exeext; then
60450   glibcxx_cv_func___builtin_cosl_link=yes
60451 else
60452   echo "$as_me: failed program was:" >&5
60453 sed 's/^/| /' conftest.$ac_ext >&5
60454
60455         glibcxx_cv_func___builtin_cosl_link=no
60456 fi
60457
60458 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
60459       conftest$ac_exeext conftest.$ac_ext
60460
60461 fi
60462
60463     fi
60464     { echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
60465 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6; }
60466
60467     if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
60468
60469 cat >>confdefs.h <<\_ACEOF
60470 #define HAVE___BUILTIN_COSL 1
60471 _ACEOF
60472
60473     fi
60474
60475   fi
60476
60477
60478
60479
60480 { echo "$as_me:$LINENO: checking for main in -lm" >&5
60481 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6; }
60482 if test "${ac_cv_lib_m_main+set}" = set; then
60483   echo $ECHO_N "(cached) $ECHO_C" >&6
60484 else
60485   ac_check_lib_save_LIBS=$LIBS
60486 LIBS="-lm  $LIBS"
60487 if test x$gcc_no_link = xyes; then
60488   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60489 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60490    { (exit 1); exit 1; }; }
60491 fi
60492 cat >conftest.$ac_ext <<_ACEOF
60493 /* confdefs.h.  */
60494 _ACEOF
60495 cat confdefs.h >>conftest.$ac_ext
60496 cat >>conftest.$ac_ext <<_ACEOF
60497 /* end confdefs.h.  */
60498
60499
60500 int
60501 main ()
60502 {
60503 return main ();
60504   ;
60505   return 0;
60506 }
60507 _ACEOF
60508 rm -f conftest.$ac_objext conftest$ac_exeext
60509 if { (ac_try="$ac_link"
60510 case "(($ac_try" in
60511   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
60512   *) ac_try_echo=$ac_try;;
60513 esac
60514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
60515   (eval "$ac_link") 2>conftest.er1
60516   ac_status=$?
60517   grep -v '^ *+' conftest.er1 >conftest.err
60518   rm -f conftest.er1
60519   cat conftest.err >&5
60520   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60521   (exit $ac_status); } && {
60522          test -z "$ac_c_werror_flag" ||
60523          test ! -s conftest.err
60524        } && test -s conftest$ac_exeext &&
60525        $as_test_x conftest$ac_exeext; then
60526   ac_cv_lib_m_main=yes
60527 else
60528   echo "$as_me: failed program was:" >&5
60529 sed 's/^/| /' conftest.$ac_ext >&5
60530
60531         ac_cv_lib_m_main=no
60532 fi
60533
60534 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
60535       conftest$ac_exeext conftest.$ac_ext
60536 LIBS=$ac_check_lib_save_LIBS
60537 fi
60538 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
60539 echo "${ECHO_T}$ac_cv_lib_m_main" >&6; }
60540 if test $ac_cv_lib_m_main = yes; then
60541   cat >>confdefs.h <<_ACEOF
60542 #define HAVE_LIBM 1
60543 _ACEOF
60544
60545   LIBS="-lm $LIBS"
60546
60547 fi
60548
60549
60550 for ac_func in copysignf
60551 do
60552 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60553 { echo "$as_me:$LINENO: checking for $ac_func" >&5
60554 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
60555 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
60556   echo $ECHO_N "(cached) $ECHO_C" >&6
60557 else
60558   if test x$gcc_no_link = xyes; then
60559   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60560 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60561    { (exit 1); exit 1; }; }
60562 fi
60563 cat >conftest.$ac_ext <<_ACEOF
60564 /* confdefs.h.  */
60565 _ACEOF
60566 cat confdefs.h >>conftest.$ac_ext
60567 cat >>conftest.$ac_ext <<_ACEOF
60568 /* end confdefs.h.  */
60569 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60570    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60571 #define $ac_func innocuous_$ac_func
60572
60573 /* System header to define __stub macros and hopefully few prototypes,
60574     which can conflict with char $ac_func (); below.
60575     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60576     <limits.h> exists even on freestanding compilers.  */
60577
60578 #ifdef __STDC__
60579 # include <limits.h>
60580 #else
60581 # include <assert.h>
60582 #endif
60583
60584 #undef $ac_func
60585
60586 /* Override any GCC internal prototype to avoid an error.
60587    Use char because int might match the return type of a GCC
60588    builtin and then its argument prototype would still apply.  */
60589 #ifdef __cplusplus
60590 extern "C"
60591 #endif
60592 char $ac_func ();
60593 /* The GNU C library defines this for functions which it implements
60594     to always fail with ENOSYS.  Some functions are actually named
60595     something starting with __ and the normal name is an alias.  */
60596 #if defined __stub_$ac_func || defined __stub___$ac_func
60597 choke me
60598 #endif
60599
60600 int
60601 main ()
60602 {
60603 return $ac_func ();
60604   ;
60605   return 0;
60606 }
60607 _ACEOF
60608 rm -f conftest.$ac_objext conftest$ac_exeext
60609 if { (ac_try="$ac_link"
60610 case "(($ac_try" in
60611   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
60612   *) ac_try_echo=$ac_try;;
60613 esac
60614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
60615   (eval "$ac_link") 2>conftest.er1
60616   ac_status=$?
60617   grep -v '^ *+' conftest.er1 >conftest.err
60618   rm -f conftest.er1
60619   cat conftest.err >&5
60620   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60621   (exit $ac_status); } && {
60622          test -z "$ac_c_werror_flag" ||
60623          test ! -s conftest.err
60624        } && test -s conftest$ac_exeext &&
60625        $as_test_x conftest$ac_exeext; then
60626   eval "$as_ac_var=yes"
60627 else
60628   echo "$as_me: failed program was:" >&5
60629 sed 's/^/| /' conftest.$ac_ext >&5
60630
60631         eval "$as_ac_var=no"
60632 fi
60633
60634 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
60635       conftest$ac_exeext conftest.$ac_ext
60636 fi
60637 ac_res=`eval echo '${'$as_ac_var'}'`
60638                { echo "$as_me:$LINENO: result: $ac_res" >&5
60639 echo "${ECHO_T}$ac_res" >&6; }
60640 if test `eval echo '${'$as_ac_var'}'` = yes; then
60641   cat >>confdefs.h <<_ACEOF
60642 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60643 _ACEOF
60644
60645 else
60646   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
60647 fi
60648 done
60649
60650
60651
60652 for ac_func in __signbit
60653 do
60654 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60655 { echo "$as_me:$LINENO: checking for $ac_func" >&5
60656 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
60657 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
60658   echo $ECHO_N "(cached) $ECHO_C" >&6
60659 else
60660   if test x$gcc_no_link = xyes; then
60661   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60662 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60663    { (exit 1); exit 1; }; }
60664 fi
60665 cat >conftest.$ac_ext <<_ACEOF
60666 /* confdefs.h.  */
60667 _ACEOF
60668 cat confdefs.h >>conftest.$ac_ext
60669 cat >>conftest.$ac_ext <<_ACEOF
60670 /* end confdefs.h.  */
60671 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60672    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60673 #define $ac_func innocuous_$ac_func
60674
60675 /* System header to define __stub macros and hopefully few prototypes,
60676     which can conflict with char $ac_func (); below.
60677     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60678     <limits.h> exists even on freestanding compilers.  */
60679
60680 #ifdef __STDC__
60681 # include <limits.h>
60682 #else
60683 # include <assert.h>
60684 #endif
60685
60686 #undef $ac_func
60687
60688 /* Override any GCC internal prototype to avoid an error.
60689    Use char because int might match the return type of a GCC
60690    builtin and then its argument prototype would still apply.  */
60691 #ifdef __cplusplus
60692 extern "C"
60693 #endif
60694 char $ac_func ();
60695 /* The GNU C library defines this for functions which it implements
60696     to always fail with ENOSYS.  Some functions are actually named
60697     something starting with __ and the normal name is an alias.  */
60698 #if defined __stub_$ac_func || defined __stub___$ac_func
60699 choke me
60700 #endif
60701
60702 int
60703 main ()
60704 {
60705 return $ac_func ();
60706   ;
60707   return 0;
60708 }
60709 _ACEOF
60710 rm -f conftest.$ac_objext conftest$ac_exeext
60711 if { (ac_try="$ac_link"
60712 case "(($ac_try" in
60713   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
60714   *) ac_try_echo=$ac_try;;
60715 esac
60716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
60717   (eval "$ac_link") 2>conftest.er1
60718   ac_status=$?
60719   grep -v '^ *+' conftest.er1 >conftest.err
60720   rm -f conftest.er1
60721   cat conftest.err >&5
60722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60723   (exit $ac_status); } && {
60724          test -z "$ac_c_werror_flag" ||
60725          test ! -s conftest.err
60726        } && test -s conftest$ac_exeext &&
60727        $as_test_x conftest$ac_exeext; then
60728   eval "$as_ac_var=yes"
60729 else
60730   echo "$as_me: failed program was:" >&5
60731 sed 's/^/| /' conftest.$ac_ext >&5
60732
60733         eval "$as_ac_var=no"
60734 fi
60735
60736 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
60737       conftest$ac_exeext conftest.$ac_ext
60738 fi
60739 ac_res=`eval echo '${'$as_ac_var'}'`
60740                { echo "$as_me:$LINENO: result: $ac_res" >&5
60741 echo "${ECHO_T}$ac_res" >&6; }
60742 if test `eval echo '${'$as_ac_var'}'` = yes; then
60743   cat >>confdefs.h <<_ACEOF
60744 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60745 _ACEOF
60746
60747 else
60748   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
60749 fi
60750 done
60751
60752
60753
60754 for ac_func in __signbitf
60755 do
60756 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60757 { echo "$as_me:$LINENO: checking for $ac_func" >&5
60758 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
60759 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
60760   echo $ECHO_N "(cached) $ECHO_C" >&6
60761 else
60762   if test x$gcc_no_link = xyes; then
60763   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60764 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60765    { (exit 1); exit 1; }; }
60766 fi
60767 cat >conftest.$ac_ext <<_ACEOF
60768 /* confdefs.h.  */
60769 _ACEOF
60770 cat confdefs.h >>conftest.$ac_ext
60771 cat >>conftest.$ac_ext <<_ACEOF
60772 /* end confdefs.h.  */
60773 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60774    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60775 #define $ac_func innocuous_$ac_func
60776
60777 /* System header to define __stub macros and hopefully few prototypes,
60778     which can conflict with char $ac_func (); below.
60779     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60780     <limits.h> exists even on freestanding compilers.  */
60781
60782 #ifdef __STDC__
60783 # include <limits.h>
60784 #else
60785 # include <assert.h>
60786 #endif
60787
60788 #undef $ac_func
60789
60790 /* Override any GCC internal prototype to avoid an error.
60791    Use char because int might match the return type of a GCC
60792    builtin and then its argument prototype would still apply.  */
60793 #ifdef __cplusplus
60794 extern "C"
60795 #endif
60796 char $ac_func ();
60797 /* The GNU C library defines this for functions which it implements
60798     to always fail with ENOSYS.  Some functions are actually named
60799     something starting with __ and the normal name is an alias.  */
60800 #if defined __stub_$ac_func || defined __stub___$ac_func
60801 choke me
60802 #endif
60803
60804 int
60805 main ()
60806 {
60807 return $ac_func ();
60808   ;
60809   return 0;
60810 }
60811 _ACEOF
60812 rm -f conftest.$ac_objext conftest$ac_exeext
60813 if { (ac_try="$ac_link"
60814 case "(($ac_try" in
60815   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
60816   *) ac_try_echo=$ac_try;;
60817 esac
60818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
60819   (eval "$ac_link") 2>conftest.er1
60820   ac_status=$?
60821   grep -v '^ *+' conftest.er1 >conftest.err
60822   rm -f conftest.er1
60823   cat conftest.err >&5
60824   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60825   (exit $ac_status); } && {
60826          test -z "$ac_c_werror_flag" ||
60827          test ! -s conftest.err
60828        } && test -s conftest$ac_exeext &&
60829        $as_test_x conftest$ac_exeext; then
60830   eval "$as_ac_var=yes"
60831 else
60832   echo "$as_me: failed program was:" >&5
60833 sed 's/^/| /' conftest.$ac_ext >&5
60834
60835         eval "$as_ac_var=no"
60836 fi
60837
60838 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
60839       conftest$ac_exeext conftest.$ac_ext
60840 fi
60841 ac_res=`eval echo '${'$as_ac_var'}'`
60842                { echo "$as_me:$LINENO: result: $ac_res" >&5
60843 echo "${ECHO_T}$ac_res" >&6; }
60844 if test `eval echo '${'$as_ac_var'}'` = yes; then
60845   cat >>confdefs.h <<_ACEOF
60846 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60847 _ACEOF
60848
60849 else
60850   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
60851 fi
60852 done
60853
60854
60855           if test x$ac_cv_func_copysignl = x"yes"; then
60856
60857 for ac_func in __signbitl
60858 do
60859 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60860 { echo "$as_me:$LINENO: checking for $ac_func" >&5
60861 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
60862 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
60863   echo $ECHO_N "(cached) $ECHO_C" >&6
60864 else
60865   if test x$gcc_no_link = xyes; then
60866   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60867 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60868    { (exit 1); exit 1; }; }
60869 fi
60870 cat >conftest.$ac_ext <<_ACEOF
60871 /* confdefs.h.  */
60872 _ACEOF
60873 cat confdefs.h >>conftest.$ac_ext
60874 cat >>conftest.$ac_ext <<_ACEOF
60875 /* end confdefs.h.  */
60876 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60877    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60878 #define $ac_func innocuous_$ac_func
60879
60880 /* System header to define __stub macros and hopefully few prototypes,
60881     which can conflict with char $ac_func (); below.
60882     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60883     <limits.h> exists even on freestanding compilers.  */
60884
60885 #ifdef __STDC__
60886 # include <limits.h>
60887 #else
60888 # include <assert.h>
60889 #endif
60890
60891 #undef $ac_func
60892
60893 /* Override any GCC internal prototype to avoid an error.
60894    Use char because int might match the return type of a GCC
60895    builtin and then its argument prototype would still apply.  */
60896 #ifdef __cplusplus
60897 extern "C"
60898 #endif
60899 char $ac_func ();
60900 /* The GNU C library defines this for functions which it implements
60901     to always fail with ENOSYS.  Some functions are actually named
60902     something starting with __ and the normal name is an alias.  */
60903 #if defined __stub_$ac_func || defined __stub___$ac_func
60904 choke me
60905 #endif
60906
60907 int
60908 main ()
60909 {
60910 return $ac_func ();
60911   ;
60912   return 0;
60913 }
60914 _ACEOF
60915 rm -f conftest.$ac_objext conftest$ac_exeext
60916 if { (ac_try="$ac_link"
60917 case "(($ac_try" in
60918   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
60919   *) ac_try_echo=$ac_try;;
60920 esac
60921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
60922   (eval "$ac_link") 2>conftest.er1
60923   ac_status=$?
60924   grep -v '^ *+' conftest.er1 >conftest.err
60925   rm -f conftest.er1
60926   cat conftest.err >&5
60927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60928   (exit $ac_status); } && {
60929          test -z "$ac_c_werror_flag" ||
60930          test ! -s conftest.err
60931        } && test -s conftest$ac_exeext &&
60932        $as_test_x conftest$ac_exeext; then
60933   eval "$as_ac_var=yes"
60934 else
60935   echo "$as_me: failed program was:" >&5
60936 sed 's/^/| /' conftest.$ac_ext >&5
60937
60938         eval "$as_ac_var=no"
60939 fi
60940
60941 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
60942       conftest$ac_exeext conftest.$ac_ext
60943 fi
60944 ac_res=`eval echo '${'$as_ac_var'}'`
60945                { echo "$as_me:$LINENO: result: $ac_res" >&5
60946 echo "${ECHO_T}$ac_res" >&6; }
60947 if test `eval echo '${'$as_ac_var'}'` = yes; then
60948   cat >>confdefs.h <<_ACEOF
60949 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60950 _ACEOF
60951
60952 else
60953   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
60954 fi
60955 done
60956
60957   fi
60958
60959   # Used in libmath/Makefile.am.
60960   if test -n "$LIBMATHOBJS"; then
60961     need_libmath=yes
60962   fi
60963
60964
60965
60966   ac_test_CXXFLAGS="${CXXFLAGS+set}"
60967   ac_save_CXXFLAGS="$CXXFLAGS"
60968   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
60969
60970
60971   { echo "$as_me:$LINENO: checking for strtold declaration" >&5
60972 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6; }
60973   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
60974     if test "${glibcxx_cv_func_strtold_use+set}" = set; then
60975   echo $ECHO_N "(cached) $ECHO_C" >&6
60976 else
60977
60978
60979       ac_ext=cpp
60980 ac_cpp='$CXXCPP $CPPFLAGS'
60981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60984
60985       cat >conftest.$ac_ext <<_ACEOF
60986 /* confdefs.h.  */
60987 _ACEOF
60988 cat confdefs.h >>conftest.$ac_ext
60989 cat >>conftest.$ac_ext <<_ACEOF
60990 /* end confdefs.h.  */
60991 #include <stdlib.h>
60992 int
60993 main ()
60994 {
60995  strtold(0, 0);
60996   ;
60997   return 0;
60998 }
60999 _ACEOF
61000 rm -f conftest.$ac_objext
61001 if { (ac_try="$ac_compile"
61002 case "(($ac_try" in
61003   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
61004   *) ac_try_echo=$ac_try;;
61005 esac
61006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
61007   (eval "$ac_compile") 2>conftest.er1
61008   ac_status=$?
61009   grep -v '^ *+' conftest.er1 >conftest.err
61010   rm -f conftest.er1
61011   cat conftest.err >&5
61012   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61013   (exit $ac_status); } && {
61014          test -z "$ac_cxx_werror_flag" ||
61015          test ! -s conftest.err
61016        } && test -s conftest.$ac_objext; then
61017   glibcxx_cv_func_strtold_use=yes
61018 else
61019   echo "$as_me: failed program was:" >&5
61020 sed 's/^/| /' conftest.$ac_ext >&5
61021
61022         glibcxx_cv_func_strtold_use=no
61023 fi
61024
61025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61026       ac_ext=c
61027 ac_cpp='$CPP $CPPFLAGS'
61028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61031
61032
61033 fi
61034
61035   fi
61036   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
61037 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6; }
61038   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
61039
61040 for ac_func in strtold
61041 do
61042 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61043 { echo "$as_me:$LINENO: checking for $ac_func" >&5
61044 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
61045 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
61046   echo $ECHO_N "(cached) $ECHO_C" >&6
61047 else
61048   if test x$gcc_no_link = xyes; then
61049   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61050 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61051    { (exit 1); exit 1; }; }
61052 fi
61053 cat >conftest.$ac_ext <<_ACEOF
61054 /* confdefs.h.  */
61055 _ACEOF
61056 cat confdefs.h >>conftest.$ac_ext
61057 cat >>conftest.$ac_ext <<_ACEOF
61058 /* end confdefs.h.  */
61059 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61060    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
61061 #define $ac_func innocuous_$ac_func
61062
61063 /* System header to define __stub macros and hopefully few prototypes,
61064     which can conflict with char $ac_func (); below.
61065     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61066     <limits.h> exists even on freestanding compilers.  */
61067
61068 #ifdef __STDC__
61069 # include <limits.h>
61070 #else
61071 # include <assert.h>
61072 #endif
61073
61074 #undef $ac_func
61075
61076 /* Override any GCC internal prototype to avoid an error.
61077    Use char because int might match the return type of a GCC
61078    builtin and then its argument prototype would still apply.  */
61079 #ifdef __cplusplus
61080 extern "C"
61081 #endif
61082 char $ac_func ();
61083 /* The GNU C library defines this for functions which it implements
61084     to always fail with ENOSYS.  Some functions are actually named
61085     something starting with __ and the normal name is an alias.  */
61086 #if defined __stub_$ac_func || defined __stub___$ac_func
61087 choke me
61088 #endif
61089
61090 int
61091 main ()
61092 {
61093 return $ac_func ();
61094   ;
61095   return 0;
61096 }
61097 _ACEOF
61098 rm -f conftest.$ac_objext conftest$ac_exeext
61099 if { (ac_try="$ac_link"
61100 case "(($ac_try" in
61101   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
61102   *) ac_try_echo=$ac_try;;
61103 esac
61104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
61105   (eval "$ac_link") 2>conftest.er1
61106   ac_status=$?
61107   grep -v '^ *+' conftest.er1 >conftest.err
61108   rm -f conftest.er1
61109   cat conftest.err >&5
61110   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61111   (exit $ac_status); } && {
61112          test -z "$ac_c_werror_flag" ||
61113          test ! -s conftest.err
61114        } && test -s conftest$ac_exeext &&
61115        $as_test_x conftest$ac_exeext; then
61116   eval "$as_ac_var=yes"
61117 else
61118   echo "$as_me: failed program was:" >&5
61119 sed 's/^/| /' conftest.$ac_ext >&5
61120
61121         eval "$as_ac_var=no"
61122 fi
61123
61124 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
61125       conftest$ac_exeext conftest.$ac_ext
61126 fi
61127 ac_res=`eval echo '${'$as_ac_var'}'`
61128                { echo "$as_me:$LINENO: result: $ac_res" >&5
61129 echo "${ECHO_T}$ac_res" >&6; }
61130 if test `eval echo '${'$as_ac_var'}'` = yes; then
61131   cat >>confdefs.h <<_ACEOF
61132 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61133 _ACEOF
61134
61135 fi
61136 done
61137
61138   fi
61139
61140
61141
61142
61143
61144   { echo "$as_me:$LINENO: checking for strtof declaration" >&5
61145 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6; }
61146   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
61147     if test "${glibcxx_cv_func_strtof_use+set}" = set; then
61148   echo $ECHO_N "(cached) $ECHO_C" >&6
61149 else
61150
61151
61152       ac_ext=cpp
61153 ac_cpp='$CXXCPP $CPPFLAGS'
61154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61157
61158       cat >conftest.$ac_ext <<_ACEOF
61159 /* confdefs.h.  */
61160 _ACEOF
61161 cat confdefs.h >>conftest.$ac_ext
61162 cat >>conftest.$ac_ext <<_ACEOF
61163 /* end confdefs.h.  */
61164 #include <stdlib.h>
61165 int
61166 main ()
61167 {
61168  strtof(0, 0);
61169   ;
61170   return 0;
61171 }
61172 _ACEOF
61173 rm -f conftest.$ac_objext
61174 if { (ac_try="$ac_compile"
61175 case "(($ac_try" in
61176   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
61177   *) ac_try_echo=$ac_try;;
61178 esac
61179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
61180   (eval "$ac_compile") 2>conftest.er1
61181   ac_status=$?
61182   grep -v '^ *+' conftest.er1 >conftest.err
61183   rm -f conftest.er1
61184   cat conftest.err >&5
61185   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61186   (exit $ac_status); } && {
61187          test -z "$ac_cxx_werror_flag" ||
61188          test ! -s conftest.err
61189        } && test -s conftest.$ac_objext; then
61190   glibcxx_cv_func_strtof_use=yes
61191 else
61192   echo "$as_me: failed program was:" >&5
61193 sed 's/^/| /' conftest.$ac_ext >&5
61194
61195         glibcxx_cv_func_strtof_use=no
61196 fi
61197
61198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61199       ac_ext=c
61200 ac_cpp='$CPP $CPPFLAGS'
61201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61204
61205
61206 fi
61207
61208   fi
61209   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
61210 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6; }
61211   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
61212
61213 for ac_func in strtof
61214 do
61215 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61216 { echo "$as_me:$LINENO: checking for $ac_func" >&5
61217 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
61218 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
61219   echo $ECHO_N "(cached) $ECHO_C" >&6
61220 else
61221   if test x$gcc_no_link = xyes; then
61222   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61223 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61224    { (exit 1); exit 1; }; }
61225 fi
61226 cat >conftest.$ac_ext <<_ACEOF
61227 /* confdefs.h.  */
61228 _ACEOF
61229 cat confdefs.h >>conftest.$ac_ext
61230 cat >>conftest.$ac_ext <<_ACEOF
61231 /* end confdefs.h.  */
61232 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61233    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
61234 #define $ac_func innocuous_$ac_func
61235
61236 /* System header to define __stub macros and hopefully few prototypes,
61237     which can conflict with char $ac_func (); below.
61238     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61239     <limits.h> exists even on freestanding compilers.  */
61240
61241 #ifdef __STDC__
61242 # include <limits.h>
61243 #else
61244 # include <assert.h>
61245 #endif
61246
61247 #undef $ac_func
61248
61249 /* Override any GCC internal prototype to avoid an error.
61250    Use char because int might match the return type of a GCC
61251    builtin and then its argument prototype would still apply.  */
61252 #ifdef __cplusplus
61253 extern "C"
61254 #endif
61255 char $ac_func ();
61256 /* The GNU C library defines this for functions which it implements
61257     to always fail with ENOSYS.  Some functions are actually named
61258     something starting with __ and the normal name is an alias.  */
61259 #if defined __stub_$ac_func || defined __stub___$ac_func
61260 choke me
61261 #endif
61262
61263 int
61264 main ()
61265 {
61266 return $ac_func ();
61267   ;
61268   return 0;
61269 }
61270 _ACEOF
61271 rm -f conftest.$ac_objext conftest$ac_exeext
61272 if { (ac_try="$ac_link"
61273 case "(($ac_try" in
61274   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
61275   *) ac_try_echo=$ac_try;;
61276 esac
61277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
61278   (eval "$ac_link") 2>conftest.er1
61279   ac_status=$?
61280   grep -v '^ *+' conftest.er1 >conftest.err
61281   rm -f conftest.er1
61282   cat conftest.err >&5
61283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61284   (exit $ac_status); } && {
61285          test -z "$ac_c_werror_flag" ||
61286          test ! -s conftest.err
61287        } && test -s conftest$ac_exeext &&
61288        $as_test_x conftest$ac_exeext; then
61289   eval "$as_ac_var=yes"
61290 else
61291   echo "$as_me: failed program was:" >&5
61292 sed 's/^/| /' conftest.$ac_ext >&5
61293
61294         eval "$as_ac_var=no"
61295 fi
61296
61297 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
61298       conftest$ac_exeext conftest.$ac_ext
61299 fi
61300 ac_res=`eval echo '${'$as_ac_var'}'`
61301                { echo "$as_me:$LINENO: result: $ac_res" >&5
61302 echo "${ECHO_T}$ac_res" >&6; }
61303 if test `eval echo '${'$as_ac_var'}'` = yes; then
61304   cat >>confdefs.h <<_ACEOF
61305 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61306 _ACEOF
61307
61308 fi
61309 done
61310
61311   fi
61312
61313
61314
61315
61316
61317   CXXFLAGS="$ac_save_CXXFLAGS"
61318
61319
61320   { echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
61321 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6; }
61322   if test "${glibcxx_cv_S_ISREG+set}" = set; then
61323   echo $ECHO_N "(cached) $ECHO_C" >&6
61324 else
61325
61326     if test x$gcc_no_link = xyes; then
61327   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61328 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61329    { (exit 1); exit 1; }; }
61330 fi
61331 cat >conftest.$ac_ext <<_ACEOF
61332 /* confdefs.h.  */
61333 _ACEOF
61334 cat confdefs.h >>conftest.$ac_ext
61335 cat >>conftest.$ac_ext <<_ACEOF
61336 /* end confdefs.h.  */
61337 #include <sys/stat.h>
61338 int
61339 main ()
61340 {
61341 struct stat buffer;
61342        fstat(0, &buffer);
61343        S_ISREG(buffer.st_mode);
61344   ;
61345   return 0;
61346 }
61347 _ACEOF
61348 rm -f conftest.$ac_objext conftest$ac_exeext
61349 if { (ac_try="$ac_link"
61350 case "(($ac_try" in
61351   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
61352   *) ac_try_echo=$ac_try;;
61353 esac
61354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
61355   (eval "$ac_link") 2>conftest.er1
61356   ac_status=$?
61357   grep -v '^ *+' conftest.er1 >conftest.err
61358   rm -f conftest.er1
61359   cat conftest.err >&5
61360   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61361   (exit $ac_status); } && {
61362          test -z "$ac_c_werror_flag" ||
61363          test ! -s conftest.err
61364        } && test -s conftest$ac_exeext &&
61365        $as_test_x conftest$ac_exeext; then
61366   glibcxx_cv_S_ISREG=yes
61367 else
61368   echo "$as_me: failed program was:" >&5
61369 sed 's/^/| /' conftest.$ac_ext >&5
61370
61371         glibcxx_cv_S_ISREG=no
61372 fi
61373
61374 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
61375       conftest$ac_exeext conftest.$ac_ext
61376
61377 fi
61378
61379   if test "${glibcxx_cv_S_IFREG+set}" = set; then
61380   echo $ECHO_N "(cached) $ECHO_C" >&6
61381 else
61382
61383     if test x$gcc_no_link = xyes; then
61384   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61385 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61386    { (exit 1); exit 1; }; }
61387 fi
61388 cat >conftest.$ac_ext <<_ACEOF
61389 /* confdefs.h.  */
61390 _ACEOF
61391 cat confdefs.h >>conftest.$ac_ext
61392 cat >>conftest.$ac_ext <<_ACEOF
61393 /* end confdefs.h.  */
61394 #include <sys/stat.h>
61395 int
61396 main ()
61397 {
61398 struct stat buffer;
61399        fstat(0, &buffer);
61400        S_IFREG & buffer.st_mode;
61401   ;
61402   return 0;
61403 }
61404 _ACEOF
61405 rm -f conftest.$ac_objext conftest$ac_exeext
61406 if { (ac_try="$ac_link"
61407 case "(($ac_try" in
61408   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
61409   *) ac_try_echo=$ac_try;;
61410 esac
61411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
61412   (eval "$ac_link") 2>conftest.er1
61413   ac_status=$?
61414   grep -v '^ *+' conftest.er1 >conftest.err
61415   rm -f conftest.er1
61416   cat conftest.err >&5
61417   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61418   (exit $ac_status); } && {
61419          test -z "$ac_c_werror_flag" ||
61420          test ! -s conftest.err
61421        } && test -s conftest$ac_exeext &&
61422        $as_test_x conftest$ac_exeext; then
61423   glibcxx_cv_S_IFREG=yes
61424 else
61425   echo "$as_me: failed program was:" >&5
61426 sed 's/^/| /' conftest.$ac_ext >&5
61427
61428         glibcxx_cv_S_IFREG=no
61429 fi
61430
61431 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
61432       conftest$ac_exeext conftest.$ac_ext
61433
61434 fi
61435
61436   res=no
61437   if test $glibcxx_cv_S_ISREG = yes; then
61438
61439 cat >>confdefs.h <<\_ACEOF
61440 #define HAVE_S_ISREG 1
61441 _ACEOF
61442
61443     res=S_ISREG
61444   elif test $glibcxx_cv_S_IFREG = yes; then
61445
61446 cat >>confdefs.h <<\_ACEOF
61447 #define HAVE_S_IFREG 1
61448 _ACEOF
61449
61450     res=S_IFREG
61451   fi
61452   { echo "$as_me:$LINENO: result: $res" >&5
61453 echo "${ECHO_T}$res" >&6; }
61454
61455     cat >>confdefs.h <<\_ACEOF
61456 #define HAVE_SIGSETJMP 1
61457 _ACEOF
61458
61459     cat >>confdefs.h <<\_ACEOF
61460 #define HAVE_GETPAGESIZE 1
61461 _ACEOF
61462
61463     cat >>confdefs.h <<\_ACEOF
61464 #define HAVE_WRITEV 1
61465 _ACEOF
61466
61467     cat >>confdefs.h <<\_ACEOF
61468 #define HAVE_INT64_T 1
61469 _ACEOF
61470
61471
61472     cat >>confdefs.h <<\_ACEOF
61473 #define HAVE_LIBM 1
61474 _ACEOF
61475
61476     cat >>confdefs.h <<\_ACEOF
61477 #define HAVE_COPYSIGN 1
61478 _ACEOF
61479
61480     cat >>confdefs.h <<\_ACEOF
61481 #define HAVE_FINITE 1
61482 _ACEOF
61483
61484     cat >>confdefs.h <<\_ACEOF
61485 #define HAVE_HYPOT 1
61486 _ACEOF
61487
61488     cat >>confdefs.h <<\_ACEOF
61489 #define HAVE_ISNAN 1
61490 _ACEOF
61491
61492     cat >>confdefs.h <<\_ACEOF
61493 #define HAVE_ISINF 1
61494 _ACEOF
61495
61496
61497     cat >>confdefs.h <<\_ACEOF
61498 #define HAVE_LDEXPF 1
61499 _ACEOF
61500
61501     cat >>confdefs.h <<\_ACEOF
61502 #define HAVE_MODF 1
61503 _ACEOF
61504
61505     cat >>confdefs.h <<\_ACEOF
61506 #define HAVE_SQRTF 1
61507 _ACEOF
61508
61509     ;;
61510
61511   *-darwin*)
61512     # Darwin versions vary, but the linker should work in a cross environment,
61513     # so we just check for all the features here.
61514     # Check for available headers.
61515
61516
61517
61518
61519
61520
61521
61522
61523
61524
61525
61526
61527
61528 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
61529     machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
61530     sys/types.h
61531 do
61532 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
61533 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
61534   { echo "$as_me:$LINENO: checking for $ac_header" >&5
61535 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
61536 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
61537   echo $ECHO_N "(cached) $ECHO_C" >&6
61538 fi
61539 ac_res=`eval echo '${'$as_ac_Header'}'`
61540                { echo "$as_me:$LINENO: result: $ac_res" >&5
61541 echo "${ECHO_T}$ac_res" >&6; }
61542 else
61543   # Is the header compilable?
61544 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
61545 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
61546 cat >conftest.$ac_ext <<_ACEOF
61547 /* confdefs.h.  */
61548 _ACEOF
61549 cat confdefs.h >>conftest.$ac_ext
61550 cat >>conftest.$ac_ext <<_ACEOF
61551 /* end confdefs.h.  */
61552 $ac_includes_default
61553 #include <$ac_header>
61554 _ACEOF
61555 rm -f conftest.$ac_objext
61556 if { (ac_try="$ac_compile"
61557 case "(($ac_try" in
61558   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
61559   *) ac_try_echo=$ac_try;;
61560 esac
61561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
61562   (eval "$ac_compile") 2>conftest.er1
61563   ac_status=$?
61564   grep -v '^ *+' conftest.er1 >conftest.err
61565   rm -f conftest.er1
61566   cat conftest.err >&5
61567   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61568   (exit $ac_status); } && {
61569          test -z "$ac_c_werror_flag" ||
61570          test ! -s conftest.err
61571        } && test -s conftest.$ac_objext; then
61572   ac_header_compiler=yes
61573 else
61574   echo "$as_me: failed program was:" >&5
61575 sed 's/^/| /' conftest.$ac_ext >&5
61576
61577         ac_header_compiler=no
61578 fi
61579
61580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61581 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
61582 echo "${ECHO_T}$ac_header_compiler" >&6; }
61583
61584 # Is the header present?
61585 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
61586 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
61587 cat >conftest.$ac_ext <<_ACEOF
61588 /* confdefs.h.  */
61589 _ACEOF
61590 cat confdefs.h >>conftest.$ac_ext
61591 cat >>conftest.$ac_ext <<_ACEOF
61592 /* end confdefs.h.  */
61593 #include <$ac_header>
61594 _ACEOF
61595 if { (ac_try="$ac_cpp conftest.$ac_ext"
61596 case "(($ac_try" in
61597   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
61598   *) ac_try_echo=$ac_try;;
61599 esac
61600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
61601   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
61602   ac_status=$?
61603   grep -v '^ *+' conftest.er1 >conftest.err
61604   rm -f conftest.er1
61605   cat conftest.err >&5
61606   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61607   (exit $ac_status); } >/dev/null && {
61608          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
61609          test ! -s conftest.err
61610        }; then
61611   ac_header_preproc=yes
61612 else
61613   echo "$as_me: failed program was:" >&5
61614 sed 's/^/| /' conftest.$ac_ext >&5
61615
61616   ac_header_preproc=no
61617 fi
61618
61619 rm -f conftest.err conftest.$ac_ext
61620 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
61621 echo "${ECHO_T}$ac_header_preproc" >&6; }
61622
61623 # So?  What about this header?
61624 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
61625   yes:no: )
61626     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
61627 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
61628     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
61629 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
61630     ac_header_preproc=yes
61631     ;;
61632   no:yes:* )
61633     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
61634 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
61635     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
61636 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
61637     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
61638 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
61639     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
61640 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
61641     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
61642 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
61643     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
61644 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
61645
61646     ;;
61647 esac
61648 { echo "$as_me:$LINENO: checking for $ac_header" >&5
61649 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
61650 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
61651   echo $ECHO_N "(cached) $ECHO_C" >&6
61652 else
61653   eval "$as_ac_Header=\$ac_header_preproc"
61654 fi
61655 ac_res=`eval echo '${'$as_ac_Header'}'`
61656                { echo "$as_me:$LINENO: result: $ac_res" >&5
61657 echo "${ECHO_T}$ac_res" >&6; }
61658
61659 fi
61660 if test `eval echo '${'$as_ac_Header'}'` = yes; then
61661   cat >>confdefs.h <<_ACEOF
61662 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
61663 _ACEOF
61664
61665 fi
61666
61667 done
61668
61669
61670     # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
61671
61672   ac_test_CXXFLAGS="${CXXFLAGS+set}"
61673   ac_save_CXXFLAGS="$CXXFLAGS"
61674   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
61675
61676     { echo "$as_me:$LINENO: checking for sin in -lm" >&5
61677 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6; }
61678 if test "${ac_cv_lib_m_sin+set}" = set; then
61679   echo $ECHO_N "(cached) $ECHO_C" >&6
61680 else
61681   ac_check_lib_save_LIBS=$LIBS
61682 LIBS="-lm  $LIBS"
61683 if test x$gcc_no_link = xyes; then
61684   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61685 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61686    { (exit 1); exit 1; }; }
61687 fi
61688 cat >conftest.$ac_ext <<_ACEOF
61689 /* confdefs.h.  */
61690 _ACEOF
61691 cat confdefs.h >>conftest.$ac_ext
61692 cat >>conftest.$ac_ext <<_ACEOF
61693 /* end confdefs.h.  */
61694
61695 /* Override any GCC internal prototype to avoid an error.
61696    Use char because int might match the return type of a GCC
61697    builtin and then its argument prototype would still apply.  */
61698 #ifdef __cplusplus
61699 extern "C"
61700 #endif
61701 char sin ();
61702 int
61703 main ()
61704 {
61705 return sin ();
61706   ;
61707   return 0;
61708 }
61709 _ACEOF
61710 rm -f conftest.$ac_objext conftest$ac_exeext
61711 if { (ac_try="$ac_link"
61712 case "(($ac_try" in
61713   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
61714   *) ac_try_echo=$ac_try;;
61715 esac
61716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
61717   (eval "$ac_link") 2>conftest.er1
61718   ac_status=$?
61719   grep -v '^ *+' conftest.er1 >conftest.err
61720   rm -f conftest.er1
61721   cat conftest.err >&5
61722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61723   (exit $ac_status); } && {
61724          test -z "$ac_c_werror_flag" ||
61725          test ! -s conftest.err
61726        } && test -s conftest$ac_exeext &&
61727        $as_test_x conftest$ac_exeext; then
61728   ac_cv_lib_m_sin=yes
61729 else
61730   echo "$as_me: failed program was:" >&5
61731 sed 's/^/| /' conftest.$ac_ext >&5
61732
61733         ac_cv_lib_m_sin=no
61734 fi
61735
61736 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
61737       conftest$ac_exeext conftest.$ac_ext
61738 LIBS=$ac_check_lib_save_LIBS
61739 fi
61740 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
61741 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6; }
61742 if test $ac_cv_lib_m_sin = yes; then
61743   libm="-lm"
61744 fi
61745
61746   ac_save_LIBS="$LIBS"
61747   LIBS="$LIBS $libm"
61748
61749
61750
61751   { echo "$as_me:$LINENO: checking for isinf declaration" >&5
61752 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6; }
61753   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
61754     if test "${glibcxx_cv_func_isinf_use+set}" = set; then
61755   echo $ECHO_N "(cached) $ECHO_C" >&6
61756 else
61757
61758
61759       ac_ext=cpp
61760 ac_cpp='$CXXCPP $CPPFLAGS'
61761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61764
61765       cat >conftest.$ac_ext <<_ACEOF
61766 /* confdefs.h.  */
61767 _ACEOF
61768 cat confdefs.h >>conftest.$ac_ext
61769 cat >>conftest.$ac_ext <<_ACEOF
61770 /* end confdefs.h.  */
61771 #include <math.h>
61772                       #ifdef HAVE_IEEEFP_H
61773                       #include <ieeefp.h>
61774                       #endif
61775
61776 int
61777 main ()
61778 {
61779  isinf(0);
61780   ;
61781   return 0;
61782 }
61783 _ACEOF
61784 rm -f conftest.$ac_objext
61785 if { (ac_try="$ac_compile"
61786 case "(($ac_try" in
61787   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
61788   *) ac_try_echo=$ac_try;;
61789 esac
61790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
61791   (eval "$ac_compile") 2>conftest.er1
61792   ac_status=$?
61793   grep -v '^ *+' conftest.er1 >conftest.err
61794   rm -f conftest.er1
61795   cat conftest.err >&5
61796   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61797   (exit $ac_status); } && {
61798          test -z "$ac_cxx_werror_flag" ||
61799          test ! -s conftest.err
61800        } && test -s conftest.$ac_objext; then
61801   glibcxx_cv_func_isinf_use=yes
61802 else
61803   echo "$as_me: failed program was:" >&5
61804 sed 's/^/| /' conftest.$ac_ext >&5
61805
61806         glibcxx_cv_func_isinf_use=no
61807 fi
61808
61809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61810       ac_ext=c
61811 ac_cpp='$CPP $CPPFLAGS'
61812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61815
61816
61817 fi
61818
61819   fi
61820   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
61821 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6; }
61822
61823   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
61824
61825 for ac_func in isinf
61826 do
61827 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61828 { echo "$as_me:$LINENO: checking for $ac_func" >&5
61829 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
61830 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
61831   echo $ECHO_N "(cached) $ECHO_C" >&6
61832 else
61833   if test x$gcc_no_link = xyes; then
61834   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61835 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61836    { (exit 1); exit 1; }; }
61837 fi
61838 cat >conftest.$ac_ext <<_ACEOF
61839 /* confdefs.h.  */
61840 _ACEOF
61841 cat confdefs.h >>conftest.$ac_ext
61842 cat >>conftest.$ac_ext <<_ACEOF
61843 /* end confdefs.h.  */
61844 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61845    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
61846 #define $ac_func innocuous_$ac_func
61847
61848 /* System header to define __stub macros and hopefully few prototypes,
61849     which can conflict with char $ac_func (); below.
61850     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61851     <limits.h> exists even on freestanding compilers.  */
61852
61853 #ifdef __STDC__
61854 # include <limits.h>
61855 #else
61856 # include <assert.h>
61857 #endif
61858
61859 #undef $ac_func
61860
61861 /* Override any GCC internal prototype to avoid an error.
61862    Use char because int might match the return type of a GCC
61863    builtin and then its argument prototype would still apply.  */
61864 #ifdef __cplusplus
61865 extern "C"
61866 #endif
61867 char $ac_func ();
61868 /* The GNU C library defines this for functions which it implements
61869     to always fail with ENOSYS.  Some functions are actually named
61870     something starting with __ and the normal name is an alias.  */
61871 #if defined __stub_$ac_func || defined __stub___$ac_func
61872 choke me
61873 #endif
61874
61875 int
61876 main ()
61877 {
61878 return $ac_func ();
61879   ;
61880   return 0;
61881 }
61882 _ACEOF
61883 rm -f conftest.$ac_objext conftest$ac_exeext
61884 if { (ac_try="$ac_link"
61885 case "(($ac_try" in
61886   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
61887   *) ac_try_echo=$ac_try;;
61888 esac
61889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
61890   (eval "$ac_link") 2>conftest.er1
61891   ac_status=$?
61892   grep -v '^ *+' conftest.er1 >conftest.err
61893   rm -f conftest.er1
61894   cat conftest.err >&5
61895   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61896   (exit $ac_status); } && {
61897          test -z "$ac_c_werror_flag" ||
61898          test ! -s conftest.err
61899        } && test -s conftest$ac_exeext &&
61900        $as_test_x conftest$ac_exeext; then
61901   eval "$as_ac_var=yes"
61902 else
61903   echo "$as_me: failed program was:" >&5
61904 sed 's/^/| /' conftest.$ac_ext >&5
61905
61906         eval "$as_ac_var=no"
61907 fi
61908
61909 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
61910       conftest$ac_exeext conftest.$ac_ext
61911 fi
61912 ac_res=`eval echo '${'$as_ac_var'}'`
61913                { echo "$as_me:$LINENO: result: $ac_res" >&5
61914 echo "${ECHO_T}$ac_res" >&6; }
61915 if test `eval echo '${'$as_ac_var'}'` = yes; then
61916   cat >>confdefs.h <<_ACEOF
61917 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61918 _ACEOF
61919
61920 fi
61921 done
61922
61923   else
61924
61925   { echo "$as_me:$LINENO: checking for _isinf declaration" >&5
61926 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6; }
61927   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
61928     if test "${glibcxx_cv_func__isinf_use+set}" = set; then
61929   echo $ECHO_N "(cached) $ECHO_C" >&6
61930 else
61931
61932
61933       ac_ext=cpp
61934 ac_cpp='$CXXCPP $CPPFLAGS'
61935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61938
61939       cat >conftest.$ac_ext <<_ACEOF
61940 /* confdefs.h.  */
61941 _ACEOF
61942 cat confdefs.h >>conftest.$ac_ext
61943 cat >>conftest.$ac_ext <<_ACEOF
61944 /* end confdefs.h.  */
61945 #include <math.h>
61946                       #ifdef HAVE_IEEEFP_H
61947                       #include <ieeefp.h>
61948                       #endif
61949
61950 int
61951 main ()
61952 {
61953  _isinf(0);
61954   ;
61955   return 0;
61956 }
61957 _ACEOF
61958 rm -f conftest.$ac_objext
61959 if { (ac_try="$ac_compile"
61960 case "(($ac_try" in
61961   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
61962   *) ac_try_echo=$ac_try;;
61963 esac
61964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
61965   (eval "$ac_compile") 2>conftest.er1
61966   ac_status=$?
61967   grep -v '^ *+' conftest.er1 >conftest.err
61968   rm -f conftest.er1
61969   cat conftest.err >&5
61970   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61971   (exit $ac_status); } && {
61972          test -z "$ac_cxx_werror_flag" ||
61973          test ! -s conftest.err
61974        } && test -s conftest.$ac_objext; then
61975   glibcxx_cv_func__isinf_use=yes
61976 else
61977   echo "$as_me: failed program was:" >&5
61978 sed 's/^/| /' conftest.$ac_ext >&5
61979
61980         glibcxx_cv_func__isinf_use=no
61981 fi
61982
61983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61984       ac_ext=c
61985 ac_cpp='$CPP $CPPFLAGS'
61986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61989
61990
61991 fi
61992
61993   fi
61994   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
61995 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6; }
61996
61997     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
61998
61999 for ac_func in _isinf
62000 do
62001 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62002 { echo "$as_me:$LINENO: checking for $ac_func" >&5
62003 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
62004 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
62005   echo $ECHO_N "(cached) $ECHO_C" >&6
62006 else
62007   if test x$gcc_no_link = xyes; then
62008   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62009 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62010    { (exit 1); exit 1; }; }
62011 fi
62012 cat >conftest.$ac_ext <<_ACEOF
62013 /* confdefs.h.  */
62014 _ACEOF
62015 cat confdefs.h >>conftest.$ac_ext
62016 cat >>conftest.$ac_ext <<_ACEOF
62017 /* end confdefs.h.  */
62018 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62019    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
62020 #define $ac_func innocuous_$ac_func
62021
62022 /* System header to define __stub macros and hopefully few prototypes,
62023     which can conflict with char $ac_func (); below.
62024     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62025     <limits.h> exists even on freestanding compilers.  */
62026
62027 #ifdef __STDC__
62028 # include <limits.h>
62029 #else
62030 # include <assert.h>
62031 #endif
62032
62033 #undef $ac_func
62034
62035 /* Override any GCC internal prototype to avoid an error.
62036    Use char because int might match the return type of a GCC
62037    builtin and then its argument prototype would still apply.  */
62038 #ifdef __cplusplus
62039 extern "C"
62040 #endif
62041 char $ac_func ();
62042 /* The GNU C library defines this for functions which it implements
62043     to always fail with ENOSYS.  Some functions are actually named
62044     something starting with __ and the normal name is an alias.  */
62045 #if defined __stub_$ac_func || defined __stub___$ac_func
62046 choke me
62047 #endif
62048
62049 int
62050 main ()
62051 {
62052 return $ac_func ();
62053   ;
62054   return 0;
62055 }
62056 _ACEOF
62057 rm -f conftest.$ac_objext conftest$ac_exeext
62058 if { (ac_try="$ac_link"
62059 case "(($ac_try" in
62060   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
62061   *) ac_try_echo=$ac_try;;
62062 esac
62063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
62064   (eval "$ac_link") 2>conftest.er1
62065   ac_status=$?
62066   grep -v '^ *+' conftest.er1 >conftest.err
62067   rm -f conftest.er1
62068   cat conftest.err >&5
62069   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62070   (exit $ac_status); } && {
62071          test -z "$ac_c_werror_flag" ||
62072          test ! -s conftest.err
62073        } && test -s conftest$ac_exeext &&
62074        $as_test_x conftest$ac_exeext; then
62075   eval "$as_ac_var=yes"
62076 else
62077   echo "$as_me: failed program was:" >&5
62078 sed 's/^/| /' conftest.$ac_ext >&5
62079
62080         eval "$as_ac_var=no"
62081 fi
62082
62083 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
62084       conftest$ac_exeext conftest.$ac_ext
62085 fi
62086 ac_res=`eval echo '${'$as_ac_var'}'`
62087                { echo "$as_me:$LINENO: result: $ac_res" >&5
62088 echo "${ECHO_T}$ac_res" >&6; }
62089 if test `eval echo '${'$as_ac_var'}'` = yes; then
62090   cat >>confdefs.h <<_ACEOF
62091 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62092 _ACEOF
62093
62094 fi
62095 done
62096
62097     fi
62098   fi
62099
62100
62101
62102
62103
62104
62105   { echo "$as_me:$LINENO: checking for isnan declaration" >&5
62106 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6; }
62107   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
62108     if test "${glibcxx_cv_func_isnan_use+set}" = set; then
62109   echo $ECHO_N "(cached) $ECHO_C" >&6
62110 else
62111
62112
62113       ac_ext=cpp
62114 ac_cpp='$CXXCPP $CPPFLAGS'
62115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62118
62119       cat >conftest.$ac_ext <<_ACEOF
62120 /* confdefs.h.  */
62121 _ACEOF
62122 cat confdefs.h >>conftest.$ac_ext
62123 cat >>conftest.$ac_ext <<_ACEOF
62124 /* end confdefs.h.  */
62125 #include <math.h>
62126                       #ifdef HAVE_IEEEFP_H
62127                       #include <ieeefp.h>
62128                       #endif
62129
62130 int
62131 main ()
62132 {
62133  isnan(0);
62134   ;
62135   return 0;
62136 }
62137 _ACEOF
62138 rm -f conftest.$ac_objext
62139 if { (ac_try="$ac_compile"
62140 case "(($ac_try" in
62141   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
62142   *) ac_try_echo=$ac_try;;
62143 esac
62144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
62145   (eval "$ac_compile") 2>conftest.er1
62146   ac_status=$?
62147   grep -v '^ *+' conftest.er1 >conftest.err
62148   rm -f conftest.er1
62149   cat conftest.err >&5
62150   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62151   (exit $ac_status); } && {
62152          test -z "$ac_cxx_werror_flag" ||
62153          test ! -s conftest.err
62154        } && test -s conftest.$ac_objext; then
62155   glibcxx_cv_func_isnan_use=yes
62156 else
62157   echo "$as_me: failed program was:" >&5
62158 sed 's/^/| /' conftest.$ac_ext >&5
62159
62160         glibcxx_cv_func_isnan_use=no
62161 fi
62162
62163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62164       ac_ext=c
62165 ac_cpp='$CPP $CPPFLAGS'
62166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62169
62170
62171 fi
62172
62173   fi
62174   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
62175 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6; }
62176
62177   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
62178
62179 for ac_func in isnan
62180 do
62181 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62182 { echo "$as_me:$LINENO: checking for $ac_func" >&5
62183 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
62184 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
62185   echo $ECHO_N "(cached) $ECHO_C" >&6
62186 else
62187   if test x$gcc_no_link = xyes; then
62188   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62189 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62190    { (exit 1); exit 1; }; }
62191 fi
62192 cat >conftest.$ac_ext <<_ACEOF
62193 /* confdefs.h.  */
62194 _ACEOF
62195 cat confdefs.h >>conftest.$ac_ext
62196 cat >>conftest.$ac_ext <<_ACEOF
62197 /* end confdefs.h.  */
62198 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62199    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
62200 #define $ac_func innocuous_$ac_func
62201
62202 /* System header to define __stub macros and hopefully few prototypes,
62203     which can conflict with char $ac_func (); below.
62204     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62205     <limits.h> exists even on freestanding compilers.  */
62206
62207 #ifdef __STDC__
62208 # include <limits.h>
62209 #else
62210 # include <assert.h>
62211 #endif
62212
62213 #undef $ac_func
62214
62215 /* Override any GCC internal prototype to avoid an error.
62216    Use char because int might match the return type of a GCC
62217    builtin and then its argument prototype would still apply.  */
62218 #ifdef __cplusplus
62219 extern "C"
62220 #endif
62221 char $ac_func ();
62222 /* The GNU C library defines this for functions which it implements
62223     to always fail with ENOSYS.  Some functions are actually named
62224     something starting with __ and the normal name is an alias.  */
62225 #if defined __stub_$ac_func || defined __stub___$ac_func
62226 choke me
62227 #endif
62228
62229 int
62230 main ()
62231 {
62232 return $ac_func ();
62233   ;
62234   return 0;
62235 }
62236 _ACEOF
62237 rm -f conftest.$ac_objext conftest$ac_exeext
62238 if { (ac_try="$ac_link"
62239 case "(($ac_try" in
62240   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
62241   *) ac_try_echo=$ac_try;;
62242 esac
62243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
62244   (eval "$ac_link") 2>conftest.er1
62245   ac_status=$?
62246   grep -v '^ *+' conftest.er1 >conftest.err
62247   rm -f conftest.er1
62248   cat conftest.err >&5
62249   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62250   (exit $ac_status); } && {
62251          test -z "$ac_c_werror_flag" ||
62252          test ! -s conftest.err
62253        } && test -s conftest$ac_exeext &&
62254        $as_test_x conftest$ac_exeext; then
62255   eval "$as_ac_var=yes"
62256 else
62257   echo "$as_me: failed program was:" >&5
62258 sed 's/^/| /' conftest.$ac_ext >&5
62259
62260         eval "$as_ac_var=no"
62261 fi
62262
62263 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
62264       conftest$ac_exeext conftest.$ac_ext
62265 fi
62266 ac_res=`eval echo '${'$as_ac_var'}'`
62267                { echo "$as_me:$LINENO: result: $ac_res" >&5
62268 echo "${ECHO_T}$ac_res" >&6; }
62269 if test `eval echo '${'$as_ac_var'}'` = yes; then
62270   cat >>confdefs.h <<_ACEOF
62271 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62272 _ACEOF
62273
62274 fi
62275 done
62276
62277   else
62278
62279   { echo "$as_me:$LINENO: checking for _isnan declaration" >&5
62280 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6; }
62281   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
62282     if test "${glibcxx_cv_func__isnan_use+set}" = set; then
62283   echo $ECHO_N "(cached) $ECHO_C" >&6
62284 else
62285
62286
62287       ac_ext=cpp
62288 ac_cpp='$CXXCPP $CPPFLAGS'
62289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62292
62293       cat >conftest.$ac_ext <<_ACEOF
62294 /* confdefs.h.  */
62295 _ACEOF
62296 cat confdefs.h >>conftest.$ac_ext
62297 cat >>conftest.$ac_ext <<_ACEOF
62298 /* end confdefs.h.  */
62299 #include <math.h>
62300                       #ifdef HAVE_IEEEFP_H
62301                       #include <ieeefp.h>
62302                       #endif
62303
62304 int
62305 main ()
62306 {
62307  _isnan(0);
62308   ;
62309   return 0;
62310 }
62311 _ACEOF
62312 rm -f conftest.$ac_objext
62313 if { (ac_try="$ac_compile"
62314 case "(($ac_try" in
62315   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
62316   *) ac_try_echo=$ac_try;;
62317 esac
62318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
62319   (eval "$ac_compile") 2>conftest.er1
62320   ac_status=$?
62321   grep -v '^ *+' conftest.er1 >conftest.err
62322   rm -f conftest.er1
62323   cat conftest.err >&5
62324   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62325   (exit $ac_status); } && {
62326          test -z "$ac_cxx_werror_flag" ||
62327          test ! -s conftest.err
62328        } && test -s conftest.$ac_objext; then
62329   glibcxx_cv_func__isnan_use=yes
62330 else
62331   echo "$as_me: failed program was:" >&5
62332 sed 's/^/| /' conftest.$ac_ext >&5
62333
62334         glibcxx_cv_func__isnan_use=no
62335 fi
62336
62337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62338       ac_ext=c
62339 ac_cpp='$CPP $CPPFLAGS'
62340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62343
62344
62345 fi
62346
62347   fi
62348   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
62349 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6; }
62350
62351     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
62352
62353 for ac_func in _isnan
62354 do
62355 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62356 { echo "$as_me:$LINENO: checking for $ac_func" >&5
62357 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
62358 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
62359   echo $ECHO_N "(cached) $ECHO_C" >&6
62360 else
62361   if test x$gcc_no_link = xyes; then
62362   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62363 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62364    { (exit 1); exit 1; }; }
62365 fi
62366 cat >conftest.$ac_ext <<_ACEOF
62367 /* confdefs.h.  */
62368 _ACEOF
62369 cat confdefs.h >>conftest.$ac_ext
62370 cat >>conftest.$ac_ext <<_ACEOF
62371 /* end confdefs.h.  */
62372 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62373    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
62374 #define $ac_func innocuous_$ac_func
62375
62376 /* System header to define __stub macros and hopefully few prototypes,
62377     which can conflict with char $ac_func (); below.
62378     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62379     <limits.h> exists even on freestanding compilers.  */
62380
62381 #ifdef __STDC__
62382 # include <limits.h>
62383 #else
62384 # include <assert.h>
62385 #endif
62386
62387 #undef $ac_func
62388
62389 /* Override any GCC internal prototype to avoid an error.
62390    Use char because int might match the return type of a GCC
62391    builtin and then its argument prototype would still apply.  */
62392 #ifdef __cplusplus
62393 extern "C"
62394 #endif
62395 char $ac_func ();
62396 /* The GNU C library defines this for functions which it implements
62397     to always fail with ENOSYS.  Some functions are actually named
62398     something starting with __ and the normal name is an alias.  */
62399 #if defined __stub_$ac_func || defined __stub___$ac_func
62400 choke me
62401 #endif
62402
62403 int
62404 main ()
62405 {
62406 return $ac_func ();
62407   ;
62408   return 0;
62409 }
62410 _ACEOF
62411 rm -f conftest.$ac_objext conftest$ac_exeext
62412 if { (ac_try="$ac_link"
62413 case "(($ac_try" in
62414   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
62415   *) ac_try_echo=$ac_try;;
62416 esac
62417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
62418   (eval "$ac_link") 2>conftest.er1
62419   ac_status=$?
62420   grep -v '^ *+' conftest.er1 >conftest.err
62421   rm -f conftest.er1
62422   cat conftest.err >&5
62423   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62424   (exit $ac_status); } && {
62425          test -z "$ac_c_werror_flag" ||
62426          test ! -s conftest.err
62427        } && test -s conftest$ac_exeext &&
62428        $as_test_x conftest$ac_exeext; then
62429   eval "$as_ac_var=yes"
62430 else
62431   echo "$as_me: failed program was:" >&5
62432 sed 's/^/| /' conftest.$ac_ext >&5
62433
62434         eval "$as_ac_var=no"
62435 fi
62436
62437 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
62438       conftest$ac_exeext conftest.$ac_ext
62439 fi
62440 ac_res=`eval echo '${'$as_ac_var'}'`
62441                { echo "$as_me:$LINENO: result: $ac_res" >&5
62442 echo "${ECHO_T}$ac_res" >&6; }
62443 if test `eval echo '${'$as_ac_var'}'` = yes; then
62444   cat >>confdefs.h <<_ACEOF
62445 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62446 _ACEOF
62447
62448 fi
62449 done
62450
62451     fi
62452   fi
62453
62454
62455
62456
62457
62458
62459   { echo "$as_me:$LINENO: checking for finite declaration" >&5
62460 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6; }
62461   if test x${glibcxx_cv_func_finite_use+set} != xset; then
62462     if test "${glibcxx_cv_func_finite_use+set}" = set; then
62463   echo $ECHO_N "(cached) $ECHO_C" >&6
62464 else
62465
62466
62467       ac_ext=cpp
62468 ac_cpp='$CXXCPP $CPPFLAGS'
62469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62472
62473       cat >conftest.$ac_ext <<_ACEOF
62474 /* confdefs.h.  */
62475 _ACEOF
62476 cat confdefs.h >>conftest.$ac_ext
62477 cat >>conftest.$ac_ext <<_ACEOF
62478 /* end confdefs.h.  */
62479 #include <math.h>
62480                       #ifdef HAVE_IEEEFP_H
62481                       #include <ieeefp.h>
62482                       #endif
62483
62484 int
62485 main ()
62486 {
62487  finite(0);
62488   ;
62489   return 0;
62490 }
62491 _ACEOF
62492 rm -f conftest.$ac_objext
62493 if { (ac_try="$ac_compile"
62494 case "(($ac_try" in
62495   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
62496   *) ac_try_echo=$ac_try;;
62497 esac
62498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
62499   (eval "$ac_compile") 2>conftest.er1
62500   ac_status=$?
62501   grep -v '^ *+' conftest.er1 >conftest.err
62502   rm -f conftest.er1
62503   cat conftest.err >&5
62504   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62505   (exit $ac_status); } && {
62506          test -z "$ac_cxx_werror_flag" ||
62507          test ! -s conftest.err
62508        } && test -s conftest.$ac_objext; then
62509   glibcxx_cv_func_finite_use=yes
62510 else
62511   echo "$as_me: failed program was:" >&5
62512 sed 's/^/| /' conftest.$ac_ext >&5
62513
62514         glibcxx_cv_func_finite_use=no
62515 fi
62516
62517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62518       ac_ext=c
62519 ac_cpp='$CPP $CPPFLAGS'
62520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62523
62524
62525 fi
62526
62527   fi
62528   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
62529 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6; }
62530
62531   if test x$glibcxx_cv_func_finite_use = x"yes"; then
62532
62533 for ac_func in finite
62534 do
62535 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62536 { echo "$as_me:$LINENO: checking for $ac_func" >&5
62537 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
62538 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
62539   echo $ECHO_N "(cached) $ECHO_C" >&6
62540 else
62541   if test x$gcc_no_link = xyes; then
62542   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62543 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62544    { (exit 1); exit 1; }; }
62545 fi
62546 cat >conftest.$ac_ext <<_ACEOF
62547 /* confdefs.h.  */
62548 _ACEOF
62549 cat confdefs.h >>conftest.$ac_ext
62550 cat >>conftest.$ac_ext <<_ACEOF
62551 /* end confdefs.h.  */
62552 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62553    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
62554 #define $ac_func innocuous_$ac_func
62555
62556 /* System header to define __stub macros and hopefully few prototypes,
62557     which can conflict with char $ac_func (); below.
62558     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62559     <limits.h> exists even on freestanding compilers.  */
62560
62561 #ifdef __STDC__
62562 # include <limits.h>
62563 #else
62564 # include <assert.h>
62565 #endif
62566
62567 #undef $ac_func
62568
62569 /* Override any GCC internal prototype to avoid an error.
62570    Use char because int might match the return type of a GCC
62571    builtin and then its argument prototype would still apply.  */
62572 #ifdef __cplusplus
62573 extern "C"
62574 #endif
62575 char $ac_func ();
62576 /* The GNU C library defines this for functions which it implements
62577     to always fail with ENOSYS.  Some functions are actually named
62578     something starting with __ and the normal name is an alias.  */
62579 #if defined __stub_$ac_func || defined __stub___$ac_func
62580 choke me
62581 #endif
62582
62583 int
62584 main ()
62585 {
62586 return $ac_func ();
62587   ;
62588   return 0;
62589 }
62590 _ACEOF
62591 rm -f conftest.$ac_objext conftest$ac_exeext
62592 if { (ac_try="$ac_link"
62593 case "(($ac_try" in
62594   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
62595   *) ac_try_echo=$ac_try;;
62596 esac
62597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
62598   (eval "$ac_link") 2>conftest.er1
62599   ac_status=$?
62600   grep -v '^ *+' conftest.er1 >conftest.err
62601   rm -f conftest.er1
62602   cat conftest.err >&5
62603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62604   (exit $ac_status); } && {
62605          test -z "$ac_c_werror_flag" ||
62606          test ! -s conftest.err
62607        } && test -s conftest$ac_exeext &&
62608        $as_test_x conftest$ac_exeext; then
62609   eval "$as_ac_var=yes"
62610 else
62611   echo "$as_me: failed program was:" >&5
62612 sed 's/^/| /' conftest.$ac_ext >&5
62613
62614         eval "$as_ac_var=no"
62615 fi
62616
62617 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
62618       conftest$ac_exeext conftest.$ac_ext
62619 fi
62620 ac_res=`eval echo '${'$as_ac_var'}'`
62621                { echo "$as_me:$LINENO: result: $ac_res" >&5
62622 echo "${ECHO_T}$ac_res" >&6; }
62623 if test `eval echo '${'$as_ac_var'}'` = yes; then
62624   cat >>confdefs.h <<_ACEOF
62625 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62626 _ACEOF
62627
62628 fi
62629 done
62630
62631   else
62632
62633   { echo "$as_me:$LINENO: checking for _finite declaration" >&5
62634 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6; }
62635   if test x${glibcxx_cv_func__finite_use+set} != xset; then
62636     if test "${glibcxx_cv_func__finite_use+set}" = set; then
62637   echo $ECHO_N "(cached) $ECHO_C" >&6
62638 else
62639
62640
62641       ac_ext=cpp
62642 ac_cpp='$CXXCPP $CPPFLAGS'
62643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62646
62647       cat >conftest.$ac_ext <<_ACEOF
62648 /* confdefs.h.  */
62649 _ACEOF
62650 cat confdefs.h >>conftest.$ac_ext
62651 cat >>conftest.$ac_ext <<_ACEOF
62652 /* end confdefs.h.  */
62653 #include <math.h>
62654                       #ifdef HAVE_IEEEFP_H
62655                       #include <ieeefp.h>
62656                       #endif
62657
62658 int
62659 main ()
62660 {
62661  _finite(0);
62662   ;
62663   return 0;
62664 }
62665 _ACEOF
62666 rm -f conftest.$ac_objext
62667 if { (ac_try="$ac_compile"
62668 case "(($ac_try" in
62669   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
62670   *) ac_try_echo=$ac_try;;
62671 esac
62672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
62673   (eval "$ac_compile") 2>conftest.er1
62674   ac_status=$?
62675   grep -v '^ *+' conftest.er1 >conftest.err
62676   rm -f conftest.er1
62677   cat conftest.err >&5
62678   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62679   (exit $ac_status); } && {
62680          test -z "$ac_cxx_werror_flag" ||
62681          test ! -s conftest.err
62682        } && test -s conftest.$ac_objext; then
62683   glibcxx_cv_func__finite_use=yes
62684 else
62685   echo "$as_me: failed program was:" >&5
62686 sed 's/^/| /' conftest.$ac_ext >&5
62687
62688         glibcxx_cv_func__finite_use=no
62689 fi
62690
62691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62692       ac_ext=c
62693 ac_cpp='$CPP $CPPFLAGS'
62694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62697
62698
62699 fi
62700
62701   fi
62702   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
62703 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6; }
62704
62705     if test x$glibcxx_cv_func__finite_use = x"yes"; then
62706
62707 for ac_func in _finite
62708 do
62709 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62710 { echo "$as_me:$LINENO: checking for $ac_func" >&5
62711 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
62712 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
62713   echo $ECHO_N "(cached) $ECHO_C" >&6
62714 else
62715   if test x$gcc_no_link = xyes; then
62716   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62717 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62718    { (exit 1); exit 1; }; }
62719 fi
62720 cat >conftest.$ac_ext <<_ACEOF
62721 /* confdefs.h.  */
62722 _ACEOF
62723 cat confdefs.h >>conftest.$ac_ext
62724 cat >>conftest.$ac_ext <<_ACEOF
62725 /* end confdefs.h.  */
62726 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62727    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
62728 #define $ac_func innocuous_$ac_func
62729
62730 /* System header to define __stub macros and hopefully few prototypes,
62731     which can conflict with char $ac_func (); below.
62732     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62733     <limits.h> exists even on freestanding compilers.  */
62734
62735 #ifdef __STDC__
62736 # include <limits.h>
62737 #else
62738 # include <assert.h>
62739 #endif
62740
62741 #undef $ac_func
62742
62743 /* Override any GCC internal prototype to avoid an error.
62744    Use char because int might match the return type of a GCC
62745    builtin and then its argument prototype would still apply.  */
62746 #ifdef __cplusplus
62747 extern "C"
62748 #endif
62749 char $ac_func ();
62750 /* The GNU C library defines this for functions which it implements
62751     to always fail with ENOSYS.  Some functions are actually named
62752     something starting with __ and the normal name is an alias.  */
62753 #if defined __stub_$ac_func || defined __stub___$ac_func
62754 choke me
62755 #endif
62756
62757 int
62758 main ()
62759 {
62760 return $ac_func ();
62761   ;
62762   return 0;
62763 }
62764 _ACEOF
62765 rm -f conftest.$ac_objext conftest$ac_exeext
62766 if { (ac_try="$ac_link"
62767 case "(($ac_try" in
62768   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
62769   *) ac_try_echo=$ac_try;;
62770 esac
62771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
62772   (eval "$ac_link") 2>conftest.er1
62773   ac_status=$?
62774   grep -v '^ *+' conftest.er1 >conftest.err
62775   rm -f conftest.er1
62776   cat conftest.err >&5
62777   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62778   (exit $ac_status); } && {
62779          test -z "$ac_c_werror_flag" ||
62780          test ! -s conftest.err
62781        } && test -s conftest$ac_exeext &&
62782        $as_test_x conftest$ac_exeext; then
62783   eval "$as_ac_var=yes"
62784 else
62785   echo "$as_me: failed program was:" >&5
62786 sed 's/^/| /' conftest.$ac_ext >&5
62787
62788         eval "$as_ac_var=no"
62789 fi
62790
62791 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
62792       conftest$ac_exeext conftest.$ac_ext
62793 fi
62794 ac_res=`eval echo '${'$as_ac_var'}'`
62795                { echo "$as_me:$LINENO: result: $ac_res" >&5
62796 echo "${ECHO_T}$ac_res" >&6; }
62797 if test `eval echo '${'$as_ac_var'}'` = yes; then
62798   cat >>confdefs.h <<_ACEOF
62799 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62800 _ACEOF
62801
62802 fi
62803 done
62804
62805     fi
62806   fi
62807
62808
62809
62810
62811
62812
62813   { echo "$as_me:$LINENO: checking for copysign declaration" >&5
62814 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6; }
62815   if test x${glibcxx_cv_func_copysign_use+set} != xset; then
62816     if test "${glibcxx_cv_func_copysign_use+set}" = set; then
62817   echo $ECHO_N "(cached) $ECHO_C" >&6
62818 else
62819
62820
62821       ac_ext=cpp
62822 ac_cpp='$CXXCPP $CPPFLAGS'
62823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62826
62827       cat >conftest.$ac_ext <<_ACEOF
62828 /* confdefs.h.  */
62829 _ACEOF
62830 cat confdefs.h >>conftest.$ac_ext
62831 cat >>conftest.$ac_ext <<_ACEOF
62832 /* end confdefs.h.  */
62833 #include <math.h>
62834 int
62835 main ()
62836 {
62837  copysign(0, 0);
62838   ;
62839   return 0;
62840 }
62841 _ACEOF
62842 rm -f conftest.$ac_objext
62843 if { (ac_try="$ac_compile"
62844 case "(($ac_try" in
62845   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
62846   *) ac_try_echo=$ac_try;;
62847 esac
62848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
62849   (eval "$ac_compile") 2>conftest.er1
62850   ac_status=$?
62851   grep -v '^ *+' conftest.er1 >conftest.err
62852   rm -f conftest.er1
62853   cat conftest.err >&5
62854   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62855   (exit $ac_status); } && {
62856          test -z "$ac_cxx_werror_flag" ||
62857          test ! -s conftest.err
62858        } && test -s conftest.$ac_objext; then
62859   glibcxx_cv_func_copysign_use=yes
62860 else
62861   echo "$as_me: failed program was:" >&5
62862 sed 's/^/| /' conftest.$ac_ext >&5
62863
62864         glibcxx_cv_func_copysign_use=no
62865 fi
62866
62867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62868       ac_ext=c
62869 ac_cpp='$CPP $CPPFLAGS'
62870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62873
62874
62875 fi
62876
62877   fi
62878   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
62879 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6; }
62880
62881   if test x$glibcxx_cv_func_copysign_use = x"yes"; then
62882
62883 for ac_func in copysign
62884 do
62885 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62886 { echo "$as_me:$LINENO: checking for $ac_func" >&5
62887 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
62888 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
62889   echo $ECHO_N "(cached) $ECHO_C" >&6
62890 else
62891   if test x$gcc_no_link = xyes; then
62892   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62893 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62894    { (exit 1); exit 1; }; }
62895 fi
62896 cat >conftest.$ac_ext <<_ACEOF
62897 /* confdefs.h.  */
62898 _ACEOF
62899 cat confdefs.h >>conftest.$ac_ext
62900 cat >>conftest.$ac_ext <<_ACEOF
62901 /* end confdefs.h.  */
62902 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62903    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
62904 #define $ac_func innocuous_$ac_func
62905
62906 /* System header to define __stub macros and hopefully few prototypes,
62907     which can conflict with char $ac_func (); below.
62908     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62909     <limits.h> exists even on freestanding compilers.  */
62910
62911 #ifdef __STDC__
62912 # include <limits.h>
62913 #else
62914 # include <assert.h>
62915 #endif
62916
62917 #undef $ac_func
62918
62919 /* Override any GCC internal prototype to avoid an error.
62920    Use char because int might match the return type of a GCC
62921    builtin and then its argument prototype would still apply.  */
62922 #ifdef __cplusplus
62923 extern "C"
62924 #endif
62925 char $ac_func ();
62926 /* The GNU C library defines this for functions which it implements
62927     to always fail with ENOSYS.  Some functions are actually named
62928     something starting with __ and the normal name is an alias.  */
62929 #if defined __stub_$ac_func || defined __stub___$ac_func
62930 choke me
62931 #endif
62932
62933 int
62934 main ()
62935 {
62936 return $ac_func ();
62937   ;
62938   return 0;
62939 }
62940 _ACEOF
62941 rm -f conftest.$ac_objext conftest$ac_exeext
62942 if { (ac_try="$ac_link"
62943 case "(($ac_try" in
62944   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
62945   *) ac_try_echo=$ac_try;;
62946 esac
62947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
62948   (eval "$ac_link") 2>conftest.er1
62949   ac_status=$?
62950   grep -v '^ *+' conftest.er1 >conftest.err
62951   rm -f conftest.er1
62952   cat conftest.err >&5
62953   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62954   (exit $ac_status); } && {
62955          test -z "$ac_c_werror_flag" ||
62956          test ! -s conftest.err
62957        } && test -s conftest$ac_exeext &&
62958        $as_test_x conftest$ac_exeext; then
62959   eval "$as_ac_var=yes"
62960 else
62961   echo "$as_me: failed program was:" >&5
62962 sed 's/^/| /' conftest.$ac_ext >&5
62963
62964         eval "$as_ac_var=no"
62965 fi
62966
62967 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
62968       conftest$ac_exeext conftest.$ac_ext
62969 fi
62970 ac_res=`eval echo '${'$as_ac_var'}'`
62971                { echo "$as_me:$LINENO: result: $ac_res" >&5
62972 echo "${ECHO_T}$ac_res" >&6; }
62973 if test `eval echo '${'$as_ac_var'}'` = yes; then
62974   cat >>confdefs.h <<_ACEOF
62975 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62976 _ACEOF
62977
62978 fi
62979 done
62980
62981   else
62982
62983   { echo "$as_me:$LINENO: checking for _copysign declaration" >&5
62984 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6; }
62985   if test x${glibcxx_cv_func__copysign_use+set} != xset; then
62986     if test "${glibcxx_cv_func__copysign_use+set}" = set; then
62987   echo $ECHO_N "(cached) $ECHO_C" >&6
62988 else
62989
62990
62991       ac_ext=cpp
62992 ac_cpp='$CXXCPP $CPPFLAGS'
62993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62996
62997       cat >conftest.$ac_ext <<_ACEOF
62998 /* confdefs.h.  */
62999 _ACEOF
63000 cat confdefs.h >>conftest.$ac_ext
63001 cat >>conftest.$ac_ext <<_ACEOF
63002 /* end confdefs.h.  */
63003 #include <math.h>
63004 int
63005 main ()
63006 {
63007  _copysign(0, 0);
63008   ;
63009   return 0;
63010 }
63011 _ACEOF
63012 rm -f conftest.$ac_objext
63013 if { (ac_try="$ac_compile"
63014 case "(($ac_try" in
63015   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
63016   *) ac_try_echo=$ac_try;;
63017 esac
63018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
63019   (eval "$ac_compile") 2>conftest.er1
63020   ac_status=$?
63021   grep -v '^ *+' conftest.er1 >conftest.err
63022   rm -f conftest.er1
63023   cat conftest.err >&5
63024   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63025   (exit $ac_status); } && {
63026          test -z "$ac_cxx_werror_flag" ||
63027          test ! -s conftest.err
63028        } && test -s conftest.$ac_objext; then
63029   glibcxx_cv_func__copysign_use=yes
63030 else
63031   echo "$as_me: failed program was:" >&5
63032 sed 's/^/| /' conftest.$ac_ext >&5
63033
63034         glibcxx_cv_func__copysign_use=no
63035 fi
63036
63037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63038       ac_ext=c
63039 ac_cpp='$CPP $CPPFLAGS'
63040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63043
63044
63045 fi
63046
63047   fi
63048   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
63049 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6; }
63050
63051     if test x$glibcxx_cv_func__copysign_use = x"yes"; then
63052
63053 for ac_func in _copysign
63054 do
63055 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63056 { echo "$as_me:$LINENO: checking for $ac_func" >&5
63057 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
63058 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
63059   echo $ECHO_N "(cached) $ECHO_C" >&6
63060 else
63061   if test x$gcc_no_link = xyes; then
63062   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63063 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63064    { (exit 1); exit 1; }; }
63065 fi
63066 cat >conftest.$ac_ext <<_ACEOF
63067 /* confdefs.h.  */
63068 _ACEOF
63069 cat confdefs.h >>conftest.$ac_ext
63070 cat >>conftest.$ac_ext <<_ACEOF
63071 /* end confdefs.h.  */
63072 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63073    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63074 #define $ac_func innocuous_$ac_func
63075
63076 /* System header to define __stub macros and hopefully few prototypes,
63077     which can conflict with char $ac_func (); below.
63078     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63079     <limits.h> exists even on freestanding compilers.  */
63080
63081 #ifdef __STDC__
63082 # include <limits.h>
63083 #else
63084 # include <assert.h>
63085 #endif
63086
63087 #undef $ac_func
63088
63089 /* Override any GCC internal prototype to avoid an error.
63090    Use char because int might match the return type of a GCC
63091    builtin and then its argument prototype would still apply.  */
63092 #ifdef __cplusplus
63093 extern "C"
63094 #endif
63095 char $ac_func ();
63096 /* The GNU C library defines this for functions which it implements
63097     to always fail with ENOSYS.  Some functions are actually named
63098     something starting with __ and the normal name is an alias.  */
63099 #if defined __stub_$ac_func || defined __stub___$ac_func
63100 choke me
63101 #endif
63102
63103 int
63104 main ()
63105 {
63106 return $ac_func ();
63107   ;
63108   return 0;
63109 }
63110 _ACEOF
63111 rm -f conftest.$ac_objext conftest$ac_exeext
63112 if { (ac_try="$ac_link"
63113 case "(($ac_try" in
63114   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
63115   *) ac_try_echo=$ac_try;;
63116 esac
63117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
63118   (eval "$ac_link") 2>conftest.er1
63119   ac_status=$?
63120   grep -v '^ *+' conftest.er1 >conftest.err
63121   rm -f conftest.er1
63122   cat conftest.err >&5
63123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63124   (exit $ac_status); } && {
63125          test -z "$ac_c_werror_flag" ||
63126          test ! -s conftest.err
63127        } && test -s conftest$ac_exeext &&
63128        $as_test_x conftest$ac_exeext; then
63129   eval "$as_ac_var=yes"
63130 else
63131   echo "$as_me: failed program was:" >&5
63132 sed 's/^/| /' conftest.$ac_ext >&5
63133
63134         eval "$as_ac_var=no"
63135 fi
63136
63137 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
63138       conftest$ac_exeext conftest.$ac_ext
63139 fi
63140 ac_res=`eval echo '${'$as_ac_var'}'`
63141                { echo "$as_me:$LINENO: result: $ac_res" >&5
63142 echo "${ECHO_T}$ac_res" >&6; }
63143 if test `eval echo '${'$as_ac_var'}'` = yes; then
63144   cat >>confdefs.h <<_ACEOF
63145 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63146 _ACEOF
63147
63148 fi
63149 done
63150
63151     fi
63152   fi
63153
63154
63155
63156
63157
63158
63159   { echo "$as_me:$LINENO: checking for sincos declaration" >&5
63160 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6; }
63161   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
63162     if test "${glibcxx_cv_func_sincos_use+set}" = set; then
63163   echo $ECHO_N "(cached) $ECHO_C" >&6
63164 else
63165
63166
63167       ac_ext=cpp
63168 ac_cpp='$CXXCPP $CPPFLAGS'
63169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63172
63173       cat >conftest.$ac_ext <<_ACEOF
63174 /* confdefs.h.  */
63175 _ACEOF
63176 cat confdefs.h >>conftest.$ac_ext
63177 cat >>conftest.$ac_ext <<_ACEOF
63178 /* end confdefs.h.  */
63179 #include <math.h>
63180 int
63181 main ()
63182 {
63183  sincos(0, 0, 0);
63184   ;
63185   return 0;
63186 }
63187 _ACEOF
63188 rm -f conftest.$ac_objext
63189 if { (ac_try="$ac_compile"
63190 case "(($ac_try" in
63191   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
63192   *) ac_try_echo=$ac_try;;
63193 esac
63194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
63195   (eval "$ac_compile") 2>conftest.er1
63196   ac_status=$?
63197   grep -v '^ *+' conftest.er1 >conftest.err
63198   rm -f conftest.er1
63199   cat conftest.err >&5
63200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63201   (exit $ac_status); } && {
63202          test -z "$ac_cxx_werror_flag" ||
63203          test ! -s conftest.err
63204        } && test -s conftest.$ac_objext; then
63205   glibcxx_cv_func_sincos_use=yes
63206 else
63207   echo "$as_me: failed program was:" >&5
63208 sed 's/^/| /' conftest.$ac_ext >&5
63209
63210         glibcxx_cv_func_sincos_use=no
63211 fi
63212
63213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63214       ac_ext=c
63215 ac_cpp='$CPP $CPPFLAGS'
63216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63219
63220
63221 fi
63222
63223   fi
63224   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
63225 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6; }
63226
63227   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
63228
63229 for ac_func in sincos
63230 do
63231 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63232 { echo "$as_me:$LINENO: checking for $ac_func" >&5
63233 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
63234 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
63235   echo $ECHO_N "(cached) $ECHO_C" >&6
63236 else
63237   if test x$gcc_no_link = xyes; then
63238   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63239 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63240    { (exit 1); exit 1; }; }
63241 fi
63242 cat >conftest.$ac_ext <<_ACEOF
63243 /* confdefs.h.  */
63244 _ACEOF
63245 cat confdefs.h >>conftest.$ac_ext
63246 cat >>conftest.$ac_ext <<_ACEOF
63247 /* end confdefs.h.  */
63248 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63249    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63250 #define $ac_func innocuous_$ac_func
63251
63252 /* System header to define __stub macros and hopefully few prototypes,
63253     which can conflict with char $ac_func (); below.
63254     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63255     <limits.h> exists even on freestanding compilers.  */
63256
63257 #ifdef __STDC__
63258 # include <limits.h>
63259 #else
63260 # include <assert.h>
63261 #endif
63262
63263 #undef $ac_func
63264
63265 /* Override any GCC internal prototype to avoid an error.
63266    Use char because int might match the return type of a GCC
63267    builtin and then its argument prototype would still apply.  */
63268 #ifdef __cplusplus
63269 extern "C"
63270 #endif
63271 char $ac_func ();
63272 /* The GNU C library defines this for functions which it implements
63273     to always fail with ENOSYS.  Some functions are actually named
63274     something starting with __ and the normal name is an alias.  */
63275 #if defined __stub_$ac_func || defined __stub___$ac_func
63276 choke me
63277 #endif
63278
63279 int
63280 main ()
63281 {
63282 return $ac_func ();
63283   ;
63284   return 0;
63285 }
63286 _ACEOF
63287 rm -f conftest.$ac_objext conftest$ac_exeext
63288 if { (ac_try="$ac_link"
63289 case "(($ac_try" in
63290   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
63291   *) ac_try_echo=$ac_try;;
63292 esac
63293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
63294   (eval "$ac_link") 2>conftest.er1
63295   ac_status=$?
63296   grep -v '^ *+' conftest.er1 >conftest.err
63297   rm -f conftest.er1
63298   cat conftest.err >&5
63299   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63300   (exit $ac_status); } && {
63301          test -z "$ac_c_werror_flag" ||
63302          test ! -s conftest.err
63303        } && test -s conftest$ac_exeext &&
63304        $as_test_x conftest$ac_exeext; then
63305   eval "$as_ac_var=yes"
63306 else
63307   echo "$as_me: failed program was:" >&5
63308 sed 's/^/| /' conftest.$ac_ext >&5
63309
63310         eval "$as_ac_var=no"
63311 fi
63312
63313 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
63314       conftest$ac_exeext conftest.$ac_ext
63315 fi
63316 ac_res=`eval echo '${'$as_ac_var'}'`
63317                { echo "$as_me:$LINENO: result: $ac_res" >&5
63318 echo "${ECHO_T}$ac_res" >&6; }
63319 if test `eval echo '${'$as_ac_var'}'` = yes; then
63320   cat >>confdefs.h <<_ACEOF
63321 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63322 _ACEOF
63323
63324 fi
63325 done
63326
63327   else
63328
63329   { echo "$as_me:$LINENO: checking for _sincos declaration" >&5
63330 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6; }
63331   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
63332     if test "${glibcxx_cv_func__sincos_use+set}" = set; then
63333   echo $ECHO_N "(cached) $ECHO_C" >&6
63334 else
63335
63336
63337       ac_ext=cpp
63338 ac_cpp='$CXXCPP $CPPFLAGS'
63339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63342
63343       cat >conftest.$ac_ext <<_ACEOF
63344 /* confdefs.h.  */
63345 _ACEOF
63346 cat confdefs.h >>conftest.$ac_ext
63347 cat >>conftest.$ac_ext <<_ACEOF
63348 /* end confdefs.h.  */
63349 #include <math.h>
63350 int
63351 main ()
63352 {
63353  _sincos(0, 0, 0);
63354   ;
63355   return 0;
63356 }
63357 _ACEOF
63358 rm -f conftest.$ac_objext
63359 if { (ac_try="$ac_compile"
63360 case "(($ac_try" in
63361   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
63362   *) ac_try_echo=$ac_try;;
63363 esac
63364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
63365   (eval "$ac_compile") 2>conftest.er1
63366   ac_status=$?
63367   grep -v '^ *+' conftest.er1 >conftest.err
63368   rm -f conftest.er1
63369   cat conftest.err >&5
63370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63371   (exit $ac_status); } && {
63372          test -z "$ac_cxx_werror_flag" ||
63373          test ! -s conftest.err
63374        } && test -s conftest.$ac_objext; then
63375   glibcxx_cv_func__sincos_use=yes
63376 else
63377   echo "$as_me: failed program was:" >&5
63378 sed 's/^/| /' conftest.$ac_ext >&5
63379
63380         glibcxx_cv_func__sincos_use=no
63381 fi
63382
63383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63384       ac_ext=c
63385 ac_cpp='$CPP $CPPFLAGS'
63386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63389
63390
63391 fi
63392
63393   fi
63394   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
63395 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6; }
63396
63397     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
63398
63399 for ac_func in _sincos
63400 do
63401 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63402 { echo "$as_me:$LINENO: checking for $ac_func" >&5
63403 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
63404 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
63405   echo $ECHO_N "(cached) $ECHO_C" >&6
63406 else
63407   if test x$gcc_no_link = xyes; then
63408   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63409 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63410    { (exit 1); exit 1; }; }
63411 fi
63412 cat >conftest.$ac_ext <<_ACEOF
63413 /* confdefs.h.  */
63414 _ACEOF
63415 cat confdefs.h >>conftest.$ac_ext
63416 cat >>conftest.$ac_ext <<_ACEOF
63417 /* end confdefs.h.  */
63418 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63419    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63420 #define $ac_func innocuous_$ac_func
63421
63422 /* System header to define __stub macros and hopefully few prototypes,
63423     which can conflict with char $ac_func (); below.
63424     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63425     <limits.h> exists even on freestanding compilers.  */
63426
63427 #ifdef __STDC__
63428 # include <limits.h>
63429 #else
63430 # include <assert.h>
63431 #endif
63432
63433 #undef $ac_func
63434
63435 /* Override any GCC internal prototype to avoid an error.
63436    Use char because int might match the return type of a GCC
63437    builtin and then its argument prototype would still apply.  */
63438 #ifdef __cplusplus
63439 extern "C"
63440 #endif
63441 char $ac_func ();
63442 /* The GNU C library defines this for functions which it implements
63443     to always fail with ENOSYS.  Some functions are actually named
63444     something starting with __ and the normal name is an alias.  */
63445 #if defined __stub_$ac_func || defined __stub___$ac_func
63446 choke me
63447 #endif
63448
63449 int
63450 main ()
63451 {
63452 return $ac_func ();
63453   ;
63454   return 0;
63455 }
63456 _ACEOF
63457 rm -f conftest.$ac_objext conftest$ac_exeext
63458 if { (ac_try="$ac_link"
63459 case "(($ac_try" in
63460   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
63461   *) ac_try_echo=$ac_try;;
63462 esac
63463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
63464   (eval "$ac_link") 2>conftest.er1
63465   ac_status=$?
63466   grep -v '^ *+' conftest.er1 >conftest.err
63467   rm -f conftest.er1
63468   cat conftest.err >&5
63469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63470   (exit $ac_status); } && {
63471          test -z "$ac_c_werror_flag" ||
63472          test ! -s conftest.err
63473        } && test -s conftest$ac_exeext &&
63474        $as_test_x conftest$ac_exeext; then
63475   eval "$as_ac_var=yes"
63476 else
63477   echo "$as_me: failed program was:" >&5
63478 sed 's/^/| /' conftest.$ac_ext >&5
63479
63480         eval "$as_ac_var=no"
63481 fi
63482
63483 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
63484       conftest$ac_exeext conftest.$ac_ext
63485 fi
63486 ac_res=`eval echo '${'$as_ac_var'}'`
63487                { echo "$as_me:$LINENO: result: $ac_res" >&5
63488 echo "${ECHO_T}$ac_res" >&6; }
63489 if test `eval echo '${'$as_ac_var'}'` = yes; then
63490   cat >>confdefs.h <<_ACEOF
63491 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63492 _ACEOF
63493
63494 fi
63495 done
63496
63497     fi
63498   fi
63499
63500
63501
63502
63503
63504
63505   { echo "$as_me:$LINENO: checking for fpclass declaration" >&5
63506 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6; }
63507   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
63508     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
63509   echo $ECHO_N "(cached) $ECHO_C" >&6
63510 else
63511
63512
63513       ac_ext=cpp
63514 ac_cpp='$CXXCPP $CPPFLAGS'
63515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63518
63519       cat >conftest.$ac_ext <<_ACEOF
63520 /* confdefs.h.  */
63521 _ACEOF
63522 cat confdefs.h >>conftest.$ac_ext
63523 cat >>conftest.$ac_ext <<_ACEOF
63524 /* end confdefs.h.  */
63525 #include <math.h>
63526                       #ifdef HAVE_IEEEFP_H
63527                       #include <ieeefp.h>
63528                       #endif
63529
63530 int
63531 main ()
63532 {
63533  fpclass(0);
63534   ;
63535   return 0;
63536 }
63537 _ACEOF
63538 rm -f conftest.$ac_objext
63539 if { (ac_try="$ac_compile"
63540 case "(($ac_try" in
63541   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
63542   *) ac_try_echo=$ac_try;;
63543 esac
63544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
63545   (eval "$ac_compile") 2>conftest.er1
63546   ac_status=$?
63547   grep -v '^ *+' conftest.er1 >conftest.err
63548   rm -f conftest.er1
63549   cat conftest.err >&5
63550   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63551   (exit $ac_status); } && {
63552          test -z "$ac_cxx_werror_flag" ||
63553          test ! -s conftest.err
63554        } && test -s conftest.$ac_objext; then
63555   glibcxx_cv_func_fpclass_use=yes
63556 else
63557   echo "$as_me: failed program was:" >&5
63558 sed 's/^/| /' conftest.$ac_ext >&5
63559
63560         glibcxx_cv_func_fpclass_use=no
63561 fi
63562
63563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63564       ac_ext=c
63565 ac_cpp='$CPP $CPPFLAGS'
63566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63569
63570
63571 fi
63572
63573   fi
63574   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
63575 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6; }
63576
63577   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
63578
63579 for ac_func in fpclass
63580 do
63581 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63582 { echo "$as_me:$LINENO: checking for $ac_func" >&5
63583 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
63584 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
63585   echo $ECHO_N "(cached) $ECHO_C" >&6
63586 else
63587   if test x$gcc_no_link = xyes; then
63588   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63589 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63590    { (exit 1); exit 1; }; }
63591 fi
63592 cat >conftest.$ac_ext <<_ACEOF
63593 /* confdefs.h.  */
63594 _ACEOF
63595 cat confdefs.h >>conftest.$ac_ext
63596 cat >>conftest.$ac_ext <<_ACEOF
63597 /* end confdefs.h.  */
63598 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63599    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63600 #define $ac_func innocuous_$ac_func
63601
63602 /* System header to define __stub macros and hopefully few prototypes,
63603     which can conflict with char $ac_func (); below.
63604     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63605     <limits.h> exists even on freestanding compilers.  */
63606
63607 #ifdef __STDC__
63608 # include <limits.h>
63609 #else
63610 # include <assert.h>
63611 #endif
63612
63613 #undef $ac_func
63614
63615 /* Override any GCC internal prototype to avoid an error.
63616    Use char because int might match the return type of a GCC
63617    builtin and then its argument prototype would still apply.  */
63618 #ifdef __cplusplus
63619 extern "C"
63620 #endif
63621 char $ac_func ();
63622 /* The GNU C library defines this for functions which it implements
63623     to always fail with ENOSYS.  Some functions are actually named
63624     something starting with __ and the normal name is an alias.  */
63625 #if defined __stub_$ac_func || defined __stub___$ac_func
63626 choke me
63627 #endif
63628
63629 int
63630 main ()
63631 {
63632 return $ac_func ();
63633   ;
63634   return 0;
63635 }
63636 _ACEOF
63637 rm -f conftest.$ac_objext conftest$ac_exeext
63638 if { (ac_try="$ac_link"
63639 case "(($ac_try" in
63640   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
63641   *) ac_try_echo=$ac_try;;
63642 esac
63643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
63644   (eval "$ac_link") 2>conftest.er1
63645   ac_status=$?
63646   grep -v '^ *+' conftest.er1 >conftest.err
63647   rm -f conftest.er1
63648   cat conftest.err >&5
63649   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63650   (exit $ac_status); } && {
63651          test -z "$ac_c_werror_flag" ||
63652          test ! -s conftest.err
63653        } && test -s conftest$ac_exeext &&
63654        $as_test_x conftest$ac_exeext; then
63655   eval "$as_ac_var=yes"
63656 else
63657   echo "$as_me: failed program was:" >&5
63658 sed 's/^/| /' conftest.$ac_ext >&5
63659
63660         eval "$as_ac_var=no"
63661 fi
63662
63663 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
63664       conftest$ac_exeext conftest.$ac_ext
63665 fi
63666 ac_res=`eval echo '${'$as_ac_var'}'`
63667                { echo "$as_me:$LINENO: result: $ac_res" >&5
63668 echo "${ECHO_T}$ac_res" >&6; }
63669 if test `eval echo '${'$as_ac_var'}'` = yes; then
63670   cat >>confdefs.h <<_ACEOF
63671 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63672 _ACEOF
63673
63674 fi
63675 done
63676
63677   else
63678
63679   { echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
63680 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6; }
63681   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
63682     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
63683   echo $ECHO_N "(cached) $ECHO_C" >&6
63684 else
63685
63686
63687       ac_ext=cpp
63688 ac_cpp='$CXXCPP $CPPFLAGS'
63689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63692
63693       cat >conftest.$ac_ext <<_ACEOF
63694 /* confdefs.h.  */
63695 _ACEOF
63696 cat confdefs.h >>conftest.$ac_ext
63697 cat >>conftest.$ac_ext <<_ACEOF
63698 /* end confdefs.h.  */
63699 #include <math.h>
63700                       #ifdef HAVE_IEEEFP_H
63701                       #include <ieeefp.h>
63702                       #endif
63703
63704 int
63705 main ()
63706 {
63707  _fpclass(0);
63708   ;
63709   return 0;
63710 }
63711 _ACEOF
63712 rm -f conftest.$ac_objext
63713 if { (ac_try="$ac_compile"
63714 case "(($ac_try" in
63715   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
63716   *) ac_try_echo=$ac_try;;
63717 esac
63718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
63719   (eval "$ac_compile") 2>conftest.er1
63720   ac_status=$?
63721   grep -v '^ *+' conftest.er1 >conftest.err
63722   rm -f conftest.er1
63723   cat conftest.err >&5
63724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63725   (exit $ac_status); } && {
63726          test -z "$ac_cxx_werror_flag" ||
63727          test ! -s conftest.err
63728        } && test -s conftest.$ac_objext; then
63729   glibcxx_cv_func__fpclass_use=yes
63730 else
63731   echo "$as_me: failed program was:" >&5
63732 sed 's/^/| /' conftest.$ac_ext >&5
63733
63734         glibcxx_cv_func__fpclass_use=no
63735 fi
63736
63737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63738       ac_ext=c
63739 ac_cpp='$CPP $CPPFLAGS'
63740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63743
63744
63745 fi
63746
63747   fi
63748   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
63749 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6; }
63750
63751     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
63752
63753 for ac_func in _fpclass
63754 do
63755 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63756 { echo "$as_me:$LINENO: checking for $ac_func" >&5
63757 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
63758 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
63759   echo $ECHO_N "(cached) $ECHO_C" >&6
63760 else
63761   if test x$gcc_no_link = xyes; then
63762   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63763 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63764    { (exit 1); exit 1; }; }
63765 fi
63766 cat >conftest.$ac_ext <<_ACEOF
63767 /* confdefs.h.  */
63768 _ACEOF
63769 cat confdefs.h >>conftest.$ac_ext
63770 cat >>conftest.$ac_ext <<_ACEOF
63771 /* end confdefs.h.  */
63772 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63773    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63774 #define $ac_func innocuous_$ac_func
63775
63776 /* System header to define __stub macros and hopefully few prototypes,
63777     which can conflict with char $ac_func (); below.
63778     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63779     <limits.h> exists even on freestanding compilers.  */
63780
63781 #ifdef __STDC__
63782 # include <limits.h>
63783 #else
63784 # include <assert.h>
63785 #endif
63786
63787 #undef $ac_func
63788
63789 /* Override any GCC internal prototype to avoid an error.
63790    Use char because int might match the return type of a GCC
63791    builtin and then its argument prototype would still apply.  */
63792 #ifdef __cplusplus
63793 extern "C"
63794 #endif
63795 char $ac_func ();
63796 /* The GNU C library defines this for functions which it implements
63797     to always fail with ENOSYS.  Some functions are actually named
63798     something starting with __ and the normal name is an alias.  */
63799 #if defined __stub_$ac_func || defined __stub___$ac_func
63800 choke me
63801 #endif
63802
63803 int
63804 main ()
63805 {
63806 return $ac_func ();
63807   ;
63808   return 0;
63809 }
63810 _ACEOF
63811 rm -f conftest.$ac_objext conftest$ac_exeext
63812 if { (ac_try="$ac_link"
63813 case "(($ac_try" in
63814   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
63815   *) ac_try_echo=$ac_try;;
63816 esac
63817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
63818   (eval "$ac_link") 2>conftest.er1
63819   ac_status=$?
63820   grep -v '^ *+' conftest.er1 >conftest.err
63821   rm -f conftest.er1
63822   cat conftest.err >&5
63823   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63824   (exit $ac_status); } && {
63825          test -z "$ac_c_werror_flag" ||
63826          test ! -s conftest.err
63827        } && test -s conftest$ac_exeext &&
63828        $as_test_x conftest$ac_exeext; then
63829   eval "$as_ac_var=yes"
63830 else
63831   echo "$as_me: failed program was:" >&5
63832 sed 's/^/| /' conftest.$ac_ext >&5
63833
63834         eval "$as_ac_var=no"
63835 fi
63836
63837 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
63838       conftest$ac_exeext conftest.$ac_ext
63839 fi
63840 ac_res=`eval echo '${'$as_ac_var'}'`
63841                { echo "$as_me:$LINENO: result: $ac_res" >&5
63842 echo "${ECHO_T}$ac_res" >&6; }
63843 if test `eval echo '${'$as_ac_var'}'` = yes; then
63844   cat >>confdefs.h <<_ACEOF
63845 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63846 _ACEOF
63847
63848 fi
63849 done
63850
63851     fi
63852   fi
63853
63854
63855
63856
63857
63858
63859   { echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
63860 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6; }
63861   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
63862     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
63863   echo $ECHO_N "(cached) $ECHO_C" >&6
63864 else
63865
63866
63867       ac_ext=cpp
63868 ac_cpp='$CXXCPP $CPPFLAGS'
63869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63872
63873       cat >conftest.$ac_ext <<_ACEOF
63874 /* confdefs.h.  */
63875 _ACEOF
63876 cat confdefs.h >>conftest.$ac_ext
63877 cat >>conftest.$ac_ext <<_ACEOF
63878 /* end confdefs.h.  */
63879 #include <math.h>
63880                       #ifdef HAVE_IEEEFP_H
63881                       #include <ieeefp.h>
63882                       #endif
63883
63884 int
63885 main ()
63886 {
63887  qfpclass(0);
63888   ;
63889   return 0;
63890 }
63891 _ACEOF
63892 rm -f conftest.$ac_objext
63893 if { (ac_try="$ac_compile"
63894 case "(($ac_try" in
63895   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
63896   *) ac_try_echo=$ac_try;;
63897 esac
63898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
63899   (eval "$ac_compile") 2>conftest.er1
63900   ac_status=$?
63901   grep -v '^ *+' conftest.er1 >conftest.err
63902   rm -f conftest.er1
63903   cat conftest.err >&5
63904   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63905   (exit $ac_status); } && {
63906          test -z "$ac_cxx_werror_flag" ||
63907          test ! -s conftest.err
63908        } && test -s conftest.$ac_objext; then
63909   glibcxx_cv_func_qfpclass_use=yes
63910 else
63911   echo "$as_me: failed program was:" >&5
63912 sed 's/^/| /' conftest.$ac_ext >&5
63913
63914         glibcxx_cv_func_qfpclass_use=no
63915 fi
63916
63917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63918       ac_ext=c
63919 ac_cpp='$CPP $CPPFLAGS'
63920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63923
63924
63925 fi
63926
63927   fi
63928   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
63929 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6; }
63930
63931   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
63932
63933 for ac_func in qfpclass
63934 do
63935 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63936 { echo "$as_me:$LINENO: checking for $ac_func" >&5
63937 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
63938 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
63939   echo $ECHO_N "(cached) $ECHO_C" >&6
63940 else
63941   if test x$gcc_no_link = xyes; then
63942   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63943 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63944    { (exit 1); exit 1; }; }
63945 fi
63946 cat >conftest.$ac_ext <<_ACEOF
63947 /* confdefs.h.  */
63948 _ACEOF
63949 cat confdefs.h >>conftest.$ac_ext
63950 cat >>conftest.$ac_ext <<_ACEOF
63951 /* end confdefs.h.  */
63952 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63953    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63954 #define $ac_func innocuous_$ac_func
63955
63956 /* System header to define __stub macros and hopefully few prototypes,
63957     which can conflict with char $ac_func (); below.
63958     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63959     <limits.h> exists even on freestanding compilers.  */
63960
63961 #ifdef __STDC__
63962 # include <limits.h>
63963 #else
63964 # include <assert.h>
63965 #endif
63966
63967 #undef $ac_func
63968
63969 /* Override any GCC internal prototype to avoid an error.
63970    Use char because int might match the return type of a GCC
63971    builtin and then its argument prototype would still apply.  */
63972 #ifdef __cplusplus
63973 extern "C"
63974 #endif
63975 char $ac_func ();
63976 /* The GNU C library defines this for functions which it implements
63977     to always fail with ENOSYS.  Some functions are actually named
63978     something starting with __ and the normal name is an alias.  */
63979 #if defined __stub_$ac_func || defined __stub___$ac_func
63980 choke me
63981 #endif
63982
63983 int
63984 main ()
63985 {
63986 return $ac_func ();
63987   ;
63988   return 0;
63989 }
63990 _ACEOF
63991 rm -f conftest.$ac_objext conftest$ac_exeext
63992 if { (ac_try="$ac_link"
63993 case "(($ac_try" in
63994   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
63995   *) ac_try_echo=$ac_try;;
63996 esac
63997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
63998   (eval "$ac_link") 2>conftest.er1
63999   ac_status=$?
64000   grep -v '^ *+' conftest.er1 >conftest.err
64001   rm -f conftest.er1
64002   cat conftest.err >&5
64003   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64004   (exit $ac_status); } && {
64005          test -z "$ac_c_werror_flag" ||
64006          test ! -s conftest.err
64007        } && test -s conftest$ac_exeext &&
64008        $as_test_x conftest$ac_exeext; then
64009   eval "$as_ac_var=yes"
64010 else
64011   echo "$as_me: failed program was:" >&5
64012 sed 's/^/| /' conftest.$ac_ext >&5
64013
64014         eval "$as_ac_var=no"
64015 fi
64016
64017 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
64018       conftest$ac_exeext conftest.$ac_ext
64019 fi
64020 ac_res=`eval echo '${'$as_ac_var'}'`
64021                { echo "$as_me:$LINENO: result: $ac_res" >&5
64022 echo "${ECHO_T}$ac_res" >&6; }
64023 if test `eval echo '${'$as_ac_var'}'` = yes; then
64024   cat >>confdefs.h <<_ACEOF
64025 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64026 _ACEOF
64027
64028 fi
64029 done
64030
64031   else
64032
64033   { echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
64034 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6; }
64035   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
64036     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
64037   echo $ECHO_N "(cached) $ECHO_C" >&6
64038 else
64039
64040
64041       ac_ext=cpp
64042 ac_cpp='$CXXCPP $CPPFLAGS'
64043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64046
64047       cat >conftest.$ac_ext <<_ACEOF
64048 /* confdefs.h.  */
64049 _ACEOF
64050 cat confdefs.h >>conftest.$ac_ext
64051 cat >>conftest.$ac_ext <<_ACEOF
64052 /* end confdefs.h.  */
64053 #include <math.h>
64054                       #ifdef HAVE_IEEEFP_H
64055                       #include <ieeefp.h>
64056                       #endif
64057
64058 int
64059 main ()
64060 {
64061  _qfpclass(0);
64062   ;
64063   return 0;
64064 }
64065 _ACEOF
64066 rm -f conftest.$ac_objext
64067 if { (ac_try="$ac_compile"
64068 case "(($ac_try" in
64069   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
64070   *) ac_try_echo=$ac_try;;
64071 esac
64072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
64073   (eval "$ac_compile") 2>conftest.er1
64074   ac_status=$?
64075   grep -v '^ *+' conftest.er1 >conftest.err
64076   rm -f conftest.er1
64077   cat conftest.err >&5
64078   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64079   (exit $ac_status); } && {
64080          test -z "$ac_cxx_werror_flag" ||
64081          test ! -s conftest.err
64082        } && test -s conftest.$ac_objext; then
64083   glibcxx_cv_func__qfpclass_use=yes
64084 else
64085   echo "$as_me: failed program was:" >&5
64086 sed 's/^/| /' conftest.$ac_ext >&5
64087
64088         glibcxx_cv_func__qfpclass_use=no
64089 fi
64090
64091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64092       ac_ext=c
64093 ac_cpp='$CPP $CPPFLAGS'
64094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64097
64098
64099 fi
64100
64101   fi
64102   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
64103 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6; }
64104
64105     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
64106
64107 for ac_func in _qfpclass
64108 do
64109 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64110 { echo "$as_me:$LINENO: checking for $ac_func" >&5
64111 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
64112 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
64113   echo $ECHO_N "(cached) $ECHO_C" >&6
64114 else
64115   if test x$gcc_no_link = xyes; then
64116   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64117 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64118    { (exit 1); exit 1; }; }
64119 fi
64120 cat >conftest.$ac_ext <<_ACEOF
64121 /* confdefs.h.  */
64122 _ACEOF
64123 cat confdefs.h >>conftest.$ac_ext
64124 cat >>conftest.$ac_ext <<_ACEOF
64125 /* end confdefs.h.  */
64126 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64127    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64128 #define $ac_func innocuous_$ac_func
64129
64130 /* System header to define __stub macros and hopefully few prototypes,
64131     which can conflict with char $ac_func (); below.
64132     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64133     <limits.h> exists even on freestanding compilers.  */
64134
64135 #ifdef __STDC__
64136 # include <limits.h>
64137 #else
64138 # include <assert.h>
64139 #endif
64140
64141 #undef $ac_func
64142
64143 /* Override any GCC internal prototype to avoid an error.
64144    Use char because int might match the return type of a GCC
64145    builtin and then its argument prototype would still apply.  */
64146 #ifdef __cplusplus
64147 extern "C"
64148 #endif
64149 char $ac_func ();
64150 /* The GNU C library defines this for functions which it implements
64151     to always fail with ENOSYS.  Some functions are actually named
64152     something starting with __ and the normal name is an alias.  */
64153 #if defined __stub_$ac_func || defined __stub___$ac_func
64154 choke me
64155 #endif
64156
64157 int
64158 main ()
64159 {
64160 return $ac_func ();
64161   ;
64162   return 0;
64163 }
64164 _ACEOF
64165 rm -f conftest.$ac_objext conftest$ac_exeext
64166 if { (ac_try="$ac_link"
64167 case "(($ac_try" in
64168   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
64169   *) ac_try_echo=$ac_try;;
64170 esac
64171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
64172   (eval "$ac_link") 2>conftest.er1
64173   ac_status=$?
64174   grep -v '^ *+' conftest.er1 >conftest.err
64175   rm -f conftest.er1
64176   cat conftest.err >&5
64177   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64178   (exit $ac_status); } && {
64179          test -z "$ac_c_werror_flag" ||
64180          test ! -s conftest.err
64181        } && test -s conftest$ac_exeext &&
64182        $as_test_x conftest$ac_exeext; then
64183   eval "$as_ac_var=yes"
64184 else
64185   echo "$as_me: failed program was:" >&5
64186 sed 's/^/| /' conftest.$ac_ext >&5
64187
64188         eval "$as_ac_var=no"
64189 fi
64190
64191 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
64192       conftest$ac_exeext conftest.$ac_ext
64193 fi
64194 ac_res=`eval echo '${'$as_ac_var'}'`
64195                { echo "$as_me:$LINENO: result: $ac_res" >&5
64196 echo "${ECHO_T}$ac_res" >&6; }
64197 if test `eval echo '${'$as_ac_var'}'` = yes; then
64198   cat >>confdefs.h <<_ACEOF
64199 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64200 _ACEOF
64201
64202 fi
64203 done
64204
64205     fi
64206   fi
64207
64208
64209
64210
64211
64212
64213   { echo "$as_me:$LINENO: checking for hypot declaration" >&5
64214 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6; }
64215   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
64216     if test "${glibcxx_cv_func_hypot_use+set}" = set; then
64217   echo $ECHO_N "(cached) $ECHO_C" >&6
64218 else
64219
64220
64221       ac_ext=cpp
64222 ac_cpp='$CXXCPP $CPPFLAGS'
64223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64226
64227       cat >conftest.$ac_ext <<_ACEOF
64228 /* confdefs.h.  */
64229 _ACEOF
64230 cat confdefs.h >>conftest.$ac_ext
64231 cat >>conftest.$ac_ext <<_ACEOF
64232 /* end confdefs.h.  */
64233 #include <math.h>
64234 int
64235 main ()
64236 {
64237  hypot(0, 0);
64238   ;
64239   return 0;
64240 }
64241 _ACEOF
64242 rm -f conftest.$ac_objext
64243 if { (ac_try="$ac_compile"
64244 case "(($ac_try" in
64245   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
64246   *) ac_try_echo=$ac_try;;
64247 esac
64248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
64249   (eval "$ac_compile") 2>conftest.er1
64250   ac_status=$?
64251   grep -v '^ *+' conftest.er1 >conftest.err
64252   rm -f conftest.er1
64253   cat conftest.err >&5
64254   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64255   (exit $ac_status); } && {
64256          test -z "$ac_cxx_werror_flag" ||
64257          test ! -s conftest.err
64258        } && test -s conftest.$ac_objext; then
64259   glibcxx_cv_func_hypot_use=yes
64260 else
64261   echo "$as_me: failed program was:" >&5
64262 sed 's/^/| /' conftest.$ac_ext >&5
64263
64264         glibcxx_cv_func_hypot_use=no
64265 fi
64266
64267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64268       ac_ext=c
64269 ac_cpp='$CPP $CPPFLAGS'
64270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64273
64274
64275 fi
64276
64277   fi
64278   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
64279 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6; }
64280
64281   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
64282
64283 for ac_func in hypot
64284 do
64285 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64286 { echo "$as_me:$LINENO: checking for $ac_func" >&5
64287 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
64288 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
64289   echo $ECHO_N "(cached) $ECHO_C" >&6
64290 else
64291   if test x$gcc_no_link = xyes; then
64292   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64293 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64294    { (exit 1); exit 1; }; }
64295 fi
64296 cat >conftest.$ac_ext <<_ACEOF
64297 /* confdefs.h.  */
64298 _ACEOF
64299 cat confdefs.h >>conftest.$ac_ext
64300 cat >>conftest.$ac_ext <<_ACEOF
64301 /* end confdefs.h.  */
64302 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64303    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64304 #define $ac_func innocuous_$ac_func
64305
64306 /* System header to define __stub macros and hopefully few prototypes,
64307     which can conflict with char $ac_func (); below.
64308     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64309     <limits.h> exists even on freestanding compilers.  */
64310
64311 #ifdef __STDC__
64312 # include <limits.h>
64313 #else
64314 # include <assert.h>
64315 #endif
64316
64317 #undef $ac_func
64318
64319 /* Override any GCC internal prototype to avoid an error.
64320    Use char because int might match the return type of a GCC
64321    builtin and then its argument prototype would still apply.  */
64322 #ifdef __cplusplus
64323 extern "C"
64324 #endif
64325 char $ac_func ();
64326 /* The GNU C library defines this for functions which it implements
64327     to always fail with ENOSYS.  Some functions are actually named
64328     something starting with __ and the normal name is an alias.  */
64329 #if defined __stub_$ac_func || defined __stub___$ac_func
64330 choke me
64331 #endif
64332
64333 int
64334 main ()
64335 {
64336 return $ac_func ();
64337   ;
64338   return 0;
64339 }
64340 _ACEOF
64341 rm -f conftest.$ac_objext conftest$ac_exeext
64342 if { (ac_try="$ac_link"
64343 case "(($ac_try" in
64344   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
64345   *) ac_try_echo=$ac_try;;
64346 esac
64347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
64348   (eval "$ac_link") 2>conftest.er1
64349   ac_status=$?
64350   grep -v '^ *+' conftest.er1 >conftest.err
64351   rm -f conftest.er1
64352   cat conftest.err >&5
64353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64354   (exit $ac_status); } && {
64355          test -z "$ac_c_werror_flag" ||
64356          test ! -s conftest.err
64357        } && test -s conftest$ac_exeext &&
64358        $as_test_x conftest$ac_exeext; then
64359   eval "$as_ac_var=yes"
64360 else
64361   echo "$as_me: failed program was:" >&5
64362 sed 's/^/| /' conftest.$ac_ext >&5
64363
64364         eval "$as_ac_var=no"
64365 fi
64366
64367 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
64368       conftest$ac_exeext conftest.$ac_ext
64369 fi
64370 ac_res=`eval echo '${'$as_ac_var'}'`
64371                { echo "$as_me:$LINENO: result: $ac_res" >&5
64372 echo "${ECHO_T}$ac_res" >&6; }
64373 if test `eval echo '${'$as_ac_var'}'` = yes; then
64374   cat >>confdefs.h <<_ACEOF
64375 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64376 _ACEOF
64377
64378 fi
64379 done
64380
64381   else
64382
64383   { echo "$as_me:$LINENO: checking for _hypot declaration" >&5
64384 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6; }
64385   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
64386     if test "${glibcxx_cv_func__hypot_use+set}" = set; then
64387   echo $ECHO_N "(cached) $ECHO_C" >&6
64388 else
64389
64390
64391       ac_ext=cpp
64392 ac_cpp='$CXXCPP $CPPFLAGS'
64393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64396
64397       cat >conftest.$ac_ext <<_ACEOF
64398 /* confdefs.h.  */
64399 _ACEOF
64400 cat confdefs.h >>conftest.$ac_ext
64401 cat >>conftest.$ac_ext <<_ACEOF
64402 /* end confdefs.h.  */
64403 #include <math.h>
64404 int
64405 main ()
64406 {
64407  _hypot(0, 0);
64408   ;
64409   return 0;
64410 }
64411 _ACEOF
64412 rm -f conftest.$ac_objext
64413 if { (ac_try="$ac_compile"
64414 case "(($ac_try" in
64415   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
64416   *) ac_try_echo=$ac_try;;
64417 esac
64418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
64419   (eval "$ac_compile") 2>conftest.er1
64420   ac_status=$?
64421   grep -v '^ *+' conftest.er1 >conftest.err
64422   rm -f conftest.er1
64423   cat conftest.err >&5
64424   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64425   (exit $ac_status); } && {
64426          test -z "$ac_cxx_werror_flag" ||
64427          test ! -s conftest.err
64428        } && test -s conftest.$ac_objext; then
64429   glibcxx_cv_func__hypot_use=yes
64430 else
64431   echo "$as_me: failed program was:" >&5
64432 sed 's/^/| /' conftest.$ac_ext >&5
64433
64434         glibcxx_cv_func__hypot_use=no
64435 fi
64436
64437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64438       ac_ext=c
64439 ac_cpp='$CPP $CPPFLAGS'
64440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64443
64444
64445 fi
64446
64447   fi
64448   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
64449 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6; }
64450
64451     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
64452
64453 for ac_func in _hypot
64454 do
64455 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64456 { echo "$as_me:$LINENO: checking for $ac_func" >&5
64457 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
64458 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
64459   echo $ECHO_N "(cached) $ECHO_C" >&6
64460 else
64461   if test x$gcc_no_link = xyes; then
64462   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64463 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64464    { (exit 1); exit 1; }; }
64465 fi
64466 cat >conftest.$ac_ext <<_ACEOF
64467 /* confdefs.h.  */
64468 _ACEOF
64469 cat confdefs.h >>conftest.$ac_ext
64470 cat >>conftest.$ac_ext <<_ACEOF
64471 /* end confdefs.h.  */
64472 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64473    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64474 #define $ac_func innocuous_$ac_func
64475
64476 /* System header to define __stub macros and hopefully few prototypes,
64477     which can conflict with char $ac_func (); below.
64478     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64479     <limits.h> exists even on freestanding compilers.  */
64480
64481 #ifdef __STDC__
64482 # include <limits.h>
64483 #else
64484 # include <assert.h>
64485 #endif
64486
64487 #undef $ac_func
64488
64489 /* Override any GCC internal prototype to avoid an error.
64490    Use char because int might match the return type of a GCC
64491    builtin and then its argument prototype would still apply.  */
64492 #ifdef __cplusplus
64493 extern "C"
64494 #endif
64495 char $ac_func ();
64496 /* The GNU C library defines this for functions which it implements
64497     to always fail with ENOSYS.  Some functions are actually named
64498     something starting with __ and the normal name is an alias.  */
64499 #if defined __stub_$ac_func || defined __stub___$ac_func
64500 choke me
64501 #endif
64502
64503 int
64504 main ()
64505 {
64506 return $ac_func ();
64507   ;
64508   return 0;
64509 }
64510 _ACEOF
64511 rm -f conftest.$ac_objext conftest$ac_exeext
64512 if { (ac_try="$ac_link"
64513 case "(($ac_try" in
64514   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
64515   *) ac_try_echo=$ac_try;;
64516 esac
64517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
64518   (eval "$ac_link") 2>conftest.er1
64519   ac_status=$?
64520   grep -v '^ *+' conftest.er1 >conftest.err
64521   rm -f conftest.er1
64522   cat conftest.err >&5
64523   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64524   (exit $ac_status); } && {
64525          test -z "$ac_c_werror_flag" ||
64526          test ! -s conftest.err
64527        } && test -s conftest$ac_exeext &&
64528        $as_test_x conftest$ac_exeext; then
64529   eval "$as_ac_var=yes"
64530 else
64531   echo "$as_me: failed program was:" >&5
64532 sed 's/^/| /' conftest.$ac_ext >&5
64533
64534         eval "$as_ac_var=no"
64535 fi
64536
64537 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
64538       conftest$ac_exeext conftest.$ac_ext
64539 fi
64540 ac_res=`eval echo '${'$as_ac_var'}'`
64541                { echo "$as_me:$LINENO: result: $ac_res" >&5
64542 echo "${ECHO_T}$ac_res" >&6; }
64543 if test `eval echo '${'$as_ac_var'}'` = yes; then
64544   cat >>confdefs.h <<_ACEOF
64545 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64546 _ACEOF
64547
64548 fi
64549 done
64550
64551     fi
64552   fi
64553
64554
64555
64556
64557
64558
64559     { echo "$as_me:$LINENO: checking for float trig functions" >&5
64560 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6; }
64561   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
64562   echo $ECHO_N "(cached) $ECHO_C" >&6
64563 else
64564
64565
64566     ac_ext=cpp
64567 ac_cpp='$CXXCPP $CPPFLAGS'
64568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64571
64572     cat >conftest.$ac_ext <<_ACEOF
64573 /* confdefs.h.  */
64574 _ACEOF
64575 cat confdefs.h >>conftest.$ac_ext
64576 cat >>conftest.$ac_ext <<_ACEOF
64577 /* end confdefs.h.  */
64578 #include <math.h>
64579 int
64580 main ()
64581 {
64582 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
64583   ;
64584   return 0;
64585 }
64586 _ACEOF
64587 rm -f conftest.$ac_objext
64588 if { (ac_try="$ac_compile"
64589 case "(($ac_try" in
64590   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
64591   *) ac_try_echo=$ac_try;;
64592 esac
64593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
64594   (eval "$ac_compile") 2>conftest.er1
64595   ac_status=$?
64596   grep -v '^ *+' conftest.er1 >conftest.err
64597   rm -f conftest.er1
64598   cat conftest.err >&5
64599   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64600   (exit $ac_status); } && {
64601          test -z "$ac_cxx_werror_flag" ||
64602          test ! -s conftest.err
64603        } && test -s conftest.$ac_objext; then
64604   glibcxx_cv_func_float_trig_use=yes
64605 else
64606   echo "$as_me: failed program was:" >&5
64607 sed 's/^/| /' conftest.$ac_ext >&5
64608
64609         glibcxx_cv_func_float_trig_use=no
64610 fi
64611
64612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64613     ac_ext=c
64614 ac_cpp='$CPP $CPPFLAGS'
64615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64618
64619 fi
64620
64621   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
64622 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6; }
64623   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
64624
64625
64626
64627
64628
64629
64630
64631
64632
64633 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
64634 do
64635 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64636 { echo "$as_me:$LINENO: checking for $ac_func" >&5
64637 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
64638 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
64639   echo $ECHO_N "(cached) $ECHO_C" >&6
64640 else
64641   if test x$gcc_no_link = xyes; then
64642   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64643 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64644    { (exit 1); exit 1; }; }
64645 fi
64646 cat >conftest.$ac_ext <<_ACEOF
64647 /* confdefs.h.  */
64648 _ACEOF
64649 cat confdefs.h >>conftest.$ac_ext
64650 cat >>conftest.$ac_ext <<_ACEOF
64651 /* end confdefs.h.  */
64652 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64653    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64654 #define $ac_func innocuous_$ac_func
64655
64656 /* System header to define __stub macros and hopefully few prototypes,
64657     which can conflict with char $ac_func (); below.
64658     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64659     <limits.h> exists even on freestanding compilers.  */
64660
64661 #ifdef __STDC__
64662 # include <limits.h>
64663 #else
64664 # include <assert.h>
64665 #endif
64666
64667 #undef $ac_func
64668
64669 /* Override any GCC internal prototype to avoid an error.
64670    Use char because int might match the return type of a GCC
64671    builtin and then its argument prototype would still apply.  */
64672 #ifdef __cplusplus
64673 extern "C"
64674 #endif
64675 char $ac_func ();
64676 /* The GNU C library defines this for functions which it implements
64677     to always fail with ENOSYS.  Some functions are actually named
64678     something starting with __ and the normal name is an alias.  */
64679 #if defined __stub_$ac_func || defined __stub___$ac_func
64680 choke me
64681 #endif
64682
64683 int
64684 main ()
64685 {
64686 return $ac_func ();
64687   ;
64688   return 0;
64689 }
64690 _ACEOF
64691 rm -f conftest.$ac_objext conftest$ac_exeext
64692 if { (ac_try="$ac_link"
64693 case "(($ac_try" in
64694   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
64695   *) ac_try_echo=$ac_try;;
64696 esac
64697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
64698   (eval "$ac_link") 2>conftest.er1
64699   ac_status=$?
64700   grep -v '^ *+' conftest.er1 >conftest.err
64701   rm -f conftest.er1
64702   cat conftest.err >&5
64703   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64704   (exit $ac_status); } && {
64705          test -z "$ac_c_werror_flag" ||
64706          test ! -s conftest.err
64707        } && test -s conftest$ac_exeext &&
64708        $as_test_x conftest$ac_exeext; then
64709   eval "$as_ac_var=yes"
64710 else
64711   echo "$as_me: failed program was:" >&5
64712 sed 's/^/| /' conftest.$ac_ext >&5
64713
64714         eval "$as_ac_var=no"
64715 fi
64716
64717 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
64718       conftest$ac_exeext conftest.$ac_ext
64719 fi
64720 ac_res=`eval echo '${'$as_ac_var'}'`
64721                { echo "$as_me:$LINENO: result: $ac_res" >&5
64722 echo "${ECHO_T}$ac_res" >&6; }
64723 if test `eval echo '${'$as_ac_var'}'` = yes; then
64724   cat >>confdefs.h <<_ACEOF
64725 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64726 _ACEOF
64727
64728 fi
64729 done
64730
64731   else
64732     { echo "$as_me:$LINENO: checking for _float trig functions" >&5
64733 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6; }
64734     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
64735   echo $ECHO_N "(cached) $ECHO_C" >&6
64736 else
64737
64738
64739       ac_ext=cpp
64740 ac_cpp='$CXXCPP $CPPFLAGS'
64741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64744
64745       cat >conftest.$ac_ext <<_ACEOF
64746 /* confdefs.h.  */
64747 _ACEOF
64748 cat confdefs.h >>conftest.$ac_ext
64749 cat >>conftest.$ac_ext <<_ACEOF
64750 /* end confdefs.h.  */
64751 #include <math.h>
64752 int
64753 main ()
64754 {
64755 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
64756   ;
64757   return 0;
64758 }
64759 _ACEOF
64760 rm -f conftest.$ac_objext
64761 if { (ac_try="$ac_compile"
64762 case "(($ac_try" in
64763   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
64764   *) ac_try_echo=$ac_try;;
64765 esac
64766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
64767   (eval "$ac_compile") 2>conftest.er1
64768   ac_status=$?
64769   grep -v '^ *+' conftest.er1 >conftest.err
64770   rm -f conftest.er1
64771   cat conftest.err >&5
64772   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64773   (exit $ac_status); } && {
64774          test -z "$ac_cxx_werror_flag" ||
64775          test ! -s conftest.err
64776        } && test -s conftest.$ac_objext; then
64777   glibcxx_cv_func__float_trig_use=yes
64778 else
64779   echo "$as_me: failed program was:" >&5
64780 sed 's/^/| /' conftest.$ac_ext >&5
64781
64782         glibcxx_cv_func__float_trig_use=no
64783 fi
64784
64785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64786       ac_ext=c
64787 ac_cpp='$CPP $CPPFLAGS'
64788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64791
64792 fi
64793
64794     { echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
64795 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6; }
64796     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
64797
64798
64799
64800
64801
64802
64803
64804
64805
64806 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
64807 do
64808 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64809 { echo "$as_me:$LINENO: checking for $ac_func" >&5
64810 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
64811 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
64812   echo $ECHO_N "(cached) $ECHO_C" >&6
64813 else
64814   if test x$gcc_no_link = xyes; then
64815   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64816 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64817    { (exit 1); exit 1; }; }
64818 fi
64819 cat >conftest.$ac_ext <<_ACEOF
64820 /* confdefs.h.  */
64821 _ACEOF
64822 cat confdefs.h >>conftest.$ac_ext
64823 cat >>conftest.$ac_ext <<_ACEOF
64824 /* end confdefs.h.  */
64825 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64826    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64827 #define $ac_func innocuous_$ac_func
64828
64829 /* System header to define __stub macros and hopefully few prototypes,
64830     which can conflict with char $ac_func (); below.
64831     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64832     <limits.h> exists even on freestanding compilers.  */
64833
64834 #ifdef __STDC__
64835 # include <limits.h>
64836 #else
64837 # include <assert.h>
64838 #endif
64839
64840 #undef $ac_func
64841
64842 /* Override any GCC internal prototype to avoid an error.
64843    Use char because int might match the return type of a GCC
64844    builtin and then its argument prototype would still apply.  */
64845 #ifdef __cplusplus
64846 extern "C"
64847 #endif
64848 char $ac_func ();
64849 /* The GNU C library defines this for functions which it implements
64850     to always fail with ENOSYS.  Some functions are actually named
64851     something starting with __ and the normal name is an alias.  */
64852 #if defined __stub_$ac_func || defined __stub___$ac_func
64853 choke me
64854 #endif
64855
64856 int
64857 main ()
64858 {
64859 return $ac_func ();
64860   ;
64861   return 0;
64862 }
64863 _ACEOF
64864 rm -f conftest.$ac_objext conftest$ac_exeext
64865 if { (ac_try="$ac_link"
64866 case "(($ac_try" in
64867   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
64868   *) ac_try_echo=$ac_try;;
64869 esac
64870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
64871   (eval "$ac_link") 2>conftest.er1
64872   ac_status=$?
64873   grep -v '^ *+' conftest.er1 >conftest.err
64874   rm -f conftest.er1
64875   cat conftest.err >&5
64876   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64877   (exit $ac_status); } && {
64878          test -z "$ac_c_werror_flag" ||
64879          test ! -s conftest.err
64880        } && test -s conftest$ac_exeext &&
64881        $as_test_x conftest$ac_exeext; then
64882   eval "$as_ac_var=yes"
64883 else
64884   echo "$as_me: failed program was:" >&5
64885 sed 's/^/| /' conftest.$ac_ext >&5
64886
64887         eval "$as_ac_var=no"
64888 fi
64889
64890 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
64891       conftest$ac_exeext conftest.$ac_ext
64892 fi
64893 ac_res=`eval echo '${'$as_ac_var'}'`
64894                { echo "$as_me:$LINENO: result: $ac_res" >&5
64895 echo "${ECHO_T}$ac_res" >&6; }
64896 if test `eval echo '${'$as_ac_var'}'` = yes; then
64897   cat >>confdefs.h <<_ACEOF
64898 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64899 _ACEOF
64900
64901 fi
64902 done
64903
64904     fi
64905   fi
64906
64907
64908
64909
64910
64911
64912
64913
64914
64915
64916
64917
64918
64919
64920     { echo "$as_me:$LINENO: checking for float round functions" >&5
64921 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6; }
64922   if test "${glibcxx_cv_func_float_round_use+set}" = set; then
64923   echo $ECHO_N "(cached) $ECHO_C" >&6
64924 else
64925
64926
64927     ac_ext=cpp
64928 ac_cpp='$CXXCPP $CPPFLAGS'
64929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64932
64933     cat >conftest.$ac_ext <<_ACEOF
64934 /* confdefs.h.  */
64935 _ACEOF
64936 cat confdefs.h >>conftest.$ac_ext
64937 cat >>conftest.$ac_ext <<_ACEOF
64938 /* end confdefs.h.  */
64939 #include <math.h>
64940 int
64941 main ()
64942 {
64943 ceilf (0); floorf (0);
64944   ;
64945   return 0;
64946 }
64947 _ACEOF
64948 rm -f conftest.$ac_objext
64949 if { (ac_try="$ac_compile"
64950 case "(($ac_try" in
64951   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
64952   *) ac_try_echo=$ac_try;;
64953 esac
64954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
64955   (eval "$ac_compile") 2>conftest.er1
64956   ac_status=$?
64957   grep -v '^ *+' conftest.er1 >conftest.err
64958   rm -f conftest.er1
64959   cat conftest.err >&5
64960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64961   (exit $ac_status); } && {
64962          test -z "$ac_cxx_werror_flag" ||
64963          test ! -s conftest.err
64964        } && test -s conftest.$ac_objext; then
64965   glibcxx_cv_func_float_round_use=yes
64966 else
64967   echo "$as_me: failed program was:" >&5
64968 sed 's/^/| /' conftest.$ac_ext >&5
64969
64970         glibcxx_cv_func_float_round_use=no
64971 fi
64972
64973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64974     ac_ext=c
64975 ac_cpp='$CPP $CPPFLAGS'
64976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64979
64980 fi
64981
64982   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
64983 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6; }
64984   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
64985
64986
64987 for ac_func in ceilf floorf
64988 do
64989 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64990 { echo "$as_me:$LINENO: checking for $ac_func" >&5
64991 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
64992 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
64993   echo $ECHO_N "(cached) $ECHO_C" >&6
64994 else
64995   if test x$gcc_no_link = xyes; then
64996   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64997 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64998    { (exit 1); exit 1; }; }
64999 fi
65000 cat >conftest.$ac_ext <<_ACEOF
65001 /* confdefs.h.  */
65002 _ACEOF
65003 cat confdefs.h >>conftest.$ac_ext
65004 cat >>conftest.$ac_ext <<_ACEOF
65005 /* end confdefs.h.  */
65006 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65007    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65008 #define $ac_func innocuous_$ac_func
65009
65010 /* System header to define __stub macros and hopefully few prototypes,
65011     which can conflict with char $ac_func (); below.
65012     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65013     <limits.h> exists even on freestanding compilers.  */
65014
65015 #ifdef __STDC__
65016 # include <limits.h>
65017 #else
65018 # include <assert.h>
65019 #endif
65020
65021 #undef $ac_func
65022
65023 /* Override any GCC internal prototype to avoid an error.
65024    Use char because int might match the return type of a GCC
65025    builtin and then its argument prototype would still apply.  */
65026 #ifdef __cplusplus
65027 extern "C"
65028 #endif
65029 char $ac_func ();
65030 /* The GNU C library defines this for functions which it implements
65031     to always fail with ENOSYS.  Some functions are actually named
65032     something starting with __ and the normal name is an alias.  */
65033 #if defined __stub_$ac_func || defined __stub___$ac_func
65034 choke me
65035 #endif
65036
65037 int
65038 main ()
65039 {
65040 return $ac_func ();
65041   ;
65042   return 0;
65043 }
65044 _ACEOF
65045 rm -f conftest.$ac_objext conftest$ac_exeext
65046 if { (ac_try="$ac_link"
65047 case "(($ac_try" in
65048   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
65049   *) ac_try_echo=$ac_try;;
65050 esac
65051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
65052   (eval "$ac_link") 2>conftest.er1
65053   ac_status=$?
65054   grep -v '^ *+' conftest.er1 >conftest.err
65055   rm -f conftest.er1
65056   cat conftest.err >&5
65057   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65058   (exit $ac_status); } && {
65059          test -z "$ac_c_werror_flag" ||
65060          test ! -s conftest.err
65061        } && test -s conftest$ac_exeext &&
65062        $as_test_x conftest$ac_exeext; then
65063   eval "$as_ac_var=yes"
65064 else
65065   echo "$as_me: failed program was:" >&5
65066 sed 's/^/| /' conftest.$ac_ext >&5
65067
65068         eval "$as_ac_var=no"
65069 fi
65070
65071 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
65072       conftest$ac_exeext conftest.$ac_ext
65073 fi
65074 ac_res=`eval echo '${'$as_ac_var'}'`
65075                { echo "$as_me:$LINENO: result: $ac_res" >&5
65076 echo "${ECHO_T}$ac_res" >&6; }
65077 if test `eval echo '${'$as_ac_var'}'` = yes; then
65078   cat >>confdefs.h <<_ACEOF
65079 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65080 _ACEOF
65081
65082 fi
65083 done
65084
65085   else
65086     { echo "$as_me:$LINENO: checking for _float round functions" >&5
65087 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6; }
65088     if test "${glibcxx_cv_func__float_round_use+set}" = set; then
65089   echo $ECHO_N "(cached) $ECHO_C" >&6
65090 else
65091
65092
65093       ac_ext=cpp
65094 ac_cpp='$CXXCPP $CPPFLAGS'
65095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65098
65099       cat >conftest.$ac_ext <<_ACEOF
65100 /* confdefs.h.  */
65101 _ACEOF
65102 cat confdefs.h >>conftest.$ac_ext
65103 cat >>conftest.$ac_ext <<_ACEOF
65104 /* end confdefs.h.  */
65105 #include <math.h>
65106 int
65107 main ()
65108 {
65109 _ceilf (0); _floorf (0);
65110   ;
65111   return 0;
65112 }
65113 _ACEOF
65114 rm -f conftest.$ac_objext
65115 if { (ac_try="$ac_compile"
65116 case "(($ac_try" in
65117   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
65118   *) ac_try_echo=$ac_try;;
65119 esac
65120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
65121   (eval "$ac_compile") 2>conftest.er1
65122   ac_status=$?
65123   grep -v '^ *+' conftest.er1 >conftest.err
65124   rm -f conftest.er1
65125   cat conftest.err >&5
65126   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65127   (exit $ac_status); } && {
65128          test -z "$ac_cxx_werror_flag" ||
65129          test ! -s conftest.err
65130        } && test -s conftest.$ac_objext; then
65131   glibcxx_cv_func__float_round_use=yes
65132 else
65133   echo "$as_me: failed program was:" >&5
65134 sed 's/^/| /' conftest.$ac_ext >&5
65135
65136         glibcxx_cv_func__float_round_use=no
65137 fi
65138
65139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65140       ac_ext=c
65141 ac_cpp='$CPP $CPPFLAGS'
65142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65145
65146 fi
65147
65148     { echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
65149 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6; }
65150     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
65151
65152
65153 for ac_func in _ceilf _floorf
65154 do
65155 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65156 { echo "$as_me:$LINENO: checking for $ac_func" >&5
65157 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
65158 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
65159   echo $ECHO_N "(cached) $ECHO_C" >&6
65160 else
65161   if test x$gcc_no_link = xyes; then
65162   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65163 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65164    { (exit 1); exit 1; }; }
65165 fi
65166 cat >conftest.$ac_ext <<_ACEOF
65167 /* confdefs.h.  */
65168 _ACEOF
65169 cat confdefs.h >>conftest.$ac_ext
65170 cat >>conftest.$ac_ext <<_ACEOF
65171 /* end confdefs.h.  */
65172 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65173    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65174 #define $ac_func innocuous_$ac_func
65175
65176 /* System header to define __stub macros and hopefully few prototypes,
65177     which can conflict with char $ac_func (); below.
65178     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65179     <limits.h> exists even on freestanding compilers.  */
65180
65181 #ifdef __STDC__
65182 # include <limits.h>
65183 #else
65184 # include <assert.h>
65185 #endif
65186
65187 #undef $ac_func
65188
65189 /* Override any GCC internal prototype to avoid an error.
65190    Use char because int might match the return type of a GCC
65191    builtin and then its argument prototype would still apply.  */
65192 #ifdef __cplusplus
65193 extern "C"
65194 #endif
65195 char $ac_func ();
65196 /* The GNU C library defines this for functions which it implements
65197     to always fail with ENOSYS.  Some functions are actually named
65198     something starting with __ and the normal name is an alias.  */
65199 #if defined __stub_$ac_func || defined __stub___$ac_func
65200 choke me
65201 #endif
65202
65203 int
65204 main ()
65205 {
65206 return $ac_func ();
65207   ;
65208   return 0;
65209 }
65210 _ACEOF
65211 rm -f conftest.$ac_objext conftest$ac_exeext
65212 if { (ac_try="$ac_link"
65213 case "(($ac_try" in
65214   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
65215   *) ac_try_echo=$ac_try;;
65216 esac
65217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
65218   (eval "$ac_link") 2>conftest.er1
65219   ac_status=$?
65220   grep -v '^ *+' conftest.er1 >conftest.err
65221   rm -f conftest.er1
65222   cat conftest.err >&5
65223   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65224   (exit $ac_status); } && {
65225          test -z "$ac_c_werror_flag" ||
65226          test ! -s conftest.err
65227        } && test -s conftest$ac_exeext &&
65228        $as_test_x conftest$ac_exeext; then
65229   eval "$as_ac_var=yes"
65230 else
65231   echo "$as_me: failed program was:" >&5
65232 sed 's/^/| /' conftest.$ac_ext >&5
65233
65234         eval "$as_ac_var=no"
65235 fi
65236
65237 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
65238       conftest$ac_exeext conftest.$ac_ext
65239 fi
65240 ac_res=`eval echo '${'$as_ac_var'}'`
65241                { echo "$as_me:$LINENO: result: $ac_res" >&5
65242 echo "${ECHO_T}$ac_res" >&6; }
65243 if test `eval echo '${'$as_ac_var'}'` = yes; then
65244   cat >>confdefs.h <<_ACEOF
65245 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65246 _ACEOF
65247
65248 fi
65249 done
65250
65251     fi
65252   fi
65253
65254
65255
65256
65257
65258
65259
65260
65261   { echo "$as_me:$LINENO: checking for expf declaration" >&5
65262 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6; }
65263   if test x${glibcxx_cv_func_expf_use+set} != xset; then
65264     if test "${glibcxx_cv_func_expf_use+set}" = set; then
65265   echo $ECHO_N "(cached) $ECHO_C" >&6
65266 else
65267
65268
65269       ac_ext=cpp
65270 ac_cpp='$CXXCPP $CPPFLAGS'
65271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65274
65275       cat >conftest.$ac_ext <<_ACEOF
65276 /* confdefs.h.  */
65277 _ACEOF
65278 cat confdefs.h >>conftest.$ac_ext
65279 cat >>conftest.$ac_ext <<_ACEOF
65280 /* end confdefs.h.  */
65281 #include <math.h>
65282                       #ifdef HAVE_IEEEFP_H
65283                       #include <ieeefp.h>
65284                       #endif
65285
65286 int
65287 main ()
65288 {
65289  expf(0);
65290   ;
65291   return 0;
65292 }
65293 _ACEOF
65294 rm -f conftest.$ac_objext
65295 if { (ac_try="$ac_compile"
65296 case "(($ac_try" in
65297   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
65298   *) ac_try_echo=$ac_try;;
65299 esac
65300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
65301   (eval "$ac_compile") 2>conftest.er1
65302   ac_status=$?
65303   grep -v '^ *+' conftest.er1 >conftest.err
65304   rm -f conftest.er1
65305   cat conftest.err >&5
65306   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65307   (exit $ac_status); } && {
65308          test -z "$ac_cxx_werror_flag" ||
65309          test ! -s conftest.err
65310        } && test -s conftest.$ac_objext; then
65311   glibcxx_cv_func_expf_use=yes
65312 else
65313   echo "$as_me: failed program was:" >&5
65314 sed 's/^/| /' conftest.$ac_ext >&5
65315
65316         glibcxx_cv_func_expf_use=no
65317 fi
65318
65319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65320       ac_ext=c
65321 ac_cpp='$CPP $CPPFLAGS'
65322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65325
65326
65327 fi
65328
65329   fi
65330   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
65331 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6; }
65332
65333   if test x$glibcxx_cv_func_expf_use = x"yes"; then
65334
65335 for ac_func in expf
65336 do
65337 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65338 { echo "$as_me:$LINENO: checking for $ac_func" >&5
65339 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
65340 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
65341   echo $ECHO_N "(cached) $ECHO_C" >&6
65342 else
65343   if test x$gcc_no_link = xyes; then
65344   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65345 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65346    { (exit 1); exit 1; }; }
65347 fi
65348 cat >conftest.$ac_ext <<_ACEOF
65349 /* confdefs.h.  */
65350 _ACEOF
65351 cat confdefs.h >>conftest.$ac_ext
65352 cat >>conftest.$ac_ext <<_ACEOF
65353 /* end confdefs.h.  */
65354 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65355    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65356 #define $ac_func innocuous_$ac_func
65357
65358 /* System header to define __stub macros and hopefully few prototypes,
65359     which can conflict with char $ac_func (); below.
65360     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65361     <limits.h> exists even on freestanding compilers.  */
65362
65363 #ifdef __STDC__
65364 # include <limits.h>
65365 #else
65366 # include <assert.h>
65367 #endif
65368
65369 #undef $ac_func
65370
65371 /* Override any GCC internal prototype to avoid an error.
65372    Use char because int might match the return type of a GCC
65373    builtin and then its argument prototype would still apply.  */
65374 #ifdef __cplusplus
65375 extern "C"
65376 #endif
65377 char $ac_func ();
65378 /* The GNU C library defines this for functions which it implements
65379     to always fail with ENOSYS.  Some functions are actually named
65380     something starting with __ and the normal name is an alias.  */
65381 #if defined __stub_$ac_func || defined __stub___$ac_func
65382 choke me
65383 #endif
65384
65385 int
65386 main ()
65387 {
65388 return $ac_func ();
65389   ;
65390   return 0;
65391 }
65392 _ACEOF
65393 rm -f conftest.$ac_objext conftest$ac_exeext
65394 if { (ac_try="$ac_link"
65395 case "(($ac_try" in
65396   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
65397   *) ac_try_echo=$ac_try;;
65398 esac
65399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
65400   (eval "$ac_link") 2>conftest.er1
65401   ac_status=$?
65402   grep -v '^ *+' conftest.er1 >conftest.err
65403   rm -f conftest.er1
65404   cat conftest.err >&5
65405   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65406   (exit $ac_status); } && {
65407          test -z "$ac_c_werror_flag" ||
65408          test ! -s conftest.err
65409        } && test -s conftest$ac_exeext &&
65410        $as_test_x conftest$ac_exeext; then
65411   eval "$as_ac_var=yes"
65412 else
65413   echo "$as_me: failed program was:" >&5
65414 sed 's/^/| /' conftest.$ac_ext >&5
65415
65416         eval "$as_ac_var=no"
65417 fi
65418
65419 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
65420       conftest$ac_exeext conftest.$ac_ext
65421 fi
65422 ac_res=`eval echo '${'$as_ac_var'}'`
65423                { echo "$as_me:$LINENO: result: $ac_res" >&5
65424 echo "${ECHO_T}$ac_res" >&6; }
65425 if test `eval echo '${'$as_ac_var'}'` = yes; then
65426   cat >>confdefs.h <<_ACEOF
65427 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65428 _ACEOF
65429
65430 fi
65431 done
65432
65433   else
65434
65435   { echo "$as_me:$LINENO: checking for _expf declaration" >&5
65436 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6; }
65437   if test x${glibcxx_cv_func__expf_use+set} != xset; then
65438     if test "${glibcxx_cv_func__expf_use+set}" = set; then
65439   echo $ECHO_N "(cached) $ECHO_C" >&6
65440 else
65441
65442
65443       ac_ext=cpp
65444 ac_cpp='$CXXCPP $CPPFLAGS'
65445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65448
65449       cat >conftest.$ac_ext <<_ACEOF
65450 /* confdefs.h.  */
65451 _ACEOF
65452 cat confdefs.h >>conftest.$ac_ext
65453 cat >>conftest.$ac_ext <<_ACEOF
65454 /* end confdefs.h.  */
65455 #include <math.h>
65456                       #ifdef HAVE_IEEEFP_H
65457                       #include <ieeefp.h>
65458                       #endif
65459
65460 int
65461 main ()
65462 {
65463  _expf(0);
65464   ;
65465   return 0;
65466 }
65467 _ACEOF
65468 rm -f conftest.$ac_objext
65469 if { (ac_try="$ac_compile"
65470 case "(($ac_try" in
65471   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
65472   *) ac_try_echo=$ac_try;;
65473 esac
65474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
65475   (eval "$ac_compile") 2>conftest.er1
65476   ac_status=$?
65477   grep -v '^ *+' conftest.er1 >conftest.err
65478   rm -f conftest.er1
65479   cat conftest.err >&5
65480   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65481   (exit $ac_status); } && {
65482          test -z "$ac_cxx_werror_flag" ||
65483          test ! -s conftest.err
65484        } && test -s conftest.$ac_objext; then
65485   glibcxx_cv_func__expf_use=yes
65486 else
65487   echo "$as_me: failed program was:" >&5
65488 sed 's/^/| /' conftest.$ac_ext >&5
65489
65490         glibcxx_cv_func__expf_use=no
65491 fi
65492
65493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65494       ac_ext=c
65495 ac_cpp='$CPP $CPPFLAGS'
65496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65499
65500
65501 fi
65502
65503   fi
65504   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
65505 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6; }
65506
65507     if test x$glibcxx_cv_func__expf_use = x"yes"; then
65508
65509 for ac_func in _expf
65510 do
65511 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65512 { echo "$as_me:$LINENO: checking for $ac_func" >&5
65513 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
65514 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
65515   echo $ECHO_N "(cached) $ECHO_C" >&6
65516 else
65517   if test x$gcc_no_link = xyes; then
65518   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65519 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65520    { (exit 1); exit 1; }; }
65521 fi
65522 cat >conftest.$ac_ext <<_ACEOF
65523 /* confdefs.h.  */
65524 _ACEOF
65525 cat confdefs.h >>conftest.$ac_ext
65526 cat >>conftest.$ac_ext <<_ACEOF
65527 /* end confdefs.h.  */
65528 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65529    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65530 #define $ac_func innocuous_$ac_func
65531
65532 /* System header to define __stub macros and hopefully few prototypes,
65533     which can conflict with char $ac_func (); below.
65534     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65535     <limits.h> exists even on freestanding compilers.  */
65536
65537 #ifdef __STDC__
65538 # include <limits.h>
65539 #else
65540 # include <assert.h>
65541 #endif
65542
65543 #undef $ac_func
65544
65545 /* Override any GCC internal prototype to avoid an error.
65546    Use char because int might match the return type of a GCC
65547    builtin and then its argument prototype would still apply.  */
65548 #ifdef __cplusplus
65549 extern "C"
65550 #endif
65551 char $ac_func ();
65552 /* The GNU C library defines this for functions which it implements
65553     to always fail with ENOSYS.  Some functions are actually named
65554     something starting with __ and the normal name is an alias.  */
65555 #if defined __stub_$ac_func || defined __stub___$ac_func
65556 choke me
65557 #endif
65558
65559 int
65560 main ()
65561 {
65562 return $ac_func ();
65563   ;
65564   return 0;
65565 }
65566 _ACEOF
65567 rm -f conftest.$ac_objext conftest$ac_exeext
65568 if { (ac_try="$ac_link"
65569 case "(($ac_try" in
65570   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
65571   *) ac_try_echo=$ac_try;;
65572 esac
65573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
65574   (eval "$ac_link") 2>conftest.er1
65575   ac_status=$?
65576   grep -v '^ *+' conftest.er1 >conftest.err
65577   rm -f conftest.er1
65578   cat conftest.err >&5
65579   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65580   (exit $ac_status); } && {
65581          test -z "$ac_c_werror_flag" ||
65582          test ! -s conftest.err
65583        } && test -s conftest$ac_exeext &&
65584        $as_test_x conftest$ac_exeext; then
65585   eval "$as_ac_var=yes"
65586 else
65587   echo "$as_me: failed program was:" >&5
65588 sed 's/^/| /' conftest.$ac_ext >&5
65589
65590         eval "$as_ac_var=no"
65591 fi
65592
65593 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
65594       conftest$ac_exeext conftest.$ac_ext
65595 fi
65596 ac_res=`eval echo '${'$as_ac_var'}'`
65597                { echo "$as_me:$LINENO: result: $ac_res" >&5
65598 echo "${ECHO_T}$ac_res" >&6; }
65599 if test `eval echo '${'$as_ac_var'}'` = yes; then
65600   cat >>confdefs.h <<_ACEOF
65601 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65602 _ACEOF
65603
65604 fi
65605 done
65606
65607     fi
65608   fi
65609
65610
65611
65612
65613
65614
65615   { echo "$as_me:$LINENO: checking for isnanf declaration" >&5
65616 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6; }
65617   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
65618     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
65619   echo $ECHO_N "(cached) $ECHO_C" >&6
65620 else
65621
65622
65623       ac_ext=cpp
65624 ac_cpp='$CXXCPP $CPPFLAGS'
65625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65628
65629       cat >conftest.$ac_ext <<_ACEOF
65630 /* confdefs.h.  */
65631 _ACEOF
65632 cat confdefs.h >>conftest.$ac_ext
65633 cat >>conftest.$ac_ext <<_ACEOF
65634 /* end confdefs.h.  */
65635 #include <math.h>
65636                       #ifdef HAVE_IEEEFP_H
65637                       #include <ieeefp.h>
65638                       #endif
65639
65640 int
65641 main ()
65642 {
65643  isnanf(0);
65644   ;
65645   return 0;
65646 }
65647 _ACEOF
65648 rm -f conftest.$ac_objext
65649 if { (ac_try="$ac_compile"
65650 case "(($ac_try" in
65651   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
65652   *) ac_try_echo=$ac_try;;
65653 esac
65654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
65655   (eval "$ac_compile") 2>conftest.er1
65656   ac_status=$?
65657   grep -v '^ *+' conftest.er1 >conftest.err
65658   rm -f conftest.er1
65659   cat conftest.err >&5
65660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65661   (exit $ac_status); } && {
65662          test -z "$ac_cxx_werror_flag" ||
65663          test ! -s conftest.err
65664        } && test -s conftest.$ac_objext; then
65665   glibcxx_cv_func_isnanf_use=yes
65666 else
65667   echo "$as_me: failed program was:" >&5
65668 sed 's/^/| /' conftest.$ac_ext >&5
65669
65670         glibcxx_cv_func_isnanf_use=no
65671 fi
65672
65673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65674       ac_ext=c
65675 ac_cpp='$CPP $CPPFLAGS'
65676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65679
65680
65681 fi
65682
65683   fi
65684   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
65685 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6; }
65686
65687   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
65688
65689 for ac_func in isnanf
65690 do
65691 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65692 { echo "$as_me:$LINENO: checking for $ac_func" >&5
65693 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
65694 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
65695   echo $ECHO_N "(cached) $ECHO_C" >&6
65696 else
65697   if test x$gcc_no_link = xyes; then
65698   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65699 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65700    { (exit 1); exit 1; }; }
65701 fi
65702 cat >conftest.$ac_ext <<_ACEOF
65703 /* confdefs.h.  */
65704 _ACEOF
65705 cat confdefs.h >>conftest.$ac_ext
65706 cat >>conftest.$ac_ext <<_ACEOF
65707 /* end confdefs.h.  */
65708 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65709    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65710 #define $ac_func innocuous_$ac_func
65711
65712 /* System header to define __stub macros and hopefully few prototypes,
65713     which can conflict with char $ac_func (); below.
65714     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65715     <limits.h> exists even on freestanding compilers.  */
65716
65717 #ifdef __STDC__
65718 # include <limits.h>
65719 #else
65720 # include <assert.h>
65721 #endif
65722
65723 #undef $ac_func
65724
65725 /* Override any GCC internal prototype to avoid an error.
65726    Use char because int might match the return type of a GCC
65727    builtin and then its argument prototype would still apply.  */
65728 #ifdef __cplusplus
65729 extern "C"
65730 #endif
65731 char $ac_func ();
65732 /* The GNU C library defines this for functions which it implements
65733     to always fail with ENOSYS.  Some functions are actually named
65734     something starting with __ and the normal name is an alias.  */
65735 #if defined __stub_$ac_func || defined __stub___$ac_func
65736 choke me
65737 #endif
65738
65739 int
65740 main ()
65741 {
65742 return $ac_func ();
65743   ;
65744   return 0;
65745 }
65746 _ACEOF
65747 rm -f conftest.$ac_objext conftest$ac_exeext
65748 if { (ac_try="$ac_link"
65749 case "(($ac_try" in
65750   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
65751   *) ac_try_echo=$ac_try;;
65752 esac
65753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
65754   (eval "$ac_link") 2>conftest.er1
65755   ac_status=$?
65756   grep -v '^ *+' conftest.er1 >conftest.err
65757   rm -f conftest.er1
65758   cat conftest.err >&5
65759   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65760   (exit $ac_status); } && {
65761          test -z "$ac_c_werror_flag" ||
65762          test ! -s conftest.err
65763        } && test -s conftest$ac_exeext &&
65764        $as_test_x conftest$ac_exeext; then
65765   eval "$as_ac_var=yes"
65766 else
65767   echo "$as_me: failed program was:" >&5
65768 sed 's/^/| /' conftest.$ac_ext >&5
65769
65770         eval "$as_ac_var=no"
65771 fi
65772
65773 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
65774       conftest$ac_exeext conftest.$ac_ext
65775 fi
65776 ac_res=`eval echo '${'$as_ac_var'}'`
65777                { echo "$as_me:$LINENO: result: $ac_res" >&5
65778 echo "${ECHO_T}$ac_res" >&6; }
65779 if test `eval echo '${'$as_ac_var'}'` = yes; then
65780   cat >>confdefs.h <<_ACEOF
65781 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65782 _ACEOF
65783
65784 fi
65785 done
65786
65787   else
65788
65789   { echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
65790 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6; }
65791   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
65792     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
65793   echo $ECHO_N "(cached) $ECHO_C" >&6
65794 else
65795
65796
65797       ac_ext=cpp
65798 ac_cpp='$CXXCPP $CPPFLAGS'
65799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65802
65803       cat >conftest.$ac_ext <<_ACEOF
65804 /* confdefs.h.  */
65805 _ACEOF
65806 cat confdefs.h >>conftest.$ac_ext
65807 cat >>conftest.$ac_ext <<_ACEOF
65808 /* end confdefs.h.  */
65809 #include <math.h>
65810                       #ifdef HAVE_IEEEFP_H
65811                       #include <ieeefp.h>
65812                       #endif
65813
65814 int
65815 main ()
65816 {
65817  _isnanf(0);
65818   ;
65819   return 0;
65820 }
65821 _ACEOF
65822 rm -f conftest.$ac_objext
65823 if { (ac_try="$ac_compile"
65824 case "(($ac_try" in
65825   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
65826   *) ac_try_echo=$ac_try;;
65827 esac
65828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
65829   (eval "$ac_compile") 2>conftest.er1
65830   ac_status=$?
65831   grep -v '^ *+' conftest.er1 >conftest.err
65832   rm -f conftest.er1
65833   cat conftest.err >&5
65834   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65835   (exit $ac_status); } && {
65836          test -z "$ac_cxx_werror_flag" ||
65837          test ! -s conftest.err
65838        } && test -s conftest.$ac_objext; then
65839   glibcxx_cv_func__isnanf_use=yes
65840 else
65841   echo "$as_me: failed program was:" >&5
65842 sed 's/^/| /' conftest.$ac_ext >&5
65843
65844         glibcxx_cv_func__isnanf_use=no
65845 fi
65846
65847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65848       ac_ext=c
65849 ac_cpp='$CPP $CPPFLAGS'
65850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65853
65854
65855 fi
65856
65857   fi
65858   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
65859 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6; }
65860
65861     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
65862
65863 for ac_func in _isnanf
65864 do
65865 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65866 { echo "$as_me:$LINENO: checking for $ac_func" >&5
65867 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
65868 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
65869   echo $ECHO_N "(cached) $ECHO_C" >&6
65870 else
65871   if test x$gcc_no_link = xyes; then
65872   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65873 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65874    { (exit 1); exit 1; }; }
65875 fi
65876 cat >conftest.$ac_ext <<_ACEOF
65877 /* confdefs.h.  */
65878 _ACEOF
65879 cat confdefs.h >>conftest.$ac_ext
65880 cat >>conftest.$ac_ext <<_ACEOF
65881 /* end confdefs.h.  */
65882 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65883    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65884 #define $ac_func innocuous_$ac_func
65885
65886 /* System header to define __stub macros and hopefully few prototypes,
65887     which can conflict with char $ac_func (); below.
65888     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65889     <limits.h> exists even on freestanding compilers.  */
65890
65891 #ifdef __STDC__
65892 # include <limits.h>
65893 #else
65894 # include <assert.h>
65895 #endif
65896
65897 #undef $ac_func
65898
65899 /* Override any GCC internal prototype to avoid an error.
65900    Use char because int might match the return type of a GCC
65901    builtin and then its argument prototype would still apply.  */
65902 #ifdef __cplusplus
65903 extern "C"
65904 #endif
65905 char $ac_func ();
65906 /* The GNU C library defines this for functions which it implements
65907     to always fail with ENOSYS.  Some functions are actually named
65908     something starting with __ and the normal name is an alias.  */
65909 #if defined __stub_$ac_func || defined __stub___$ac_func
65910 choke me
65911 #endif
65912
65913 int
65914 main ()
65915 {
65916 return $ac_func ();
65917   ;
65918   return 0;
65919 }
65920 _ACEOF
65921 rm -f conftest.$ac_objext conftest$ac_exeext
65922 if { (ac_try="$ac_link"
65923 case "(($ac_try" in
65924   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
65925   *) ac_try_echo=$ac_try;;
65926 esac
65927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
65928   (eval "$ac_link") 2>conftest.er1
65929   ac_status=$?
65930   grep -v '^ *+' conftest.er1 >conftest.err
65931   rm -f conftest.er1
65932   cat conftest.err >&5
65933   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65934   (exit $ac_status); } && {
65935          test -z "$ac_c_werror_flag" ||
65936          test ! -s conftest.err
65937        } && test -s conftest$ac_exeext &&
65938        $as_test_x conftest$ac_exeext; then
65939   eval "$as_ac_var=yes"
65940 else
65941   echo "$as_me: failed program was:" >&5
65942 sed 's/^/| /' conftest.$ac_ext >&5
65943
65944         eval "$as_ac_var=no"
65945 fi
65946
65947 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
65948       conftest$ac_exeext conftest.$ac_ext
65949 fi
65950 ac_res=`eval echo '${'$as_ac_var'}'`
65951                { echo "$as_me:$LINENO: result: $ac_res" >&5
65952 echo "${ECHO_T}$ac_res" >&6; }
65953 if test `eval echo '${'$as_ac_var'}'` = yes; then
65954   cat >>confdefs.h <<_ACEOF
65955 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65956 _ACEOF
65957
65958 fi
65959 done
65960
65961     fi
65962   fi
65963
65964
65965
65966
65967
65968
65969   { echo "$as_me:$LINENO: checking for isinff declaration" >&5
65970 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6; }
65971   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
65972     if test "${glibcxx_cv_func_isinff_use+set}" = set; then
65973   echo $ECHO_N "(cached) $ECHO_C" >&6
65974 else
65975
65976
65977       ac_ext=cpp
65978 ac_cpp='$CXXCPP $CPPFLAGS'
65979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65982
65983       cat >conftest.$ac_ext <<_ACEOF
65984 /* confdefs.h.  */
65985 _ACEOF
65986 cat confdefs.h >>conftest.$ac_ext
65987 cat >>conftest.$ac_ext <<_ACEOF
65988 /* end confdefs.h.  */
65989 #include <math.h>
65990                       #ifdef HAVE_IEEEFP_H
65991                       #include <ieeefp.h>
65992                       #endif
65993
65994 int
65995 main ()
65996 {
65997  isinff(0);
65998   ;
65999   return 0;
66000 }
66001 _ACEOF
66002 rm -f conftest.$ac_objext
66003 if { (ac_try="$ac_compile"
66004 case "(($ac_try" in
66005   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
66006   *) ac_try_echo=$ac_try;;
66007 esac
66008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
66009   (eval "$ac_compile") 2>conftest.er1
66010   ac_status=$?
66011   grep -v '^ *+' conftest.er1 >conftest.err
66012   rm -f conftest.er1
66013   cat conftest.err >&5
66014   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66015   (exit $ac_status); } && {
66016          test -z "$ac_cxx_werror_flag" ||
66017          test ! -s conftest.err
66018        } && test -s conftest.$ac_objext; then
66019   glibcxx_cv_func_isinff_use=yes
66020 else
66021   echo "$as_me: failed program was:" >&5
66022 sed 's/^/| /' conftest.$ac_ext >&5
66023
66024         glibcxx_cv_func_isinff_use=no
66025 fi
66026
66027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66028       ac_ext=c
66029 ac_cpp='$CPP $CPPFLAGS'
66030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66033
66034
66035 fi
66036
66037   fi
66038   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
66039 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6; }
66040
66041   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
66042
66043 for ac_func in isinff
66044 do
66045 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66046 { echo "$as_me:$LINENO: checking for $ac_func" >&5
66047 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
66048 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
66049   echo $ECHO_N "(cached) $ECHO_C" >&6
66050 else
66051   if test x$gcc_no_link = xyes; then
66052   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66053 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66054    { (exit 1); exit 1; }; }
66055 fi
66056 cat >conftest.$ac_ext <<_ACEOF
66057 /* confdefs.h.  */
66058 _ACEOF
66059 cat confdefs.h >>conftest.$ac_ext
66060 cat >>conftest.$ac_ext <<_ACEOF
66061 /* end confdefs.h.  */
66062 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66063    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66064 #define $ac_func innocuous_$ac_func
66065
66066 /* System header to define __stub macros and hopefully few prototypes,
66067     which can conflict with char $ac_func (); below.
66068     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66069     <limits.h> exists even on freestanding compilers.  */
66070
66071 #ifdef __STDC__
66072 # include <limits.h>
66073 #else
66074 # include <assert.h>
66075 #endif
66076
66077 #undef $ac_func
66078
66079 /* Override any GCC internal prototype to avoid an error.
66080    Use char because int might match the return type of a GCC
66081    builtin and then its argument prototype would still apply.  */
66082 #ifdef __cplusplus
66083 extern "C"
66084 #endif
66085 char $ac_func ();
66086 /* The GNU C library defines this for functions which it implements
66087     to always fail with ENOSYS.  Some functions are actually named
66088     something starting with __ and the normal name is an alias.  */
66089 #if defined __stub_$ac_func || defined __stub___$ac_func
66090 choke me
66091 #endif
66092
66093 int
66094 main ()
66095 {
66096 return $ac_func ();
66097   ;
66098   return 0;
66099 }
66100 _ACEOF
66101 rm -f conftest.$ac_objext conftest$ac_exeext
66102 if { (ac_try="$ac_link"
66103 case "(($ac_try" in
66104   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
66105   *) ac_try_echo=$ac_try;;
66106 esac
66107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
66108   (eval "$ac_link") 2>conftest.er1
66109   ac_status=$?
66110   grep -v '^ *+' conftest.er1 >conftest.err
66111   rm -f conftest.er1
66112   cat conftest.err >&5
66113   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66114   (exit $ac_status); } && {
66115          test -z "$ac_c_werror_flag" ||
66116          test ! -s conftest.err
66117        } && test -s conftest$ac_exeext &&
66118        $as_test_x conftest$ac_exeext; then
66119   eval "$as_ac_var=yes"
66120 else
66121   echo "$as_me: failed program was:" >&5
66122 sed 's/^/| /' conftest.$ac_ext >&5
66123
66124         eval "$as_ac_var=no"
66125 fi
66126
66127 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
66128       conftest$ac_exeext conftest.$ac_ext
66129 fi
66130 ac_res=`eval echo '${'$as_ac_var'}'`
66131                { echo "$as_me:$LINENO: result: $ac_res" >&5
66132 echo "${ECHO_T}$ac_res" >&6; }
66133 if test `eval echo '${'$as_ac_var'}'` = yes; then
66134   cat >>confdefs.h <<_ACEOF
66135 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66136 _ACEOF
66137
66138 fi
66139 done
66140
66141   else
66142
66143   { echo "$as_me:$LINENO: checking for _isinff declaration" >&5
66144 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6; }
66145   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
66146     if test "${glibcxx_cv_func__isinff_use+set}" = set; then
66147   echo $ECHO_N "(cached) $ECHO_C" >&6
66148 else
66149
66150
66151       ac_ext=cpp
66152 ac_cpp='$CXXCPP $CPPFLAGS'
66153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66156
66157       cat >conftest.$ac_ext <<_ACEOF
66158 /* confdefs.h.  */
66159 _ACEOF
66160 cat confdefs.h >>conftest.$ac_ext
66161 cat >>conftest.$ac_ext <<_ACEOF
66162 /* end confdefs.h.  */
66163 #include <math.h>
66164                       #ifdef HAVE_IEEEFP_H
66165                       #include <ieeefp.h>
66166                       #endif
66167
66168 int
66169 main ()
66170 {
66171  _isinff(0);
66172   ;
66173   return 0;
66174 }
66175 _ACEOF
66176 rm -f conftest.$ac_objext
66177 if { (ac_try="$ac_compile"
66178 case "(($ac_try" in
66179   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
66180   *) ac_try_echo=$ac_try;;
66181 esac
66182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
66183   (eval "$ac_compile") 2>conftest.er1
66184   ac_status=$?
66185   grep -v '^ *+' conftest.er1 >conftest.err
66186   rm -f conftest.er1
66187   cat conftest.err >&5
66188   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66189   (exit $ac_status); } && {
66190          test -z "$ac_cxx_werror_flag" ||
66191          test ! -s conftest.err
66192        } && test -s conftest.$ac_objext; then
66193   glibcxx_cv_func__isinff_use=yes
66194 else
66195   echo "$as_me: failed program was:" >&5
66196 sed 's/^/| /' conftest.$ac_ext >&5
66197
66198         glibcxx_cv_func__isinff_use=no
66199 fi
66200
66201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66202       ac_ext=c
66203 ac_cpp='$CPP $CPPFLAGS'
66204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66207
66208
66209 fi
66210
66211   fi
66212   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
66213 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6; }
66214
66215     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
66216
66217 for ac_func in _isinff
66218 do
66219 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66220 { echo "$as_me:$LINENO: checking for $ac_func" >&5
66221 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
66222 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
66223   echo $ECHO_N "(cached) $ECHO_C" >&6
66224 else
66225   if test x$gcc_no_link = xyes; then
66226   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66227 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66228    { (exit 1); exit 1; }; }
66229 fi
66230 cat >conftest.$ac_ext <<_ACEOF
66231 /* confdefs.h.  */
66232 _ACEOF
66233 cat confdefs.h >>conftest.$ac_ext
66234 cat >>conftest.$ac_ext <<_ACEOF
66235 /* end confdefs.h.  */
66236 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66237    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66238 #define $ac_func innocuous_$ac_func
66239
66240 /* System header to define __stub macros and hopefully few prototypes,
66241     which can conflict with char $ac_func (); below.
66242     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66243     <limits.h> exists even on freestanding compilers.  */
66244
66245 #ifdef __STDC__
66246 # include <limits.h>
66247 #else
66248 # include <assert.h>
66249 #endif
66250
66251 #undef $ac_func
66252
66253 /* Override any GCC internal prototype to avoid an error.
66254    Use char because int might match the return type of a GCC
66255    builtin and then its argument prototype would still apply.  */
66256 #ifdef __cplusplus
66257 extern "C"
66258 #endif
66259 char $ac_func ();
66260 /* The GNU C library defines this for functions which it implements
66261     to always fail with ENOSYS.  Some functions are actually named
66262     something starting with __ and the normal name is an alias.  */
66263 #if defined __stub_$ac_func || defined __stub___$ac_func
66264 choke me
66265 #endif
66266
66267 int
66268 main ()
66269 {
66270 return $ac_func ();
66271   ;
66272   return 0;
66273 }
66274 _ACEOF
66275 rm -f conftest.$ac_objext conftest$ac_exeext
66276 if { (ac_try="$ac_link"
66277 case "(($ac_try" in
66278   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
66279   *) ac_try_echo=$ac_try;;
66280 esac
66281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
66282   (eval "$ac_link") 2>conftest.er1
66283   ac_status=$?
66284   grep -v '^ *+' conftest.er1 >conftest.err
66285   rm -f conftest.er1
66286   cat conftest.err >&5
66287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66288   (exit $ac_status); } && {
66289          test -z "$ac_c_werror_flag" ||
66290          test ! -s conftest.err
66291        } && test -s conftest$ac_exeext &&
66292        $as_test_x conftest$ac_exeext; then
66293   eval "$as_ac_var=yes"
66294 else
66295   echo "$as_me: failed program was:" >&5
66296 sed 's/^/| /' conftest.$ac_ext >&5
66297
66298         eval "$as_ac_var=no"
66299 fi
66300
66301 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
66302       conftest$ac_exeext conftest.$ac_ext
66303 fi
66304 ac_res=`eval echo '${'$as_ac_var'}'`
66305                { echo "$as_me:$LINENO: result: $ac_res" >&5
66306 echo "${ECHO_T}$ac_res" >&6; }
66307 if test `eval echo '${'$as_ac_var'}'` = yes; then
66308   cat >>confdefs.h <<_ACEOF
66309 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66310 _ACEOF
66311
66312 fi
66313 done
66314
66315     fi
66316   fi
66317
66318
66319
66320
66321
66322
66323   { echo "$as_me:$LINENO: checking for atan2f declaration" >&5
66324 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6; }
66325   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
66326     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
66327   echo $ECHO_N "(cached) $ECHO_C" >&6
66328 else
66329
66330
66331       ac_ext=cpp
66332 ac_cpp='$CXXCPP $CPPFLAGS'
66333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66336
66337       cat >conftest.$ac_ext <<_ACEOF
66338 /* confdefs.h.  */
66339 _ACEOF
66340 cat confdefs.h >>conftest.$ac_ext
66341 cat >>conftest.$ac_ext <<_ACEOF
66342 /* end confdefs.h.  */
66343 #include <math.h>
66344 int
66345 main ()
66346 {
66347  atan2f(0, 0);
66348   ;
66349   return 0;
66350 }
66351 _ACEOF
66352 rm -f conftest.$ac_objext
66353 if { (ac_try="$ac_compile"
66354 case "(($ac_try" in
66355   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
66356   *) ac_try_echo=$ac_try;;
66357 esac
66358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
66359   (eval "$ac_compile") 2>conftest.er1
66360   ac_status=$?
66361   grep -v '^ *+' conftest.er1 >conftest.err
66362   rm -f conftest.er1
66363   cat conftest.err >&5
66364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66365   (exit $ac_status); } && {
66366          test -z "$ac_cxx_werror_flag" ||
66367          test ! -s conftest.err
66368        } && test -s conftest.$ac_objext; then
66369   glibcxx_cv_func_atan2f_use=yes
66370 else
66371   echo "$as_me: failed program was:" >&5
66372 sed 's/^/| /' conftest.$ac_ext >&5
66373
66374         glibcxx_cv_func_atan2f_use=no
66375 fi
66376
66377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66378       ac_ext=c
66379 ac_cpp='$CPP $CPPFLAGS'
66380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66383
66384
66385 fi
66386
66387   fi
66388   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
66389 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6; }
66390
66391   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
66392
66393 for ac_func in atan2f
66394 do
66395 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66396 { echo "$as_me:$LINENO: checking for $ac_func" >&5
66397 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
66398 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
66399   echo $ECHO_N "(cached) $ECHO_C" >&6
66400 else
66401   if test x$gcc_no_link = xyes; then
66402   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66403 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66404    { (exit 1); exit 1; }; }
66405 fi
66406 cat >conftest.$ac_ext <<_ACEOF
66407 /* confdefs.h.  */
66408 _ACEOF
66409 cat confdefs.h >>conftest.$ac_ext
66410 cat >>conftest.$ac_ext <<_ACEOF
66411 /* end confdefs.h.  */
66412 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66413    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66414 #define $ac_func innocuous_$ac_func
66415
66416 /* System header to define __stub macros and hopefully few prototypes,
66417     which can conflict with char $ac_func (); below.
66418     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66419     <limits.h> exists even on freestanding compilers.  */
66420
66421 #ifdef __STDC__
66422 # include <limits.h>
66423 #else
66424 # include <assert.h>
66425 #endif
66426
66427 #undef $ac_func
66428
66429 /* Override any GCC internal prototype to avoid an error.
66430    Use char because int might match the return type of a GCC
66431    builtin and then its argument prototype would still apply.  */
66432 #ifdef __cplusplus
66433 extern "C"
66434 #endif
66435 char $ac_func ();
66436 /* The GNU C library defines this for functions which it implements
66437     to always fail with ENOSYS.  Some functions are actually named
66438     something starting with __ and the normal name is an alias.  */
66439 #if defined __stub_$ac_func || defined __stub___$ac_func
66440 choke me
66441 #endif
66442
66443 int
66444 main ()
66445 {
66446 return $ac_func ();
66447   ;
66448   return 0;
66449 }
66450 _ACEOF
66451 rm -f conftest.$ac_objext conftest$ac_exeext
66452 if { (ac_try="$ac_link"
66453 case "(($ac_try" in
66454   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
66455   *) ac_try_echo=$ac_try;;
66456 esac
66457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
66458   (eval "$ac_link") 2>conftest.er1
66459   ac_status=$?
66460   grep -v '^ *+' conftest.er1 >conftest.err
66461   rm -f conftest.er1
66462   cat conftest.err >&5
66463   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66464   (exit $ac_status); } && {
66465          test -z "$ac_c_werror_flag" ||
66466          test ! -s conftest.err
66467        } && test -s conftest$ac_exeext &&
66468        $as_test_x conftest$ac_exeext; then
66469   eval "$as_ac_var=yes"
66470 else
66471   echo "$as_me: failed program was:" >&5
66472 sed 's/^/| /' conftest.$ac_ext >&5
66473
66474         eval "$as_ac_var=no"
66475 fi
66476
66477 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
66478       conftest$ac_exeext conftest.$ac_ext
66479 fi
66480 ac_res=`eval echo '${'$as_ac_var'}'`
66481                { echo "$as_me:$LINENO: result: $ac_res" >&5
66482 echo "${ECHO_T}$ac_res" >&6; }
66483 if test `eval echo '${'$as_ac_var'}'` = yes; then
66484   cat >>confdefs.h <<_ACEOF
66485 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66486 _ACEOF
66487
66488 fi
66489 done
66490
66491   else
66492
66493   { echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
66494 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6; }
66495   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
66496     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
66497   echo $ECHO_N "(cached) $ECHO_C" >&6
66498 else
66499
66500
66501       ac_ext=cpp
66502 ac_cpp='$CXXCPP $CPPFLAGS'
66503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66506
66507       cat >conftest.$ac_ext <<_ACEOF
66508 /* confdefs.h.  */
66509 _ACEOF
66510 cat confdefs.h >>conftest.$ac_ext
66511 cat >>conftest.$ac_ext <<_ACEOF
66512 /* end confdefs.h.  */
66513 #include <math.h>
66514 int
66515 main ()
66516 {
66517  _atan2f(0, 0);
66518   ;
66519   return 0;
66520 }
66521 _ACEOF
66522 rm -f conftest.$ac_objext
66523 if { (ac_try="$ac_compile"
66524 case "(($ac_try" in
66525   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
66526   *) ac_try_echo=$ac_try;;
66527 esac
66528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
66529   (eval "$ac_compile") 2>conftest.er1
66530   ac_status=$?
66531   grep -v '^ *+' conftest.er1 >conftest.err
66532   rm -f conftest.er1
66533   cat conftest.err >&5
66534   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66535   (exit $ac_status); } && {
66536          test -z "$ac_cxx_werror_flag" ||
66537          test ! -s conftest.err
66538        } && test -s conftest.$ac_objext; then
66539   glibcxx_cv_func__atan2f_use=yes
66540 else
66541   echo "$as_me: failed program was:" >&5
66542 sed 's/^/| /' conftest.$ac_ext >&5
66543
66544         glibcxx_cv_func__atan2f_use=no
66545 fi
66546
66547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66548       ac_ext=c
66549 ac_cpp='$CPP $CPPFLAGS'
66550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66553
66554
66555 fi
66556
66557   fi
66558   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
66559 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6; }
66560
66561     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
66562
66563 for ac_func in _atan2f
66564 do
66565 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66566 { echo "$as_me:$LINENO: checking for $ac_func" >&5
66567 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
66568 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
66569   echo $ECHO_N "(cached) $ECHO_C" >&6
66570 else
66571   if test x$gcc_no_link = xyes; then
66572   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66573 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66574    { (exit 1); exit 1; }; }
66575 fi
66576 cat >conftest.$ac_ext <<_ACEOF
66577 /* confdefs.h.  */
66578 _ACEOF
66579 cat confdefs.h >>conftest.$ac_ext
66580 cat >>conftest.$ac_ext <<_ACEOF
66581 /* end confdefs.h.  */
66582 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66583    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66584 #define $ac_func innocuous_$ac_func
66585
66586 /* System header to define __stub macros and hopefully few prototypes,
66587     which can conflict with char $ac_func (); below.
66588     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66589     <limits.h> exists even on freestanding compilers.  */
66590
66591 #ifdef __STDC__
66592 # include <limits.h>
66593 #else
66594 # include <assert.h>
66595 #endif
66596
66597 #undef $ac_func
66598
66599 /* Override any GCC internal prototype to avoid an error.
66600    Use char because int might match the return type of a GCC
66601    builtin and then its argument prototype would still apply.  */
66602 #ifdef __cplusplus
66603 extern "C"
66604 #endif
66605 char $ac_func ();
66606 /* The GNU C library defines this for functions which it implements
66607     to always fail with ENOSYS.  Some functions are actually named
66608     something starting with __ and the normal name is an alias.  */
66609 #if defined __stub_$ac_func || defined __stub___$ac_func
66610 choke me
66611 #endif
66612
66613 int
66614 main ()
66615 {
66616 return $ac_func ();
66617   ;
66618   return 0;
66619 }
66620 _ACEOF
66621 rm -f conftest.$ac_objext conftest$ac_exeext
66622 if { (ac_try="$ac_link"
66623 case "(($ac_try" in
66624   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
66625   *) ac_try_echo=$ac_try;;
66626 esac
66627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
66628   (eval "$ac_link") 2>conftest.er1
66629   ac_status=$?
66630   grep -v '^ *+' conftest.er1 >conftest.err
66631   rm -f conftest.er1
66632   cat conftest.err >&5
66633   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66634   (exit $ac_status); } && {
66635          test -z "$ac_c_werror_flag" ||
66636          test ! -s conftest.err
66637        } && test -s conftest$ac_exeext &&
66638        $as_test_x conftest$ac_exeext; then
66639   eval "$as_ac_var=yes"
66640 else
66641   echo "$as_me: failed program was:" >&5
66642 sed 's/^/| /' conftest.$ac_ext >&5
66643
66644         eval "$as_ac_var=no"
66645 fi
66646
66647 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
66648       conftest$ac_exeext conftest.$ac_ext
66649 fi
66650 ac_res=`eval echo '${'$as_ac_var'}'`
66651                { echo "$as_me:$LINENO: result: $ac_res" >&5
66652 echo "${ECHO_T}$ac_res" >&6; }
66653 if test `eval echo '${'$as_ac_var'}'` = yes; then
66654   cat >>confdefs.h <<_ACEOF
66655 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66656 _ACEOF
66657
66658 fi
66659 done
66660
66661     fi
66662   fi
66663
66664
66665
66666
66667
66668
66669   { echo "$as_me:$LINENO: checking for fabsf declaration" >&5
66670 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6; }
66671   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
66672     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
66673   echo $ECHO_N "(cached) $ECHO_C" >&6
66674 else
66675
66676
66677       ac_ext=cpp
66678 ac_cpp='$CXXCPP $CPPFLAGS'
66679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66682
66683       cat >conftest.$ac_ext <<_ACEOF
66684 /* confdefs.h.  */
66685 _ACEOF
66686 cat confdefs.h >>conftest.$ac_ext
66687 cat >>conftest.$ac_ext <<_ACEOF
66688 /* end confdefs.h.  */
66689 #include <math.h>
66690                       #ifdef HAVE_IEEEFP_H
66691                       #include <ieeefp.h>
66692                       #endif
66693
66694 int
66695 main ()
66696 {
66697  fabsf(0);
66698   ;
66699   return 0;
66700 }
66701 _ACEOF
66702 rm -f conftest.$ac_objext
66703 if { (ac_try="$ac_compile"
66704 case "(($ac_try" in
66705   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
66706   *) ac_try_echo=$ac_try;;
66707 esac
66708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
66709   (eval "$ac_compile") 2>conftest.er1
66710   ac_status=$?
66711   grep -v '^ *+' conftest.er1 >conftest.err
66712   rm -f conftest.er1
66713   cat conftest.err >&5
66714   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66715   (exit $ac_status); } && {
66716          test -z "$ac_cxx_werror_flag" ||
66717          test ! -s conftest.err
66718        } && test -s conftest.$ac_objext; then
66719   glibcxx_cv_func_fabsf_use=yes
66720 else
66721   echo "$as_me: failed program was:" >&5
66722 sed 's/^/| /' conftest.$ac_ext >&5
66723
66724         glibcxx_cv_func_fabsf_use=no
66725 fi
66726
66727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66728       ac_ext=c
66729 ac_cpp='$CPP $CPPFLAGS'
66730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66733
66734
66735 fi
66736
66737   fi
66738   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
66739 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6; }
66740
66741   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
66742
66743 for ac_func in fabsf
66744 do
66745 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66746 { echo "$as_me:$LINENO: checking for $ac_func" >&5
66747 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
66748 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
66749   echo $ECHO_N "(cached) $ECHO_C" >&6
66750 else
66751   if test x$gcc_no_link = xyes; then
66752   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66753 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66754    { (exit 1); exit 1; }; }
66755 fi
66756 cat >conftest.$ac_ext <<_ACEOF
66757 /* confdefs.h.  */
66758 _ACEOF
66759 cat confdefs.h >>conftest.$ac_ext
66760 cat >>conftest.$ac_ext <<_ACEOF
66761 /* end confdefs.h.  */
66762 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66763    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66764 #define $ac_func innocuous_$ac_func
66765
66766 /* System header to define __stub macros and hopefully few prototypes,
66767     which can conflict with char $ac_func (); below.
66768     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66769     <limits.h> exists even on freestanding compilers.  */
66770
66771 #ifdef __STDC__
66772 # include <limits.h>
66773 #else
66774 # include <assert.h>
66775 #endif
66776
66777 #undef $ac_func
66778
66779 /* Override any GCC internal prototype to avoid an error.
66780    Use char because int might match the return type of a GCC
66781    builtin and then its argument prototype would still apply.  */
66782 #ifdef __cplusplus
66783 extern "C"
66784 #endif
66785 char $ac_func ();
66786 /* The GNU C library defines this for functions which it implements
66787     to always fail with ENOSYS.  Some functions are actually named
66788     something starting with __ and the normal name is an alias.  */
66789 #if defined __stub_$ac_func || defined __stub___$ac_func
66790 choke me
66791 #endif
66792
66793 int
66794 main ()
66795 {
66796 return $ac_func ();
66797   ;
66798   return 0;
66799 }
66800 _ACEOF
66801 rm -f conftest.$ac_objext conftest$ac_exeext
66802 if { (ac_try="$ac_link"
66803 case "(($ac_try" in
66804   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
66805   *) ac_try_echo=$ac_try;;
66806 esac
66807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
66808   (eval "$ac_link") 2>conftest.er1
66809   ac_status=$?
66810   grep -v '^ *+' conftest.er1 >conftest.err
66811   rm -f conftest.er1
66812   cat conftest.err >&5
66813   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66814   (exit $ac_status); } && {
66815          test -z "$ac_c_werror_flag" ||
66816          test ! -s conftest.err
66817        } && test -s conftest$ac_exeext &&
66818        $as_test_x conftest$ac_exeext; then
66819   eval "$as_ac_var=yes"
66820 else
66821   echo "$as_me: failed program was:" >&5
66822 sed 's/^/| /' conftest.$ac_ext >&5
66823
66824         eval "$as_ac_var=no"
66825 fi
66826
66827 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
66828       conftest$ac_exeext conftest.$ac_ext
66829 fi
66830 ac_res=`eval echo '${'$as_ac_var'}'`
66831                { echo "$as_me:$LINENO: result: $ac_res" >&5
66832 echo "${ECHO_T}$ac_res" >&6; }
66833 if test `eval echo '${'$as_ac_var'}'` = yes; then
66834   cat >>confdefs.h <<_ACEOF
66835 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66836 _ACEOF
66837
66838 fi
66839 done
66840
66841   else
66842
66843   { echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
66844 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6; }
66845   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
66846     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
66847   echo $ECHO_N "(cached) $ECHO_C" >&6
66848 else
66849
66850
66851       ac_ext=cpp
66852 ac_cpp='$CXXCPP $CPPFLAGS'
66853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66856
66857       cat >conftest.$ac_ext <<_ACEOF
66858 /* confdefs.h.  */
66859 _ACEOF
66860 cat confdefs.h >>conftest.$ac_ext
66861 cat >>conftest.$ac_ext <<_ACEOF
66862 /* end confdefs.h.  */
66863 #include <math.h>
66864                       #ifdef HAVE_IEEEFP_H
66865                       #include <ieeefp.h>
66866                       #endif
66867
66868 int
66869 main ()
66870 {
66871  _fabsf(0);
66872   ;
66873   return 0;
66874 }
66875 _ACEOF
66876 rm -f conftest.$ac_objext
66877 if { (ac_try="$ac_compile"
66878 case "(($ac_try" in
66879   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
66880   *) ac_try_echo=$ac_try;;
66881 esac
66882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
66883   (eval "$ac_compile") 2>conftest.er1
66884   ac_status=$?
66885   grep -v '^ *+' conftest.er1 >conftest.err
66886   rm -f conftest.er1
66887   cat conftest.err >&5
66888   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66889   (exit $ac_status); } && {
66890          test -z "$ac_cxx_werror_flag" ||
66891          test ! -s conftest.err
66892        } && test -s conftest.$ac_objext; then
66893   glibcxx_cv_func__fabsf_use=yes
66894 else
66895   echo "$as_me: failed program was:" >&5
66896 sed 's/^/| /' conftest.$ac_ext >&5
66897
66898         glibcxx_cv_func__fabsf_use=no
66899 fi
66900
66901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66902       ac_ext=c
66903 ac_cpp='$CPP $CPPFLAGS'
66904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66907
66908
66909 fi
66910
66911   fi
66912   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
66913 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6; }
66914
66915     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
66916
66917 for ac_func in _fabsf
66918 do
66919 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66920 { echo "$as_me:$LINENO: checking for $ac_func" >&5
66921 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
66922 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
66923   echo $ECHO_N "(cached) $ECHO_C" >&6
66924 else
66925   if test x$gcc_no_link = xyes; then
66926   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66927 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66928    { (exit 1); exit 1; }; }
66929 fi
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66937    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66938 #define $ac_func innocuous_$ac_func
66939
66940 /* System header to define __stub macros and hopefully few prototypes,
66941     which can conflict with char $ac_func (); below.
66942     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66943     <limits.h> exists even on freestanding compilers.  */
66944
66945 #ifdef __STDC__
66946 # include <limits.h>
66947 #else
66948 # include <assert.h>
66949 #endif
66950
66951 #undef $ac_func
66952
66953 /* Override any GCC internal prototype to avoid an error.
66954    Use char because int might match the return type of a GCC
66955    builtin and then its argument prototype would still apply.  */
66956 #ifdef __cplusplus
66957 extern "C"
66958 #endif
66959 char $ac_func ();
66960 /* The GNU C library defines this for functions which it implements
66961     to always fail with ENOSYS.  Some functions are actually named
66962     something starting with __ and the normal name is an alias.  */
66963 #if defined __stub_$ac_func || defined __stub___$ac_func
66964 choke me
66965 #endif
66966
66967 int
66968 main ()
66969 {
66970 return $ac_func ();
66971   ;
66972   return 0;
66973 }
66974 _ACEOF
66975 rm -f conftest.$ac_objext conftest$ac_exeext
66976 if { (ac_try="$ac_link"
66977 case "(($ac_try" in
66978   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
66979   *) ac_try_echo=$ac_try;;
66980 esac
66981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
66982   (eval "$ac_link") 2>conftest.er1
66983   ac_status=$?
66984   grep -v '^ *+' conftest.er1 >conftest.err
66985   rm -f conftest.er1
66986   cat conftest.err >&5
66987   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66988   (exit $ac_status); } && {
66989          test -z "$ac_c_werror_flag" ||
66990          test ! -s conftest.err
66991        } && test -s conftest$ac_exeext &&
66992        $as_test_x conftest$ac_exeext; then
66993   eval "$as_ac_var=yes"
66994 else
66995   echo "$as_me: failed program was:" >&5
66996 sed 's/^/| /' conftest.$ac_ext >&5
66997
66998         eval "$as_ac_var=no"
66999 fi
67000
67001 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
67002       conftest$ac_exeext conftest.$ac_ext
67003 fi
67004 ac_res=`eval echo '${'$as_ac_var'}'`
67005                { echo "$as_me:$LINENO: result: $ac_res" >&5
67006 echo "${ECHO_T}$ac_res" >&6; }
67007 if test `eval echo '${'$as_ac_var'}'` = yes; then
67008   cat >>confdefs.h <<_ACEOF
67009 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67010 _ACEOF
67011
67012 fi
67013 done
67014
67015     fi
67016   fi
67017
67018
67019
67020
67021
67022
67023   { echo "$as_me:$LINENO: checking for fmodf declaration" >&5
67024 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6; }
67025   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
67026     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
67027   echo $ECHO_N "(cached) $ECHO_C" >&6
67028 else
67029
67030
67031       ac_ext=cpp
67032 ac_cpp='$CXXCPP $CPPFLAGS'
67033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67036
67037       cat >conftest.$ac_ext <<_ACEOF
67038 /* confdefs.h.  */
67039 _ACEOF
67040 cat confdefs.h >>conftest.$ac_ext
67041 cat >>conftest.$ac_ext <<_ACEOF
67042 /* end confdefs.h.  */
67043 #include <math.h>
67044 int
67045 main ()
67046 {
67047  fmodf(0, 0);
67048   ;
67049   return 0;
67050 }
67051 _ACEOF
67052 rm -f conftest.$ac_objext
67053 if { (ac_try="$ac_compile"
67054 case "(($ac_try" in
67055   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
67056   *) ac_try_echo=$ac_try;;
67057 esac
67058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
67059   (eval "$ac_compile") 2>conftest.er1
67060   ac_status=$?
67061   grep -v '^ *+' conftest.er1 >conftest.err
67062   rm -f conftest.er1
67063   cat conftest.err >&5
67064   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67065   (exit $ac_status); } && {
67066          test -z "$ac_cxx_werror_flag" ||
67067          test ! -s conftest.err
67068        } && test -s conftest.$ac_objext; then
67069   glibcxx_cv_func_fmodf_use=yes
67070 else
67071   echo "$as_me: failed program was:" >&5
67072 sed 's/^/| /' conftest.$ac_ext >&5
67073
67074         glibcxx_cv_func_fmodf_use=no
67075 fi
67076
67077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67078       ac_ext=c
67079 ac_cpp='$CPP $CPPFLAGS'
67080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67083
67084
67085 fi
67086
67087   fi
67088   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
67089 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6; }
67090
67091   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
67092
67093 for ac_func in fmodf
67094 do
67095 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67096 { echo "$as_me:$LINENO: checking for $ac_func" >&5
67097 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
67098 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
67099   echo $ECHO_N "(cached) $ECHO_C" >&6
67100 else
67101   if test x$gcc_no_link = xyes; then
67102   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67103 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67104    { (exit 1); exit 1; }; }
67105 fi
67106 cat >conftest.$ac_ext <<_ACEOF
67107 /* confdefs.h.  */
67108 _ACEOF
67109 cat confdefs.h >>conftest.$ac_ext
67110 cat >>conftest.$ac_ext <<_ACEOF
67111 /* end confdefs.h.  */
67112 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67113    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67114 #define $ac_func innocuous_$ac_func
67115
67116 /* System header to define __stub macros and hopefully few prototypes,
67117     which can conflict with char $ac_func (); below.
67118     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67119     <limits.h> exists even on freestanding compilers.  */
67120
67121 #ifdef __STDC__
67122 # include <limits.h>
67123 #else
67124 # include <assert.h>
67125 #endif
67126
67127 #undef $ac_func
67128
67129 /* Override any GCC internal prototype to avoid an error.
67130    Use char because int might match the return type of a GCC
67131    builtin and then its argument prototype would still apply.  */
67132 #ifdef __cplusplus
67133 extern "C"
67134 #endif
67135 char $ac_func ();
67136 /* The GNU C library defines this for functions which it implements
67137     to always fail with ENOSYS.  Some functions are actually named
67138     something starting with __ and the normal name is an alias.  */
67139 #if defined __stub_$ac_func || defined __stub___$ac_func
67140 choke me
67141 #endif
67142
67143 int
67144 main ()
67145 {
67146 return $ac_func ();
67147   ;
67148   return 0;
67149 }
67150 _ACEOF
67151 rm -f conftest.$ac_objext conftest$ac_exeext
67152 if { (ac_try="$ac_link"
67153 case "(($ac_try" in
67154   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
67155   *) ac_try_echo=$ac_try;;
67156 esac
67157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
67158   (eval "$ac_link") 2>conftest.er1
67159   ac_status=$?
67160   grep -v '^ *+' conftest.er1 >conftest.err
67161   rm -f conftest.er1
67162   cat conftest.err >&5
67163   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67164   (exit $ac_status); } && {
67165          test -z "$ac_c_werror_flag" ||
67166          test ! -s conftest.err
67167        } && test -s conftest$ac_exeext &&
67168        $as_test_x conftest$ac_exeext; then
67169   eval "$as_ac_var=yes"
67170 else
67171   echo "$as_me: failed program was:" >&5
67172 sed 's/^/| /' conftest.$ac_ext >&5
67173
67174         eval "$as_ac_var=no"
67175 fi
67176
67177 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
67178       conftest$ac_exeext conftest.$ac_ext
67179 fi
67180 ac_res=`eval echo '${'$as_ac_var'}'`
67181                { echo "$as_me:$LINENO: result: $ac_res" >&5
67182 echo "${ECHO_T}$ac_res" >&6; }
67183 if test `eval echo '${'$as_ac_var'}'` = yes; then
67184   cat >>confdefs.h <<_ACEOF
67185 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67186 _ACEOF
67187
67188 fi
67189 done
67190
67191   else
67192
67193   { echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
67194 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6; }
67195   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
67196     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
67197   echo $ECHO_N "(cached) $ECHO_C" >&6
67198 else
67199
67200
67201       ac_ext=cpp
67202 ac_cpp='$CXXCPP $CPPFLAGS'
67203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67206
67207       cat >conftest.$ac_ext <<_ACEOF
67208 /* confdefs.h.  */
67209 _ACEOF
67210 cat confdefs.h >>conftest.$ac_ext
67211 cat >>conftest.$ac_ext <<_ACEOF
67212 /* end confdefs.h.  */
67213 #include <math.h>
67214 int
67215 main ()
67216 {
67217  _fmodf(0, 0);
67218   ;
67219   return 0;
67220 }
67221 _ACEOF
67222 rm -f conftest.$ac_objext
67223 if { (ac_try="$ac_compile"
67224 case "(($ac_try" in
67225   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
67226   *) ac_try_echo=$ac_try;;
67227 esac
67228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
67229   (eval "$ac_compile") 2>conftest.er1
67230   ac_status=$?
67231   grep -v '^ *+' conftest.er1 >conftest.err
67232   rm -f conftest.er1
67233   cat conftest.err >&5
67234   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67235   (exit $ac_status); } && {
67236          test -z "$ac_cxx_werror_flag" ||
67237          test ! -s conftest.err
67238        } && test -s conftest.$ac_objext; then
67239   glibcxx_cv_func__fmodf_use=yes
67240 else
67241   echo "$as_me: failed program was:" >&5
67242 sed 's/^/| /' conftest.$ac_ext >&5
67243
67244         glibcxx_cv_func__fmodf_use=no
67245 fi
67246
67247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67248       ac_ext=c
67249 ac_cpp='$CPP $CPPFLAGS'
67250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67253
67254
67255 fi
67256
67257   fi
67258   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
67259 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6; }
67260
67261     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
67262
67263 for ac_func in _fmodf
67264 do
67265 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67266 { echo "$as_me:$LINENO: checking for $ac_func" >&5
67267 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
67268 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
67269   echo $ECHO_N "(cached) $ECHO_C" >&6
67270 else
67271   if test x$gcc_no_link = xyes; then
67272   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67273 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67274    { (exit 1); exit 1; }; }
67275 fi
67276 cat >conftest.$ac_ext <<_ACEOF
67277 /* confdefs.h.  */
67278 _ACEOF
67279 cat confdefs.h >>conftest.$ac_ext
67280 cat >>conftest.$ac_ext <<_ACEOF
67281 /* end confdefs.h.  */
67282 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67283    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67284 #define $ac_func innocuous_$ac_func
67285
67286 /* System header to define __stub macros and hopefully few prototypes,
67287     which can conflict with char $ac_func (); below.
67288     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67289     <limits.h> exists even on freestanding compilers.  */
67290
67291 #ifdef __STDC__
67292 # include <limits.h>
67293 #else
67294 # include <assert.h>
67295 #endif
67296
67297 #undef $ac_func
67298
67299 /* Override any GCC internal prototype to avoid an error.
67300    Use char because int might match the return type of a GCC
67301    builtin and then its argument prototype would still apply.  */
67302 #ifdef __cplusplus
67303 extern "C"
67304 #endif
67305 char $ac_func ();
67306 /* The GNU C library defines this for functions which it implements
67307     to always fail with ENOSYS.  Some functions are actually named
67308     something starting with __ and the normal name is an alias.  */
67309 #if defined __stub_$ac_func || defined __stub___$ac_func
67310 choke me
67311 #endif
67312
67313 int
67314 main ()
67315 {
67316 return $ac_func ();
67317   ;
67318   return 0;
67319 }
67320 _ACEOF
67321 rm -f conftest.$ac_objext conftest$ac_exeext
67322 if { (ac_try="$ac_link"
67323 case "(($ac_try" in
67324   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
67325   *) ac_try_echo=$ac_try;;
67326 esac
67327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
67328   (eval "$ac_link") 2>conftest.er1
67329   ac_status=$?
67330   grep -v '^ *+' conftest.er1 >conftest.err
67331   rm -f conftest.er1
67332   cat conftest.err >&5
67333   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67334   (exit $ac_status); } && {
67335          test -z "$ac_c_werror_flag" ||
67336          test ! -s conftest.err
67337        } && test -s conftest$ac_exeext &&
67338        $as_test_x conftest$ac_exeext; then
67339   eval "$as_ac_var=yes"
67340 else
67341   echo "$as_me: failed program was:" >&5
67342 sed 's/^/| /' conftest.$ac_ext >&5
67343
67344         eval "$as_ac_var=no"
67345 fi
67346
67347 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
67348       conftest$ac_exeext conftest.$ac_ext
67349 fi
67350 ac_res=`eval echo '${'$as_ac_var'}'`
67351                { echo "$as_me:$LINENO: result: $ac_res" >&5
67352 echo "${ECHO_T}$ac_res" >&6; }
67353 if test `eval echo '${'$as_ac_var'}'` = yes; then
67354   cat >>confdefs.h <<_ACEOF
67355 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67356 _ACEOF
67357
67358 fi
67359 done
67360
67361     fi
67362   fi
67363
67364
67365
67366
67367
67368
67369   { echo "$as_me:$LINENO: checking for frexpf declaration" >&5
67370 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6; }
67371   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
67372     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
67373   echo $ECHO_N "(cached) $ECHO_C" >&6
67374 else
67375
67376
67377       ac_ext=cpp
67378 ac_cpp='$CXXCPP $CPPFLAGS'
67379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67382
67383       cat >conftest.$ac_ext <<_ACEOF
67384 /* confdefs.h.  */
67385 _ACEOF
67386 cat confdefs.h >>conftest.$ac_ext
67387 cat >>conftest.$ac_ext <<_ACEOF
67388 /* end confdefs.h.  */
67389 #include <math.h>
67390 int
67391 main ()
67392 {
67393  frexpf(0, 0);
67394   ;
67395   return 0;
67396 }
67397 _ACEOF
67398 rm -f conftest.$ac_objext
67399 if { (ac_try="$ac_compile"
67400 case "(($ac_try" in
67401   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
67402   *) ac_try_echo=$ac_try;;
67403 esac
67404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
67405   (eval "$ac_compile") 2>conftest.er1
67406   ac_status=$?
67407   grep -v '^ *+' conftest.er1 >conftest.err
67408   rm -f conftest.er1
67409   cat conftest.err >&5
67410   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67411   (exit $ac_status); } && {
67412          test -z "$ac_cxx_werror_flag" ||
67413          test ! -s conftest.err
67414        } && test -s conftest.$ac_objext; then
67415   glibcxx_cv_func_frexpf_use=yes
67416 else
67417   echo "$as_me: failed program was:" >&5
67418 sed 's/^/| /' conftest.$ac_ext >&5
67419
67420         glibcxx_cv_func_frexpf_use=no
67421 fi
67422
67423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67424       ac_ext=c
67425 ac_cpp='$CPP $CPPFLAGS'
67426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67429
67430
67431 fi
67432
67433   fi
67434   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
67435 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6; }
67436
67437   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
67438
67439 for ac_func in frexpf
67440 do
67441 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67442 { echo "$as_me:$LINENO: checking for $ac_func" >&5
67443 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
67444 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
67445   echo $ECHO_N "(cached) $ECHO_C" >&6
67446 else
67447   if test x$gcc_no_link = xyes; then
67448   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67449 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67450    { (exit 1); exit 1; }; }
67451 fi
67452 cat >conftest.$ac_ext <<_ACEOF
67453 /* confdefs.h.  */
67454 _ACEOF
67455 cat confdefs.h >>conftest.$ac_ext
67456 cat >>conftest.$ac_ext <<_ACEOF
67457 /* end confdefs.h.  */
67458 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67459    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67460 #define $ac_func innocuous_$ac_func
67461
67462 /* System header to define __stub macros and hopefully few prototypes,
67463     which can conflict with char $ac_func (); below.
67464     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67465     <limits.h> exists even on freestanding compilers.  */
67466
67467 #ifdef __STDC__
67468 # include <limits.h>
67469 #else
67470 # include <assert.h>
67471 #endif
67472
67473 #undef $ac_func
67474
67475 /* Override any GCC internal prototype to avoid an error.
67476    Use char because int might match the return type of a GCC
67477    builtin and then its argument prototype would still apply.  */
67478 #ifdef __cplusplus
67479 extern "C"
67480 #endif
67481 char $ac_func ();
67482 /* The GNU C library defines this for functions which it implements
67483     to always fail with ENOSYS.  Some functions are actually named
67484     something starting with __ and the normal name is an alias.  */
67485 #if defined __stub_$ac_func || defined __stub___$ac_func
67486 choke me
67487 #endif
67488
67489 int
67490 main ()
67491 {
67492 return $ac_func ();
67493   ;
67494   return 0;
67495 }
67496 _ACEOF
67497 rm -f conftest.$ac_objext conftest$ac_exeext
67498 if { (ac_try="$ac_link"
67499 case "(($ac_try" in
67500   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
67501   *) ac_try_echo=$ac_try;;
67502 esac
67503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
67504   (eval "$ac_link") 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          test -z "$ac_c_werror_flag" ||
67512          test ! -s conftest.err
67513        } && test -s conftest$ac_exeext &&
67514        $as_test_x conftest$ac_exeext; then
67515   eval "$as_ac_var=yes"
67516 else
67517   echo "$as_me: failed program was:" >&5
67518 sed 's/^/| /' conftest.$ac_ext >&5
67519
67520         eval "$as_ac_var=no"
67521 fi
67522
67523 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
67524       conftest$ac_exeext conftest.$ac_ext
67525 fi
67526 ac_res=`eval echo '${'$as_ac_var'}'`
67527                { echo "$as_me:$LINENO: result: $ac_res" >&5
67528 echo "${ECHO_T}$ac_res" >&6; }
67529 if test `eval echo '${'$as_ac_var'}'` = yes; then
67530   cat >>confdefs.h <<_ACEOF
67531 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67532 _ACEOF
67533
67534 fi
67535 done
67536
67537   else
67538
67539   { echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
67540 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6; }
67541   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
67542     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
67543   echo $ECHO_N "(cached) $ECHO_C" >&6
67544 else
67545
67546
67547       ac_ext=cpp
67548 ac_cpp='$CXXCPP $CPPFLAGS'
67549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67552
67553       cat >conftest.$ac_ext <<_ACEOF
67554 /* confdefs.h.  */
67555 _ACEOF
67556 cat confdefs.h >>conftest.$ac_ext
67557 cat >>conftest.$ac_ext <<_ACEOF
67558 /* end confdefs.h.  */
67559 #include <math.h>
67560 int
67561 main ()
67562 {
67563  _frexpf(0, 0);
67564   ;
67565   return 0;
67566 }
67567 _ACEOF
67568 rm -f conftest.$ac_objext
67569 if { (ac_try="$ac_compile"
67570 case "(($ac_try" in
67571   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
67572   *) ac_try_echo=$ac_try;;
67573 esac
67574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
67575   (eval "$ac_compile") 2>conftest.er1
67576   ac_status=$?
67577   grep -v '^ *+' conftest.er1 >conftest.err
67578   rm -f conftest.er1
67579   cat conftest.err >&5
67580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67581   (exit $ac_status); } && {
67582          test -z "$ac_cxx_werror_flag" ||
67583          test ! -s conftest.err
67584        } && test -s conftest.$ac_objext; then
67585   glibcxx_cv_func__frexpf_use=yes
67586 else
67587   echo "$as_me: failed program was:" >&5
67588 sed 's/^/| /' conftest.$ac_ext >&5
67589
67590         glibcxx_cv_func__frexpf_use=no
67591 fi
67592
67593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67594       ac_ext=c
67595 ac_cpp='$CPP $CPPFLAGS'
67596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67599
67600
67601 fi
67602
67603   fi
67604   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
67605 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6; }
67606
67607     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
67608
67609 for ac_func in _frexpf
67610 do
67611 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67612 { echo "$as_me:$LINENO: checking for $ac_func" >&5
67613 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
67614 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
67615   echo $ECHO_N "(cached) $ECHO_C" >&6
67616 else
67617   if test x$gcc_no_link = xyes; then
67618   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67619 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67620    { (exit 1); exit 1; }; }
67621 fi
67622 cat >conftest.$ac_ext <<_ACEOF
67623 /* confdefs.h.  */
67624 _ACEOF
67625 cat confdefs.h >>conftest.$ac_ext
67626 cat >>conftest.$ac_ext <<_ACEOF
67627 /* end confdefs.h.  */
67628 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67629    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67630 #define $ac_func innocuous_$ac_func
67631
67632 /* System header to define __stub macros and hopefully few prototypes,
67633     which can conflict with char $ac_func (); below.
67634     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67635     <limits.h> exists even on freestanding compilers.  */
67636
67637 #ifdef __STDC__
67638 # include <limits.h>
67639 #else
67640 # include <assert.h>
67641 #endif
67642
67643 #undef $ac_func
67644
67645 /* Override any GCC internal prototype to avoid an error.
67646    Use char because int might match the return type of a GCC
67647    builtin and then its argument prototype would still apply.  */
67648 #ifdef __cplusplus
67649 extern "C"
67650 #endif
67651 char $ac_func ();
67652 /* The GNU C library defines this for functions which it implements
67653     to always fail with ENOSYS.  Some functions are actually named
67654     something starting with __ and the normal name is an alias.  */
67655 #if defined __stub_$ac_func || defined __stub___$ac_func
67656 choke me
67657 #endif
67658
67659 int
67660 main ()
67661 {
67662 return $ac_func ();
67663   ;
67664   return 0;
67665 }
67666 _ACEOF
67667 rm -f conftest.$ac_objext conftest$ac_exeext
67668 if { (ac_try="$ac_link"
67669 case "(($ac_try" in
67670   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
67671   *) ac_try_echo=$ac_try;;
67672 esac
67673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
67674   (eval "$ac_link") 2>conftest.er1
67675   ac_status=$?
67676   grep -v '^ *+' conftest.er1 >conftest.err
67677   rm -f conftest.er1
67678   cat conftest.err >&5
67679   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67680   (exit $ac_status); } && {
67681          test -z "$ac_c_werror_flag" ||
67682          test ! -s conftest.err
67683        } && test -s conftest$ac_exeext &&
67684        $as_test_x conftest$ac_exeext; then
67685   eval "$as_ac_var=yes"
67686 else
67687   echo "$as_me: failed program was:" >&5
67688 sed 's/^/| /' conftest.$ac_ext >&5
67689
67690         eval "$as_ac_var=no"
67691 fi
67692
67693 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
67694       conftest$ac_exeext conftest.$ac_ext
67695 fi
67696 ac_res=`eval echo '${'$as_ac_var'}'`
67697                { echo "$as_me:$LINENO: result: $ac_res" >&5
67698 echo "${ECHO_T}$ac_res" >&6; }
67699 if test `eval echo '${'$as_ac_var'}'` = yes; then
67700   cat >>confdefs.h <<_ACEOF
67701 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67702 _ACEOF
67703
67704 fi
67705 done
67706
67707     fi
67708   fi
67709
67710
67711
67712
67713
67714
67715   { echo "$as_me:$LINENO: checking for hypotf declaration" >&5
67716 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6; }
67717   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
67718     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
67719   echo $ECHO_N "(cached) $ECHO_C" >&6
67720 else
67721
67722
67723       ac_ext=cpp
67724 ac_cpp='$CXXCPP $CPPFLAGS'
67725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67728
67729       cat >conftest.$ac_ext <<_ACEOF
67730 /* confdefs.h.  */
67731 _ACEOF
67732 cat confdefs.h >>conftest.$ac_ext
67733 cat >>conftest.$ac_ext <<_ACEOF
67734 /* end confdefs.h.  */
67735 #include <math.h>
67736 int
67737 main ()
67738 {
67739  hypotf(0, 0);
67740   ;
67741   return 0;
67742 }
67743 _ACEOF
67744 rm -f conftest.$ac_objext
67745 if { (ac_try="$ac_compile"
67746 case "(($ac_try" in
67747   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
67748   *) ac_try_echo=$ac_try;;
67749 esac
67750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
67751   (eval "$ac_compile") 2>conftest.er1
67752   ac_status=$?
67753   grep -v '^ *+' conftest.er1 >conftest.err
67754   rm -f conftest.er1
67755   cat conftest.err >&5
67756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67757   (exit $ac_status); } && {
67758          test -z "$ac_cxx_werror_flag" ||
67759          test ! -s conftest.err
67760        } && test -s conftest.$ac_objext; then
67761   glibcxx_cv_func_hypotf_use=yes
67762 else
67763   echo "$as_me: failed program was:" >&5
67764 sed 's/^/| /' conftest.$ac_ext >&5
67765
67766         glibcxx_cv_func_hypotf_use=no
67767 fi
67768
67769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67770       ac_ext=c
67771 ac_cpp='$CPP $CPPFLAGS'
67772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67775
67776
67777 fi
67778
67779   fi
67780   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
67781 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6; }
67782
67783   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
67784
67785 for ac_func in hypotf
67786 do
67787 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67788 { echo "$as_me:$LINENO: checking for $ac_func" >&5
67789 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
67790 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
67791   echo $ECHO_N "(cached) $ECHO_C" >&6
67792 else
67793   if test x$gcc_no_link = xyes; then
67794   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67795 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67796    { (exit 1); exit 1; }; }
67797 fi
67798 cat >conftest.$ac_ext <<_ACEOF
67799 /* confdefs.h.  */
67800 _ACEOF
67801 cat confdefs.h >>conftest.$ac_ext
67802 cat >>conftest.$ac_ext <<_ACEOF
67803 /* end confdefs.h.  */
67804 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67805    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67806 #define $ac_func innocuous_$ac_func
67807
67808 /* System header to define __stub macros and hopefully few prototypes,
67809     which can conflict with char $ac_func (); below.
67810     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67811     <limits.h> exists even on freestanding compilers.  */
67812
67813 #ifdef __STDC__
67814 # include <limits.h>
67815 #else
67816 # include <assert.h>
67817 #endif
67818
67819 #undef $ac_func
67820
67821 /* Override any GCC internal prototype to avoid an error.
67822    Use char because int might match the return type of a GCC
67823    builtin and then its argument prototype would still apply.  */
67824 #ifdef __cplusplus
67825 extern "C"
67826 #endif
67827 char $ac_func ();
67828 /* The GNU C library defines this for functions which it implements
67829     to always fail with ENOSYS.  Some functions are actually named
67830     something starting with __ and the normal name is an alias.  */
67831 #if defined __stub_$ac_func || defined __stub___$ac_func
67832 choke me
67833 #endif
67834
67835 int
67836 main ()
67837 {
67838 return $ac_func ();
67839   ;
67840   return 0;
67841 }
67842 _ACEOF
67843 rm -f conftest.$ac_objext conftest$ac_exeext
67844 if { (ac_try="$ac_link"
67845 case "(($ac_try" in
67846   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
67847   *) ac_try_echo=$ac_try;;
67848 esac
67849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
67850   (eval "$ac_link") 2>conftest.er1
67851   ac_status=$?
67852   grep -v '^ *+' conftest.er1 >conftest.err
67853   rm -f conftest.er1
67854   cat conftest.err >&5
67855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67856   (exit $ac_status); } && {
67857          test -z "$ac_c_werror_flag" ||
67858          test ! -s conftest.err
67859        } && test -s conftest$ac_exeext &&
67860        $as_test_x conftest$ac_exeext; then
67861   eval "$as_ac_var=yes"
67862 else
67863   echo "$as_me: failed program was:" >&5
67864 sed 's/^/| /' conftest.$ac_ext >&5
67865
67866         eval "$as_ac_var=no"
67867 fi
67868
67869 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
67870       conftest$ac_exeext conftest.$ac_ext
67871 fi
67872 ac_res=`eval echo '${'$as_ac_var'}'`
67873                { echo "$as_me:$LINENO: result: $ac_res" >&5
67874 echo "${ECHO_T}$ac_res" >&6; }
67875 if test `eval echo '${'$as_ac_var'}'` = yes; then
67876   cat >>confdefs.h <<_ACEOF
67877 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67878 _ACEOF
67879
67880 fi
67881 done
67882
67883   else
67884
67885   { echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
67886 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6; }
67887   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
67888     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
67889   echo $ECHO_N "(cached) $ECHO_C" >&6
67890 else
67891
67892
67893       ac_ext=cpp
67894 ac_cpp='$CXXCPP $CPPFLAGS'
67895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67898
67899       cat >conftest.$ac_ext <<_ACEOF
67900 /* confdefs.h.  */
67901 _ACEOF
67902 cat confdefs.h >>conftest.$ac_ext
67903 cat >>conftest.$ac_ext <<_ACEOF
67904 /* end confdefs.h.  */
67905 #include <math.h>
67906 int
67907 main ()
67908 {
67909  _hypotf(0, 0);
67910   ;
67911   return 0;
67912 }
67913 _ACEOF
67914 rm -f conftest.$ac_objext
67915 if { (ac_try="$ac_compile"
67916 case "(($ac_try" in
67917   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
67918   *) ac_try_echo=$ac_try;;
67919 esac
67920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
67921   (eval "$ac_compile") 2>conftest.er1
67922   ac_status=$?
67923   grep -v '^ *+' conftest.er1 >conftest.err
67924   rm -f conftest.er1
67925   cat conftest.err >&5
67926   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67927   (exit $ac_status); } && {
67928          test -z "$ac_cxx_werror_flag" ||
67929          test ! -s conftest.err
67930        } && test -s conftest.$ac_objext; then
67931   glibcxx_cv_func__hypotf_use=yes
67932 else
67933   echo "$as_me: failed program was:" >&5
67934 sed 's/^/| /' conftest.$ac_ext >&5
67935
67936         glibcxx_cv_func__hypotf_use=no
67937 fi
67938
67939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67940       ac_ext=c
67941 ac_cpp='$CPP $CPPFLAGS'
67942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67945
67946
67947 fi
67948
67949   fi
67950   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
67951 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6; }
67952
67953     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
67954
67955 for ac_func in _hypotf
67956 do
67957 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67958 { echo "$as_me:$LINENO: checking for $ac_func" >&5
67959 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
67960 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
67961   echo $ECHO_N "(cached) $ECHO_C" >&6
67962 else
67963   if test x$gcc_no_link = xyes; then
67964   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67965 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67966    { (exit 1); exit 1; }; }
67967 fi
67968 cat >conftest.$ac_ext <<_ACEOF
67969 /* confdefs.h.  */
67970 _ACEOF
67971 cat confdefs.h >>conftest.$ac_ext
67972 cat >>conftest.$ac_ext <<_ACEOF
67973 /* end confdefs.h.  */
67974 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67975    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67976 #define $ac_func innocuous_$ac_func
67977
67978 /* System header to define __stub macros and hopefully few prototypes,
67979     which can conflict with char $ac_func (); below.
67980     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67981     <limits.h> exists even on freestanding compilers.  */
67982
67983 #ifdef __STDC__
67984 # include <limits.h>
67985 #else
67986 # include <assert.h>
67987 #endif
67988
67989 #undef $ac_func
67990
67991 /* Override any GCC internal prototype to avoid an error.
67992    Use char because int might match the return type of a GCC
67993    builtin and then its argument prototype would still apply.  */
67994 #ifdef __cplusplus
67995 extern "C"
67996 #endif
67997 char $ac_func ();
67998 /* The GNU C library defines this for functions which it implements
67999     to always fail with ENOSYS.  Some functions are actually named
68000     something starting with __ and the normal name is an alias.  */
68001 #if defined __stub_$ac_func || defined __stub___$ac_func
68002 choke me
68003 #endif
68004
68005 int
68006 main ()
68007 {
68008 return $ac_func ();
68009   ;
68010   return 0;
68011 }
68012 _ACEOF
68013 rm -f conftest.$ac_objext conftest$ac_exeext
68014 if { (ac_try="$ac_link"
68015 case "(($ac_try" in
68016   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
68017   *) ac_try_echo=$ac_try;;
68018 esac
68019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
68020   (eval "$ac_link") 2>conftest.er1
68021   ac_status=$?
68022   grep -v '^ *+' conftest.er1 >conftest.err
68023   rm -f conftest.er1
68024   cat conftest.err >&5
68025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68026   (exit $ac_status); } && {
68027          test -z "$ac_c_werror_flag" ||
68028          test ! -s conftest.err
68029        } && test -s conftest$ac_exeext &&
68030        $as_test_x conftest$ac_exeext; then
68031   eval "$as_ac_var=yes"
68032 else
68033   echo "$as_me: failed program was:" >&5
68034 sed 's/^/| /' conftest.$ac_ext >&5
68035
68036         eval "$as_ac_var=no"
68037 fi
68038
68039 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
68040       conftest$ac_exeext conftest.$ac_ext
68041 fi
68042 ac_res=`eval echo '${'$as_ac_var'}'`
68043                { echo "$as_me:$LINENO: result: $ac_res" >&5
68044 echo "${ECHO_T}$ac_res" >&6; }
68045 if test `eval echo '${'$as_ac_var'}'` = yes; then
68046   cat >>confdefs.h <<_ACEOF
68047 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68048 _ACEOF
68049
68050 fi
68051 done
68052
68053     fi
68054   fi
68055
68056
68057
68058
68059
68060
68061   { echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
68062 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6; }
68063   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
68064     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
68065   echo $ECHO_N "(cached) $ECHO_C" >&6
68066 else
68067
68068
68069       ac_ext=cpp
68070 ac_cpp='$CXXCPP $CPPFLAGS'
68071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68074
68075       cat >conftest.$ac_ext <<_ACEOF
68076 /* confdefs.h.  */
68077 _ACEOF
68078 cat confdefs.h >>conftest.$ac_ext
68079 cat >>conftest.$ac_ext <<_ACEOF
68080 /* end confdefs.h.  */
68081 #include <math.h>
68082 int
68083 main ()
68084 {
68085  ldexpf(0, 0);
68086   ;
68087   return 0;
68088 }
68089 _ACEOF
68090 rm -f conftest.$ac_objext
68091 if { (ac_try="$ac_compile"
68092 case "(($ac_try" in
68093   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
68094   *) ac_try_echo=$ac_try;;
68095 esac
68096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
68097   (eval "$ac_compile") 2>conftest.er1
68098   ac_status=$?
68099   grep -v '^ *+' conftest.er1 >conftest.err
68100   rm -f conftest.er1
68101   cat conftest.err >&5
68102   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68103   (exit $ac_status); } && {
68104          test -z "$ac_cxx_werror_flag" ||
68105          test ! -s conftest.err
68106        } && test -s conftest.$ac_objext; then
68107   glibcxx_cv_func_ldexpf_use=yes
68108 else
68109   echo "$as_me: failed program was:" >&5
68110 sed 's/^/| /' conftest.$ac_ext >&5
68111
68112         glibcxx_cv_func_ldexpf_use=no
68113 fi
68114
68115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68116       ac_ext=c
68117 ac_cpp='$CPP $CPPFLAGS'
68118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68121
68122
68123 fi
68124
68125   fi
68126   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
68127 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6; }
68128
68129   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
68130
68131 for ac_func in ldexpf
68132 do
68133 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68134 { echo "$as_me:$LINENO: checking for $ac_func" >&5
68135 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
68136 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
68137   echo $ECHO_N "(cached) $ECHO_C" >&6
68138 else
68139   if test x$gcc_no_link = xyes; then
68140   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68141 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68142    { (exit 1); exit 1; }; }
68143 fi
68144 cat >conftest.$ac_ext <<_ACEOF
68145 /* confdefs.h.  */
68146 _ACEOF
68147 cat confdefs.h >>conftest.$ac_ext
68148 cat >>conftest.$ac_ext <<_ACEOF
68149 /* end confdefs.h.  */
68150 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68151    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68152 #define $ac_func innocuous_$ac_func
68153
68154 /* System header to define __stub macros and hopefully few prototypes,
68155     which can conflict with char $ac_func (); below.
68156     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68157     <limits.h> exists even on freestanding compilers.  */
68158
68159 #ifdef __STDC__
68160 # include <limits.h>
68161 #else
68162 # include <assert.h>
68163 #endif
68164
68165 #undef $ac_func
68166
68167 /* Override any GCC internal prototype to avoid an error.
68168    Use char because int might match the return type of a GCC
68169    builtin and then its argument prototype would still apply.  */
68170 #ifdef __cplusplus
68171 extern "C"
68172 #endif
68173 char $ac_func ();
68174 /* The GNU C library defines this for functions which it implements
68175     to always fail with ENOSYS.  Some functions are actually named
68176     something starting with __ and the normal name is an alias.  */
68177 #if defined __stub_$ac_func || defined __stub___$ac_func
68178 choke me
68179 #endif
68180
68181 int
68182 main ()
68183 {
68184 return $ac_func ();
68185   ;
68186   return 0;
68187 }
68188 _ACEOF
68189 rm -f conftest.$ac_objext conftest$ac_exeext
68190 if { (ac_try="$ac_link"
68191 case "(($ac_try" in
68192   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
68193   *) ac_try_echo=$ac_try;;
68194 esac
68195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
68196   (eval "$ac_link") 2>conftest.er1
68197   ac_status=$?
68198   grep -v '^ *+' conftest.er1 >conftest.err
68199   rm -f conftest.er1
68200   cat conftest.err >&5
68201   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68202   (exit $ac_status); } && {
68203          test -z "$ac_c_werror_flag" ||
68204          test ! -s conftest.err
68205        } && test -s conftest$ac_exeext &&
68206        $as_test_x conftest$ac_exeext; then
68207   eval "$as_ac_var=yes"
68208 else
68209   echo "$as_me: failed program was:" >&5
68210 sed 's/^/| /' conftest.$ac_ext >&5
68211
68212         eval "$as_ac_var=no"
68213 fi
68214
68215 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
68216       conftest$ac_exeext conftest.$ac_ext
68217 fi
68218 ac_res=`eval echo '${'$as_ac_var'}'`
68219                { echo "$as_me:$LINENO: result: $ac_res" >&5
68220 echo "${ECHO_T}$ac_res" >&6; }
68221 if test `eval echo '${'$as_ac_var'}'` = yes; then
68222   cat >>confdefs.h <<_ACEOF
68223 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68224 _ACEOF
68225
68226 fi
68227 done
68228
68229   else
68230
68231   { echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
68232 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6; }
68233   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
68234     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
68235   echo $ECHO_N "(cached) $ECHO_C" >&6
68236 else
68237
68238
68239       ac_ext=cpp
68240 ac_cpp='$CXXCPP $CPPFLAGS'
68241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68244
68245       cat >conftest.$ac_ext <<_ACEOF
68246 /* confdefs.h.  */
68247 _ACEOF
68248 cat confdefs.h >>conftest.$ac_ext
68249 cat >>conftest.$ac_ext <<_ACEOF
68250 /* end confdefs.h.  */
68251 #include <math.h>
68252 int
68253 main ()
68254 {
68255  _ldexpf(0, 0);
68256   ;
68257   return 0;
68258 }
68259 _ACEOF
68260 rm -f conftest.$ac_objext
68261 if { (ac_try="$ac_compile"
68262 case "(($ac_try" in
68263   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
68264   *) ac_try_echo=$ac_try;;
68265 esac
68266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
68267   (eval "$ac_compile") 2>conftest.er1
68268   ac_status=$?
68269   grep -v '^ *+' conftest.er1 >conftest.err
68270   rm -f conftest.er1
68271   cat conftest.err >&5
68272   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68273   (exit $ac_status); } && {
68274          test -z "$ac_cxx_werror_flag" ||
68275          test ! -s conftest.err
68276        } && test -s conftest.$ac_objext; then
68277   glibcxx_cv_func__ldexpf_use=yes
68278 else
68279   echo "$as_me: failed program was:" >&5
68280 sed 's/^/| /' conftest.$ac_ext >&5
68281
68282         glibcxx_cv_func__ldexpf_use=no
68283 fi
68284
68285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68286       ac_ext=c
68287 ac_cpp='$CPP $CPPFLAGS'
68288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68291
68292
68293 fi
68294
68295   fi
68296   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
68297 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6; }
68298
68299     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
68300
68301 for ac_func in _ldexpf
68302 do
68303 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68304 { echo "$as_me:$LINENO: checking for $ac_func" >&5
68305 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
68306 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
68307   echo $ECHO_N "(cached) $ECHO_C" >&6
68308 else
68309   if test x$gcc_no_link = xyes; then
68310   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68311 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68312    { (exit 1); exit 1; }; }
68313 fi
68314 cat >conftest.$ac_ext <<_ACEOF
68315 /* confdefs.h.  */
68316 _ACEOF
68317 cat confdefs.h >>conftest.$ac_ext
68318 cat >>conftest.$ac_ext <<_ACEOF
68319 /* end confdefs.h.  */
68320 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68321    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68322 #define $ac_func innocuous_$ac_func
68323
68324 /* System header to define __stub macros and hopefully few prototypes,
68325     which can conflict with char $ac_func (); below.
68326     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68327     <limits.h> exists even on freestanding compilers.  */
68328
68329 #ifdef __STDC__
68330 # include <limits.h>
68331 #else
68332 # include <assert.h>
68333 #endif
68334
68335 #undef $ac_func
68336
68337 /* Override any GCC internal prototype to avoid an error.
68338    Use char because int might match the return type of a GCC
68339    builtin and then its argument prototype would still apply.  */
68340 #ifdef __cplusplus
68341 extern "C"
68342 #endif
68343 char $ac_func ();
68344 /* The GNU C library defines this for functions which it implements
68345     to always fail with ENOSYS.  Some functions are actually named
68346     something starting with __ and the normal name is an alias.  */
68347 #if defined __stub_$ac_func || defined __stub___$ac_func
68348 choke me
68349 #endif
68350
68351 int
68352 main ()
68353 {
68354 return $ac_func ();
68355   ;
68356   return 0;
68357 }
68358 _ACEOF
68359 rm -f conftest.$ac_objext conftest$ac_exeext
68360 if { (ac_try="$ac_link"
68361 case "(($ac_try" in
68362   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
68363   *) ac_try_echo=$ac_try;;
68364 esac
68365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
68366   (eval "$ac_link") 2>conftest.er1
68367   ac_status=$?
68368   grep -v '^ *+' conftest.er1 >conftest.err
68369   rm -f conftest.er1
68370   cat conftest.err >&5
68371   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68372   (exit $ac_status); } && {
68373          test -z "$ac_c_werror_flag" ||
68374          test ! -s conftest.err
68375        } && test -s conftest$ac_exeext &&
68376        $as_test_x conftest$ac_exeext; then
68377   eval "$as_ac_var=yes"
68378 else
68379   echo "$as_me: failed program was:" >&5
68380 sed 's/^/| /' conftest.$ac_ext >&5
68381
68382         eval "$as_ac_var=no"
68383 fi
68384
68385 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
68386       conftest$ac_exeext conftest.$ac_ext
68387 fi
68388 ac_res=`eval echo '${'$as_ac_var'}'`
68389                { echo "$as_me:$LINENO: result: $ac_res" >&5
68390 echo "${ECHO_T}$ac_res" >&6; }
68391 if test `eval echo '${'$as_ac_var'}'` = yes; then
68392   cat >>confdefs.h <<_ACEOF
68393 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68394 _ACEOF
68395
68396 fi
68397 done
68398
68399     fi
68400   fi
68401
68402
68403
68404
68405
68406
68407   { echo "$as_me:$LINENO: checking for logf declaration" >&5
68408 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6; }
68409   if test x${glibcxx_cv_func_logf_use+set} != xset; then
68410     if test "${glibcxx_cv_func_logf_use+set}" = set; then
68411   echo $ECHO_N "(cached) $ECHO_C" >&6
68412 else
68413
68414
68415       ac_ext=cpp
68416 ac_cpp='$CXXCPP $CPPFLAGS'
68417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68420
68421       cat >conftest.$ac_ext <<_ACEOF
68422 /* confdefs.h.  */
68423 _ACEOF
68424 cat confdefs.h >>conftest.$ac_ext
68425 cat >>conftest.$ac_ext <<_ACEOF
68426 /* end confdefs.h.  */
68427 #include <math.h>
68428                       #ifdef HAVE_IEEEFP_H
68429                       #include <ieeefp.h>
68430                       #endif
68431
68432 int
68433 main ()
68434 {
68435  logf(0);
68436   ;
68437   return 0;
68438 }
68439 _ACEOF
68440 rm -f conftest.$ac_objext
68441 if { (ac_try="$ac_compile"
68442 case "(($ac_try" in
68443   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
68444   *) ac_try_echo=$ac_try;;
68445 esac
68446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
68447   (eval "$ac_compile") 2>conftest.er1
68448   ac_status=$?
68449   grep -v '^ *+' conftest.er1 >conftest.err
68450   rm -f conftest.er1
68451   cat conftest.err >&5
68452   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68453   (exit $ac_status); } && {
68454          test -z "$ac_cxx_werror_flag" ||
68455          test ! -s conftest.err
68456        } && test -s conftest.$ac_objext; then
68457   glibcxx_cv_func_logf_use=yes
68458 else
68459   echo "$as_me: failed program was:" >&5
68460 sed 's/^/| /' conftest.$ac_ext >&5
68461
68462         glibcxx_cv_func_logf_use=no
68463 fi
68464
68465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68466       ac_ext=c
68467 ac_cpp='$CPP $CPPFLAGS'
68468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68471
68472
68473 fi
68474
68475   fi
68476   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
68477 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6; }
68478
68479   if test x$glibcxx_cv_func_logf_use = x"yes"; then
68480
68481 for ac_func in logf
68482 do
68483 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68484 { echo "$as_me:$LINENO: checking for $ac_func" >&5
68485 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
68486 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
68487   echo $ECHO_N "(cached) $ECHO_C" >&6
68488 else
68489   if test x$gcc_no_link = xyes; then
68490   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68491 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68492    { (exit 1); exit 1; }; }
68493 fi
68494 cat >conftest.$ac_ext <<_ACEOF
68495 /* confdefs.h.  */
68496 _ACEOF
68497 cat confdefs.h >>conftest.$ac_ext
68498 cat >>conftest.$ac_ext <<_ACEOF
68499 /* end confdefs.h.  */
68500 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68501    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68502 #define $ac_func innocuous_$ac_func
68503
68504 /* System header to define __stub macros and hopefully few prototypes,
68505     which can conflict with char $ac_func (); below.
68506     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68507     <limits.h> exists even on freestanding compilers.  */
68508
68509 #ifdef __STDC__
68510 # include <limits.h>
68511 #else
68512 # include <assert.h>
68513 #endif
68514
68515 #undef $ac_func
68516
68517 /* Override any GCC internal prototype to avoid an error.
68518    Use char because int might match the return type of a GCC
68519    builtin and then its argument prototype would still apply.  */
68520 #ifdef __cplusplus
68521 extern "C"
68522 #endif
68523 char $ac_func ();
68524 /* The GNU C library defines this for functions which it implements
68525     to always fail with ENOSYS.  Some functions are actually named
68526     something starting with __ and the normal name is an alias.  */
68527 #if defined __stub_$ac_func || defined __stub___$ac_func
68528 choke me
68529 #endif
68530
68531 int
68532 main ()
68533 {
68534 return $ac_func ();
68535   ;
68536   return 0;
68537 }
68538 _ACEOF
68539 rm -f conftest.$ac_objext conftest$ac_exeext
68540 if { (ac_try="$ac_link"
68541 case "(($ac_try" in
68542   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
68543   *) ac_try_echo=$ac_try;;
68544 esac
68545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
68546   (eval "$ac_link") 2>conftest.er1
68547   ac_status=$?
68548   grep -v '^ *+' conftest.er1 >conftest.err
68549   rm -f conftest.er1
68550   cat conftest.err >&5
68551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68552   (exit $ac_status); } && {
68553          test -z "$ac_c_werror_flag" ||
68554          test ! -s conftest.err
68555        } && test -s conftest$ac_exeext &&
68556        $as_test_x conftest$ac_exeext; then
68557   eval "$as_ac_var=yes"
68558 else
68559   echo "$as_me: failed program was:" >&5
68560 sed 's/^/| /' conftest.$ac_ext >&5
68561
68562         eval "$as_ac_var=no"
68563 fi
68564
68565 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
68566       conftest$ac_exeext conftest.$ac_ext
68567 fi
68568 ac_res=`eval echo '${'$as_ac_var'}'`
68569                { echo "$as_me:$LINENO: result: $ac_res" >&5
68570 echo "${ECHO_T}$ac_res" >&6; }
68571 if test `eval echo '${'$as_ac_var'}'` = yes; then
68572   cat >>confdefs.h <<_ACEOF
68573 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68574 _ACEOF
68575
68576 fi
68577 done
68578
68579   else
68580
68581   { echo "$as_me:$LINENO: checking for _logf declaration" >&5
68582 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6; }
68583   if test x${glibcxx_cv_func__logf_use+set} != xset; then
68584     if test "${glibcxx_cv_func__logf_use+set}" = set; then
68585   echo $ECHO_N "(cached) $ECHO_C" >&6
68586 else
68587
68588
68589       ac_ext=cpp
68590 ac_cpp='$CXXCPP $CPPFLAGS'
68591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68594
68595       cat >conftest.$ac_ext <<_ACEOF
68596 /* confdefs.h.  */
68597 _ACEOF
68598 cat confdefs.h >>conftest.$ac_ext
68599 cat >>conftest.$ac_ext <<_ACEOF
68600 /* end confdefs.h.  */
68601 #include <math.h>
68602                       #ifdef HAVE_IEEEFP_H
68603                       #include <ieeefp.h>
68604                       #endif
68605
68606 int
68607 main ()
68608 {
68609  _logf(0);
68610   ;
68611   return 0;
68612 }
68613 _ACEOF
68614 rm -f conftest.$ac_objext
68615 if { (ac_try="$ac_compile"
68616 case "(($ac_try" in
68617   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
68618   *) ac_try_echo=$ac_try;;
68619 esac
68620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
68621   (eval "$ac_compile") 2>conftest.er1
68622   ac_status=$?
68623   grep -v '^ *+' conftest.er1 >conftest.err
68624   rm -f conftest.er1
68625   cat conftest.err >&5
68626   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68627   (exit $ac_status); } && {
68628          test -z "$ac_cxx_werror_flag" ||
68629          test ! -s conftest.err
68630        } && test -s conftest.$ac_objext; then
68631   glibcxx_cv_func__logf_use=yes
68632 else
68633   echo "$as_me: failed program was:" >&5
68634 sed 's/^/| /' conftest.$ac_ext >&5
68635
68636         glibcxx_cv_func__logf_use=no
68637 fi
68638
68639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68640       ac_ext=c
68641 ac_cpp='$CPP $CPPFLAGS'
68642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68645
68646
68647 fi
68648
68649   fi
68650   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
68651 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6; }
68652
68653     if test x$glibcxx_cv_func__logf_use = x"yes"; then
68654
68655 for ac_func in _logf
68656 do
68657 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68658 { echo "$as_me:$LINENO: checking for $ac_func" >&5
68659 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
68660 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
68661   echo $ECHO_N "(cached) $ECHO_C" >&6
68662 else
68663   if test x$gcc_no_link = xyes; then
68664   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68665 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68666    { (exit 1); exit 1; }; }
68667 fi
68668 cat >conftest.$ac_ext <<_ACEOF
68669 /* confdefs.h.  */
68670 _ACEOF
68671 cat confdefs.h >>conftest.$ac_ext
68672 cat >>conftest.$ac_ext <<_ACEOF
68673 /* end confdefs.h.  */
68674 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68675    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68676 #define $ac_func innocuous_$ac_func
68677
68678 /* System header to define __stub macros and hopefully few prototypes,
68679     which can conflict with char $ac_func (); below.
68680     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68681     <limits.h> exists even on freestanding compilers.  */
68682
68683 #ifdef __STDC__
68684 # include <limits.h>
68685 #else
68686 # include <assert.h>
68687 #endif
68688
68689 #undef $ac_func
68690
68691 /* Override any GCC internal prototype to avoid an error.
68692    Use char because int might match the return type of a GCC
68693    builtin and then its argument prototype would still apply.  */
68694 #ifdef __cplusplus
68695 extern "C"
68696 #endif
68697 char $ac_func ();
68698 /* The GNU C library defines this for functions which it implements
68699     to always fail with ENOSYS.  Some functions are actually named
68700     something starting with __ and the normal name is an alias.  */
68701 #if defined __stub_$ac_func || defined __stub___$ac_func
68702 choke me
68703 #endif
68704
68705 int
68706 main ()
68707 {
68708 return $ac_func ();
68709   ;
68710   return 0;
68711 }
68712 _ACEOF
68713 rm -f conftest.$ac_objext conftest$ac_exeext
68714 if { (ac_try="$ac_link"
68715 case "(($ac_try" in
68716   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
68717   *) ac_try_echo=$ac_try;;
68718 esac
68719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
68720   (eval "$ac_link") 2>conftest.er1
68721   ac_status=$?
68722   grep -v '^ *+' conftest.er1 >conftest.err
68723   rm -f conftest.er1
68724   cat conftest.err >&5
68725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68726   (exit $ac_status); } && {
68727          test -z "$ac_c_werror_flag" ||
68728          test ! -s conftest.err
68729        } && test -s conftest$ac_exeext &&
68730        $as_test_x conftest$ac_exeext; then
68731   eval "$as_ac_var=yes"
68732 else
68733   echo "$as_me: failed program was:" >&5
68734 sed 's/^/| /' conftest.$ac_ext >&5
68735
68736         eval "$as_ac_var=no"
68737 fi
68738
68739 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
68740       conftest$ac_exeext conftest.$ac_ext
68741 fi
68742 ac_res=`eval echo '${'$as_ac_var'}'`
68743                { echo "$as_me:$LINENO: result: $ac_res" >&5
68744 echo "${ECHO_T}$ac_res" >&6; }
68745 if test `eval echo '${'$as_ac_var'}'` = yes; then
68746   cat >>confdefs.h <<_ACEOF
68747 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68748 _ACEOF
68749
68750 fi
68751 done
68752
68753     fi
68754   fi
68755
68756
68757
68758
68759
68760
68761   { echo "$as_me:$LINENO: checking for log10f declaration" >&5
68762 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6; }
68763   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
68764     if test "${glibcxx_cv_func_log10f_use+set}" = set; then
68765   echo $ECHO_N "(cached) $ECHO_C" >&6
68766 else
68767
68768
68769       ac_ext=cpp
68770 ac_cpp='$CXXCPP $CPPFLAGS'
68771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68774
68775       cat >conftest.$ac_ext <<_ACEOF
68776 /* confdefs.h.  */
68777 _ACEOF
68778 cat confdefs.h >>conftest.$ac_ext
68779 cat >>conftest.$ac_ext <<_ACEOF
68780 /* end confdefs.h.  */
68781 #include <math.h>
68782                       #ifdef HAVE_IEEEFP_H
68783                       #include <ieeefp.h>
68784                       #endif
68785
68786 int
68787 main ()
68788 {
68789  log10f(0);
68790   ;
68791   return 0;
68792 }
68793 _ACEOF
68794 rm -f conftest.$ac_objext
68795 if { (ac_try="$ac_compile"
68796 case "(($ac_try" in
68797   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
68798   *) ac_try_echo=$ac_try;;
68799 esac
68800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
68801   (eval "$ac_compile") 2>conftest.er1
68802   ac_status=$?
68803   grep -v '^ *+' conftest.er1 >conftest.err
68804   rm -f conftest.er1
68805   cat conftest.err >&5
68806   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68807   (exit $ac_status); } && {
68808          test -z "$ac_cxx_werror_flag" ||
68809          test ! -s conftest.err
68810        } && test -s conftest.$ac_objext; then
68811   glibcxx_cv_func_log10f_use=yes
68812 else
68813   echo "$as_me: failed program was:" >&5
68814 sed 's/^/| /' conftest.$ac_ext >&5
68815
68816         glibcxx_cv_func_log10f_use=no
68817 fi
68818
68819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68820       ac_ext=c
68821 ac_cpp='$CPP $CPPFLAGS'
68822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68825
68826
68827 fi
68828
68829   fi
68830   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
68831 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6; }
68832
68833   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
68834
68835 for ac_func in log10f
68836 do
68837 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68838 { echo "$as_me:$LINENO: checking for $ac_func" >&5
68839 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
68840 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
68841   echo $ECHO_N "(cached) $ECHO_C" >&6
68842 else
68843   if test x$gcc_no_link = xyes; then
68844   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68845 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68846    { (exit 1); exit 1; }; }
68847 fi
68848 cat >conftest.$ac_ext <<_ACEOF
68849 /* confdefs.h.  */
68850 _ACEOF
68851 cat confdefs.h >>conftest.$ac_ext
68852 cat >>conftest.$ac_ext <<_ACEOF
68853 /* end confdefs.h.  */
68854 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68855    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68856 #define $ac_func innocuous_$ac_func
68857
68858 /* System header to define __stub macros and hopefully few prototypes,
68859     which can conflict with char $ac_func (); below.
68860     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68861     <limits.h> exists even on freestanding compilers.  */
68862
68863 #ifdef __STDC__
68864 # include <limits.h>
68865 #else
68866 # include <assert.h>
68867 #endif
68868
68869 #undef $ac_func
68870
68871 /* Override any GCC internal prototype to avoid an error.
68872    Use char because int might match the return type of a GCC
68873    builtin and then its argument prototype would still apply.  */
68874 #ifdef __cplusplus
68875 extern "C"
68876 #endif
68877 char $ac_func ();
68878 /* The GNU C library defines this for functions which it implements
68879     to always fail with ENOSYS.  Some functions are actually named
68880     something starting with __ and the normal name is an alias.  */
68881 #if defined __stub_$ac_func || defined __stub___$ac_func
68882 choke me
68883 #endif
68884
68885 int
68886 main ()
68887 {
68888 return $ac_func ();
68889   ;
68890   return 0;
68891 }
68892 _ACEOF
68893 rm -f conftest.$ac_objext conftest$ac_exeext
68894 if { (ac_try="$ac_link"
68895 case "(($ac_try" in
68896   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
68897   *) ac_try_echo=$ac_try;;
68898 esac
68899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
68900   (eval "$ac_link") 2>conftest.er1
68901   ac_status=$?
68902   grep -v '^ *+' conftest.er1 >conftest.err
68903   rm -f conftest.er1
68904   cat conftest.err >&5
68905   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68906   (exit $ac_status); } && {
68907          test -z "$ac_c_werror_flag" ||
68908          test ! -s conftest.err
68909        } && test -s conftest$ac_exeext &&
68910        $as_test_x conftest$ac_exeext; then
68911   eval "$as_ac_var=yes"
68912 else
68913   echo "$as_me: failed program was:" >&5
68914 sed 's/^/| /' conftest.$ac_ext >&5
68915
68916         eval "$as_ac_var=no"
68917 fi
68918
68919 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
68920       conftest$ac_exeext conftest.$ac_ext
68921 fi
68922 ac_res=`eval echo '${'$as_ac_var'}'`
68923                { echo "$as_me:$LINENO: result: $ac_res" >&5
68924 echo "${ECHO_T}$ac_res" >&6; }
68925 if test `eval echo '${'$as_ac_var'}'` = yes; then
68926   cat >>confdefs.h <<_ACEOF
68927 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68928 _ACEOF
68929
68930 fi
68931 done
68932
68933   else
68934
68935   { echo "$as_me:$LINENO: checking for _log10f declaration" >&5
68936 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6; }
68937   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
68938     if test "${glibcxx_cv_func__log10f_use+set}" = set; then
68939   echo $ECHO_N "(cached) $ECHO_C" >&6
68940 else
68941
68942
68943       ac_ext=cpp
68944 ac_cpp='$CXXCPP $CPPFLAGS'
68945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68948
68949       cat >conftest.$ac_ext <<_ACEOF
68950 /* confdefs.h.  */
68951 _ACEOF
68952 cat confdefs.h >>conftest.$ac_ext
68953 cat >>conftest.$ac_ext <<_ACEOF
68954 /* end confdefs.h.  */
68955 #include <math.h>
68956                       #ifdef HAVE_IEEEFP_H
68957                       #include <ieeefp.h>
68958                       #endif
68959
68960 int
68961 main ()
68962 {
68963  _log10f(0);
68964   ;
68965   return 0;
68966 }
68967 _ACEOF
68968 rm -f conftest.$ac_objext
68969 if { (ac_try="$ac_compile"
68970 case "(($ac_try" in
68971   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
68972   *) ac_try_echo=$ac_try;;
68973 esac
68974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
68975   (eval "$ac_compile") 2>conftest.er1
68976   ac_status=$?
68977   grep -v '^ *+' conftest.er1 >conftest.err
68978   rm -f conftest.er1
68979   cat conftest.err >&5
68980   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68981   (exit $ac_status); } && {
68982          test -z "$ac_cxx_werror_flag" ||
68983          test ! -s conftest.err
68984        } && test -s conftest.$ac_objext; then
68985   glibcxx_cv_func__log10f_use=yes
68986 else
68987   echo "$as_me: failed program was:" >&5
68988 sed 's/^/| /' conftest.$ac_ext >&5
68989
68990         glibcxx_cv_func__log10f_use=no
68991 fi
68992
68993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68994       ac_ext=c
68995 ac_cpp='$CPP $CPPFLAGS'
68996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68999
69000
69001 fi
69002
69003   fi
69004   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
69005 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6; }
69006
69007     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
69008
69009 for ac_func in _log10f
69010 do
69011 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69012 { echo "$as_me:$LINENO: checking for $ac_func" >&5
69013 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
69014 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
69015   echo $ECHO_N "(cached) $ECHO_C" >&6
69016 else
69017   if test x$gcc_no_link = xyes; then
69018   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69019 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69020    { (exit 1); exit 1; }; }
69021 fi
69022 cat >conftest.$ac_ext <<_ACEOF
69023 /* confdefs.h.  */
69024 _ACEOF
69025 cat confdefs.h >>conftest.$ac_ext
69026 cat >>conftest.$ac_ext <<_ACEOF
69027 /* end confdefs.h.  */
69028 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69029    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69030 #define $ac_func innocuous_$ac_func
69031
69032 /* System header to define __stub macros and hopefully few prototypes,
69033     which can conflict with char $ac_func (); below.
69034     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69035     <limits.h> exists even on freestanding compilers.  */
69036
69037 #ifdef __STDC__
69038 # include <limits.h>
69039 #else
69040 # include <assert.h>
69041 #endif
69042
69043 #undef $ac_func
69044
69045 /* Override any GCC internal prototype to avoid an error.
69046    Use char because int might match the return type of a GCC
69047    builtin and then its argument prototype would still apply.  */
69048 #ifdef __cplusplus
69049 extern "C"
69050 #endif
69051 char $ac_func ();
69052 /* The GNU C library defines this for functions which it implements
69053     to always fail with ENOSYS.  Some functions are actually named
69054     something starting with __ and the normal name is an alias.  */
69055 #if defined __stub_$ac_func || defined __stub___$ac_func
69056 choke me
69057 #endif
69058
69059 int
69060 main ()
69061 {
69062 return $ac_func ();
69063   ;
69064   return 0;
69065 }
69066 _ACEOF
69067 rm -f conftest.$ac_objext conftest$ac_exeext
69068 if { (ac_try="$ac_link"
69069 case "(($ac_try" in
69070   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
69071   *) ac_try_echo=$ac_try;;
69072 esac
69073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
69074   (eval "$ac_link") 2>conftest.er1
69075   ac_status=$?
69076   grep -v '^ *+' conftest.er1 >conftest.err
69077   rm -f conftest.er1
69078   cat conftest.err >&5
69079   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69080   (exit $ac_status); } && {
69081          test -z "$ac_c_werror_flag" ||
69082          test ! -s conftest.err
69083        } && test -s conftest$ac_exeext &&
69084        $as_test_x conftest$ac_exeext; then
69085   eval "$as_ac_var=yes"
69086 else
69087   echo "$as_me: failed program was:" >&5
69088 sed 's/^/| /' conftest.$ac_ext >&5
69089
69090         eval "$as_ac_var=no"
69091 fi
69092
69093 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
69094       conftest$ac_exeext conftest.$ac_ext
69095 fi
69096 ac_res=`eval echo '${'$as_ac_var'}'`
69097                { echo "$as_me:$LINENO: result: $ac_res" >&5
69098 echo "${ECHO_T}$ac_res" >&6; }
69099 if test `eval echo '${'$as_ac_var'}'` = yes; then
69100   cat >>confdefs.h <<_ACEOF
69101 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69102 _ACEOF
69103
69104 fi
69105 done
69106
69107     fi
69108   fi
69109
69110
69111
69112
69113
69114
69115   { echo "$as_me:$LINENO: checking for modff declaration" >&5
69116 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6; }
69117   if test x${glibcxx_cv_func_modff_use+set} != xset; then
69118     if test "${glibcxx_cv_func_modff_use+set}" = set; then
69119   echo $ECHO_N "(cached) $ECHO_C" >&6
69120 else
69121
69122
69123       ac_ext=cpp
69124 ac_cpp='$CXXCPP $CPPFLAGS'
69125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69128
69129       cat >conftest.$ac_ext <<_ACEOF
69130 /* confdefs.h.  */
69131 _ACEOF
69132 cat confdefs.h >>conftest.$ac_ext
69133 cat >>conftest.$ac_ext <<_ACEOF
69134 /* end confdefs.h.  */
69135 #include <math.h>
69136 int
69137 main ()
69138 {
69139  modff(0, 0);
69140   ;
69141   return 0;
69142 }
69143 _ACEOF
69144 rm -f conftest.$ac_objext
69145 if { (ac_try="$ac_compile"
69146 case "(($ac_try" in
69147   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
69148   *) ac_try_echo=$ac_try;;
69149 esac
69150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
69151   (eval "$ac_compile") 2>conftest.er1
69152   ac_status=$?
69153   grep -v '^ *+' conftest.er1 >conftest.err
69154   rm -f conftest.er1
69155   cat conftest.err >&5
69156   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69157   (exit $ac_status); } && {
69158          test -z "$ac_cxx_werror_flag" ||
69159          test ! -s conftest.err
69160        } && test -s conftest.$ac_objext; then
69161   glibcxx_cv_func_modff_use=yes
69162 else
69163   echo "$as_me: failed program was:" >&5
69164 sed 's/^/| /' conftest.$ac_ext >&5
69165
69166         glibcxx_cv_func_modff_use=no
69167 fi
69168
69169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69170       ac_ext=c
69171 ac_cpp='$CPP $CPPFLAGS'
69172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69175
69176
69177 fi
69178
69179   fi
69180   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
69181 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6; }
69182
69183   if test x$glibcxx_cv_func_modff_use = x"yes"; then
69184
69185 for ac_func in modff
69186 do
69187 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69188 { echo "$as_me:$LINENO: checking for $ac_func" >&5
69189 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
69190 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
69191   echo $ECHO_N "(cached) $ECHO_C" >&6
69192 else
69193   if test x$gcc_no_link = xyes; then
69194   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69195 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69196    { (exit 1); exit 1; }; }
69197 fi
69198 cat >conftest.$ac_ext <<_ACEOF
69199 /* confdefs.h.  */
69200 _ACEOF
69201 cat confdefs.h >>conftest.$ac_ext
69202 cat >>conftest.$ac_ext <<_ACEOF
69203 /* end confdefs.h.  */
69204 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69205    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69206 #define $ac_func innocuous_$ac_func
69207
69208 /* System header to define __stub macros and hopefully few prototypes,
69209     which can conflict with char $ac_func (); below.
69210     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69211     <limits.h> exists even on freestanding compilers.  */
69212
69213 #ifdef __STDC__
69214 # include <limits.h>
69215 #else
69216 # include <assert.h>
69217 #endif
69218
69219 #undef $ac_func
69220
69221 /* Override any GCC internal prototype to avoid an error.
69222    Use char because int might match the return type of a GCC
69223    builtin and then its argument prototype would still apply.  */
69224 #ifdef __cplusplus
69225 extern "C"
69226 #endif
69227 char $ac_func ();
69228 /* The GNU C library defines this for functions which it implements
69229     to always fail with ENOSYS.  Some functions are actually named
69230     something starting with __ and the normal name is an alias.  */
69231 #if defined __stub_$ac_func || defined __stub___$ac_func
69232 choke me
69233 #endif
69234
69235 int
69236 main ()
69237 {
69238 return $ac_func ();
69239   ;
69240   return 0;
69241 }
69242 _ACEOF
69243 rm -f conftest.$ac_objext conftest$ac_exeext
69244 if { (ac_try="$ac_link"
69245 case "(($ac_try" in
69246   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
69247   *) ac_try_echo=$ac_try;;
69248 esac
69249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
69250   (eval "$ac_link") 2>conftest.er1
69251   ac_status=$?
69252   grep -v '^ *+' conftest.er1 >conftest.err
69253   rm -f conftest.er1
69254   cat conftest.err >&5
69255   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69256   (exit $ac_status); } && {
69257          test -z "$ac_c_werror_flag" ||
69258          test ! -s conftest.err
69259        } && test -s conftest$ac_exeext &&
69260        $as_test_x conftest$ac_exeext; then
69261   eval "$as_ac_var=yes"
69262 else
69263   echo "$as_me: failed program was:" >&5
69264 sed 's/^/| /' conftest.$ac_ext >&5
69265
69266         eval "$as_ac_var=no"
69267 fi
69268
69269 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
69270       conftest$ac_exeext conftest.$ac_ext
69271 fi
69272 ac_res=`eval echo '${'$as_ac_var'}'`
69273                { echo "$as_me:$LINENO: result: $ac_res" >&5
69274 echo "${ECHO_T}$ac_res" >&6; }
69275 if test `eval echo '${'$as_ac_var'}'` = yes; then
69276   cat >>confdefs.h <<_ACEOF
69277 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69278 _ACEOF
69279
69280 fi
69281 done
69282
69283   else
69284
69285   { echo "$as_me:$LINENO: checking for _modff declaration" >&5
69286 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6; }
69287   if test x${glibcxx_cv_func__modff_use+set} != xset; then
69288     if test "${glibcxx_cv_func__modff_use+set}" = set; then
69289   echo $ECHO_N "(cached) $ECHO_C" >&6
69290 else
69291
69292
69293       ac_ext=cpp
69294 ac_cpp='$CXXCPP $CPPFLAGS'
69295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69298
69299       cat >conftest.$ac_ext <<_ACEOF
69300 /* confdefs.h.  */
69301 _ACEOF
69302 cat confdefs.h >>conftest.$ac_ext
69303 cat >>conftest.$ac_ext <<_ACEOF
69304 /* end confdefs.h.  */
69305 #include <math.h>
69306 int
69307 main ()
69308 {
69309  _modff(0, 0);
69310   ;
69311   return 0;
69312 }
69313 _ACEOF
69314 rm -f conftest.$ac_objext
69315 if { (ac_try="$ac_compile"
69316 case "(($ac_try" in
69317   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
69318   *) ac_try_echo=$ac_try;;
69319 esac
69320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
69321   (eval "$ac_compile") 2>conftest.er1
69322   ac_status=$?
69323   grep -v '^ *+' conftest.er1 >conftest.err
69324   rm -f conftest.er1
69325   cat conftest.err >&5
69326   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69327   (exit $ac_status); } && {
69328          test -z "$ac_cxx_werror_flag" ||
69329          test ! -s conftest.err
69330        } && test -s conftest.$ac_objext; then
69331   glibcxx_cv_func__modff_use=yes
69332 else
69333   echo "$as_me: failed program was:" >&5
69334 sed 's/^/| /' conftest.$ac_ext >&5
69335
69336         glibcxx_cv_func__modff_use=no
69337 fi
69338
69339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69340       ac_ext=c
69341 ac_cpp='$CPP $CPPFLAGS'
69342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69345
69346
69347 fi
69348
69349   fi
69350   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
69351 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6; }
69352
69353     if test x$glibcxx_cv_func__modff_use = x"yes"; then
69354
69355 for ac_func in _modff
69356 do
69357 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69358 { echo "$as_me:$LINENO: checking for $ac_func" >&5
69359 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
69360 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
69361   echo $ECHO_N "(cached) $ECHO_C" >&6
69362 else
69363   if test x$gcc_no_link = xyes; then
69364   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69365 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69366    { (exit 1); exit 1; }; }
69367 fi
69368 cat >conftest.$ac_ext <<_ACEOF
69369 /* confdefs.h.  */
69370 _ACEOF
69371 cat confdefs.h >>conftest.$ac_ext
69372 cat >>conftest.$ac_ext <<_ACEOF
69373 /* end confdefs.h.  */
69374 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69375    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69376 #define $ac_func innocuous_$ac_func
69377
69378 /* System header to define __stub macros and hopefully few prototypes,
69379     which can conflict with char $ac_func (); below.
69380     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69381     <limits.h> exists even on freestanding compilers.  */
69382
69383 #ifdef __STDC__
69384 # include <limits.h>
69385 #else
69386 # include <assert.h>
69387 #endif
69388
69389 #undef $ac_func
69390
69391 /* Override any GCC internal prototype to avoid an error.
69392    Use char because int might match the return type of a GCC
69393    builtin and then its argument prototype would still apply.  */
69394 #ifdef __cplusplus
69395 extern "C"
69396 #endif
69397 char $ac_func ();
69398 /* The GNU C library defines this for functions which it implements
69399     to always fail with ENOSYS.  Some functions are actually named
69400     something starting with __ and the normal name is an alias.  */
69401 #if defined __stub_$ac_func || defined __stub___$ac_func
69402 choke me
69403 #endif
69404
69405 int
69406 main ()
69407 {
69408 return $ac_func ();
69409   ;
69410   return 0;
69411 }
69412 _ACEOF
69413 rm -f conftest.$ac_objext conftest$ac_exeext
69414 if { (ac_try="$ac_link"
69415 case "(($ac_try" in
69416   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
69417   *) ac_try_echo=$ac_try;;
69418 esac
69419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
69420   (eval "$ac_link") 2>conftest.er1
69421   ac_status=$?
69422   grep -v '^ *+' conftest.er1 >conftest.err
69423   rm -f conftest.er1
69424   cat conftest.err >&5
69425   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69426   (exit $ac_status); } && {
69427          test -z "$ac_c_werror_flag" ||
69428          test ! -s conftest.err
69429        } && test -s conftest$ac_exeext &&
69430        $as_test_x conftest$ac_exeext; then
69431   eval "$as_ac_var=yes"
69432 else
69433   echo "$as_me: failed program was:" >&5
69434 sed 's/^/| /' conftest.$ac_ext >&5
69435
69436         eval "$as_ac_var=no"
69437 fi
69438
69439 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
69440       conftest$ac_exeext conftest.$ac_ext
69441 fi
69442 ac_res=`eval echo '${'$as_ac_var'}'`
69443                { echo "$as_me:$LINENO: result: $ac_res" >&5
69444 echo "${ECHO_T}$ac_res" >&6; }
69445 if test `eval echo '${'$as_ac_var'}'` = yes; then
69446   cat >>confdefs.h <<_ACEOF
69447 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69448 _ACEOF
69449
69450 fi
69451 done
69452
69453     fi
69454   fi
69455
69456
69457
69458
69459
69460
69461   { echo "$as_me:$LINENO: checking for modf declaration" >&5
69462 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6; }
69463   if test x${glibcxx_cv_func_modf_use+set} != xset; then
69464     if test "${glibcxx_cv_func_modf_use+set}" = set; then
69465   echo $ECHO_N "(cached) $ECHO_C" >&6
69466 else
69467
69468
69469       ac_ext=cpp
69470 ac_cpp='$CXXCPP $CPPFLAGS'
69471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69474
69475       cat >conftest.$ac_ext <<_ACEOF
69476 /* confdefs.h.  */
69477 _ACEOF
69478 cat confdefs.h >>conftest.$ac_ext
69479 cat >>conftest.$ac_ext <<_ACEOF
69480 /* end confdefs.h.  */
69481 #include <math.h>
69482 int
69483 main ()
69484 {
69485  modf(0, 0);
69486   ;
69487   return 0;
69488 }
69489 _ACEOF
69490 rm -f conftest.$ac_objext
69491 if { (ac_try="$ac_compile"
69492 case "(($ac_try" in
69493   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
69494   *) ac_try_echo=$ac_try;;
69495 esac
69496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
69497   (eval "$ac_compile") 2>conftest.er1
69498   ac_status=$?
69499   grep -v '^ *+' conftest.er1 >conftest.err
69500   rm -f conftest.er1
69501   cat conftest.err >&5
69502   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69503   (exit $ac_status); } && {
69504          test -z "$ac_cxx_werror_flag" ||
69505          test ! -s conftest.err
69506        } && test -s conftest.$ac_objext; then
69507   glibcxx_cv_func_modf_use=yes
69508 else
69509   echo "$as_me: failed program was:" >&5
69510 sed 's/^/| /' conftest.$ac_ext >&5
69511
69512         glibcxx_cv_func_modf_use=no
69513 fi
69514
69515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69516       ac_ext=c
69517 ac_cpp='$CPP $CPPFLAGS'
69518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69521
69522
69523 fi
69524
69525   fi
69526   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
69527 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6; }
69528
69529   if test x$glibcxx_cv_func_modf_use = x"yes"; then
69530
69531 for ac_func in modf
69532 do
69533 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69534 { echo "$as_me:$LINENO: checking for $ac_func" >&5
69535 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
69536 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
69537   echo $ECHO_N "(cached) $ECHO_C" >&6
69538 else
69539   if test x$gcc_no_link = xyes; then
69540   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69541 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69542    { (exit 1); exit 1; }; }
69543 fi
69544 cat >conftest.$ac_ext <<_ACEOF
69545 /* confdefs.h.  */
69546 _ACEOF
69547 cat confdefs.h >>conftest.$ac_ext
69548 cat >>conftest.$ac_ext <<_ACEOF
69549 /* end confdefs.h.  */
69550 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69551    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69552 #define $ac_func innocuous_$ac_func
69553
69554 /* System header to define __stub macros and hopefully few prototypes,
69555     which can conflict with char $ac_func (); below.
69556     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69557     <limits.h> exists even on freestanding compilers.  */
69558
69559 #ifdef __STDC__
69560 # include <limits.h>
69561 #else
69562 # include <assert.h>
69563 #endif
69564
69565 #undef $ac_func
69566
69567 /* Override any GCC internal prototype to avoid an error.
69568    Use char because int might match the return type of a GCC
69569    builtin and then its argument prototype would still apply.  */
69570 #ifdef __cplusplus
69571 extern "C"
69572 #endif
69573 char $ac_func ();
69574 /* The GNU C library defines this for functions which it implements
69575     to always fail with ENOSYS.  Some functions are actually named
69576     something starting with __ and the normal name is an alias.  */
69577 #if defined __stub_$ac_func || defined __stub___$ac_func
69578 choke me
69579 #endif
69580
69581 int
69582 main ()
69583 {
69584 return $ac_func ();
69585   ;
69586   return 0;
69587 }
69588 _ACEOF
69589 rm -f conftest.$ac_objext conftest$ac_exeext
69590 if { (ac_try="$ac_link"
69591 case "(($ac_try" in
69592   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
69593   *) ac_try_echo=$ac_try;;
69594 esac
69595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
69596   (eval "$ac_link") 2>conftest.er1
69597   ac_status=$?
69598   grep -v '^ *+' conftest.er1 >conftest.err
69599   rm -f conftest.er1
69600   cat conftest.err >&5
69601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69602   (exit $ac_status); } && {
69603          test -z "$ac_c_werror_flag" ||
69604          test ! -s conftest.err
69605        } && test -s conftest$ac_exeext &&
69606        $as_test_x conftest$ac_exeext; then
69607   eval "$as_ac_var=yes"
69608 else
69609   echo "$as_me: failed program was:" >&5
69610 sed 's/^/| /' conftest.$ac_ext >&5
69611
69612         eval "$as_ac_var=no"
69613 fi
69614
69615 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
69616       conftest$ac_exeext conftest.$ac_ext
69617 fi
69618 ac_res=`eval echo '${'$as_ac_var'}'`
69619                { echo "$as_me:$LINENO: result: $ac_res" >&5
69620 echo "${ECHO_T}$ac_res" >&6; }
69621 if test `eval echo '${'$as_ac_var'}'` = yes; then
69622   cat >>confdefs.h <<_ACEOF
69623 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69624 _ACEOF
69625
69626 fi
69627 done
69628
69629   else
69630
69631   { echo "$as_me:$LINENO: checking for _modf declaration" >&5
69632 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6; }
69633   if test x${glibcxx_cv_func__modf_use+set} != xset; then
69634     if test "${glibcxx_cv_func__modf_use+set}" = set; then
69635   echo $ECHO_N "(cached) $ECHO_C" >&6
69636 else
69637
69638
69639       ac_ext=cpp
69640 ac_cpp='$CXXCPP $CPPFLAGS'
69641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69644
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 #include <math.h>
69652 int
69653 main ()
69654 {
69655  _modf(0, 0);
69656   ;
69657   return 0;
69658 }
69659 _ACEOF
69660 rm -f conftest.$ac_objext
69661 if { (ac_try="$ac_compile"
69662 case "(($ac_try" in
69663   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
69664   *) ac_try_echo=$ac_try;;
69665 esac
69666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
69667   (eval "$ac_compile") 2>conftest.er1
69668   ac_status=$?
69669   grep -v '^ *+' conftest.er1 >conftest.err
69670   rm -f conftest.er1
69671   cat conftest.err >&5
69672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69673   (exit $ac_status); } && {
69674          test -z "$ac_cxx_werror_flag" ||
69675          test ! -s conftest.err
69676        } && test -s conftest.$ac_objext; then
69677   glibcxx_cv_func__modf_use=yes
69678 else
69679   echo "$as_me: failed program was:" >&5
69680 sed 's/^/| /' conftest.$ac_ext >&5
69681
69682         glibcxx_cv_func__modf_use=no
69683 fi
69684
69685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69686       ac_ext=c
69687 ac_cpp='$CPP $CPPFLAGS'
69688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69691
69692
69693 fi
69694
69695   fi
69696   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
69697 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6; }
69698
69699     if test x$glibcxx_cv_func__modf_use = x"yes"; then
69700
69701 for ac_func in _modf
69702 do
69703 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69704 { echo "$as_me:$LINENO: checking for $ac_func" >&5
69705 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
69706 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
69707   echo $ECHO_N "(cached) $ECHO_C" >&6
69708 else
69709   if test x$gcc_no_link = xyes; then
69710   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69711 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69712    { (exit 1); exit 1; }; }
69713 fi
69714 cat >conftest.$ac_ext <<_ACEOF
69715 /* confdefs.h.  */
69716 _ACEOF
69717 cat confdefs.h >>conftest.$ac_ext
69718 cat >>conftest.$ac_ext <<_ACEOF
69719 /* end confdefs.h.  */
69720 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69721    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69722 #define $ac_func innocuous_$ac_func
69723
69724 /* System header to define __stub macros and hopefully few prototypes,
69725     which can conflict with char $ac_func (); below.
69726     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69727     <limits.h> exists even on freestanding compilers.  */
69728
69729 #ifdef __STDC__
69730 # include <limits.h>
69731 #else
69732 # include <assert.h>
69733 #endif
69734
69735 #undef $ac_func
69736
69737 /* Override any GCC internal prototype to avoid an error.
69738    Use char because int might match the return type of a GCC
69739    builtin and then its argument prototype would still apply.  */
69740 #ifdef __cplusplus
69741 extern "C"
69742 #endif
69743 char $ac_func ();
69744 /* The GNU C library defines this for functions which it implements
69745     to always fail with ENOSYS.  Some functions are actually named
69746     something starting with __ and the normal name is an alias.  */
69747 #if defined __stub_$ac_func || defined __stub___$ac_func
69748 choke me
69749 #endif
69750
69751 int
69752 main ()
69753 {
69754 return $ac_func ();
69755   ;
69756   return 0;
69757 }
69758 _ACEOF
69759 rm -f conftest.$ac_objext conftest$ac_exeext
69760 if { (ac_try="$ac_link"
69761 case "(($ac_try" in
69762   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
69763   *) ac_try_echo=$ac_try;;
69764 esac
69765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
69766   (eval "$ac_link") 2>conftest.er1
69767   ac_status=$?
69768   grep -v '^ *+' conftest.er1 >conftest.err
69769   rm -f conftest.er1
69770   cat conftest.err >&5
69771   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69772   (exit $ac_status); } && {
69773          test -z "$ac_c_werror_flag" ||
69774          test ! -s conftest.err
69775        } && test -s conftest$ac_exeext &&
69776        $as_test_x conftest$ac_exeext; then
69777   eval "$as_ac_var=yes"
69778 else
69779   echo "$as_me: failed program was:" >&5
69780 sed 's/^/| /' conftest.$ac_ext >&5
69781
69782         eval "$as_ac_var=no"
69783 fi
69784
69785 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
69786       conftest$ac_exeext conftest.$ac_ext
69787 fi
69788 ac_res=`eval echo '${'$as_ac_var'}'`
69789                { echo "$as_me:$LINENO: result: $ac_res" >&5
69790 echo "${ECHO_T}$ac_res" >&6; }
69791 if test `eval echo '${'$as_ac_var'}'` = yes; then
69792   cat >>confdefs.h <<_ACEOF
69793 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69794 _ACEOF
69795
69796 fi
69797 done
69798
69799     fi
69800   fi
69801
69802
69803
69804
69805
69806
69807   { echo "$as_me:$LINENO: checking for powf declaration" >&5
69808 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6; }
69809   if test x${glibcxx_cv_func_powf_use+set} != xset; then
69810     if test "${glibcxx_cv_func_powf_use+set}" = set; then
69811   echo $ECHO_N "(cached) $ECHO_C" >&6
69812 else
69813
69814
69815       ac_ext=cpp
69816 ac_cpp='$CXXCPP $CPPFLAGS'
69817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69820
69821       cat >conftest.$ac_ext <<_ACEOF
69822 /* confdefs.h.  */
69823 _ACEOF
69824 cat confdefs.h >>conftest.$ac_ext
69825 cat >>conftest.$ac_ext <<_ACEOF
69826 /* end confdefs.h.  */
69827 #include <math.h>
69828 int
69829 main ()
69830 {
69831  powf(0, 0);
69832   ;
69833   return 0;
69834 }
69835 _ACEOF
69836 rm -f conftest.$ac_objext
69837 if { (ac_try="$ac_compile"
69838 case "(($ac_try" in
69839   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
69840   *) ac_try_echo=$ac_try;;
69841 esac
69842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
69843   (eval "$ac_compile") 2>conftest.er1
69844   ac_status=$?
69845   grep -v '^ *+' conftest.er1 >conftest.err
69846   rm -f conftest.er1
69847   cat conftest.err >&5
69848   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69849   (exit $ac_status); } && {
69850          test -z "$ac_cxx_werror_flag" ||
69851          test ! -s conftest.err
69852        } && test -s conftest.$ac_objext; then
69853   glibcxx_cv_func_powf_use=yes
69854 else
69855   echo "$as_me: failed program was:" >&5
69856 sed 's/^/| /' conftest.$ac_ext >&5
69857
69858         glibcxx_cv_func_powf_use=no
69859 fi
69860
69861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69862       ac_ext=c
69863 ac_cpp='$CPP $CPPFLAGS'
69864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69867
69868
69869 fi
69870
69871   fi
69872   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
69873 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6; }
69874
69875   if test x$glibcxx_cv_func_powf_use = x"yes"; then
69876
69877 for ac_func in powf
69878 do
69879 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69880 { echo "$as_me:$LINENO: checking for $ac_func" >&5
69881 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
69882 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
69883   echo $ECHO_N "(cached) $ECHO_C" >&6
69884 else
69885   if test x$gcc_no_link = xyes; then
69886   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69887 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69888    { (exit 1); exit 1; }; }
69889 fi
69890 cat >conftest.$ac_ext <<_ACEOF
69891 /* confdefs.h.  */
69892 _ACEOF
69893 cat confdefs.h >>conftest.$ac_ext
69894 cat >>conftest.$ac_ext <<_ACEOF
69895 /* end confdefs.h.  */
69896 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69897    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69898 #define $ac_func innocuous_$ac_func
69899
69900 /* System header to define __stub macros and hopefully few prototypes,
69901     which can conflict with char $ac_func (); below.
69902     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69903     <limits.h> exists even on freestanding compilers.  */
69904
69905 #ifdef __STDC__
69906 # include <limits.h>
69907 #else
69908 # include <assert.h>
69909 #endif
69910
69911 #undef $ac_func
69912
69913 /* Override any GCC internal prototype to avoid an error.
69914    Use char because int might match the return type of a GCC
69915    builtin and then its argument prototype would still apply.  */
69916 #ifdef __cplusplus
69917 extern "C"
69918 #endif
69919 char $ac_func ();
69920 /* The GNU C library defines this for functions which it implements
69921     to always fail with ENOSYS.  Some functions are actually named
69922     something starting with __ and the normal name is an alias.  */
69923 #if defined __stub_$ac_func || defined __stub___$ac_func
69924 choke me
69925 #endif
69926
69927 int
69928 main ()
69929 {
69930 return $ac_func ();
69931   ;
69932   return 0;
69933 }
69934 _ACEOF
69935 rm -f conftest.$ac_objext conftest$ac_exeext
69936 if { (ac_try="$ac_link"
69937 case "(($ac_try" in
69938   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
69939   *) ac_try_echo=$ac_try;;
69940 esac
69941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
69942   (eval "$ac_link") 2>conftest.er1
69943   ac_status=$?
69944   grep -v '^ *+' conftest.er1 >conftest.err
69945   rm -f conftest.er1
69946   cat conftest.err >&5
69947   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69948   (exit $ac_status); } && {
69949          test -z "$ac_c_werror_flag" ||
69950          test ! -s conftest.err
69951        } && test -s conftest$ac_exeext &&
69952        $as_test_x conftest$ac_exeext; then
69953   eval "$as_ac_var=yes"
69954 else
69955   echo "$as_me: failed program was:" >&5
69956 sed 's/^/| /' conftest.$ac_ext >&5
69957
69958         eval "$as_ac_var=no"
69959 fi
69960
69961 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
69962       conftest$ac_exeext conftest.$ac_ext
69963 fi
69964 ac_res=`eval echo '${'$as_ac_var'}'`
69965                { echo "$as_me:$LINENO: result: $ac_res" >&5
69966 echo "${ECHO_T}$ac_res" >&6; }
69967 if test `eval echo '${'$as_ac_var'}'` = yes; then
69968   cat >>confdefs.h <<_ACEOF
69969 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69970 _ACEOF
69971
69972 fi
69973 done
69974
69975   else
69976
69977   { echo "$as_me:$LINENO: checking for _powf declaration" >&5
69978 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6; }
69979   if test x${glibcxx_cv_func__powf_use+set} != xset; then
69980     if test "${glibcxx_cv_func__powf_use+set}" = set; then
69981   echo $ECHO_N "(cached) $ECHO_C" >&6
69982 else
69983
69984
69985       ac_ext=cpp
69986 ac_cpp='$CXXCPP $CPPFLAGS'
69987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69990
69991       cat >conftest.$ac_ext <<_ACEOF
69992 /* confdefs.h.  */
69993 _ACEOF
69994 cat confdefs.h >>conftest.$ac_ext
69995 cat >>conftest.$ac_ext <<_ACEOF
69996 /* end confdefs.h.  */
69997 #include <math.h>
69998 int
69999 main ()
70000 {
70001  _powf(0, 0);
70002   ;
70003   return 0;
70004 }
70005 _ACEOF
70006 rm -f conftest.$ac_objext
70007 if { (ac_try="$ac_compile"
70008 case "(($ac_try" in
70009   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
70010   *) ac_try_echo=$ac_try;;
70011 esac
70012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
70013   (eval "$ac_compile") 2>conftest.er1
70014   ac_status=$?
70015   grep -v '^ *+' conftest.er1 >conftest.err
70016   rm -f conftest.er1
70017   cat conftest.err >&5
70018   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70019   (exit $ac_status); } && {
70020          test -z "$ac_cxx_werror_flag" ||
70021          test ! -s conftest.err
70022        } && test -s conftest.$ac_objext; then
70023   glibcxx_cv_func__powf_use=yes
70024 else
70025   echo "$as_me: failed program was:" >&5
70026 sed 's/^/| /' conftest.$ac_ext >&5
70027
70028         glibcxx_cv_func__powf_use=no
70029 fi
70030
70031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70032       ac_ext=c
70033 ac_cpp='$CPP $CPPFLAGS'
70034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70037
70038
70039 fi
70040
70041   fi
70042   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
70043 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6; }
70044
70045     if test x$glibcxx_cv_func__powf_use = x"yes"; then
70046
70047 for ac_func in _powf
70048 do
70049 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70050 { echo "$as_me:$LINENO: checking for $ac_func" >&5
70051 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
70052 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
70053   echo $ECHO_N "(cached) $ECHO_C" >&6
70054 else
70055   if test x$gcc_no_link = xyes; then
70056   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70057 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70058    { (exit 1); exit 1; }; }
70059 fi
70060 cat >conftest.$ac_ext <<_ACEOF
70061 /* confdefs.h.  */
70062 _ACEOF
70063 cat confdefs.h >>conftest.$ac_ext
70064 cat >>conftest.$ac_ext <<_ACEOF
70065 /* end confdefs.h.  */
70066 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70067    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70068 #define $ac_func innocuous_$ac_func
70069
70070 /* System header to define __stub macros and hopefully few prototypes,
70071     which can conflict with char $ac_func (); below.
70072     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70073     <limits.h> exists even on freestanding compilers.  */
70074
70075 #ifdef __STDC__
70076 # include <limits.h>
70077 #else
70078 # include <assert.h>
70079 #endif
70080
70081 #undef $ac_func
70082
70083 /* Override any GCC internal prototype to avoid an error.
70084    Use char because int might match the return type of a GCC
70085    builtin and then its argument prototype would still apply.  */
70086 #ifdef __cplusplus
70087 extern "C"
70088 #endif
70089 char $ac_func ();
70090 /* The GNU C library defines this for functions which it implements
70091     to always fail with ENOSYS.  Some functions are actually named
70092     something starting with __ and the normal name is an alias.  */
70093 #if defined __stub_$ac_func || defined __stub___$ac_func
70094 choke me
70095 #endif
70096
70097 int
70098 main ()
70099 {
70100 return $ac_func ();
70101   ;
70102   return 0;
70103 }
70104 _ACEOF
70105 rm -f conftest.$ac_objext conftest$ac_exeext
70106 if { (ac_try="$ac_link"
70107 case "(($ac_try" in
70108   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
70109   *) ac_try_echo=$ac_try;;
70110 esac
70111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
70112   (eval "$ac_link") 2>conftest.er1
70113   ac_status=$?
70114   grep -v '^ *+' conftest.er1 >conftest.err
70115   rm -f conftest.er1
70116   cat conftest.err >&5
70117   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70118   (exit $ac_status); } && {
70119          test -z "$ac_c_werror_flag" ||
70120          test ! -s conftest.err
70121        } && test -s conftest$ac_exeext &&
70122        $as_test_x conftest$ac_exeext; then
70123   eval "$as_ac_var=yes"
70124 else
70125   echo "$as_me: failed program was:" >&5
70126 sed 's/^/| /' conftest.$ac_ext >&5
70127
70128         eval "$as_ac_var=no"
70129 fi
70130
70131 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
70132       conftest$ac_exeext conftest.$ac_ext
70133 fi
70134 ac_res=`eval echo '${'$as_ac_var'}'`
70135                { echo "$as_me:$LINENO: result: $ac_res" >&5
70136 echo "${ECHO_T}$ac_res" >&6; }
70137 if test `eval echo '${'$as_ac_var'}'` = yes; then
70138   cat >>confdefs.h <<_ACEOF
70139 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70140 _ACEOF
70141
70142 fi
70143 done
70144
70145     fi
70146   fi
70147
70148
70149
70150
70151
70152
70153   { echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
70154 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6; }
70155   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
70156     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
70157   echo $ECHO_N "(cached) $ECHO_C" >&6
70158 else
70159
70160
70161       ac_ext=cpp
70162 ac_cpp='$CXXCPP $CPPFLAGS'
70163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70166
70167       cat >conftest.$ac_ext <<_ACEOF
70168 /* confdefs.h.  */
70169 _ACEOF
70170 cat confdefs.h >>conftest.$ac_ext
70171 cat >>conftest.$ac_ext <<_ACEOF
70172 /* end confdefs.h.  */
70173 #include <math.h>
70174                       #ifdef HAVE_IEEEFP_H
70175                       #include <ieeefp.h>
70176                       #endif
70177
70178 int
70179 main ()
70180 {
70181  sqrtf(0);
70182   ;
70183   return 0;
70184 }
70185 _ACEOF
70186 rm -f conftest.$ac_objext
70187 if { (ac_try="$ac_compile"
70188 case "(($ac_try" in
70189   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
70190   *) ac_try_echo=$ac_try;;
70191 esac
70192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
70193   (eval "$ac_compile") 2>conftest.er1
70194   ac_status=$?
70195   grep -v '^ *+' conftest.er1 >conftest.err
70196   rm -f conftest.er1
70197   cat conftest.err >&5
70198   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70199   (exit $ac_status); } && {
70200          test -z "$ac_cxx_werror_flag" ||
70201          test ! -s conftest.err
70202        } && test -s conftest.$ac_objext; then
70203   glibcxx_cv_func_sqrtf_use=yes
70204 else
70205   echo "$as_me: failed program was:" >&5
70206 sed 's/^/| /' conftest.$ac_ext >&5
70207
70208         glibcxx_cv_func_sqrtf_use=no
70209 fi
70210
70211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70212       ac_ext=c
70213 ac_cpp='$CPP $CPPFLAGS'
70214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70217
70218
70219 fi
70220
70221   fi
70222   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
70223 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6; }
70224
70225   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
70226
70227 for ac_func in sqrtf
70228 do
70229 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70230 { echo "$as_me:$LINENO: checking for $ac_func" >&5
70231 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
70232 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
70233   echo $ECHO_N "(cached) $ECHO_C" >&6
70234 else
70235   if test x$gcc_no_link = xyes; then
70236   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70237 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70238    { (exit 1); exit 1; }; }
70239 fi
70240 cat >conftest.$ac_ext <<_ACEOF
70241 /* confdefs.h.  */
70242 _ACEOF
70243 cat confdefs.h >>conftest.$ac_ext
70244 cat >>conftest.$ac_ext <<_ACEOF
70245 /* end confdefs.h.  */
70246 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70247    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70248 #define $ac_func innocuous_$ac_func
70249
70250 /* System header to define __stub macros and hopefully few prototypes,
70251     which can conflict with char $ac_func (); below.
70252     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70253     <limits.h> exists even on freestanding compilers.  */
70254
70255 #ifdef __STDC__
70256 # include <limits.h>
70257 #else
70258 # include <assert.h>
70259 #endif
70260
70261 #undef $ac_func
70262
70263 /* Override any GCC internal prototype to avoid an error.
70264    Use char because int might match the return type of a GCC
70265    builtin and then its argument prototype would still apply.  */
70266 #ifdef __cplusplus
70267 extern "C"
70268 #endif
70269 char $ac_func ();
70270 /* The GNU C library defines this for functions which it implements
70271     to always fail with ENOSYS.  Some functions are actually named
70272     something starting with __ and the normal name is an alias.  */
70273 #if defined __stub_$ac_func || defined __stub___$ac_func
70274 choke me
70275 #endif
70276
70277 int
70278 main ()
70279 {
70280 return $ac_func ();
70281   ;
70282   return 0;
70283 }
70284 _ACEOF
70285 rm -f conftest.$ac_objext conftest$ac_exeext
70286 if { (ac_try="$ac_link"
70287 case "(($ac_try" in
70288   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
70289   *) ac_try_echo=$ac_try;;
70290 esac
70291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
70292   (eval "$ac_link") 2>conftest.er1
70293   ac_status=$?
70294   grep -v '^ *+' conftest.er1 >conftest.err
70295   rm -f conftest.er1
70296   cat conftest.err >&5
70297   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70298   (exit $ac_status); } && {
70299          test -z "$ac_c_werror_flag" ||
70300          test ! -s conftest.err
70301        } && test -s conftest$ac_exeext &&
70302        $as_test_x conftest$ac_exeext; then
70303   eval "$as_ac_var=yes"
70304 else
70305   echo "$as_me: failed program was:" >&5
70306 sed 's/^/| /' conftest.$ac_ext >&5
70307
70308         eval "$as_ac_var=no"
70309 fi
70310
70311 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
70312       conftest$ac_exeext conftest.$ac_ext
70313 fi
70314 ac_res=`eval echo '${'$as_ac_var'}'`
70315                { echo "$as_me:$LINENO: result: $ac_res" >&5
70316 echo "${ECHO_T}$ac_res" >&6; }
70317 if test `eval echo '${'$as_ac_var'}'` = yes; then
70318   cat >>confdefs.h <<_ACEOF
70319 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70320 _ACEOF
70321
70322 fi
70323 done
70324
70325   else
70326
70327   { echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
70328 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6; }
70329   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
70330     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
70331   echo $ECHO_N "(cached) $ECHO_C" >&6
70332 else
70333
70334
70335       ac_ext=cpp
70336 ac_cpp='$CXXCPP $CPPFLAGS'
70337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70340
70341       cat >conftest.$ac_ext <<_ACEOF
70342 /* confdefs.h.  */
70343 _ACEOF
70344 cat confdefs.h >>conftest.$ac_ext
70345 cat >>conftest.$ac_ext <<_ACEOF
70346 /* end confdefs.h.  */
70347 #include <math.h>
70348                       #ifdef HAVE_IEEEFP_H
70349                       #include <ieeefp.h>
70350                       #endif
70351
70352 int
70353 main ()
70354 {
70355  _sqrtf(0);
70356   ;
70357   return 0;
70358 }
70359 _ACEOF
70360 rm -f conftest.$ac_objext
70361 if { (ac_try="$ac_compile"
70362 case "(($ac_try" in
70363   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
70364   *) ac_try_echo=$ac_try;;
70365 esac
70366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
70367   (eval "$ac_compile") 2>conftest.er1
70368   ac_status=$?
70369   grep -v '^ *+' conftest.er1 >conftest.err
70370   rm -f conftest.er1
70371   cat conftest.err >&5
70372   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70373   (exit $ac_status); } && {
70374          test -z "$ac_cxx_werror_flag" ||
70375          test ! -s conftest.err
70376        } && test -s conftest.$ac_objext; then
70377   glibcxx_cv_func__sqrtf_use=yes
70378 else
70379   echo "$as_me: failed program was:" >&5
70380 sed 's/^/| /' conftest.$ac_ext >&5
70381
70382         glibcxx_cv_func__sqrtf_use=no
70383 fi
70384
70385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70386       ac_ext=c
70387 ac_cpp='$CPP $CPPFLAGS'
70388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70391
70392
70393 fi
70394
70395   fi
70396   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
70397 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6; }
70398
70399     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
70400
70401 for ac_func in _sqrtf
70402 do
70403 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70404 { echo "$as_me:$LINENO: checking for $ac_func" >&5
70405 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
70406 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
70407   echo $ECHO_N "(cached) $ECHO_C" >&6
70408 else
70409   if test x$gcc_no_link = xyes; then
70410   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70411 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70412    { (exit 1); exit 1; }; }
70413 fi
70414 cat >conftest.$ac_ext <<_ACEOF
70415 /* confdefs.h.  */
70416 _ACEOF
70417 cat confdefs.h >>conftest.$ac_ext
70418 cat >>conftest.$ac_ext <<_ACEOF
70419 /* end confdefs.h.  */
70420 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70421    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70422 #define $ac_func innocuous_$ac_func
70423
70424 /* System header to define __stub macros and hopefully few prototypes,
70425     which can conflict with char $ac_func (); below.
70426     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70427     <limits.h> exists even on freestanding compilers.  */
70428
70429 #ifdef __STDC__
70430 # include <limits.h>
70431 #else
70432 # include <assert.h>
70433 #endif
70434
70435 #undef $ac_func
70436
70437 /* Override any GCC internal prototype to avoid an error.
70438    Use char because int might match the return type of a GCC
70439    builtin and then its argument prototype would still apply.  */
70440 #ifdef __cplusplus
70441 extern "C"
70442 #endif
70443 char $ac_func ();
70444 /* The GNU C library defines this for functions which it implements
70445     to always fail with ENOSYS.  Some functions are actually named
70446     something starting with __ and the normal name is an alias.  */
70447 #if defined __stub_$ac_func || defined __stub___$ac_func
70448 choke me
70449 #endif
70450
70451 int
70452 main ()
70453 {
70454 return $ac_func ();
70455   ;
70456   return 0;
70457 }
70458 _ACEOF
70459 rm -f conftest.$ac_objext conftest$ac_exeext
70460 if { (ac_try="$ac_link"
70461 case "(($ac_try" in
70462   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
70463   *) ac_try_echo=$ac_try;;
70464 esac
70465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
70466   (eval "$ac_link") 2>conftest.er1
70467   ac_status=$?
70468   grep -v '^ *+' conftest.er1 >conftest.err
70469   rm -f conftest.er1
70470   cat conftest.err >&5
70471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70472   (exit $ac_status); } && {
70473          test -z "$ac_c_werror_flag" ||
70474          test ! -s conftest.err
70475        } && test -s conftest$ac_exeext &&
70476        $as_test_x conftest$ac_exeext; then
70477   eval "$as_ac_var=yes"
70478 else
70479   echo "$as_me: failed program was:" >&5
70480 sed 's/^/| /' conftest.$ac_ext >&5
70481
70482         eval "$as_ac_var=no"
70483 fi
70484
70485 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
70486       conftest$ac_exeext conftest.$ac_ext
70487 fi
70488 ac_res=`eval echo '${'$as_ac_var'}'`
70489                { echo "$as_me:$LINENO: result: $ac_res" >&5
70490 echo "${ECHO_T}$ac_res" >&6; }
70491 if test `eval echo '${'$as_ac_var'}'` = yes; then
70492   cat >>confdefs.h <<_ACEOF
70493 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70494 _ACEOF
70495
70496 fi
70497 done
70498
70499     fi
70500   fi
70501
70502
70503
70504
70505
70506
70507   { echo "$as_me:$LINENO: checking for sincosf declaration" >&5
70508 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6; }
70509   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
70510     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
70511   echo $ECHO_N "(cached) $ECHO_C" >&6
70512 else
70513
70514
70515       ac_ext=cpp
70516 ac_cpp='$CXXCPP $CPPFLAGS'
70517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70520
70521       cat >conftest.$ac_ext <<_ACEOF
70522 /* confdefs.h.  */
70523 _ACEOF
70524 cat confdefs.h >>conftest.$ac_ext
70525 cat >>conftest.$ac_ext <<_ACEOF
70526 /* end confdefs.h.  */
70527 #include <math.h>
70528 int
70529 main ()
70530 {
70531  sincosf(0, 0, 0);
70532   ;
70533   return 0;
70534 }
70535 _ACEOF
70536 rm -f conftest.$ac_objext
70537 if { (ac_try="$ac_compile"
70538 case "(($ac_try" in
70539   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
70540   *) ac_try_echo=$ac_try;;
70541 esac
70542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
70543   (eval "$ac_compile") 2>conftest.er1
70544   ac_status=$?
70545   grep -v '^ *+' conftest.er1 >conftest.err
70546   rm -f conftest.er1
70547   cat conftest.err >&5
70548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70549   (exit $ac_status); } && {
70550          test -z "$ac_cxx_werror_flag" ||
70551          test ! -s conftest.err
70552        } && test -s conftest.$ac_objext; then
70553   glibcxx_cv_func_sincosf_use=yes
70554 else
70555   echo "$as_me: failed program was:" >&5
70556 sed 's/^/| /' conftest.$ac_ext >&5
70557
70558         glibcxx_cv_func_sincosf_use=no
70559 fi
70560
70561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70562       ac_ext=c
70563 ac_cpp='$CPP $CPPFLAGS'
70564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70567
70568
70569 fi
70570
70571   fi
70572   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
70573 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6; }
70574
70575   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
70576
70577 for ac_func in sincosf
70578 do
70579 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70580 { echo "$as_me:$LINENO: checking for $ac_func" >&5
70581 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
70582 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
70583   echo $ECHO_N "(cached) $ECHO_C" >&6
70584 else
70585   if test x$gcc_no_link = xyes; then
70586   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70587 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70588    { (exit 1); exit 1; }; }
70589 fi
70590 cat >conftest.$ac_ext <<_ACEOF
70591 /* confdefs.h.  */
70592 _ACEOF
70593 cat confdefs.h >>conftest.$ac_ext
70594 cat >>conftest.$ac_ext <<_ACEOF
70595 /* end confdefs.h.  */
70596 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70597    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70598 #define $ac_func innocuous_$ac_func
70599
70600 /* System header to define __stub macros and hopefully few prototypes,
70601     which can conflict with char $ac_func (); below.
70602     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70603     <limits.h> exists even on freestanding compilers.  */
70604
70605 #ifdef __STDC__
70606 # include <limits.h>
70607 #else
70608 # include <assert.h>
70609 #endif
70610
70611 #undef $ac_func
70612
70613 /* Override any GCC internal prototype to avoid an error.
70614    Use char because int might match the return type of a GCC
70615    builtin and then its argument prototype would still apply.  */
70616 #ifdef __cplusplus
70617 extern "C"
70618 #endif
70619 char $ac_func ();
70620 /* The GNU C library defines this for functions which it implements
70621     to always fail with ENOSYS.  Some functions are actually named
70622     something starting with __ and the normal name is an alias.  */
70623 #if defined __stub_$ac_func || defined __stub___$ac_func
70624 choke me
70625 #endif
70626
70627 int
70628 main ()
70629 {
70630 return $ac_func ();
70631   ;
70632   return 0;
70633 }
70634 _ACEOF
70635 rm -f conftest.$ac_objext conftest$ac_exeext
70636 if { (ac_try="$ac_link"
70637 case "(($ac_try" in
70638   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
70639   *) ac_try_echo=$ac_try;;
70640 esac
70641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
70642   (eval "$ac_link") 2>conftest.er1
70643   ac_status=$?
70644   grep -v '^ *+' conftest.er1 >conftest.err
70645   rm -f conftest.er1
70646   cat conftest.err >&5
70647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70648   (exit $ac_status); } && {
70649          test -z "$ac_c_werror_flag" ||
70650          test ! -s conftest.err
70651        } && test -s conftest$ac_exeext &&
70652        $as_test_x conftest$ac_exeext; then
70653   eval "$as_ac_var=yes"
70654 else
70655   echo "$as_me: failed program was:" >&5
70656 sed 's/^/| /' conftest.$ac_ext >&5
70657
70658         eval "$as_ac_var=no"
70659 fi
70660
70661 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
70662       conftest$ac_exeext conftest.$ac_ext
70663 fi
70664 ac_res=`eval echo '${'$as_ac_var'}'`
70665                { echo "$as_me:$LINENO: result: $ac_res" >&5
70666 echo "${ECHO_T}$ac_res" >&6; }
70667 if test `eval echo '${'$as_ac_var'}'` = yes; then
70668   cat >>confdefs.h <<_ACEOF
70669 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70670 _ACEOF
70671
70672 fi
70673 done
70674
70675   else
70676
70677   { echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
70678 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6; }
70679   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
70680     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
70681   echo $ECHO_N "(cached) $ECHO_C" >&6
70682 else
70683
70684
70685       ac_ext=cpp
70686 ac_cpp='$CXXCPP $CPPFLAGS'
70687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70690
70691       cat >conftest.$ac_ext <<_ACEOF
70692 /* confdefs.h.  */
70693 _ACEOF
70694 cat confdefs.h >>conftest.$ac_ext
70695 cat >>conftest.$ac_ext <<_ACEOF
70696 /* end confdefs.h.  */
70697 #include <math.h>
70698 int
70699 main ()
70700 {
70701  _sincosf(0, 0, 0);
70702   ;
70703   return 0;
70704 }
70705 _ACEOF
70706 rm -f conftest.$ac_objext
70707 if { (ac_try="$ac_compile"
70708 case "(($ac_try" in
70709   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
70710   *) ac_try_echo=$ac_try;;
70711 esac
70712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
70713   (eval "$ac_compile") 2>conftest.er1
70714   ac_status=$?
70715   grep -v '^ *+' conftest.er1 >conftest.err
70716   rm -f conftest.er1
70717   cat conftest.err >&5
70718   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70719   (exit $ac_status); } && {
70720          test -z "$ac_cxx_werror_flag" ||
70721          test ! -s conftest.err
70722        } && test -s conftest.$ac_objext; then
70723   glibcxx_cv_func__sincosf_use=yes
70724 else
70725   echo "$as_me: failed program was:" >&5
70726 sed 's/^/| /' conftest.$ac_ext >&5
70727
70728         glibcxx_cv_func__sincosf_use=no
70729 fi
70730
70731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70732       ac_ext=c
70733 ac_cpp='$CPP $CPPFLAGS'
70734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70737
70738
70739 fi
70740
70741   fi
70742   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
70743 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6; }
70744
70745     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
70746
70747 for ac_func in _sincosf
70748 do
70749 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70750 { echo "$as_me:$LINENO: checking for $ac_func" >&5
70751 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
70752 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
70753   echo $ECHO_N "(cached) $ECHO_C" >&6
70754 else
70755   if test x$gcc_no_link = xyes; then
70756   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70757 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70758    { (exit 1); exit 1; }; }
70759 fi
70760 cat >conftest.$ac_ext <<_ACEOF
70761 /* confdefs.h.  */
70762 _ACEOF
70763 cat confdefs.h >>conftest.$ac_ext
70764 cat >>conftest.$ac_ext <<_ACEOF
70765 /* end confdefs.h.  */
70766 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70767    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70768 #define $ac_func innocuous_$ac_func
70769
70770 /* System header to define __stub macros and hopefully few prototypes,
70771     which can conflict with char $ac_func (); below.
70772     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70773     <limits.h> exists even on freestanding compilers.  */
70774
70775 #ifdef __STDC__
70776 # include <limits.h>
70777 #else
70778 # include <assert.h>
70779 #endif
70780
70781 #undef $ac_func
70782
70783 /* Override any GCC internal prototype to avoid an error.
70784    Use char because int might match the return type of a GCC
70785    builtin and then its argument prototype would still apply.  */
70786 #ifdef __cplusplus
70787 extern "C"
70788 #endif
70789 char $ac_func ();
70790 /* The GNU C library defines this for functions which it implements
70791     to always fail with ENOSYS.  Some functions are actually named
70792     something starting with __ and the normal name is an alias.  */
70793 #if defined __stub_$ac_func || defined __stub___$ac_func
70794 choke me
70795 #endif
70796
70797 int
70798 main ()
70799 {
70800 return $ac_func ();
70801   ;
70802   return 0;
70803 }
70804 _ACEOF
70805 rm -f conftest.$ac_objext conftest$ac_exeext
70806 if { (ac_try="$ac_link"
70807 case "(($ac_try" in
70808   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
70809   *) ac_try_echo=$ac_try;;
70810 esac
70811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
70812   (eval "$ac_link") 2>conftest.er1
70813   ac_status=$?
70814   grep -v '^ *+' conftest.er1 >conftest.err
70815   rm -f conftest.er1
70816   cat conftest.err >&5
70817   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70818   (exit $ac_status); } && {
70819          test -z "$ac_c_werror_flag" ||
70820          test ! -s conftest.err
70821        } && test -s conftest$ac_exeext &&
70822        $as_test_x conftest$ac_exeext; then
70823   eval "$as_ac_var=yes"
70824 else
70825   echo "$as_me: failed program was:" >&5
70826 sed 's/^/| /' conftest.$ac_ext >&5
70827
70828         eval "$as_ac_var=no"
70829 fi
70830
70831 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
70832       conftest$ac_exeext conftest.$ac_ext
70833 fi
70834 ac_res=`eval echo '${'$as_ac_var'}'`
70835                { echo "$as_me:$LINENO: result: $ac_res" >&5
70836 echo "${ECHO_T}$ac_res" >&6; }
70837 if test `eval echo '${'$as_ac_var'}'` = yes; then
70838   cat >>confdefs.h <<_ACEOF
70839 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70840 _ACEOF
70841
70842 fi
70843 done
70844
70845     fi
70846   fi
70847
70848
70849
70850
70851
70852
70853   { echo "$as_me:$LINENO: checking for finitef declaration" >&5
70854 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6; }
70855   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
70856     if test "${glibcxx_cv_func_finitef_use+set}" = set; then
70857   echo $ECHO_N "(cached) $ECHO_C" >&6
70858 else
70859
70860
70861       ac_ext=cpp
70862 ac_cpp='$CXXCPP $CPPFLAGS'
70863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70866
70867       cat >conftest.$ac_ext <<_ACEOF
70868 /* confdefs.h.  */
70869 _ACEOF
70870 cat confdefs.h >>conftest.$ac_ext
70871 cat >>conftest.$ac_ext <<_ACEOF
70872 /* end confdefs.h.  */
70873 #include <math.h>
70874                       #ifdef HAVE_IEEEFP_H
70875                       #include <ieeefp.h>
70876                       #endif
70877
70878 int
70879 main ()
70880 {
70881  finitef(0);
70882   ;
70883   return 0;
70884 }
70885 _ACEOF
70886 rm -f conftest.$ac_objext
70887 if { (ac_try="$ac_compile"
70888 case "(($ac_try" in
70889   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
70890   *) ac_try_echo=$ac_try;;
70891 esac
70892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
70893   (eval "$ac_compile") 2>conftest.er1
70894   ac_status=$?
70895   grep -v '^ *+' conftest.er1 >conftest.err
70896   rm -f conftest.er1
70897   cat conftest.err >&5
70898   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70899   (exit $ac_status); } && {
70900          test -z "$ac_cxx_werror_flag" ||
70901          test ! -s conftest.err
70902        } && test -s conftest.$ac_objext; then
70903   glibcxx_cv_func_finitef_use=yes
70904 else
70905   echo "$as_me: failed program was:" >&5
70906 sed 's/^/| /' conftest.$ac_ext >&5
70907
70908         glibcxx_cv_func_finitef_use=no
70909 fi
70910
70911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70912       ac_ext=c
70913 ac_cpp='$CPP $CPPFLAGS'
70914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70917
70918
70919 fi
70920
70921   fi
70922   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
70923 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6; }
70924
70925   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
70926
70927 for ac_func in finitef
70928 do
70929 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70930 { echo "$as_me:$LINENO: checking for $ac_func" >&5
70931 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
70932 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
70933   echo $ECHO_N "(cached) $ECHO_C" >&6
70934 else
70935   if test x$gcc_no_link = xyes; then
70936   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70937 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70938    { (exit 1); exit 1; }; }
70939 fi
70940 cat >conftest.$ac_ext <<_ACEOF
70941 /* confdefs.h.  */
70942 _ACEOF
70943 cat confdefs.h >>conftest.$ac_ext
70944 cat >>conftest.$ac_ext <<_ACEOF
70945 /* end confdefs.h.  */
70946 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70947    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70948 #define $ac_func innocuous_$ac_func
70949
70950 /* System header to define __stub macros and hopefully few prototypes,
70951     which can conflict with char $ac_func (); below.
70952     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70953     <limits.h> exists even on freestanding compilers.  */
70954
70955 #ifdef __STDC__
70956 # include <limits.h>
70957 #else
70958 # include <assert.h>
70959 #endif
70960
70961 #undef $ac_func
70962
70963 /* Override any GCC internal prototype to avoid an error.
70964    Use char because int might match the return type of a GCC
70965    builtin and then its argument prototype would still apply.  */
70966 #ifdef __cplusplus
70967 extern "C"
70968 #endif
70969 char $ac_func ();
70970 /* The GNU C library defines this for functions which it implements
70971     to always fail with ENOSYS.  Some functions are actually named
70972     something starting with __ and the normal name is an alias.  */
70973 #if defined __stub_$ac_func || defined __stub___$ac_func
70974 choke me
70975 #endif
70976
70977 int
70978 main ()
70979 {
70980 return $ac_func ();
70981   ;
70982   return 0;
70983 }
70984 _ACEOF
70985 rm -f conftest.$ac_objext conftest$ac_exeext
70986 if { (ac_try="$ac_link"
70987 case "(($ac_try" in
70988   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
70989   *) ac_try_echo=$ac_try;;
70990 esac
70991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
70992   (eval "$ac_link") 2>conftest.er1
70993   ac_status=$?
70994   grep -v '^ *+' conftest.er1 >conftest.err
70995   rm -f conftest.er1
70996   cat conftest.err >&5
70997   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70998   (exit $ac_status); } && {
70999          test -z "$ac_c_werror_flag" ||
71000          test ! -s conftest.err
71001        } && test -s conftest$ac_exeext &&
71002        $as_test_x conftest$ac_exeext; then
71003   eval "$as_ac_var=yes"
71004 else
71005   echo "$as_me: failed program was:" >&5
71006 sed 's/^/| /' conftest.$ac_ext >&5
71007
71008         eval "$as_ac_var=no"
71009 fi
71010
71011 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
71012       conftest$ac_exeext conftest.$ac_ext
71013 fi
71014 ac_res=`eval echo '${'$as_ac_var'}'`
71015                { echo "$as_me:$LINENO: result: $ac_res" >&5
71016 echo "${ECHO_T}$ac_res" >&6; }
71017 if test `eval echo '${'$as_ac_var'}'` = yes; then
71018   cat >>confdefs.h <<_ACEOF
71019 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71020 _ACEOF
71021
71022 fi
71023 done
71024
71025   else
71026
71027   { echo "$as_me:$LINENO: checking for _finitef declaration" >&5
71028 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6; }
71029   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
71030     if test "${glibcxx_cv_func__finitef_use+set}" = set; then
71031   echo $ECHO_N "(cached) $ECHO_C" >&6
71032 else
71033
71034
71035       ac_ext=cpp
71036 ac_cpp='$CXXCPP $CPPFLAGS'
71037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71040
71041       cat >conftest.$ac_ext <<_ACEOF
71042 /* confdefs.h.  */
71043 _ACEOF
71044 cat confdefs.h >>conftest.$ac_ext
71045 cat >>conftest.$ac_ext <<_ACEOF
71046 /* end confdefs.h.  */
71047 #include <math.h>
71048                       #ifdef HAVE_IEEEFP_H
71049                       #include <ieeefp.h>
71050                       #endif
71051
71052 int
71053 main ()
71054 {
71055  _finitef(0);
71056   ;
71057   return 0;
71058 }
71059 _ACEOF
71060 rm -f conftest.$ac_objext
71061 if { (ac_try="$ac_compile"
71062 case "(($ac_try" in
71063   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
71064   *) ac_try_echo=$ac_try;;
71065 esac
71066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
71067   (eval "$ac_compile") 2>conftest.er1
71068   ac_status=$?
71069   grep -v '^ *+' conftest.er1 >conftest.err
71070   rm -f conftest.er1
71071   cat conftest.err >&5
71072   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71073   (exit $ac_status); } && {
71074          test -z "$ac_cxx_werror_flag" ||
71075          test ! -s conftest.err
71076        } && test -s conftest.$ac_objext; then
71077   glibcxx_cv_func__finitef_use=yes
71078 else
71079   echo "$as_me: failed program was:" >&5
71080 sed 's/^/| /' conftest.$ac_ext >&5
71081
71082         glibcxx_cv_func__finitef_use=no
71083 fi
71084
71085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71086       ac_ext=c
71087 ac_cpp='$CPP $CPPFLAGS'
71088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71091
71092
71093 fi
71094
71095   fi
71096   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
71097 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6; }
71098
71099     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
71100
71101 for ac_func in _finitef
71102 do
71103 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71104 { echo "$as_me:$LINENO: checking for $ac_func" >&5
71105 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
71106 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
71107   echo $ECHO_N "(cached) $ECHO_C" >&6
71108 else
71109   if test x$gcc_no_link = xyes; then
71110   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71111 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71112    { (exit 1); exit 1; }; }
71113 fi
71114 cat >conftest.$ac_ext <<_ACEOF
71115 /* confdefs.h.  */
71116 _ACEOF
71117 cat confdefs.h >>conftest.$ac_ext
71118 cat >>conftest.$ac_ext <<_ACEOF
71119 /* end confdefs.h.  */
71120 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71121    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
71122 #define $ac_func innocuous_$ac_func
71123
71124 /* System header to define __stub macros and hopefully few prototypes,
71125     which can conflict with char $ac_func (); below.
71126     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71127     <limits.h> exists even on freestanding compilers.  */
71128
71129 #ifdef __STDC__
71130 # include <limits.h>
71131 #else
71132 # include <assert.h>
71133 #endif
71134
71135 #undef $ac_func
71136
71137 /* Override any GCC internal prototype to avoid an error.
71138    Use char because int might match the return type of a GCC
71139    builtin and then its argument prototype would still apply.  */
71140 #ifdef __cplusplus
71141 extern "C"
71142 #endif
71143 char $ac_func ();
71144 /* The GNU C library defines this for functions which it implements
71145     to always fail with ENOSYS.  Some functions are actually named
71146     something starting with __ and the normal name is an alias.  */
71147 #if defined __stub_$ac_func || defined __stub___$ac_func
71148 choke me
71149 #endif
71150
71151 int
71152 main ()
71153 {
71154 return $ac_func ();
71155   ;
71156   return 0;
71157 }
71158 _ACEOF
71159 rm -f conftest.$ac_objext conftest$ac_exeext
71160 if { (ac_try="$ac_link"
71161 case "(($ac_try" in
71162   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
71163   *) ac_try_echo=$ac_try;;
71164 esac
71165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
71166   (eval "$ac_link") 2>conftest.er1
71167   ac_status=$?
71168   grep -v '^ *+' conftest.er1 >conftest.err
71169   rm -f conftest.er1
71170   cat conftest.err >&5
71171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71172   (exit $ac_status); } && {
71173          test -z "$ac_c_werror_flag" ||
71174          test ! -s conftest.err
71175        } && test -s conftest$ac_exeext &&
71176        $as_test_x conftest$ac_exeext; then
71177   eval "$as_ac_var=yes"
71178 else
71179   echo "$as_me: failed program was:" >&5
71180 sed 's/^/| /' conftest.$ac_ext >&5
71181
71182         eval "$as_ac_var=no"
71183 fi
71184
71185 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
71186       conftest$ac_exeext conftest.$ac_ext
71187 fi
71188 ac_res=`eval echo '${'$as_ac_var'}'`
71189                { echo "$as_me:$LINENO: result: $ac_res" >&5
71190 echo "${ECHO_T}$ac_res" >&6; }
71191 if test `eval echo '${'$as_ac_var'}'` = yes; then
71192   cat >>confdefs.h <<_ACEOF
71193 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71194 _ACEOF
71195
71196 fi
71197 done
71198
71199     fi
71200   fi
71201
71202
71203
71204
71205
71206
71207     { echo "$as_me:$LINENO: checking for long double trig functions" >&5
71208 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6; }
71209   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
71210   echo $ECHO_N "(cached) $ECHO_C" >&6
71211 else
71212
71213
71214     ac_ext=cpp
71215 ac_cpp='$CXXCPP $CPPFLAGS'
71216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71219
71220     cat >conftest.$ac_ext <<_ACEOF
71221 /* confdefs.h.  */
71222 _ACEOF
71223 cat confdefs.h >>conftest.$ac_ext
71224 cat >>conftest.$ac_ext <<_ACEOF
71225 /* end confdefs.h.  */
71226 #include <math.h>
71227 int
71228 main ()
71229 {
71230 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
71231   ;
71232   return 0;
71233 }
71234 _ACEOF
71235 rm -f conftest.$ac_objext
71236 if { (ac_try="$ac_compile"
71237 case "(($ac_try" in
71238   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
71239   *) ac_try_echo=$ac_try;;
71240 esac
71241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
71242   (eval "$ac_compile") 2>conftest.er1
71243   ac_status=$?
71244   grep -v '^ *+' conftest.er1 >conftest.err
71245   rm -f conftest.er1
71246   cat conftest.err >&5
71247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71248   (exit $ac_status); } && {
71249          test -z "$ac_cxx_werror_flag" ||
71250          test ! -s conftest.err
71251        } && test -s conftest.$ac_objext; then
71252   glibcxx_cv_func_long_double_trig_use=yes
71253 else
71254   echo "$as_me: failed program was:" >&5
71255 sed 's/^/| /' conftest.$ac_ext >&5
71256
71257         glibcxx_cv_func_long_double_trig_use=no
71258 fi
71259
71260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71261     ac_ext=c
71262 ac_cpp='$CPP $CPPFLAGS'
71263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71266
71267 fi
71268
71269   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
71270 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6; }
71271   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
71272
71273
71274
71275
71276
71277
71278
71279
71280
71281 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
71282 do
71283 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71284 { echo "$as_me:$LINENO: checking for $ac_func" >&5
71285 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
71286 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
71287   echo $ECHO_N "(cached) $ECHO_C" >&6
71288 else
71289   if test x$gcc_no_link = xyes; then
71290   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71291 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71292    { (exit 1); exit 1; }; }
71293 fi
71294 cat >conftest.$ac_ext <<_ACEOF
71295 /* confdefs.h.  */
71296 _ACEOF
71297 cat confdefs.h >>conftest.$ac_ext
71298 cat >>conftest.$ac_ext <<_ACEOF
71299 /* end confdefs.h.  */
71300 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71301    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
71302 #define $ac_func innocuous_$ac_func
71303
71304 /* System header to define __stub macros and hopefully few prototypes,
71305     which can conflict with char $ac_func (); below.
71306     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71307     <limits.h> exists even on freestanding compilers.  */
71308
71309 #ifdef __STDC__
71310 # include <limits.h>
71311 #else
71312 # include <assert.h>
71313 #endif
71314
71315 #undef $ac_func
71316
71317 /* Override any GCC internal prototype to avoid an error.
71318    Use char because int might match the return type of a GCC
71319    builtin and then its argument prototype would still apply.  */
71320 #ifdef __cplusplus
71321 extern "C"
71322 #endif
71323 char $ac_func ();
71324 /* The GNU C library defines this for functions which it implements
71325     to always fail with ENOSYS.  Some functions are actually named
71326     something starting with __ and the normal name is an alias.  */
71327 #if defined __stub_$ac_func || defined __stub___$ac_func
71328 choke me
71329 #endif
71330
71331 int
71332 main ()
71333 {
71334 return $ac_func ();
71335   ;
71336   return 0;
71337 }
71338 _ACEOF
71339 rm -f conftest.$ac_objext conftest$ac_exeext
71340 if { (ac_try="$ac_link"
71341 case "(($ac_try" in
71342   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
71343   *) ac_try_echo=$ac_try;;
71344 esac
71345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
71346   (eval "$ac_link") 2>conftest.er1
71347   ac_status=$?
71348   grep -v '^ *+' conftest.er1 >conftest.err
71349   rm -f conftest.er1
71350   cat conftest.err >&5
71351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71352   (exit $ac_status); } && {
71353          test -z "$ac_c_werror_flag" ||
71354          test ! -s conftest.err
71355        } && test -s conftest$ac_exeext &&
71356        $as_test_x conftest$ac_exeext; then
71357   eval "$as_ac_var=yes"
71358 else
71359   echo "$as_me: failed program was:" >&5
71360 sed 's/^/| /' conftest.$ac_ext >&5
71361
71362         eval "$as_ac_var=no"
71363 fi
71364
71365 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
71366       conftest$ac_exeext conftest.$ac_ext
71367 fi
71368 ac_res=`eval echo '${'$as_ac_var'}'`
71369                { echo "$as_me:$LINENO: result: $ac_res" >&5
71370 echo "${ECHO_T}$ac_res" >&6; }
71371 if test `eval echo '${'$as_ac_var'}'` = yes; then
71372   cat >>confdefs.h <<_ACEOF
71373 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71374 _ACEOF
71375
71376 fi
71377 done
71378
71379   else
71380     { echo "$as_me:$LINENO: checking for _long double trig functions" >&5
71381 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6; }
71382     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
71383   echo $ECHO_N "(cached) $ECHO_C" >&6
71384 else
71385
71386
71387       ac_ext=cpp
71388 ac_cpp='$CXXCPP $CPPFLAGS'
71389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71392
71393       cat >conftest.$ac_ext <<_ACEOF
71394 /* confdefs.h.  */
71395 _ACEOF
71396 cat confdefs.h >>conftest.$ac_ext
71397 cat >>conftest.$ac_ext <<_ACEOF
71398 /* end confdefs.h.  */
71399 #include <math.h>
71400 int
71401 main ()
71402 {
71403 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
71404   ;
71405   return 0;
71406 }
71407 _ACEOF
71408 rm -f conftest.$ac_objext
71409 if { (ac_try="$ac_compile"
71410 case "(($ac_try" in
71411   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
71412   *) ac_try_echo=$ac_try;;
71413 esac
71414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
71415   (eval "$ac_compile") 2>conftest.er1
71416   ac_status=$?
71417   grep -v '^ *+' conftest.er1 >conftest.err
71418   rm -f conftest.er1
71419   cat conftest.err >&5
71420   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71421   (exit $ac_status); } && {
71422          test -z "$ac_cxx_werror_flag" ||
71423          test ! -s conftest.err
71424        } && test -s conftest.$ac_objext; then
71425   glibcxx_cv_func__long_double_trig_use=yes
71426 else
71427   echo "$as_me: failed program was:" >&5
71428 sed 's/^/| /' conftest.$ac_ext >&5
71429
71430         glibcxx_cv_func__long_double_trig_use=no
71431 fi
71432
71433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71434       ac_ext=c
71435 ac_cpp='$CPP $CPPFLAGS'
71436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71439
71440 fi
71441
71442     { echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
71443 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6; }
71444     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
71445
71446
71447
71448
71449
71450
71451
71452
71453
71454 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
71455 do
71456 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71457 { echo "$as_me:$LINENO: checking for $ac_func" >&5
71458 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
71459 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
71460   echo $ECHO_N "(cached) $ECHO_C" >&6
71461 else
71462   if test x$gcc_no_link = xyes; then
71463   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71464 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71465    { (exit 1); exit 1; }; }
71466 fi
71467 cat >conftest.$ac_ext <<_ACEOF
71468 /* confdefs.h.  */
71469 _ACEOF
71470 cat confdefs.h >>conftest.$ac_ext
71471 cat >>conftest.$ac_ext <<_ACEOF
71472 /* end confdefs.h.  */
71473 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71474    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
71475 #define $ac_func innocuous_$ac_func
71476
71477 /* System header to define __stub macros and hopefully few prototypes,
71478     which can conflict with char $ac_func (); below.
71479     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71480     <limits.h> exists even on freestanding compilers.  */
71481
71482 #ifdef __STDC__
71483 # include <limits.h>
71484 #else
71485 # include <assert.h>
71486 #endif
71487
71488 #undef $ac_func
71489
71490 /* Override any GCC internal prototype to avoid an error.
71491    Use char because int might match the return type of a GCC
71492    builtin and then its argument prototype would still apply.  */
71493 #ifdef __cplusplus
71494 extern "C"
71495 #endif
71496 char $ac_func ();
71497 /* The GNU C library defines this for functions which it implements
71498     to always fail with ENOSYS.  Some functions are actually named
71499     something starting with __ and the normal name is an alias.  */
71500 #if defined __stub_$ac_func || defined __stub___$ac_func
71501 choke me
71502 #endif
71503
71504 int
71505 main ()
71506 {
71507 return $ac_func ();
71508   ;
71509   return 0;
71510 }
71511 _ACEOF
71512 rm -f conftest.$ac_objext conftest$ac_exeext
71513 if { (ac_try="$ac_link"
71514 case "(($ac_try" in
71515   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
71516   *) ac_try_echo=$ac_try;;
71517 esac
71518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
71519   (eval "$ac_link") 2>conftest.er1
71520   ac_status=$?
71521   grep -v '^ *+' conftest.er1 >conftest.err
71522   rm -f conftest.er1
71523   cat conftest.err >&5
71524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71525   (exit $ac_status); } && {
71526          test -z "$ac_c_werror_flag" ||
71527          test ! -s conftest.err
71528        } && test -s conftest$ac_exeext &&
71529        $as_test_x conftest$ac_exeext; then
71530   eval "$as_ac_var=yes"
71531 else
71532   echo "$as_me: failed program was:" >&5
71533 sed 's/^/| /' conftest.$ac_ext >&5
71534
71535         eval "$as_ac_var=no"
71536 fi
71537
71538 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
71539       conftest$ac_exeext conftest.$ac_ext
71540 fi
71541 ac_res=`eval echo '${'$as_ac_var'}'`
71542                { echo "$as_me:$LINENO: result: $ac_res" >&5
71543 echo "${ECHO_T}$ac_res" >&6; }
71544 if test `eval echo '${'$as_ac_var'}'` = yes; then
71545   cat >>confdefs.h <<_ACEOF
71546 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71547 _ACEOF
71548
71549 fi
71550 done
71551
71552     fi
71553   fi
71554
71555
71556
71557
71558
71559
71560
71561
71562
71563
71564
71565
71566
71567
71568     { echo "$as_me:$LINENO: checking for long double round functions" >&5
71569 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6; }
71570   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
71571   echo $ECHO_N "(cached) $ECHO_C" >&6
71572 else
71573
71574
71575     ac_ext=cpp
71576 ac_cpp='$CXXCPP $CPPFLAGS'
71577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71580
71581     cat >conftest.$ac_ext <<_ACEOF
71582 /* confdefs.h.  */
71583 _ACEOF
71584 cat confdefs.h >>conftest.$ac_ext
71585 cat >>conftest.$ac_ext <<_ACEOF
71586 /* end confdefs.h.  */
71587 #include <math.h>
71588 int
71589 main ()
71590 {
71591 ceill (0); floorl (0);
71592   ;
71593   return 0;
71594 }
71595 _ACEOF
71596 rm -f conftest.$ac_objext
71597 if { (ac_try="$ac_compile"
71598 case "(($ac_try" in
71599   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
71600   *) ac_try_echo=$ac_try;;
71601 esac
71602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
71603   (eval "$ac_compile") 2>conftest.er1
71604   ac_status=$?
71605   grep -v '^ *+' conftest.er1 >conftest.err
71606   rm -f conftest.er1
71607   cat conftest.err >&5
71608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71609   (exit $ac_status); } && {
71610          test -z "$ac_cxx_werror_flag" ||
71611          test ! -s conftest.err
71612        } && test -s conftest.$ac_objext; then
71613   glibcxx_cv_func_long_double_round_use=yes
71614 else
71615   echo "$as_me: failed program was:" >&5
71616 sed 's/^/| /' conftest.$ac_ext >&5
71617
71618         glibcxx_cv_func_long_double_round_use=no
71619 fi
71620
71621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71622     ac_ext=c
71623 ac_cpp='$CPP $CPPFLAGS'
71624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71627
71628 fi
71629
71630   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
71631 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6; }
71632   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
71633
71634
71635 for ac_func in ceill floorl
71636 do
71637 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71638 { echo "$as_me:$LINENO: checking for $ac_func" >&5
71639 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
71640 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
71641   echo $ECHO_N "(cached) $ECHO_C" >&6
71642 else
71643   if test x$gcc_no_link = xyes; then
71644   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71645 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71646    { (exit 1); exit 1; }; }
71647 fi
71648 cat >conftest.$ac_ext <<_ACEOF
71649 /* confdefs.h.  */
71650 _ACEOF
71651 cat confdefs.h >>conftest.$ac_ext
71652 cat >>conftest.$ac_ext <<_ACEOF
71653 /* end confdefs.h.  */
71654 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71655    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
71656 #define $ac_func innocuous_$ac_func
71657
71658 /* System header to define __stub macros and hopefully few prototypes,
71659     which can conflict with char $ac_func (); below.
71660     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71661     <limits.h> exists even on freestanding compilers.  */
71662
71663 #ifdef __STDC__
71664 # include <limits.h>
71665 #else
71666 # include <assert.h>
71667 #endif
71668
71669 #undef $ac_func
71670
71671 /* Override any GCC internal prototype to avoid an error.
71672    Use char because int might match the return type of a GCC
71673    builtin and then its argument prototype would still apply.  */
71674 #ifdef __cplusplus
71675 extern "C"
71676 #endif
71677 char $ac_func ();
71678 /* The GNU C library defines this for functions which it implements
71679     to always fail with ENOSYS.  Some functions are actually named
71680     something starting with __ and the normal name is an alias.  */
71681 #if defined __stub_$ac_func || defined __stub___$ac_func
71682 choke me
71683 #endif
71684
71685 int
71686 main ()
71687 {
71688 return $ac_func ();
71689   ;
71690   return 0;
71691 }
71692 _ACEOF
71693 rm -f conftest.$ac_objext conftest$ac_exeext
71694 if { (ac_try="$ac_link"
71695 case "(($ac_try" in
71696   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
71697   *) ac_try_echo=$ac_try;;
71698 esac
71699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
71700   (eval "$ac_link") 2>conftest.er1
71701   ac_status=$?
71702   grep -v '^ *+' conftest.er1 >conftest.err
71703   rm -f conftest.er1
71704   cat conftest.err >&5
71705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71706   (exit $ac_status); } && {
71707          test -z "$ac_c_werror_flag" ||
71708          test ! -s conftest.err
71709        } && test -s conftest$ac_exeext &&
71710        $as_test_x conftest$ac_exeext; then
71711   eval "$as_ac_var=yes"
71712 else
71713   echo "$as_me: failed program was:" >&5
71714 sed 's/^/| /' conftest.$ac_ext >&5
71715
71716         eval "$as_ac_var=no"
71717 fi
71718
71719 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
71720       conftest$ac_exeext conftest.$ac_ext
71721 fi
71722 ac_res=`eval echo '${'$as_ac_var'}'`
71723                { echo "$as_me:$LINENO: result: $ac_res" >&5
71724 echo "${ECHO_T}$ac_res" >&6; }
71725 if test `eval echo '${'$as_ac_var'}'` = yes; then
71726   cat >>confdefs.h <<_ACEOF
71727 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71728 _ACEOF
71729
71730 fi
71731 done
71732
71733   else
71734     { echo "$as_me:$LINENO: checking for _long double round functions" >&5
71735 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6; }
71736     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
71737   echo $ECHO_N "(cached) $ECHO_C" >&6
71738 else
71739
71740
71741       ac_ext=cpp
71742 ac_cpp='$CXXCPP $CPPFLAGS'
71743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71746
71747       cat >conftest.$ac_ext <<_ACEOF
71748 /* confdefs.h.  */
71749 _ACEOF
71750 cat confdefs.h >>conftest.$ac_ext
71751 cat >>conftest.$ac_ext <<_ACEOF
71752 /* end confdefs.h.  */
71753 #include <math.h>
71754 int
71755 main ()
71756 {
71757 _ceill (0); _floorl (0);
71758   ;
71759   return 0;
71760 }
71761 _ACEOF
71762 rm -f conftest.$ac_objext
71763 if { (ac_try="$ac_compile"
71764 case "(($ac_try" in
71765   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
71766   *) ac_try_echo=$ac_try;;
71767 esac
71768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
71769   (eval "$ac_compile") 2>conftest.er1
71770   ac_status=$?
71771   grep -v '^ *+' conftest.er1 >conftest.err
71772   rm -f conftest.er1
71773   cat conftest.err >&5
71774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71775   (exit $ac_status); } && {
71776          test -z "$ac_cxx_werror_flag" ||
71777          test ! -s conftest.err
71778        } && test -s conftest.$ac_objext; then
71779   glibcxx_cv_func__long_double_round_use=yes
71780 else
71781   echo "$as_me: failed program was:" >&5
71782 sed 's/^/| /' conftest.$ac_ext >&5
71783
71784         glibcxx_cv_func__long_double_round_use=no
71785 fi
71786
71787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71788       ac_ext=c
71789 ac_cpp='$CPP $CPPFLAGS'
71790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71793
71794 fi
71795
71796     { echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
71797 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6; }
71798     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
71799
71800
71801 for ac_func in _ceill _floorl
71802 do
71803 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71804 { echo "$as_me:$LINENO: checking for $ac_func" >&5
71805 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
71806 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
71807   echo $ECHO_N "(cached) $ECHO_C" >&6
71808 else
71809   if test x$gcc_no_link = xyes; then
71810   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71811 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71812    { (exit 1); exit 1; }; }
71813 fi
71814 cat >conftest.$ac_ext <<_ACEOF
71815 /* confdefs.h.  */
71816 _ACEOF
71817 cat confdefs.h >>conftest.$ac_ext
71818 cat >>conftest.$ac_ext <<_ACEOF
71819 /* end confdefs.h.  */
71820 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71821    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
71822 #define $ac_func innocuous_$ac_func
71823
71824 /* System header to define __stub macros and hopefully few prototypes,
71825     which can conflict with char $ac_func (); below.
71826     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71827     <limits.h> exists even on freestanding compilers.  */
71828
71829 #ifdef __STDC__
71830 # include <limits.h>
71831 #else
71832 # include <assert.h>
71833 #endif
71834
71835 #undef $ac_func
71836
71837 /* Override any GCC internal prototype to avoid an error.
71838    Use char because int might match the return type of a GCC
71839    builtin and then its argument prototype would still apply.  */
71840 #ifdef __cplusplus
71841 extern "C"
71842 #endif
71843 char $ac_func ();
71844 /* The GNU C library defines this for functions which it implements
71845     to always fail with ENOSYS.  Some functions are actually named
71846     something starting with __ and the normal name is an alias.  */
71847 #if defined __stub_$ac_func || defined __stub___$ac_func
71848 choke me
71849 #endif
71850
71851 int
71852 main ()
71853 {
71854 return $ac_func ();
71855   ;
71856   return 0;
71857 }
71858 _ACEOF
71859 rm -f conftest.$ac_objext conftest$ac_exeext
71860 if { (ac_try="$ac_link"
71861 case "(($ac_try" in
71862   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
71863   *) ac_try_echo=$ac_try;;
71864 esac
71865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
71866   (eval "$ac_link") 2>conftest.er1
71867   ac_status=$?
71868   grep -v '^ *+' conftest.er1 >conftest.err
71869   rm -f conftest.er1
71870   cat conftest.err >&5
71871   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71872   (exit $ac_status); } && {
71873          test -z "$ac_c_werror_flag" ||
71874          test ! -s conftest.err
71875        } && test -s conftest$ac_exeext &&
71876        $as_test_x conftest$ac_exeext; then
71877   eval "$as_ac_var=yes"
71878 else
71879   echo "$as_me: failed program was:" >&5
71880 sed 's/^/| /' conftest.$ac_ext >&5
71881
71882         eval "$as_ac_var=no"
71883 fi
71884
71885 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
71886       conftest$ac_exeext conftest.$ac_ext
71887 fi
71888 ac_res=`eval echo '${'$as_ac_var'}'`
71889                { echo "$as_me:$LINENO: result: $ac_res" >&5
71890 echo "${ECHO_T}$ac_res" >&6; }
71891 if test `eval echo '${'$as_ac_var'}'` = yes; then
71892   cat >>confdefs.h <<_ACEOF
71893 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71894 _ACEOF
71895
71896 fi
71897 done
71898
71899     fi
71900   fi
71901
71902
71903
71904
71905
71906
71907
71908
71909   { echo "$as_me:$LINENO: checking for isnanl declaration" >&5
71910 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6; }
71911   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
71912     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
71913   echo $ECHO_N "(cached) $ECHO_C" >&6
71914 else
71915
71916
71917       ac_ext=cpp
71918 ac_cpp='$CXXCPP $CPPFLAGS'
71919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71922
71923       cat >conftest.$ac_ext <<_ACEOF
71924 /* confdefs.h.  */
71925 _ACEOF
71926 cat confdefs.h >>conftest.$ac_ext
71927 cat >>conftest.$ac_ext <<_ACEOF
71928 /* end confdefs.h.  */
71929 #include <math.h>
71930                       #ifdef HAVE_IEEEFP_H
71931                       #include <ieeefp.h>
71932                       #endif
71933
71934 int
71935 main ()
71936 {
71937  isnanl(0);
71938   ;
71939   return 0;
71940 }
71941 _ACEOF
71942 rm -f conftest.$ac_objext
71943 if { (ac_try="$ac_compile"
71944 case "(($ac_try" in
71945   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
71946   *) ac_try_echo=$ac_try;;
71947 esac
71948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
71949   (eval "$ac_compile") 2>conftest.er1
71950   ac_status=$?
71951   grep -v '^ *+' conftest.er1 >conftest.err
71952   rm -f conftest.er1
71953   cat conftest.err >&5
71954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71955   (exit $ac_status); } && {
71956          test -z "$ac_cxx_werror_flag" ||
71957          test ! -s conftest.err
71958        } && test -s conftest.$ac_objext; then
71959   glibcxx_cv_func_isnanl_use=yes
71960 else
71961   echo "$as_me: failed program was:" >&5
71962 sed 's/^/| /' conftest.$ac_ext >&5
71963
71964         glibcxx_cv_func_isnanl_use=no
71965 fi
71966
71967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71968       ac_ext=c
71969 ac_cpp='$CPP $CPPFLAGS'
71970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71973
71974
71975 fi
71976
71977   fi
71978   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
71979 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6; }
71980
71981   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
71982
71983 for ac_func in isnanl
71984 do
71985 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71986 { echo "$as_me:$LINENO: checking for $ac_func" >&5
71987 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
71988 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
71989   echo $ECHO_N "(cached) $ECHO_C" >&6
71990 else
71991   if test x$gcc_no_link = xyes; then
71992   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71993 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71994    { (exit 1); exit 1; }; }
71995 fi
71996 cat >conftest.$ac_ext <<_ACEOF
71997 /* confdefs.h.  */
71998 _ACEOF
71999 cat confdefs.h >>conftest.$ac_ext
72000 cat >>conftest.$ac_ext <<_ACEOF
72001 /* end confdefs.h.  */
72002 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72003    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
72004 #define $ac_func innocuous_$ac_func
72005
72006 /* System header to define __stub macros and hopefully few prototypes,
72007     which can conflict with char $ac_func (); below.
72008     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72009     <limits.h> exists even on freestanding compilers.  */
72010
72011 #ifdef __STDC__
72012 # include <limits.h>
72013 #else
72014 # include <assert.h>
72015 #endif
72016
72017 #undef $ac_func
72018
72019 /* Override any GCC internal prototype to avoid an error.
72020    Use char because int might match the return type of a GCC
72021    builtin and then its argument prototype would still apply.  */
72022 #ifdef __cplusplus
72023 extern "C"
72024 #endif
72025 char $ac_func ();
72026 /* The GNU C library defines this for functions which it implements
72027     to always fail with ENOSYS.  Some functions are actually named
72028     something starting with __ and the normal name is an alias.  */
72029 #if defined __stub_$ac_func || defined __stub___$ac_func
72030 choke me
72031 #endif
72032
72033 int
72034 main ()
72035 {
72036 return $ac_func ();
72037   ;
72038   return 0;
72039 }
72040 _ACEOF
72041 rm -f conftest.$ac_objext conftest$ac_exeext
72042 if { (ac_try="$ac_link"
72043 case "(($ac_try" in
72044   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
72045   *) ac_try_echo=$ac_try;;
72046 esac
72047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
72048   (eval "$ac_link") 2>conftest.er1
72049   ac_status=$?
72050   grep -v '^ *+' conftest.er1 >conftest.err
72051   rm -f conftest.er1
72052   cat conftest.err >&5
72053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72054   (exit $ac_status); } && {
72055          test -z "$ac_c_werror_flag" ||
72056          test ! -s conftest.err
72057        } && test -s conftest$ac_exeext &&
72058        $as_test_x conftest$ac_exeext; then
72059   eval "$as_ac_var=yes"
72060 else
72061   echo "$as_me: failed program was:" >&5
72062 sed 's/^/| /' conftest.$ac_ext >&5
72063
72064         eval "$as_ac_var=no"
72065 fi
72066
72067 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
72068       conftest$ac_exeext conftest.$ac_ext
72069 fi
72070 ac_res=`eval echo '${'$as_ac_var'}'`
72071                { echo "$as_me:$LINENO: result: $ac_res" >&5
72072 echo "${ECHO_T}$ac_res" >&6; }
72073 if test `eval echo '${'$as_ac_var'}'` = yes; then
72074   cat >>confdefs.h <<_ACEOF
72075 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72076 _ACEOF
72077
72078 fi
72079 done
72080
72081   else
72082
72083   { echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
72084 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6; }
72085   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
72086     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
72087   echo $ECHO_N "(cached) $ECHO_C" >&6
72088 else
72089
72090
72091       ac_ext=cpp
72092 ac_cpp='$CXXCPP $CPPFLAGS'
72093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72096
72097       cat >conftest.$ac_ext <<_ACEOF
72098 /* confdefs.h.  */
72099 _ACEOF
72100 cat confdefs.h >>conftest.$ac_ext
72101 cat >>conftest.$ac_ext <<_ACEOF
72102 /* end confdefs.h.  */
72103 #include <math.h>
72104                       #ifdef HAVE_IEEEFP_H
72105                       #include <ieeefp.h>
72106                       #endif
72107
72108 int
72109 main ()
72110 {
72111  _isnanl(0);
72112   ;
72113   return 0;
72114 }
72115 _ACEOF
72116 rm -f conftest.$ac_objext
72117 if { (ac_try="$ac_compile"
72118 case "(($ac_try" in
72119   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
72120   *) ac_try_echo=$ac_try;;
72121 esac
72122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
72123   (eval "$ac_compile") 2>conftest.er1
72124   ac_status=$?
72125   grep -v '^ *+' conftest.er1 >conftest.err
72126   rm -f conftest.er1
72127   cat conftest.err >&5
72128   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72129   (exit $ac_status); } && {
72130          test -z "$ac_cxx_werror_flag" ||
72131          test ! -s conftest.err
72132        } && test -s conftest.$ac_objext; then
72133   glibcxx_cv_func__isnanl_use=yes
72134 else
72135   echo "$as_me: failed program was:" >&5
72136 sed 's/^/| /' conftest.$ac_ext >&5
72137
72138         glibcxx_cv_func__isnanl_use=no
72139 fi
72140
72141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72142       ac_ext=c
72143 ac_cpp='$CPP $CPPFLAGS'
72144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72147
72148
72149 fi
72150
72151   fi
72152   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
72153 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6; }
72154
72155     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
72156
72157 for ac_func in _isnanl
72158 do
72159 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72160 { echo "$as_me:$LINENO: checking for $ac_func" >&5
72161 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
72162 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
72163   echo $ECHO_N "(cached) $ECHO_C" >&6
72164 else
72165   if test x$gcc_no_link = xyes; then
72166   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72167 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72168    { (exit 1); exit 1; }; }
72169 fi
72170 cat >conftest.$ac_ext <<_ACEOF
72171 /* confdefs.h.  */
72172 _ACEOF
72173 cat confdefs.h >>conftest.$ac_ext
72174 cat >>conftest.$ac_ext <<_ACEOF
72175 /* end confdefs.h.  */
72176 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72177    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
72178 #define $ac_func innocuous_$ac_func
72179
72180 /* System header to define __stub macros and hopefully few prototypes,
72181     which can conflict with char $ac_func (); below.
72182     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72183     <limits.h> exists even on freestanding compilers.  */
72184
72185 #ifdef __STDC__
72186 # include <limits.h>
72187 #else
72188 # include <assert.h>
72189 #endif
72190
72191 #undef $ac_func
72192
72193 /* Override any GCC internal prototype to avoid an error.
72194    Use char because int might match the return type of a GCC
72195    builtin and then its argument prototype would still apply.  */
72196 #ifdef __cplusplus
72197 extern "C"
72198 #endif
72199 char $ac_func ();
72200 /* The GNU C library defines this for functions which it implements
72201     to always fail with ENOSYS.  Some functions are actually named
72202     something starting with __ and the normal name is an alias.  */
72203 #if defined __stub_$ac_func || defined __stub___$ac_func
72204 choke me
72205 #endif
72206
72207 int
72208 main ()
72209 {
72210 return $ac_func ();
72211   ;
72212   return 0;
72213 }
72214 _ACEOF
72215 rm -f conftest.$ac_objext conftest$ac_exeext
72216 if { (ac_try="$ac_link"
72217 case "(($ac_try" in
72218   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
72219   *) ac_try_echo=$ac_try;;
72220 esac
72221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
72222   (eval "$ac_link") 2>conftest.er1
72223   ac_status=$?
72224   grep -v '^ *+' conftest.er1 >conftest.err
72225   rm -f conftest.er1
72226   cat conftest.err >&5
72227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72228   (exit $ac_status); } && {
72229          test -z "$ac_c_werror_flag" ||
72230          test ! -s conftest.err
72231        } && test -s conftest$ac_exeext &&
72232        $as_test_x conftest$ac_exeext; then
72233   eval "$as_ac_var=yes"
72234 else
72235   echo "$as_me: failed program was:" >&5
72236 sed 's/^/| /' conftest.$ac_ext >&5
72237
72238         eval "$as_ac_var=no"
72239 fi
72240
72241 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
72242       conftest$ac_exeext conftest.$ac_ext
72243 fi
72244 ac_res=`eval echo '${'$as_ac_var'}'`
72245                { echo "$as_me:$LINENO: result: $ac_res" >&5
72246 echo "${ECHO_T}$ac_res" >&6; }
72247 if test `eval echo '${'$as_ac_var'}'` = yes; then
72248   cat >>confdefs.h <<_ACEOF
72249 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72250 _ACEOF
72251
72252 fi
72253 done
72254
72255     fi
72256   fi
72257
72258
72259
72260
72261
72262
72263   { echo "$as_me:$LINENO: checking for isinfl declaration" >&5
72264 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6; }
72265   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
72266     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
72267   echo $ECHO_N "(cached) $ECHO_C" >&6
72268 else
72269
72270
72271       ac_ext=cpp
72272 ac_cpp='$CXXCPP $CPPFLAGS'
72273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72276
72277       cat >conftest.$ac_ext <<_ACEOF
72278 /* confdefs.h.  */
72279 _ACEOF
72280 cat confdefs.h >>conftest.$ac_ext
72281 cat >>conftest.$ac_ext <<_ACEOF
72282 /* end confdefs.h.  */
72283 #include <math.h>
72284                       #ifdef HAVE_IEEEFP_H
72285                       #include <ieeefp.h>
72286                       #endif
72287
72288 int
72289 main ()
72290 {
72291  isinfl(0);
72292   ;
72293   return 0;
72294 }
72295 _ACEOF
72296 rm -f conftest.$ac_objext
72297 if { (ac_try="$ac_compile"
72298 case "(($ac_try" in
72299   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
72300   *) ac_try_echo=$ac_try;;
72301 esac
72302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
72303   (eval "$ac_compile") 2>conftest.er1
72304   ac_status=$?
72305   grep -v '^ *+' conftest.er1 >conftest.err
72306   rm -f conftest.er1
72307   cat conftest.err >&5
72308   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72309   (exit $ac_status); } && {
72310          test -z "$ac_cxx_werror_flag" ||
72311          test ! -s conftest.err
72312        } && test -s conftest.$ac_objext; then
72313   glibcxx_cv_func_isinfl_use=yes
72314 else
72315   echo "$as_me: failed program was:" >&5
72316 sed 's/^/| /' conftest.$ac_ext >&5
72317
72318         glibcxx_cv_func_isinfl_use=no
72319 fi
72320
72321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72322       ac_ext=c
72323 ac_cpp='$CPP $CPPFLAGS'
72324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72327
72328
72329 fi
72330
72331   fi
72332   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
72333 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6; }
72334
72335   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
72336
72337 for ac_func in isinfl
72338 do
72339 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72340 { echo "$as_me:$LINENO: checking for $ac_func" >&5
72341 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
72342 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
72343   echo $ECHO_N "(cached) $ECHO_C" >&6
72344 else
72345   if test x$gcc_no_link = xyes; then
72346   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72347 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72348    { (exit 1); exit 1; }; }
72349 fi
72350 cat >conftest.$ac_ext <<_ACEOF
72351 /* confdefs.h.  */
72352 _ACEOF
72353 cat confdefs.h >>conftest.$ac_ext
72354 cat >>conftest.$ac_ext <<_ACEOF
72355 /* end confdefs.h.  */
72356 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72357    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
72358 #define $ac_func innocuous_$ac_func
72359
72360 /* System header to define __stub macros and hopefully few prototypes,
72361     which can conflict with char $ac_func (); below.
72362     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72363     <limits.h> exists even on freestanding compilers.  */
72364
72365 #ifdef __STDC__
72366 # include <limits.h>
72367 #else
72368 # include <assert.h>
72369 #endif
72370
72371 #undef $ac_func
72372
72373 /* Override any GCC internal prototype to avoid an error.
72374    Use char because int might match the return type of a GCC
72375    builtin and then its argument prototype would still apply.  */
72376 #ifdef __cplusplus
72377 extern "C"
72378 #endif
72379 char $ac_func ();
72380 /* The GNU C library defines this for functions which it implements
72381     to always fail with ENOSYS.  Some functions are actually named
72382     something starting with __ and the normal name is an alias.  */
72383 #if defined __stub_$ac_func || defined __stub___$ac_func
72384 choke me
72385 #endif
72386
72387 int
72388 main ()
72389 {
72390 return $ac_func ();
72391   ;
72392   return 0;
72393 }
72394 _ACEOF
72395 rm -f conftest.$ac_objext conftest$ac_exeext
72396 if { (ac_try="$ac_link"
72397 case "(($ac_try" in
72398   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
72399   *) ac_try_echo=$ac_try;;
72400 esac
72401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
72402   (eval "$ac_link") 2>conftest.er1
72403   ac_status=$?
72404   grep -v '^ *+' conftest.er1 >conftest.err
72405   rm -f conftest.er1
72406   cat conftest.err >&5
72407   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72408   (exit $ac_status); } && {
72409          test -z "$ac_c_werror_flag" ||
72410          test ! -s conftest.err
72411        } && test -s conftest$ac_exeext &&
72412        $as_test_x conftest$ac_exeext; then
72413   eval "$as_ac_var=yes"
72414 else
72415   echo "$as_me: failed program was:" >&5
72416 sed 's/^/| /' conftest.$ac_ext >&5
72417
72418         eval "$as_ac_var=no"
72419 fi
72420
72421 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
72422       conftest$ac_exeext conftest.$ac_ext
72423 fi
72424 ac_res=`eval echo '${'$as_ac_var'}'`
72425                { echo "$as_me:$LINENO: result: $ac_res" >&5
72426 echo "${ECHO_T}$ac_res" >&6; }
72427 if test `eval echo '${'$as_ac_var'}'` = yes; then
72428   cat >>confdefs.h <<_ACEOF
72429 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72430 _ACEOF
72431
72432 fi
72433 done
72434
72435   else
72436
72437   { echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
72438 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6; }
72439   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
72440     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
72441   echo $ECHO_N "(cached) $ECHO_C" >&6
72442 else
72443
72444
72445       ac_ext=cpp
72446 ac_cpp='$CXXCPP $CPPFLAGS'
72447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72450
72451       cat >conftest.$ac_ext <<_ACEOF
72452 /* confdefs.h.  */
72453 _ACEOF
72454 cat confdefs.h >>conftest.$ac_ext
72455 cat >>conftest.$ac_ext <<_ACEOF
72456 /* end confdefs.h.  */
72457 #include <math.h>
72458                       #ifdef HAVE_IEEEFP_H
72459                       #include <ieeefp.h>
72460                       #endif
72461
72462 int
72463 main ()
72464 {
72465  _isinfl(0);
72466   ;
72467   return 0;
72468 }
72469 _ACEOF
72470 rm -f conftest.$ac_objext
72471 if { (ac_try="$ac_compile"
72472 case "(($ac_try" in
72473   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
72474   *) ac_try_echo=$ac_try;;
72475 esac
72476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
72477   (eval "$ac_compile") 2>conftest.er1
72478   ac_status=$?
72479   grep -v '^ *+' conftest.er1 >conftest.err
72480   rm -f conftest.er1
72481   cat conftest.err >&5
72482   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72483   (exit $ac_status); } && {
72484          test -z "$ac_cxx_werror_flag" ||
72485          test ! -s conftest.err
72486        } && test -s conftest.$ac_objext; then
72487   glibcxx_cv_func__isinfl_use=yes
72488 else
72489   echo "$as_me: failed program was:" >&5
72490 sed 's/^/| /' conftest.$ac_ext >&5
72491
72492         glibcxx_cv_func__isinfl_use=no
72493 fi
72494
72495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72496       ac_ext=c
72497 ac_cpp='$CPP $CPPFLAGS'
72498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72501
72502
72503 fi
72504
72505   fi
72506   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
72507 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6; }
72508
72509     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
72510
72511 for ac_func in _isinfl
72512 do
72513 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72514 { echo "$as_me:$LINENO: checking for $ac_func" >&5
72515 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
72516 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
72517   echo $ECHO_N "(cached) $ECHO_C" >&6
72518 else
72519   if test x$gcc_no_link = xyes; then
72520   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72521 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72522    { (exit 1); exit 1; }; }
72523 fi
72524 cat >conftest.$ac_ext <<_ACEOF
72525 /* confdefs.h.  */
72526 _ACEOF
72527 cat confdefs.h >>conftest.$ac_ext
72528 cat >>conftest.$ac_ext <<_ACEOF
72529 /* end confdefs.h.  */
72530 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72531    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
72532 #define $ac_func innocuous_$ac_func
72533
72534 /* System header to define __stub macros and hopefully few prototypes,
72535     which can conflict with char $ac_func (); below.
72536     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72537     <limits.h> exists even on freestanding compilers.  */
72538
72539 #ifdef __STDC__
72540 # include <limits.h>
72541 #else
72542 # include <assert.h>
72543 #endif
72544
72545 #undef $ac_func
72546
72547 /* Override any GCC internal prototype to avoid an error.
72548    Use char because int might match the return type of a GCC
72549    builtin and then its argument prototype would still apply.  */
72550 #ifdef __cplusplus
72551 extern "C"
72552 #endif
72553 char $ac_func ();
72554 /* The GNU C library defines this for functions which it implements
72555     to always fail with ENOSYS.  Some functions are actually named
72556     something starting with __ and the normal name is an alias.  */
72557 #if defined __stub_$ac_func || defined __stub___$ac_func
72558 choke me
72559 #endif
72560
72561 int
72562 main ()
72563 {
72564 return $ac_func ();
72565   ;
72566   return 0;
72567 }
72568 _ACEOF
72569 rm -f conftest.$ac_objext conftest$ac_exeext
72570 if { (ac_try="$ac_link"
72571 case "(($ac_try" in
72572   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
72573   *) ac_try_echo=$ac_try;;
72574 esac
72575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
72576   (eval "$ac_link") 2>conftest.er1
72577   ac_status=$?
72578   grep -v '^ *+' conftest.er1 >conftest.err
72579   rm -f conftest.er1
72580   cat conftest.err >&5
72581   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72582   (exit $ac_status); } && {
72583          test -z "$ac_c_werror_flag" ||
72584          test ! -s conftest.err
72585        } && test -s conftest$ac_exeext &&
72586        $as_test_x conftest$ac_exeext; then
72587   eval "$as_ac_var=yes"
72588 else
72589   echo "$as_me: failed program was:" >&5
72590 sed 's/^/| /' conftest.$ac_ext >&5
72591
72592         eval "$as_ac_var=no"
72593 fi
72594
72595 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
72596       conftest$ac_exeext conftest.$ac_ext
72597 fi
72598 ac_res=`eval echo '${'$as_ac_var'}'`
72599                { echo "$as_me:$LINENO: result: $ac_res" >&5
72600 echo "${ECHO_T}$ac_res" >&6; }
72601 if test `eval echo '${'$as_ac_var'}'` = yes; then
72602   cat >>confdefs.h <<_ACEOF
72603 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72604 _ACEOF
72605
72606 fi
72607 done
72608
72609     fi
72610   fi
72611
72612
72613
72614
72615
72616
72617   { echo "$as_me:$LINENO: checking for copysignl declaration" >&5
72618 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6; }
72619   if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
72620     if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
72621   echo $ECHO_N "(cached) $ECHO_C" >&6
72622 else
72623
72624
72625       ac_ext=cpp
72626 ac_cpp='$CXXCPP $CPPFLAGS'
72627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72630
72631       cat >conftest.$ac_ext <<_ACEOF
72632 /* confdefs.h.  */
72633 _ACEOF
72634 cat confdefs.h >>conftest.$ac_ext
72635 cat >>conftest.$ac_ext <<_ACEOF
72636 /* end confdefs.h.  */
72637 #include <math.h>
72638 int
72639 main ()
72640 {
72641  copysignl(0, 0);
72642   ;
72643   return 0;
72644 }
72645 _ACEOF
72646 rm -f conftest.$ac_objext
72647 if { (ac_try="$ac_compile"
72648 case "(($ac_try" in
72649   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
72650   *) ac_try_echo=$ac_try;;
72651 esac
72652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
72653   (eval "$ac_compile") 2>conftest.er1
72654   ac_status=$?
72655   grep -v '^ *+' conftest.er1 >conftest.err
72656   rm -f conftest.er1
72657   cat conftest.err >&5
72658   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72659   (exit $ac_status); } && {
72660          test -z "$ac_cxx_werror_flag" ||
72661          test ! -s conftest.err
72662        } && test -s conftest.$ac_objext; then
72663   glibcxx_cv_func_copysignl_use=yes
72664 else
72665   echo "$as_me: failed program was:" >&5
72666 sed 's/^/| /' conftest.$ac_ext >&5
72667
72668         glibcxx_cv_func_copysignl_use=no
72669 fi
72670
72671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72672       ac_ext=c
72673 ac_cpp='$CPP $CPPFLAGS'
72674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72677
72678
72679 fi
72680
72681   fi
72682   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
72683 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6; }
72684
72685   if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
72686
72687 for ac_func in copysignl
72688 do
72689 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72690 { echo "$as_me:$LINENO: checking for $ac_func" >&5
72691 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
72692 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
72693   echo $ECHO_N "(cached) $ECHO_C" >&6
72694 else
72695   if test x$gcc_no_link = xyes; then
72696   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72697 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72698    { (exit 1); exit 1; }; }
72699 fi
72700 cat >conftest.$ac_ext <<_ACEOF
72701 /* confdefs.h.  */
72702 _ACEOF
72703 cat confdefs.h >>conftest.$ac_ext
72704 cat >>conftest.$ac_ext <<_ACEOF
72705 /* end confdefs.h.  */
72706 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72707    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
72708 #define $ac_func innocuous_$ac_func
72709
72710 /* System header to define __stub macros and hopefully few prototypes,
72711     which can conflict with char $ac_func (); below.
72712     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72713     <limits.h> exists even on freestanding compilers.  */
72714
72715 #ifdef __STDC__
72716 # include <limits.h>
72717 #else
72718 # include <assert.h>
72719 #endif
72720
72721 #undef $ac_func
72722
72723 /* Override any GCC internal prototype to avoid an error.
72724    Use char because int might match the return type of a GCC
72725    builtin and then its argument prototype would still apply.  */
72726 #ifdef __cplusplus
72727 extern "C"
72728 #endif
72729 char $ac_func ();
72730 /* The GNU C library defines this for functions which it implements
72731     to always fail with ENOSYS.  Some functions are actually named
72732     something starting with __ and the normal name is an alias.  */
72733 #if defined __stub_$ac_func || defined __stub___$ac_func
72734 choke me
72735 #endif
72736
72737 int
72738 main ()
72739 {
72740 return $ac_func ();
72741   ;
72742   return 0;
72743 }
72744 _ACEOF
72745 rm -f conftest.$ac_objext conftest$ac_exeext
72746 if { (ac_try="$ac_link"
72747 case "(($ac_try" in
72748   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
72749   *) ac_try_echo=$ac_try;;
72750 esac
72751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
72752   (eval "$ac_link") 2>conftest.er1
72753   ac_status=$?
72754   grep -v '^ *+' conftest.er1 >conftest.err
72755   rm -f conftest.er1
72756   cat conftest.err >&5
72757   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72758   (exit $ac_status); } && {
72759          test -z "$ac_c_werror_flag" ||
72760          test ! -s conftest.err
72761        } && test -s conftest$ac_exeext &&
72762        $as_test_x conftest$ac_exeext; then
72763   eval "$as_ac_var=yes"
72764 else
72765   echo "$as_me: failed program was:" >&5
72766 sed 's/^/| /' conftest.$ac_ext >&5
72767
72768         eval "$as_ac_var=no"
72769 fi
72770
72771 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
72772       conftest$ac_exeext conftest.$ac_ext
72773 fi
72774 ac_res=`eval echo '${'$as_ac_var'}'`
72775                { echo "$as_me:$LINENO: result: $ac_res" >&5
72776 echo "${ECHO_T}$ac_res" >&6; }
72777 if test `eval echo '${'$as_ac_var'}'` = yes; then
72778   cat >>confdefs.h <<_ACEOF
72779 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72780 _ACEOF
72781
72782 fi
72783 done
72784
72785   else
72786
72787   { echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
72788 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6; }
72789   if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
72790     if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
72791   echo $ECHO_N "(cached) $ECHO_C" >&6
72792 else
72793
72794
72795       ac_ext=cpp
72796 ac_cpp='$CXXCPP $CPPFLAGS'
72797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72800
72801       cat >conftest.$ac_ext <<_ACEOF
72802 /* confdefs.h.  */
72803 _ACEOF
72804 cat confdefs.h >>conftest.$ac_ext
72805 cat >>conftest.$ac_ext <<_ACEOF
72806 /* end confdefs.h.  */
72807 #include <math.h>
72808 int
72809 main ()
72810 {
72811  _copysignl(0, 0);
72812   ;
72813   return 0;
72814 }
72815 _ACEOF
72816 rm -f conftest.$ac_objext
72817 if { (ac_try="$ac_compile"
72818 case "(($ac_try" in
72819   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
72820   *) ac_try_echo=$ac_try;;
72821 esac
72822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
72823   (eval "$ac_compile") 2>conftest.er1
72824   ac_status=$?
72825   grep -v '^ *+' conftest.er1 >conftest.err
72826   rm -f conftest.er1
72827   cat conftest.err >&5
72828   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72829   (exit $ac_status); } && {
72830          test -z "$ac_cxx_werror_flag" ||
72831          test ! -s conftest.err
72832        } && test -s conftest.$ac_objext; then
72833   glibcxx_cv_func__copysignl_use=yes
72834 else
72835   echo "$as_me: failed program was:" >&5
72836 sed 's/^/| /' conftest.$ac_ext >&5
72837
72838         glibcxx_cv_func__copysignl_use=no
72839 fi
72840
72841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72842       ac_ext=c
72843 ac_cpp='$CPP $CPPFLAGS'
72844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72847
72848
72849 fi
72850
72851   fi
72852   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
72853 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6; }
72854
72855     if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
72856
72857 for ac_func in _copysignl
72858 do
72859 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72860 { echo "$as_me:$LINENO: checking for $ac_func" >&5
72861 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
72862 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
72863   echo $ECHO_N "(cached) $ECHO_C" >&6
72864 else
72865   if test x$gcc_no_link = xyes; then
72866   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72867 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72868    { (exit 1); exit 1; }; }
72869 fi
72870 cat >conftest.$ac_ext <<_ACEOF
72871 /* confdefs.h.  */
72872 _ACEOF
72873 cat confdefs.h >>conftest.$ac_ext
72874 cat >>conftest.$ac_ext <<_ACEOF
72875 /* end confdefs.h.  */
72876 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72877    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
72878 #define $ac_func innocuous_$ac_func
72879
72880 /* System header to define __stub macros and hopefully few prototypes,
72881     which can conflict with char $ac_func (); below.
72882     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72883     <limits.h> exists even on freestanding compilers.  */
72884
72885 #ifdef __STDC__
72886 # include <limits.h>
72887 #else
72888 # include <assert.h>
72889 #endif
72890
72891 #undef $ac_func
72892
72893 /* Override any GCC internal prototype to avoid an error.
72894    Use char because int might match the return type of a GCC
72895    builtin and then its argument prototype would still apply.  */
72896 #ifdef __cplusplus
72897 extern "C"
72898 #endif
72899 char $ac_func ();
72900 /* The GNU C library defines this for functions which it implements
72901     to always fail with ENOSYS.  Some functions are actually named
72902     something starting with __ and the normal name is an alias.  */
72903 #if defined __stub_$ac_func || defined __stub___$ac_func
72904 choke me
72905 #endif
72906
72907 int
72908 main ()
72909 {
72910 return $ac_func ();
72911   ;
72912   return 0;
72913 }
72914 _ACEOF
72915 rm -f conftest.$ac_objext conftest$ac_exeext
72916 if { (ac_try="$ac_link"
72917 case "(($ac_try" in
72918   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
72919   *) ac_try_echo=$ac_try;;
72920 esac
72921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
72922   (eval "$ac_link") 2>conftest.er1
72923   ac_status=$?
72924   grep -v '^ *+' conftest.er1 >conftest.err
72925   rm -f conftest.er1
72926   cat conftest.err >&5
72927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72928   (exit $ac_status); } && {
72929          test -z "$ac_c_werror_flag" ||
72930          test ! -s conftest.err
72931        } && test -s conftest$ac_exeext &&
72932        $as_test_x conftest$ac_exeext; then
72933   eval "$as_ac_var=yes"
72934 else
72935   echo "$as_me: failed program was:" >&5
72936 sed 's/^/| /' conftest.$ac_ext >&5
72937
72938         eval "$as_ac_var=no"
72939 fi
72940
72941 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
72942       conftest$ac_exeext conftest.$ac_ext
72943 fi
72944 ac_res=`eval echo '${'$as_ac_var'}'`
72945                { echo "$as_me:$LINENO: result: $ac_res" >&5
72946 echo "${ECHO_T}$ac_res" >&6; }
72947 if test `eval echo '${'$as_ac_var'}'` = yes; then
72948   cat >>confdefs.h <<_ACEOF
72949 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72950 _ACEOF
72951
72952 fi
72953 done
72954
72955     fi
72956   fi
72957
72958
72959
72960
72961
72962
72963   { echo "$as_me:$LINENO: checking for atan2l declaration" >&5
72964 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6; }
72965   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
72966     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
72967   echo $ECHO_N "(cached) $ECHO_C" >&6
72968 else
72969
72970
72971       ac_ext=cpp
72972 ac_cpp='$CXXCPP $CPPFLAGS'
72973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72976
72977       cat >conftest.$ac_ext <<_ACEOF
72978 /* confdefs.h.  */
72979 _ACEOF
72980 cat confdefs.h >>conftest.$ac_ext
72981 cat >>conftest.$ac_ext <<_ACEOF
72982 /* end confdefs.h.  */
72983 #include <math.h>
72984 int
72985 main ()
72986 {
72987  atan2l(0, 0);
72988   ;
72989   return 0;
72990 }
72991 _ACEOF
72992 rm -f conftest.$ac_objext
72993 if { (ac_try="$ac_compile"
72994 case "(($ac_try" in
72995   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
72996   *) ac_try_echo=$ac_try;;
72997 esac
72998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
72999   (eval "$ac_compile") 2>conftest.er1
73000   ac_status=$?
73001   grep -v '^ *+' conftest.er1 >conftest.err
73002   rm -f conftest.er1
73003   cat conftest.err >&5
73004   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73005   (exit $ac_status); } && {
73006          test -z "$ac_cxx_werror_flag" ||
73007          test ! -s conftest.err
73008        } && test -s conftest.$ac_objext; then
73009   glibcxx_cv_func_atan2l_use=yes
73010 else
73011   echo "$as_me: failed program was:" >&5
73012 sed 's/^/| /' conftest.$ac_ext >&5
73013
73014         glibcxx_cv_func_atan2l_use=no
73015 fi
73016
73017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73018       ac_ext=c
73019 ac_cpp='$CPP $CPPFLAGS'
73020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73023
73024
73025 fi
73026
73027   fi
73028   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
73029 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6; }
73030
73031   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
73032
73033 for ac_func in atan2l
73034 do
73035 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73036 { echo "$as_me:$LINENO: checking for $ac_func" >&5
73037 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
73038 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
73039   echo $ECHO_N "(cached) $ECHO_C" >&6
73040 else
73041   if test x$gcc_no_link = xyes; then
73042   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73043 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73044    { (exit 1); exit 1; }; }
73045 fi
73046 cat >conftest.$ac_ext <<_ACEOF
73047 /* confdefs.h.  */
73048 _ACEOF
73049 cat confdefs.h >>conftest.$ac_ext
73050 cat >>conftest.$ac_ext <<_ACEOF
73051 /* end confdefs.h.  */
73052 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73053    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
73054 #define $ac_func innocuous_$ac_func
73055
73056 /* System header to define __stub macros and hopefully few prototypes,
73057     which can conflict with char $ac_func (); below.
73058     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73059     <limits.h> exists even on freestanding compilers.  */
73060
73061 #ifdef __STDC__
73062 # include <limits.h>
73063 #else
73064 # include <assert.h>
73065 #endif
73066
73067 #undef $ac_func
73068
73069 /* Override any GCC internal prototype to avoid an error.
73070    Use char because int might match the return type of a GCC
73071    builtin and then its argument prototype would still apply.  */
73072 #ifdef __cplusplus
73073 extern "C"
73074 #endif
73075 char $ac_func ();
73076 /* The GNU C library defines this for functions which it implements
73077     to always fail with ENOSYS.  Some functions are actually named
73078     something starting with __ and the normal name is an alias.  */
73079 #if defined __stub_$ac_func || defined __stub___$ac_func
73080 choke me
73081 #endif
73082
73083 int
73084 main ()
73085 {
73086 return $ac_func ();
73087   ;
73088   return 0;
73089 }
73090 _ACEOF
73091 rm -f conftest.$ac_objext conftest$ac_exeext
73092 if { (ac_try="$ac_link"
73093 case "(($ac_try" in
73094   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
73095   *) ac_try_echo=$ac_try;;
73096 esac
73097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
73098   (eval "$ac_link") 2>conftest.er1
73099   ac_status=$?
73100   grep -v '^ *+' conftest.er1 >conftest.err
73101   rm -f conftest.er1
73102   cat conftest.err >&5
73103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73104   (exit $ac_status); } && {
73105          test -z "$ac_c_werror_flag" ||
73106          test ! -s conftest.err
73107        } && test -s conftest$ac_exeext &&
73108        $as_test_x conftest$ac_exeext; then
73109   eval "$as_ac_var=yes"
73110 else
73111   echo "$as_me: failed program was:" >&5
73112 sed 's/^/| /' conftest.$ac_ext >&5
73113
73114         eval "$as_ac_var=no"
73115 fi
73116
73117 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
73118       conftest$ac_exeext conftest.$ac_ext
73119 fi
73120 ac_res=`eval echo '${'$as_ac_var'}'`
73121                { echo "$as_me:$LINENO: result: $ac_res" >&5
73122 echo "${ECHO_T}$ac_res" >&6; }
73123 if test `eval echo '${'$as_ac_var'}'` = yes; then
73124   cat >>confdefs.h <<_ACEOF
73125 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73126 _ACEOF
73127
73128 fi
73129 done
73130
73131   else
73132
73133   { echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
73134 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6; }
73135   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
73136     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
73137   echo $ECHO_N "(cached) $ECHO_C" >&6
73138 else
73139
73140
73141       ac_ext=cpp
73142 ac_cpp='$CXXCPP $CPPFLAGS'
73143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73146
73147       cat >conftest.$ac_ext <<_ACEOF
73148 /* confdefs.h.  */
73149 _ACEOF
73150 cat confdefs.h >>conftest.$ac_ext
73151 cat >>conftest.$ac_ext <<_ACEOF
73152 /* end confdefs.h.  */
73153 #include <math.h>
73154 int
73155 main ()
73156 {
73157  _atan2l(0, 0);
73158   ;
73159   return 0;
73160 }
73161 _ACEOF
73162 rm -f conftest.$ac_objext
73163 if { (ac_try="$ac_compile"
73164 case "(($ac_try" in
73165   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
73166   *) ac_try_echo=$ac_try;;
73167 esac
73168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
73169   (eval "$ac_compile") 2>conftest.er1
73170   ac_status=$?
73171   grep -v '^ *+' conftest.er1 >conftest.err
73172   rm -f conftest.er1
73173   cat conftest.err >&5
73174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73175   (exit $ac_status); } && {
73176          test -z "$ac_cxx_werror_flag" ||
73177          test ! -s conftest.err
73178        } && test -s conftest.$ac_objext; then
73179   glibcxx_cv_func__atan2l_use=yes
73180 else
73181   echo "$as_me: failed program was:" >&5
73182 sed 's/^/| /' conftest.$ac_ext >&5
73183
73184         glibcxx_cv_func__atan2l_use=no
73185 fi
73186
73187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73188       ac_ext=c
73189 ac_cpp='$CPP $CPPFLAGS'
73190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73193
73194
73195 fi
73196
73197   fi
73198   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
73199 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6; }
73200
73201     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
73202
73203 for ac_func in _atan2l
73204 do
73205 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73206 { echo "$as_me:$LINENO: checking for $ac_func" >&5
73207 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
73208 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
73209   echo $ECHO_N "(cached) $ECHO_C" >&6
73210 else
73211   if test x$gcc_no_link = xyes; then
73212   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73213 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73214    { (exit 1); exit 1; }; }
73215 fi
73216 cat >conftest.$ac_ext <<_ACEOF
73217 /* confdefs.h.  */
73218 _ACEOF
73219 cat confdefs.h >>conftest.$ac_ext
73220 cat >>conftest.$ac_ext <<_ACEOF
73221 /* end confdefs.h.  */
73222 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73223    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
73224 #define $ac_func innocuous_$ac_func
73225
73226 /* System header to define __stub macros and hopefully few prototypes,
73227     which can conflict with char $ac_func (); below.
73228     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73229     <limits.h> exists even on freestanding compilers.  */
73230
73231 #ifdef __STDC__
73232 # include <limits.h>
73233 #else
73234 # include <assert.h>
73235 #endif
73236
73237 #undef $ac_func
73238
73239 /* Override any GCC internal prototype to avoid an error.
73240    Use char because int might match the return type of a GCC
73241    builtin and then its argument prototype would still apply.  */
73242 #ifdef __cplusplus
73243 extern "C"
73244 #endif
73245 char $ac_func ();
73246 /* The GNU C library defines this for functions which it implements
73247     to always fail with ENOSYS.  Some functions are actually named
73248     something starting with __ and the normal name is an alias.  */
73249 #if defined __stub_$ac_func || defined __stub___$ac_func
73250 choke me
73251 #endif
73252
73253 int
73254 main ()
73255 {
73256 return $ac_func ();
73257   ;
73258   return 0;
73259 }
73260 _ACEOF
73261 rm -f conftest.$ac_objext conftest$ac_exeext
73262 if { (ac_try="$ac_link"
73263 case "(($ac_try" in
73264   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
73265   *) ac_try_echo=$ac_try;;
73266 esac
73267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
73268   (eval "$ac_link") 2>conftest.er1
73269   ac_status=$?
73270   grep -v '^ *+' conftest.er1 >conftest.err
73271   rm -f conftest.er1
73272   cat conftest.err >&5
73273   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73274   (exit $ac_status); } && {
73275          test -z "$ac_c_werror_flag" ||
73276          test ! -s conftest.err
73277        } && test -s conftest$ac_exeext &&
73278        $as_test_x conftest$ac_exeext; then
73279   eval "$as_ac_var=yes"
73280 else
73281   echo "$as_me: failed program was:" >&5
73282 sed 's/^/| /' conftest.$ac_ext >&5
73283
73284         eval "$as_ac_var=no"
73285 fi
73286
73287 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
73288       conftest$ac_exeext conftest.$ac_ext
73289 fi
73290 ac_res=`eval echo '${'$as_ac_var'}'`
73291                { echo "$as_me:$LINENO: result: $ac_res" >&5
73292 echo "${ECHO_T}$ac_res" >&6; }
73293 if test `eval echo '${'$as_ac_var'}'` = yes; then
73294   cat >>confdefs.h <<_ACEOF
73295 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73296 _ACEOF
73297
73298 fi
73299 done
73300
73301     fi
73302   fi
73303
73304
73305
73306
73307
73308
73309   { echo "$as_me:$LINENO: checking for expl declaration" >&5
73310 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6; }
73311   if test x${glibcxx_cv_func_expl_use+set} != xset; then
73312     if test "${glibcxx_cv_func_expl_use+set}" = set; then
73313   echo $ECHO_N "(cached) $ECHO_C" >&6
73314 else
73315
73316
73317       ac_ext=cpp
73318 ac_cpp='$CXXCPP $CPPFLAGS'
73319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73322
73323       cat >conftest.$ac_ext <<_ACEOF
73324 /* confdefs.h.  */
73325 _ACEOF
73326 cat confdefs.h >>conftest.$ac_ext
73327 cat >>conftest.$ac_ext <<_ACEOF
73328 /* end confdefs.h.  */
73329 #include <math.h>
73330                       #ifdef HAVE_IEEEFP_H
73331                       #include <ieeefp.h>
73332                       #endif
73333
73334 int
73335 main ()
73336 {
73337  expl(0);
73338   ;
73339   return 0;
73340 }
73341 _ACEOF
73342 rm -f conftest.$ac_objext
73343 if { (ac_try="$ac_compile"
73344 case "(($ac_try" in
73345   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
73346   *) ac_try_echo=$ac_try;;
73347 esac
73348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
73349   (eval "$ac_compile") 2>conftest.er1
73350   ac_status=$?
73351   grep -v '^ *+' conftest.er1 >conftest.err
73352   rm -f conftest.er1
73353   cat conftest.err >&5
73354   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73355   (exit $ac_status); } && {
73356          test -z "$ac_cxx_werror_flag" ||
73357          test ! -s conftest.err
73358        } && test -s conftest.$ac_objext; then
73359   glibcxx_cv_func_expl_use=yes
73360 else
73361   echo "$as_me: failed program was:" >&5
73362 sed 's/^/| /' conftest.$ac_ext >&5
73363
73364         glibcxx_cv_func_expl_use=no
73365 fi
73366
73367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73368       ac_ext=c
73369 ac_cpp='$CPP $CPPFLAGS'
73370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73373
73374
73375 fi
73376
73377   fi
73378   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
73379 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6; }
73380
73381   if test x$glibcxx_cv_func_expl_use = x"yes"; then
73382
73383 for ac_func in expl
73384 do
73385 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73386 { echo "$as_me:$LINENO: checking for $ac_func" >&5
73387 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
73388 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
73389   echo $ECHO_N "(cached) $ECHO_C" >&6
73390 else
73391   if test x$gcc_no_link = xyes; then
73392   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73393 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73394    { (exit 1); exit 1; }; }
73395 fi
73396 cat >conftest.$ac_ext <<_ACEOF
73397 /* confdefs.h.  */
73398 _ACEOF
73399 cat confdefs.h >>conftest.$ac_ext
73400 cat >>conftest.$ac_ext <<_ACEOF
73401 /* end confdefs.h.  */
73402 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73403    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
73404 #define $ac_func innocuous_$ac_func
73405
73406 /* System header to define __stub macros and hopefully few prototypes,
73407     which can conflict with char $ac_func (); below.
73408     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73409     <limits.h> exists even on freestanding compilers.  */
73410
73411 #ifdef __STDC__
73412 # include <limits.h>
73413 #else
73414 # include <assert.h>
73415 #endif
73416
73417 #undef $ac_func
73418
73419 /* Override any GCC internal prototype to avoid an error.
73420    Use char because int might match the return type of a GCC
73421    builtin and then its argument prototype would still apply.  */
73422 #ifdef __cplusplus
73423 extern "C"
73424 #endif
73425 char $ac_func ();
73426 /* The GNU C library defines this for functions which it implements
73427     to always fail with ENOSYS.  Some functions are actually named
73428     something starting with __ and the normal name is an alias.  */
73429 #if defined __stub_$ac_func || defined __stub___$ac_func
73430 choke me
73431 #endif
73432
73433 int
73434 main ()
73435 {
73436 return $ac_func ();
73437   ;
73438   return 0;
73439 }
73440 _ACEOF
73441 rm -f conftest.$ac_objext conftest$ac_exeext
73442 if { (ac_try="$ac_link"
73443 case "(($ac_try" in
73444   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
73445   *) ac_try_echo=$ac_try;;
73446 esac
73447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
73448   (eval "$ac_link") 2>conftest.er1
73449   ac_status=$?
73450   grep -v '^ *+' conftest.er1 >conftest.err
73451   rm -f conftest.er1
73452   cat conftest.err >&5
73453   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73454   (exit $ac_status); } && {
73455          test -z "$ac_c_werror_flag" ||
73456          test ! -s conftest.err
73457        } && test -s conftest$ac_exeext &&
73458        $as_test_x conftest$ac_exeext; then
73459   eval "$as_ac_var=yes"
73460 else
73461   echo "$as_me: failed program was:" >&5
73462 sed 's/^/| /' conftest.$ac_ext >&5
73463
73464         eval "$as_ac_var=no"
73465 fi
73466
73467 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
73468       conftest$ac_exeext conftest.$ac_ext
73469 fi
73470 ac_res=`eval echo '${'$as_ac_var'}'`
73471                { echo "$as_me:$LINENO: result: $ac_res" >&5
73472 echo "${ECHO_T}$ac_res" >&6; }
73473 if test `eval echo '${'$as_ac_var'}'` = yes; then
73474   cat >>confdefs.h <<_ACEOF
73475 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73476 _ACEOF
73477
73478 fi
73479 done
73480
73481   else
73482
73483   { echo "$as_me:$LINENO: checking for _expl declaration" >&5
73484 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6; }
73485   if test x${glibcxx_cv_func__expl_use+set} != xset; then
73486     if test "${glibcxx_cv_func__expl_use+set}" = set; then
73487   echo $ECHO_N "(cached) $ECHO_C" >&6
73488 else
73489
73490
73491       ac_ext=cpp
73492 ac_cpp='$CXXCPP $CPPFLAGS'
73493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73496
73497       cat >conftest.$ac_ext <<_ACEOF
73498 /* confdefs.h.  */
73499 _ACEOF
73500 cat confdefs.h >>conftest.$ac_ext
73501 cat >>conftest.$ac_ext <<_ACEOF
73502 /* end confdefs.h.  */
73503 #include <math.h>
73504                       #ifdef HAVE_IEEEFP_H
73505                       #include <ieeefp.h>
73506                       #endif
73507
73508 int
73509 main ()
73510 {
73511  _expl(0);
73512   ;
73513   return 0;
73514 }
73515 _ACEOF
73516 rm -f conftest.$ac_objext
73517 if { (ac_try="$ac_compile"
73518 case "(($ac_try" in
73519   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
73520   *) ac_try_echo=$ac_try;;
73521 esac
73522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
73523   (eval "$ac_compile") 2>conftest.er1
73524   ac_status=$?
73525   grep -v '^ *+' conftest.er1 >conftest.err
73526   rm -f conftest.er1
73527   cat conftest.err >&5
73528   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73529   (exit $ac_status); } && {
73530          test -z "$ac_cxx_werror_flag" ||
73531          test ! -s conftest.err
73532        } && test -s conftest.$ac_objext; then
73533   glibcxx_cv_func__expl_use=yes
73534 else
73535   echo "$as_me: failed program was:" >&5
73536 sed 's/^/| /' conftest.$ac_ext >&5
73537
73538         glibcxx_cv_func__expl_use=no
73539 fi
73540
73541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73542       ac_ext=c
73543 ac_cpp='$CPP $CPPFLAGS'
73544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73547
73548
73549 fi
73550
73551   fi
73552   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
73553 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6; }
73554
73555     if test x$glibcxx_cv_func__expl_use = x"yes"; then
73556
73557 for ac_func in _expl
73558 do
73559 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73560 { echo "$as_me:$LINENO: checking for $ac_func" >&5
73561 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
73562 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
73563   echo $ECHO_N "(cached) $ECHO_C" >&6
73564 else
73565   if test x$gcc_no_link = xyes; then
73566   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73567 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73568    { (exit 1); exit 1; }; }
73569 fi
73570 cat >conftest.$ac_ext <<_ACEOF
73571 /* confdefs.h.  */
73572 _ACEOF
73573 cat confdefs.h >>conftest.$ac_ext
73574 cat >>conftest.$ac_ext <<_ACEOF
73575 /* end confdefs.h.  */
73576 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73577    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
73578 #define $ac_func innocuous_$ac_func
73579
73580 /* System header to define __stub macros and hopefully few prototypes,
73581     which can conflict with char $ac_func (); below.
73582     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73583     <limits.h> exists even on freestanding compilers.  */
73584
73585 #ifdef __STDC__
73586 # include <limits.h>
73587 #else
73588 # include <assert.h>
73589 #endif
73590
73591 #undef $ac_func
73592
73593 /* Override any GCC internal prototype to avoid an error.
73594    Use char because int might match the return type of a GCC
73595    builtin and then its argument prototype would still apply.  */
73596 #ifdef __cplusplus
73597 extern "C"
73598 #endif
73599 char $ac_func ();
73600 /* The GNU C library defines this for functions which it implements
73601     to always fail with ENOSYS.  Some functions are actually named
73602     something starting with __ and the normal name is an alias.  */
73603 #if defined __stub_$ac_func || defined __stub___$ac_func
73604 choke me
73605 #endif
73606
73607 int
73608 main ()
73609 {
73610 return $ac_func ();
73611   ;
73612   return 0;
73613 }
73614 _ACEOF
73615 rm -f conftest.$ac_objext conftest$ac_exeext
73616 if { (ac_try="$ac_link"
73617 case "(($ac_try" in
73618   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
73619   *) ac_try_echo=$ac_try;;
73620 esac
73621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
73622   (eval "$ac_link") 2>conftest.er1
73623   ac_status=$?
73624   grep -v '^ *+' conftest.er1 >conftest.err
73625   rm -f conftest.er1
73626   cat conftest.err >&5
73627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73628   (exit $ac_status); } && {
73629          test -z "$ac_c_werror_flag" ||
73630          test ! -s conftest.err
73631        } && test -s conftest$ac_exeext &&
73632        $as_test_x conftest$ac_exeext; then
73633   eval "$as_ac_var=yes"
73634 else
73635   echo "$as_me: failed program was:" >&5
73636 sed 's/^/| /' conftest.$ac_ext >&5
73637
73638         eval "$as_ac_var=no"
73639 fi
73640
73641 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
73642       conftest$ac_exeext conftest.$ac_ext
73643 fi
73644 ac_res=`eval echo '${'$as_ac_var'}'`
73645                { echo "$as_me:$LINENO: result: $ac_res" >&5
73646 echo "${ECHO_T}$ac_res" >&6; }
73647 if test `eval echo '${'$as_ac_var'}'` = yes; then
73648   cat >>confdefs.h <<_ACEOF
73649 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73650 _ACEOF
73651
73652 fi
73653 done
73654
73655     fi
73656   fi
73657
73658
73659
73660
73661
73662
73663   { echo "$as_me:$LINENO: checking for fabsl declaration" >&5
73664 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6; }
73665   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
73666     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
73667   echo $ECHO_N "(cached) $ECHO_C" >&6
73668 else
73669
73670
73671       ac_ext=cpp
73672 ac_cpp='$CXXCPP $CPPFLAGS'
73673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73676
73677       cat >conftest.$ac_ext <<_ACEOF
73678 /* confdefs.h.  */
73679 _ACEOF
73680 cat confdefs.h >>conftest.$ac_ext
73681 cat >>conftest.$ac_ext <<_ACEOF
73682 /* end confdefs.h.  */
73683 #include <math.h>
73684                       #ifdef HAVE_IEEEFP_H
73685                       #include <ieeefp.h>
73686                       #endif
73687
73688 int
73689 main ()
73690 {
73691  fabsl(0);
73692   ;
73693   return 0;
73694 }
73695 _ACEOF
73696 rm -f conftest.$ac_objext
73697 if { (ac_try="$ac_compile"
73698 case "(($ac_try" in
73699   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
73700   *) ac_try_echo=$ac_try;;
73701 esac
73702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
73703   (eval "$ac_compile") 2>conftest.er1
73704   ac_status=$?
73705   grep -v '^ *+' conftest.er1 >conftest.err
73706   rm -f conftest.er1
73707   cat conftest.err >&5
73708   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73709   (exit $ac_status); } && {
73710          test -z "$ac_cxx_werror_flag" ||
73711          test ! -s conftest.err
73712        } && test -s conftest.$ac_objext; then
73713   glibcxx_cv_func_fabsl_use=yes
73714 else
73715   echo "$as_me: failed program was:" >&5
73716 sed 's/^/| /' conftest.$ac_ext >&5
73717
73718         glibcxx_cv_func_fabsl_use=no
73719 fi
73720
73721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73722       ac_ext=c
73723 ac_cpp='$CPP $CPPFLAGS'
73724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73727
73728
73729 fi
73730
73731   fi
73732   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
73733 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6; }
73734
73735   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
73736
73737 for ac_func in fabsl
73738 do
73739 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73740 { echo "$as_me:$LINENO: checking for $ac_func" >&5
73741 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
73742 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
73743   echo $ECHO_N "(cached) $ECHO_C" >&6
73744 else
73745   if test x$gcc_no_link = xyes; then
73746   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73747 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73748    { (exit 1); exit 1; }; }
73749 fi
73750 cat >conftest.$ac_ext <<_ACEOF
73751 /* confdefs.h.  */
73752 _ACEOF
73753 cat confdefs.h >>conftest.$ac_ext
73754 cat >>conftest.$ac_ext <<_ACEOF
73755 /* end confdefs.h.  */
73756 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73757    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
73758 #define $ac_func innocuous_$ac_func
73759
73760 /* System header to define __stub macros and hopefully few prototypes,
73761     which can conflict with char $ac_func (); below.
73762     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73763     <limits.h> exists even on freestanding compilers.  */
73764
73765 #ifdef __STDC__
73766 # include <limits.h>
73767 #else
73768 # include <assert.h>
73769 #endif
73770
73771 #undef $ac_func
73772
73773 /* Override any GCC internal prototype to avoid an error.
73774    Use char because int might match the return type of a GCC
73775    builtin and then its argument prototype would still apply.  */
73776 #ifdef __cplusplus
73777 extern "C"
73778 #endif
73779 char $ac_func ();
73780 /* The GNU C library defines this for functions which it implements
73781     to always fail with ENOSYS.  Some functions are actually named
73782     something starting with __ and the normal name is an alias.  */
73783 #if defined __stub_$ac_func || defined __stub___$ac_func
73784 choke me
73785 #endif
73786
73787 int
73788 main ()
73789 {
73790 return $ac_func ();
73791   ;
73792   return 0;
73793 }
73794 _ACEOF
73795 rm -f conftest.$ac_objext conftest$ac_exeext
73796 if { (ac_try="$ac_link"
73797 case "(($ac_try" in
73798   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
73799   *) ac_try_echo=$ac_try;;
73800 esac
73801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
73802   (eval "$ac_link") 2>conftest.er1
73803   ac_status=$?
73804   grep -v '^ *+' conftest.er1 >conftest.err
73805   rm -f conftest.er1
73806   cat conftest.err >&5
73807   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73808   (exit $ac_status); } && {
73809          test -z "$ac_c_werror_flag" ||
73810          test ! -s conftest.err
73811        } && test -s conftest$ac_exeext &&
73812        $as_test_x conftest$ac_exeext; then
73813   eval "$as_ac_var=yes"
73814 else
73815   echo "$as_me: failed program was:" >&5
73816 sed 's/^/| /' conftest.$ac_ext >&5
73817
73818         eval "$as_ac_var=no"
73819 fi
73820
73821 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
73822       conftest$ac_exeext conftest.$ac_ext
73823 fi
73824 ac_res=`eval echo '${'$as_ac_var'}'`
73825                { echo "$as_me:$LINENO: result: $ac_res" >&5
73826 echo "${ECHO_T}$ac_res" >&6; }
73827 if test `eval echo '${'$as_ac_var'}'` = yes; then
73828   cat >>confdefs.h <<_ACEOF
73829 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73830 _ACEOF
73831
73832 fi
73833 done
73834
73835   else
73836
73837   { echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
73838 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6; }
73839   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
73840     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
73841   echo $ECHO_N "(cached) $ECHO_C" >&6
73842 else
73843
73844
73845       ac_ext=cpp
73846 ac_cpp='$CXXCPP $CPPFLAGS'
73847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73850
73851       cat >conftest.$ac_ext <<_ACEOF
73852 /* confdefs.h.  */
73853 _ACEOF
73854 cat confdefs.h >>conftest.$ac_ext
73855 cat >>conftest.$ac_ext <<_ACEOF
73856 /* end confdefs.h.  */
73857 #include <math.h>
73858                       #ifdef HAVE_IEEEFP_H
73859                       #include <ieeefp.h>
73860                       #endif
73861
73862 int
73863 main ()
73864 {
73865  _fabsl(0);
73866   ;
73867   return 0;
73868 }
73869 _ACEOF
73870 rm -f conftest.$ac_objext
73871 if { (ac_try="$ac_compile"
73872 case "(($ac_try" in
73873   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
73874   *) ac_try_echo=$ac_try;;
73875 esac
73876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
73877   (eval "$ac_compile") 2>conftest.er1
73878   ac_status=$?
73879   grep -v '^ *+' conftest.er1 >conftest.err
73880   rm -f conftest.er1
73881   cat conftest.err >&5
73882   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73883   (exit $ac_status); } && {
73884          test -z "$ac_cxx_werror_flag" ||
73885          test ! -s conftest.err
73886        } && test -s conftest.$ac_objext; then
73887   glibcxx_cv_func__fabsl_use=yes
73888 else
73889   echo "$as_me: failed program was:" >&5
73890 sed 's/^/| /' conftest.$ac_ext >&5
73891
73892         glibcxx_cv_func__fabsl_use=no
73893 fi
73894
73895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73896       ac_ext=c
73897 ac_cpp='$CPP $CPPFLAGS'
73898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73901
73902
73903 fi
73904
73905   fi
73906   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
73907 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6; }
73908
73909     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
73910
73911 for ac_func in _fabsl
73912 do
73913 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73914 { echo "$as_me:$LINENO: checking for $ac_func" >&5
73915 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
73916 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
73917   echo $ECHO_N "(cached) $ECHO_C" >&6
73918 else
73919   if test x$gcc_no_link = xyes; then
73920   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73921 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73922    { (exit 1); exit 1; }; }
73923 fi
73924 cat >conftest.$ac_ext <<_ACEOF
73925 /* confdefs.h.  */
73926 _ACEOF
73927 cat confdefs.h >>conftest.$ac_ext
73928 cat >>conftest.$ac_ext <<_ACEOF
73929 /* end confdefs.h.  */
73930 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73931    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
73932 #define $ac_func innocuous_$ac_func
73933
73934 /* System header to define __stub macros and hopefully few prototypes,
73935     which can conflict with char $ac_func (); below.
73936     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73937     <limits.h> exists even on freestanding compilers.  */
73938
73939 #ifdef __STDC__
73940 # include <limits.h>
73941 #else
73942 # include <assert.h>
73943 #endif
73944
73945 #undef $ac_func
73946
73947 /* Override any GCC internal prototype to avoid an error.
73948    Use char because int might match the return type of a GCC
73949    builtin and then its argument prototype would still apply.  */
73950 #ifdef __cplusplus
73951 extern "C"
73952 #endif
73953 char $ac_func ();
73954 /* The GNU C library defines this for functions which it implements
73955     to always fail with ENOSYS.  Some functions are actually named
73956     something starting with __ and the normal name is an alias.  */
73957 #if defined __stub_$ac_func || defined __stub___$ac_func
73958 choke me
73959 #endif
73960
73961 int
73962 main ()
73963 {
73964 return $ac_func ();
73965   ;
73966   return 0;
73967 }
73968 _ACEOF
73969 rm -f conftest.$ac_objext conftest$ac_exeext
73970 if { (ac_try="$ac_link"
73971 case "(($ac_try" in
73972   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
73973   *) ac_try_echo=$ac_try;;
73974 esac
73975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
73976   (eval "$ac_link") 2>conftest.er1
73977   ac_status=$?
73978   grep -v '^ *+' conftest.er1 >conftest.err
73979   rm -f conftest.er1
73980   cat conftest.err >&5
73981   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73982   (exit $ac_status); } && {
73983          test -z "$ac_c_werror_flag" ||
73984          test ! -s conftest.err
73985        } && test -s conftest$ac_exeext &&
73986        $as_test_x conftest$ac_exeext; then
73987   eval "$as_ac_var=yes"
73988 else
73989   echo "$as_me: failed program was:" >&5
73990 sed 's/^/| /' conftest.$ac_ext >&5
73991
73992         eval "$as_ac_var=no"
73993 fi
73994
73995 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
73996       conftest$ac_exeext conftest.$ac_ext
73997 fi
73998 ac_res=`eval echo '${'$as_ac_var'}'`
73999                { echo "$as_me:$LINENO: result: $ac_res" >&5
74000 echo "${ECHO_T}$ac_res" >&6; }
74001 if test `eval echo '${'$as_ac_var'}'` = yes; then
74002   cat >>confdefs.h <<_ACEOF
74003 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74004 _ACEOF
74005
74006 fi
74007 done
74008
74009     fi
74010   fi
74011
74012
74013
74014
74015
74016
74017   { echo "$as_me:$LINENO: checking for fmodl declaration" >&5
74018 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6; }
74019   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
74020     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
74021   echo $ECHO_N "(cached) $ECHO_C" >&6
74022 else
74023
74024
74025       ac_ext=cpp
74026 ac_cpp='$CXXCPP $CPPFLAGS'
74027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74030
74031       cat >conftest.$ac_ext <<_ACEOF
74032 /* confdefs.h.  */
74033 _ACEOF
74034 cat confdefs.h >>conftest.$ac_ext
74035 cat >>conftest.$ac_ext <<_ACEOF
74036 /* end confdefs.h.  */
74037 #include <math.h>
74038 int
74039 main ()
74040 {
74041  fmodl(0, 0);
74042   ;
74043   return 0;
74044 }
74045 _ACEOF
74046 rm -f conftest.$ac_objext
74047 if { (ac_try="$ac_compile"
74048 case "(($ac_try" in
74049   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
74050   *) ac_try_echo=$ac_try;;
74051 esac
74052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
74053   (eval "$ac_compile") 2>conftest.er1
74054   ac_status=$?
74055   grep -v '^ *+' conftest.er1 >conftest.err
74056   rm -f conftest.er1
74057   cat conftest.err >&5
74058   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74059   (exit $ac_status); } && {
74060          test -z "$ac_cxx_werror_flag" ||
74061          test ! -s conftest.err
74062        } && test -s conftest.$ac_objext; then
74063   glibcxx_cv_func_fmodl_use=yes
74064 else
74065   echo "$as_me: failed program was:" >&5
74066 sed 's/^/| /' conftest.$ac_ext >&5
74067
74068         glibcxx_cv_func_fmodl_use=no
74069 fi
74070
74071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74072       ac_ext=c
74073 ac_cpp='$CPP $CPPFLAGS'
74074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74077
74078
74079 fi
74080
74081   fi
74082   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
74083 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6; }
74084
74085   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
74086
74087 for ac_func in fmodl
74088 do
74089 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74090 { echo "$as_me:$LINENO: checking for $ac_func" >&5
74091 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
74092 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
74093   echo $ECHO_N "(cached) $ECHO_C" >&6
74094 else
74095   if test x$gcc_no_link = xyes; then
74096   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74097 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74098    { (exit 1); exit 1; }; }
74099 fi
74100 cat >conftest.$ac_ext <<_ACEOF
74101 /* confdefs.h.  */
74102 _ACEOF
74103 cat confdefs.h >>conftest.$ac_ext
74104 cat >>conftest.$ac_ext <<_ACEOF
74105 /* end confdefs.h.  */
74106 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74107    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
74108 #define $ac_func innocuous_$ac_func
74109
74110 /* System header to define __stub macros and hopefully few prototypes,
74111     which can conflict with char $ac_func (); below.
74112     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74113     <limits.h> exists even on freestanding compilers.  */
74114
74115 #ifdef __STDC__
74116 # include <limits.h>
74117 #else
74118 # include <assert.h>
74119 #endif
74120
74121 #undef $ac_func
74122
74123 /* Override any GCC internal prototype to avoid an error.
74124    Use char because int might match the return type of a GCC
74125    builtin and then its argument prototype would still apply.  */
74126 #ifdef __cplusplus
74127 extern "C"
74128 #endif
74129 char $ac_func ();
74130 /* The GNU C library defines this for functions which it implements
74131     to always fail with ENOSYS.  Some functions are actually named
74132     something starting with __ and the normal name is an alias.  */
74133 #if defined __stub_$ac_func || defined __stub___$ac_func
74134 choke me
74135 #endif
74136
74137 int
74138 main ()
74139 {
74140 return $ac_func ();
74141   ;
74142   return 0;
74143 }
74144 _ACEOF
74145 rm -f conftest.$ac_objext conftest$ac_exeext
74146 if { (ac_try="$ac_link"
74147 case "(($ac_try" in
74148   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
74149   *) ac_try_echo=$ac_try;;
74150 esac
74151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
74152   (eval "$ac_link") 2>conftest.er1
74153   ac_status=$?
74154   grep -v '^ *+' conftest.er1 >conftest.err
74155   rm -f conftest.er1
74156   cat conftest.err >&5
74157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74158   (exit $ac_status); } && {
74159          test -z "$ac_c_werror_flag" ||
74160          test ! -s conftest.err
74161        } && test -s conftest$ac_exeext &&
74162        $as_test_x conftest$ac_exeext; then
74163   eval "$as_ac_var=yes"
74164 else
74165   echo "$as_me: failed program was:" >&5
74166 sed 's/^/| /' conftest.$ac_ext >&5
74167
74168         eval "$as_ac_var=no"
74169 fi
74170
74171 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
74172       conftest$ac_exeext conftest.$ac_ext
74173 fi
74174 ac_res=`eval echo '${'$as_ac_var'}'`
74175                { echo "$as_me:$LINENO: result: $ac_res" >&5
74176 echo "${ECHO_T}$ac_res" >&6; }
74177 if test `eval echo '${'$as_ac_var'}'` = yes; then
74178   cat >>confdefs.h <<_ACEOF
74179 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74180 _ACEOF
74181
74182 fi
74183 done
74184
74185   else
74186
74187   { echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
74188 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6; }
74189   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
74190     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
74191   echo $ECHO_N "(cached) $ECHO_C" >&6
74192 else
74193
74194
74195       ac_ext=cpp
74196 ac_cpp='$CXXCPP $CPPFLAGS'
74197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74200
74201       cat >conftest.$ac_ext <<_ACEOF
74202 /* confdefs.h.  */
74203 _ACEOF
74204 cat confdefs.h >>conftest.$ac_ext
74205 cat >>conftest.$ac_ext <<_ACEOF
74206 /* end confdefs.h.  */
74207 #include <math.h>
74208 int
74209 main ()
74210 {
74211  _fmodl(0, 0);
74212   ;
74213   return 0;
74214 }
74215 _ACEOF
74216 rm -f conftest.$ac_objext
74217 if { (ac_try="$ac_compile"
74218 case "(($ac_try" in
74219   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
74220   *) ac_try_echo=$ac_try;;
74221 esac
74222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
74223   (eval "$ac_compile") 2>conftest.er1
74224   ac_status=$?
74225   grep -v '^ *+' conftest.er1 >conftest.err
74226   rm -f conftest.er1
74227   cat conftest.err >&5
74228   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74229   (exit $ac_status); } && {
74230          test -z "$ac_cxx_werror_flag" ||
74231          test ! -s conftest.err
74232        } && test -s conftest.$ac_objext; then
74233   glibcxx_cv_func__fmodl_use=yes
74234 else
74235   echo "$as_me: failed program was:" >&5
74236 sed 's/^/| /' conftest.$ac_ext >&5
74237
74238         glibcxx_cv_func__fmodl_use=no
74239 fi
74240
74241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74242       ac_ext=c
74243 ac_cpp='$CPP $CPPFLAGS'
74244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74247
74248
74249 fi
74250
74251   fi
74252   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
74253 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6; }
74254
74255     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
74256
74257 for ac_func in _fmodl
74258 do
74259 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74260 { echo "$as_me:$LINENO: checking for $ac_func" >&5
74261 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
74262 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
74263   echo $ECHO_N "(cached) $ECHO_C" >&6
74264 else
74265   if test x$gcc_no_link = xyes; then
74266   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74267 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74268    { (exit 1); exit 1; }; }
74269 fi
74270 cat >conftest.$ac_ext <<_ACEOF
74271 /* confdefs.h.  */
74272 _ACEOF
74273 cat confdefs.h >>conftest.$ac_ext
74274 cat >>conftest.$ac_ext <<_ACEOF
74275 /* end confdefs.h.  */
74276 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74277    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
74278 #define $ac_func innocuous_$ac_func
74279
74280 /* System header to define __stub macros and hopefully few prototypes,
74281     which can conflict with char $ac_func (); below.
74282     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74283     <limits.h> exists even on freestanding compilers.  */
74284
74285 #ifdef __STDC__
74286 # include <limits.h>
74287 #else
74288 # include <assert.h>
74289 #endif
74290
74291 #undef $ac_func
74292
74293 /* Override any GCC internal prototype to avoid an error.
74294    Use char because int might match the return type of a GCC
74295    builtin and then its argument prototype would still apply.  */
74296 #ifdef __cplusplus
74297 extern "C"
74298 #endif
74299 char $ac_func ();
74300 /* The GNU C library defines this for functions which it implements
74301     to always fail with ENOSYS.  Some functions are actually named
74302     something starting with __ and the normal name is an alias.  */
74303 #if defined __stub_$ac_func || defined __stub___$ac_func
74304 choke me
74305 #endif
74306
74307 int
74308 main ()
74309 {
74310 return $ac_func ();
74311   ;
74312   return 0;
74313 }
74314 _ACEOF
74315 rm -f conftest.$ac_objext conftest$ac_exeext
74316 if { (ac_try="$ac_link"
74317 case "(($ac_try" in
74318   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
74319   *) ac_try_echo=$ac_try;;
74320 esac
74321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
74322   (eval "$ac_link") 2>conftest.er1
74323   ac_status=$?
74324   grep -v '^ *+' conftest.er1 >conftest.err
74325   rm -f conftest.er1
74326   cat conftest.err >&5
74327   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74328   (exit $ac_status); } && {
74329          test -z "$ac_c_werror_flag" ||
74330          test ! -s conftest.err
74331        } && test -s conftest$ac_exeext &&
74332        $as_test_x conftest$ac_exeext; then
74333   eval "$as_ac_var=yes"
74334 else
74335   echo "$as_me: failed program was:" >&5
74336 sed 's/^/| /' conftest.$ac_ext >&5
74337
74338         eval "$as_ac_var=no"
74339 fi
74340
74341 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
74342       conftest$ac_exeext conftest.$ac_ext
74343 fi
74344 ac_res=`eval echo '${'$as_ac_var'}'`
74345                { echo "$as_me:$LINENO: result: $ac_res" >&5
74346 echo "${ECHO_T}$ac_res" >&6; }
74347 if test `eval echo '${'$as_ac_var'}'` = yes; then
74348   cat >>confdefs.h <<_ACEOF
74349 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74350 _ACEOF
74351
74352 fi
74353 done
74354
74355     fi
74356   fi
74357
74358
74359
74360
74361
74362
74363   { echo "$as_me:$LINENO: checking for frexpl declaration" >&5
74364 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6; }
74365   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
74366     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
74367   echo $ECHO_N "(cached) $ECHO_C" >&6
74368 else
74369
74370
74371       ac_ext=cpp
74372 ac_cpp='$CXXCPP $CPPFLAGS'
74373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74376
74377       cat >conftest.$ac_ext <<_ACEOF
74378 /* confdefs.h.  */
74379 _ACEOF
74380 cat confdefs.h >>conftest.$ac_ext
74381 cat >>conftest.$ac_ext <<_ACEOF
74382 /* end confdefs.h.  */
74383 #include <math.h>
74384 int
74385 main ()
74386 {
74387  frexpl(0, 0);
74388   ;
74389   return 0;
74390 }
74391 _ACEOF
74392 rm -f conftest.$ac_objext
74393 if { (ac_try="$ac_compile"
74394 case "(($ac_try" in
74395   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
74396   *) ac_try_echo=$ac_try;;
74397 esac
74398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
74399   (eval "$ac_compile") 2>conftest.er1
74400   ac_status=$?
74401   grep -v '^ *+' conftest.er1 >conftest.err
74402   rm -f conftest.er1
74403   cat conftest.err >&5
74404   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74405   (exit $ac_status); } && {
74406          test -z "$ac_cxx_werror_flag" ||
74407          test ! -s conftest.err
74408        } && test -s conftest.$ac_objext; then
74409   glibcxx_cv_func_frexpl_use=yes
74410 else
74411   echo "$as_me: failed program was:" >&5
74412 sed 's/^/| /' conftest.$ac_ext >&5
74413
74414         glibcxx_cv_func_frexpl_use=no
74415 fi
74416
74417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74418       ac_ext=c
74419 ac_cpp='$CPP $CPPFLAGS'
74420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74423
74424
74425 fi
74426
74427   fi
74428   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
74429 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6; }
74430
74431   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
74432
74433 for ac_func in frexpl
74434 do
74435 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74436 { echo "$as_me:$LINENO: checking for $ac_func" >&5
74437 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
74438 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
74439   echo $ECHO_N "(cached) $ECHO_C" >&6
74440 else
74441   if test x$gcc_no_link = xyes; then
74442   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74443 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74444    { (exit 1); exit 1; }; }
74445 fi
74446 cat >conftest.$ac_ext <<_ACEOF
74447 /* confdefs.h.  */
74448 _ACEOF
74449 cat confdefs.h >>conftest.$ac_ext
74450 cat >>conftest.$ac_ext <<_ACEOF
74451 /* end confdefs.h.  */
74452 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74453    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
74454 #define $ac_func innocuous_$ac_func
74455
74456 /* System header to define __stub macros and hopefully few prototypes,
74457     which can conflict with char $ac_func (); below.
74458     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74459     <limits.h> exists even on freestanding compilers.  */
74460
74461 #ifdef __STDC__
74462 # include <limits.h>
74463 #else
74464 # include <assert.h>
74465 #endif
74466
74467 #undef $ac_func
74468
74469 /* Override any GCC internal prototype to avoid an error.
74470    Use char because int might match the return type of a GCC
74471    builtin and then its argument prototype would still apply.  */
74472 #ifdef __cplusplus
74473 extern "C"
74474 #endif
74475 char $ac_func ();
74476 /* The GNU C library defines this for functions which it implements
74477     to always fail with ENOSYS.  Some functions are actually named
74478     something starting with __ and the normal name is an alias.  */
74479 #if defined __stub_$ac_func || defined __stub___$ac_func
74480 choke me
74481 #endif
74482
74483 int
74484 main ()
74485 {
74486 return $ac_func ();
74487   ;
74488   return 0;
74489 }
74490 _ACEOF
74491 rm -f conftest.$ac_objext conftest$ac_exeext
74492 if { (ac_try="$ac_link"
74493 case "(($ac_try" in
74494   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
74495   *) ac_try_echo=$ac_try;;
74496 esac
74497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
74498   (eval "$ac_link") 2>conftest.er1
74499   ac_status=$?
74500   grep -v '^ *+' conftest.er1 >conftest.err
74501   rm -f conftest.er1
74502   cat conftest.err >&5
74503   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74504   (exit $ac_status); } && {
74505          test -z "$ac_c_werror_flag" ||
74506          test ! -s conftest.err
74507        } && test -s conftest$ac_exeext &&
74508        $as_test_x conftest$ac_exeext; then
74509   eval "$as_ac_var=yes"
74510 else
74511   echo "$as_me: failed program was:" >&5
74512 sed 's/^/| /' conftest.$ac_ext >&5
74513
74514         eval "$as_ac_var=no"
74515 fi
74516
74517 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
74518       conftest$ac_exeext conftest.$ac_ext
74519 fi
74520 ac_res=`eval echo '${'$as_ac_var'}'`
74521                { echo "$as_me:$LINENO: result: $ac_res" >&5
74522 echo "${ECHO_T}$ac_res" >&6; }
74523 if test `eval echo '${'$as_ac_var'}'` = yes; then
74524   cat >>confdefs.h <<_ACEOF
74525 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74526 _ACEOF
74527
74528 fi
74529 done
74530
74531   else
74532
74533   { echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
74534 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6; }
74535   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
74536     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
74537   echo $ECHO_N "(cached) $ECHO_C" >&6
74538 else
74539
74540
74541       ac_ext=cpp
74542 ac_cpp='$CXXCPP $CPPFLAGS'
74543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74546
74547       cat >conftest.$ac_ext <<_ACEOF
74548 /* confdefs.h.  */
74549 _ACEOF
74550 cat confdefs.h >>conftest.$ac_ext
74551 cat >>conftest.$ac_ext <<_ACEOF
74552 /* end confdefs.h.  */
74553 #include <math.h>
74554 int
74555 main ()
74556 {
74557  _frexpl(0, 0);
74558   ;
74559   return 0;
74560 }
74561 _ACEOF
74562 rm -f conftest.$ac_objext
74563 if { (ac_try="$ac_compile"
74564 case "(($ac_try" in
74565   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
74566   *) ac_try_echo=$ac_try;;
74567 esac
74568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
74569   (eval "$ac_compile") 2>conftest.er1
74570   ac_status=$?
74571   grep -v '^ *+' conftest.er1 >conftest.err
74572   rm -f conftest.er1
74573   cat conftest.err >&5
74574   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74575   (exit $ac_status); } && {
74576          test -z "$ac_cxx_werror_flag" ||
74577          test ! -s conftest.err
74578        } && test -s conftest.$ac_objext; then
74579   glibcxx_cv_func__frexpl_use=yes
74580 else
74581   echo "$as_me: failed program was:" >&5
74582 sed 's/^/| /' conftest.$ac_ext >&5
74583
74584         glibcxx_cv_func__frexpl_use=no
74585 fi
74586
74587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74588       ac_ext=c
74589 ac_cpp='$CPP $CPPFLAGS'
74590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74593
74594
74595 fi
74596
74597   fi
74598   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
74599 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6; }
74600
74601     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
74602
74603 for ac_func in _frexpl
74604 do
74605 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74606 { echo "$as_me:$LINENO: checking for $ac_func" >&5
74607 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
74608 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
74609   echo $ECHO_N "(cached) $ECHO_C" >&6
74610 else
74611   if test x$gcc_no_link = xyes; then
74612   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74613 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74614    { (exit 1); exit 1; }; }
74615 fi
74616 cat >conftest.$ac_ext <<_ACEOF
74617 /* confdefs.h.  */
74618 _ACEOF
74619 cat confdefs.h >>conftest.$ac_ext
74620 cat >>conftest.$ac_ext <<_ACEOF
74621 /* end confdefs.h.  */
74622 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74623    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
74624 #define $ac_func innocuous_$ac_func
74625
74626 /* System header to define __stub macros and hopefully few prototypes,
74627     which can conflict with char $ac_func (); below.
74628     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74629     <limits.h> exists even on freestanding compilers.  */
74630
74631 #ifdef __STDC__
74632 # include <limits.h>
74633 #else
74634 # include <assert.h>
74635 #endif
74636
74637 #undef $ac_func
74638
74639 /* Override any GCC internal prototype to avoid an error.
74640    Use char because int might match the return type of a GCC
74641    builtin and then its argument prototype would still apply.  */
74642 #ifdef __cplusplus
74643 extern "C"
74644 #endif
74645 char $ac_func ();
74646 /* The GNU C library defines this for functions which it implements
74647     to always fail with ENOSYS.  Some functions are actually named
74648     something starting with __ and the normal name is an alias.  */
74649 #if defined __stub_$ac_func || defined __stub___$ac_func
74650 choke me
74651 #endif
74652
74653 int
74654 main ()
74655 {
74656 return $ac_func ();
74657   ;
74658   return 0;
74659 }
74660 _ACEOF
74661 rm -f conftest.$ac_objext conftest$ac_exeext
74662 if { (ac_try="$ac_link"
74663 case "(($ac_try" in
74664   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
74665   *) ac_try_echo=$ac_try;;
74666 esac
74667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
74668   (eval "$ac_link") 2>conftest.er1
74669   ac_status=$?
74670   grep -v '^ *+' conftest.er1 >conftest.err
74671   rm -f conftest.er1
74672   cat conftest.err >&5
74673   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74674   (exit $ac_status); } && {
74675          test -z "$ac_c_werror_flag" ||
74676          test ! -s conftest.err
74677        } && test -s conftest$ac_exeext &&
74678        $as_test_x conftest$ac_exeext; then
74679   eval "$as_ac_var=yes"
74680 else
74681   echo "$as_me: failed program was:" >&5
74682 sed 's/^/| /' conftest.$ac_ext >&5
74683
74684         eval "$as_ac_var=no"
74685 fi
74686
74687 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
74688       conftest$ac_exeext conftest.$ac_ext
74689 fi
74690 ac_res=`eval echo '${'$as_ac_var'}'`
74691                { echo "$as_me:$LINENO: result: $ac_res" >&5
74692 echo "${ECHO_T}$ac_res" >&6; }
74693 if test `eval echo '${'$as_ac_var'}'` = yes; then
74694   cat >>confdefs.h <<_ACEOF
74695 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74696 _ACEOF
74697
74698 fi
74699 done
74700
74701     fi
74702   fi
74703
74704
74705
74706
74707
74708
74709   { echo "$as_me:$LINENO: checking for hypotl declaration" >&5
74710 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6; }
74711   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
74712     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
74713   echo $ECHO_N "(cached) $ECHO_C" >&6
74714 else
74715
74716
74717       ac_ext=cpp
74718 ac_cpp='$CXXCPP $CPPFLAGS'
74719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74722
74723       cat >conftest.$ac_ext <<_ACEOF
74724 /* confdefs.h.  */
74725 _ACEOF
74726 cat confdefs.h >>conftest.$ac_ext
74727 cat >>conftest.$ac_ext <<_ACEOF
74728 /* end confdefs.h.  */
74729 #include <math.h>
74730 int
74731 main ()
74732 {
74733  hypotl(0, 0);
74734   ;
74735   return 0;
74736 }
74737 _ACEOF
74738 rm -f conftest.$ac_objext
74739 if { (ac_try="$ac_compile"
74740 case "(($ac_try" in
74741   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
74742   *) ac_try_echo=$ac_try;;
74743 esac
74744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
74745   (eval "$ac_compile") 2>conftest.er1
74746   ac_status=$?
74747   grep -v '^ *+' conftest.er1 >conftest.err
74748   rm -f conftest.er1
74749   cat conftest.err >&5
74750   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74751   (exit $ac_status); } && {
74752          test -z "$ac_cxx_werror_flag" ||
74753          test ! -s conftest.err
74754        } && test -s conftest.$ac_objext; then
74755   glibcxx_cv_func_hypotl_use=yes
74756 else
74757   echo "$as_me: failed program was:" >&5
74758 sed 's/^/| /' conftest.$ac_ext >&5
74759
74760         glibcxx_cv_func_hypotl_use=no
74761 fi
74762
74763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74764       ac_ext=c
74765 ac_cpp='$CPP $CPPFLAGS'
74766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74769
74770
74771 fi
74772
74773   fi
74774   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
74775 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6; }
74776
74777   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
74778
74779 for ac_func in hypotl
74780 do
74781 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74782 { echo "$as_me:$LINENO: checking for $ac_func" >&5
74783 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
74784 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
74785   echo $ECHO_N "(cached) $ECHO_C" >&6
74786 else
74787   if test x$gcc_no_link = xyes; then
74788   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74789 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74790    { (exit 1); exit 1; }; }
74791 fi
74792 cat >conftest.$ac_ext <<_ACEOF
74793 /* confdefs.h.  */
74794 _ACEOF
74795 cat confdefs.h >>conftest.$ac_ext
74796 cat >>conftest.$ac_ext <<_ACEOF
74797 /* end confdefs.h.  */
74798 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74799    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
74800 #define $ac_func innocuous_$ac_func
74801
74802 /* System header to define __stub macros and hopefully few prototypes,
74803     which can conflict with char $ac_func (); below.
74804     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74805     <limits.h> exists even on freestanding compilers.  */
74806
74807 #ifdef __STDC__
74808 # include <limits.h>
74809 #else
74810 # include <assert.h>
74811 #endif
74812
74813 #undef $ac_func
74814
74815 /* Override any GCC internal prototype to avoid an error.
74816    Use char because int might match the return type of a GCC
74817    builtin and then its argument prototype would still apply.  */
74818 #ifdef __cplusplus
74819 extern "C"
74820 #endif
74821 char $ac_func ();
74822 /* The GNU C library defines this for functions which it implements
74823     to always fail with ENOSYS.  Some functions are actually named
74824     something starting with __ and the normal name is an alias.  */
74825 #if defined __stub_$ac_func || defined __stub___$ac_func
74826 choke me
74827 #endif
74828
74829 int
74830 main ()
74831 {
74832 return $ac_func ();
74833   ;
74834   return 0;
74835 }
74836 _ACEOF
74837 rm -f conftest.$ac_objext conftest$ac_exeext
74838 if { (ac_try="$ac_link"
74839 case "(($ac_try" in
74840   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
74841   *) ac_try_echo=$ac_try;;
74842 esac
74843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
74844   (eval "$ac_link") 2>conftest.er1
74845   ac_status=$?
74846   grep -v '^ *+' conftest.er1 >conftest.err
74847   rm -f conftest.er1
74848   cat conftest.err >&5
74849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74850   (exit $ac_status); } && {
74851          test -z "$ac_c_werror_flag" ||
74852          test ! -s conftest.err
74853        } && test -s conftest$ac_exeext &&
74854        $as_test_x conftest$ac_exeext; then
74855   eval "$as_ac_var=yes"
74856 else
74857   echo "$as_me: failed program was:" >&5
74858 sed 's/^/| /' conftest.$ac_ext >&5
74859
74860         eval "$as_ac_var=no"
74861 fi
74862
74863 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
74864       conftest$ac_exeext conftest.$ac_ext
74865 fi
74866 ac_res=`eval echo '${'$as_ac_var'}'`
74867                { echo "$as_me:$LINENO: result: $ac_res" >&5
74868 echo "${ECHO_T}$ac_res" >&6; }
74869 if test `eval echo '${'$as_ac_var'}'` = yes; then
74870   cat >>confdefs.h <<_ACEOF
74871 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74872 _ACEOF
74873
74874 fi
74875 done
74876
74877   else
74878
74879   { echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
74880 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6; }
74881   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
74882     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
74883   echo $ECHO_N "(cached) $ECHO_C" >&6
74884 else
74885
74886
74887       ac_ext=cpp
74888 ac_cpp='$CXXCPP $CPPFLAGS'
74889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74892
74893       cat >conftest.$ac_ext <<_ACEOF
74894 /* confdefs.h.  */
74895 _ACEOF
74896 cat confdefs.h >>conftest.$ac_ext
74897 cat >>conftest.$ac_ext <<_ACEOF
74898 /* end confdefs.h.  */
74899 #include <math.h>
74900 int
74901 main ()
74902 {
74903  _hypotl(0, 0);
74904   ;
74905   return 0;
74906 }
74907 _ACEOF
74908 rm -f conftest.$ac_objext
74909 if { (ac_try="$ac_compile"
74910 case "(($ac_try" in
74911   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
74912   *) ac_try_echo=$ac_try;;
74913 esac
74914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
74915   (eval "$ac_compile") 2>conftest.er1
74916   ac_status=$?
74917   grep -v '^ *+' conftest.er1 >conftest.err
74918   rm -f conftest.er1
74919   cat conftest.err >&5
74920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74921   (exit $ac_status); } && {
74922          test -z "$ac_cxx_werror_flag" ||
74923          test ! -s conftest.err
74924        } && test -s conftest.$ac_objext; then
74925   glibcxx_cv_func__hypotl_use=yes
74926 else
74927   echo "$as_me: failed program was:" >&5
74928 sed 's/^/| /' conftest.$ac_ext >&5
74929
74930         glibcxx_cv_func__hypotl_use=no
74931 fi
74932
74933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74934       ac_ext=c
74935 ac_cpp='$CPP $CPPFLAGS'
74936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74939
74940
74941 fi
74942
74943   fi
74944   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
74945 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6; }
74946
74947     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
74948
74949 for ac_func in _hypotl
74950 do
74951 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74952 { echo "$as_me:$LINENO: checking for $ac_func" >&5
74953 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
74954 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
74955   echo $ECHO_N "(cached) $ECHO_C" >&6
74956 else
74957   if test x$gcc_no_link = xyes; then
74958   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74959 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74960    { (exit 1); exit 1; }; }
74961 fi
74962 cat >conftest.$ac_ext <<_ACEOF
74963 /* confdefs.h.  */
74964 _ACEOF
74965 cat confdefs.h >>conftest.$ac_ext
74966 cat >>conftest.$ac_ext <<_ACEOF
74967 /* end confdefs.h.  */
74968 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74969    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
74970 #define $ac_func innocuous_$ac_func
74971
74972 /* System header to define __stub macros and hopefully few prototypes,
74973     which can conflict with char $ac_func (); below.
74974     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74975     <limits.h> exists even on freestanding compilers.  */
74976
74977 #ifdef __STDC__
74978 # include <limits.h>
74979 #else
74980 # include <assert.h>
74981 #endif
74982
74983 #undef $ac_func
74984
74985 /* Override any GCC internal prototype to avoid an error.
74986    Use char because int might match the return type of a GCC
74987    builtin and then its argument prototype would still apply.  */
74988 #ifdef __cplusplus
74989 extern "C"
74990 #endif
74991 char $ac_func ();
74992 /* The GNU C library defines this for functions which it implements
74993     to always fail with ENOSYS.  Some functions are actually named
74994     something starting with __ and the normal name is an alias.  */
74995 #if defined __stub_$ac_func || defined __stub___$ac_func
74996 choke me
74997 #endif
74998
74999 int
75000 main ()
75001 {
75002 return $ac_func ();
75003   ;
75004   return 0;
75005 }
75006 _ACEOF
75007 rm -f conftest.$ac_objext conftest$ac_exeext
75008 if { (ac_try="$ac_link"
75009 case "(($ac_try" in
75010   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
75011   *) ac_try_echo=$ac_try;;
75012 esac
75013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
75014   (eval "$ac_link") 2>conftest.er1
75015   ac_status=$?
75016   grep -v '^ *+' conftest.er1 >conftest.err
75017   rm -f conftest.er1
75018   cat conftest.err >&5
75019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75020   (exit $ac_status); } && {
75021          test -z "$ac_c_werror_flag" ||
75022          test ! -s conftest.err
75023        } && test -s conftest$ac_exeext &&
75024        $as_test_x conftest$ac_exeext; then
75025   eval "$as_ac_var=yes"
75026 else
75027   echo "$as_me: failed program was:" >&5
75028 sed 's/^/| /' conftest.$ac_ext >&5
75029
75030         eval "$as_ac_var=no"
75031 fi
75032
75033 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
75034       conftest$ac_exeext conftest.$ac_ext
75035 fi
75036 ac_res=`eval echo '${'$as_ac_var'}'`
75037                { echo "$as_me:$LINENO: result: $ac_res" >&5
75038 echo "${ECHO_T}$ac_res" >&6; }
75039 if test `eval echo '${'$as_ac_var'}'` = yes; then
75040   cat >>confdefs.h <<_ACEOF
75041 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75042 _ACEOF
75043
75044 fi
75045 done
75046
75047     fi
75048   fi
75049
75050
75051
75052
75053
75054
75055   { echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
75056 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6; }
75057   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
75058     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
75059   echo $ECHO_N "(cached) $ECHO_C" >&6
75060 else
75061
75062
75063       ac_ext=cpp
75064 ac_cpp='$CXXCPP $CPPFLAGS'
75065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75068
75069       cat >conftest.$ac_ext <<_ACEOF
75070 /* confdefs.h.  */
75071 _ACEOF
75072 cat confdefs.h >>conftest.$ac_ext
75073 cat >>conftest.$ac_ext <<_ACEOF
75074 /* end confdefs.h.  */
75075 #include <math.h>
75076 int
75077 main ()
75078 {
75079  ldexpl(0, 0);
75080   ;
75081   return 0;
75082 }
75083 _ACEOF
75084 rm -f conftest.$ac_objext
75085 if { (ac_try="$ac_compile"
75086 case "(($ac_try" in
75087   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
75088   *) ac_try_echo=$ac_try;;
75089 esac
75090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
75091   (eval "$ac_compile") 2>conftest.er1
75092   ac_status=$?
75093   grep -v '^ *+' conftest.er1 >conftest.err
75094   rm -f conftest.er1
75095   cat conftest.err >&5
75096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75097   (exit $ac_status); } && {
75098          test -z "$ac_cxx_werror_flag" ||
75099          test ! -s conftest.err
75100        } && test -s conftest.$ac_objext; then
75101   glibcxx_cv_func_ldexpl_use=yes
75102 else
75103   echo "$as_me: failed program was:" >&5
75104 sed 's/^/| /' conftest.$ac_ext >&5
75105
75106         glibcxx_cv_func_ldexpl_use=no
75107 fi
75108
75109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75110       ac_ext=c
75111 ac_cpp='$CPP $CPPFLAGS'
75112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75115
75116
75117 fi
75118
75119   fi
75120   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
75121 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6; }
75122
75123   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
75124
75125 for ac_func in ldexpl
75126 do
75127 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75128 { echo "$as_me:$LINENO: checking for $ac_func" >&5
75129 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
75130 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
75131   echo $ECHO_N "(cached) $ECHO_C" >&6
75132 else
75133   if test x$gcc_no_link = xyes; then
75134   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75135 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75136    { (exit 1); exit 1; }; }
75137 fi
75138 cat >conftest.$ac_ext <<_ACEOF
75139 /* confdefs.h.  */
75140 _ACEOF
75141 cat confdefs.h >>conftest.$ac_ext
75142 cat >>conftest.$ac_ext <<_ACEOF
75143 /* end confdefs.h.  */
75144 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75145    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
75146 #define $ac_func innocuous_$ac_func
75147
75148 /* System header to define __stub macros and hopefully few prototypes,
75149     which can conflict with char $ac_func (); below.
75150     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75151     <limits.h> exists even on freestanding compilers.  */
75152
75153 #ifdef __STDC__
75154 # include <limits.h>
75155 #else
75156 # include <assert.h>
75157 #endif
75158
75159 #undef $ac_func
75160
75161 /* Override any GCC internal prototype to avoid an error.
75162    Use char because int might match the return type of a GCC
75163    builtin and then its argument prototype would still apply.  */
75164 #ifdef __cplusplus
75165 extern "C"
75166 #endif
75167 char $ac_func ();
75168 /* The GNU C library defines this for functions which it implements
75169     to always fail with ENOSYS.  Some functions are actually named
75170     something starting with __ and the normal name is an alias.  */
75171 #if defined __stub_$ac_func || defined __stub___$ac_func
75172 choke me
75173 #endif
75174
75175 int
75176 main ()
75177 {
75178 return $ac_func ();
75179   ;
75180   return 0;
75181 }
75182 _ACEOF
75183 rm -f conftest.$ac_objext conftest$ac_exeext
75184 if { (ac_try="$ac_link"
75185 case "(($ac_try" in
75186   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
75187   *) ac_try_echo=$ac_try;;
75188 esac
75189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
75190   (eval "$ac_link") 2>conftest.er1
75191   ac_status=$?
75192   grep -v '^ *+' conftest.er1 >conftest.err
75193   rm -f conftest.er1
75194   cat conftest.err >&5
75195   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75196   (exit $ac_status); } && {
75197          test -z "$ac_c_werror_flag" ||
75198          test ! -s conftest.err
75199        } && test -s conftest$ac_exeext &&
75200        $as_test_x conftest$ac_exeext; then
75201   eval "$as_ac_var=yes"
75202 else
75203   echo "$as_me: failed program was:" >&5
75204 sed 's/^/| /' conftest.$ac_ext >&5
75205
75206         eval "$as_ac_var=no"
75207 fi
75208
75209 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
75210       conftest$ac_exeext conftest.$ac_ext
75211 fi
75212 ac_res=`eval echo '${'$as_ac_var'}'`
75213                { echo "$as_me:$LINENO: result: $ac_res" >&5
75214 echo "${ECHO_T}$ac_res" >&6; }
75215 if test `eval echo '${'$as_ac_var'}'` = yes; then
75216   cat >>confdefs.h <<_ACEOF
75217 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75218 _ACEOF
75219
75220 fi
75221 done
75222
75223   else
75224
75225   { echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
75226 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6; }
75227   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
75228     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
75229   echo $ECHO_N "(cached) $ECHO_C" >&6
75230 else
75231
75232
75233       ac_ext=cpp
75234 ac_cpp='$CXXCPP $CPPFLAGS'
75235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75238
75239       cat >conftest.$ac_ext <<_ACEOF
75240 /* confdefs.h.  */
75241 _ACEOF
75242 cat confdefs.h >>conftest.$ac_ext
75243 cat >>conftest.$ac_ext <<_ACEOF
75244 /* end confdefs.h.  */
75245 #include <math.h>
75246 int
75247 main ()
75248 {
75249  _ldexpl(0, 0);
75250   ;
75251   return 0;
75252 }
75253 _ACEOF
75254 rm -f conftest.$ac_objext
75255 if { (ac_try="$ac_compile"
75256 case "(($ac_try" in
75257   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
75258   *) ac_try_echo=$ac_try;;
75259 esac
75260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
75261   (eval "$ac_compile") 2>conftest.er1
75262   ac_status=$?
75263   grep -v '^ *+' conftest.er1 >conftest.err
75264   rm -f conftest.er1
75265   cat conftest.err >&5
75266   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75267   (exit $ac_status); } && {
75268          test -z "$ac_cxx_werror_flag" ||
75269          test ! -s conftest.err
75270        } && test -s conftest.$ac_objext; then
75271   glibcxx_cv_func__ldexpl_use=yes
75272 else
75273   echo "$as_me: failed program was:" >&5
75274 sed 's/^/| /' conftest.$ac_ext >&5
75275
75276         glibcxx_cv_func__ldexpl_use=no
75277 fi
75278
75279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75280       ac_ext=c
75281 ac_cpp='$CPP $CPPFLAGS'
75282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75285
75286
75287 fi
75288
75289   fi
75290   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
75291 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6; }
75292
75293     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
75294
75295 for ac_func in _ldexpl
75296 do
75297 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75298 { echo "$as_me:$LINENO: checking for $ac_func" >&5
75299 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
75300 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
75301   echo $ECHO_N "(cached) $ECHO_C" >&6
75302 else
75303   if test x$gcc_no_link = xyes; then
75304   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75305 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75306    { (exit 1); exit 1; }; }
75307 fi
75308 cat >conftest.$ac_ext <<_ACEOF
75309 /* confdefs.h.  */
75310 _ACEOF
75311 cat confdefs.h >>conftest.$ac_ext
75312 cat >>conftest.$ac_ext <<_ACEOF
75313 /* end confdefs.h.  */
75314 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75315    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
75316 #define $ac_func innocuous_$ac_func
75317
75318 /* System header to define __stub macros and hopefully few prototypes,
75319     which can conflict with char $ac_func (); below.
75320     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75321     <limits.h> exists even on freestanding compilers.  */
75322
75323 #ifdef __STDC__
75324 # include <limits.h>
75325 #else
75326 # include <assert.h>
75327 #endif
75328
75329 #undef $ac_func
75330
75331 /* Override any GCC internal prototype to avoid an error.
75332    Use char because int might match the return type of a GCC
75333    builtin and then its argument prototype would still apply.  */
75334 #ifdef __cplusplus
75335 extern "C"
75336 #endif
75337 char $ac_func ();
75338 /* The GNU C library defines this for functions which it implements
75339     to always fail with ENOSYS.  Some functions are actually named
75340     something starting with __ and the normal name is an alias.  */
75341 #if defined __stub_$ac_func || defined __stub___$ac_func
75342 choke me
75343 #endif
75344
75345 int
75346 main ()
75347 {
75348 return $ac_func ();
75349   ;
75350   return 0;
75351 }
75352 _ACEOF
75353 rm -f conftest.$ac_objext conftest$ac_exeext
75354 if { (ac_try="$ac_link"
75355 case "(($ac_try" in
75356   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
75357   *) ac_try_echo=$ac_try;;
75358 esac
75359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
75360   (eval "$ac_link") 2>conftest.er1
75361   ac_status=$?
75362   grep -v '^ *+' conftest.er1 >conftest.err
75363   rm -f conftest.er1
75364   cat conftest.err >&5
75365   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75366   (exit $ac_status); } && {
75367          test -z "$ac_c_werror_flag" ||
75368          test ! -s conftest.err
75369        } && test -s conftest$ac_exeext &&
75370        $as_test_x conftest$ac_exeext; then
75371   eval "$as_ac_var=yes"
75372 else
75373   echo "$as_me: failed program was:" >&5
75374 sed 's/^/| /' conftest.$ac_ext >&5
75375
75376         eval "$as_ac_var=no"
75377 fi
75378
75379 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
75380       conftest$ac_exeext conftest.$ac_ext
75381 fi
75382 ac_res=`eval echo '${'$as_ac_var'}'`
75383                { echo "$as_me:$LINENO: result: $ac_res" >&5
75384 echo "${ECHO_T}$ac_res" >&6; }
75385 if test `eval echo '${'$as_ac_var'}'` = yes; then
75386   cat >>confdefs.h <<_ACEOF
75387 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75388 _ACEOF
75389
75390 fi
75391 done
75392
75393     fi
75394   fi
75395
75396
75397
75398
75399
75400
75401   { echo "$as_me:$LINENO: checking for logl declaration" >&5
75402 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6; }
75403   if test x${glibcxx_cv_func_logl_use+set} != xset; then
75404     if test "${glibcxx_cv_func_logl_use+set}" = set; then
75405   echo $ECHO_N "(cached) $ECHO_C" >&6
75406 else
75407
75408
75409       ac_ext=cpp
75410 ac_cpp='$CXXCPP $CPPFLAGS'
75411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75414
75415       cat >conftest.$ac_ext <<_ACEOF
75416 /* confdefs.h.  */
75417 _ACEOF
75418 cat confdefs.h >>conftest.$ac_ext
75419 cat >>conftest.$ac_ext <<_ACEOF
75420 /* end confdefs.h.  */
75421 #include <math.h>
75422                       #ifdef HAVE_IEEEFP_H
75423                       #include <ieeefp.h>
75424                       #endif
75425
75426 int
75427 main ()
75428 {
75429  logl(0);
75430   ;
75431   return 0;
75432 }
75433 _ACEOF
75434 rm -f conftest.$ac_objext
75435 if { (ac_try="$ac_compile"
75436 case "(($ac_try" in
75437   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
75438   *) ac_try_echo=$ac_try;;
75439 esac
75440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
75441   (eval "$ac_compile") 2>conftest.er1
75442   ac_status=$?
75443   grep -v '^ *+' conftest.er1 >conftest.err
75444   rm -f conftest.er1
75445   cat conftest.err >&5
75446   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75447   (exit $ac_status); } && {
75448          test -z "$ac_cxx_werror_flag" ||
75449          test ! -s conftest.err
75450        } && test -s conftest.$ac_objext; then
75451   glibcxx_cv_func_logl_use=yes
75452 else
75453   echo "$as_me: failed program was:" >&5
75454 sed 's/^/| /' conftest.$ac_ext >&5
75455
75456         glibcxx_cv_func_logl_use=no
75457 fi
75458
75459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75460       ac_ext=c
75461 ac_cpp='$CPP $CPPFLAGS'
75462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75465
75466
75467 fi
75468
75469   fi
75470   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
75471 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6; }
75472
75473   if test x$glibcxx_cv_func_logl_use = x"yes"; then
75474
75475 for ac_func in logl
75476 do
75477 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75478 { echo "$as_me:$LINENO: checking for $ac_func" >&5
75479 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
75480 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
75481   echo $ECHO_N "(cached) $ECHO_C" >&6
75482 else
75483   if test x$gcc_no_link = xyes; then
75484   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75485 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75486    { (exit 1); exit 1; }; }
75487 fi
75488 cat >conftest.$ac_ext <<_ACEOF
75489 /* confdefs.h.  */
75490 _ACEOF
75491 cat confdefs.h >>conftest.$ac_ext
75492 cat >>conftest.$ac_ext <<_ACEOF
75493 /* end confdefs.h.  */
75494 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75495    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
75496 #define $ac_func innocuous_$ac_func
75497
75498 /* System header to define __stub macros and hopefully few prototypes,
75499     which can conflict with char $ac_func (); below.
75500     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75501     <limits.h> exists even on freestanding compilers.  */
75502
75503 #ifdef __STDC__
75504 # include <limits.h>
75505 #else
75506 # include <assert.h>
75507 #endif
75508
75509 #undef $ac_func
75510
75511 /* Override any GCC internal prototype to avoid an error.
75512    Use char because int might match the return type of a GCC
75513    builtin and then its argument prototype would still apply.  */
75514 #ifdef __cplusplus
75515 extern "C"
75516 #endif
75517 char $ac_func ();
75518 /* The GNU C library defines this for functions which it implements
75519     to always fail with ENOSYS.  Some functions are actually named
75520     something starting with __ and the normal name is an alias.  */
75521 #if defined __stub_$ac_func || defined __stub___$ac_func
75522 choke me
75523 #endif
75524
75525 int
75526 main ()
75527 {
75528 return $ac_func ();
75529   ;
75530   return 0;
75531 }
75532 _ACEOF
75533 rm -f conftest.$ac_objext conftest$ac_exeext
75534 if { (ac_try="$ac_link"
75535 case "(($ac_try" in
75536   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
75537   *) ac_try_echo=$ac_try;;
75538 esac
75539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
75540   (eval "$ac_link") 2>conftest.er1
75541   ac_status=$?
75542   grep -v '^ *+' conftest.er1 >conftest.err
75543   rm -f conftest.er1
75544   cat conftest.err >&5
75545   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75546   (exit $ac_status); } && {
75547          test -z "$ac_c_werror_flag" ||
75548          test ! -s conftest.err
75549        } && test -s conftest$ac_exeext &&
75550        $as_test_x conftest$ac_exeext; then
75551   eval "$as_ac_var=yes"
75552 else
75553   echo "$as_me: failed program was:" >&5
75554 sed 's/^/| /' conftest.$ac_ext >&5
75555
75556         eval "$as_ac_var=no"
75557 fi
75558
75559 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
75560       conftest$ac_exeext conftest.$ac_ext
75561 fi
75562 ac_res=`eval echo '${'$as_ac_var'}'`
75563                { echo "$as_me:$LINENO: result: $ac_res" >&5
75564 echo "${ECHO_T}$ac_res" >&6; }
75565 if test `eval echo '${'$as_ac_var'}'` = yes; then
75566   cat >>confdefs.h <<_ACEOF
75567 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75568 _ACEOF
75569
75570 fi
75571 done
75572
75573   else
75574
75575   { echo "$as_me:$LINENO: checking for _logl declaration" >&5
75576 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6; }
75577   if test x${glibcxx_cv_func__logl_use+set} != xset; then
75578     if test "${glibcxx_cv_func__logl_use+set}" = set; then
75579   echo $ECHO_N "(cached) $ECHO_C" >&6
75580 else
75581
75582
75583       ac_ext=cpp
75584 ac_cpp='$CXXCPP $CPPFLAGS'
75585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75588
75589       cat >conftest.$ac_ext <<_ACEOF
75590 /* confdefs.h.  */
75591 _ACEOF
75592 cat confdefs.h >>conftest.$ac_ext
75593 cat >>conftest.$ac_ext <<_ACEOF
75594 /* end confdefs.h.  */
75595 #include <math.h>
75596                       #ifdef HAVE_IEEEFP_H
75597                       #include <ieeefp.h>
75598                       #endif
75599
75600 int
75601 main ()
75602 {
75603  _logl(0);
75604   ;
75605   return 0;
75606 }
75607 _ACEOF
75608 rm -f conftest.$ac_objext
75609 if { (ac_try="$ac_compile"
75610 case "(($ac_try" in
75611   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
75612   *) ac_try_echo=$ac_try;;
75613 esac
75614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
75615   (eval "$ac_compile") 2>conftest.er1
75616   ac_status=$?
75617   grep -v '^ *+' conftest.er1 >conftest.err
75618   rm -f conftest.er1
75619   cat conftest.err >&5
75620   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75621   (exit $ac_status); } && {
75622          test -z "$ac_cxx_werror_flag" ||
75623          test ! -s conftest.err
75624        } && test -s conftest.$ac_objext; then
75625   glibcxx_cv_func__logl_use=yes
75626 else
75627   echo "$as_me: failed program was:" >&5
75628 sed 's/^/| /' conftest.$ac_ext >&5
75629
75630         glibcxx_cv_func__logl_use=no
75631 fi
75632
75633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75634       ac_ext=c
75635 ac_cpp='$CPP $CPPFLAGS'
75636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75639
75640
75641 fi
75642
75643   fi
75644   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
75645 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6; }
75646
75647     if test x$glibcxx_cv_func__logl_use = x"yes"; then
75648
75649 for ac_func in _logl
75650 do
75651 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75652 { echo "$as_me:$LINENO: checking for $ac_func" >&5
75653 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
75654 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
75655   echo $ECHO_N "(cached) $ECHO_C" >&6
75656 else
75657   if test x$gcc_no_link = xyes; then
75658   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75659 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75660    { (exit 1); exit 1; }; }
75661 fi
75662 cat >conftest.$ac_ext <<_ACEOF
75663 /* confdefs.h.  */
75664 _ACEOF
75665 cat confdefs.h >>conftest.$ac_ext
75666 cat >>conftest.$ac_ext <<_ACEOF
75667 /* end confdefs.h.  */
75668 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75669    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
75670 #define $ac_func innocuous_$ac_func
75671
75672 /* System header to define __stub macros and hopefully few prototypes,
75673     which can conflict with char $ac_func (); below.
75674     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75675     <limits.h> exists even on freestanding compilers.  */
75676
75677 #ifdef __STDC__
75678 # include <limits.h>
75679 #else
75680 # include <assert.h>
75681 #endif
75682
75683 #undef $ac_func
75684
75685 /* Override any GCC internal prototype to avoid an error.
75686    Use char because int might match the return type of a GCC
75687    builtin and then its argument prototype would still apply.  */
75688 #ifdef __cplusplus
75689 extern "C"
75690 #endif
75691 char $ac_func ();
75692 /* The GNU C library defines this for functions which it implements
75693     to always fail with ENOSYS.  Some functions are actually named
75694     something starting with __ and the normal name is an alias.  */
75695 #if defined __stub_$ac_func || defined __stub___$ac_func
75696 choke me
75697 #endif
75698
75699 int
75700 main ()
75701 {
75702 return $ac_func ();
75703   ;
75704   return 0;
75705 }
75706 _ACEOF
75707 rm -f conftest.$ac_objext conftest$ac_exeext
75708 if { (ac_try="$ac_link"
75709 case "(($ac_try" in
75710   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
75711   *) ac_try_echo=$ac_try;;
75712 esac
75713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
75714   (eval "$ac_link") 2>conftest.er1
75715   ac_status=$?
75716   grep -v '^ *+' conftest.er1 >conftest.err
75717   rm -f conftest.er1
75718   cat conftest.err >&5
75719   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75720   (exit $ac_status); } && {
75721          test -z "$ac_c_werror_flag" ||
75722          test ! -s conftest.err
75723        } && test -s conftest$ac_exeext &&
75724        $as_test_x conftest$ac_exeext; then
75725   eval "$as_ac_var=yes"
75726 else
75727   echo "$as_me: failed program was:" >&5
75728 sed 's/^/| /' conftest.$ac_ext >&5
75729
75730         eval "$as_ac_var=no"
75731 fi
75732
75733 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
75734       conftest$ac_exeext conftest.$ac_ext
75735 fi
75736 ac_res=`eval echo '${'$as_ac_var'}'`
75737                { echo "$as_me:$LINENO: result: $ac_res" >&5
75738 echo "${ECHO_T}$ac_res" >&6; }
75739 if test `eval echo '${'$as_ac_var'}'` = yes; then
75740   cat >>confdefs.h <<_ACEOF
75741 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75742 _ACEOF
75743
75744 fi
75745 done
75746
75747     fi
75748   fi
75749
75750
75751
75752
75753
75754
75755   { echo "$as_me:$LINENO: checking for log10l declaration" >&5
75756 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6; }
75757   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
75758     if test "${glibcxx_cv_func_log10l_use+set}" = set; then
75759   echo $ECHO_N "(cached) $ECHO_C" >&6
75760 else
75761
75762
75763       ac_ext=cpp
75764 ac_cpp='$CXXCPP $CPPFLAGS'
75765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75768
75769       cat >conftest.$ac_ext <<_ACEOF
75770 /* confdefs.h.  */
75771 _ACEOF
75772 cat confdefs.h >>conftest.$ac_ext
75773 cat >>conftest.$ac_ext <<_ACEOF
75774 /* end confdefs.h.  */
75775 #include <math.h>
75776                       #ifdef HAVE_IEEEFP_H
75777                       #include <ieeefp.h>
75778                       #endif
75779
75780 int
75781 main ()
75782 {
75783  log10l(0);
75784   ;
75785   return 0;
75786 }
75787 _ACEOF
75788 rm -f conftest.$ac_objext
75789 if { (ac_try="$ac_compile"
75790 case "(($ac_try" in
75791   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
75792   *) ac_try_echo=$ac_try;;
75793 esac
75794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
75795   (eval "$ac_compile") 2>conftest.er1
75796   ac_status=$?
75797   grep -v '^ *+' conftest.er1 >conftest.err
75798   rm -f conftest.er1
75799   cat conftest.err >&5
75800   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75801   (exit $ac_status); } && {
75802          test -z "$ac_cxx_werror_flag" ||
75803          test ! -s conftest.err
75804        } && test -s conftest.$ac_objext; then
75805   glibcxx_cv_func_log10l_use=yes
75806 else
75807   echo "$as_me: failed program was:" >&5
75808 sed 's/^/| /' conftest.$ac_ext >&5
75809
75810         glibcxx_cv_func_log10l_use=no
75811 fi
75812
75813 rm -f core 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_log10l_use" >&5
75825 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6; }
75826
75827   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
75828
75829 for ac_func in log10l
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 { as_var=$as_ac_var; eval "test \"\${$as_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 GCC internal prototype to avoid an error.
75866    Use char because int might match the return type of a GCC
75867    builtin and then its argument prototype would still apply.  */
75868 #ifdef __cplusplus
75869 extern "C"
75870 #endif
75871 char $ac_func ();
75872 /* The GNU C library defines this for functions which it implements
75873     to always fail with ENOSYS.  Some functions are actually named
75874     something starting with __ and the normal name is an alias.  */
75875 #if defined __stub_$ac_func || defined __stub___$ac_func
75876 choke me
75877 #endif
75878
75879 int
75880 main ()
75881 {
75882 return $ac_func ();
75883   ;
75884   return 0;
75885 }
75886 _ACEOF
75887 rm -f conftest.$ac_objext conftest$ac_exeext
75888 if { (ac_try="$ac_link"
75889 case "(($ac_try" in
75890   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
75891   *) ac_try_echo=$ac_try;;
75892 esac
75893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
75894   (eval "$ac_link") 2>conftest.er1
75895   ac_status=$?
75896   grep -v '^ *+' conftest.er1 >conftest.err
75897   rm -f conftest.er1
75898   cat conftest.err >&5
75899   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75900   (exit $ac_status); } && {
75901          test -z "$ac_c_werror_flag" ||
75902          test ! -s conftest.err
75903        } && test -s conftest$ac_exeext &&
75904        $as_test_x conftest$ac_exeext; then
75905   eval "$as_ac_var=yes"
75906 else
75907   echo "$as_me: failed program was:" >&5
75908 sed 's/^/| /' conftest.$ac_ext >&5
75909
75910         eval "$as_ac_var=no"
75911 fi
75912
75913 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
75914       conftest$ac_exeext conftest.$ac_ext
75915 fi
75916 ac_res=`eval echo '${'$as_ac_var'}'`
75917                { echo "$as_me:$LINENO: result: $ac_res" >&5
75918 echo "${ECHO_T}$ac_res" >&6; }
75919 if test `eval echo '${'$as_ac_var'}'` = yes; then
75920   cat >>confdefs.h <<_ACEOF
75921 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75922 _ACEOF
75923
75924 fi
75925 done
75926
75927   else
75928
75929   { echo "$as_me:$LINENO: checking for _log10l declaration" >&5
75930 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6; }
75931   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
75932     if test "${glibcxx_cv_func__log10l_use+set}" = set; then
75933   echo $ECHO_N "(cached) $ECHO_C" >&6
75934 else
75935
75936
75937       ac_ext=cpp
75938 ac_cpp='$CXXCPP $CPPFLAGS'
75939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75942
75943       cat >conftest.$ac_ext <<_ACEOF
75944 /* confdefs.h.  */
75945 _ACEOF
75946 cat confdefs.h >>conftest.$ac_ext
75947 cat >>conftest.$ac_ext <<_ACEOF
75948 /* end confdefs.h.  */
75949 #include <math.h>
75950                       #ifdef HAVE_IEEEFP_H
75951                       #include <ieeefp.h>
75952                       #endif
75953
75954 int
75955 main ()
75956 {
75957  _log10l(0);
75958   ;
75959   return 0;
75960 }
75961 _ACEOF
75962 rm -f conftest.$ac_objext
75963 if { (ac_try="$ac_compile"
75964 case "(($ac_try" in
75965   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
75966   *) ac_try_echo=$ac_try;;
75967 esac
75968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
75969   (eval "$ac_compile") 2>conftest.er1
75970   ac_status=$?
75971   grep -v '^ *+' conftest.er1 >conftest.err
75972   rm -f conftest.er1
75973   cat conftest.err >&5
75974   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75975   (exit $ac_status); } && {
75976          test -z "$ac_cxx_werror_flag" ||
75977          test ! -s conftest.err
75978        } && test -s conftest.$ac_objext; then
75979   glibcxx_cv_func__log10l_use=yes
75980 else
75981   echo "$as_me: failed program was:" >&5
75982 sed 's/^/| /' conftest.$ac_ext >&5
75983
75984         glibcxx_cv_func__log10l_use=no
75985 fi
75986
75987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75988       ac_ext=c
75989 ac_cpp='$CPP $CPPFLAGS'
75990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75993
75994
75995 fi
75996
75997   fi
75998   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
75999 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6; }
76000
76001     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
76002
76003 for ac_func in _log10l
76004 do
76005 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76006 { echo "$as_me:$LINENO: checking for $ac_func" >&5
76007 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
76008 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
76009   echo $ECHO_N "(cached) $ECHO_C" >&6
76010 else
76011   if test x$gcc_no_link = xyes; then
76012   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76013 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76014    { (exit 1); exit 1; }; }
76015 fi
76016 cat >conftest.$ac_ext <<_ACEOF
76017 /* confdefs.h.  */
76018 _ACEOF
76019 cat confdefs.h >>conftest.$ac_ext
76020 cat >>conftest.$ac_ext <<_ACEOF
76021 /* end confdefs.h.  */
76022 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76023    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
76024 #define $ac_func innocuous_$ac_func
76025
76026 /* System header to define __stub macros and hopefully few prototypes,
76027     which can conflict with char $ac_func (); below.
76028     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76029     <limits.h> exists even on freestanding compilers.  */
76030
76031 #ifdef __STDC__
76032 # include <limits.h>
76033 #else
76034 # include <assert.h>
76035 #endif
76036
76037 #undef $ac_func
76038
76039 /* Override any GCC internal prototype to avoid an error.
76040    Use char because int might match the return type of a GCC
76041    builtin and then its argument prototype would still apply.  */
76042 #ifdef __cplusplus
76043 extern "C"
76044 #endif
76045 char $ac_func ();
76046 /* The GNU C library defines this for functions which it implements
76047     to always fail with ENOSYS.  Some functions are actually named
76048     something starting with __ and the normal name is an alias.  */
76049 #if defined __stub_$ac_func || defined __stub___$ac_func
76050 choke me
76051 #endif
76052
76053 int
76054 main ()
76055 {
76056 return $ac_func ();
76057   ;
76058   return 0;
76059 }
76060 _ACEOF
76061 rm -f conftest.$ac_objext conftest$ac_exeext
76062 if { (ac_try="$ac_link"
76063 case "(($ac_try" in
76064   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
76065   *) ac_try_echo=$ac_try;;
76066 esac
76067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
76068   (eval "$ac_link") 2>conftest.er1
76069   ac_status=$?
76070   grep -v '^ *+' conftest.er1 >conftest.err
76071   rm -f conftest.er1
76072   cat conftest.err >&5
76073   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76074   (exit $ac_status); } && {
76075          test -z "$ac_c_werror_flag" ||
76076          test ! -s conftest.err
76077        } && test -s conftest$ac_exeext &&
76078        $as_test_x conftest$ac_exeext; then
76079   eval "$as_ac_var=yes"
76080 else
76081   echo "$as_me: failed program was:" >&5
76082 sed 's/^/| /' conftest.$ac_ext >&5
76083
76084         eval "$as_ac_var=no"
76085 fi
76086
76087 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
76088       conftest$ac_exeext conftest.$ac_ext
76089 fi
76090 ac_res=`eval echo '${'$as_ac_var'}'`
76091                { echo "$as_me:$LINENO: result: $ac_res" >&5
76092 echo "${ECHO_T}$ac_res" >&6; }
76093 if test `eval echo '${'$as_ac_var'}'` = yes; then
76094   cat >>confdefs.h <<_ACEOF
76095 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76096 _ACEOF
76097
76098 fi
76099 done
76100
76101     fi
76102   fi
76103
76104
76105
76106
76107
76108
76109   { echo "$as_me:$LINENO: checking for modfl declaration" >&5
76110 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6; }
76111   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
76112     if test "${glibcxx_cv_func_modfl_use+set}" = set; then
76113   echo $ECHO_N "(cached) $ECHO_C" >&6
76114 else
76115
76116
76117       ac_ext=cpp
76118 ac_cpp='$CXXCPP $CPPFLAGS'
76119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76122
76123       cat >conftest.$ac_ext <<_ACEOF
76124 /* confdefs.h.  */
76125 _ACEOF
76126 cat confdefs.h >>conftest.$ac_ext
76127 cat >>conftest.$ac_ext <<_ACEOF
76128 /* end confdefs.h.  */
76129 #include <math.h>
76130 int
76131 main ()
76132 {
76133  modfl(0, 0);
76134   ;
76135   return 0;
76136 }
76137 _ACEOF
76138 rm -f conftest.$ac_objext
76139 if { (ac_try="$ac_compile"
76140 case "(($ac_try" in
76141   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
76142   *) ac_try_echo=$ac_try;;
76143 esac
76144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
76145   (eval "$ac_compile") 2>conftest.er1
76146   ac_status=$?
76147   grep -v '^ *+' conftest.er1 >conftest.err
76148   rm -f conftest.er1
76149   cat conftest.err >&5
76150   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76151   (exit $ac_status); } && {
76152          test -z "$ac_cxx_werror_flag" ||
76153          test ! -s conftest.err
76154        } && test -s conftest.$ac_objext; then
76155   glibcxx_cv_func_modfl_use=yes
76156 else
76157   echo "$as_me: failed program was:" >&5
76158 sed 's/^/| /' conftest.$ac_ext >&5
76159
76160         glibcxx_cv_func_modfl_use=no
76161 fi
76162
76163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76164       ac_ext=c
76165 ac_cpp='$CPP $CPPFLAGS'
76166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76169
76170
76171 fi
76172
76173   fi
76174   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
76175 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6; }
76176
76177   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
76178
76179 for ac_func in modfl
76180 do
76181 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76182 { echo "$as_me:$LINENO: checking for $ac_func" >&5
76183 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
76184 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
76185   echo $ECHO_N "(cached) $ECHO_C" >&6
76186 else
76187   if test x$gcc_no_link = xyes; then
76188   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76189 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76190    { (exit 1); exit 1; }; }
76191 fi
76192 cat >conftest.$ac_ext <<_ACEOF
76193 /* confdefs.h.  */
76194 _ACEOF
76195 cat confdefs.h >>conftest.$ac_ext
76196 cat >>conftest.$ac_ext <<_ACEOF
76197 /* end confdefs.h.  */
76198 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76199    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
76200 #define $ac_func innocuous_$ac_func
76201
76202 /* System header to define __stub macros and hopefully few prototypes,
76203     which can conflict with char $ac_func (); below.
76204     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76205     <limits.h> exists even on freestanding compilers.  */
76206
76207 #ifdef __STDC__
76208 # include <limits.h>
76209 #else
76210 # include <assert.h>
76211 #endif
76212
76213 #undef $ac_func
76214
76215 /* Override any GCC internal prototype to avoid an error.
76216    Use char because int might match the return type of a GCC
76217    builtin and then its argument prototype would still apply.  */
76218 #ifdef __cplusplus
76219 extern "C"
76220 #endif
76221 char $ac_func ();
76222 /* The GNU C library defines this for functions which it implements
76223     to always fail with ENOSYS.  Some functions are actually named
76224     something starting with __ and the normal name is an alias.  */
76225 #if defined __stub_$ac_func || defined __stub___$ac_func
76226 choke me
76227 #endif
76228
76229 int
76230 main ()
76231 {
76232 return $ac_func ();
76233   ;
76234   return 0;
76235 }
76236 _ACEOF
76237 rm -f conftest.$ac_objext conftest$ac_exeext
76238 if { (ac_try="$ac_link"
76239 case "(($ac_try" in
76240   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
76241   *) ac_try_echo=$ac_try;;
76242 esac
76243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
76244   (eval "$ac_link") 2>conftest.er1
76245   ac_status=$?
76246   grep -v '^ *+' conftest.er1 >conftest.err
76247   rm -f conftest.er1
76248   cat conftest.err >&5
76249   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76250   (exit $ac_status); } && {
76251          test -z "$ac_c_werror_flag" ||
76252          test ! -s conftest.err
76253        } && test -s conftest$ac_exeext &&
76254        $as_test_x conftest$ac_exeext; then
76255   eval "$as_ac_var=yes"
76256 else
76257   echo "$as_me: failed program was:" >&5
76258 sed 's/^/| /' conftest.$ac_ext >&5
76259
76260         eval "$as_ac_var=no"
76261 fi
76262
76263 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
76264       conftest$ac_exeext conftest.$ac_ext
76265 fi
76266 ac_res=`eval echo '${'$as_ac_var'}'`
76267                { echo "$as_me:$LINENO: result: $ac_res" >&5
76268 echo "${ECHO_T}$ac_res" >&6; }
76269 if test `eval echo '${'$as_ac_var'}'` = yes; then
76270   cat >>confdefs.h <<_ACEOF
76271 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76272 _ACEOF
76273
76274 fi
76275 done
76276
76277   else
76278
76279   { echo "$as_me:$LINENO: checking for _modfl declaration" >&5
76280 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6; }
76281   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
76282     if test "${glibcxx_cv_func__modfl_use+set}" = set; then
76283   echo $ECHO_N "(cached) $ECHO_C" >&6
76284 else
76285
76286
76287       ac_ext=cpp
76288 ac_cpp='$CXXCPP $CPPFLAGS'
76289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76292
76293       cat >conftest.$ac_ext <<_ACEOF
76294 /* confdefs.h.  */
76295 _ACEOF
76296 cat confdefs.h >>conftest.$ac_ext
76297 cat >>conftest.$ac_ext <<_ACEOF
76298 /* end confdefs.h.  */
76299 #include <math.h>
76300 int
76301 main ()
76302 {
76303  _modfl(0, 0);
76304   ;
76305   return 0;
76306 }
76307 _ACEOF
76308 rm -f conftest.$ac_objext
76309 if { (ac_try="$ac_compile"
76310 case "(($ac_try" in
76311   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
76312   *) ac_try_echo=$ac_try;;
76313 esac
76314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
76315   (eval "$ac_compile") 2>conftest.er1
76316   ac_status=$?
76317   grep -v '^ *+' conftest.er1 >conftest.err
76318   rm -f conftest.er1
76319   cat conftest.err >&5
76320   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76321   (exit $ac_status); } && {
76322          test -z "$ac_cxx_werror_flag" ||
76323          test ! -s conftest.err
76324        } && test -s conftest.$ac_objext; then
76325   glibcxx_cv_func__modfl_use=yes
76326 else
76327   echo "$as_me: failed program was:" >&5
76328 sed 's/^/| /' conftest.$ac_ext >&5
76329
76330         glibcxx_cv_func__modfl_use=no
76331 fi
76332
76333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76334       ac_ext=c
76335 ac_cpp='$CPP $CPPFLAGS'
76336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76339
76340
76341 fi
76342
76343   fi
76344   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
76345 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6; }
76346
76347     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
76348
76349 for ac_func in _modfl
76350 do
76351 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76352 { echo "$as_me:$LINENO: checking for $ac_func" >&5
76353 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
76354 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
76355   echo $ECHO_N "(cached) $ECHO_C" >&6
76356 else
76357   if test x$gcc_no_link = xyes; then
76358   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76359 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76360    { (exit 1); exit 1; }; }
76361 fi
76362 cat >conftest.$ac_ext <<_ACEOF
76363 /* confdefs.h.  */
76364 _ACEOF
76365 cat confdefs.h >>conftest.$ac_ext
76366 cat >>conftest.$ac_ext <<_ACEOF
76367 /* end confdefs.h.  */
76368 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76369    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
76370 #define $ac_func innocuous_$ac_func
76371
76372 /* System header to define __stub macros and hopefully few prototypes,
76373     which can conflict with char $ac_func (); below.
76374     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76375     <limits.h> exists even on freestanding compilers.  */
76376
76377 #ifdef __STDC__
76378 # include <limits.h>
76379 #else
76380 # include <assert.h>
76381 #endif
76382
76383 #undef $ac_func
76384
76385 /* Override any GCC internal prototype to avoid an error.
76386    Use char because int might match the return type of a GCC
76387    builtin and then its argument prototype would still apply.  */
76388 #ifdef __cplusplus
76389 extern "C"
76390 #endif
76391 char $ac_func ();
76392 /* The GNU C library defines this for functions which it implements
76393     to always fail with ENOSYS.  Some functions are actually named
76394     something starting with __ and the normal name is an alias.  */
76395 #if defined __stub_$ac_func || defined __stub___$ac_func
76396 choke me
76397 #endif
76398
76399 int
76400 main ()
76401 {
76402 return $ac_func ();
76403   ;
76404   return 0;
76405 }
76406 _ACEOF
76407 rm -f conftest.$ac_objext conftest$ac_exeext
76408 if { (ac_try="$ac_link"
76409 case "(($ac_try" in
76410   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
76411   *) ac_try_echo=$ac_try;;
76412 esac
76413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
76414   (eval "$ac_link") 2>conftest.er1
76415   ac_status=$?
76416   grep -v '^ *+' conftest.er1 >conftest.err
76417   rm -f conftest.er1
76418   cat conftest.err >&5
76419   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76420   (exit $ac_status); } && {
76421          test -z "$ac_c_werror_flag" ||
76422          test ! -s conftest.err
76423        } && test -s conftest$ac_exeext &&
76424        $as_test_x conftest$ac_exeext; then
76425   eval "$as_ac_var=yes"
76426 else
76427   echo "$as_me: failed program was:" >&5
76428 sed 's/^/| /' conftest.$ac_ext >&5
76429
76430         eval "$as_ac_var=no"
76431 fi
76432
76433 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
76434       conftest$ac_exeext conftest.$ac_ext
76435 fi
76436 ac_res=`eval echo '${'$as_ac_var'}'`
76437                { echo "$as_me:$LINENO: result: $ac_res" >&5
76438 echo "${ECHO_T}$ac_res" >&6; }
76439 if test `eval echo '${'$as_ac_var'}'` = yes; then
76440   cat >>confdefs.h <<_ACEOF
76441 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76442 _ACEOF
76443
76444 fi
76445 done
76446
76447     fi
76448   fi
76449
76450
76451
76452
76453
76454
76455   { echo "$as_me:$LINENO: checking for powl declaration" >&5
76456 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6; }
76457   if test x${glibcxx_cv_func_powl_use+set} != xset; then
76458     if test "${glibcxx_cv_func_powl_use+set}" = set; then
76459   echo $ECHO_N "(cached) $ECHO_C" >&6
76460 else
76461
76462
76463       ac_ext=cpp
76464 ac_cpp='$CXXCPP $CPPFLAGS'
76465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76468
76469       cat >conftest.$ac_ext <<_ACEOF
76470 /* confdefs.h.  */
76471 _ACEOF
76472 cat confdefs.h >>conftest.$ac_ext
76473 cat >>conftest.$ac_ext <<_ACEOF
76474 /* end confdefs.h.  */
76475 #include <math.h>
76476 int
76477 main ()
76478 {
76479  powl(0, 0);
76480   ;
76481   return 0;
76482 }
76483 _ACEOF
76484 rm -f conftest.$ac_objext
76485 if { (ac_try="$ac_compile"
76486 case "(($ac_try" in
76487   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
76488   *) ac_try_echo=$ac_try;;
76489 esac
76490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
76491   (eval "$ac_compile") 2>conftest.er1
76492   ac_status=$?
76493   grep -v '^ *+' conftest.er1 >conftest.err
76494   rm -f conftest.er1
76495   cat conftest.err >&5
76496   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76497   (exit $ac_status); } && {
76498          test -z "$ac_cxx_werror_flag" ||
76499          test ! -s conftest.err
76500        } && test -s conftest.$ac_objext; then
76501   glibcxx_cv_func_powl_use=yes
76502 else
76503   echo "$as_me: failed program was:" >&5
76504 sed 's/^/| /' conftest.$ac_ext >&5
76505
76506         glibcxx_cv_func_powl_use=no
76507 fi
76508
76509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76510       ac_ext=c
76511 ac_cpp='$CPP $CPPFLAGS'
76512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76515
76516
76517 fi
76518
76519   fi
76520   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
76521 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6; }
76522
76523   if test x$glibcxx_cv_func_powl_use = x"yes"; then
76524
76525 for ac_func in powl
76526 do
76527 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76528 { echo "$as_me:$LINENO: checking for $ac_func" >&5
76529 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
76530 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
76531   echo $ECHO_N "(cached) $ECHO_C" >&6
76532 else
76533   if test x$gcc_no_link = xyes; then
76534   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76535 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76536    { (exit 1); exit 1; }; }
76537 fi
76538 cat >conftest.$ac_ext <<_ACEOF
76539 /* confdefs.h.  */
76540 _ACEOF
76541 cat confdefs.h >>conftest.$ac_ext
76542 cat >>conftest.$ac_ext <<_ACEOF
76543 /* end confdefs.h.  */
76544 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76545    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
76546 #define $ac_func innocuous_$ac_func
76547
76548 /* System header to define __stub macros and hopefully few prototypes,
76549     which can conflict with char $ac_func (); below.
76550     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76551     <limits.h> exists even on freestanding compilers.  */
76552
76553 #ifdef __STDC__
76554 # include <limits.h>
76555 #else
76556 # include <assert.h>
76557 #endif
76558
76559 #undef $ac_func
76560
76561 /* Override any GCC internal prototype to avoid an error.
76562    Use char because int might match the return type of a GCC
76563    builtin and then its argument prototype would still apply.  */
76564 #ifdef __cplusplus
76565 extern "C"
76566 #endif
76567 char $ac_func ();
76568 /* The GNU C library defines this for functions which it implements
76569     to always fail with ENOSYS.  Some functions are actually named
76570     something starting with __ and the normal name is an alias.  */
76571 #if defined __stub_$ac_func || defined __stub___$ac_func
76572 choke me
76573 #endif
76574
76575 int
76576 main ()
76577 {
76578 return $ac_func ();
76579   ;
76580   return 0;
76581 }
76582 _ACEOF
76583 rm -f conftest.$ac_objext conftest$ac_exeext
76584 if { (ac_try="$ac_link"
76585 case "(($ac_try" in
76586   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
76587   *) ac_try_echo=$ac_try;;
76588 esac
76589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
76590   (eval "$ac_link") 2>conftest.er1
76591   ac_status=$?
76592   grep -v '^ *+' conftest.er1 >conftest.err
76593   rm -f conftest.er1
76594   cat conftest.err >&5
76595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76596   (exit $ac_status); } && {
76597          test -z "$ac_c_werror_flag" ||
76598          test ! -s conftest.err
76599        } && test -s conftest$ac_exeext &&
76600        $as_test_x conftest$ac_exeext; then
76601   eval "$as_ac_var=yes"
76602 else
76603   echo "$as_me: failed program was:" >&5
76604 sed 's/^/| /' conftest.$ac_ext >&5
76605
76606         eval "$as_ac_var=no"
76607 fi
76608
76609 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
76610       conftest$ac_exeext conftest.$ac_ext
76611 fi
76612 ac_res=`eval echo '${'$as_ac_var'}'`
76613                { echo "$as_me:$LINENO: result: $ac_res" >&5
76614 echo "${ECHO_T}$ac_res" >&6; }
76615 if test `eval echo '${'$as_ac_var'}'` = yes; then
76616   cat >>confdefs.h <<_ACEOF
76617 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76618 _ACEOF
76619
76620 fi
76621 done
76622
76623   else
76624
76625   { echo "$as_me:$LINENO: checking for _powl declaration" >&5
76626 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6; }
76627   if test x${glibcxx_cv_func__powl_use+set} != xset; then
76628     if test "${glibcxx_cv_func__powl_use+set}" = set; then
76629   echo $ECHO_N "(cached) $ECHO_C" >&6
76630 else
76631
76632
76633       ac_ext=cpp
76634 ac_cpp='$CXXCPP $CPPFLAGS'
76635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76638
76639       cat >conftest.$ac_ext <<_ACEOF
76640 /* confdefs.h.  */
76641 _ACEOF
76642 cat confdefs.h >>conftest.$ac_ext
76643 cat >>conftest.$ac_ext <<_ACEOF
76644 /* end confdefs.h.  */
76645 #include <math.h>
76646 int
76647 main ()
76648 {
76649  _powl(0, 0);
76650   ;
76651   return 0;
76652 }
76653 _ACEOF
76654 rm -f conftest.$ac_objext
76655 if { (ac_try="$ac_compile"
76656 case "(($ac_try" in
76657   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
76658   *) ac_try_echo=$ac_try;;
76659 esac
76660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
76661   (eval "$ac_compile") 2>conftest.er1
76662   ac_status=$?
76663   grep -v '^ *+' conftest.er1 >conftest.err
76664   rm -f conftest.er1
76665   cat conftest.err >&5
76666   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76667   (exit $ac_status); } && {
76668          test -z "$ac_cxx_werror_flag" ||
76669          test ! -s conftest.err
76670        } && test -s conftest.$ac_objext; then
76671   glibcxx_cv_func__powl_use=yes
76672 else
76673   echo "$as_me: failed program was:" >&5
76674 sed 's/^/| /' conftest.$ac_ext >&5
76675
76676         glibcxx_cv_func__powl_use=no
76677 fi
76678
76679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76680       ac_ext=c
76681 ac_cpp='$CPP $CPPFLAGS'
76682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76685
76686
76687 fi
76688
76689   fi
76690   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
76691 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6; }
76692
76693     if test x$glibcxx_cv_func__powl_use = x"yes"; then
76694
76695 for ac_func in _powl
76696 do
76697 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76698 { echo "$as_me:$LINENO: checking for $ac_func" >&5
76699 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
76700 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
76701   echo $ECHO_N "(cached) $ECHO_C" >&6
76702 else
76703   if test x$gcc_no_link = xyes; then
76704   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76705 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76706    { (exit 1); exit 1; }; }
76707 fi
76708 cat >conftest.$ac_ext <<_ACEOF
76709 /* confdefs.h.  */
76710 _ACEOF
76711 cat confdefs.h >>conftest.$ac_ext
76712 cat >>conftest.$ac_ext <<_ACEOF
76713 /* end confdefs.h.  */
76714 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76715    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
76716 #define $ac_func innocuous_$ac_func
76717
76718 /* System header to define __stub macros and hopefully few prototypes,
76719     which can conflict with char $ac_func (); below.
76720     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76721     <limits.h> exists even on freestanding compilers.  */
76722
76723 #ifdef __STDC__
76724 # include <limits.h>
76725 #else
76726 # include <assert.h>
76727 #endif
76728
76729 #undef $ac_func
76730
76731 /* Override any GCC internal prototype to avoid an error.
76732    Use char because int might match the return type of a GCC
76733    builtin and then its argument prototype would still apply.  */
76734 #ifdef __cplusplus
76735 extern "C"
76736 #endif
76737 char $ac_func ();
76738 /* The GNU C library defines this for functions which it implements
76739     to always fail with ENOSYS.  Some functions are actually named
76740     something starting with __ and the normal name is an alias.  */
76741 #if defined __stub_$ac_func || defined __stub___$ac_func
76742 choke me
76743 #endif
76744
76745 int
76746 main ()
76747 {
76748 return $ac_func ();
76749   ;
76750   return 0;
76751 }
76752 _ACEOF
76753 rm -f conftest.$ac_objext conftest$ac_exeext
76754 if { (ac_try="$ac_link"
76755 case "(($ac_try" in
76756   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
76757   *) ac_try_echo=$ac_try;;
76758 esac
76759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
76760   (eval "$ac_link") 2>conftest.er1
76761   ac_status=$?
76762   grep -v '^ *+' conftest.er1 >conftest.err
76763   rm -f conftest.er1
76764   cat conftest.err >&5
76765   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76766   (exit $ac_status); } && {
76767          test -z "$ac_c_werror_flag" ||
76768          test ! -s conftest.err
76769        } && test -s conftest$ac_exeext &&
76770        $as_test_x conftest$ac_exeext; then
76771   eval "$as_ac_var=yes"
76772 else
76773   echo "$as_me: failed program was:" >&5
76774 sed 's/^/| /' conftest.$ac_ext >&5
76775
76776         eval "$as_ac_var=no"
76777 fi
76778
76779 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
76780       conftest$ac_exeext conftest.$ac_ext
76781 fi
76782 ac_res=`eval echo '${'$as_ac_var'}'`
76783                { echo "$as_me:$LINENO: result: $ac_res" >&5
76784 echo "${ECHO_T}$ac_res" >&6; }
76785 if test `eval echo '${'$as_ac_var'}'` = yes; then
76786   cat >>confdefs.h <<_ACEOF
76787 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76788 _ACEOF
76789
76790 fi
76791 done
76792
76793     fi
76794   fi
76795
76796
76797
76798
76799
76800
76801   { echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
76802 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6; }
76803   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
76804     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
76805   echo $ECHO_N "(cached) $ECHO_C" >&6
76806 else
76807
76808
76809       ac_ext=cpp
76810 ac_cpp='$CXXCPP $CPPFLAGS'
76811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76814
76815       cat >conftest.$ac_ext <<_ACEOF
76816 /* confdefs.h.  */
76817 _ACEOF
76818 cat confdefs.h >>conftest.$ac_ext
76819 cat >>conftest.$ac_ext <<_ACEOF
76820 /* end confdefs.h.  */
76821 #include <math.h>
76822                       #ifdef HAVE_IEEEFP_H
76823                       #include <ieeefp.h>
76824                       #endif
76825
76826 int
76827 main ()
76828 {
76829  sqrtl(0);
76830   ;
76831   return 0;
76832 }
76833 _ACEOF
76834 rm -f conftest.$ac_objext
76835 if { (ac_try="$ac_compile"
76836 case "(($ac_try" in
76837   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
76838   *) ac_try_echo=$ac_try;;
76839 esac
76840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
76841   (eval "$ac_compile") 2>conftest.er1
76842   ac_status=$?
76843   grep -v '^ *+' conftest.er1 >conftest.err
76844   rm -f conftest.er1
76845   cat conftest.err >&5
76846   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76847   (exit $ac_status); } && {
76848          test -z "$ac_cxx_werror_flag" ||
76849          test ! -s conftest.err
76850        } && test -s conftest.$ac_objext; then
76851   glibcxx_cv_func_sqrtl_use=yes
76852 else
76853   echo "$as_me: failed program was:" >&5
76854 sed 's/^/| /' conftest.$ac_ext >&5
76855
76856         glibcxx_cv_func_sqrtl_use=no
76857 fi
76858
76859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76860       ac_ext=c
76861 ac_cpp='$CPP $CPPFLAGS'
76862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76865
76866
76867 fi
76868
76869   fi
76870   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
76871 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6; }
76872
76873   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
76874
76875 for ac_func in sqrtl
76876 do
76877 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76878 { echo "$as_me:$LINENO: checking for $ac_func" >&5
76879 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
76880 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
76881   echo $ECHO_N "(cached) $ECHO_C" >&6
76882 else
76883   if test x$gcc_no_link = xyes; then
76884   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76885 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76886    { (exit 1); exit 1; }; }
76887 fi
76888 cat >conftest.$ac_ext <<_ACEOF
76889 /* confdefs.h.  */
76890 _ACEOF
76891 cat confdefs.h >>conftest.$ac_ext
76892 cat >>conftest.$ac_ext <<_ACEOF
76893 /* end confdefs.h.  */
76894 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76895    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
76896 #define $ac_func innocuous_$ac_func
76897
76898 /* System header to define __stub macros and hopefully few prototypes,
76899     which can conflict with char $ac_func (); below.
76900     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76901     <limits.h> exists even on freestanding compilers.  */
76902
76903 #ifdef __STDC__
76904 # include <limits.h>
76905 #else
76906 # include <assert.h>
76907 #endif
76908
76909 #undef $ac_func
76910
76911 /* Override any GCC internal prototype to avoid an error.
76912    Use char because int might match the return type of a GCC
76913    builtin and then its argument prototype would still apply.  */
76914 #ifdef __cplusplus
76915 extern "C"
76916 #endif
76917 char $ac_func ();
76918 /* The GNU C library defines this for functions which it implements
76919     to always fail with ENOSYS.  Some functions are actually named
76920     something starting with __ and the normal name is an alias.  */
76921 #if defined __stub_$ac_func || defined __stub___$ac_func
76922 choke me
76923 #endif
76924
76925 int
76926 main ()
76927 {
76928 return $ac_func ();
76929   ;
76930   return 0;
76931 }
76932 _ACEOF
76933 rm -f conftest.$ac_objext conftest$ac_exeext
76934 if { (ac_try="$ac_link"
76935 case "(($ac_try" in
76936   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
76937   *) ac_try_echo=$ac_try;;
76938 esac
76939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
76940   (eval "$ac_link") 2>conftest.er1
76941   ac_status=$?
76942   grep -v '^ *+' conftest.er1 >conftest.err
76943   rm -f conftest.er1
76944   cat conftest.err >&5
76945   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76946   (exit $ac_status); } && {
76947          test -z "$ac_c_werror_flag" ||
76948          test ! -s conftest.err
76949        } && test -s conftest$ac_exeext &&
76950        $as_test_x conftest$ac_exeext; then
76951   eval "$as_ac_var=yes"
76952 else
76953   echo "$as_me: failed program was:" >&5
76954 sed 's/^/| /' conftest.$ac_ext >&5
76955
76956         eval "$as_ac_var=no"
76957 fi
76958
76959 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
76960       conftest$ac_exeext conftest.$ac_ext
76961 fi
76962 ac_res=`eval echo '${'$as_ac_var'}'`
76963                { echo "$as_me:$LINENO: result: $ac_res" >&5
76964 echo "${ECHO_T}$ac_res" >&6; }
76965 if test `eval echo '${'$as_ac_var'}'` = yes; then
76966   cat >>confdefs.h <<_ACEOF
76967 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76968 _ACEOF
76969
76970 fi
76971 done
76972
76973   else
76974
76975   { echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
76976 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6; }
76977   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
76978     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
76979   echo $ECHO_N "(cached) $ECHO_C" >&6
76980 else
76981
76982
76983       ac_ext=cpp
76984 ac_cpp='$CXXCPP $CPPFLAGS'
76985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76988
76989       cat >conftest.$ac_ext <<_ACEOF
76990 /* confdefs.h.  */
76991 _ACEOF
76992 cat confdefs.h >>conftest.$ac_ext
76993 cat >>conftest.$ac_ext <<_ACEOF
76994 /* end confdefs.h.  */
76995 #include <math.h>
76996                       #ifdef HAVE_IEEEFP_H
76997                       #include <ieeefp.h>
76998                       #endif
76999
77000 int
77001 main ()
77002 {
77003  _sqrtl(0);
77004   ;
77005   return 0;
77006 }
77007 _ACEOF
77008 rm -f conftest.$ac_objext
77009 if { (ac_try="$ac_compile"
77010 case "(($ac_try" in
77011   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
77012   *) ac_try_echo=$ac_try;;
77013 esac
77014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
77015   (eval "$ac_compile") 2>conftest.er1
77016   ac_status=$?
77017   grep -v '^ *+' conftest.er1 >conftest.err
77018   rm -f conftest.er1
77019   cat conftest.err >&5
77020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77021   (exit $ac_status); } && {
77022          test -z "$ac_cxx_werror_flag" ||
77023          test ! -s conftest.err
77024        } && test -s conftest.$ac_objext; then
77025   glibcxx_cv_func__sqrtl_use=yes
77026 else
77027   echo "$as_me: failed program was:" >&5
77028 sed 's/^/| /' conftest.$ac_ext >&5
77029
77030         glibcxx_cv_func__sqrtl_use=no
77031 fi
77032
77033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77034       ac_ext=c
77035 ac_cpp='$CPP $CPPFLAGS'
77036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77039
77040
77041 fi
77042
77043   fi
77044   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
77045 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6; }
77046
77047     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
77048
77049 for ac_func in _sqrtl
77050 do
77051 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77052 { echo "$as_me:$LINENO: checking for $ac_func" >&5
77053 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
77054 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
77055   echo $ECHO_N "(cached) $ECHO_C" >&6
77056 else
77057   if test x$gcc_no_link = xyes; then
77058   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77059 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77060    { (exit 1); exit 1; }; }
77061 fi
77062 cat >conftest.$ac_ext <<_ACEOF
77063 /* confdefs.h.  */
77064 _ACEOF
77065 cat confdefs.h >>conftest.$ac_ext
77066 cat >>conftest.$ac_ext <<_ACEOF
77067 /* end confdefs.h.  */
77068 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77069    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
77070 #define $ac_func innocuous_$ac_func
77071
77072 /* System header to define __stub macros and hopefully few prototypes,
77073     which can conflict with char $ac_func (); below.
77074     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77075     <limits.h> exists even on freestanding compilers.  */
77076
77077 #ifdef __STDC__
77078 # include <limits.h>
77079 #else
77080 # include <assert.h>
77081 #endif
77082
77083 #undef $ac_func
77084
77085 /* Override any GCC internal prototype to avoid an error.
77086    Use char because int might match the return type of a GCC
77087    builtin and then its argument prototype would still apply.  */
77088 #ifdef __cplusplus
77089 extern "C"
77090 #endif
77091 char $ac_func ();
77092 /* The GNU C library defines this for functions which it implements
77093     to always fail with ENOSYS.  Some functions are actually named
77094     something starting with __ and the normal name is an alias.  */
77095 #if defined __stub_$ac_func || defined __stub___$ac_func
77096 choke me
77097 #endif
77098
77099 int
77100 main ()
77101 {
77102 return $ac_func ();
77103   ;
77104   return 0;
77105 }
77106 _ACEOF
77107 rm -f conftest.$ac_objext conftest$ac_exeext
77108 if { (ac_try="$ac_link"
77109 case "(($ac_try" in
77110   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
77111   *) ac_try_echo=$ac_try;;
77112 esac
77113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
77114   (eval "$ac_link") 2>conftest.er1
77115   ac_status=$?
77116   grep -v '^ *+' conftest.er1 >conftest.err
77117   rm -f conftest.er1
77118   cat conftest.err >&5
77119   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77120   (exit $ac_status); } && {
77121          test -z "$ac_c_werror_flag" ||
77122          test ! -s conftest.err
77123        } && test -s conftest$ac_exeext &&
77124        $as_test_x conftest$ac_exeext; then
77125   eval "$as_ac_var=yes"
77126 else
77127   echo "$as_me: failed program was:" >&5
77128 sed 's/^/| /' conftest.$ac_ext >&5
77129
77130         eval "$as_ac_var=no"
77131 fi
77132
77133 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
77134       conftest$ac_exeext conftest.$ac_ext
77135 fi
77136 ac_res=`eval echo '${'$as_ac_var'}'`
77137                { echo "$as_me:$LINENO: result: $ac_res" >&5
77138 echo "${ECHO_T}$ac_res" >&6; }
77139 if test `eval echo '${'$as_ac_var'}'` = yes; then
77140   cat >>confdefs.h <<_ACEOF
77141 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77142 _ACEOF
77143
77144 fi
77145 done
77146
77147     fi
77148   fi
77149
77150
77151
77152
77153
77154
77155   { echo "$as_me:$LINENO: checking for sincosl declaration" >&5
77156 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6; }
77157   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
77158     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
77159   echo $ECHO_N "(cached) $ECHO_C" >&6
77160 else
77161
77162
77163       ac_ext=cpp
77164 ac_cpp='$CXXCPP $CPPFLAGS'
77165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77168
77169       cat >conftest.$ac_ext <<_ACEOF
77170 /* confdefs.h.  */
77171 _ACEOF
77172 cat confdefs.h >>conftest.$ac_ext
77173 cat >>conftest.$ac_ext <<_ACEOF
77174 /* end confdefs.h.  */
77175 #include <math.h>
77176 int
77177 main ()
77178 {
77179  sincosl(0, 0, 0);
77180   ;
77181   return 0;
77182 }
77183 _ACEOF
77184 rm -f conftest.$ac_objext
77185 if { (ac_try="$ac_compile"
77186 case "(($ac_try" in
77187   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
77188   *) ac_try_echo=$ac_try;;
77189 esac
77190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
77191   (eval "$ac_compile") 2>conftest.er1
77192   ac_status=$?
77193   grep -v '^ *+' conftest.er1 >conftest.err
77194   rm -f conftest.er1
77195   cat conftest.err >&5
77196   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77197   (exit $ac_status); } && {
77198          test -z "$ac_cxx_werror_flag" ||
77199          test ! -s conftest.err
77200        } && test -s conftest.$ac_objext; then
77201   glibcxx_cv_func_sincosl_use=yes
77202 else
77203   echo "$as_me: failed program was:" >&5
77204 sed 's/^/| /' conftest.$ac_ext >&5
77205
77206         glibcxx_cv_func_sincosl_use=no
77207 fi
77208
77209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77210       ac_ext=c
77211 ac_cpp='$CPP $CPPFLAGS'
77212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77215
77216
77217 fi
77218
77219   fi
77220   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
77221 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6; }
77222
77223   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
77224
77225 for ac_func in sincosl
77226 do
77227 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77228 { echo "$as_me:$LINENO: checking for $ac_func" >&5
77229 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
77230 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
77231   echo $ECHO_N "(cached) $ECHO_C" >&6
77232 else
77233   if test x$gcc_no_link = xyes; then
77234   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77235 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77236    { (exit 1); exit 1; }; }
77237 fi
77238 cat >conftest.$ac_ext <<_ACEOF
77239 /* confdefs.h.  */
77240 _ACEOF
77241 cat confdefs.h >>conftest.$ac_ext
77242 cat >>conftest.$ac_ext <<_ACEOF
77243 /* end confdefs.h.  */
77244 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77245    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
77246 #define $ac_func innocuous_$ac_func
77247
77248 /* System header to define __stub macros and hopefully few prototypes,
77249     which can conflict with char $ac_func (); below.
77250     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77251     <limits.h> exists even on freestanding compilers.  */
77252
77253 #ifdef __STDC__
77254 # include <limits.h>
77255 #else
77256 # include <assert.h>
77257 #endif
77258
77259 #undef $ac_func
77260
77261 /* Override any GCC internal prototype to avoid an error.
77262    Use char because int might match the return type of a GCC
77263    builtin and then its argument prototype would still apply.  */
77264 #ifdef __cplusplus
77265 extern "C"
77266 #endif
77267 char $ac_func ();
77268 /* The GNU C library defines this for functions which it implements
77269     to always fail with ENOSYS.  Some functions are actually named
77270     something starting with __ and the normal name is an alias.  */
77271 #if defined __stub_$ac_func || defined __stub___$ac_func
77272 choke me
77273 #endif
77274
77275 int
77276 main ()
77277 {
77278 return $ac_func ();
77279   ;
77280   return 0;
77281 }
77282 _ACEOF
77283 rm -f conftest.$ac_objext conftest$ac_exeext
77284 if { (ac_try="$ac_link"
77285 case "(($ac_try" in
77286   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
77287   *) ac_try_echo=$ac_try;;
77288 esac
77289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
77290   (eval "$ac_link") 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          test -z "$ac_c_werror_flag" ||
77298          test ! -s conftest.err
77299        } && test -s conftest$ac_exeext &&
77300        $as_test_x conftest$ac_exeext; then
77301   eval "$as_ac_var=yes"
77302 else
77303   echo "$as_me: failed program was:" >&5
77304 sed 's/^/| /' conftest.$ac_ext >&5
77305
77306         eval "$as_ac_var=no"
77307 fi
77308
77309 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
77310       conftest$ac_exeext conftest.$ac_ext
77311 fi
77312 ac_res=`eval echo '${'$as_ac_var'}'`
77313                { echo "$as_me:$LINENO: result: $ac_res" >&5
77314 echo "${ECHO_T}$ac_res" >&6; }
77315 if test `eval echo '${'$as_ac_var'}'` = yes; then
77316   cat >>confdefs.h <<_ACEOF
77317 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77318 _ACEOF
77319
77320 fi
77321 done
77322
77323   else
77324
77325   { echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
77326 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6; }
77327   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
77328     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
77329   echo $ECHO_N "(cached) $ECHO_C" >&6
77330 else
77331
77332
77333       ac_ext=cpp
77334 ac_cpp='$CXXCPP $CPPFLAGS'
77335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77338
77339       cat >conftest.$ac_ext <<_ACEOF
77340 /* confdefs.h.  */
77341 _ACEOF
77342 cat confdefs.h >>conftest.$ac_ext
77343 cat >>conftest.$ac_ext <<_ACEOF
77344 /* end confdefs.h.  */
77345 #include <math.h>
77346 int
77347 main ()
77348 {
77349  _sincosl(0, 0, 0);
77350   ;
77351   return 0;
77352 }
77353 _ACEOF
77354 rm -f conftest.$ac_objext
77355 if { (ac_try="$ac_compile"
77356 case "(($ac_try" in
77357   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
77358   *) ac_try_echo=$ac_try;;
77359 esac
77360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
77361   (eval "$ac_compile") 2>conftest.er1
77362   ac_status=$?
77363   grep -v '^ *+' conftest.er1 >conftest.err
77364   rm -f conftest.er1
77365   cat conftest.err >&5
77366   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77367   (exit $ac_status); } && {
77368          test -z "$ac_cxx_werror_flag" ||
77369          test ! -s conftest.err
77370        } && test -s conftest.$ac_objext; then
77371   glibcxx_cv_func__sincosl_use=yes
77372 else
77373   echo "$as_me: failed program was:" >&5
77374 sed 's/^/| /' conftest.$ac_ext >&5
77375
77376         glibcxx_cv_func__sincosl_use=no
77377 fi
77378
77379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77380       ac_ext=c
77381 ac_cpp='$CPP $CPPFLAGS'
77382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77385
77386
77387 fi
77388
77389   fi
77390   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
77391 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6; }
77392
77393     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
77394
77395 for ac_func in _sincosl
77396 do
77397 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77398 { echo "$as_me:$LINENO: checking for $ac_func" >&5
77399 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
77400 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
77401   echo $ECHO_N "(cached) $ECHO_C" >&6
77402 else
77403   if test x$gcc_no_link = xyes; then
77404   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77405 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77406    { (exit 1); exit 1; }; }
77407 fi
77408 cat >conftest.$ac_ext <<_ACEOF
77409 /* confdefs.h.  */
77410 _ACEOF
77411 cat confdefs.h >>conftest.$ac_ext
77412 cat >>conftest.$ac_ext <<_ACEOF
77413 /* end confdefs.h.  */
77414 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77415    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
77416 #define $ac_func innocuous_$ac_func
77417
77418 /* System header to define __stub macros and hopefully few prototypes,
77419     which can conflict with char $ac_func (); below.
77420     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77421     <limits.h> exists even on freestanding compilers.  */
77422
77423 #ifdef __STDC__
77424 # include <limits.h>
77425 #else
77426 # include <assert.h>
77427 #endif
77428
77429 #undef $ac_func
77430
77431 /* Override any GCC internal prototype to avoid an error.
77432    Use char because int might match the return type of a GCC
77433    builtin and then its argument prototype would still apply.  */
77434 #ifdef __cplusplus
77435 extern "C"
77436 #endif
77437 char $ac_func ();
77438 /* The GNU C library defines this for functions which it implements
77439     to always fail with ENOSYS.  Some functions are actually named
77440     something starting with __ and the normal name is an alias.  */
77441 #if defined __stub_$ac_func || defined __stub___$ac_func
77442 choke me
77443 #endif
77444
77445 int
77446 main ()
77447 {
77448 return $ac_func ();
77449   ;
77450   return 0;
77451 }
77452 _ACEOF
77453 rm -f conftest.$ac_objext conftest$ac_exeext
77454 if { (ac_try="$ac_link"
77455 case "(($ac_try" in
77456   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
77457   *) ac_try_echo=$ac_try;;
77458 esac
77459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
77460   (eval "$ac_link") 2>conftest.er1
77461   ac_status=$?
77462   grep -v '^ *+' conftest.er1 >conftest.err
77463   rm -f conftest.er1
77464   cat conftest.err >&5
77465   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77466   (exit $ac_status); } && {
77467          test -z "$ac_c_werror_flag" ||
77468          test ! -s conftest.err
77469        } && test -s conftest$ac_exeext &&
77470        $as_test_x conftest$ac_exeext; then
77471   eval "$as_ac_var=yes"
77472 else
77473   echo "$as_me: failed program was:" >&5
77474 sed 's/^/| /' conftest.$ac_ext >&5
77475
77476         eval "$as_ac_var=no"
77477 fi
77478
77479 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
77480       conftest$ac_exeext conftest.$ac_ext
77481 fi
77482 ac_res=`eval echo '${'$as_ac_var'}'`
77483                { echo "$as_me:$LINENO: result: $ac_res" >&5
77484 echo "${ECHO_T}$ac_res" >&6; }
77485 if test `eval echo '${'$as_ac_var'}'` = yes; then
77486   cat >>confdefs.h <<_ACEOF
77487 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77488 _ACEOF
77489
77490 fi
77491 done
77492
77493     fi
77494   fi
77495
77496
77497
77498
77499
77500
77501   { echo "$as_me:$LINENO: checking for finitel declaration" >&5
77502 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6; }
77503   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
77504     if test "${glibcxx_cv_func_finitel_use+set}" = set; then
77505   echo $ECHO_N "(cached) $ECHO_C" >&6
77506 else
77507
77508
77509       ac_ext=cpp
77510 ac_cpp='$CXXCPP $CPPFLAGS'
77511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77514
77515       cat >conftest.$ac_ext <<_ACEOF
77516 /* confdefs.h.  */
77517 _ACEOF
77518 cat confdefs.h >>conftest.$ac_ext
77519 cat >>conftest.$ac_ext <<_ACEOF
77520 /* end confdefs.h.  */
77521 #include <math.h>
77522                       #ifdef HAVE_IEEEFP_H
77523                       #include <ieeefp.h>
77524                       #endif
77525
77526 int
77527 main ()
77528 {
77529  finitel(0);
77530   ;
77531   return 0;
77532 }
77533 _ACEOF
77534 rm -f conftest.$ac_objext
77535 if { (ac_try="$ac_compile"
77536 case "(($ac_try" in
77537   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
77538   *) ac_try_echo=$ac_try;;
77539 esac
77540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
77541   (eval "$ac_compile") 2>conftest.er1
77542   ac_status=$?
77543   grep -v '^ *+' conftest.er1 >conftest.err
77544   rm -f conftest.er1
77545   cat conftest.err >&5
77546   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77547   (exit $ac_status); } && {
77548          test -z "$ac_cxx_werror_flag" ||
77549          test ! -s conftest.err
77550        } && test -s conftest.$ac_objext; then
77551   glibcxx_cv_func_finitel_use=yes
77552 else
77553   echo "$as_me: failed program was:" >&5
77554 sed 's/^/| /' conftest.$ac_ext >&5
77555
77556         glibcxx_cv_func_finitel_use=no
77557 fi
77558
77559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77560       ac_ext=c
77561 ac_cpp='$CPP $CPPFLAGS'
77562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77565
77566
77567 fi
77568
77569   fi
77570   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
77571 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6; }
77572
77573   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
77574
77575 for ac_func in finitel
77576 do
77577 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77578 { echo "$as_me:$LINENO: checking for $ac_func" >&5
77579 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
77580 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
77581   echo $ECHO_N "(cached) $ECHO_C" >&6
77582 else
77583   if test x$gcc_no_link = xyes; then
77584   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77585 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77586    { (exit 1); exit 1; }; }
77587 fi
77588 cat >conftest.$ac_ext <<_ACEOF
77589 /* confdefs.h.  */
77590 _ACEOF
77591 cat confdefs.h >>conftest.$ac_ext
77592 cat >>conftest.$ac_ext <<_ACEOF
77593 /* end confdefs.h.  */
77594 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77595    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
77596 #define $ac_func innocuous_$ac_func
77597
77598 /* System header to define __stub macros and hopefully few prototypes,
77599     which can conflict with char $ac_func (); below.
77600     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77601     <limits.h> exists even on freestanding compilers.  */
77602
77603 #ifdef __STDC__
77604 # include <limits.h>
77605 #else
77606 # include <assert.h>
77607 #endif
77608
77609 #undef $ac_func
77610
77611 /* Override any GCC internal prototype to avoid an error.
77612    Use char because int might match the return type of a GCC
77613    builtin and then its argument prototype would still apply.  */
77614 #ifdef __cplusplus
77615 extern "C"
77616 #endif
77617 char $ac_func ();
77618 /* The GNU C library defines this for functions which it implements
77619     to always fail with ENOSYS.  Some functions are actually named
77620     something starting with __ and the normal name is an alias.  */
77621 #if defined __stub_$ac_func || defined __stub___$ac_func
77622 choke me
77623 #endif
77624
77625 int
77626 main ()
77627 {
77628 return $ac_func ();
77629   ;
77630   return 0;
77631 }
77632 _ACEOF
77633 rm -f conftest.$ac_objext conftest$ac_exeext
77634 if { (ac_try="$ac_link"
77635 case "(($ac_try" in
77636   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
77637   *) ac_try_echo=$ac_try;;
77638 esac
77639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
77640   (eval "$ac_link") 2>conftest.er1
77641   ac_status=$?
77642   grep -v '^ *+' conftest.er1 >conftest.err
77643   rm -f conftest.er1
77644   cat conftest.err >&5
77645   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77646   (exit $ac_status); } && {
77647          test -z "$ac_c_werror_flag" ||
77648          test ! -s conftest.err
77649        } && test -s conftest$ac_exeext &&
77650        $as_test_x conftest$ac_exeext; then
77651   eval "$as_ac_var=yes"
77652 else
77653   echo "$as_me: failed program was:" >&5
77654 sed 's/^/| /' conftest.$ac_ext >&5
77655
77656         eval "$as_ac_var=no"
77657 fi
77658
77659 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
77660       conftest$ac_exeext conftest.$ac_ext
77661 fi
77662 ac_res=`eval echo '${'$as_ac_var'}'`
77663                { echo "$as_me:$LINENO: result: $ac_res" >&5
77664 echo "${ECHO_T}$ac_res" >&6; }
77665 if test `eval echo '${'$as_ac_var'}'` = yes; then
77666   cat >>confdefs.h <<_ACEOF
77667 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77668 _ACEOF
77669
77670 fi
77671 done
77672
77673   else
77674
77675   { echo "$as_me:$LINENO: checking for _finitel declaration" >&5
77676 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6; }
77677   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
77678     if test "${glibcxx_cv_func__finitel_use+set}" = set; then
77679   echo $ECHO_N "(cached) $ECHO_C" >&6
77680 else
77681
77682
77683       ac_ext=cpp
77684 ac_cpp='$CXXCPP $CPPFLAGS'
77685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77688
77689       cat >conftest.$ac_ext <<_ACEOF
77690 /* confdefs.h.  */
77691 _ACEOF
77692 cat confdefs.h >>conftest.$ac_ext
77693 cat >>conftest.$ac_ext <<_ACEOF
77694 /* end confdefs.h.  */
77695 #include <math.h>
77696                       #ifdef HAVE_IEEEFP_H
77697                       #include <ieeefp.h>
77698                       #endif
77699
77700 int
77701 main ()
77702 {
77703  _finitel(0);
77704   ;
77705   return 0;
77706 }
77707 _ACEOF
77708 rm -f conftest.$ac_objext
77709 if { (ac_try="$ac_compile"
77710 case "(($ac_try" in
77711   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
77712   *) ac_try_echo=$ac_try;;
77713 esac
77714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
77715   (eval "$ac_compile") 2>conftest.er1
77716   ac_status=$?
77717   grep -v '^ *+' conftest.er1 >conftest.err
77718   rm -f conftest.er1
77719   cat conftest.err >&5
77720   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77721   (exit $ac_status); } && {
77722          test -z "$ac_cxx_werror_flag" ||
77723          test ! -s conftest.err
77724        } && test -s conftest.$ac_objext; then
77725   glibcxx_cv_func__finitel_use=yes
77726 else
77727   echo "$as_me: failed program was:" >&5
77728 sed 's/^/| /' conftest.$ac_ext >&5
77729
77730         glibcxx_cv_func__finitel_use=no
77731 fi
77732
77733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77734       ac_ext=c
77735 ac_cpp='$CPP $CPPFLAGS'
77736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77739
77740
77741 fi
77742
77743   fi
77744   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
77745 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6; }
77746
77747     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
77748
77749 for ac_func in _finitel
77750 do
77751 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77752 { echo "$as_me:$LINENO: checking for $ac_func" >&5
77753 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
77754 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
77755   echo $ECHO_N "(cached) $ECHO_C" >&6
77756 else
77757   if test x$gcc_no_link = xyes; then
77758   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77759 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77760    { (exit 1); exit 1; }; }
77761 fi
77762 cat >conftest.$ac_ext <<_ACEOF
77763 /* confdefs.h.  */
77764 _ACEOF
77765 cat confdefs.h >>conftest.$ac_ext
77766 cat >>conftest.$ac_ext <<_ACEOF
77767 /* end confdefs.h.  */
77768 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77769    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
77770 #define $ac_func innocuous_$ac_func
77771
77772 /* System header to define __stub macros and hopefully few prototypes,
77773     which can conflict with char $ac_func (); below.
77774     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77775     <limits.h> exists even on freestanding compilers.  */
77776
77777 #ifdef __STDC__
77778 # include <limits.h>
77779 #else
77780 # include <assert.h>
77781 #endif
77782
77783 #undef $ac_func
77784
77785 /* Override any GCC internal prototype to avoid an error.
77786    Use char because int might match the return type of a GCC
77787    builtin and then its argument prototype would still apply.  */
77788 #ifdef __cplusplus
77789 extern "C"
77790 #endif
77791 char $ac_func ();
77792 /* The GNU C library defines this for functions which it implements
77793     to always fail with ENOSYS.  Some functions are actually named
77794     something starting with __ and the normal name is an alias.  */
77795 #if defined __stub_$ac_func || defined __stub___$ac_func
77796 choke me
77797 #endif
77798
77799 int
77800 main ()
77801 {
77802 return $ac_func ();
77803   ;
77804   return 0;
77805 }
77806 _ACEOF
77807 rm -f conftest.$ac_objext conftest$ac_exeext
77808 if { (ac_try="$ac_link"
77809 case "(($ac_try" in
77810   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
77811   *) ac_try_echo=$ac_try;;
77812 esac
77813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
77814   (eval "$ac_link") 2>conftest.er1
77815   ac_status=$?
77816   grep -v '^ *+' conftest.er1 >conftest.err
77817   rm -f conftest.er1
77818   cat conftest.err >&5
77819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77820   (exit $ac_status); } && {
77821          test -z "$ac_c_werror_flag" ||
77822          test ! -s conftest.err
77823        } && test -s conftest$ac_exeext &&
77824        $as_test_x conftest$ac_exeext; then
77825   eval "$as_ac_var=yes"
77826 else
77827   echo "$as_me: failed program was:" >&5
77828 sed 's/^/| /' conftest.$ac_ext >&5
77829
77830         eval "$as_ac_var=no"
77831 fi
77832
77833 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
77834       conftest$ac_exeext conftest.$ac_ext
77835 fi
77836 ac_res=`eval echo '${'$as_ac_var'}'`
77837                { echo "$as_me:$LINENO: result: $ac_res" >&5
77838 echo "${ECHO_T}$ac_res" >&6; }
77839 if test `eval echo '${'$as_ac_var'}'` = yes; then
77840   cat >>confdefs.h <<_ACEOF
77841 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77842 _ACEOF
77843
77844 fi
77845 done
77846
77847     fi
77848   fi
77849
77850
77851
77852
77853
77854   LIBS="$ac_save_LIBS"
77855   CXXFLAGS="$ac_save_CXXFLAGS"
77856
77857
77858
77859   { echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
77860 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6; }
77861   if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
77862     if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
77863   echo $ECHO_N "(cached) $ECHO_C" >&6
77864 else
77865
77866
77867       ac_ext=cpp
77868 ac_cpp='$CXXCPP $CPPFLAGS'
77869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77872
77873       cat >conftest.$ac_ext <<_ACEOF
77874 /* confdefs.h.  */
77875 _ACEOF
77876 cat confdefs.h >>conftest.$ac_ext
77877 cat >>conftest.$ac_ext <<_ACEOF
77878 /* end confdefs.h.  */
77879 #include <math.h>
77880 int
77881 main ()
77882 {
77883  __builtin_abs(0);
77884   ;
77885   return 0;
77886 }
77887 _ACEOF
77888 rm -f conftest.$ac_objext
77889 if { (ac_try="$ac_compile"
77890 case "(($ac_try" in
77891   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
77892   *) ac_try_echo=$ac_try;;
77893 esac
77894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
77895   (eval "$ac_compile") 2>conftest.er1
77896   ac_status=$?
77897   grep -v '^ *+' conftest.er1 >conftest.err
77898   rm -f conftest.er1
77899   cat conftest.err >&5
77900   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77901   (exit $ac_status); } && {
77902          test -z "$ac_cxx_werror_flag" ||
77903          test ! -s conftest.err
77904        } && test -s conftest.$ac_objext; then
77905   glibcxx_cv_func___builtin_abs_use=yes
77906 else
77907   echo "$as_me: failed program was:" >&5
77908 sed 's/^/| /' conftest.$ac_ext >&5
77909
77910         glibcxx_cv_func___builtin_abs_use=no
77911 fi
77912
77913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77914       ac_ext=c
77915 ac_cpp='$CPP $CPPFLAGS'
77916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77919
77920
77921 fi
77922
77923   fi
77924   { echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
77925 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6; }
77926   if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
77927     { echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
77928 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6; }
77929     if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
77930       if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
77931   echo $ECHO_N "(cached) $ECHO_C" >&6
77932 else
77933
77934         if test x$gcc_no_link = xyes; then
77935   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77936 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77937    { (exit 1); exit 1; }; }
77938 fi
77939 cat >conftest.$ac_ext <<_ACEOF
77940 /* confdefs.h.  */
77941 _ACEOF
77942 cat confdefs.h >>conftest.$ac_ext
77943 cat >>conftest.$ac_ext <<_ACEOF
77944 /* end confdefs.h.  */
77945 #include <math.h>
77946 int
77947 main ()
77948 {
77949  __builtin_abs(0);
77950   ;
77951   return 0;
77952 }
77953 _ACEOF
77954 rm -f conftest.$ac_objext conftest$ac_exeext
77955 if { (ac_try="$ac_link"
77956 case "(($ac_try" in
77957   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
77958   *) ac_try_echo=$ac_try;;
77959 esac
77960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
77961   (eval "$ac_link") 2>conftest.er1
77962   ac_status=$?
77963   grep -v '^ *+' conftest.er1 >conftest.err
77964   rm -f conftest.er1
77965   cat conftest.err >&5
77966   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77967   (exit $ac_status); } && {
77968          test -z "$ac_c_werror_flag" ||
77969          test ! -s conftest.err
77970        } && test -s conftest$ac_exeext &&
77971        $as_test_x conftest$ac_exeext; then
77972   glibcxx_cv_func___builtin_abs_link=yes
77973 else
77974   echo "$as_me: failed program was:" >&5
77975 sed 's/^/| /' conftest.$ac_ext >&5
77976
77977         glibcxx_cv_func___builtin_abs_link=no
77978 fi
77979
77980 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
77981       conftest$ac_exeext conftest.$ac_ext
77982
77983 fi
77984
77985     fi
77986     { echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
77987 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6; }
77988
77989     if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
77990
77991 cat >>confdefs.h <<\_ACEOF
77992 #define HAVE___BUILTIN_ABS 1
77993 _ACEOF
77994
77995     fi
77996
77997   fi
77998
77999
78000   { echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
78001 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6; }
78002   if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
78003     if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
78004   echo $ECHO_N "(cached) $ECHO_C" >&6
78005 else
78006
78007
78008       ac_ext=cpp
78009 ac_cpp='$CXXCPP $CPPFLAGS'
78010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78013
78014       cat >conftest.$ac_ext <<_ACEOF
78015 /* confdefs.h.  */
78016 _ACEOF
78017 cat confdefs.h >>conftest.$ac_ext
78018 cat >>conftest.$ac_ext <<_ACEOF
78019 /* end confdefs.h.  */
78020 #include <math.h>
78021 int
78022 main ()
78023 {
78024  __builtin_fabsf(0);
78025   ;
78026   return 0;
78027 }
78028 _ACEOF
78029 rm -f conftest.$ac_objext
78030 if { (ac_try="$ac_compile"
78031 case "(($ac_try" in
78032   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78033   *) ac_try_echo=$ac_try;;
78034 esac
78035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78036   (eval "$ac_compile") 2>conftest.er1
78037   ac_status=$?
78038   grep -v '^ *+' conftest.er1 >conftest.err
78039   rm -f conftest.er1
78040   cat conftest.err >&5
78041   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78042   (exit $ac_status); } && {
78043          test -z "$ac_cxx_werror_flag" ||
78044          test ! -s conftest.err
78045        } && test -s conftest.$ac_objext; then
78046   glibcxx_cv_func___builtin_fabsf_use=yes
78047 else
78048   echo "$as_me: failed program was:" >&5
78049 sed 's/^/| /' conftest.$ac_ext >&5
78050
78051         glibcxx_cv_func___builtin_fabsf_use=no
78052 fi
78053
78054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78055       ac_ext=c
78056 ac_cpp='$CPP $CPPFLAGS'
78057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78060
78061
78062 fi
78063
78064   fi
78065   { echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
78066 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6; }
78067   if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
78068     { echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
78069 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6; }
78070     if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
78071       if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
78072   echo $ECHO_N "(cached) $ECHO_C" >&6
78073 else
78074
78075         if test x$gcc_no_link = xyes; then
78076   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78077 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78078    { (exit 1); exit 1; }; }
78079 fi
78080 cat >conftest.$ac_ext <<_ACEOF
78081 /* confdefs.h.  */
78082 _ACEOF
78083 cat confdefs.h >>conftest.$ac_ext
78084 cat >>conftest.$ac_ext <<_ACEOF
78085 /* end confdefs.h.  */
78086 #include <math.h>
78087 int
78088 main ()
78089 {
78090  __builtin_fabsf(0);
78091   ;
78092   return 0;
78093 }
78094 _ACEOF
78095 rm -f conftest.$ac_objext conftest$ac_exeext
78096 if { (ac_try="$ac_link"
78097 case "(($ac_try" in
78098   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78099   *) ac_try_echo=$ac_try;;
78100 esac
78101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78102   (eval "$ac_link") 2>conftest.er1
78103   ac_status=$?
78104   grep -v '^ *+' conftest.er1 >conftest.err
78105   rm -f conftest.er1
78106   cat conftest.err >&5
78107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78108   (exit $ac_status); } && {
78109          test -z "$ac_c_werror_flag" ||
78110          test ! -s conftest.err
78111        } && test -s conftest$ac_exeext &&
78112        $as_test_x conftest$ac_exeext; then
78113   glibcxx_cv_func___builtin_fabsf_link=yes
78114 else
78115   echo "$as_me: failed program was:" >&5
78116 sed 's/^/| /' conftest.$ac_ext >&5
78117
78118         glibcxx_cv_func___builtin_fabsf_link=no
78119 fi
78120
78121 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
78122       conftest$ac_exeext conftest.$ac_ext
78123
78124 fi
78125
78126     fi
78127     { echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
78128 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6; }
78129
78130     if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
78131
78132 cat >>confdefs.h <<\_ACEOF
78133 #define HAVE___BUILTIN_FABSF 1
78134 _ACEOF
78135
78136     fi
78137
78138   fi
78139
78140
78141   { echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
78142 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6; }
78143   if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
78144     if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
78145   echo $ECHO_N "(cached) $ECHO_C" >&6
78146 else
78147
78148
78149       ac_ext=cpp
78150 ac_cpp='$CXXCPP $CPPFLAGS'
78151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78154
78155       cat >conftest.$ac_ext <<_ACEOF
78156 /* confdefs.h.  */
78157 _ACEOF
78158 cat confdefs.h >>conftest.$ac_ext
78159 cat >>conftest.$ac_ext <<_ACEOF
78160 /* end confdefs.h.  */
78161 #include <math.h>
78162 int
78163 main ()
78164 {
78165  __builtin_fabs(0);
78166   ;
78167   return 0;
78168 }
78169 _ACEOF
78170 rm -f conftest.$ac_objext
78171 if { (ac_try="$ac_compile"
78172 case "(($ac_try" in
78173   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78174   *) ac_try_echo=$ac_try;;
78175 esac
78176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78177   (eval "$ac_compile") 2>conftest.er1
78178   ac_status=$?
78179   grep -v '^ *+' conftest.er1 >conftest.err
78180   rm -f conftest.er1
78181   cat conftest.err >&5
78182   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78183   (exit $ac_status); } && {
78184          test -z "$ac_cxx_werror_flag" ||
78185          test ! -s conftest.err
78186        } && test -s conftest.$ac_objext; then
78187   glibcxx_cv_func___builtin_fabs_use=yes
78188 else
78189   echo "$as_me: failed program was:" >&5
78190 sed 's/^/| /' conftest.$ac_ext >&5
78191
78192         glibcxx_cv_func___builtin_fabs_use=no
78193 fi
78194
78195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78196       ac_ext=c
78197 ac_cpp='$CPP $CPPFLAGS'
78198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78201
78202
78203 fi
78204
78205   fi
78206   { echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
78207 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6; }
78208   if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
78209     { echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
78210 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6; }
78211     if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
78212       if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
78213   echo $ECHO_N "(cached) $ECHO_C" >&6
78214 else
78215
78216         if test x$gcc_no_link = xyes; then
78217   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78218 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78219    { (exit 1); exit 1; }; }
78220 fi
78221 cat >conftest.$ac_ext <<_ACEOF
78222 /* confdefs.h.  */
78223 _ACEOF
78224 cat confdefs.h >>conftest.$ac_ext
78225 cat >>conftest.$ac_ext <<_ACEOF
78226 /* end confdefs.h.  */
78227 #include <math.h>
78228 int
78229 main ()
78230 {
78231  __builtin_fabs(0);
78232   ;
78233   return 0;
78234 }
78235 _ACEOF
78236 rm -f conftest.$ac_objext conftest$ac_exeext
78237 if { (ac_try="$ac_link"
78238 case "(($ac_try" in
78239   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78240   *) ac_try_echo=$ac_try;;
78241 esac
78242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78243   (eval "$ac_link") 2>conftest.er1
78244   ac_status=$?
78245   grep -v '^ *+' conftest.er1 >conftest.err
78246   rm -f conftest.er1
78247   cat conftest.err >&5
78248   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78249   (exit $ac_status); } && {
78250          test -z "$ac_c_werror_flag" ||
78251          test ! -s conftest.err
78252        } && test -s conftest$ac_exeext &&
78253        $as_test_x conftest$ac_exeext; then
78254   glibcxx_cv_func___builtin_fabs_link=yes
78255 else
78256   echo "$as_me: failed program was:" >&5
78257 sed 's/^/| /' conftest.$ac_ext >&5
78258
78259         glibcxx_cv_func___builtin_fabs_link=no
78260 fi
78261
78262 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
78263       conftest$ac_exeext conftest.$ac_ext
78264
78265 fi
78266
78267     fi
78268     { echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
78269 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6; }
78270
78271     if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
78272
78273 cat >>confdefs.h <<\_ACEOF
78274 #define HAVE___BUILTIN_FABS 1
78275 _ACEOF
78276
78277     fi
78278
78279   fi
78280
78281
78282   { echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
78283 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6; }
78284   if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
78285     if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
78286   echo $ECHO_N "(cached) $ECHO_C" >&6
78287 else
78288
78289
78290       ac_ext=cpp
78291 ac_cpp='$CXXCPP $CPPFLAGS'
78292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78295
78296       cat >conftest.$ac_ext <<_ACEOF
78297 /* confdefs.h.  */
78298 _ACEOF
78299 cat confdefs.h >>conftest.$ac_ext
78300 cat >>conftest.$ac_ext <<_ACEOF
78301 /* end confdefs.h.  */
78302 #include <math.h>
78303 int
78304 main ()
78305 {
78306  __builtin_fabsl(0);
78307   ;
78308   return 0;
78309 }
78310 _ACEOF
78311 rm -f conftest.$ac_objext
78312 if { (ac_try="$ac_compile"
78313 case "(($ac_try" in
78314   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78315   *) ac_try_echo=$ac_try;;
78316 esac
78317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78318   (eval "$ac_compile") 2>conftest.er1
78319   ac_status=$?
78320   grep -v '^ *+' conftest.er1 >conftest.err
78321   rm -f conftest.er1
78322   cat conftest.err >&5
78323   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78324   (exit $ac_status); } && {
78325          test -z "$ac_cxx_werror_flag" ||
78326          test ! -s conftest.err
78327        } && test -s conftest.$ac_objext; then
78328   glibcxx_cv_func___builtin_fabsl_use=yes
78329 else
78330   echo "$as_me: failed program was:" >&5
78331 sed 's/^/| /' conftest.$ac_ext >&5
78332
78333         glibcxx_cv_func___builtin_fabsl_use=no
78334 fi
78335
78336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78337       ac_ext=c
78338 ac_cpp='$CPP $CPPFLAGS'
78339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78342
78343
78344 fi
78345
78346   fi
78347   { echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
78348 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6; }
78349   if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
78350     { echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
78351 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6; }
78352     if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
78353       if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
78354   echo $ECHO_N "(cached) $ECHO_C" >&6
78355 else
78356
78357         if test x$gcc_no_link = xyes; then
78358   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78359 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78360    { (exit 1); exit 1; }; }
78361 fi
78362 cat >conftest.$ac_ext <<_ACEOF
78363 /* confdefs.h.  */
78364 _ACEOF
78365 cat confdefs.h >>conftest.$ac_ext
78366 cat >>conftest.$ac_ext <<_ACEOF
78367 /* end confdefs.h.  */
78368 #include <math.h>
78369 int
78370 main ()
78371 {
78372  __builtin_fabsl(0);
78373   ;
78374   return 0;
78375 }
78376 _ACEOF
78377 rm -f conftest.$ac_objext conftest$ac_exeext
78378 if { (ac_try="$ac_link"
78379 case "(($ac_try" in
78380   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78381   *) ac_try_echo=$ac_try;;
78382 esac
78383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78384   (eval "$ac_link") 2>conftest.er1
78385   ac_status=$?
78386   grep -v '^ *+' conftest.er1 >conftest.err
78387   rm -f conftest.er1
78388   cat conftest.err >&5
78389   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78390   (exit $ac_status); } && {
78391          test -z "$ac_c_werror_flag" ||
78392          test ! -s conftest.err
78393        } && test -s conftest$ac_exeext &&
78394        $as_test_x conftest$ac_exeext; then
78395   glibcxx_cv_func___builtin_fabsl_link=yes
78396 else
78397   echo "$as_me: failed program was:" >&5
78398 sed 's/^/| /' conftest.$ac_ext >&5
78399
78400         glibcxx_cv_func___builtin_fabsl_link=no
78401 fi
78402
78403 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
78404       conftest$ac_exeext conftest.$ac_ext
78405
78406 fi
78407
78408     fi
78409     { echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
78410 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6; }
78411
78412     if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
78413
78414 cat >>confdefs.h <<\_ACEOF
78415 #define HAVE___BUILTIN_FABSL 1
78416 _ACEOF
78417
78418     fi
78419
78420   fi
78421
78422
78423   { echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
78424 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6; }
78425   if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
78426     if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
78427   echo $ECHO_N "(cached) $ECHO_C" >&6
78428 else
78429
78430
78431       ac_ext=cpp
78432 ac_cpp='$CXXCPP $CPPFLAGS'
78433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78436
78437       cat >conftest.$ac_ext <<_ACEOF
78438 /* confdefs.h.  */
78439 _ACEOF
78440 cat confdefs.h >>conftest.$ac_ext
78441 cat >>conftest.$ac_ext <<_ACEOF
78442 /* end confdefs.h.  */
78443 #include <math.h>
78444 int
78445 main ()
78446 {
78447  __builtin_labs(0);
78448   ;
78449   return 0;
78450 }
78451 _ACEOF
78452 rm -f conftest.$ac_objext
78453 if { (ac_try="$ac_compile"
78454 case "(($ac_try" in
78455   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78456   *) ac_try_echo=$ac_try;;
78457 esac
78458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78459   (eval "$ac_compile") 2>conftest.er1
78460   ac_status=$?
78461   grep -v '^ *+' conftest.er1 >conftest.err
78462   rm -f conftest.er1
78463   cat conftest.err >&5
78464   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78465   (exit $ac_status); } && {
78466          test -z "$ac_cxx_werror_flag" ||
78467          test ! -s conftest.err
78468        } && test -s conftest.$ac_objext; then
78469   glibcxx_cv_func___builtin_labs_use=yes
78470 else
78471   echo "$as_me: failed program was:" >&5
78472 sed 's/^/| /' conftest.$ac_ext >&5
78473
78474         glibcxx_cv_func___builtin_labs_use=no
78475 fi
78476
78477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78478       ac_ext=c
78479 ac_cpp='$CPP $CPPFLAGS'
78480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78483
78484
78485 fi
78486
78487   fi
78488   { echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
78489 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6; }
78490   if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
78491     { echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
78492 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6; }
78493     if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
78494       if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
78495   echo $ECHO_N "(cached) $ECHO_C" >&6
78496 else
78497
78498         if test x$gcc_no_link = xyes; then
78499   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78500 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78501    { (exit 1); exit 1; }; }
78502 fi
78503 cat >conftest.$ac_ext <<_ACEOF
78504 /* confdefs.h.  */
78505 _ACEOF
78506 cat confdefs.h >>conftest.$ac_ext
78507 cat >>conftest.$ac_ext <<_ACEOF
78508 /* end confdefs.h.  */
78509 #include <math.h>
78510 int
78511 main ()
78512 {
78513  __builtin_labs(0);
78514   ;
78515   return 0;
78516 }
78517 _ACEOF
78518 rm -f conftest.$ac_objext conftest$ac_exeext
78519 if { (ac_try="$ac_link"
78520 case "(($ac_try" in
78521   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78522   *) ac_try_echo=$ac_try;;
78523 esac
78524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78525   (eval "$ac_link") 2>conftest.er1
78526   ac_status=$?
78527   grep -v '^ *+' conftest.er1 >conftest.err
78528   rm -f conftest.er1
78529   cat conftest.err >&5
78530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78531   (exit $ac_status); } && {
78532          test -z "$ac_c_werror_flag" ||
78533          test ! -s conftest.err
78534        } && test -s conftest$ac_exeext &&
78535        $as_test_x conftest$ac_exeext; then
78536   glibcxx_cv_func___builtin_labs_link=yes
78537 else
78538   echo "$as_me: failed program was:" >&5
78539 sed 's/^/| /' conftest.$ac_ext >&5
78540
78541         glibcxx_cv_func___builtin_labs_link=no
78542 fi
78543
78544 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
78545       conftest$ac_exeext conftest.$ac_ext
78546
78547 fi
78548
78549     fi
78550     { echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
78551 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6; }
78552
78553     if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
78554
78555 cat >>confdefs.h <<\_ACEOF
78556 #define HAVE___BUILTIN_LABS 1
78557 _ACEOF
78558
78559     fi
78560
78561   fi
78562
78563
78564
78565   { echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
78566 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6; }
78567   if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
78568     if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
78569   echo $ECHO_N "(cached) $ECHO_C" >&6
78570 else
78571
78572
78573       ac_ext=cpp
78574 ac_cpp='$CXXCPP $CPPFLAGS'
78575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78578
78579       cat >conftest.$ac_ext <<_ACEOF
78580 /* confdefs.h.  */
78581 _ACEOF
78582 cat confdefs.h >>conftest.$ac_ext
78583 cat >>conftest.$ac_ext <<_ACEOF
78584 /* end confdefs.h.  */
78585 #include <math.h>
78586 int
78587 main ()
78588 {
78589  __builtin_sqrtf(0);
78590   ;
78591   return 0;
78592 }
78593 _ACEOF
78594 rm -f conftest.$ac_objext
78595 if { (ac_try="$ac_compile"
78596 case "(($ac_try" in
78597   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78598   *) ac_try_echo=$ac_try;;
78599 esac
78600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78601   (eval "$ac_compile") 2>conftest.er1
78602   ac_status=$?
78603   grep -v '^ *+' conftest.er1 >conftest.err
78604   rm -f conftest.er1
78605   cat conftest.err >&5
78606   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78607   (exit $ac_status); } && {
78608          test -z "$ac_cxx_werror_flag" ||
78609          test ! -s conftest.err
78610        } && test -s conftest.$ac_objext; then
78611   glibcxx_cv_func___builtin_sqrtf_use=yes
78612 else
78613   echo "$as_me: failed program was:" >&5
78614 sed 's/^/| /' conftest.$ac_ext >&5
78615
78616         glibcxx_cv_func___builtin_sqrtf_use=no
78617 fi
78618
78619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78620       ac_ext=c
78621 ac_cpp='$CPP $CPPFLAGS'
78622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78625
78626
78627 fi
78628
78629   fi
78630   { echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
78631 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6; }
78632   if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
78633     { echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
78634 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6; }
78635     if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
78636       if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
78637   echo $ECHO_N "(cached) $ECHO_C" >&6
78638 else
78639
78640         if test x$gcc_no_link = xyes; then
78641   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78642 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78643    { (exit 1); exit 1; }; }
78644 fi
78645 cat >conftest.$ac_ext <<_ACEOF
78646 /* confdefs.h.  */
78647 _ACEOF
78648 cat confdefs.h >>conftest.$ac_ext
78649 cat >>conftest.$ac_ext <<_ACEOF
78650 /* end confdefs.h.  */
78651 #include <math.h>
78652 int
78653 main ()
78654 {
78655  __builtin_sqrtf(0);
78656   ;
78657   return 0;
78658 }
78659 _ACEOF
78660 rm -f conftest.$ac_objext conftest$ac_exeext
78661 if { (ac_try="$ac_link"
78662 case "(($ac_try" in
78663   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78664   *) ac_try_echo=$ac_try;;
78665 esac
78666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78667   (eval "$ac_link") 2>conftest.er1
78668   ac_status=$?
78669   grep -v '^ *+' conftest.er1 >conftest.err
78670   rm -f conftest.er1
78671   cat conftest.err >&5
78672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78673   (exit $ac_status); } && {
78674          test -z "$ac_c_werror_flag" ||
78675          test ! -s conftest.err
78676        } && test -s conftest$ac_exeext &&
78677        $as_test_x conftest$ac_exeext; then
78678   glibcxx_cv_func___builtin_sqrtf_link=yes
78679 else
78680   echo "$as_me: failed program was:" >&5
78681 sed 's/^/| /' conftest.$ac_ext >&5
78682
78683         glibcxx_cv_func___builtin_sqrtf_link=no
78684 fi
78685
78686 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
78687       conftest$ac_exeext conftest.$ac_ext
78688
78689 fi
78690
78691     fi
78692     { echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
78693 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6; }
78694
78695     if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
78696
78697 cat >>confdefs.h <<\_ACEOF
78698 #define HAVE___BUILTIN_SQRTF 1
78699 _ACEOF
78700
78701     fi
78702
78703   fi
78704
78705
78706   { echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
78707 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6; }
78708   if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
78709     if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
78710   echo $ECHO_N "(cached) $ECHO_C" >&6
78711 else
78712
78713
78714       ac_ext=cpp
78715 ac_cpp='$CXXCPP $CPPFLAGS'
78716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78719
78720       cat >conftest.$ac_ext <<_ACEOF
78721 /* confdefs.h.  */
78722 _ACEOF
78723 cat confdefs.h >>conftest.$ac_ext
78724 cat >>conftest.$ac_ext <<_ACEOF
78725 /* end confdefs.h.  */
78726 #include <math.h>
78727 int
78728 main ()
78729 {
78730  __builtin_sqrt(0);
78731   ;
78732   return 0;
78733 }
78734 _ACEOF
78735 rm -f conftest.$ac_objext
78736 if { (ac_try="$ac_compile"
78737 case "(($ac_try" in
78738   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78739   *) ac_try_echo=$ac_try;;
78740 esac
78741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78742   (eval "$ac_compile") 2>conftest.er1
78743   ac_status=$?
78744   grep -v '^ *+' conftest.er1 >conftest.err
78745   rm -f conftest.er1
78746   cat conftest.err >&5
78747   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78748   (exit $ac_status); } && {
78749          test -z "$ac_cxx_werror_flag" ||
78750          test ! -s conftest.err
78751        } && test -s conftest.$ac_objext; then
78752   glibcxx_cv_func___builtin_sqrt_use=yes
78753 else
78754   echo "$as_me: failed program was:" >&5
78755 sed 's/^/| /' conftest.$ac_ext >&5
78756
78757         glibcxx_cv_func___builtin_sqrt_use=no
78758 fi
78759
78760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78761       ac_ext=c
78762 ac_cpp='$CPP $CPPFLAGS'
78763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78766
78767
78768 fi
78769
78770   fi
78771   { echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
78772 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6; }
78773   if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
78774     { echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
78775 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6; }
78776     if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
78777       if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
78778   echo $ECHO_N "(cached) $ECHO_C" >&6
78779 else
78780
78781         if test x$gcc_no_link = xyes; then
78782   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78783 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78784    { (exit 1); exit 1; }; }
78785 fi
78786 cat >conftest.$ac_ext <<_ACEOF
78787 /* confdefs.h.  */
78788 _ACEOF
78789 cat confdefs.h >>conftest.$ac_ext
78790 cat >>conftest.$ac_ext <<_ACEOF
78791 /* end confdefs.h.  */
78792 #include <math.h>
78793 int
78794 main ()
78795 {
78796  __builtin_sqrt(0);
78797   ;
78798   return 0;
78799 }
78800 _ACEOF
78801 rm -f conftest.$ac_objext conftest$ac_exeext
78802 if { (ac_try="$ac_link"
78803 case "(($ac_try" in
78804   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78805   *) ac_try_echo=$ac_try;;
78806 esac
78807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78808   (eval "$ac_link") 2>conftest.er1
78809   ac_status=$?
78810   grep -v '^ *+' conftest.er1 >conftest.err
78811   rm -f conftest.er1
78812   cat conftest.err >&5
78813   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78814   (exit $ac_status); } && {
78815          test -z "$ac_c_werror_flag" ||
78816          test ! -s conftest.err
78817        } && test -s conftest$ac_exeext &&
78818        $as_test_x conftest$ac_exeext; then
78819   glibcxx_cv_func___builtin_sqrt_link=yes
78820 else
78821   echo "$as_me: failed program was:" >&5
78822 sed 's/^/| /' conftest.$ac_ext >&5
78823
78824         glibcxx_cv_func___builtin_sqrt_link=no
78825 fi
78826
78827 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
78828       conftest$ac_exeext conftest.$ac_ext
78829
78830 fi
78831
78832     fi
78833     { echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
78834 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6; }
78835
78836     if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
78837
78838 cat >>confdefs.h <<\_ACEOF
78839 #define HAVE___BUILTIN_SQRT 1
78840 _ACEOF
78841
78842     fi
78843
78844   fi
78845
78846
78847   { echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
78848 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6; }
78849   if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
78850     if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
78851   echo $ECHO_N "(cached) $ECHO_C" >&6
78852 else
78853
78854
78855       ac_ext=cpp
78856 ac_cpp='$CXXCPP $CPPFLAGS'
78857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78860
78861       cat >conftest.$ac_ext <<_ACEOF
78862 /* confdefs.h.  */
78863 _ACEOF
78864 cat confdefs.h >>conftest.$ac_ext
78865 cat >>conftest.$ac_ext <<_ACEOF
78866 /* end confdefs.h.  */
78867 #include <math.h>
78868 int
78869 main ()
78870 {
78871  __builtin_sqrtl(0);
78872   ;
78873   return 0;
78874 }
78875 _ACEOF
78876 rm -f conftest.$ac_objext
78877 if { (ac_try="$ac_compile"
78878 case "(($ac_try" in
78879   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78880   *) ac_try_echo=$ac_try;;
78881 esac
78882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78883   (eval "$ac_compile") 2>conftest.er1
78884   ac_status=$?
78885   grep -v '^ *+' conftest.er1 >conftest.err
78886   rm -f conftest.er1
78887   cat conftest.err >&5
78888   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78889   (exit $ac_status); } && {
78890          test -z "$ac_cxx_werror_flag" ||
78891          test ! -s conftest.err
78892        } && test -s conftest.$ac_objext; then
78893   glibcxx_cv_func___builtin_sqrtl_use=yes
78894 else
78895   echo "$as_me: failed program was:" >&5
78896 sed 's/^/| /' conftest.$ac_ext >&5
78897
78898         glibcxx_cv_func___builtin_sqrtl_use=no
78899 fi
78900
78901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78902       ac_ext=c
78903 ac_cpp='$CPP $CPPFLAGS'
78904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78907
78908
78909 fi
78910
78911   fi
78912   { echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
78913 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6; }
78914   if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
78915     { echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
78916 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6; }
78917     if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
78918       if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
78919   echo $ECHO_N "(cached) $ECHO_C" >&6
78920 else
78921
78922         if test x$gcc_no_link = xyes; then
78923   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78924 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78925    { (exit 1); exit 1; }; }
78926 fi
78927 cat >conftest.$ac_ext <<_ACEOF
78928 /* confdefs.h.  */
78929 _ACEOF
78930 cat confdefs.h >>conftest.$ac_ext
78931 cat >>conftest.$ac_ext <<_ACEOF
78932 /* end confdefs.h.  */
78933 #include <math.h>
78934 int
78935 main ()
78936 {
78937  __builtin_sqrtl(0);
78938   ;
78939   return 0;
78940 }
78941 _ACEOF
78942 rm -f conftest.$ac_objext conftest$ac_exeext
78943 if { (ac_try="$ac_link"
78944 case "(($ac_try" in
78945   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
78946   *) ac_try_echo=$ac_try;;
78947 esac
78948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
78949   (eval "$ac_link") 2>conftest.er1
78950   ac_status=$?
78951   grep -v '^ *+' conftest.er1 >conftest.err
78952   rm -f conftest.er1
78953   cat conftest.err >&5
78954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78955   (exit $ac_status); } && {
78956          test -z "$ac_c_werror_flag" ||
78957          test ! -s conftest.err
78958        } && test -s conftest$ac_exeext &&
78959        $as_test_x conftest$ac_exeext; then
78960   glibcxx_cv_func___builtin_sqrtl_link=yes
78961 else
78962   echo "$as_me: failed program was:" >&5
78963 sed 's/^/| /' conftest.$ac_ext >&5
78964
78965         glibcxx_cv_func___builtin_sqrtl_link=no
78966 fi
78967
78968 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
78969       conftest$ac_exeext conftest.$ac_ext
78970
78971 fi
78972
78973     fi
78974     { echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
78975 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6; }
78976
78977     if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
78978
78979 cat >>confdefs.h <<\_ACEOF
78980 #define HAVE___BUILTIN_SQRTL 1
78981 _ACEOF
78982
78983     fi
78984
78985   fi
78986
78987
78988
78989   { echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
78990 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6; }
78991   if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
78992     if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
78993   echo $ECHO_N "(cached) $ECHO_C" >&6
78994 else
78995
78996
78997       ac_ext=cpp
78998 ac_cpp='$CXXCPP $CPPFLAGS'
78999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79002
79003       cat >conftest.$ac_ext <<_ACEOF
79004 /* confdefs.h.  */
79005 _ACEOF
79006 cat confdefs.h >>conftest.$ac_ext
79007 cat >>conftest.$ac_ext <<_ACEOF
79008 /* end confdefs.h.  */
79009 #include <math.h>
79010 int
79011 main ()
79012 {
79013  __builtin_sinf(0);
79014   ;
79015   return 0;
79016 }
79017 _ACEOF
79018 rm -f conftest.$ac_objext
79019 if { (ac_try="$ac_compile"
79020 case "(($ac_try" in
79021   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
79022   *) ac_try_echo=$ac_try;;
79023 esac
79024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
79025   (eval "$ac_compile") 2>conftest.er1
79026   ac_status=$?
79027   grep -v '^ *+' conftest.er1 >conftest.err
79028   rm -f conftest.er1
79029   cat conftest.err >&5
79030   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79031   (exit $ac_status); } && {
79032          test -z "$ac_cxx_werror_flag" ||
79033          test ! -s conftest.err
79034        } && test -s conftest.$ac_objext; then
79035   glibcxx_cv_func___builtin_sinf_use=yes
79036 else
79037   echo "$as_me: failed program was:" >&5
79038 sed 's/^/| /' conftest.$ac_ext >&5
79039
79040         glibcxx_cv_func___builtin_sinf_use=no
79041 fi
79042
79043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79044       ac_ext=c
79045 ac_cpp='$CPP $CPPFLAGS'
79046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79049
79050
79051 fi
79052
79053   fi
79054   { echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
79055 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6; }
79056   if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
79057     { echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
79058 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6; }
79059     if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
79060       if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
79061   echo $ECHO_N "(cached) $ECHO_C" >&6
79062 else
79063
79064         if test x$gcc_no_link = xyes; then
79065   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79066 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79067    { (exit 1); exit 1; }; }
79068 fi
79069 cat >conftest.$ac_ext <<_ACEOF
79070 /* confdefs.h.  */
79071 _ACEOF
79072 cat confdefs.h >>conftest.$ac_ext
79073 cat >>conftest.$ac_ext <<_ACEOF
79074 /* end confdefs.h.  */
79075 #include <math.h>
79076 int
79077 main ()
79078 {
79079  __builtin_sinf(0);
79080   ;
79081   return 0;
79082 }
79083 _ACEOF
79084 rm -f conftest.$ac_objext conftest$ac_exeext
79085 if { (ac_try="$ac_link"
79086 case "(($ac_try" in
79087   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
79088   *) ac_try_echo=$ac_try;;
79089 esac
79090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
79091   (eval "$ac_link") 2>conftest.er1
79092   ac_status=$?
79093   grep -v '^ *+' conftest.er1 >conftest.err
79094   rm -f conftest.er1
79095   cat conftest.err >&5
79096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79097   (exit $ac_status); } && {
79098          test -z "$ac_c_werror_flag" ||
79099          test ! -s conftest.err
79100        } && test -s conftest$ac_exeext &&
79101        $as_test_x conftest$ac_exeext; then
79102   glibcxx_cv_func___builtin_sinf_link=yes
79103 else
79104   echo "$as_me: failed program was:" >&5
79105 sed 's/^/| /' conftest.$ac_ext >&5
79106
79107         glibcxx_cv_func___builtin_sinf_link=no
79108 fi
79109
79110 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
79111       conftest$ac_exeext conftest.$ac_ext
79112
79113 fi
79114
79115     fi
79116     { echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
79117 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6; }
79118
79119     if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
79120
79121 cat >>confdefs.h <<\_ACEOF
79122 #define HAVE___BUILTIN_SINF 1
79123 _ACEOF
79124
79125     fi
79126
79127   fi
79128
79129
79130   { echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
79131 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6; }
79132   if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
79133     if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
79134   echo $ECHO_N "(cached) $ECHO_C" >&6
79135 else
79136
79137
79138       ac_ext=cpp
79139 ac_cpp='$CXXCPP $CPPFLAGS'
79140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79143
79144       cat >conftest.$ac_ext <<_ACEOF
79145 /* confdefs.h.  */
79146 _ACEOF
79147 cat confdefs.h >>conftest.$ac_ext
79148 cat >>conftest.$ac_ext <<_ACEOF
79149 /* end confdefs.h.  */
79150 #include <math.h>
79151 int
79152 main ()
79153 {
79154  __builtin_sin(0);
79155   ;
79156   return 0;
79157 }
79158 _ACEOF
79159 rm -f conftest.$ac_objext
79160 if { (ac_try="$ac_compile"
79161 case "(($ac_try" in
79162   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
79163   *) ac_try_echo=$ac_try;;
79164 esac
79165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
79166   (eval "$ac_compile") 2>conftest.er1
79167   ac_status=$?
79168   grep -v '^ *+' conftest.er1 >conftest.err
79169   rm -f conftest.er1
79170   cat conftest.err >&5
79171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79172   (exit $ac_status); } && {
79173          test -z "$ac_cxx_werror_flag" ||
79174          test ! -s conftest.err
79175        } && test -s conftest.$ac_objext; then
79176   glibcxx_cv_func___builtin_sin_use=yes
79177 else
79178   echo "$as_me: failed program was:" >&5
79179 sed 's/^/| /' conftest.$ac_ext >&5
79180
79181         glibcxx_cv_func___builtin_sin_use=no
79182 fi
79183
79184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79185       ac_ext=c
79186 ac_cpp='$CPP $CPPFLAGS'
79187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79190
79191
79192 fi
79193
79194   fi
79195   { echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
79196 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6; }
79197   if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
79198     { echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
79199 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6; }
79200     if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
79201       if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
79202   echo $ECHO_N "(cached) $ECHO_C" >&6
79203 else
79204
79205         if test x$gcc_no_link = xyes; then
79206   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79207 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79208    { (exit 1); exit 1; }; }
79209 fi
79210 cat >conftest.$ac_ext <<_ACEOF
79211 /* confdefs.h.  */
79212 _ACEOF
79213 cat confdefs.h >>conftest.$ac_ext
79214 cat >>conftest.$ac_ext <<_ACEOF
79215 /* end confdefs.h.  */
79216 #include <math.h>
79217 int
79218 main ()
79219 {
79220  __builtin_sin(0);
79221   ;
79222   return 0;
79223 }
79224 _ACEOF
79225 rm -f conftest.$ac_objext conftest$ac_exeext
79226 if { (ac_try="$ac_link"
79227 case "(($ac_try" in
79228   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
79229   *) ac_try_echo=$ac_try;;
79230 esac
79231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
79232   (eval "$ac_link") 2>conftest.er1
79233   ac_status=$?
79234   grep -v '^ *+' conftest.er1 >conftest.err
79235   rm -f conftest.er1
79236   cat conftest.err >&5
79237   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79238   (exit $ac_status); } && {
79239          test -z "$ac_c_werror_flag" ||
79240          test ! -s conftest.err
79241        } && test -s conftest$ac_exeext &&
79242        $as_test_x conftest$ac_exeext; then
79243   glibcxx_cv_func___builtin_sin_link=yes
79244 else
79245   echo "$as_me: failed program was:" >&5
79246 sed 's/^/| /' conftest.$ac_ext >&5
79247
79248         glibcxx_cv_func___builtin_sin_link=no
79249 fi
79250
79251 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
79252       conftest$ac_exeext conftest.$ac_ext
79253
79254 fi
79255
79256     fi
79257     { echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
79258 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6; }
79259
79260     if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
79261
79262 cat >>confdefs.h <<\_ACEOF
79263 #define HAVE___BUILTIN_SIN 1
79264 _ACEOF
79265
79266     fi
79267
79268   fi
79269
79270
79271   { echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
79272 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6; }
79273   if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
79274     if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
79275   echo $ECHO_N "(cached) $ECHO_C" >&6
79276 else
79277
79278
79279       ac_ext=cpp
79280 ac_cpp='$CXXCPP $CPPFLAGS'
79281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79284
79285       cat >conftest.$ac_ext <<_ACEOF
79286 /* confdefs.h.  */
79287 _ACEOF
79288 cat confdefs.h >>conftest.$ac_ext
79289 cat >>conftest.$ac_ext <<_ACEOF
79290 /* end confdefs.h.  */
79291 #include <math.h>
79292 int
79293 main ()
79294 {
79295  __builtin_sinl(0);
79296   ;
79297   return 0;
79298 }
79299 _ACEOF
79300 rm -f conftest.$ac_objext
79301 if { (ac_try="$ac_compile"
79302 case "(($ac_try" in
79303   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
79304   *) ac_try_echo=$ac_try;;
79305 esac
79306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
79307   (eval "$ac_compile") 2>conftest.er1
79308   ac_status=$?
79309   grep -v '^ *+' conftest.er1 >conftest.err
79310   rm -f conftest.er1
79311   cat conftest.err >&5
79312   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79313   (exit $ac_status); } && {
79314          test -z "$ac_cxx_werror_flag" ||
79315          test ! -s conftest.err
79316        } && test -s conftest.$ac_objext; then
79317   glibcxx_cv_func___builtin_sinl_use=yes
79318 else
79319   echo "$as_me: failed program was:" >&5
79320 sed 's/^/| /' conftest.$ac_ext >&5
79321
79322         glibcxx_cv_func___builtin_sinl_use=no
79323 fi
79324
79325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79326       ac_ext=c
79327 ac_cpp='$CPP $CPPFLAGS'
79328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79331
79332
79333 fi
79334
79335   fi
79336   { echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
79337 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6; }
79338   if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
79339     { echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
79340 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6; }
79341     if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
79342       if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
79343   echo $ECHO_N "(cached) $ECHO_C" >&6
79344 else
79345
79346         if test x$gcc_no_link = xyes; then
79347   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79348 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79349    { (exit 1); exit 1; }; }
79350 fi
79351 cat >conftest.$ac_ext <<_ACEOF
79352 /* confdefs.h.  */
79353 _ACEOF
79354 cat confdefs.h >>conftest.$ac_ext
79355 cat >>conftest.$ac_ext <<_ACEOF
79356 /* end confdefs.h.  */
79357 #include <math.h>
79358 int
79359 main ()
79360 {
79361  __builtin_sinl(0);
79362   ;
79363   return 0;
79364 }
79365 _ACEOF
79366 rm -f conftest.$ac_objext conftest$ac_exeext
79367 if { (ac_try="$ac_link"
79368 case "(($ac_try" in
79369   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
79370   *) ac_try_echo=$ac_try;;
79371 esac
79372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
79373   (eval "$ac_link") 2>conftest.er1
79374   ac_status=$?
79375   grep -v '^ *+' conftest.er1 >conftest.err
79376   rm -f conftest.er1
79377   cat conftest.err >&5
79378   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79379   (exit $ac_status); } && {
79380          test -z "$ac_c_werror_flag" ||
79381          test ! -s conftest.err
79382        } && test -s conftest$ac_exeext &&
79383        $as_test_x conftest$ac_exeext; then
79384   glibcxx_cv_func___builtin_sinl_link=yes
79385 else
79386   echo "$as_me: failed program was:" >&5
79387 sed 's/^/| /' conftest.$ac_ext >&5
79388
79389         glibcxx_cv_func___builtin_sinl_link=no
79390 fi
79391
79392 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
79393       conftest$ac_exeext conftest.$ac_ext
79394
79395 fi
79396
79397     fi
79398     { echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
79399 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6; }
79400
79401     if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
79402
79403 cat >>confdefs.h <<\_ACEOF
79404 #define HAVE___BUILTIN_SINL 1
79405 _ACEOF
79406
79407     fi
79408
79409   fi
79410
79411
79412
79413   { echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
79414 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6; }
79415   if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
79416     if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
79417   echo $ECHO_N "(cached) $ECHO_C" >&6
79418 else
79419
79420
79421       ac_ext=cpp
79422 ac_cpp='$CXXCPP $CPPFLAGS'
79423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79426
79427       cat >conftest.$ac_ext <<_ACEOF
79428 /* confdefs.h.  */
79429 _ACEOF
79430 cat confdefs.h >>conftest.$ac_ext
79431 cat >>conftest.$ac_ext <<_ACEOF
79432 /* end confdefs.h.  */
79433 #include <math.h>
79434 int
79435 main ()
79436 {
79437  __builtin_cosf(0);
79438   ;
79439   return 0;
79440 }
79441 _ACEOF
79442 rm -f conftest.$ac_objext
79443 if { (ac_try="$ac_compile"
79444 case "(($ac_try" in
79445   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
79446   *) ac_try_echo=$ac_try;;
79447 esac
79448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
79449   (eval "$ac_compile") 2>conftest.er1
79450   ac_status=$?
79451   grep -v '^ *+' conftest.er1 >conftest.err
79452   rm -f conftest.er1
79453   cat conftest.err >&5
79454   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79455   (exit $ac_status); } && {
79456          test -z "$ac_cxx_werror_flag" ||
79457          test ! -s conftest.err
79458        } && test -s conftest.$ac_objext; then
79459   glibcxx_cv_func___builtin_cosf_use=yes
79460 else
79461   echo "$as_me: failed program was:" >&5
79462 sed 's/^/| /' conftest.$ac_ext >&5
79463
79464         glibcxx_cv_func___builtin_cosf_use=no
79465 fi
79466
79467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79468       ac_ext=c
79469 ac_cpp='$CPP $CPPFLAGS'
79470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79473
79474
79475 fi
79476
79477   fi
79478   { echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
79479 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6; }
79480   if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
79481     { echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
79482 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6; }
79483     if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
79484       if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
79485   echo $ECHO_N "(cached) $ECHO_C" >&6
79486 else
79487
79488         if test x$gcc_no_link = xyes; then
79489   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79490 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79491    { (exit 1); exit 1; }; }
79492 fi
79493 cat >conftest.$ac_ext <<_ACEOF
79494 /* confdefs.h.  */
79495 _ACEOF
79496 cat confdefs.h >>conftest.$ac_ext
79497 cat >>conftest.$ac_ext <<_ACEOF
79498 /* end confdefs.h.  */
79499 #include <math.h>
79500 int
79501 main ()
79502 {
79503  __builtin_cosf(0);
79504   ;
79505   return 0;
79506 }
79507 _ACEOF
79508 rm -f conftest.$ac_objext conftest$ac_exeext
79509 if { (ac_try="$ac_link"
79510 case "(($ac_try" in
79511   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
79512   *) ac_try_echo=$ac_try;;
79513 esac
79514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
79515   (eval "$ac_link") 2>conftest.er1
79516   ac_status=$?
79517   grep -v '^ *+' conftest.er1 >conftest.err
79518   rm -f conftest.er1
79519   cat conftest.err >&5
79520   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79521   (exit $ac_status); } && {
79522          test -z "$ac_c_werror_flag" ||
79523          test ! -s conftest.err
79524        } && test -s conftest$ac_exeext &&
79525        $as_test_x conftest$ac_exeext; then
79526   glibcxx_cv_func___builtin_cosf_link=yes
79527 else
79528   echo "$as_me: failed program was:" >&5
79529 sed 's/^/| /' conftest.$ac_ext >&5
79530
79531         glibcxx_cv_func___builtin_cosf_link=no
79532 fi
79533
79534 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
79535       conftest$ac_exeext conftest.$ac_ext
79536
79537 fi
79538
79539     fi
79540     { echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
79541 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6; }
79542
79543     if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
79544
79545 cat >>confdefs.h <<\_ACEOF
79546 #define HAVE___BUILTIN_COSF 1
79547 _ACEOF
79548
79549     fi
79550
79551   fi
79552
79553
79554   { echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
79555 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6; }
79556   if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
79557     if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
79558   echo $ECHO_N "(cached) $ECHO_C" >&6
79559 else
79560
79561
79562       ac_ext=cpp
79563 ac_cpp='$CXXCPP $CPPFLAGS'
79564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79567
79568       cat >conftest.$ac_ext <<_ACEOF
79569 /* confdefs.h.  */
79570 _ACEOF
79571 cat confdefs.h >>conftest.$ac_ext
79572 cat >>conftest.$ac_ext <<_ACEOF
79573 /* end confdefs.h.  */
79574 #include <math.h>
79575 int
79576 main ()
79577 {
79578  __builtin_cos(0);
79579   ;
79580   return 0;
79581 }
79582 _ACEOF
79583 rm -f conftest.$ac_objext
79584 if { (ac_try="$ac_compile"
79585 case "(($ac_try" in
79586   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
79587   *) ac_try_echo=$ac_try;;
79588 esac
79589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
79590   (eval "$ac_compile") 2>conftest.er1
79591   ac_status=$?
79592   grep -v '^ *+' conftest.er1 >conftest.err
79593   rm -f conftest.er1
79594   cat conftest.err >&5
79595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79596   (exit $ac_status); } && {
79597          test -z "$ac_cxx_werror_flag" ||
79598          test ! -s conftest.err
79599        } && test -s conftest.$ac_objext; then
79600   glibcxx_cv_func___builtin_cos_use=yes
79601 else
79602   echo "$as_me: failed program was:" >&5
79603 sed 's/^/| /' conftest.$ac_ext >&5
79604
79605         glibcxx_cv_func___builtin_cos_use=no
79606 fi
79607
79608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79609       ac_ext=c
79610 ac_cpp='$CPP $CPPFLAGS'
79611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79614
79615
79616 fi
79617
79618   fi
79619   { echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
79620 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6; }
79621   if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
79622     { echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
79623 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6; }
79624     if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
79625       if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
79626   echo $ECHO_N "(cached) $ECHO_C" >&6
79627 else
79628
79629         if test x$gcc_no_link = xyes; then
79630   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79631 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79632    { (exit 1); exit 1; }; }
79633 fi
79634 cat >conftest.$ac_ext <<_ACEOF
79635 /* confdefs.h.  */
79636 _ACEOF
79637 cat confdefs.h >>conftest.$ac_ext
79638 cat >>conftest.$ac_ext <<_ACEOF
79639 /* end confdefs.h.  */
79640 #include <math.h>
79641 int
79642 main ()
79643 {
79644  __builtin_cos(0);
79645   ;
79646   return 0;
79647 }
79648 _ACEOF
79649 rm -f conftest.$ac_objext conftest$ac_exeext
79650 if { (ac_try="$ac_link"
79651 case "(($ac_try" in
79652   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
79653   *) ac_try_echo=$ac_try;;
79654 esac
79655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
79656   (eval "$ac_link") 2>conftest.er1
79657   ac_status=$?
79658   grep -v '^ *+' conftest.er1 >conftest.err
79659   rm -f conftest.er1
79660   cat conftest.err >&5
79661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79662   (exit $ac_status); } && {
79663          test -z "$ac_c_werror_flag" ||
79664          test ! -s conftest.err
79665        } && test -s conftest$ac_exeext &&
79666        $as_test_x conftest$ac_exeext; then
79667   glibcxx_cv_func___builtin_cos_link=yes
79668 else
79669   echo "$as_me: failed program was:" >&5
79670 sed 's/^/| /' conftest.$ac_ext >&5
79671
79672         glibcxx_cv_func___builtin_cos_link=no
79673 fi
79674
79675 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
79676       conftest$ac_exeext conftest.$ac_ext
79677
79678 fi
79679
79680     fi
79681     { echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
79682 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6; }
79683
79684     if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
79685
79686 cat >>confdefs.h <<\_ACEOF
79687 #define HAVE___BUILTIN_COS 1
79688 _ACEOF
79689
79690     fi
79691
79692   fi
79693
79694
79695   { echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
79696 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6; }
79697   if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
79698     if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
79699   echo $ECHO_N "(cached) $ECHO_C" >&6
79700 else
79701
79702
79703       ac_ext=cpp
79704 ac_cpp='$CXXCPP $CPPFLAGS'
79705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79708
79709       cat >conftest.$ac_ext <<_ACEOF
79710 /* confdefs.h.  */
79711 _ACEOF
79712 cat confdefs.h >>conftest.$ac_ext
79713 cat >>conftest.$ac_ext <<_ACEOF
79714 /* end confdefs.h.  */
79715 #include <math.h>
79716 int
79717 main ()
79718 {
79719  __builtin_cosl(0);
79720   ;
79721   return 0;
79722 }
79723 _ACEOF
79724 rm -f conftest.$ac_objext
79725 if { (ac_try="$ac_compile"
79726 case "(($ac_try" in
79727   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
79728   *) ac_try_echo=$ac_try;;
79729 esac
79730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
79731   (eval "$ac_compile") 2>conftest.er1
79732   ac_status=$?
79733   grep -v '^ *+' conftest.er1 >conftest.err
79734   rm -f conftest.er1
79735   cat conftest.err >&5
79736   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79737   (exit $ac_status); } && {
79738          test -z "$ac_cxx_werror_flag" ||
79739          test ! -s conftest.err
79740        } && test -s conftest.$ac_objext; then
79741   glibcxx_cv_func___builtin_cosl_use=yes
79742 else
79743   echo "$as_me: failed program was:" >&5
79744 sed 's/^/| /' conftest.$ac_ext >&5
79745
79746         glibcxx_cv_func___builtin_cosl_use=no
79747 fi
79748
79749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79750       ac_ext=c
79751 ac_cpp='$CPP $CPPFLAGS'
79752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79755
79756
79757 fi
79758
79759   fi
79760   { echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
79761 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6; }
79762   if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
79763     { echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
79764 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6; }
79765     if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
79766       if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
79767   echo $ECHO_N "(cached) $ECHO_C" >&6
79768 else
79769
79770         if test x$gcc_no_link = xyes; then
79771   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79772 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79773    { (exit 1); exit 1; }; }
79774 fi
79775 cat >conftest.$ac_ext <<_ACEOF
79776 /* confdefs.h.  */
79777 _ACEOF
79778 cat confdefs.h >>conftest.$ac_ext
79779 cat >>conftest.$ac_ext <<_ACEOF
79780 /* end confdefs.h.  */
79781 #include <math.h>
79782 int
79783 main ()
79784 {
79785  __builtin_cosl(0);
79786   ;
79787   return 0;
79788 }
79789 _ACEOF
79790 rm -f conftest.$ac_objext conftest$ac_exeext
79791 if { (ac_try="$ac_link"
79792 case "(($ac_try" in
79793   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
79794   *) ac_try_echo=$ac_try;;
79795 esac
79796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
79797   (eval "$ac_link") 2>conftest.er1
79798   ac_status=$?
79799   grep -v '^ *+' conftest.er1 >conftest.err
79800   rm -f conftest.er1
79801   cat conftest.err >&5
79802   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79803   (exit $ac_status); } && {
79804          test -z "$ac_c_werror_flag" ||
79805          test ! -s conftest.err
79806        } && test -s conftest$ac_exeext &&
79807        $as_test_x conftest$ac_exeext; then
79808   glibcxx_cv_func___builtin_cosl_link=yes
79809 else
79810   echo "$as_me: failed program was:" >&5
79811 sed 's/^/| /' conftest.$ac_ext >&5
79812
79813         glibcxx_cv_func___builtin_cosl_link=no
79814 fi
79815
79816 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
79817       conftest$ac_exeext conftest.$ac_ext
79818
79819 fi
79820
79821     fi
79822     { echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
79823 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6; }
79824
79825     if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
79826
79827 cat >>confdefs.h <<\_ACEOF
79828 #define HAVE___BUILTIN_COSL 1
79829 _ACEOF
79830
79831     fi
79832
79833   fi
79834
79835
79836
79837
79838 { echo "$as_me:$LINENO: checking for main in -lm" >&5
79839 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6; }
79840 if test "${ac_cv_lib_m_main+set}" = set; then
79841   echo $ECHO_N "(cached) $ECHO_C" >&6
79842 else
79843   ac_check_lib_save_LIBS=$LIBS
79844 LIBS="-lm  $LIBS"
79845 if test x$gcc_no_link = xyes; then
79846   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79847 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79848    { (exit 1); exit 1; }; }
79849 fi
79850 cat >conftest.$ac_ext <<_ACEOF
79851 /* confdefs.h.  */
79852 _ACEOF
79853 cat confdefs.h >>conftest.$ac_ext
79854 cat >>conftest.$ac_ext <<_ACEOF
79855 /* end confdefs.h.  */
79856
79857
79858 int
79859 main ()
79860 {
79861 return main ();
79862   ;
79863   return 0;
79864 }
79865 _ACEOF
79866 rm -f conftest.$ac_objext conftest$ac_exeext
79867 if { (ac_try="$ac_link"
79868 case "(($ac_try" in
79869   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
79870   *) ac_try_echo=$ac_try;;
79871 esac
79872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
79873   (eval "$ac_link") 2>conftest.er1
79874   ac_status=$?
79875   grep -v '^ *+' conftest.er1 >conftest.err
79876   rm -f conftest.er1
79877   cat conftest.err >&5
79878   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79879   (exit $ac_status); } && {
79880          test -z "$ac_c_werror_flag" ||
79881          test ! -s conftest.err
79882        } && test -s conftest$ac_exeext &&
79883        $as_test_x conftest$ac_exeext; then
79884   ac_cv_lib_m_main=yes
79885 else
79886   echo "$as_me: failed program was:" >&5
79887 sed 's/^/| /' conftest.$ac_ext >&5
79888
79889         ac_cv_lib_m_main=no
79890 fi
79891
79892 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
79893       conftest$ac_exeext conftest.$ac_ext
79894 LIBS=$ac_check_lib_save_LIBS
79895 fi
79896 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
79897 echo "${ECHO_T}$ac_cv_lib_m_main" >&6; }
79898 if test $ac_cv_lib_m_main = yes; then
79899   cat >>confdefs.h <<_ACEOF
79900 #define HAVE_LIBM 1
79901 _ACEOF
79902
79903   LIBS="-lm $LIBS"
79904
79905 fi
79906
79907
79908 for ac_func in copysignf
79909 do
79910 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79911 { echo "$as_me:$LINENO: checking for $ac_func" >&5
79912 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
79913 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
79914   echo $ECHO_N "(cached) $ECHO_C" >&6
79915 else
79916   if test x$gcc_no_link = xyes; then
79917   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79918 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79919    { (exit 1); exit 1; }; }
79920 fi
79921 cat >conftest.$ac_ext <<_ACEOF
79922 /* confdefs.h.  */
79923 _ACEOF
79924 cat confdefs.h >>conftest.$ac_ext
79925 cat >>conftest.$ac_ext <<_ACEOF
79926 /* end confdefs.h.  */
79927 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79928    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
79929 #define $ac_func innocuous_$ac_func
79930
79931 /* System header to define __stub macros and hopefully few prototypes,
79932     which can conflict with char $ac_func (); below.
79933     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79934     <limits.h> exists even on freestanding compilers.  */
79935
79936 #ifdef __STDC__
79937 # include <limits.h>
79938 #else
79939 # include <assert.h>
79940 #endif
79941
79942 #undef $ac_func
79943
79944 /* Override any GCC internal prototype to avoid an error.
79945    Use char because int might match the return type of a GCC
79946    builtin and then its argument prototype would still apply.  */
79947 #ifdef __cplusplus
79948 extern "C"
79949 #endif
79950 char $ac_func ();
79951 /* The GNU C library defines this for functions which it implements
79952     to always fail with ENOSYS.  Some functions are actually named
79953     something starting with __ and the normal name is an alias.  */
79954 #if defined __stub_$ac_func || defined __stub___$ac_func
79955 choke me
79956 #endif
79957
79958 int
79959 main ()
79960 {
79961 return $ac_func ();
79962   ;
79963   return 0;
79964 }
79965 _ACEOF
79966 rm -f conftest.$ac_objext conftest$ac_exeext
79967 if { (ac_try="$ac_link"
79968 case "(($ac_try" in
79969   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
79970   *) ac_try_echo=$ac_try;;
79971 esac
79972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
79973   (eval "$ac_link") 2>conftest.er1
79974   ac_status=$?
79975   grep -v '^ *+' conftest.er1 >conftest.err
79976   rm -f conftest.er1
79977   cat conftest.err >&5
79978   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79979   (exit $ac_status); } && {
79980          test -z "$ac_c_werror_flag" ||
79981          test ! -s conftest.err
79982        } && test -s conftest$ac_exeext &&
79983        $as_test_x conftest$ac_exeext; then
79984   eval "$as_ac_var=yes"
79985 else
79986   echo "$as_me: failed program was:" >&5
79987 sed 's/^/| /' conftest.$ac_ext >&5
79988
79989         eval "$as_ac_var=no"
79990 fi
79991
79992 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
79993       conftest$ac_exeext conftest.$ac_ext
79994 fi
79995 ac_res=`eval echo '${'$as_ac_var'}'`
79996                { echo "$as_me:$LINENO: result: $ac_res" >&5
79997 echo "${ECHO_T}$ac_res" >&6; }
79998 if test `eval echo '${'$as_ac_var'}'` = yes; then
79999   cat >>confdefs.h <<_ACEOF
80000 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80001 _ACEOF
80002
80003 else
80004   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
80005 fi
80006 done
80007
80008
80009
80010 for ac_func in __signbit
80011 do
80012 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80013 { echo "$as_me:$LINENO: checking for $ac_func" >&5
80014 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
80015 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
80016   echo $ECHO_N "(cached) $ECHO_C" >&6
80017 else
80018   if test x$gcc_no_link = xyes; then
80019   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80020 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80021    { (exit 1); exit 1; }; }
80022 fi
80023 cat >conftest.$ac_ext <<_ACEOF
80024 /* confdefs.h.  */
80025 _ACEOF
80026 cat confdefs.h >>conftest.$ac_ext
80027 cat >>conftest.$ac_ext <<_ACEOF
80028 /* end confdefs.h.  */
80029 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80030    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
80031 #define $ac_func innocuous_$ac_func
80032
80033 /* System header to define __stub macros and hopefully few prototypes,
80034     which can conflict with char $ac_func (); below.
80035     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80036     <limits.h> exists even on freestanding compilers.  */
80037
80038 #ifdef __STDC__
80039 # include <limits.h>
80040 #else
80041 # include <assert.h>
80042 #endif
80043
80044 #undef $ac_func
80045
80046 /* Override any GCC internal prototype to avoid an error.
80047    Use char because int might match the return type of a GCC
80048    builtin and then its argument prototype would still apply.  */
80049 #ifdef __cplusplus
80050 extern "C"
80051 #endif
80052 char $ac_func ();
80053 /* The GNU C library defines this for functions which it implements
80054     to always fail with ENOSYS.  Some functions are actually named
80055     something starting with __ and the normal name is an alias.  */
80056 #if defined __stub_$ac_func || defined __stub___$ac_func
80057 choke me
80058 #endif
80059
80060 int
80061 main ()
80062 {
80063 return $ac_func ();
80064   ;
80065   return 0;
80066 }
80067 _ACEOF
80068 rm -f conftest.$ac_objext conftest$ac_exeext
80069 if { (ac_try="$ac_link"
80070 case "(($ac_try" in
80071   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
80072   *) ac_try_echo=$ac_try;;
80073 esac
80074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
80075   (eval "$ac_link") 2>conftest.er1
80076   ac_status=$?
80077   grep -v '^ *+' conftest.er1 >conftest.err
80078   rm -f conftest.er1
80079   cat conftest.err >&5
80080   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80081   (exit $ac_status); } && {
80082          test -z "$ac_c_werror_flag" ||
80083          test ! -s conftest.err
80084        } && test -s conftest$ac_exeext &&
80085        $as_test_x conftest$ac_exeext; then
80086   eval "$as_ac_var=yes"
80087 else
80088   echo "$as_me: failed program was:" >&5
80089 sed 's/^/| /' conftest.$ac_ext >&5
80090
80091         eval "$as_ac_var=no"
80092 fi
80093
80094 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
80095       conftest$ac_exeext conftest.$ac_ext
80096 fi
80097 ac_res=`eval echo '${'$as_ac_var'}'`
80098                { echo "$as_me:$LINENO: result: $ac_res" >&5
80099 echo "${ECHO_T}$ac_res" >&6; }
80100 if test `eval echo '${'$as_ac_var'}'` = yes; then
80101   cat >>confdefs.h <<_ACEOF
80102 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80103 _ACEOF
80104
80105 else
80106   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
80107 fi
80108 done
80109
80110
80111
80112 for ac_func in __signbitf
80113 do
80114 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80115 { echo "$as_me:$LINENO: checking for $ac_func" >&5
80116 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
80117 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
80118   echo $ECHO_N "(cached) $ECHO_C" >&6
80119 else
80120   if test x$gcc_no_link = xyes; then
80121   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80122 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80123    { (exit 1); exit 1; }; }
80124 fi
80125 cat >conftest.$ac_ext <<_ACEOF
80126 /* confdefs.h.  */
80127 _ACEOF
80128 cat confdefs.h >>conftest.$ac_ext
80129 cat >>conftest.$ac_ext <<_ACEOF
80130 /* end confdefs.h.  */
80131 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80132    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
80133 #define $ac_func innocuous_$ac_func
80134
80135 /* System header to define __stub macros and hopefully few prototypes,
80136     which can conflict with char $ac_func (); below.
80137     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80138     <limits.h> exists even on freestanding compilers.  */
80139
80140 #ifdef __STDC__
80141 # include <limits.h>
80142 #else
80143 # include <assert.h>
80144 #endif
80145
80146 #undef $ac_func
80147
80148 /* Override any GCC internal prototype to avoid an error.
80149    Use char because int might match the return type of a GCC
80150    builtin and then its argument prototype would still apply.  */
80151 #ifdef __cplusplus
80152 extern "C"
80153 #endif
80154 char $ac_func ();
80155 /* The GNU C library defines this for functions which it implements
80156     to always fail with ENOSYS.  Some functions are actually named
80157     something starting with __ and the normal name is an alias.  */
80158 #if defined __stub_$ac_func || defined __stub___$ac_func
80159 choke me
80160 #endif
80161
80162 int
80163 main ()
80164 {
80165 return $ac_func ();
80166   ;
80167   return 0;
80168 }
80169 _ACEOF
80170 rm -f conftest.$ac_objext conftest$ac_exeext
80171 if { (ac_try="$ac_link"
80172 case "(($ac_try" in
80173   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
80174   *) ac_try_echo=$ac_try;;
80175 esac
80176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
80177   (eval "$ac_link") 2>conftest.er1
80178   ac_status=$?
80179   grep -v '^ *+' conftest.er1 >conftest.err
80180   rm -f conftest.er1
80181   cat conftest.err >&5
80182   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80183   (exit $ac_status); } && {
80184          test -z "$ac_c_werror_flag" ||
80185          test ! -s conftest.err
80186        } && test -s conftest$ac_exeext &&
80187        $as_test_x conftest$ac_exeext; then
80188   eval "$as_ac_var=yes"
80189 else
80190   echo "$as_me: failed program was:" >&5
80191 sed 's/^/| /' conftest.$ac_ext >&5
80192
80193         eval "$as_ac_var=no"
80194 fi
80195
80196 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
80197       conftest$ac_exeext conftest.$ac_ext
80198 fi
80199 ac_res=`eval echo '${'$as_ac_var'}'`
80200                { echo "$as_me:$LINENO: result: $ac_res" >&5
80201 echo "${ECHO_T}$ac_res" >&6; }
80202 if test `eval echo '${'$as_ac_var'}'` = yes; then
80203   cat >>confdefs.h <<_ACEOF
80204 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80205 _ACEOF
80206
80207 else
80208   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
80209 fi
80210 done
80211
80212
80213           if test x$ac_cv_func_copysignl = x"yes"; then
80214
80215 for ac_func in __signbitl
80216 do
80217 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80218 { echo "$as_me:$LINENO: checking for $ac_func" >&5
80219 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
80220 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
80221   echo $ECHO_N "(cached) $ECHO_C" >&6
80222 else
80223   if test x$gcc_no_link = xyes; then
80224   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80225 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80226    { (exit 1); exit 1; }; }
80227 fi
80228 cat >conftest.$ac_ext <<_ACEOF
80229 /* confdefs.h.  */
80230 _ACEOF
80231 cat confdefs.h >>conftest.$ac_ext
80232 cat >>conftest.$ac_ext <<_ACEOF
80233 /* end confdefs.h.  */
80234 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80235    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
80236 #define $ac_func innocuous_$ac_func
80237
80238 /* System header to define __stub macros and hopefully few prototypes,
80239     which can conflict with char $ac_func (); below.
80240     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80241     <limits.h> exists even on freestanding compilers.  */
80242
80243 #ifdef __STDC__
80244 # include <limits.h>
80245 #else
80246 # include <assert.h>
80247 #endif
80248
80249 #undef $ac_func
80250
80251 /* Override any GCC internal prototype to avoid an error.
80252    Use char because int might match the return type of a GCC
80253    builtin and then its argument prototype would still apply.  */
80254 #ifdef __cplusplus
80255 extern "C"
80256 #endif
80257 char $ac_func ();
80258 /* The GNU C library defines this for functions which it implements
80259     to always fail with ENOSYS.  Some functions are actually named
80260     something starting with __ and the normal name is an alias.  */
80261 #if defined __stub_$ac_func || defined __stub___$ac_func
80262 choke me
80263 #endif
80264
80265 int
80266 main ()
80267 {
80268 return $ac_func ();
80269   ;
80270   return 0;
80271 }
80272 _ACEOF
80273 rm -f conftest.$ac_objext conftest$ac_exeext
80274 if { (ac_try="$ac_link"
80275 case "(($ac_try" in
80276   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
80277   *) ac_try_echo=$ac_try;;
80278 esac
80279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
80280   (eval "$ac_link") 2>conftest.er1
80281   ac_status=$?
80282   grep -v '^ *+' conftest.er1 >conftest.err
80283   rm -f conftest.er1
80284   cat conftest.err >&5
80285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80286   (exit $ac_status); } && {
80287          test -z "$ac_c_werror_flag" ||
80288          test ! -s conftest.err
80289        } && test -s conftest$ac_exeext &&
80290        $as_test_x conftest$ac_exeext; then
80291   eval "$as_ac_var=yes"
80292 else
80293   echo "$as_me: failed program was:" >&5
80294 sed 's/^/| /' conftest.$ac_ext >&5
80295
80296         eval "$as_ac_var=no"
80297 fi
80298
80299 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
80300       conftest$ac_exeext conftest.$ac_ext
80301 fi
80302 ac_res=`eval echo '${'$as_ac_var'}'`
80303                { echo "$as_me:$LINENO: result: $ac_res" >&5
80304 echo "${ECHO_T}$ac_res" >&6; }
80305 if test `eval echo '${'$as_ac_var'}'` = yes; then
80306   cat >>confdefs.h <<_ACEOF
80307 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80308 _ACEOF
80309
80310 else
80311   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
80312 fi
80313 done
80314
80315   fi
80316
80317   # Used in libmath/Makefile.am.
80318   if test -n "$LIBMATHOBJS"; then
80319     need_libmath=yes
80320   fi
80321
80322
80323
80324   ac_test_CXXFLAGS="${CXXFLAGS+set}"
80325   ac_save_CXXFLAGS="$CXXFLAGS"
80326   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
80327
80328
80329   { echo "$as_me:$LINENO: checking for strtold declaration" >&5
80330 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6; }
80331   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
80332     if test "${glibcxx_cv_func_strtold_use+set}" = set; then
80333   echo $ECHO_N "(cached) $ECHO_C" >&6
80334 else
80335
80336
80337       ac_ext=cpp
80338 ac_cpp='$CXXCPP $CPPFLAGS'
80339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80342
80343       cat >conftest.$ac_ext <<_ACEOF
80344 /* confdefs.h.  */
80345 _ACEOF
80346 cat confdefs.h >>conftest.$ac_ext
80347 cat >>conftest.$ac_ext <<_ACEOF
80348 /* end confdefs.h.  */
80349 #include <stdlib.h>
80350 int
80351 main ()
80352 {
80353  strtold(0, 0);
80354   ;
80355   return 0;
80356 }
80357 _ACEOF
80358 rm -f conftest.$ac_objext
80359 if { (ac_try="$ac_compile"
80360 case "(($ac_try" in
80361   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
80362   *) ac_try_echo=$ac_try;;
80363 esac
80364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
80365   (eval "$ac_compile") 2>conftest.er1
80366   ac_status=$?
80367   grep -v '^ *+' conftest.er1 >conftest.err
80368   rm -f conftest.er1
80369   cat conftest.err >&5
80370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80371   (exit $ac_status); } && {
80372          test -z "$ac_cxx_werror_flag" ||
80373          test ! -s conftest.err
80374        } && test -s conftest.$ac_objext; then
80375   glibcxx_cv_func_strtold_use=yes
80376 else
80377   echo "$as_me: failed program was:" >&5
80378 sed 's/^/| /' conftest.$ac_ext >&5
80379
80380         glibcxx_cv_func_strtold_use=no
80381 fi
80382
80383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80384       ac_ext=c
80385 ac_cpp='$CPP $CPPFLAGS'
80386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80389
80390
80391 fi
80392
80393   fi
80394   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
80395 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6; }
80396   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
80397
80398 for ac_func in strtold
80399 do
80400 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80401 { echo "$as_me:$LINENO: checking for $ac_func" >&5
80402 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
80403 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
80404   echo $ECHO_N "(cached) $ECHO_C" >&6
80405 else
80406   if test x$gcc_no_link = xyes; then
80407   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80408 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80409    { (exit 1); exit 1; }; }
80410 fi
80411 cat >conftest.$ac_ext <<_ACEOF
80412 /* confdefs.h.  */
80413 _ACEOF
80414 cat confdefs.h >>conftest.$ac_ext
80415 cat >>conftest.$ac_ext <<_ACEOF
80416 /* end confdefs.h.  */
80417 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80418    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
80419 #define $ac_func innocuous_$ac_func
80420
80421 /* System header to define __stub macros and hopefully few prototypes,
80422     which can conflict with char $ac_func (); below.
80423     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80424     <limits.h> exists even on freestanding compilers.  */
80425
80426 #ifdef __STDC__
80427 # include <limits.h>
80428 #else
80429 # include <assert.h>
80430 #endif
80431
80432 #undef $ac_func
80433
80434 /* Override any GCC internal prototype to avoid an error.
80435    Use char because int might match the return type of a GCC
80436    builtin and then its argument prototype would still apply.  */
80437 #ifdef __cplusplus
80438 extern "C"
80439 #endif
80440 char $ac_func ();
80441 /* The GNU C library defines this for functions which it implements
80442     to always fail with ENOSYS.  Some functions are actually named
80443     something starting with __ and the normal name is an alias.  */
80444 #if defined __stub_$ac_func || defined __stub___$ac_func
80445 choke me
80446 #endif
80447
80448 int
80449 main ()
80450 {
80451 return $ac_func ();
80452   ;
80453   return 0;
80454 }
80455 _ACEOF
80456 rm -f conftest.$ac_objext conftest$ac_exeext
80457 if { (ac_try="$ac_link"
80458 case "(($ac_try" in
80459   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
80460   *) ac_try_echo=$ac_try;;
80461 esac
80462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
80463   (eval "$ac_link") 2>conftest.er1
80464   ac_status=$?
80465   grep -v '^ *+' conftest.er1 >conftest.err
80466   rm -f conftest.er1
80467   cat conftest.err >&5
80468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80469   (exit $ac_status); } && {
80470          test -z "$ac_c_werror_flag" ||
80471          test ! -s conftest.err
80472        } && test -s conftest$ac_exeext &&
80473        $as_test_x conftest$ac_exeext; then
80474   eval "$as_ac_var=yes"
80475 else
80476   echo "$as_me: failed program was:" >&5
80477 sed 's/^/| /' conftest.$ac_ext >&5
80478
80479         eval "$as_ac_var=no"
80480 fi
80481
80482 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
80483       conftest$ac_exeext conftest.$ac_ext
80484 fi
80485 ac_res=`eval echo '${'$as_ac_var'}'`
80486                { echo "$as_me:$LINENO: result: $ac_res" >&5
80487 echo "${ECHO_T}$ac_res" >&6; }
80488 if test `eval echo '${'$as_ac_var'}'` = yes; then
80489   cat >>confdefs.h <<_ACEOF
80490 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80491 _ACEOF
80492
80493 fi
80494 done
80495
80496   fi
80497
80498
80499
80500
80501
80502   { echo "$as_me:$LINENO: checking for strtof declaration" >&5
80503 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6; }
80504   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
80505     if test "${glibcxx_cv_func_strtof_use+set}" = set; then
80506   echo $ECHO_N "(cached) $ECHO_C" >&6
80507 else
80508
80509
80510       ac_ext=cpp
80511 ac_cpp='$CXXCPP $CPPFLAGS'
80512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80515
80516       cat >conftest.$ac_ext <<_ACEOF
80517 /* confdefs.h.  */
80518 _ACEOF
80519 cat confdefs.h >>conftest.$ac_ext
80520 cat >>conftest.$ac_ext <<_ACEOF
80521 /* end confdefs.h.  */
80522 #include <stdlib.h>
80523 int
80524 main ()
80525 {
80526  strtof(0, 0);
80527   ;
80528   return 0;
80529 }
80530 _ACEOF
80531 rm -f conftest.$ac_objext
80532 if { (ac_try="$ac_compile"
80533 case "(($ac_try" in
80534   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
80535   *) ac_try_echo=$ac_try;;
80536 esac
80537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
80538   (eval "$ac_compile") 2>conftest.er1
80539   ac_status=$?
80540   grep -v '^ *+' conftest.er1 >conftest.err
80541   rm -f conftest.er1
80542   cat conftest.err >&5
80543   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80544   (exit $ac_status); } && {
80545          test -z "$ac_cxx_werror_flag" ||
80546          test ! -s conftest.err
80547        } && test -s conftest.$ac_objext; then
80548   glibcxx_cv_func_strtof_use=yes
80549 else
80550   echo "$as_me: failed program was:" >&5
80551 sed 's/^/| /' conftest.$ac_ext >&5
80552
80553         glibcxx_cv_func_strtof_use=no
80554 fi
80555
80556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80557       ac_ext=c
80558 ac_cpp='$CPP $CPPFLAGS'
80559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80562
80563
80564 fi
80565
80566   fi
80567   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
80568 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6; }
80569   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
80570
80571 for ac_func in strtof
80572 do
80573 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80574 { echo "$as_me:$LINENO: checking for $ac_func" >&5
80575 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
80576 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
80577   echo $ECHO_N "(cached) $ECHO_C" >&6
80578 else
80579   if test x$gcc_no_link = xyes; then
80580   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80581 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80582    { (exit 1); exit 1; }; }
80583 fi
80584 cat >conftest.$ac_ext <<_ACEOF
80585 /* confdefs.h.  */
80586 _ACEOF
80587 cat confdefs.h >>conftest.$ac_ext
80588 cat >>conftest.$ac_ext <<_ACEOF
80589 /* end confdefs.h.  */
80590 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80591    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
80592 #define $ac_func innocuous_$ac_func
80593
80594 /* System header to define __stub macros and hopefully few prototypes,
80595     which can conflict with char $ac_func (); below.
80596     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80597     <limits.h> exists even on freestanding compilers.  */
80598
80599 #ifdef __STDC__
80600 # include <limits.h>
80601 #else
80602 # include <assert.h>
80603 #endif
80604
80605 #undef $ac_func
80606
80607 /* Override any GCC internal prototype to avoid an error.
80608    Use char because int might match the return type of a GCC
80609    builtin and then its argument prototype would still apply.  */
80610 #ifdef __cplusplus
80611 extern "C"
80612 #endif
80613 char $ac_func ();
80614 /* The GNU C library defines this for functions which it implements
80615     to always fail with ENOSYS.  Some functions are actually named
80616     something starting with __ and the normal name is an alias.  */
80617 #if defined __stub_$ac_func || defined __stub___$ac_func
80618 choke me
80619 #endif
80620
80621 int
80622 main ()
80623 {
80624 return $ac_func ();
80625   ;
80626   return 0;
80627 }
80628 _ACEOF
80629 rm -f conftest.$ac_objext conftest$ac_exeext
80630 if { (ac_try="$ac_link"
80631 case "(($ac_try" in
80632   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
80633   *) ac_try_echo=$ac_try;;
80634 esac
80635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
80636   (eval "$ac_link") 2>conftest.er1
80637   ac_status=$?
80638   grep -v '^ *+' conftest.er1 >conftest.err
80639   rm -f conftest.er1
80640   cat conftest.err >&5
80641   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80642   (exit $ac_status); } && {
80643          test -z "$ac_c_werror_flag" ||
80644          test ! -s conftest.err
80645        } && test -s conftest$ac_exeext &&
80646        $as_test_x conftest$ac_exeext; then
80647   eval "$as_ac_var=yes"
80648 else
80649   echo "$as_me: failed program was:" >&5
80650 sed 's/^/| /' conftest.$ac_ext >&5
80651
80652         eval "$as_ac_var=no"
80653 fi
80654
80655 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
80656       conftest$ac_exeext conftest.$ac_ext
80657 fi
80658 ac_res=`eval echo '${'$as_ac_var'}'`
80659                { echo "$as_me:$LINENO: result: $ac_res" >&5
80660 echo "${ECHO_T}$ac_res" >&6; }
80661 if test `eval echo '${'$as_ac_var'}'` = yes; then
80662   cat >>confdefs.h <<_ACEOF
80663 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80664 _ACEOF
80665
80666 fi
80667 done
80668
80669   fi
80670
80671
80672
80673
80674
80675   CXXFLAGS="$ac_save_CXXFLAGS"
80676
80677
80678     # For showmanyc_helper().
80679
80680
80681 for ac_header in sys/ioctl.h sys/filio.h
80682 do
80683 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
80684 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
80685   { echo "$as_me:$LINENO: checking for $ac_header" >&5
80686 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
80687 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
80688   echo $ECHO_N "(cached) $ECHO_C" >&6
80689 fi
80690 ac_res=`eval echo '${'$as_ac_Header'}'`
80691                { echo "$as_me:$LINENO: result: $ac_res" >&5
80692 echo "${ECHO_T}$ac_res" >&6; }
80693 else
80694   # Is the header compilable?
80695 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
80696 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
80697 cat >conftest.$ac_ext <<_ACEOF
80698 /* confdefs.h.  */
80699 _ACEOF
80700 cat confdefs.h >>conftest.$ac_ext
80701 cat >>conftest.$ac_ext <<_ACEOF
80702 /* end confdefs.h.  */
80703 $ac_includes_default
80704 #include <$ac_header>
80705 _ACEOF
80706 rm -f conftest.$ac_objext
80707 if { (ac_try="$ac_compile"
80708 case "(($ac_try" in
80709   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
80710   *) ac_try_echo=$ac_try;;
80711 esac
80712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
80713   (eval "$ac_compile") 2>conftest.er1
80714   ac_status=$?
80715   grep -v '^ *+' conftest.er1 >conftest.err
80716   rm -f conftest.er1
80717   cat conftest.err >&5
80718   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80719   (exit $ac_status); } && {
80720          test -z "$ac_c_werror_flag" ||
80721          test ! -s conftest.err
80722        } && test -s conftest.$ac_objext; then
80723   ac_header_compiler=yes
80724 else
80725   echo "$as_me: failed program was:" >&5
80726 sed 's/^/| /' conftest.$ac_ext >&5
80727
80728         ac_header_compiler=no
80729 fi
80730
80731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80732 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
80733 echo "${ECHO_T}$ac_header_compiler" >&6; }
80734
80735 # Is the header present?
80736 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
80737 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
80738 cat >conftest.$ac_ext <<_ACEOF
80739 /* confdefs.h.  */
80740 _ACEOF
80741 cat confdefs.h >>conftest.$ac_ext
80742 cat >>conftest.$ac_ext <<_ACEOF
80743 /* end confdefs.h.  */
80744 #include <$ac_header>
80745 _ACEOF
80746 if { (ac_try="$ac_cpp conftest.$ac_ext"
80747 case "(($ac_try" in
80748   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
80749   *) ac_try_echo=$ac_try;;
80750 esac
80751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
80752   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
80753   ac_status=$?
80754   grep -v '^ *+' conftest.er1 >conftest.err
80755   rm -f conftest.er1
80756   cat conftest.err >&5
80757   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80758   (exit $ac_status); } >/dev/null && {
80759          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
80760          test ! -s conftest.err
80761        }; then
80762   ac_header_preproc=yes
80763 else
80764   echo "$as_me: failed program was:" >&5
80765 sed 's/^/| /' conftest.$ac_ext >&5
80766
80767   ac_header_preproc=no
80768 fi
80769
80770 rm -f conftest.err conftest.$ac_ext
80771 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
80772 echo "${ECHO_T}$ac_header_preproc" >&6; }
80773
80774 # So?  What about this header?
80775 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
80776   yes:no: )
80777     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
80778 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
80779     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
80780 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
80781     ac_header_preproc=yes
80782     ;;
80783   no:yes:* )
80784     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
80785 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
80786     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
80787 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
80788     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
80789 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
80790     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
80791 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
80792     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
80793 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
80794     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
80795 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
80796
80797     ;;
80798 esac
80799 { echo "$as_me:$LINENO: checking for $ac_header" >&5
80800 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
80801 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
80802   echo $ECHO_N "(cached) $ECHO_C" >&6
80803 else
80804   eval "$as_ac_Header=\$ac_header_preproc"
80805 fi
80806 ac_res=`eval echo '${'$as_ac_Header'}'`
80807                { echo "$as_me:$LINENO: result: $ac_res" >&5
80808 echo "${ECHO_T}$ac_res" >&6; }
80809
80810 fi
80811 if test `eval echo '${'$as_ac_Header'}'` = yes; then
80812   cat >>confdefs.h <<_ACEOF
80813 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
80814 _ACEOF
80815
80816 fi
80817
80818 done
80819
80820
80821   { echo "$as_me:$LINENO: checking for poll" >&5
80822 echo $ECHO_N "checking for poll... $ECHO_C" >&6; }
80823   if test "${glibcxx_cv_POLL+set}" = set; then
80824   echo $ECHO_N "(cached) $ECHO_C" >&6
80825 else
80826
80827     if test x$gcc_no_link = xyes; then
80828   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80829 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80830    { (exit 1); exit 1; }; }
80831 fi
80832 cat >conftest.$ac_ext <<_ACEOF
80833 /* confdefs.h.  */
80834 _ACEOF
80835 cat confdefs.h >>conftest.$ac_ext
80836 cat >>conftest.$ac_ext <<_ACEOF
80837 /* end confdefs.h.  */
80838 #include <poll.h>
80839 int
80840 main ()
80841 {
80842 struct pollfd pfd[1];
80843        pfd[0].events = POLLIN;
80844        poll(pfd, 1, 0);
80845   ;
80846   return 0;
80847 }
80848 _ACEOF
80849 rm -f conftest.$ac_objext conftest$ac_exeext
80850 if { (ac_try="$ac_link"
80851 case "(($ac_try" in
80852   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
80853   *) ac_try_echo=$ac_try;;
80854 esac
80855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
80856   (eval "$ac_link") 2>conftest.er1
80857   ac_status=$?
80858   grep -v '^ *+' conftest.er1 >conftest.err
80859   rm -f conftest.er1
80860   cat conftest.err >&5
80861   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80862   (exit $ac_status); } && {
80863          test -z "$ac_c_werror_flag" ||
80864          test ! -s conftest.err
80865        } && test -s conftest$ac_exeext &&
80866        $as_test_x conftest$ac_exeext; then
80867   glibcxx_cv_POLL=yes
80868 else
80869   echo "$as_me: failed program was:" >&5
80870 sed 's/^/| /' conftest.$ac_ext >&5
80871
80872         glibcxx_cv_POLL=no
80873 fi
80874
80875 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
80876       conftest$ac_exeext conftest.$ac_ext
80877
80878 fi
80879
80880   if test $glibcxx_cv_POLL = yes; then
80881
80882 cat >>confdefs.h <<\_ACEOF
80883 #define HAVE_POLL 1
80884 _ACEOF
80885
80886   fi
80887   { echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
80888 echo "${ECHO_T}$glibcxx_cv_POLL" >&6; }
80889
80890
80891   { echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
80892 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6; }
80893   if test "${glibcxx_cv_S_ISREG+set}" = set; then
80894   echo $ECHO_N "(cached) $ECHO_C" >&6
80895 else
80896
80897     if test x$gcc_no_link = xyes; then
80898   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80899 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80900    { (exit 1); exit 1; }; }
80901 fi
80902 cat >conftest.$ac_ext <<_ACEOF
80903 /* confdefs.h.  */
80904 _ACEOF
80905 cat confdefs.h >>conftest.$ac_ext
80906 cat >>conftest.$ac_ext <<_ACEOF
80907 /* end confdefs.h.  */
80908 #include <sys/stat.h>
80909 int
80910 main ()
80911 {
80912 struct stat buffer;
80913        fstat(0, &buffer);
80914        S_ISREG(buffer.st_mode);
80915   ;
80916   return 0;
80917 }
80918 _ACEOF
80919 rm -f conftest.$ac_objext conftest$ac_exeext
80920 if { (ac_try="$ac_link"
80921 case "(($ac_try" in
80922   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
80923   *) ac_try_echo=$ac_try;;
80924 esac
80925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
80926   (eval "$ac_link") 2>conftest.er1
80927   ac_status=$?
80928   grep -v '^ *+' conftest.er1 >conftest.err
80929   rm -f conftest.er1
80930   cat conftest.err >&5
80931   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80932   (exit $ac_status); } && {
80933          test -z "$ac_c_werror_flag" ||
80934          test ! -s conftest.err
80935        } && test -s conftest$ac_exeext &&
80936        $as_test_x conftest$ac_exeext; then
80937   glibcxx_cv_S_ISREG=yes
80938 else
80939   echo "$as_me: failed program was:" >&5
80940 sed 's/^/| /' conftest.$ac_ext >&5
80941
80942         glibcxx_cv_S_ISREG=no
80943 fi
80944
80945 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
80946       conftest$ac_exeext conftest.$ac_ext
80947
80948 fi
80949
80950   if test "${glibcxx_cv_S_IFREG+set}" = set; then
80951   echo $ECHO_N "(cached) $ECHO_C" >&6
80952 else
80953
80954     if test x$gcc_no_link = xyes; then
80955   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80956 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80957    { (exit 1); exit 1; }; }
80958 fi
80959 cat >conftest.$ac_ext <<_ACEOF
80960 /* confdefs.h.  */
80961 _ACEOF
80962 cat confdefs.h >>conftest.$ac_ext
80963 cat >>conftest.$ac_ext <<_ACEOF
80964 /* end confdefs.h.  */
80965 #include <sys/stat.h>
80966 int
80967 main ()
80968 {
80969 struct stat buffer;
80970        fstat(0, &buffer);
80971        S_IFREG & buffer.st_mode;
80972   ;
80973   return 0;
80974 }
80975 _ACEOF
80976 rm -f conftest.$ac_objext conftest$ac_exeext
80977 if { (ac_try="$ac_link"
80978 case "(($ac_try" in
80979   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
80980   *) ac_try_echo=$ac_try;;
80981 esac
80982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
80983   (eval "$ac_link") 2>conftest.er1
80984   ac_status=$?
80985   grep -v '^ *+' conftest.er1 >conftest.err
80986   rm -f conftest.er1
80987   cat conftest.err >&5
80988   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80989   (exit $ac_status); } && {
80990          test -z "$ac_c_werror_flag" ||
80991          test ! -s conftest.err
80992        } && test -s conftest$ac_exeext &&
80993        $as_test_x conftest$ac_exeext; then
80994   glibcxx_cv_S_IFREG=yes
80995 else
80996   echo "$as_me: failed program was:" >&5
80997 sed 's/^/| /' conftest.$ac_ext >&5
80998
80999         glibcxx_cv_S_IFREG=no
81000 fi
81001
81002 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
81003       conftest$ac_exeext conftest.$ac_ext
81004
81005 fi
81006
81007   res=no
81008   if test $glibcxx_cv_S_ISREG = yes; then
81009
81010 cat >>confdefs.h <<\_ACEOF
81011 #define HAVE_S_ISREG 1
81012 _ACEOF
81013
81014     res=S_ISREG
81015   elif test $glibcxx_cv_S_IFREG = yes; then
81016
81017 cat >>confdefs.h <<\_ACEOF
81018 #define HAVE_S_IFREG 1
81019 _ACEOF
81020
81021     res=S_IFREG
81022   fi
81023   { echo "$as_me:$LINENO: result: $res" >&5
81024 echo "${ECHO_T}$res" >&6; }
81025
81026
81027     # For xsputn_2().
81028
81029 for ac_header in sys/uio.h
81030 do
81031 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
81032 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
81033   { echo "$as_me:$LINENO: checking for $ac_header" >&5
81034 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
81035 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
81036   echo $ECHO_N "(cached) $ECHO_C" >&6
81037 fi
81038 ac_res=`eval echo '${'$as_ac_Header'}'`
81039                { echo "$as_me:$LINENO: result: $ac_res" >&5
81040 echo "${ECHO_T}$ac_res" >&6; }
81041 else
81042   # Is the header compilable?
81043 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
81044 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
81045 cat >conftest.$ac_ext <<_ACEOF
81046 /* confdefs.h.  */
81047 _ACEOF
81048 cat confdefs.h >>conftest.$ac_ext
81049 cat >>conftest.$ac_ext <<_ACEOF
81050 /* end confdefs.h.  */
81051 $ac_includes_default
81052 #include <$ac_header>
81053 _ACEOF
81054 rm -f conftest.$ac_objext
81055 if { (ac_try="$ac_compile"
81056 case "(($ac_try" in
81057   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
81058   *) ac_try_echo=$ac_try;;
81059 esac
81060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
81061   (eval "$ac_compile") 2>conftest.er1
81062   ac_status=$?
81063   grep -v '^ *+' conftest.er1 >conftest.err
81064   rm -f conftest.er1
81065   cat conftest.err >&5
81066   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81067   (exit $ac_status); } && {
81068          test -z "$ac_c_werror_flag" ||
81069          test ! -s conftest.err
81070        } && test -s conftest.$ac_objext; then
81071   ac_header_compiler=yes
81072 else
81073   echo "$as_me: failed program was:" >&5
81074 sed 's/^/| /' conftest.$ac_ext >&5
81075
81076         ac_header_compiler=no
81077 fi
81078
81079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
81080 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
81081 echo "${ECHO_T}$ac_header_compiler" >&6; }
81082
81083 # Is the header present?
81084 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
81085 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
81086 cat >conftest.$ac_ext <<_ACEOF
81087 /* confdefs.h.  */
81088 _ACEOF
81089 cat confdefs.h >>conftest.$ac_ext
81090 cat >>conftest.$ac_ext <<_ACEOF
81091 /* end confdefs.h.  */
81092 #include <$ac_header>
81093 _ACEOF
81094 if { (ac_try="$ac_cpp conftest.$ac_ext"
81095 case "(($ac_try" in
81096   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
81097   *) ac_try_echo=$ac_try;;
81098 esac
81099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
81100   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
81101   ac_status=$?
81102   grep -v '^ *+' conftest.er1 >conftest.err
81103   rm -f conftest.er1
81104   cat conftest.err >&5
81105   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81106   (exit $ac_status); } >/dev/null && {
81107          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
81108          test ! -s conftest.err
81109        }; then
81110   ac_header_preproc=yes
81111 else
81112   echo "$as_me: failed program was:" >&5
81113 sed 's/^/| /' conftest.$ac_ext >&5
81114
81115   ac_header_preproc=no
81116 fi
81117
81118 rm -f conftest.err conftest.$ac_ext
81119 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
81120 echo "${ECHO_T}$ac_header_preproc" >&6; }
81121
81122 # So?  What about this header?
81123 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
81124   yes:no: )
81125     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
81126 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
81127     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
81128 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
81129     ac_header_preproc=yes
81130     ;;
81131   no:yes:* )
81132     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
81133 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
81134     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
81135 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
81136     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
81137 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
81138     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
81139 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
81140     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
81141 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
81142     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
81143 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
81144
81145     ;;
81146 esac
81147 { echo "$as_me:$LINENO: checking for $ac_header" >&5
81148 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
81149 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
81150   echo $ECHO_N "(cached) $ECHO_C" >&6
81151 else
81152   eval "$as_ac_Header=\$ac_header_preproc"
81153 fi
81154 ac_res=`eval echo '${'$as_ac_Header'}'`
81155                { echo "$as_me:$LINENO: result: $ac_res" >&5
81156 echo "${ECHO_T}$ac_res" >&6; }
81157
81158 fi
81159 if test `eval echo '${'$as_ac_Header'}'` = yes; then
81160   cat >>confdefs.h <<_ACEOF
81161 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
81162 _ACEOF
81163
81164 fi
81165
81166 done
81167
81168
81169   { echo "$as_me:$LINENO: checking for writev" >&5
81170 echo $ECHO_N "checking for writev... $ECHO_C" >&6; }
81171   if test "${glibcxx_cv_WRITEV+set}" = set; then
81172   echo $ECHO_N "(cached) $ECHO_C" >&6
81173 else
81174
81175     if test x$gcc_no_link = xyes; then
81176   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81177 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81178    { (exit 1); exit 1; }; }
81179 fi
81180 cat >conftest.$ac_ext <<_ACEOF
81181 /* confdefs.h.  */
81182 _ACEOF
81183 cat confdefs.h >>conftest.$ac_ext
81184 cat >>conftest.$ac_ext <<_ACEOF
81185 /* end confdefs.h.  */
81186 #include <sys/uio.h>
81187 int
81188 main ()
81189 {
81190 struct iovec iov[2];
81191        writev(0, iov, 0);
81192   ;
81193   return 0;
81194 }
81195 _ACEOF
81196 rm -f conftest.$ac_objext conftest$ac_exeext
81197 if { (ac_try="$ac_link"
81198 case "(($ac_try" in
81199   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
81200   *) ac_try_echo=$ac_try;;
81201 esac
81202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
81203   (eval "$ac_link") 2>conftest.er1
81204   ac_status=$?
81205   grep -v '^ *+' conftest.er1 >conftest.err
81206   rm -f conftest.er1
81207   cat conftest.err >&5
81208   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81209   (exit $ac_status); } && {
81210          test -z "$ac_c_werror_flag" ||
81211          test ! -s conftest.err
81212        } && test -s conftest$ac_exeext &&
81213        $as_test_x conftest$ac_exeext; then
81214   glibcxx_cv_WRITEV=yes
81215 else
81216   echo "$as_me: failed program was:" >&5
81217 sed 's/^/| /' conftest.$ac_ext >&5
81218
81219         glibcxx_cv_WRITEV=no
81220 fi
81221
81222 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
81223       conftest$ac_exeext conftest.$ac_ext
81224
81225 fi
81226
81227   if test $glibcxx_cv_WRITEV = yes; then
81228
81229 cat >>confdefs.h <<\_ACEOF
81230 #define HAVE_WRITEV 1
81231 _ACEOF
81232
81233   fi
81234   { echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
81235 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6; }
81236
81237
81238     cat >>confdefs.h <<\_ACEOF
81239 #define HAVE_LC_MESSAGES 1
81240 _ACEOF
81241
81242
81243     cat >conftest.$ac_ext <<_ACEOF
81244 /* confdefs.h.  */
81245 _ACEOF
81246 cat confdefs.h >>conftest.$ac_ext
81247 cat >>conftest.$ac_ext <<_ACEOF
81248 /* end confdefs.h.  */
81249 #include <setjmp.h>
81250 int
81251 main ()
81252 {
81253 sigjmp_buf env;
81254        while (! sigsetjmp (env, 1))
81255          siglongjmp (env, 1);
81256
81257   ;
81258   return 0;
81259 }
81260 _ACEOF
81261 rm -f conftest.$ac_objext
81262 if { (ac_try="$ac_compile"
81263 case "(($ac_try" in
81264   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
81265   *) ac_try_echo=$ac_try;;
81266 esac
81267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
81268   (eval "$ac_compile") 2>conftest.er1
81269   ac_status=$?
81270   grep -v '^ *+' conftest.er1 >conftest.err
81271   rm -f conftest.er1
81272   cat conftest.err >&5
81273   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81274   (exit $ac_status); } && {
81275          test -z "$ac_c_werror_flag" ||
81276          test ! -s conftest.err
81277        } && test -s conftest.$ac_objext; then
81278
81279 cat >>confdefs.h <<\_ACEOF
81280 #define HAVE_SIGSETJMP 1
81281 _ACEOF
81282
81283 else
81284   echo "$as_me: failed program was:" >&5
81285 sed 's/^/| /' conftest.$ac_ext >&5
81286
81287
81288 fi
81289
81290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
81291
81292     cat >>confdefs.h <<\_ACEOF
81293 #define HAVE_MMAP 1
81294 _ACEOF
81295
81296     ;;
81297
81298   *djgpp)
81299
81300
81301
81302
81303
81304
81305
81306
81307
81308
81309
81310
81311
81312
81313
81314
81315
81316
81317
81318
81319 for ac_header in float.h ieeefp.h inttypes.h locale.h \
81320       memory.h stdint.h stdlib.h strings.h string.h unistd.h \
81321       wchar.h wctype.h machine/endian.h sys/ioctl.h sys/param.h \
81322       sys/resource.h sys/stat.h sys/time.h sys/types.h sys/uio.h
81323 do
81324 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
81325 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
81326   { echo "$as_me:$LINENO: checking for $ac_header" >&5
81327 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
81328 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
81329   echo $ECHO_N "(cached) $ECHO_C" >&6
81330 fi
81331 ac_res=`eval echo '${'$as_ac_Header'}'`
81332                { echo "$as_me:$LINENO: result: $ac_res" >&5
81333 echo "${ECHO_T}$ac_res" >&6; }
81334 else
81335   # Is the header compilable?
81336 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
81337 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
81338 cat >conftest.$ac_ext <<_ACEOF
81339 /* confdefs.h.  */
81340 _ACEOF
81341 cat confdefs.h >>conftest.$ac_ext
81342 cat >>conftest.$ac_ext <<_ACEOF
81343 /* end confdefs.h.  */
81344 $ac_includes_default
81345 #include <$ac_header>
81346 _ACEOF
81347 rm -f conftest.$ac_objext
81348 if { (ac_try="$ac_compile"
81349 case "(($ac_try" in
81350   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
81351   *) ac_try_echo=$ac_try;;
81352 esac
81353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
81354   (eval "$ac_compile") 2>conftest.er1
81355   ac_status=$?
81356   grep -v '^ *+' conftest.er1 >conftest.err
81357   rm -f conftest.er1
81358   cat conftest.err >&5
81359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81360   (exit $ac_status); } && {
81361          test -z "$ac_c_werror_flag" ||
81362          test ! -s conftest.err
81363        } && test -s conftest.$ac_objext; then
81364   ac_header_compiler=yes
81365 else
81366   echo "$as_me: failed program was:" >&5
81367 sed 's/^/| /' conftest.$ac_ext >&5
81368
81369         ac_header_compiler=no
81370 fi
81371
81372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
81373 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
81374 echo "${ECHO_T}$ac_header_compiler" >&6; }
81375
81376 # Is the header present?
81377 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
81378 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
81379 cat >conftest.$ac_ext <<_ACEOF
81380 /* confdefs.h.  */
81381 _ACEOF
81382 cat confdefs.h >>conftest.$ac_ext
81383 cat >>conftest.$ac_ext <<_ACEOF
81384 /* end confdefs.h.  */
81385 #include <$ac_header>
81386 _ACEOF
81387 if { (ac_try="$ac_cpp conftest.$ac_ext"
81388 case "(($ac_try" in
81389   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
81390   *) ac_try_echo=$ac_try;;
81391 esac
81392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
81393   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
81394   ac_status=$?
81395   grep -v '^ *+' conftest.er1 >conftest.err
81396   rm -f conftest.er1
81397   cat conftest.err >&5
81398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81399   (exit $ac_status); } >/dev/null && {
81400          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
81401          test ! -s conftest.err
81402        }; then
81403   ac_header_preproc=yes
81404 else
81405   echo "$as_me: failed program was:" >&5
81406 sed 's/^/| /' conftest.$ac_ext >&5
81407
81408   ac_header_preproc=no
81409 fi
81410
81411 rm -f conftest.err conftest.$ac_ext
81412 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
81413 echo "${ECHO_T}$ac_header_preproc" >&6; }
81414
81415 # So?  What about this header?
81416 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
81417   yes:no: )
81418     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
81419 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
81420     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
81421 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
81422     ac_header_preproc=yes
81423     ;;
81424   no:yes:* )
81425     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
81426 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
81427     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
81428 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
81429     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
81430 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
81431     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
81432 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
81433     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
81434 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
81435     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
81436 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
81437
81438     ;;
81439 esac
81440 { echo "$as_me:$LINENO: checking for $ac_header" >&5
81441 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
81442 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
81443   echo $ECHO_N "(cached) $ECHO_C" >&6
81444 else
81445   eval "$as_ac_Header=\$ac_header_preproc"
81446 fi
81447 ac_res=`eval echo '${'$as_ac_Header'}'`
81448                { echo "$as_me:$LINENO: result: $ac_res" >&5
81449 echo "${ECHO_T}$ac_res" >&6; }
81450
81451 fi
81452 if test `eval echo '${'$as_ac_Header'}'` = yes; then
81453   cat >>confdefs.h <<_ACEOF
81454 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
81455 _ACEOF
81456
81457 fi
81458
81459 done
81460
81461     # GLIBCXX_CHECK_MATH_SUPPORT
81462     cat >>confdefs.h <<\_ACEOF
81463 #define HAVE_LIBM 1
81464 _ACEOF
81465
81466     cat >>confdefs.h <<\_ACEOF
81467 #define HAVE_ISINF 1
81468 _ACEOF
81469
81470     cat >>confdefs.h <<\_ACEOF
81471 #define HAVE_ISNAN 1
81472 _ACEOF
81473
81474     cat >>confdefs.h <<\_ACEOF
81475 #define HAVE_FINITE 1
81476 _ACEOF
81477
81478     cat >>confdefs.h <<\_ACEOF
81479 #define HAVE_COPYSIGN 1
81480 _ACEOF
81481
81482     cat >>confdefs.h <<\_ACEOF
81483 #define HAVE_SINCOS 1
81484 _ACEOF
81485
81486     cat >>confdefs.h <<\_ACEOF
81487 #define HAVE_HYPOT 1
81488 _ACEOF
81489
81490     # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
81491     cat >>confdefs.h <<\_ACEOF
81492 #define HAVE___BUILTIN_ABS 1
81493 _ACEOF
81494
81495     cat >>confdefs.h <<\_ACEOF
81496 #define HAVE___BUILTIN_FABSF 1
81497 _ACEOF
81498
81499     cat >>confdefs.h <<\_ACEOF
81500 #define HAVE___BUILTIN_FABS 1
81501 _ACEOF
81502
81503     cat >>confdefs.h <<\_ACEOF
81504 #define HAVE___BUILTIN_FABSL 1
81505 _ACEOF
81506
81507     cat >>confdefs.h <<\_ACEOF
81508 #define HAVE___BUILTIN_LABS 1
81509 _ACEOF
81510
81511     cat >>confdefs.h <<\_ACEOF
81512 #define HAVE___BUILTIN_SQRTF 1
81513 _ACEOF
81514
81515     cat >>confdefs.h <<\_ACEOF
81516 #define HAVE___BUILTIN_SQRT 1
81517 _ACEOF
81518
81519     cat >>confdefs.h <<\_ACEOF
81520 #define HAVE___BUILTIN_SQRTL 1
81521 _ACEOF
81522
81523     cat >>confdefs.h <<\_ACEOF
81524 #define HAVE___BUILTIN_SINF 1
81525 _ACEOF
81526
81527     cat >>confdefs.h <<\_ACEOF
81528 #define HAVE___BUILTIN_SIN 1
81529 _ACEOF
81530
81531     cat >>confdefs.h <<\_ACEOF
81532 #define HAVE___BUILTIN_SINL 1
81533 _ACEOF
81534
81535     cat >>confdefs.h <<\_ACEOF
81536 #define HAVE___BUILTIN_COSF 1
81537 _ACEOF
81538
81539     cat >>confdefs.h <<\_ACEOF
81540 #define HAVE___BUILTIN_COS 1
81541 _ACEOF
81542
81543     cat >>confdefs.h <<\_ACEOF
81544 #define HAVE___BUILTIN_COSL 1
81545 _ACEOF
81546
81547     # GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT
81548     # GLIBCXX_CHECK_STDLIB_SUPPORT
81549     cat >>confdefs.h <<\_ACEOF
81550 #define HAVE_COPYSIGN 1
81551 _ACEOF
81552
81553     cat >>confdefs.h <<\_ACEOF
81554 #define HAVE_COPYSIGNF 1
81555 _ACEOF
81556
81557     # GLIBCXX_CHECK_S_ISREG_OR_S_IFREG
81558     cat >>confdefs.h <<\_ACEOF
81559 #define HAVE_S_ISREG 1
81560 _ACEOF
81561
81562     cat >>confdefs.h <<\_ACEOF
81563 #define HAVE_S_IFREG 1
81564 _ACEOF
81565
81566     cat >>confdefs.h <<\_ACEOF
81567 #define HAVE_WRITEV 1
81568 _ACEOF
81569
81570     ;;
81571
81572   *-freebsd*)
81573
81574
81575
81576
81577
81578
81579
81580
81581
81582
81583
81584
81585
81586
81587
81588
81589 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
81590       machine/endian.h machine/param.h sys/machine.h sys/types.h \
81591       fp.h locale.h float.h inttypes.h sys/resource.h sys/stat.h \
81592       sys/time.h unistd.h
81593 do
81594 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
81595 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
81596   { echo "$as_me:$LINENO: checking for $ac_header" >&5
81597 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
81598 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
81599   echo $ECHO_N "(cached) $ECHO_C" >&6
81600 fi
81601 ac_res=`eval echo '${'$as_ac_Header'}'`
81602                { echo "$as_me:$LINENO: result: $ac_res" >&5
81603 echo "${ECHO_T}$ac_res" >&6; }
81604 else
81605   # Is the header compilable?
81606 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
81607 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
81608 cat >conftest.$ac_ext <<_ACEOF
81609 /* confdefs.h.  */
81610 _ACEOF
81611 cat confdefs.h >>conftest.$ac_ext
81612 cat >>conftest.$ac_ext <<_ACEOF
81613 /* end confdefs.h.  */
81614 $ac_includes_default
81615 #include <$ac_header>
81616 _ACEOF
81617 rm -f conftest.$ac_objext
81618 if { (ac_try="$ac_compile"
81619 case "(($ac_try" in
81620   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
81621   *) ac_try_echo=$ac_try;;
81622 esac
81623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
81624   (eval "$ac_compile") 2>conftest.er1
81625   ac_status=$?
81626   grep -v '^ *+' conftest.er1 >conftest.err
81627   rm -f conftest.er1
81628   cat conftest.err >&5
81629   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81630   (exit $ac_status); } && {
81631          test -z "$ac_c_werror_flag" ||
81632          test ! -s conftest.err
81633        } && test -s conftest.$ac_objext; then
81634   ac_header_compiler=yes
81635 else
81636   echo "$as_me: failed program was:" >&5
81637 sed 's/^/| /' conftest.$ac_ext >&5
81638
81639         ac_header_compiler=no
81640 fi
81641
81642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
81643 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
81644 echo "${ECHO_T}$ac_header_compiler" >&6; }
81645
81646 # Is the header present?
81647 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
81648 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
81649 cat >conftest.$ac_ext <<_ACEOF
81650 /* confdefs.h.  */
81651 _ACEOF
81652 cat confdefs.h >>conftest.$ac_ext
81653 cat >>conftest.$ac_ext <<_ACEOF
81654 /* end confdefs.h.  */
81655 #include <$ac_header>
81656 _ACEOF
81657 if { (ac_try="$ac_cpp conftest.$ac_ext"
81658 case "(($ac_try" in
81659   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
81660   *) ac_try_echo=$ac_try;;
81661 esac
81662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
81663   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
81664   ac_status=$?
81665   grep -v '^ *+' conftest.er1 >conftest.err
81666   rm -f conftest.er1
81667   cat conftest.err >&5
81668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81669   (exit $ac_status); } >/dev/null && {
81670          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
81671          test ! -s conftest.err
81672        }; then
81673   ac_header_preproc=yes
81674 else
81675   echo "$as_me: failed program was:" >&5
81676 sed 's/^/| /' conftest.$ac_ext >&5
81677
81678   ac_header_preproc=no
81679 fi
81680
81681 rm -f conftest.err conftest.$ac_ext
81682 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
81683 echo "${ECHO_T}$ac_header_preproc" >&6; }
81684
81685 # So?  What about this header?
81686 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
81687   yes:no: )
81688     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
81689 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
81690     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
81691 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
81692     ac_header_preproc=yes
81693     ;;
81694   no:yes:* )
81695     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
81696 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
81697     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
81698 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
81699     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
81700 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
81701     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
81702 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
81703     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
81704 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
81705     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
81706 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
81707
81708     ;;
81709 esac
81710 { echo "$as_me:$LINENO: checking for $ac_header" >&5
81711 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
81712 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
81713   echo $ECHO_N "(cached) $ECHO_C" >&6
81714 else
81715   eval "$as_ac_Header=\$ac_header_preproc"
81716 fi
81717 ac_res=`eval echo '${'$as_ac_Header'}'`
81718                { echo "$as_me:$LINENO: result: $ac_res" >&5
81719 echo "${ECHO_T}$ac_res" >&6; }
81720
81721 fi
81722 if test `eval echo '${'$as_ac_Header'}'` = yes; then
81723   cat >>confdefs.h <<_ACEOF
81724 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
81725 _ACEOF
81726
81727 fi
81728
81729 done
81730
81731     SECTION_FLAGS='-ffunction-sections -fdata-sections'
81732
81733
81734   # If we're not using GNU ld, then there's no point in even trying these
81735   # tests.  Check for that first.  We should have already tested for gld
81736   # by now (in libtool), but require it now just to be safe...
81737   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
81738   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
81739
81740
81741
81742   # The name set by libtool depends on the version of libtool.  Shame on us
81743   # for depending on an impl detail, but c'est la vie.  Older versions used
81744   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
81745   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
81746   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
81747   # set (hence we're using an older libtool), then set it.
81748   if test x${with_gnu_ld+set} != xset; then
81749     if test x${ac_cv_prog_gnu_ld+set} != xset; then
81750       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
81751       with_gnu_ld=no
81752     else
81753       with_gnu_ld=$ac_cv_prog_gnu_ld
81754     fi
81755   fi
81756
81757   # Start by getting the version number.  I think the libtool test already
81758   # does some of this, but throws away the result.
81759   if test x"$with_gnu_ld" = x"yes"; then
81760     { echo "$as_me:$LINENO: checking for ld version" >&5
81761 echo $ECHO_N "checking for ld version... $ECHO_C" >&6; }
81762
81763     ldver=`$LD --version 2>/dev/null | head -1 | \
81764            sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
81765
81766     glibcxx_gnu_ld_version=`echo $ldver | \
81767            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
81768     { echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
81769 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6; }
81770   fi
81771
81772   # Set --gc-sections.
81773   glibcxx_gcsections_min_ld=21602
81774   if test x"$with_gnu_ld" = x"yes" &&
81775         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
81776
81777     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
81778     # NB: This flag only works reliably after 2.16.1. Configure tests
81779     # for this are difficult, so hard wire a value that should work.
81780
81781     ac_test_CFLAGS="${CFLAGS+set}"
81782     ac_save_CFLAGS="$CFLAGS"
81783     CFLAGS='-Wl,--gc-sections'
81784
81785     # Check for -Wl,--gc-sections
81786     { echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
81787 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6; }
81788     if test x$gcc_no_link = xyes; then
81789   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81790 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81791    { (exit 1); exit 1; }; }
81792 fi
81793 cat >conftest.$ac_ext <<_ACEOF
81794 /* confdefs.h.  */
81795 _ACEOF
81796 cat confdefs.h >>conftest.$ac_ext
81797 cat >>conftest.$ac_ext <<_ACEOF
81798 /* end confdefs.h.  */
81799  int one(void) { return 1; }
81800      int two(void) { return 2; }
81801
81802 int
81803 main ()
81804 {
81805  two();
81806   ;
81807   return 0;
81808 }
81809 _ACEOF
81810 rm -f conftest.$ac_objext conftest$ac_exeext
81811 if { (ac_try="$ac_link"
81812 case "(($ac_try" in
81813   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
81814   *) ac_try_echo=$ac_try;;
81815 esac
81816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
81817   (eval "$ac_link") 2>conftest.er1
81818   ac_status=$?
81819   grep -v '^ *+' conftest.er1 >conftest.err
81820   rm -f conftest.er1
81821   cat conftest.err >&5
81822   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81823   (exit $ac_status); } && {
81824          test -z "$ac_c_werror_flag" ||
81825          test ! -s conftest.err
81826        } && test -s conftest$ac_exeext &&
81827        $as_test_x conftest$ac_exeext; then
81828   ac_gcsections=yes
81829 else
81830   echo "$as_me: failed program was:" >&5
81831 sed 's/^/| /' conftest.$ac_ext >&5
81832
81833         ac_gcsections=no
81834 fi
81835
81836 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
81837       conftest$ac_exeext conftest.$ac_ext
81838     if test "$ac_gcsections" = "yes"; then
81839       rm -f conftest.c
81840       touch conftest.c
81841       if $CC -c conftest.c; then
81842         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
81843            grep "Warning: gc-sections option ignored" > /dev/null; then
81844           ac_gcsections=no
81845         fi
81846       fi
81847       rm -f conftest.c conftest.o conftest
81848     fi
81849     if test "$ac_gcsections" = "yes"; then
81850       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
81851     fi
81852     { echo "$as_me:$LINENO: result: $ac_gcsections" >&5
81853 echo "${ECHO_T}$ac_gcsections" >&6; }
81854
81855     if test "$ac_test_CFLAGS" = set; then
81856       CFLAGS="$ac_save_CFLAGS"
81857     else
81858       # this is the suspicious part
81859       CFLAGS=''
81860     fi
81861   fi
81862
81863   # Set -z,relro.
81864   # Note this is only for shared objects.
81865   ac_ld_relro=no
81866   if test x"$with_gnu_ld" = x"yes"; then
81867     { echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
81868 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6; }
81869     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
81870     if test -n "$cxx_z_relo"; then
81871       OPT_LDFLAGS="-Wl,-z,relro"
81872       ac_ld_relro=yes
81873     fi
81874     { echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
81875 echo "${ECHO_T}$ac_ld_relro" >&6; }
81876   fi
81877
81878   # Set linker optimization flags.
81879   if test x"$with_gnu_ld" = x"yes"; then
81880     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
81881   fi
81882
81883
81884
81885
81886
81887
81888 { echo "$as_me:$LINENO: checking for main in -lm" >&5
81889 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6; }
81890 if test "${ac_cv_lib_m_main+set}" = set; then
81891   echo $ECHO_N "(cached) $ECHO_C" >&6
81892 else
81893   ac_check_lib_save_LIBS=$LIBS
81894 LIBS="-lm  $LIBS"
81895 if test x$gcc_no_link = xyes; then
81896   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81897 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81898    { (exit 1); exit 1; }; }
81899 fi
81900 cat >conftest.$ac_ext <<_ACEOF
81901 /* confdefs.h.  */
81902 _ACEOF
81903 cat confdefs.h >>conftest.$ac_ext
81904 cat >>conftest.$ac_ext <<_ACEOF
81905 /* end confdefs.h.  */
81906
81907
81908 int
81909 main ()
81910 {
81911 return main ();
81912   ;
81913   return 0;
81914 }
81915 _ACEOF
81916 rm -f conftest.$ac_objext conftest$ac_exeext
81917 if { (ac_try="$ac_link"
81918 case "(($ac_try" in
81919   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
81920   *) ac_try_echo=$ac_try;;
81921 esac
81922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
81923   (eval "$ac_link") 2>conftest.er1
81924   ac_status=$?
81925   grep -v '^ *+' conftest.er1 >conftest.err
81926   rm -f conftest.er1
81927   cat conftest.err >&5
81928   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81929   (exit $ac_status); } && {
81930          test -z "$ac_c_werror_flag" ||
81931          test ! -s conftest.err
81932        } && test -s conftest$ac_exeext &&
81933        $as_test_x conftest$ac_exeext; then
81934   ac_cv_lib_m_main=yes
81935 else
81936   echo "$as_me: failed program was:" >&5
81937 sed 's/^/| /' conftest.$ac_ext >&5
81938
81939         ac_cv_lib_m_main=no
81940 fi
81941
81942 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
81943       conftest$ac_exeext conftest.$ac_ext
81944 LIBS=$ac_check_lib_save_LIBS
81945 fi
81946 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
81947 echo "${ECHO_T}$ac_cv_lib_m_main" >&6; }
81948 if test $ac_cv_lib_m_main = yes; then
81949   cat >>confdefs.h <<_ACEOF
81950 #define HAVE_LIBM 1
81951 _ACEOF
81952
81953   LIBS="-lm $LIBS"
81954
81955 fi
81956
81957
81958 for ac_func in copysignf
81959 do
81960 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81961 { echo "$as_me:$LINENO: checking for $ac_func" >&5
81962 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
81963 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
81964   echo $ECHO_N "(cached) $ECHO_C" >&6
81965 else
81966   if test x$gcc_no_link = xyes; then
81967   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81968 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81969    { (exit 1); exit 1; }; }
81970 fi
81971 cat >conftest.$ac_ext <<_ACEOF
81972 /* confdefs.h.  */
81973 _ACEOF
81974 cat confdefs.h >>conftest.$ac_ext
81975 cat >>conftest.$ac_ext <<_ACEOF
81976 /* end confdefs.h.  */
81977 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81978    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
81979 #define $ac_func innocuous_$ac_func
81980
81981 /* System header to define __stub macros and hopefully few prototypes,
81982     which can conflict with char $ac_func (); below.
81983     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81984     <limits.h> exists even on freestanding compilers.  */
81985
81986 #ifdef __STDC__
81987 # include <limits.h>
81988 #else
81989 # include <assert.h>
81990 #endif
81991
81992 #undef $ac_func
81993
81994 /* Override any GCC internal prototype to avoid an error.
81995    Use char because int might match the return type of a GCC
81996    builtin and then its argument prototype would still apply.  */
81997 #ifdef __cplusplus
81998 extern "C"
81999 #endif
82000 char $ac_func ();
82001 /* The GNU C library defines this for functions which it implements
82002     to always fail with ENOSYS.  Some functions are actually named
82003     something starting with __ and the normal name is an alias.  */
82004 #if defined __stub_$ac_func || defined __stub___$ac_func
82005 choke me
82006 #endif
82007
82008 int
82009 main ()
82010 {
82011 return $ac_func ();
82012   ;
82013   return 0;
82014 }
82015 _ACEOF
82016 rm -f conftest.$ac_objext conftest$ac_exeext
82017 if { (ac_try="$ac_link"
82018 case "(($ac_try" in
82019   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
82020   *) ac_try_echo=$ac_try;;
82021 esac
82022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
82023   (eval "$ac_link") 2>conftest.er1
82024   ac_status=$?
82025   grep -v '^ *+' conftest.er1 >conftest.err
82026   rm -f conftest.er1
82027   cat conftest.err >&5
82028   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82029   (exit $ac_status); } && {
82030          test -z "$ac_c_werror_flag" ||
82031          test ! -s conftest.err
82032        } && test -s conftest$ac_exeext &&
82033        $as_test_x conftest$ac_exeext; then
82034   eval "$as_ac_var=yes"
82035 else
82036   echo "$as_me: failed program was:" >&5
82037 sed 's/^/| /' conftest.$ac_ext >&5
82038
82039         eval "$as_ac_var=no"
82040 fi
82041
82042 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
82043       conftest$ac_exeext conftest.$ac_ext
82044 fi
82045 ac_res=`eval echo '${'$as_ac_var'}'`
82046                { echo "$as_me:$LINENO: result: $ac_res" >&5
82047 echo "${ECHO_T}$ac_res" >&6; }
82048 if test `eval echo '${'$as_ac_var'}'` = yes; then
82049   cat >>confdefs.h <<_ACEOF
82050 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82051 _ACEOF
82052
82053 else
82054   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
82055 fi
82056 done
82057
82058
82059
82060 for ac_func in __signbit
82061 do
82062 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82063 { echo "$as_me:$LINENO: checking for $ac_func" >&5
82064 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
82065 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
82066   echo $ECHO_N "(cached) $ECHO_C" >&6
82067 else
82068   if test x$gcc_no_link = xyes; then
82069   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82070 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82071    { (exit 1); exit 1; }; }
82072 fi
82073 cat >conftest.$ac_ext <<_ACEOF
82074 /* confdefs.h.  */
82075 _ACEOF
82076 cat confdefs.h >>conftest.$ac_ext
82077 cat >>conftest.$ac_ext <<_ACEOF
82078 /* end confdefs.h.  */
82079 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82080    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
82081 #define $ac_func innocuous_$ac_func
82082
82083 /* System header to define __stub macros and hopefully few prototypes,
82084     which can conflict with char $ac_func (); below.
82085     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82086     <limits.h> exists even on freestanding compilers.  */
82087
82088 #ifdef __STDC__
82089 # include <limits.h>
82090 #else
82091 # include <assert.h>
82092 #endif
82093
82094 #undef $ac_func
82095
82096 /* Override any GCC internal prototype to avoid an error.
82097    Use char because int might match the return type of a GCC
82098    builtin and then its argument prototype would still apply.  */
82099 #ifdef __cplusplus
82100 extern "C"
82101 #endif
82102 char $ac_func ();
82103 /* The GNU C library defines this for functions which it implements
82104     to always fail with ENOSYS.  Some functions are actually named
82105     something starting with __ and the normal name is an alias.  */
82106 #if defined __stub_$ac_func || defined __stub___$ac_func
82107 choke me
82108 #endif
82109
82110 int
82111 main ()
82112 {
82113 return $ac_func ();
82114   ;
82115   return 0;
82116 }
82117 _ACEOF
82118 rm -f conftest.$ac_objext conftest$ac_exeext
82119 if { (ac_try="$ac_link"
82120 case "(($ac_try" in
82121   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
82122   *) ac_try_echo=$ac_try;;
82123 esac
82124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
82125   (eval "$ac_link") 2>conftest.er1
82126   ac_status=$?
82127   grep -v '^ *+' conftest.er1 >conftest.err
82128   rm -f conftest.er1
82129   cat conftest.err >&5
82130   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82131   (exit $ac_status); } && {
82132          test -z "$ac_c_werror_flag" ||
82133          test ! -s conftest.err
82134        } && test -s conftest$ac_exeext &&
82135        $as_test_x conftest$ac_exeext; then
82136   eval "$as_ac_var=yes"
82137 else
82138   echo "$as_me: failed program was:" >&5
82139 sed 's/^/| /' conftest.$ac_ext >&5
82140
82141         eval "$as_ac_var=no"
82142 fi
82143
82144 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
82145       conftest$ac_exeext conftest.$ac_ext
82146 fi
82147 ac_res=`eval echo '${'$as_ac_var'}'`
82148                { echo "$as_me:$LINENO: result: $ac_res" >&5
82149 echo "${ECHO_T}$ac_res" >&6; }
82150 if test `eval echo '${'$as_ac_var'}'` = yes; then
82151   cat >>confdefs.h <<_ACEOF
82152 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82153 _ACEOF
82154
82155 else
82156   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
82157 fi
82158 done
82159
82160
82161
82162 for ac_func in __signbitf
82163 do
82164 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82165 { echo "$as_me:$LINENO: checking for $ac_func" >&5
82166 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
82167 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
82168   echo $ECHO_N "(cached) $ECHO_C" >&6
82169 else
82170   if test x$gcc_no_link = xyes; then
82171   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82172 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82173    { (exit 1); exit 1; }; }
82174 fi
82175 cat >conftest.$ac_ext <<_ACEOF
82176 /* confdefs.h.  */
82177 _ACEOF
82178 cat confdefs.h >>conftest.$ac_ext
82179 cat >>conftest.$ac_ext <<_ACEOF
82180 /* end confdefs.h.  */
82181 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82182    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
82183 #define $ac_func innocuous_$ac_func
82184
82185 /* System header to define __stub macros and hopefully few prototypes,
82186     which can conflict with char $ac_func (); below.
82187     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82188     <limits.h> exists even on freestanding compilers.  */
82189
82190 #ifdef __STDC__
82191 # include <limits.h>
82192 #else
82193 # include <assert.h>
82194 #endif
82195
82196 #undef $ac_func
82197
82198 /* Override any GCC internal prototype to avoid an error.
82199    Use char because int might match the return type of a GCC
82200    builtin and then its argument prototype would still apply.  */
82201 #ifdef __cplusplus
82202 extern "C"
82203 #endif
82204 char $ac_func ();
82205 /* The GNU C library defines this for functions which it implements
82206     to always fail with ENOSYS.  Some functions are actually named
82207     something starting with __ and the normal name is an alias.  */
82208 #if defined __stub_$ac_func || defined __stub___$ac_func
82209 choke me
82210 #endif
82211
82212 int
82213 main ()
82214 {
82215 return $ac_func ();
82216   ;
82217   return 0;
82218 }
82219 _ACEOF
82220 rm -f conftest.$ac_objext conftest$ac_exeext
82221 if { (ac_try="$ac_link"
82222 case "(($ac_try" in
82223   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
82224   *) ac_try_echo=$ac_try;;
82225 esac
82226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
82227   (eval "$ac_link") 2>conftest.er1
82228   ac_status=$?
82229   grep -v '^ *+' conftest.er1 >conftest.err
82230   rm -f conftest.er1
82231   cat conftest.err >&5
82232   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82233   (exit $ac_status); } && {
82234          test -z "$ac_c_werror_flag" ||
82235          test ! -s conftest.err
82236        } && test -s conftest$ac_exeext &&
82237        $as_test_x conftest$ac_exeext; then
82238   eval "$as_ac_var=yes"
82239 else
82240   echo "$as_me: failed program was:" >&5
82241 sed 's/^/| /' conftest.$ac_ext >&5
82242
82243         eval "$as_ac_var=no"
82244 fi
82245
82246 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
82247       conftest$ac_exeext conftest.$ac_ext
82248 fi
82249 ac_res=`eval echo '${'$as_ac_var'}'`
82250                { echo "$as_me:$LINENO: result: $ac_res" >&5
82251 echo "${ECHO_T}$ac_res" >&6; }
82252 if test `eval echo '${'$as_ac_var'}'` = yes; then
82253   cat >>confdefs.h <<_ACEOF
82254 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82255 _ACEOF
82256
82257 else
82258   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
82259 fi
82260 done
82261
82262
82263           if test x$ac_cv_func_copysignl = x"yes"; then
82264
82265 for ac_func in __signbitl
82266 do
82267 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82268 { echo "$as_me:$LINENO: checking for $ac_func" >&5
82269 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
82270 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
82271   echo $ECHO_N "(cached) $ECHO_C" >&6
82272 else
82273   if test x$gcc_no_link = xyes; then
82274   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82275 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82276    { (exit 1); exit 1; }; }
82277 fi
82278 cat >conftest.$ac_ext <<_ACEOF
82279 /* confdefs.h.  */
82280 _ACEOF
82281 cat confdefs.h >>conftest.$ac_ext
82282 cat >>conftest.$ac_ext <<_ACEOF
82283 /* end confdefs.h.  */
82284 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82285    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
82286 #define $ac_func innocuous_$ac_func
82287
82288 /* System header to define __stub macros and hopefully few prototypes,
82289     which can conflict with char $ac_func (); below.
82290     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82291     <limits.h> exists even on freestanding compilers.  */
82292
82293 #ifdef __STDC__
82294 # include <limits.h>
82295 #else
82296 # include <assert.h>
82297 #endif
82298
82299 #undef $ac_func
82300
82301 /* Override any GCC internal prototype to avoid an error.
82302    Use char because int might match the return type of a GCC
82303    builtin and then its argument prototype would still apply.  */
82304 #ifdef __cplusplus
82305 extern "C"
82306 #endif
82307 char $ac_func ();
82308 /* The GNU C library defines this for functions which it implements
82309     to always fail with ENOSYS.  Some functions are actually named
82310     something starting with __ and the normal name is an alias.  */
82311 #if defined __stub_$ac_func || defined __stub___$ac_func
82312 choke me
82313 #endif
82314
82315 int
82316 main ()
82317 {
82318 return $ac_func ();
82319   ;
82320   return 0;
82321 }
82322 _ACEOF
82323 rm -f conftest.$ac_objext conftest$ac_exeext
82324 if { (ac_try="$ac_link"
82325 case "(($ac_try" in
82326   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
82327   *) ac_try_echo=$ac_try;;
82328 esac
82329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
82330   (eval "$ac_link") 2>conftest.er1
82331   ac_status=$?
82332   grep -v '^ *+' conftest.er1 >conftest.err
82333   rm -f conftest.er1
82334   cat conftest.err >&5
82335   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82336   (exit $ac_status); } && {
82337          test -z "$ac_c_werror_flag" ||
82338          test ! -s conftest.err
82339        } && test -s conftest$ac_exeext &&
82340        $as_test_x conftest$ac_exeext; then
82341   eval "$as_ac_var=yes"
82342 else
82343   echo "$as_me: failed program was:" >&5
82344 sed 's/^/| /' conftest.$ac_ext >&5
82345
82346         eval "$as_ac_var=no"
82347 fi
82348
82349 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
82350       conftest$ac_exeext conftest.$ac_ext
82351 fi
82352 ac_res=`eval echo '${'$as_ac_var'}'`
82353                { echo "$as_me:$LINENO: result: $ac_res" >&5
82354 echo "${ECHO_T}$ac_res" >&6; }
82355 if test `eval echo '${'$as_ac_var'}'` = yes; then
82356   cat >>confdefs.h <<_ACEOF
82357 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82358 _ACEOF
82359
82360 else
82361   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
82362 fi
82363 done
82364
82365   fi
82366
82367   # Used in libmath/Makefile.am.
82368   if test -n "$LIBMATHOBJS"; then
82369     need_libmath=yes
82370   fi
82371
82372
82373     cat >>confdefs.h <<\_ACEOF
82374 #define HAVE_LC_MESSAGES 1
82375 _ACEOF
82376
82377     cat >>confdefs.h <<\_ACEOF
82378 #define HAVE_GETPAGESIZE 1
82379 _ACEOF
82380
82381     cat >>confdefs.h <<\_ACEOF
82382 #define HAVE_SETENV 1
82383 _ACEOF
82384
82385     cat >>confdefs.h <<\_ACEOF
82386 #define HAVE_SIGSETJMP 1
82387 _ACEOF
82388
82389     cat >>confdefs.h <<\_ACEOF
82390 #define HAVE_COPYSIGN 1
82391 _ACEOF
82392
82393     cat >>confdefs.h <<\_ACEOF
82394 #define HAVE_COPYSIGNF 1
82395 _ACEOF
82396
82397     cat >>confdefs.h <<\_ACEOF
82398 #define HAVE_FINITEF 1
82399 _ACEOF
82400
82401     cat >>confdefs.h <<\_ACEOF
82402 #define HAVE_FINITE 1
82403 _ACEOF
82404
82405     cat >>confdefs.h <<\_ACEOF
82406 #define HAVE_FREXPF 1
82407 _ACEOF
82408
82409     cat >>confdefs.h <<\_ACEOF
82410 #define HAVE_HYPOT 1
82411 _ACEOF
82412
82413     cat >>confdefs.h <<\_ACEOF
82414 #define HAVE_HYPOTF 1
82415 _ACEOF
82416
82417     cat >>confdefs.h <<\_ACEOF
82418 #define HAVE_ISINF 1
82419 _ACEOF
82420
82421     cat >>confdefs.h <<\_ACEOF
82422 #define HAVE_ISNAN 1
82423 _ACEOF
82424
82425     cat >>confdefs.h <<\_ACEOF
82426 #define HAVE_ISNANF 1
82427 _ACEOF
82428
82429
82430     cat >>confdefs.h <<\_ACEOF
82431 #define HAVE_MMAP 1
82432 _ACEOF
82433
82434     cat >>confdefs.h <<\_ACEOF
82435 #define HAVE_ACOSF 1
82436 _ACEOF
82437
82438     cat >>confdefs.h <<\_ACEOF
82439 #define HAVE_ASINF 1
82440 _ACEOF
82441
82442     cat >>confdefs.h <<\_ACEOF
82443 #define HAVE_ATAN2F 1
82444 _ACEOF
82445
82446     cat >>confdefs.h <<\_ACEOF
82447 #define HAVE_ATANF 1
82448 _ACEOF
82449
82450     cat >>confdefs.h <<\_ACEOF
82451 #define HAVE_CEILF 1
82452 _ACEOF
82453
82454     cat >>confdefs.h <<\_ACEOF
82455 #define HAVE_COPYSIGN 1
82456 _ACEOF
82457
82458     cat >>confdefs.h <<\_ACEOF
82459 #define HAVE_COPYSIGNF 1
82460 _ACEOF
82461
82462     cat >>confdefs.h <<\_ACEOF
82463 #define HAVE_COSF 1
82464 _ACEOF
82465
82466     cat >>confdefs.h <<\_ACEOF
82467 #define HAVE_COSHF 1
82468 _ACEOF
82469
82470     cat >>confdefs.h <<\_ACEOF
82471 #define HAVE_EXPF 1
82472 _ACEOF
82473
82474     cat >>confdefs.h <<\_ACEOF
82475 #define HAVE_FABSF 1
82476 _ACEOF
82477
82478     cat >>confdefs.h <<\_ACEOF
82479 #define HAVE_FLOORF 1
82480 _ACEOF
82481
82482     cat >>confdefs.h <<\_ACEOF
82483 #define HAVE_FMODF 1
82484 _ACEOF
82485
82486     cat >>confdefs.h <<\_ACEOF
82487 #define HAVE_FREXPF 1
82488 _ACEOF
82489
82490     cat >>confdefs.h <<\_ACEOF
82491 #define HAVE_LDEXPF 1
82492 _ACEOF
82493
82494     cat >>confdefs.h <<\_ACEOF
82495 #define HAVE_LOG10F 1
82496 _ACEOF
82497
82498     cat >>confdefs.h <<\_ACEOF
82499 #define HAVE_LOGF 1
82500 _ACEOF
82501
82502     cat >>confdefs.h <<\_ACEOF
82503 #define HAVE_MODFF 1
82504 _ACEOF
82505
82506     cat >>confdefs.h <<\_ACEOF
82507 #define HAVE_POWF 1
82508 _ACEOF
82509
82510     cat >>confdefs.h <<\_ACEOF
82511 #define HAVE_SINF 1
82512 _ACEOF
82513
82514     cat >>confdefs.h <<\_ACEOF
82515 #define HAVE_SINHF 1
82516 _ACEOF
82517
82518     cat >>confdefs.h <<\_ACEOF
82519 #define HAVE_SQRTF 1
82520 _ACEOF
82521
82522     cat >>confdefs.h <<\_ACEOF
82523 #define HAVE_TANF 1
82524 _ACEOF
82525
82526     cat >>confdefs.h <<\_ACEOF
82527 #define HAVE_TANHF 1
82528 _ACEOF
82529
82530     if test x"long_double_math_on_this_cpu" = x"yes"; then
82531       cat >>confdefs.h <<\_ACEOF
82532 #define HAVE_FINITEL 1
82533 _ACEOF
82534
82535       cat >>confdefs.h <<\_ACEOF
82536 #define HAVE_ISINFL 1
82537 _ACEOF
82538
82539       cat >>confdefs.h <<\_ACEOF
82540 #define HAVE_ISNANL 1
82541 _ACEOF
82542
82543     fi
82544     ;;
82545   *-hpux*)
82546
82547
82548
82549
82550
82551
82552
82553
82554
82555
82556
82557
82558 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
82559       machine/endian.h machine/param.h sys/machine.h sys/types.h \
82560       fp.h locale.h float.h inttypes.h
82561 do
82562 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
82563 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
82564   { echo "$as_me:$LINENO: checking for $ac_header" >&5
82565 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
82566 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
82567   echo $ECHO_N "(cached) $ECHO_C" >&6
82568 fi
82569 ac_res=`eval echo '${'$as_ac_Header'}'`
82570                { echo "$as_me:$LINENO: result: $ac_res" >&5
82571 echo "${ECHO_T}$ac_res" >&6; }
82572 else
82573   # Is the header compilable?
82574 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
82575 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
82576 cat >conftest.$ac_ext <<_ACEOF
82577 /* confdefs.h.  */
82578 _ACEOF
82579 cat confdefs.h >>conftest.$ac_ext
82580 cat >>conftest.$ac_ext <<_ACEOF
82581 /* end confdefs.h.  */
82582 $ac_includes_default
82583 #include <$ac_header>
82584 _ACEOF
82585 rm -f conftest.$ac_objext
82586 if { (ac_try="$ac_compile"
82587 case "(($ac_try" in
82588   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
82589   *) ac_try_echo=$ac_try;;
82590 esac
82591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
82592   (eval "$ac_compile") 2>conftest.er1
82593   ac_status=$?
82594   grep -v '^ *+' conftest.er1 >conftest.err
82595   rm -f conftest.er1
82596   cat conftest.err >&5
82597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82598   (exit $ac_status); } && {
82599          test -z "$ac_c_werror_flag" ||
82600          test ! -s conftest.err
82601        } && test -s conftest.$ac_objext; then
82602   ac_header_compiler=yes
82603 else
82604   echo "$as_me: failed program was:" >&5
82605 sed 's/^/| /' conftest.$ac_ext >&5
82606
82607         ac_header_compiler=no
82608 fi
82609
82610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
82611 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
82612 echo "${ECHO_T}$ac_header_compiler" >&6; }
82613
82614 # Is the header present?
82615 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
82616 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
82617 cat >conftest.$ac_ext <<_ACEOF
82618 /* confdefs.h.  */
82619 _ACEOF
82620 cat confdefs.h >>conftest.$ac_ext
82621 cat >>conftest.$ac_ext <<_ACEOF
82622 /* end confdefs.h.  */
82623 #include <$ac_header>
82624 _ACEOF
82625 if { (ac_try="$ac_cpp conftest.$ac_ext"
82626 case "(($ac_try" in
82627   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
82628   *) ac_try_echo=$ac_try;;
82629 esac
82630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
82631   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
82632   ac_status=$?
82633   grep -v '^ *+' conftest.er1 >conftest.err
82634   rm -f conftest.er1
82635   cat conftest.err >&5
82636   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82637   (exit $ac_status); } >/dev/null && {
82638          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
82639          test ! -s conftest.err
82640        }; then
82641   ac_header_preproc=yes
82642 else
82643   echo "$as_me: failed program was:" >&5
82644 sed 's/^/| /' conftest.$ac_ext >&5
82645
82646   ac_header_preproc=no
82647 fi
82648
82649 rm -f conftest.err conftest.$ac_ext
82650 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
82651 echo "${ECHO_T}$ac_header_preproc" >&6; }
82652
82653 # So?  What about this header?
82654 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
82655   yes:no: )
82656     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
82657 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
82658     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
82659 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
82660     ac_header_preproc=yes
82661     ;;
82662   no:yes:* )
82663     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
82664 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
82665     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
82666 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
82667     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
82668 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
82669     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
82670 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
82671     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
82672 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
82673     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
82674 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
82675
82676     ;;
82677 esac
82678 { echo "$as_me:$LINENO: checking for $ac_header" >&5
82679 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
82680 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
82681   echo $ECHO_N "(cached) $ECHO_C" >&6
82682 else
82683   eval "$as_ac_Header=\$ac_header_preproc"
82684 fi
82685 ac_res=`eval echo '${'$as_ac_Header'}'`
82686                { echo "$as_me:$LINENO: result: $ac_res" >&5
82687 echo "${ECHO_T}$ac_res" >&6; }
82688
82689 fi
82690 if test `eval echo '${'$as_ac_Header'}'` = yes; then
82691   cat >>confdefs.h <<_ACEOF
82692 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
82693 _ACEOF
82694
82695 fi
82696
82697 done
82698
82699     SECTION_FLAGS='-ffunction-sections -fdata-sections'
82700
82701
82702   # If we're not using GNU ld, then there's no point in even trying these
82703   # tests.  Check for that first.  We should have already tested for gld
82704   # by now (in libtool), but require it now just to be safe...
82705   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
82706   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
82707
82708
82709
82710   # The name set by libtool depends on the version of libtool.  Shame on us
82711   # for depending on an impl detail, but c'est la vie.  Older versions used
82712   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
82713   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
82714   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
82715   # set (hence we're using an older libtool), then set it.
82716   if test x${with_gnu_ld+set} != xset; then
82717     if test x${ac_cv_prog_gnu_ld+set} != xset; then
82718       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
82719       with_gnu_ld=no
82720     else
82721       with_gnu_ld=$ac_cv_prog_gnu_ld
82722     fi
82723   fi
82724
82725   # Start by getting the version number.  I think the libtool test already
82726   # does some of this, but throws away the result.
82727   if test x"$with_gnu_ld" = x"yes"; then
82728     { echo "$as_me:$LINENO: checking for ld version" >&5
82729 echo $ECHO_N "checking for ld version... $ECHO_C" >&6; }
82730
82731     ldver=`$LD --version 2>/dev/null | head -1 | \
82732            sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
82733
82734     glibcxx_gnu_ld_version=`echo $ldver | \
82735            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
82736     { echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
82737 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6; }
82738   fi
82739
82740   # Set --gc-sections.
82741   glibcxx_gcsections_min_ld=21602
82742   if test x"$with_gnu_ld" = x"yes" &&
82743         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
82744
82745     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
82746     # NB: This flag only works reliably after 2.16.1. Configure tests
82747     # for this are difficult, so hard wire a value that should work.
82748
82749     ac_test_CFLAGS="${CFLAGS+set}"
82750     ac_save_CFLAGS="$CFLAGS"
82751     CFLAGS='-Wl,--gc-sections'
82752
82753     # Check for -Wl,--gc-sections
82754     { echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
82755 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6; }
82756     if test x$gcc_no_link = xyes; then
82757   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82758 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82759    { (exit 1); exit 1; }; }
82760 fi
82761 cat >conftest.$ac_ext <<_ACEOF
82762 /* confdefs.h.  */
82763 _ACEOF
82764 cat confdefs.h >>conftest.$ac_ext
82765 cat >>conftest.$ac_ext <<_ACEOF
82766 /* end confdefs.h.  */
82767  int one(void) { return 1; }
82768      int two(void) { return 2; }
82769
82770 int
82771 main ()
82772 {
82773  two();
82774   ;
82775   return 0;
82776 }
82777 _ACEOF
82778 rm -f conftest.$ac_objext conftest$ac_exeext
82779 if { (ac_try="$ac_link"
82780 case "(($ac_try" in
82781   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
82782   *) ac_try_echo=$ac_try;;
82783 esac
82784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
82785   (eval "$ac_link") 2>conftest.er1
82786   ac_status=$?
82787   grep -v '^ *+' conftest.er1 >conftest.err
82788   rm -f conftest.er1
82789   cat conftest.err >&5
82790   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82791   (exit $ac_status); } && {
82792          test -z "$ac_c_werror_flag" ||
82793          test ! -s conftest.err
82794        } && test -s conftest$ac_exeext &&
82795        $as_test_x conftest$ac_exeext; then
82796   ac_gcsections=yes
82797 else
82798   echo "$as_me: failed program was:" >&5
82799 sed 's/^/| /' conftest.$ac_ext >&5
82800
82801         ac_gcsections=no
82802 fi
82803
82804 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
82805       conftest$ac_exeext conftest.$ac_ext
82806     if test "$ac_gcsections" = "yes"; then
82807       rm -f conftest.c
82808       touch conftest.c
82809       if $CC -c conftest.c; then
82810         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
82811            grep "Warning: gc-sections option ignored" > /dev/null; then
82812           ac_gcsections=no
82813         fi
82814       fi
82815       rm -f conftest.c conftest.o conftest
82816     fi
82817     if test "$ac_gcsections" = "yes"; then
82818       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
82819     fi
82820     { echo "$as_me:$LINENO: result: $ac_gcsections" >&5
82821 echo "${ECHO_T}$ac_gcsections" >&6; }
82822
82823     if test "$ac_test_CFLAGS" = set; then
82824       CFLAGS="$ac_save_CFLAGS"
82825     else
82826       # this is the suspicious part
82827       CFLAGS=''
82828     fi
82829   fi
82830
82831   # Set -z,relro.
82832   # Note this is only for shared objects.
82833   ac_ld_relro=no
82834   if test x"$with_gnu_ld" = x"yes"; then
82835     { echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
82836 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6; }
82837     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
82838     if test -n "$cxx_z_relo"; then
82839       OPT_LDFLAGS="-Wl,-z,relro"
82840       ac_ld_relro=yes
82841     fi
82842     { echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
82843 echo "${ECHO_T}$ac_ld_relro" >&6; }
82844   fi
82845
82846   # Set linker optimization flags.
82847   if test x"$with_gnu_ld" = x"yes"; then
82848     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
82849   fi
82850
82851
82852
82853
82854
82855
82856 { echo "$as_me:$LINENO: checking for main in -lm" >&5
82857 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6; }
82858 if test "${ac_cv_lib_m_main+set}" = set; then
82859   echo $ECHO_N "(cached) $ECHO_C" >&6
82860 else
82861   ac_check_lib_save_LIBS=$LIBS
82862 LIBS="-lm  $LIBS"
82863 if test x$gcc_no_link = xyes; then
82864   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82865 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82866    { (exit 1); exit 1; }; }
82867 fi
82868 cat >conftest.$ac_ext <<_ACEOF
82869 /* confdefs.h.  */
82870 _ACEOF
82871 cat confdefs.h >>conftest.$ac_ext
82872 cat >>conftest.$ac_ext <<_ACEOF
82873 /* end confdefs.h.  */
82874
82875
82876 int
82877 main ()
82878 {
82879 return main ();
82880   ;
82881   return 0;
82882 }
82883 _ACEOF
82884 rm -f conftest.$ac_objext conftest$ac_exeext
82885 if { (ac_try="$ac_link"
82886 case "(($ac_try" in
82887   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
82888   *) ac_try_echo=$ac_try;;
82889 esac
82890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
82891   (eval "$ac_link") 2>conftest.er1
82892   ac_status=$?
82893   grep -v '^ *+' conftest.er1 >conftest.err
82894   rm -f conftest.er1
82895   cat conftest.err >&5
82896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82897   (exit $ac_status); } && {
82898          test -z "$ac_c_werror_flag" ||
82899          test ! -s conftest.err
82900        } && test -s conftest$ac_exeext &&
82901        $as_test_x conftest$ac_exeext; then
82902   ac_cv_lib_m_main=yes
82903 else
82904   echo "$as_me: failed program was:" >&5
82905 sed 's/^/| /' conftest.$ac_ext >&5
82906
82907         ac_cv_lib_m_main=no
82908 fi
82909
82910 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
82911       conftest$ac_exeext conftest.$ac_ext
82912 LIBS=$ac_check_lib_save_LIBS
82913 fi
82914 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
82915 echo "${ECHO_T}$ac_cv_lib_m_main" >&6; }
82916 if test $ac_cv_lib_m_main = yes; then
82917   cat >>confdefs.h <<_ACEOF
82918 #define HAVE_LIBM 1
82919 _ACEOF
82920
82921   LIBS="-lm $LIBS"
82922
82923 fi
82924
82925
82926 for ac_func in copysignf
82927 do
82928 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82929 { echo "$as_me:$LINENO: checking for $ac_func" >&5
82930 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
82931 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
82932   echo $ECHO_N "(cached) $ECHO_C" >&6
82933 else
82934   if test x$gcc_no_link = xyes; then
82935   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82936 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82937    { (exit 1); exit 1; }; }
82938 fi
82939 cat >conftest.$ac_ext <<_ACEOF
82940 /* confdefs.h.  */
82941 _ACEOF
82942 cat confdefs.h >>conftest.$ac_ext
82943 cat >>conftest.$ac_ext <<_ACEOF
82944 /* end confdefs.h.  */
82945 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82946    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
82947 #define $ac_func innocuous_$ac_func
82948
82949 /* System header to define __stub macros and hopefully few prototypes,
82950     which can conflict with char $ac_func (); below.
82951     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82952     <limits.h> exists even on freestanding compilers.  */
82953
82954 #ifdef __STDC__
82955 # include <limits.h>
82956 #else
82957 # include <assert.h>
82958 #endif
82959
82960 #undef $ac_func
82961
82962 /* Override any GCC internal prototype to avoid an error.
82963    Use char because int might match the return type of a GCC
82964    builtin and then its argument prototype would still apply.  */
82965 #ifdef __cplusplus
82966 extern "C"
82967 #endif
82968 char $ac_func ();
82969 /* The GNU C library defines this for functions which it implements
82970     to always fail with ENOSYS.  Some functions are actually named
82971     something starting with __ and the normal name is an alias.  */
82972 #if defined __stub_$ac_func || defined __stub___$ac_func
82973 choke me
82974 #endif
82975
82976 int
82977 main ()
82978 {
82979 return $ac_func ();
82980   ;
82981   return 0;
82982 }
82983 _ACEOF
82984 rm -f conftest.$ac_objext conftest$ac_exeext
82985 if { (ac_try="$ac_link"
82986 case "(($ac_try" in
82987   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
82988   *) ac_try_echo=$ac_try;;
82989 esac
82990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
82991   (eval "$ac_link") 2>conftest.er1
82992   ac_status=$?
82993   grep -v '^ *+' conftest.er1 >conftest.err
82994   rm -f conftest.er1
82995   cat conftest.err >&5
82996   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82997   (exit $ac_status); } && {
82998          test -z "$ac_c_werror_flag" ||
82999          test ! -s conftest.err
83000        } && test -s conftest$ac_exeext &&
83001        $as_test_x conftest$ac_exeext; then
83002   eval "$as_ac_var=yes"
83003 else
83004   echo "$as_me: failed program was:" >&5
83005 sed 's/^/| /' conftest.$ac_ext >&5
83006
83007         eval "$as_ac_var=no"
83008 fi
83009
83010 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
83011       conftest$ac_exeext conftest.$ac_ext
83012 fi
83013 ac_res=`eval echo '${'$as_ac_var'}'`
83014                { echo "$as_me:$LINENO: result: $ac_res" >&5
83015 echo "${ECHO_T}$ac_res" >&6; }
83016 if test `eval echo '${'$as_ac_var'}'` = yes; then
83017   cat >>confdefs.h <<_ACEOF
83018 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83019 _ACEOF
83020
83021 else
83022   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
83023 fi
83024 done
83025
83026
83027
83028 for ac_func in __signbit
83029 do
83030 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83031 { echo "$as_me:$LINENO: checking for $ac_func" >&5
83032 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
83033 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
83034   echo $ECHO_N "(cached) $ECHO_C" >&6
83035 else
83036   if test x$gcc_no_link = xyes; then
83037   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83038 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83039    { (exit 1); exit 1; }; }
83040 fi
83041 cat >conftest.$ac_ext <<_ACEOF
83042 /* confdefs.h.  */
83043 _ACEOF
83044 cat confdefs.h >>conftest.$ac_ext
83045 cat >>conftest.$ac_ext <<_ACEOF
83046 /* end confdefs.h.  */
83047 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83048    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
83049 #define $ac_func innocuous_$ac_func
83050
83051 /* System header to define __stub macros and hopefully few prototypes,
83052     which can conflict with char $ac_func (); below.
83053     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83054     <limits.h> exists even on freestanding compilers.  */
83055
83056 #ifdef __STDC__
83057 # include <limits.h>
83058 #else
83059 # include <assert.h>
83060 #endif
83061
83062 #undef $ac_func
83063
83064 /* Override any GCC internal prototype to avoid an error.
83065    Use char because int might match the return type of a GCC
83066    builtin and then its argument prototype would still apply.  */
83067 #ifdef __cplusplus
83068 extern "C"
83069 #endif
83070 char $ac_func ();
83071 /* The GNU C library defines this for functions which it implements
83072     to always fail with ENOSYS.  Some functions are actually named
83073     something starting with __ and the normal name is an alias.  */
83074 #if defined __stub_$ac_func || defined __stub___$ac_func
83075 choke me
83076 #endif
83077
83078 int
83079 main ()
83080 {
83081 return $ac_func ();
83082   ;
83083   return 0;
83084 }
83085 _ACEOF
83086 rm -f conftest.$ac_objext conftest$ac_exeext
83087 if { (ac_try="$ac_link"
83088 case "(($ac_try" in
83089   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
83090   *) ac_try_echo=$ac_try;;
83091 esac
83092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
83093   (eval "$ac_link") 2>conftest.er1
83094   ac_status=$?
83095   grep -v '^ *+' conftest.er1 >conftest.err
83096   rm -f conftest.er1
83097   cat conftest.err >&5
83098   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83099   (exit $ac_status); } && {
83100          test -z "$ac_c_werror_flag" ||
83101          test ! -s conftest.err
83102        } && test -s conftest$ac_exeext &&
83103        $as_test_x conftest$ac_exeext; then
83104   eval "$as_ac_var=yes"
83105 else
83106   echo "$as_me: failed program was:" >&5
83107 sed 's/^/| /' conftest.$ac_ext >&5
83108
83109         eval "$as_ac_var=no"
83110 fi
83111
83112 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
83113       conftest$ac_exeext conftest.$ac_ext
83114 fi
83115 ac_res=`eval echo '${'$as_ac_var'}'`
83116                { echo "$as_me:$LINENO: result: $ac_res" >&5
83117 echo "${ECHO_T}$ac_res" >&6; }
83118 if test `eval echo '${'$as_ac_var'}'` = yes; then
83119   cat >>confdefs.h <<_ACEOF
83120 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83121 _ACEOF
83122
83123 else
83124   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
83125 fi
83126 done
83127
83128
83129
83130 for ac_func in __signbitf
83131 do
83132 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83133 { echo "$as_me:$LINENO: checking for $ac_func" >&5
83134 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
83135 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
83136   echo $ECHO_N "(cached) $ECHO_C" >&6
83137 else
83138   if test x$gcc_no_link = xyes; then
83139   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83140 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83141    { (exit 1); exit 1; }; }
83142 fi
83143 cat >conftest.$ac_ext <<_ACEOF
83144 /* confdefs.h.  */
83145 _ACEOF
83146 cat confdefs.h >>conftest.$ac_ext
83147 cat >>conftest.$ac_ext <<_ACEOF
83148 /* end confdefs.h.  */
83149 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83150    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
83151 #define $ac_func innocuous_$ac_func
83152
83153 /* System header to define __stub macros and hopefully few prototypes,
83154     which can conflict with char $ac_func (); below.
83155     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83156     <limits.h> exists even on freestanding compilers.  */
83157
83158 #ifdef __STDC__
83159 # include <limits.h>
83160 #else
83161 # include <assert.h>
83162 #endif
83163
83164 #undef $ac_func
83165
83166 /* Override any GCC internal prototype to avoid an error.
83167    Use char because int might match the return type of a GCC
83168    builtin and then its argument prototype would still apply.  */
83169 #ifdef __cplusplus
83170 extern "C"
83171 #endif
83172 char $ac_func ();
83173 /* The GNU C library defines this for functions which it implements
83174     to always fail with ENOSYS.  Some functions are actually named
83175     something starting with __ and the normal name is an alias.  */
83176 #if defined __stub_$ac_func || defined __stub___$ac_func
83177 choke me
83178 #endif
83179
83180 int
83181 main ()
83182 {
83183 return $ac_func ();
83184   ;
83185   return 0;
83186 }
83187 _ACEOF
83188 rm -f conftest.$ac_objext conftest$ac_exeext
83189 if { (ac_try="$ac_link"
83190 case "(($ac_try" in
83191   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
83192   *) ac_try_echo=$ac_try;;
83193 esac
83194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
83195   (eval "$ac_link") 2>conftest.er1
83196   ac_status=$?
83197   grep -v '^ *+' conftest.er1 >conftest.err
83198   rm -f conftest.er1
83199   cat conftest.err >&5
83200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83201   (exit $ac_status); } && {
83202          test -z "$ac_c_werror_flag" ||
83203          test ! -s conftest.err
83204        } && test -s conftest$ac_exeext &&
83205        $as_test_x conftest$ac_exeext; then
83206   eval "$as_ac_var=yes"
83207 else
83208   echo "$as_me: failed program was:" >&5
83209 sed 's/^/| /' conftest.$ac_ext >&5
83210
83211         eval "$as_ac_var=no"
83212 fi
83213
83214 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
83215       conftest$ac_exeext conftest.$ac_ext
83216 fi
83217 ac_res=`eval echo '${'$as_ac_var'}'`
83218                { echo "$as_me:$LINENO: result: $ac_res" >&5
83219 echo "${ECHO_T}$ac_res" >&6; }
83220 if test `eval echo '${'$as_ac_var'}'` = yes; then
83221   cat >>confdefs.h <<_ACEOF
83222 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83223 _ACEOF
83224
83225 else
83226   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
83227 fi
83228 done
83229
83230
83231           if test x$ac_cv_func_copysignl = x"yes"; then
83232
83233 for ac_func in __signbitl
83234 do
83235 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83236 { echo "$as_me:$LINENO: checking for $ac_func" >&5
83237 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
83238 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
83239   echo $ECHO_N "(cached) $ECHO_C" >&6
83240 else
83241   if test x$gcc_no_link = xyes; then
83242   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83243 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83244    { (exit 1); exit 1; }; }
83245 fi
83246 cat >conftest.$ac_ext <<_ACEOF
83247 /* confdefs.h.  */
83248 _ACEOF
83249 cat confdefs.h >>conftest.$ac_ext
83250 cat >>conftest.$ac_ext <<_ACEOF
83251 /* end confdefs.h.  */
83252 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83253    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
83254 #define $ac_func innocuous_$ac_func
83255
83256 /* System header to define __stub macros and hopefully few prototypes,
83257     which can conflict with char $ac_func (); below.
83258     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83259     <limits.h> exists even on freestanding compilers.  */
83260
83261 #ifdef __STDC__
83262 # include <limits.h>
83263 #else
83264 # include <assert.h>
83265 #endif
83266
83267 #undef $ac_func
83268
83269 /* Override any GCC internal prototype to avoid an error.
83270    Use char because int might match the return type of a GCC
83271    builtin and then its argument prototype would still apply.  */
83272 #ifdef __cplusplus
83273 extern "C"
83274 #endif
83275 char $ac_func ();
83276 /* The GNU C library defines this for functions which it implements
83277     to always fail with ENOSYS.  Some functions are actually named
83278     something starting with __ and the normal name is an alias.  */
83279 #if defined __stub_$ac_func || defined __stub___$ac_func
83280 choke me
83281 #endif
83282
83283 int
83284 main ()
83285 {
83286 return $ac_func ();
83287   ;
83288   return 0;
83289 }
83290 _ACEOF
83291 rm -f conftest.$ac_objext conftest$ac_exeext
83292 if { (ac_try="$ac_link"
83293 case "(($ac_try" in
83294   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
83295   *) ac_try_echo=$ac_try;;
83296 esac
83297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
83298   (eval "$ac_link") 2>conftest.er1
83299   ac_status=$?
83300   grep -v '^ *+' conftest.er1 >conftest.err
83301   rm -f conftest.er1
83302   cat conftest.err >&5
83303   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83304   (exit $ac_status); } && {
83305          test -z "$ac_c_werror_flag" ||
83306          test ! -s conftest.err
83307        } && test -s conftest$ac_exeext &&
83308        $as_test_x conftest$ac_exeext; then
83309   eval "$as_ac_var=yes"
83310 else
83311   echo "$as_me: failed program was:" >&5
83312 sed 's/^/| /' conftest.$ac_ext >&5
83313
83314         eval "$as_ac_var=no"
83315 fi
83316
83317 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
83318       conftest$ac_exeext conftest.$ac_ext
83319 fi
83320 ac_res=`eval echo '${'$as_ac_var'}'`
83321                { echo "$as_me:$LINENO: result: $ac_res" >&5
83322 echo "${ECHO_T}$ac_res" >&6; }
83323 if test `eval echo '${'$as_ac_var'}'` = yes; then
83324   cat >>confdefs.h <<_ACEOF
83325 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83326 _ACEOF
83327
83328 else
83329   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
83330 fi
83331 done
83332
83333   fi
83334
83335   # Used in libmath/Makefile.am.
83336   if test -n "$LIBMATHOBJS"; then
83337     need_libmath=yes
83338   fi
83339
83340
83341     cat >>confdefs.h <<\_ACEOF
83342 #define HAVE_COPYSIGN 1
83343 _ACEOF
83344
83345     cat >>confdefs.h <<\_ACEOF
83346 #define HAVE_COPYSIGNF 1
83347 _ACEOF
83348
83349     cat >>confdefs.h <<\_ACEOF
83350 #define HAVE_FREXPF 1
83351 _ACEOF
83352
83353     cat >>confdefs.h <<\_ACEOF
83354 #define HAVE_HYPOT 1
83355 _ACEOF
83356
83357     case "$target" in
83358       *-hpux10*)
83359         cat >>confdefs.h <<\_ACEOF
83360 #define HAVE_FINITE 1
83361 _ACEOF
83362
83363         cat >>confdefs.h <<\_ACEOF
83364 #define HAVE_FINITEF 1
83365 _ACEOF
83366
83367         cat >>confdefs.h <<\_ACEOF
83368 #define HAVE_ISINF 1
83369 _ACEOF
83370
83371         cat >>confdefs.h <<\_ACEOF
83372 #define HAVE_ISINFF 1
83373 _ACEOF
83374
83375         cat >>confdefs.h <<\_ACEOF
83376 #define HAVE_ISNAN 1
83377 _ACEOF
83378
83379         cat >>confdefs.h <<\_ACEOF
83380 #define HAVE_ISNANF 1
83381 _ACEOF
83382
83383         ;;
83384     esac
83385     ;;
83386   *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
83387
83388
83389
83390
83391
83392
83393
83394
83395
83396
83397
83398
83399
83400
83401
83402
83403
83404
83405 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
83406       machine/endian.h machine/param.h sys/machine.h sys/types.h \
83407       fp.h float.h endian.h inttypes.h locale.h float.h stdint.h \
83408       sys/ipc.h sys/sem.h gconf.h
83409 do
83410 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
83411 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
83412   { echo "$as_me:$LINENO: checking for $ac_header" >&5
83413 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
83414 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
83415   echo $ECHO_N "(cached) $ECHO_C" >&6
83416 fi
83417 ac_res=`eval echo '${'$as_ac_Header'}'`
83418                { echo "$as_me:$LINENO: result: $ac_res" >&5
83419 echo "${ECHO_T}$ac_res" >&6; }
83420 else
83421   # Is the header compilable?
83422 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
83423 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
83424 cat >conftest.$ac_ext <<_ACEOF
83425 /* confdefs.h.  */
83426 _ACEOF
83427 cat confdefs.h >>conftest.$ac_ext
83428 cat >>conftest.$ac_ext <<_ACEOF
83429 /* end confdefs.h.  */
83430 $ac_includes_default
83431 #include <$ac_header>
83432 _ACEOF
83433 rm -f conftest.$ac_objext
83434 if { (ac_try="$ac_compile"
83435 case "(($ac_try" in
83436   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
83437   *) ac_try_echo=$ac_try;;
83438 esac
83439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
83440   (eval "$ac_compile") 2>conftest.er1
83441   ac_status=$?
83442   grep -v '^ *+' conftest.er1 >conftest.err
83443   rm -f conftest.er1
83444   cat conftest.err >&5
83445   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83446   (exit $ac_status); } && {
83447          test -z "$ac_c_werror_flag" ||
83448          test ! -s conftest.err
83449        } && test -s conftest.$ac_objext; then
83450   ac_header_compiler=yes
83451 else
83452   echo "$as_me: failed program was:" >&5
83453 sed 's/^/| /' conftest.$ac_ext >&5
83454
83455         ac_header_compiler=no
83456 fi
83457
83458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
83459 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
83460 echo "${ECHO_T}$ac_header_compiler" >&6; }
83461
83462 # Is the header present?
83463 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
83464 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
83465 cat >conftest.$ac_ext <<_ACEOF
83466 /* confdefs.h.  */
83467 _ACEOF
83468 cat confdefs.h >>conftest.$ac_ext
83469 cat >>conftest.$ac_ext <<_ACEOF
83470 /* end confdefs.h.  */
83471 #include <$ac_header>
83472 _ACEOF
83473 if { (ac_try="$ac_cpp conftest.$ac_ext"
83474 case "(($ac_try" in
83475   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
83476   *) ac_try_echo=$ac_try;;
83477 esac
83478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
83479   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
83480   ac_status=$?
83481   grep -v '^ *+' conftest.er1 >conftest.err
83482   rm -f conftest.er1
83483   cat conftest.err >&5
83484   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83485   (exit $ac_status); } >/dev/null && {
83486          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
83487          test ! -s conftest.err
83488        }; then
83489   ac_header_preproc=yes
83490 else
83491   echo "$as_me: failed program was:" >&5
83492 sed 's/^/| /' conftest.$ac_ext >&5
83493
83494   ac_header_preproc=no
83495 fi
83496
83497 rm -f conftest.err conftest.$ac_ext
83498 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
83499 echo "${ECHO_T}$ac_header_preproc" >&6; }
83500
83501 # So?  What about this header?
83502 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
83503   yes:no: )
83504     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
83505 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
83506     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
83507 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
83508     ac_header_preproc=yes
83509     ;;
83510   no:yes:* )
83511     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
83512 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
83513     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
83514 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
83515     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
83516 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
83517     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
83518 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
83519     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
83520 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
83521     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
83522 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
83523
83524     ;;
83525 esac
83526 { echo "$as_me:$LINENO: checking for $ac_header" >&5
83527 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
83528 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
83529   echo $ECHO_N "(cached) $ECHO_C" >&6
83530 else
83531   eval "$as_ac_Header=\$ac_header_preproc"
83532 fi
83533 ac_res=`eval echo '${'$as_ac_Header'}'`
83534                { echo "$as_me:$LINENO: result: $ac_res" >&5
83535 echo "${ECHO_T}$ac_res" >&6; }
83536
83537 fi
83538 if test `eval echo '${'$as_ac_Header'}'` = yes; then
83539   cat >>confdefs.h <<_ACEOF
83540 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
83541 _ACEOF
83542
83543 fi
83544
83545 done
83546
83547     SECTION_FLAGS='-ffunction-sections -fdata-sections'
83548
83549
83550   # All these tests are for C++; save the language and the compiler flags.
83551   # The CXXFLAGS thing is suspicious, but based on similar bits previously
83552   # found in GLIBCXX_CONFIGURE.
83553
83554   ac_ext=cpp
83555 ac_cpp='$CXXCPP $CPPFLAGS'
83556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83559
83560   ac_test_CXXFLAGS="${CXXFLAGS+set}"
83561   ac_save_CXXFLAGS="$CXXFLAGS"
83562
83563   # Check for maintainer-mode bits.
83564   if test x"$USE_MAINTAINER_MODE" = xno; then
83565     WERROR=''
83566   else
83567     WERROR='-Werror'
83568   fi
83569
83570   # Check for -ffunction-sections -fdata-sections
83571   { echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
83572 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6; }
83573   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
83574   cat >conftest.$ac_ext <<_ACEOF
83575 /* confdefs.h.  */
83576 _ACEOF
83577 cat confdefs.h >>conftest.$ac_ext
83578 cat >>conftest.$ac_ext <<_ACEOF
83579 /* end confdefs.h.  */
83580 int foo; void bar() { };
83581 int
83582 main ()
83583 {
83584
83585   ;
83586   return 0;
83587 }
83588 _ACEOF
83589 rm -f conftest.$ac_objext
83590 if { (ac_try="$ac_compile"
83591 case "(($ac_try" in
83592   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
83593   *) ac_try_echo=$ac_try;;
83594 esac
83595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
83596   (eval "$ac_compile") 2>conftest.er1
83597   ac_status=$?
83598   grep -v '^ *+' conftest.er1 >conftest.err
83599   rm -f conftest.er1
83600   cat conftest.err >&5
83601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83602   (exit $ac_status); } && {
83603          test -z "$ac_cxx_werror_flag" ||
83604          test ! -s conftest.err
83605        } && test -s conftest.$ac_objext; then
83606   ac_fdsections=yes
83607 else
83608   echo "$as_me: failed program was:" >&5
83609 sed 's/^/| /' conftest.$ac_ext >&5
83610
83611         ac_fdsections=no
83612 fi
83613
83614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
83615   if test "$ac_test_CXXFLAGS" = set; then
83616     CXXFLAGS="$ac_save_CXXFLAGS"
83617   else
83618     # this is the suspicious part
83619     CXXFLAGS=''
83620   fi
83621   if test x"$ac_fdsections" = x"yes"; then
83622     SECTION_FLAGS='-ffunction-sections -fdata-sections'
83623   fi
83624   { echo "$as_me:$LINENO: result: $ac_fdsections" >&5
83625 echo "${ECHO_T}$ac_fdsections" >&6; }
83626
83627   ac_ext=c
83628 ac_cpp='$CPP $CPPFLAGS'
83629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83632
83633
83634
83635
83636
83637   # If we're not using GNU ld, then there's no point in even trying these
83638   # tests.  Check for that first.  We should have already tested for gld
83639   # by now (in libtool), but require it now just to be safe...
83640   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
83641   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
83642
83643
83644
83645   # The name set by libtool depends on the version of libtool.  Shame on us
83646   # for depending on an impl detail, but c'est la vie.  Older versions used
83647   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
83648   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
83649   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
83650   # set (hence we're using an older libtool), then set it.
83651   if test x${with_gnu_ld+set} != xset; then
83652     if test x${ac_cv_prog_gnu_ld+set} != xset; then
83653       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
83654       with_gnu_ld=no
83655     else
83656       with_gnu_ld=$ac_cv_prog_gnu_ld
83657     fi
83658   fi
83659
83660   # Start by getting the version number.  I think the libtool test already
83661   # does some of this, but throws away the result.
83662   if test x"$with_gnu_ld" = x"yes"; then
83663     { echo "$as_me:$LINENO: checking for ld version" >&5
83664 echo $ECHO_N "checking for ld version... $ECHO_C" >&6; }
83665
83666     ldver=`$LD --version 2>/dev/null | head -1 | \
83667            sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
83668
83669     glibcxx_gnu_ld_version=`echo $ldver | \
83670            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
83671     { echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
83672 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6; }
83673   fi
83674
83675   # Set --gc-sections.
83676   glibcxx_gcsections_min_ld=21602
83677   if test x"$with_gnu_ld" = x"yes" &&
83678         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
83679
83680     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
83681     # NB: This flag only works reliably after 2.16.1. Configure tests
83682     # for this are difficult, so hard wire a value that should work.
83683
83684     ac_test_CFLAGS="${CFLAGS+set}"
83685     ac_save_CFLAGS="$CFLAGS"
83686     CFLAGS='-Wl,--gc-sections'
83687
83688     # Check for -Wl,--gc-sections
83689     { echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
83690 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6; }
83691     if test x$gcc_no_link = xyes; then
83692   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83693 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83694    { (exit 1); exit 1; }; }
83695 fi
83696 cat >conftest.$ac_ext <<_ACEOF
83697 /* confdefs.h.  */
83698 _ACEOF
83699 cat confdefs.h >>conftest.$ac_ext
83700 cat >>conftest.$ac_ext <<_ACEOF
83701 /* end confdefs.h.  */
83702  int one(void) { return 1; }
83703      int two(void) { return 2; }
83704
83705 int
83706 main ()
83707 {
83708  two();
83709   ;
83710   return 0;
83711 }
83712 _ACEOF
83713 rm -f conftest.$ac_objext conftest$ac_exeext
83714 if { (ac_try="$ac_link"
83715 case "(($ac_try" in
83716   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
83717   *) ac_try_echo=$ac_try;;
83718 esac
83719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
83720   (eval "$ac_link") 2>conftest.er1
83721   ac_status=$?
83722   grep -v '^ *+' conftest.er1 >conftest.err
83723   rm -f conftest.er1
83724   cat conftest.err >&5
83725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83726   (exit $ac_status); } && {
83727          test -z "$ac_c_werror_flag" ||
83728          test ! -s conftest.err
83729        } && test -s conftest$ac_exeext &&
83730        $as_test_x conftest$ac_exeext; then
83731   ac_gcsections=yes
83732 else
83733   echo "$as_me: failed program was:" >&5
83734 sed 's/^/| /' conftest.$ac_ext >&5
83735
83736         ac_gcsections=no
83737 fi
83738
83739 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
83740       conftest$ac_exeext conftest.$ac_ext
83741     if test "$ac_gcsections" = "yes"; then
83742       rm -f conftest.c
83743       touch conftest.c
83744       if $CC -c conftest.c; then
83745         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
83746            grep "Warning: gc-sections option ignored" > /dev/null; then
83747           ac_gcsections=no
83748         fi
83749       fi
83750       rm -f conftest.c conftest.o conftest
83751     fi
83752     if test "$ac_gcsections" = "yes"; then
83753       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
83754     fi
83755     { echo "$as_me:$LINENO: result: $ac_gcsections" >&5
83756 echo "${ECHO_T}$ac_gcsections" >&6; }
83757
83758     if test "$ac_test_CFLAGS" = set; then
83759       CFLAGS="$ac_save_CFLAGS"
83760     else
83761       # this is the suspicious part
83762       CFLAGS=''
83763     fi
83764   fi
83765
83766   # Set -z,relro.
83767   # Note this is only for shared objects.
83768   ac_ld_relro=no
83769   if test x"$with_gnu_ld" = x"yes"; then
83770     { echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
83771 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6; }
83772     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
83773     if test -n "$cxx_z_relo"; then
83774       OPT_LDFLAGS="-Wl,-z,relro"
83775       ac_ld_relro=yes
83776     fi
83777     { echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
83778 echo "${ECHO_T}$ac_ld_relro" >&6; }
83779   fi
83780
83781   # Set linker optimization flags.
83782   if test x"$with_gnu_ld" = x"yes"; then
83783     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
83784   fi
83785
83786
83787
83788
83789
83790   ac_test_CXXFLAGS="${CXXFLAGS+set}"
83791   ac_save_CXXFLAGS="$CXXFLAGS"
83792   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
83793
83794     { echo "$as_me:$LINENO: checking for sin in -lm" >&5
83795 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6; }
83796 if test "${ac_cv_lib_m_sin+set}" = set; then
83797   echo $ECHO_N "(cached) $ECHO_C" >&6
83798 else
83799   ac_check_lib_save_LIBS=$LIBS
83800 LIBS="-lm  $LIBS"
83801 if test x$gcc_no_link = xyes; then
83802   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83803 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83804    { (exit 1); exit 1; }; }
83805 fi
83806 cat >conftest.$ac_ext <<_ACEOF
83807 /* confdefs.h.  */
83808 _ACEOF
83809 cat confdefs.h >>conftest.$ac_ext
83810 cat >>conftest.$ac_ext <<_ACEOF
83811 /* end confdefs.h.  */
83812
83813 /* Override any GCC internal prototype to avoid an error.
83814    Use char because int might match the return type of a GCC
83815    builtin and then its argument prototype would still apply.  */
83816 #ifdef __cplusplus
83817 extern "C"
83818 #endif
83819 char sin ();
83820 int
83821 main ()
83822 {
83823 return sin ();
83824   ;
83825   return 0;
83826 }
83827 _ACEOF
83828 rm -f conftest.$ac_objext conftest$ac_exeext
83829 if { (ac_try="$ac_link"
83830 case "(($ac_try" in
83831   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
83832   *) ac_try_echo=$ac_try;;
83833 esac
83834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
83835   (eval "$ac_link") 2>conftest.er1
83836   ac_status=$?
83837   grep -v '^ *+' conftest.er1 >conftest.err
83838   rm -f conftest.er1
83839   cat conftest.err >&5
83840   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83841   (exit $ac_status); } && {
83842          test -z "$ac_c_werror_flag" ||
83843          test ! -s conftest.err
83844        } && test -s conftest$ac_exeext &&
83845        $as_test_x conftest$ac_exeext; then
83846   ac_cv_lib_m_sin=yes
83847 else
83848   echo "$as_me: failed program was:" >&5
83849 sed 's/^/| /' conftest.$ac_ext >&5
83850
83851         ac_cv_lib_m_sin=no
83852 fi
83853
83854 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
83855       conftest$ac_exeext conftest.$ac_ext
83856 LIBS=$ac_check_lib_save_LIBS
83857 fi
83858 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
83859 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6; }
83860 if test $ac_cv_lib_m_sin = yes; then
83861   libm="-lm"
83862 fi
83863
83864   ac_save_LIBS="$LIBS"
83865   LIBS="$LIBS $libm"
83866
83867
83868
83869   { echo "$as_me:$LINENO: checking for isinf declaration" >&5
83870 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6; }
83871   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
83872     if test "${glibcxx_cv_func_isinf_use+set}" = set; then
83873   echo $ECHO_N "(cached) $ECHO_C" >&6
83874 else
83875
83876
83877       ac_ext=cpp
83878 ac_cpp='$CXXCPP $CPPFLAGS'
83879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83882
83883       cat >conftest.$ac_ext <<_ACEOF
83884 /* confdefs.h.  */
83885 _ACEOF
83886 cat confdefs.h >>conftest.$ac_ext
83887 cat >>conftest.$ac_ext <<_ACEOF
83888 /* end confdefs.h.  */
83889 #include <math.h>
83890                       #ifdef HAVE_IEEEFP_H
83891                       #include <ieeefp.h>
83892                       #endif
83893
83894 int
83895 main ()
83896 {
83897  isinf(0);
83898   ;
83899   return 0;
83900 }
83901 _ACEOF
83902 rm -f conftest.$ac_objext
83903 if { (ac_try="$ac_compile"
83904 case "(($ac_try" in
83905   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
83906   *) ac_try_echo=$ac_try;;
83907 esac
83908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
83909   (eval "$ac_compile") 2>conftest.er1
83910   ac_status=$?
83911   grep -v '^ *+' conftest.er1 >conftest.err
83912   rm -f conftest.er1
83913   cat conftest.err >&5
83914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83915   (exit $ac_status); } && {
83916          test -z "$ac_cxx_werror_flag" ||
83917          test ! -s conftest.err
83918        } && test -s conftest.$ac_objext; then
83919   glibcxx_cv_func_isinf_use=yes
83920 else
83921   echo "$as_me: failed program was:" >&5
83922 sed 's/^/| /' conftest.$ac_ext >&5
83923
83924         glibcxx_cv_func_isinf_use=no
83925 fi
83926
83927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
83928       ac_ext=c
83929 ac_cpp='$CPP $CPPFLAGS'
83930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83933
83934
83935 fi
83936
83937   fi
83938   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
83939 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6; }
83940
83941   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
83942
83943 for ac_func in isinf
83944 do
83945 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83946 { echo "$as_me:$LINENO: checking for $ac_func" >&5
83947 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
83948 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
83949   echo $ECHO_N "(cached) $ECHO_C" >&6
83950 else
83951   if test x$gcc_no_link = xyes; then
83952   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83953 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83954    { (exit 1); exit 1; }; }
83955 fi
83956 cat >conftest.$ac_ext <<_ACEOF
83957 /* confdefs.h.  */
83958 _ACEOF
83959 cat confdefs.h >>conftest.$ac_ext
83960 cat >>conftest.$ac_ext <<_ACEOF
83961 /* end confdefs.h.  */
83962 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83963    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
83964 #define $ac_func innocuous_$ac_func
83965
83966 /* System header to define __stub macros and hopefully few prototypes,
83967     which can conflict with char $ac_func (); below.
83968     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83969     <limits.h> exists even on freestanding compilers.  */
83970
83971 #ifdef __STDC__
83972 # include <limits.h>
83973 #else
83974 # include <assert.h>
83975 #endif
83976
83977 #undef $ac_func
83978
83979 /* Override any GCC internal prototype to avoid an error.
83980    Use char because int might match the return type of a GCC
83981    builtin and then its argument prototype would still apply.  */
83982 #ifdef __cplusplus
83983 extern "C"
83984 #endif
83985 char $ac_func ();
83986 /* The GNU C library defines this for functions which it implements
83987     to always fail with ENOSYS.  Some functions are actually named
83988     something starting with __ and the normal name is an alias.  */
83989 #if defined __stub_$ac_func || defined __stub___$ac_func
83990 choke me
83991 #endif
83992
83993 int
83994 main ()
83995 {
83996 return $ac_func ();
83997   ;
83998   return 0;
83999 }
84000 _ACEOF
84001 rm -f conftest.$ac_objext conftest$ac_exeext
84002 if { (ac_try="$ac_link"
84003 case "(($ac_try" in
84004   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
84005   *) ac_try_echo=$ac_try;;
84006 esac
84007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
84008   (eval "$ac_link") 2>conftest.er1
84009   ac_status=$?
84010   grep -v '^ *+' conftest.er1 >conftest.err
84011   rm -f conftest.er1
84012   cat conftest.err >&5
84013   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84014   (exit $ac_status); } && {
84015          test -z "$ac_c_werror_flag" ||
84016          test ! -s conftest.err
84017        } && test -s conftest$ac_exeext &&
84018        $as_test_x conftest$ac_exeext; then
84019   eval "$as_ac_var=yes"
84020 else
84021   echo "$as_me: failed program was:" >&5
84022 sed 's/^/| /' conftest.$ac_ext >&5
84023
84024         eval "$as_ac_var=no"
84025 fi
84026
84027 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
84028       conftest$ac_exeext conftest.$ac_ext
84029 fi
84030 ac_res=`eval echo '${'$as_ac_var'}'`
84031                { echo "$as_me:$LINENO: result: $ac_res" >&5
84032 echo "${ECHO_T}$ac_res" >&6; }
84033 if test `eval echo '${'$as_ac_var'}'` = yes; then
84034   cat >>confdefs.h <<_ACEOF
84035 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84036 _ACEOF
84037
84038 fi
84039 done
84040
84041   else
84042
84043   { echo "$as_me:$LINENO: checking for _isinf declaration" >&5
84044 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6; }
84045   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
84046     if test "${glibcxx_cv_func__isinf_use+set}" = set; then
84047   echo $ECHO_N "(cached) $ECHO_C" >&6
84048 else
84049
84050
84051       ac_ext=cpp
84052 ac_cpp='$CXXCPP $CPPFLAGS'
84053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84056
84057       cat >conftest.$ac_ext <<_ACEOF
84058 /* confdefs.h.  */
84059 _ACEOF
84060 cat confdefs.h >>conftest.$ac_ext
84061 cat >>conftest.$ac_ext <<_ACEOF
84062 /* end confdefs.h.  */
84063 #include <math.h>
84064                       #ifdef HAVE_IEEEFP_H
84065                       #include <ieeefp.h>
84066                       #endif
84067
84068 int
84069 main ()
84070 {
84071  _isinf(0);
84072   ;
84073   return 0;
84074 }
84075 _ACEOF
84076 rm -f conftest.$ac_objext
84077 if { (ac_try="$ac_compile"
84078 case "(($ac_try" in
84079   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
84080   *) ac_try_echo=$ac_try;;
84081 esac
84082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
84083   (eval "$ac_compile") 2>conftest.er1
84084   ac_status=$?
84085   grep -v '^ *+' conftest.er1 >conftest.err
84086   rm -f conftest.er1
84087   cat conftest.err >&5
84088   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84089   (exit $ac_status); } && {
84090          test -z "$ac_cxx_werror_flag" ||
84091          test ! -s conftest.err
84092        } && test -s conftest.$ac_objext; then
84093   glibcxx_cv_func__isinf_use=yes
84094 else
84095   echo "$as_me: failed program was:" >&5
84096 sed 's/^/| /' conftest.$ac_ext >&5
84097
84098         glibcxx_cv_func__isinf_use=no
84099 fi
84100
84101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
84102       ac_ext=c
84103 ac_cpp='$CPP $CPPFLAGS'
84104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84107
84108
84109 fi
84110
84111   fi
84112   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
84113 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6; }
84114
84115     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
84116
84117 for ac_func in _isinf
84118 do
84119 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84120 { echo "$as_me:$LINENO: checking for $ac_func" >&5
84121 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
84122 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
84123   echo $ECHO_N "(cached) $ECHO_C" >&6
84124 else
84125   if test x$gcc_no_link = xyes; then
84126   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84127 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84128    { (exit 1); exit 1; }; }
84129 fi
84130 cat >conftest.$ac_ext <<_ACEOF
84131 /* confdefs.h.  */
84132 _ACEOF
84133 cat confdefs.h >>conftest.$ac_ext
84134 cat >>conftest.$ac_ext <<_ACEOF
84135 /* end confdefs.h.  */
84136 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84137    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
84138 #define $ac_func innocuous_$ac_func
84139
84140 /* System header to define __stub macros and hopefully few prototypes,
84141     which can conflict with char $ac_func (); below.
84142     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84143     <limits.h> exists even on freestanding compilers.  */
84144
84145 #ifdef __STDC__
84146 # include <limits.h>
84147 #else
84148 # include <assert.h>
84149 #endif
84150
84151 #undef $ac_func
84152
84153 /* Override any GCC internal prototype to avoid an error.
84154    Use char because int might match the return type of a GCC
84155    builtin and then its argument prototype would still apply.  */
84156 #ifdef __cplusplus
84157 extern "C"
84158 #endif
84159 char $ac_func ();
84160 /* The GNU C library defines this for functions which it implements
84161     to always fail with ENOSYS.  Some functions are actually named
84162     something starting with __ and the normal name is an alias.  */
84163 #if defined __stub_$ac_func || defined __stub___$ac_func
84164 choke me
84165 #endif
84166
84167 int
84168 main ()
84169 {
84170 return $ac_func ();
84171   ;
84172   return 0;
84173 }
84174 _ACEOF
84175 rm -f conftest.$ac_objext conftest$ac_exeext
84176 if { (ac_try="$ac_link"
84177 case "(($ac_try" in
84178   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
84179   *) ac_try_echo=$ac_try;;
84180 esac
84181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
84182   (eval "$ac_link") 2>conftest.er1
84183   ac_status=$?
84184   grep -v '^ *+' conftest.er1 >conftest.err
84185   rm -f conftest.er1
84186   cat conftest.err >&5
84187   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84188   (exit $ac_status); } && {
84189          test -z "$ac_c_werror_flag" ||
84190          test ! -s conftest.err
84191        } && test -s conftest$ac_exeext &&
84192        $as_test_x conftest$ac_exeext; then
84193   eval "$as_ac_var=yes"
84194 else
84195   echo "$as_me: failed program was:" >&5
84196 sed 's/^/| /' conftest.$ac_ext >&5
84197
84198         eval "$as_ac_var=no"
84199 fi
84200
84201 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
84202       conftest$ac_exeext conftest.$ac_ext
84203 fi
84204 ac_res=`eval echo '${'$as_ac_var'}'`
84205                { echo "$as_me:$LINENO: result: $ac_res" >&5
84206 echo "${ECHO_T}$ac_res" >&6; }
84207 if test `eval echo '${'$as_ac_var'}'` = yes; then
84208   cat >>confdefs.h <<_ACEOF
84209 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84210 _ACEOF
84211
84212 fi
84213 done
84214
84215     fi
84216   fi
84217
84218
84219
84220
84221
84222
84223   { echo "$as_me:$LINENO: checking for isnan declaration" >&5
84224 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6; }
84225   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
84226     if test "${glibcxx_cv_func_isnan_use+set}" = set; then
84227   echo $ECHO_N "(cached) $ECHO_C" >&6
84228 else
84229
84230
84231       ac_ext=cpp
84232 ac_cpp='$CXXCPP $CPPFLAGS'
84233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84236
84237       cat >conftest.$ac_ext <<_ACEOF
84238 /* confdefs.h.  */
84239 _ACEOF
84240 cat confdefs.h >>conftest.$ac_ext
84241 cat >>conftest.$ac_ext <<_ACEOF
84242 /* end confdefs.h.  */
84243 #include <math.h>
84244                       #ifdef HAVE_IEEEFP_H
84245                       #include <ieeefp.h>
84246                       #endif
84247
84248 int
84249 main ()
84250 {
84251  isnan(0);
84252   ;
84253   return 0;
84254 }
84255 _ACEOF
84256 rm -f conftest.$ac_objext
84257 if { (ac_try="$ac_compile"
84258 case "(($ac_try" in
84259   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
84260   *) ac_try_echo=$ac_try;;
84261 esac
84262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
84263   (eval "$ac_compile") 2>conftest.er1
84264   ac_status=$?
84265   grep -v '^ *+' conftest.er1 >conftest.err
84266   rm -f conftest.er1
84267   cat conftest.err >&5
84268   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84269   (exit $ac_status); } && {
84270          test -z "$ac_cxx_werror_flag" ||
84271          test ! -s conftest.err
84272        } && test -s conftest.$ac_objext; then
84273   glibcxx_cv_func_isnan_use=yes
84274 else
84275   echo "$as_me: failed program was:" >&5
84276 sed 's/^/| /' conftest.$ac_ext >&5
84277
84278         glibcxx_cv_func_isnan_use=no
84279 fi
84280
84281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
84282       ac_ext=c
84283 ac_cpp='$CPP $CPPFLAGS'
84284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84287
84288
84289 fi
84290
84291   fi
84292   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
84293 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6; }
84294
84295   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
84296
84297 for ac_func in isnan
84298 do
84299 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84300 { echo "$as_me:$LINENO: checking for $ac_func" >&5
84301 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
84302 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
84303   echo $ECHO_N "(cached) $ECHO_C" >&6
84304 else
84305   if test x$gcc_no_link = xyes; then
84306   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84307 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84308    { (exit 1); exit 1; }; }
84309 fi
84310 cat >conftest.$ac_ext <<_ACEOF
84311 /* confdefs.h.  */
84312 _ACEOF
84313 cat confdefs.h >>conftest.$ac_ext
84314 cat >>conftest.$ac_ext <<_ACEOF
84315 /* end confdefs.h.  */
84316 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84317    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
84318 #define $ac_func innocuous_$ac_func
84319
84320 /* System header to define __stub macros and hopefully few prototypes,
84321     which can conflict with char $ac_func (); below.
84322     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84323     <limits.h> exists even on freestanding compilers.  */
84324
84325 #ifdef __STDC__
84326 # include <limits.h>
84327 #else
84328 # include <assert.h>
84329 #endif
84330
84331 #undef $ac_func
84332
84333 /* Override any GCC internal prototype to avoid an error.
84334    Use char because int might match the return type of a GCC
84335    builtin and then its argument prototype would still apply.  */
84336 #ifdef __cplusplus
84337 extern "C"
84338 #endif
84339 char $ac_func ();
84340 /* The GNU C library defines this for functions which it implements
84341     to always fail with ENOSYS.  Some functions are actually named
84342     something starting with __ and the normal name is an alias.  */
84343 #if defined __stub_$ac_func || defined __stub___$ac_func
84344 choke me
84345 #endif
84346
84347 int
84348 main ()
84349 {
84350 return $ac_func ();
84351   ;
84352   return 0;
84353 }
84354 _ACEOF
84355 rm -f conftest.$ac_objext conftest$ac_exeext
84356 if { (ac_try="$ac_link"
84357 case "(($ac_try" in
84358   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
84359   *) ac_try_echo=$ac_try;;
84360 esac
84361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
84362   (eval "$ac_link") 2>conftest.er1
84363   ac_status=$?
84364   grep -v '^ *+' conftest.er1 >conftest.err
84365   rm -f conftest.er1
84366   cat conftest.err >&5
84367   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84368   (exit $ac_status); } && {
84369          test -z "$ac_c_werror_flag" ||
84370          test ! -s conftest.err
84371        } && test -s conftest$ac_exeext &&
84372        $as_test_x conftest$ac_exeext; then
84373   eval "$as_ac_var=yes"
84374 else
84375   echo "$as_me: failed program was:" >&5
84376 sed 's/^/| /' conftest.$ac_ext >&5
84377
84378         eval "$as_ac_var=no"
84379 fi
84380
84381 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
84382       conftest$ac_exeext conftest.$ac_ext
84383 fi
84384 ac_res=`eval echo '${'$as_ac_var'}'`
84385                { echo "$as_me:$LINENO: result: $ac_res" >&5
84386 echo "${ECHO_T}$ac_res" >&6; }
84387 if test `eval echo '${'$as_ac_var'}'` = yes; then
84388   cat >>confdefs.h <<_ACEOF
84389 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84390 _ACEOF
84391
84392 fi
84393 done
84394
84395   else
84396
84397   { echo "$as_me:$LINENO: checking for _isnan declaration" >&5
84398 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6; }
84399   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
84400     if test "${glibcxx_cv_func__isnan_use+set}" = set; then
84401   echo $ECHO_N "(cached) $ECHO_C" >&6
84402 else
84403
84404
84405       ac_ext=cpp
84406 ac_cpp='$CXXCPP $CPPFLAGS'
84407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84410
84411       cat >conftest.$ac_ext <<_ACEOF
84412 /* confdefs.h.  */
84413 _ACEOF
84414 cat confdefs.h >>conftest.$ac_ext
84415 cat >>conftest.$ac_ext <<_ACEOF
84416 /* end confdefs.h.  */
84417 #include <math.h>
84418                       #ifdef HAVE_IEEEFP_H
84419                       #include <ieeefp.h>
84420                       #endif
84421
84422 int
84423 main ()
84424 {
84425  _isnan(0);
84426   ;
84427   return 0;
84428 }
84429 _ACEOF
84430 rm -f conftest.$ac_objext
84431 if { (ac_try="$ac_compile"
84432 case "(($ac_try" in
84433   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
84434   *) ac_try_echo=$ac_try;;
84435 esac
84436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
84437   (eval "$ac_compile") 2>conftest.er1
84438   ac_status=$?
84439   grep -v '^ *+' conftest.er1 >conftest.err
84440   rm -f conftest.er1
84441   cat conftest.err >&5
84442   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84443   (exit $ac_status); } && {
84444          test -z "$ac_cxx_werror_flag" ||
84445          test ! -s conftest.err
84446        } && test -s conftest.$ac_objext; then
84447   glibcxx_cv_func__isnan_use=yes
84448 else
84449   echo "$as_me: failed program was:" >&5
84450 sed 's/^/| /' conftest.$ac_ext >&5
84451
84452         glibcxx_cv_func__isnan_use=no
84453 fi
84454
84455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
84456       ac_ext=c
84457 ac_cpp='$CPP $CPPFLAGS'
84458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84461
84462
84463 fi
84464
84465   fi
84466   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
84467 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6; }
84468
84469     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
84470
84471 for ac_func in _isnan
84472 do
84473 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84474 { echo "$as_me:$LINENO: checking for $ac_func" >&5
84475 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
84476 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
84477   echo $ECHO_N "(cached) $ECHO_C" >&6
84478 else
84479   if test x$gcc_no_link = xyes; then
84480   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84481 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84482    { (exit 1); exit 1; }; }
84483 fi
84484 cat >conftest.$ac_ext <<_ACEOF
84485 /* confdefs.h.  */
84486 _ACEOF
84487 cat confdefs.h >>conftest.$ac_ext
84488 cat >>conftest.$ac_ext <<_ACEOF
84489 /* end confdefs.h.  */
84490 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84491    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
84492 #define $ac_func innocuous_$ac_func
84493
84494 /* System header to define __stub macros and hopefully few prototypes,
84495     which can conflict with char $ac_func (); below.
84496     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84497     <limits.h> exists even on freestanding compilers.  */
84498
84499 #ifdef __STDC__
84500 # include <limits.h>
84501 #else
84502 # include <assert.h>
84503 #endif
84504
84505 #undef $ac_func
84506
84507 /* Override any GCC internal prototype to avoid an error.
84508    Use char because int might match the return type of a GCC
84509    builtin and then its argument prototype would still apply.  */
84510 #ifdef __cplusplus
84511 extern "C"
84512 #endif
84513 char $ac_func ();
84514 /* The GNU C library defines this for functions which it implements
84515     to always fail with ENOSYS.  Some functions are actually named
84516     something starting with __ and the normal name is an alias.  */
84517 #if defined __stub_$ac_func || defined __stub___$ac_func
84518 choke me
84519 #endif
84520
84521 int
84522 main ()
84523 {
84524 return $ac_func ();
84525   ;
84526   return 0;
84527 }
84528 _ACEOF
84529 rm -f conftest.$ac_objext conftest$ac_exeext
84530 if { (ac_try="$ac_link"
84531 case "(($ac_try" in
84532   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
84533   *) ac_try_echo=$ac_try;;
84534 esac
84535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
84536   (eval "$ac_link") 2>conftest.er1
84537   ac_status=$?
84538   grep -v '^ *+' conftest.er1 >conftest.err
84539   rm -f conftest.er1
84540   cat conftest.err >&5
84541   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84542   (exit $ac_status); } && {
84543          test -z "$ac_c_werror_flag" ||
84544          test ! -s conftest.err
84545        } && test -s conftest$ac_exeext &&
84546        $as_test_x conftest$ac_exeext; then
84547   eval "$as_ac_var=yes"
84548 else
84549   echo "$as_me: failed program was:" >&5
84550 sed 's/^/| /' conftest.$ac_ext >&5
84551
84552         eval "$as_ac_var=no"
84553 fi
84554
84555 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
84556       conftest$ac_exeext conftest.$ac_ext
84557 fi
84558 ac_res=`eval echo '${'$as_ac_var'}'`
84559                { echo "$as_me:$LINENO: result: $ac_res" >&5
84560 echo "${ECHO_T}$ac_res" >&6; }
84561 if test `eval echo '${'$as_ac_var'}'` = yes; then
84562   cat >>confdefs.h <<_ACEOF
84563 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84564 _ACEOF
84565
84566 fi
84567 done
84568
84569     fi
84570   fi
84571
84572
84573
84574
84575
84576
84577   { echo "$as_me:$LINENO: checking for finite declaration" >&5
84578 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6; }
84579   if test x${glibcxx_cv_func_finite_use+set} != xset; then
84580     if test "${glibcxx_cv_func_finite_use+set}" = set; then
84581   echo $ECHO_N "(cached) $ECHO_C" >&6
84582 else
84583
84584
84585       ac_ext=cpp
84586 ac_cpp='$CXXCPP $CPPFLAGS'
84587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84590
84591       cat >conftest.$ac_ext <<_ACEOF
84592 /* confdefs.h.  */
84593 _ACEOF
84594 cat confdefs.h >>conftest.$ac_ext
84595 cat >>conftest.$ac_ext <<_ACEOF
84596 /* end confdefs.h.  */
84597 #include <math.h>
84598                       #ifdef HAVE_IEEEFP_H
84599                       #include <ieeefp.h>
84600                       #endif
84601
84602 int
84603 main ()
84604 {
84605  finite(0);
84606   ;
84607   return 0;
84608 }
84609 _ACEOF
84610 rm -f conftest.$ac_objext
84611 if { (ac_try="$ac_compile"
84612 case "(($ac_try" in
84613   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
84614   *) ac_try_echo=$ac_try;;
84615 esac
84616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
84617   (eval "$ac_compile") 2>conftest.er1
84618   ac_status=$?
84619   grep -v '^ *+' conftest.er1 >conftest.err
84620   rm -f conftest.er1
84621   cat conftest.err >&5
84622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84623   (exit $ac_status); } && {
84624          test -z "$ac_cxx_werror_flag" ||
84625          test ! -s conftest.err
84626        } && test -s conftest.$ac_objext; then
84627   glibcxx_cv_func_finite_use=yes
84628 else
84629   echo "$as_me: failed program was:" >&5
84630 sed 's/^/| /' conftest.$ac_ext >&5
84631
84632         glibcxx_cv_func_finite_use=no
84633 fi
84634
84635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
84636       ac_ext=c
84637 ac_cpp='$CPP $CPPFLAGS'
84638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84641
84642
84643 fi
84644
84645   fi
84646   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
84647 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6; }
84648
84649   if test x$glibcxx_cv_func_finite_use = x"yes"; then
84650
84651 for ac_func in finite
84652 do
84653 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84654 { echo "$as_me:$LINENO: checking for $ac_func" >&5
84655 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
84656 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
84657   echo $ECHO_N "(cached) $ECHO_C" >&6
84658 else
84659   if test x$gcc_no_link = xyes; then
84660   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84661 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84662    { (exit 1); exit 1; }; }
84663 fi
84664 cat >conftest.$ac_ext <<_ACEOF
84665 /* confdefs.h.  */
84666 _ACEOF
84667 cat confdefs.h >>conftest.$ac_ext
84668 cat >>conftest.$ac_ext <<_ACEOF
84669 /* end confdefs.h.  */
84670 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84671    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
84672 #define $ac_func innocuous_$ac_func
84673
84674 /* System header to define __stub macros and hopefully few prototypes,
84675     which can conflict with char $ac_func (); below.
84676     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84677     <limits.h> exists even on freestanding compilers.  */
84678
84679 #ifdef __STDC__
84680 # include <limits.h>
84681 #else
84682 # include <assert.h>
84683 #endif
84684
84685 #undef $ac_func
84686
84687 /* Override any GCC internal prototype to avoid an error.
84688    Use char because int might match the return type of a GCC
84689    builtin and then its argument prototype would still apply.  */
84690 #ifdef __cplusplus
84691 extern "C"
84692 #endif
84693 char $ac_func ();
84694 /* The GNU C library defines this for functions which it implements
84695     to always fail with ENOSYS.  Some functions are actually named
84696     something starting with __ and the normal name is an alias.  */
84697 #if defined __stub_$ac_func || defined __stub___$ac_func
84698 choke me
84699 #endif
84700
84701 int
84702 main ()
84703 {
84704 return $ac_func ();
84705   ;
84706   return 0;
84707 }
84708 _ACEOF
84709 rm -f conftest.$ac_objext conftest$ac_exeext
84710 if { (ac_try="$ac_link"
84711 case "(($ac_try" in
84712   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
84713   *) ac_try_echo=$ac_try;;
84714 esac
84715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
84716   (eval "$ac_link") 2>conftest.er1
84717   ac_status=$?
84718   grep -v '^ *+' conftest.er1 >conftest.err
84719   rm -f conftest.er1
84720   cat conftest.err >&5
84721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84722   (exit $ac_status); } && {
84723          test -z "$ac_c_werror_flag" ||
84724          test ! -s conftest.err
84725        } && test -s conftest$ac_exeext &&
84726        $as_test_x conftest$ac_exeext; then
84727   eval "$as_ac_var=yes"
84728 else
84729   echo "$as_me: failed program was:" >&5
84730 sed 's/^/| /' conftest.$ac_ext >&5
84731
84732         eval "$as_ac_var=no"
84733 fi
84734
84735 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
84736       conftest$ac_exeext conftest.$ac_ext
84737 fi
84738 ac_res=`eval echo '${'$as_ac_var'}'`
84739                { echo "$as_me:$LINENO: result: $ac_res" >&5
84740 echo "${ECHO_T}$ac_res" >&6; }
84741 if test `eval echo '${'$as_ac_var'}'` = yes; then
84742   cat >>confdefs.h <<_ACEOF
84743 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84744 _ACEOF
84745
84746 fi
84747 done
84748
84749   else
84750
84751   { echo "$as_me:$LINENO: checking for _finite declaration" >&5
84752 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6; }
84753   if test x${glibcxx_cv_func__finite_use+set} != xset; then
84754     if test "${glibcxx_cv_func__finite_use+set}" = set; then
84755   echo $ECHO_N "(cached) $ECHO_C" >&6
84756 else
84757
84758
84759       ac_ext=cpp
84760 ac_cpp='$CXXCPP $CPPFLAGS'
84761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84764
84765       cat >conftest.$ac_ext <<_ACEOF
84766 /* confdefs.h.  */
84767 _ACEOF
84768 cat confdefs.h >>conftest.$ac_ext
84769 cat >>conftest.$ac_ext <<_ACEOF
84770 /* end confdefs.h.  */
84771 #include <math.h>
84772                       #ifdef HAVE_IEEEFP_H
84773                       #include <ieeefp.h>
84774                       #endif
84775
84776 int
84777 main ()
84778 {
84779  _finite(0);
84780   ;
84781   return 0;
84782 }
84783 _ACEOF
84784 rm -f conftest.$ac_objext
84785 if { (ac_try="$ac_compile"
84786 case "(($ac_try" in
84787   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
84788   *) ac_try_echo=$ac_try;;
84789 esac
84790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
84791   (eval "$ac_compile") 2>conftest.er1
84792   ac_status=$?
84793   grep -v '^ *+' conftest.er1 >conftest.err
84794   rm -f conftest.er1
84795   cat conftest.err >&5
84796   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84797   (exit $ac_status); } && {
84798          test -z "$ac_cxx_werror_flag" ||
84799          test ! -s conftest.err
84800        } && test -s conftest.$ac_objext; then
84801   glibcxx_cv_func__finite_use=yes
84802 else
84803   echo "$as_me: failed program was:" >&5
84804 sed 's/^/| /' conftest.$ac_ext >&5
84805
84806         glibcxx_cv_func__finite_use=no
84807 fi
84808
84809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
84810       ac_ext=c
84811 ac_cpp='$CPP $CPPFLAGS'
84812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84815
84816
84817 fi
84818
84819   fi
84820   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
84821 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6; }
84822
84823     if test x$glibcxx_cv_func__finite_use = x"yes"; then
84824
84825 for ac_func in _finite
84826 do
84827 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84828 { echo "$as_me:$LINENO: checking for $ac_func" >&5
84829 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
84830 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
84831   echo $ECHO_N "(cached) $ECHO_C" >&6
84832 else
84833   if test x$gcc_no_link = xyes; then
84834   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84835 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84836    { (exit 1); exit 1; }; }
84837 fi
84838 cat >conftest.$ac_ext <<_ACEOF
84839 /* confdefs.h.  */
84840 _ACEOF
84841 cat confdefs.h >>conftest.$ac_ext
84842 cat >>conftest.$ac_ext <<_ACEOF
84843 /* end confdefs.h.  */
84844 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84845    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
84846 #define $ac_func innocuous_$ac_func
84847
84848 /* System header to define __stub macros and hopefully few prototypes,
84849     which can conflict with char $ac_func (); below.
84850     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84851     <limits.h> exists even on freestanding compilers.  */
84852
84853 #ifdef __STDC__
84854 # include <limits.h>
84855 #else
84856 # include <assert.h>
84857 #endif
84858
84859 #undef $ac_func
84860
84861 /* Override any GCC internal prototype to avoid an error.
84862    Use char because int might match the return type of a GCC
84863    builtin and then its argument prototype would still apply.  */
84864 #ifdef __cplusplus
84865 extern "C"
84866 #endif
84867 char $ac_func ();
84868 /* The GNU C library defines this for functions which it implements
84869     to always fail with ENOSYS.  Some functions are actually named
84870     something starting with __ and the normal name is an alias.  */
84871 #if defined __stub_$ac_func || defined __stub___$ac_func
84872 choke me
84873 #endif
84874
84875 int
84876 main ()
84877 {
84878 return $ac_func ();
84879   ;
84880   return 0;
84881 }
84882 _ACEOF
84883 rm -f conftest.$ac_objext conftest$ac_exeext
84884 if { (ac_try="$ac_link"
84885 case "(($ac_try" in
84886   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
84887   *) ac_try_echo=$ac_try;;
84888 esac
84889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
84890   (eval "$ac_link") 2>conftest.er1
84891   ac_status=$?
84892   grep -v '^ *+' conftest.er1 >conftest.err
84893   rm -f conftest.er1
84894   cat conftest.err >&5
84895   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84896   (exit $ac_status); } && {
84897          test -z "$ac_c_werror_flag" ||
84898          test ! -s conftest.err
84899        } && test -s conftest$ac_exeext &&
84900        $as_test_x conftest$ac_exeext; then
84901   eval "$as_ac_var=yes"
84902 else
84903   echo "$as_me: failed program was:" >&5
84904 sed 's/^/| /' conftest.$ac_ext >&5
84905
84906         eval "$as_ac_var=no"
84907 fi
84908
84909 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
84910       conftest$ac_exeext conftest.$ac_ext
84911 fi
84912 ac_res=`eval echo '${'$as_ac_var'}'`
84913                { echo "$as_me:$LINENO: result: $ac_res" >&5
84914 echo "${ECHO_T}$ac_res" >&6; }
84915 if test `eval echo '${'$as_ac_var'}'` = yes; then
84916   cat >>confdefs.h <<_ACEOF
84917 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84918 _ACEOF
84919
84920 fi
84921 done
84922
84923     fi
84924   fi
84925
84926
84927
84928
84929
84930
84931   { echo "$as_me:$LINENO: checking for copysign declaration" >&5
84932 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6; }
84933   if test x${glibcxx_cv_func_copysign_use+set} != xset; then
84934     if test "${glibcxx_cv_func_copysign_use+set}" = set; then
84935   echo $ECHO_N "(cached) $ECHO_C" >&6
84936 else
84937
84938
84939       ac_ext=cpp
84940 ac_cpp='$CXXCPP $CPPFLAGS'
84941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84944
84945       cat >conftest.$ac_ext <<_ACEOF
84946 /* confdefs.h.  */
84947 _ACEOF
84948 cat confdefs.h >>conftest.$ac_ext
84949 cat >>conftest.$ac_ext <<_ACEOF
84950 /* end confdefs.h.  */
84951 #include <math.h>
84952 int
84953 main ()
84954 {
84955  copysign(0, 0);
84956   ;
84957   return 0;
84958 }
84959 _ACEOF
84960 rm -f conftest.$ac_objext
84961 if { (ac_try="$ac_compile"
84962 case "(($ac_try" in
84963   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
84964   *) ac_try_echo=$ac_try;;
84965 esac
84966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
84967   (eval "$ac_compile") 2>conftest.er1
84968   ac_status=$?
84969   grep -v '^ *+' conftest.er1 >conftest.err
84970   rm -f conftest.er1
84971   cat conftest.err >&5
84972   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84973   (exit $ac_status); } && {
84974          test -z "$ac_cxx_werror_flag" ||
84975          test ! -s conftest.err
84976        } && test -s conftest.$ac_objext; then
84977   glibcxx_cv_func_copysign_use=yes
84978 else
84979   echo "$as_me: failed program was:" >&5
84980 sed 's/^/| /' conftest.$ac_ext >&5
84981
84982         glibcxx_cv_func_copysign_use=no
84983 fi
84984
84985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
84986       ac_ext=c
84987 ac_cpp='$CPP $CPPFLAGS'
84988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84991
84992
84993 fi
84994
84995   fi
84996   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
84997 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6; }
84998
84999   if test x$glibcxx_cv_func_copysign_use = x"yes"; then
85000
85001 for ac_func in copysign
85002 do
85003 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85004 { echo "$as_me:$LINENO: checking for $ac_func" >&5
85005 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
85006 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
85007   echo $ECHO_N "(cached) $ECHO_C" >&6
85008 else
85009   if test x$gcc_no_link = xyes; then
85010   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85011 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85012    { (exit 1); exit 1; }; }
85013 fi
85014 cat >conftest.$ac_ext <<_ACEOF
85015 /* confdefs.h.  */
85016 _ACEOF
85017 cat confdefs.h >>conftest.$ac_ext
85018 cat >>conftest.$ac_ext <<_ACEOF
85019 /* end confdefs.h.  */
85020 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85021    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
85022 #define $ac_func innocuous_$ac_func
85023
85024 /* System header to define __stub macros and hopefully few prototypes,
85025     which can conflict with char $ac_func (); below.
85026     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85027     <limits.h> exists even on freestanding compilers.  */
85028
85029 #ifdef __STDC__
85030 # include <limits.h>
85031 #else
85032 # include <assert.h>
85033 #endif
85034
85035 #undef $ac_func
85036
85037 /* Override any GCC internal prototype to avoid an error.
85038    Use char because int might match the return type of a GCC
85039    builtin and then its argument prototype would still apply.  */
85040 #ifdef __cplusplus
85041 extern "C"
85042 #endif
85043 char $ac_func ();
85044 /* The GNU C library defines this for functions which it implements
85045     to always fail with ENOSYS.  Some functions are actually named
85046     something starting with __ and the normal name is an alias.  */
85047 #if defined __stub_$ac_func || defined __stub___$ac_func
85048 choke me
85049 #endif
85050
85051 int
85052 main ()
85053 {
85054 return $ac_func ();
85055   ;
85056   return 0;
85057 }
85058 _ACEOF
85059 rm -f conftest.$ac_objext conftest$ac_exeext
85060 if { (ac_try="$ac_link"
85061 case "(($ac_try" in
85062   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
85063   *) ac_try_echo=$ac_try;;
85064 esac
85065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
85066   (eval "$ac_link") 2>conftest.er1
85067   ac_status=$?
85068   grep -v '^ *+' conftest.er1 >conftest.err
85069   rm -f conftest.er1
85070   cat conftest.err >&5
85071   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85072   (exit $ac_status); } && {
85073          test -z "$ac_c_werror_flag" ||
85074          test ! -s conftest.err
85075        } && test -s conftest$ac_exeext &&
85076        $as_test_x conftest$ac_exeext; then
85077   eval "$as_ac_var=yes"
85078 else
85079   echo "$as_me: failed program was:" >&5
85080 sed 's/^/| /' conftest.$ac_ext >&5
85081
85082         eval "$as_ac_var=no"
85083 fi
85084
85085 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
85086       conftest$ac_exeext conftest.$ac_ext
85087 fi
85088 ac_res=`eval echo '${'$as_ac_var'}'`
85089                { echo "$as_me:$LINENO: result: $ac_res" >&5
85090 echo "${ECHO_T}$ac_res" >&6; }
85091 if test `eval echo '${'$as_ac_var'}'` = yes; then
85092   cat >>confdefs.h <<_ACEOF
85093 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85094 _ACEOF
85095
85096 fi
85097 done
85098
85099   else
85100
85101   { echo "$as_me:$LINENO: checking for _copysign declaration" >&5
85102 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6; }
85103   if test x${glibcxx_cv_func__copysign_use+set} != xset; then
85104     if test "${glibcxx_cv_func__copysign_use+set}" = set; then
85105   echo $ECHO_N "(cached) $ECHO_C" >&6
85106 else
85107
85108
85109       ac_ext=cpp
85110 ac_cpp='$CXXCPP $CPPFLAGS'
85111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85114
85115       cat >conftest.$ac_ext <<_ACEOF
85116 /* confdefs.h.  */
85117 _ACEOF
85118 cat confdefs.h >>conftest.$ac_ext
85119 cat >>conftest.$ac_ext <<_ACEOF
85120 /* end confdefs.h.  */
85121 #include <math.h>
85122 int
85123 main ()
85124 {
85125  _copysign(0, 0);
85126   ;
85127   return 0;
85128 }
85129 _ACEOF
85130 rm -f conftest.$ac_objext
85131 if { (ac_try="$ac_compile"
85132 case "(($ac_try" in
85133   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
85134   *) ac_try_echo=$ac_try;;
85135 esac
85136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
85137   (eval "$ac_compile") 2>conftest.er1
85138   ac_status=$?
85139   grep -v '^ *+' conftest.er1 >conftest.err
85140   rm -f conftest.er1
85141   cat conftest.err >&5
85142   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85143   (exit $ac_status); } && {
85144          test -z "$ac_cxx_werror_flag" ||
85145          test ! -s conftest.err
85146        } && test -s conftest.$ac_objext; then
85147   glibcxx_cv_func__copysign_use=yes
85148 else
85149   echo "$as_me: failed program was:" >&5
85150 sed 's/^/| /' conftest.$ac_ext >&5
85151
85152         glibcxx_cv_func__copysign_use=no
85153 fi
85154
85155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
85156       ac_ext=c
85157 ac_cpp='$CPP $CPPFLAGS'
85158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85161
85162
85163 fi
85164
85165   fi
85166   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
85167 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6; }
85168
85169     if test x$glibcxx_cv_func__copysign_use = x"yes"; then
85170
85171 for ac_func in _copysign
85172 do
85173 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85174 { echo "$as_me:$LINENO: checking for $ac_func" >&5
85175 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
85176 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
85177   echo $ECHO_N "(cached) $ECHO_C" >&6
85178 else
85179   if test x$gcc_no_link = xyes; then
85180   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85181 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85182    { (exit 1); exit 1; }; }
85183 fi
85184 cat >conftest.$ac_ext <<_ACEOF
85185 /* confdefs.h.  */
85186 _ACEOF
85187 cat confdefs.h >>conftest.$ac_ext
85188 cat >>conftest.$ac_ext <<_ACEOF
85189 /* end confdefs.h.  */
85190 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85191    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
85192 #define $ac_func innocuous_$ac_func
85193
85194 /* System header to define __stub macros and hopefully few prototypes,
85195     which can conflict with char $ac_func (); below.
85196     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85197     <limits.h> exists even on freestanding compilers.  */
85198
85199 #ifdef __STDC__
85200 # include <limits.h>
85201 #else
85202 # include <assert.h>
85203 #endif
85204
85205 #undef $ac_func
85206
85207 /* Override any GCC internal prototype to avoid an error.
85208    Use char because int might match the return type of a GCC
85209    builtin and then its argument prototype would still apply.  */
85210 #ifdef __cplusplus
85211 extern "C"
85212 #endif
85213 char $ac_func ();
85214 /* The GNU C library defines this for functions which it implements
85215     to always fail with ENOSYS.  Some functions are actually named
85216     something starting with __ and the normal name is an alias.  */
85217 #if defined __stub_$ac_func || defined __stub___$ac_func
85218 choke me
85219 #endif
85220
85221 int
85222 main ()
85223 {
85224 return $ac_func ();
85225   ;
85226   return 0;
85227 }
85228 _ACEOF
85229 rm -f conftest.$ac_objext conftest$ac_exeext
85230 if { (ac_try="$ac_link"
85231 case "(($ac_try" in
85232   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
85233   *) ac_try_echo=$ac_try;;
85234 esac
85235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
85236   (eval "$ac_link") 2>conftest.er1
85237   ac_status=$?
85238   grep -v '^ *+' conftest.er1 >conftest.err
85239   rm -f conftest.er1
85240   cat conftest.err >&5
85241   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85242   (exit $ac_status); } && {
85243          test -z "$ac_c_werror_flag" ||
85244          test ! -s conftest.err
85245        } && test -s conftest$ac_exeext &&
85246        $as_test_x conftest$ac_exeext; then
85247   eval "$as_ac_var=yes"
85248 else
85249   echo "$as_me: failed program was:" >&5
85250 sed 's/^/| /' conftest.$ac_ext >&5
85251
85252         eval "$as_ac_var=no"
85253 fi
85254
85255 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
85256       conftest$ac_exeext conftest.$ac_ext
85257 fi
85258 ac_res=`eval echo '${'$as_ac_var'}'`
85259                { echo "$as_me:$LINENO: result: $ac_res" >&5
85260 echo "${ECHO_T}$ac_res" >&6; }
85261 if test `eval echo '${'$as_ac_var'}'` = yes; then
85262   cat >>confdefs.h <<_ACEOF
85263 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85264 _ACEOF
85265
85266 fi
85267 done
85268
85269     fi
85270   fi
85271
85272
85273
85274
85275
85276
85277   { echo "$as_me:$LINENO: checking for sincos declaration" >&5
85278 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6; }
85279   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
85280     if test "${glibcxx_cv_func_sincos_use+set}" = set; then
85281   echo $ECHO_N "(cached) $ECHO_C" >&6
85282 else
85283
85284
85285       ac_ext=cpp
85286 ac_cpp='$CXXCPP $CPPFLAGS'
85287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85290
85291       cat >conftest.$ac_ext <<_ACEOF
85292 /* confdefs.h.  */
85293 _ACEOF
85294 cat confdefs.h >>conftest.$ac_ext
85295 cat >>conftest.$ac_ext <<_ACEOF
85296 /* end confdefs.h.  */
85297 #include <math.h>
85298 int
85299 main ()
85300 {
85301  sincos(0, 0, 0);
85302   ;
85303   return 0;
85304 }
85305 _ACEOF
85306 rm -f conftest.$ac_objext
85307 if { (ac_try="$ac_compile"
85308 case "(($ac_try" in
85309   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
85310   *) ac_try_echo=$ac_try;;
85311 esac
85312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
85313   (eval "$ac_compile") 2>conftest.er1
85314   ac_status=$?
85315   grep -v '^ *+' conftest.er1 >conftest.err
85316   rm -f conftest.er1
85317   cat conftest.err >&5
85318   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85319   (exit $ac_status); } && {
85320          test -z "$ac_cxx_werror_flag" ||
85321          test ! -s conftest.err
85322        } && test -s conftest.$ac_objext; then
85323   glibcxx_cv_func_sincos_use=yes
85324 else
85325   echo "$as_me: failed program was:" >&5
85326 sed 's/^/| /' conftest.$ac_ext >&5
85327
85328         glibcxx_cv_func_sincos_use=no
85329 fi
85330
85331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
85332       ac_ext=c
85333 ac_cpp='$CPP $CPPFLAGS'
85334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85337
85338
85339 fi
85340
85341   fi
85342   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
85343 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6; }
85344
85345   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
85346
85347 for ac_func in sincos
85348 do
85349 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85350 { echo "$as_me:$LINENO: checking for $ac_func" >&5
85351 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
85352 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
85353   echo $ECHO_N "(cached) $ECHO_C" >&6
85354 else
85355   if test x$gcc_no_link = xyes; then
85356   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85357 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85358    { (exit 1); exit 1; }; }
85359 fi
85360 cat >conftest.$ac_ext <<_ACEOF
85361 /* confdefs.h.  */
85362 _ACEOF
85363 cat confdefs.h >>conftest.$ac_ext
85364 cat >>conftest.$ac_ext <<_ACEOF
85365 /* end confdefs.h.  */
85366 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85367    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
85368 #define $ac_func innocuous_$ac_func
85369
85370 /* System header to define __stub macros and hopefully few prototypes,
85371     which can conflict with char $ac_func (); below.
85372     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85373     <limits.h> exists even on freestanding compilers.  */
85374
85375 #ifdef __STDC__
85376 # include <limits.h>
85377 #else
85378 # include <assert.h>
85379 #endif
85380
85381 #undef $ac_func
85382
85383 /* Override any GCC internal prototype to avoid an error.
85384    Use char because int might match the return type of a GCC
85385    builtin and then its argument prototype would still apply.  */
85386 #ifdef __cplusplus
85387 extern "C"
85388 #endif
85389 char $ac_func ();
85390 /* The GNU C library defines this for functions which it implements
85391     to always fail with ENOSYS.  Some functions are actually named
85392     something starting with __ and the normal name is an alias.  */
85393 #if defined __stub_$ac_func || defined __stub___$ac_func
85394 choke me
85395 #endif
85396
85397 int
85398 main ()
85399 {
85400 return $ac_func ();
85401   ;
85402   return 0;
85403 }
85404 _ACEOF
85405 rm -f conftest.$ac_objext conftest$ac_exeext
85406 if { (ac_try="$ac_link"
85407 case "(($ac_try" in
85408   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
85409   *) ac_try_echo=$ac_try;;
85410 esac
85411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
85412   (eval "$ac_link") 2>conftest.er1
85413   ac_status=$?
85414   grep -v '^ *+' conftest.er1 >conftest.err
85415   rm -f conftest.er1
85416   cat conftest.err >&5
85417   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85418   (exit $ac_status); } && {
85419          test -z "$ac_c_werror_flag" ||
85420          test ! -s conftest.err
85421        } && test -s conftest$ac_exeext &&
85422        $as_test_x conftest$ac_exeext; then
85423   eval "$as_ac_var=yes"
85424 else
85425   echo "$as_me: failed program was:" >&5
85426 sed 's/^/| /' conftest.$ac_ext >&5
85427
85428         eval "$as_ac_var=no"
85429 fi
85430
85431 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
85432       conftest$ac_exeext conftest.$ac_ext
85433 fi
85434 ac_res=`eval echo '${'$as_ac_var'}'`
85435                { echo "$as_me:$LINENO: result: $ac_res" >&5
85436 echo "${ECHO_T}$ac_res" >&6; }
85437 if test `eval echo '${'$as_ac_var'}'` = yes; then
85438   cat >>confdefs.h <<_ACEOF
85439 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85440 _ACEOF
85441
85442 fi
85443 done
85444
85445   else
85446
85447   { echo "$as_me:$LINENO: checking for _sincos declaration" >&5
85448 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6; }
85449   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
85450     if test "${glibcxx_cv_func__sincos_use+set}" = set; then
85451   echo $ECHO_N "(cached) $ECHO_C" >&6
85452 else
85453
85454
85455       ac_ext=cpp
85456 ac_cpp='$CXXCPP $CPPFLAGS'
85457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85460
85461       cat >conftest.$ac_ext <<_ACEOF
85462 /* confdefs.h.  */
85463 _ACEOF
85464 cat confdefs.h >>conftest.$ac_ext
85465 cat >>conftest.$ac_ext <<_ACEOF
85466 /* end confdefs.h.  */
85467 #include <math.h>
85468 int
85469 main ()
85470 {
85471  _sincos(0, 0, 0);
85472   ;
85473   return 0;
85474 }
85475 _ACEOF
85476 rm -f conftest.$ac_objext
85477 if { (ac_try="$ac_compile"
85478 case "(($ac_try" in
85479   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
85480   *) ac_try_echo=$ac_try;;
85481 esac
85482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
85483   (eval "$ac_compile") 2>conftest.er1
85484   ac_status=$?
85485   grep -v '^ *+' conftest.er1 >conftest.err
85486   rm -f conftest.er1
85487   cat conftest.err >&5
85488   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85489   (exit $ac_status); } && {
85490          test -z "$ac_cxx_werror_flag" ||
85491          test ! -s conftest.err
85492        } && test -s conftest.$ac_objext; then
85493   glibcxx_cv_func__sincos_use=yes
85494 else
85495   echo "$as_me: failed program was:" >&5
85496 sed 's/^/| /' conftest.$ac_ext >&5
85497
85498         glibcxx_cv_func__sincos_use=no
85499 fi
85500
85501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
85502       ac_ext=c
85503 ac_cpp='$CPP $CPPFLAGS'
85504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85507
85508
85509 fi
85510
85511   fi
85512   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
85513 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6; }
85514
85515     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
85516
85517 for ac_func in _sincos
85518 do
85519 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85520 { echo "$as_me:$LINENO: checking for $ac_func" >&5
85521 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
85522 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
85523   echo $ECHO_N "(cached) $ECHO_C" >&6
85524 else
85525   if test x$gcc_no_link = xyes; then
85526   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85527 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85528    { (exit 1); exit 1; }; }
85529 fi
85530 cat >conftest.$ac_ext <<_ACEOF
85531 /* confdefs.h.  */
85532 _ACEOF
85533 cat confdefs.h >>conftest.$ac_ext
85534 cat >>conftest.$ac_ext <<_ACEOF
85535 /* end confdefs.h.  */
85536 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85537    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
85538 #define $ac_func innocuous_$ac_func
85539
85540 /* System header to define __stub macros and hopefully few prototypes,
85541     which can conflict with char $ac_func (); below.
85542     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85543     <limits.h> exists even on freestanding compilers.  */
85544
85545 #ifdef __STDC__
85546 # include <limits.h>
85547 #else
85548 # include <assert.h>
85549 #endif
85550
85551 #undef $ac_func
85552
85553 /* Override any GCC internal prototype to avoid an error.
85554    Use char because int might match the return type of a GCC
85555    builtin and then its argument prototype would still apply.  */
85556 #ifdef __cplusplus
85557 extern "C"
85558 #endif
85559 char $ac_func ();
85560 /* The GNU C library defines this for functions which it implements
85561     to always fail with ENOSYS.  Some functions are actually named
85562     something starting with __ and the normal name is an alias.  */
85563 #if defined __stub_$ac_func || defined __stub___$ac_func
85564 choke me
85565 #endif
85566
85567 int
85568 main ()
85569 {
85570 return $ac_func ();
85571   ;
85572   return 0;
85573 }
85574 _ACEOF
85575 rm -f conftest.$ac_objext conftest$ac_exeext
85576 if { (ac_try="$ac_link"
85577 case "(($ac_try" in
85578   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
85579   *) ac_try_echo=$ac_try;;
85580 esac
85581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
85582   (eval "$ac_link") 2>conftest.er1
85583   ac_status=$?
85584   grep -v '^ *+' conftest.er1 >conftest.err
85585   rm -f conftest.er1
85586   cat conftest.err >&5
85587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85588   (exit $ac_status); } && {
85589          test -z "$ac_c_werror_flag" ||
85590          test ! -s conftest.err
85591        } && test -s conftest$ac_exeext &&
85592        $as_test_x conftest$ac_exeext; then
85593   eval "$as_ac_var=yes"
85594 else
85595   echo "$as_me: failed program was:" >&5
85596 sed 's/^/| /' conftest.$ac_ext >&5
85597
85598         eval "$as_ac_var=no"
85599 fi
85600
85601 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
85602       conftest$ac_exeext conftest.$ac_ext
85603 fi
85604 ac_res=`eval echo '${'$as_ac_var'}'`
85605                { echo "$as_me:$LINENO: result: $ac_res" >&5
85606 echo "${ECHO_T}$ac_res" >&6; }
85607 if test `eval echo '${'$as_ac_var'}'` = yes; then
85608   cat >>confdefs.h <<_ACEOF
85609 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85610 _ACEOF
85611
85612 fi
85613 done
85614
85615     fi
85616   fi
85617
85618
85619
85620
85621
85622
85623   { echo "$as_me:$LINENO: checking for fpclass declaration" >&5
85624 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6; }
85625   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
85626     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
85627   echo $ECHO_N "(cached) $ECHO_C" >&6
85628 else
85629
85630
85631       ac_ext=cpp
85632 ac_cpp='$CXXCPP $CPPFLAGS'
85633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85636
85637       cat >conftest.$ac_ext <<_ACEOF
85638 /* confdefs.h.  */
85639 _ACEOF
85640 cat confdefs.h >>conftest.$ac_ext
85641 cat >>conftest.$ac_ext <<_ACEOF
85642 /* end confdefs.h.  */
85643 #include <math.h>
85644                       #ifdef HAVE_IEEEFP_H
85645                       #include <ieeefp.h>
85646                       #endif
85647
85648 int
85649 main ()
85650 {
85651  fpclass(0);
85652   ;
85653   return 0;
85654 }
85655 _ACEOF
85656 rm -f conftest.$ac_objext
85657 if { (ac_try="$ac_compile"
85658 case "(($ac_try" in
85659   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
85660   *) ac_try_echo=$ac_try;;
85661 esac
85662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
85663   (eval "$ac_compile") 2>conftest.er1
85664   ac_status=$?
85665   grep -v '^ *+' conftest.er1 >conftest.err
85666   rm -f conftest.er1
85667   cat conftest.err >&5
85668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85669   (exit $ac_status); } && {
85670          test -z "$ac_cxx_werror_flag" ||
85671          test ! -s conftest.err
85672        } && test -s conftest.$ac_objext; then
85673   glibcxx_cv_func_fpclass_use=yes
85674 else
85675   echo "$as_me: failed program was:" >&5
85676 sed 's/^/| /' conftest.$ac_ext >&5
85677
85678         glibcxx_cv_func_fpclass_use=no
85679 fi
85680
85681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
85682       ac_ext=c
85683 ac_cpp='$CPP $CPPFLAGS'
85684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85687
85688
85689 fi
85690
85691   fi
85692   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
85693 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6; }
85694
85695   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
85696
85697 for ac_func in fpclass
85698 do
85699 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85700 { echo "$as_me:$LINENO: checking for $ac_func" >&5
85701 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
85702 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
85703   echo $ECHO_N "(cached) $ECHO_C" >&6
85704 else
85705   if test x$gcc_no_link = xyes; then
85706   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85707 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85708    { (exit 1); exit 1; }; }
85709 fi
85710 cat >conftest.$ac_ext <<_ACEOF
85711 /* confdefs.h.  */
85712 _ACEOF
85713 cat confdefs.h >>conftest.$ac_ext
85714 cat >>conftest.$ac_ext <<_ACEOF
85715 /* end confdefs.h.  */
85716 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85717    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
85718 #define $ac_func innocuous_$ac_func
85719
85720 /* System header to define __stub macros and hopefully few prototypes,
85721     which can conflict with char $ac_func (); below.
85722     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85723     <limits.h> exists even on freestanding compilers.  */
85724
85725 #ifdef __STDC__
85726 # include <limits.h>
85727 #else
85728 # include <assert.h>
85729 #endif
85730
85731 #undef $ac_func
85732
85733 /* Override any GCC internal prototype to avoid an error.
85734    Use char because int might match the return type of a GCC
85735    builtin and then its argument prototype would still apply.  */
85736 #ifdef __cplusplus
85737 extern "C"
85738 #endif
85739 char $ac_func ();
85740 /* The GNU C library defines this for functions which it implements
85741     to always fail with ENOSYS.  Some functions are actually named
85742     something starting with __ and the normal name is an alias.  */
85743 #if defined __stub_$ac_func || defined __stub___$ac_func
85744 choke me
85745 #endif
85746
85747 int
85748 main ()
85749 {
85750 return $ac_func ();
85751   ;
85752   return 0;
85753 }
85754 _ACEOF
85755 rm -f conftest.$ac_objext conftest$ac_exeext
85756 if { (ac_try="$ac_link"
85757 case "(($ac_try" in
85758   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
85759   *) ac_try_echo=$ac_try;;
85760 esac
85761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
85762   (eval "$ac_link") 2>conftest.er1
85763   ac_status=$?
85764   grep -v '^ *+' conftest.er1 >conftest.err
85765   rm -f conftest.er1
85766   cat conftest.err >&5
85767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85768   (exit $ac_status); } && {
85769          test -z "$ac_c_werror_flag" ||
85770          test ! -s conftest.err
85771        } && test -s conftest$ac_exeext &&
85772        $as_test_x conftest$ac_exeext; then
85773   eval "$as_ac_var=yes"
85774 else
85775   echo "$as_me: failed program was:" >&5
85776 sed 's/^/| /' conftest.$ac_ext >&5
85777
85778         eval "$as_ac_var=no"
85779 fi
85780
85781 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
85782       conftest$ac_exeext conftest.$ac_ext
85783 fi
85784 ac_res=`eval echo '${'$as_ac_var'}'`
85785                { echo "$as_me:$LINENO: result: $ac_res" >&5
85786 echo "${ECHO_T}$ac_res" >&6; }
85787 if test `eval echo '${'$as_ac_var'}'` = yes; then
85788   cat >>confdefs.h <<_ACEOF
85789 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85790 _ACEOF
85791
85792 fi
85793 done
85794
85795   else
85796
85797   { echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
85798 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6; }
85799   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
85800     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
85801   echo $ECHO_N "(cached) $ECHO_C" >&6
85802 else
85803
85804
85805       ac_ext=cpp
85806 ac_cpp='$CXXCPP $CPPFLAGS'
85807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85810
85811       cat >conftest.$ac_ext <<_ACEOF
85812 /* confdefs.h.  */
85813 _ACEOF
85814 cat confdefs.h >>conftest.$ac_ext
85815 cat >>conftest.$ac_ext <<_ACEOF
85816 /* end confdefs.h.  */
85817 #include <math.h>
85818                       #ifdef HAVE_IEEEFP_H
85819                       #include <ieeefp.h>
85820                       #endif
85821
85822 int
85823 main ()
85824 {
85825  _fpclass(0);
85826   ;
85827   return 0;
85828 }
85829 _ACEOF
85830 rm -f conftest.$ac_objext
85831 if { (ac_try="$ac_compile"
85832 case "(($ac_try" in
85833   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
85834   *) ac_try_echo=$ac_try;;
85835 esac
85836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
85837   (eval "$ac_compile") 2>conftest.er1
85838   ac_status=$?
85839   grep -v '^ *+' conftest.er1 >conftest.err
85840   rm -f conftest.er1
85841   cat conftest.err >&5
85842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85843   (exit $ac_status); } && {
85844          test -z "$ac_cxx_werror_flag" ||
85845          test ! -s conftest.err
85846        } && test -s conftest.$ac_objext; then
85847   glibcxx_cv_func__fpclass_use=yes
85848 else
85849   echo "$as_me: failed program was:" >&5
85850 sed 's/^/| /' conftest.$ac_ext >&5
85851
85852         glibcxx_cv_func__fpclass_use=no
85853 fi
85854
85855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
85856       ac_ext=c
85857 ac_cpp='$CPP $CPPFLAGS'
85858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85861
85862
85863 fi
85864
85865   fi
85866   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
85867 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6; }
85868
85869     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
85870
85871 for ac_func in _fpclass
85872 do
85873 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85874 { echo "$as_me:$LINENO: checking for $ac_func" >&5
85875 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
85876 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
85877   echo $ECHO_N "(cached) $ECHO_C" >&6
85878 else
85879   if test x$gcc_no_link = xyes; then
85880   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85881 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85882    { (exit 1); exit 1; }; }
85883 fi
85884 cat >conftest.$ac_ext <<_ACEOF
85885 /* confdefs.h.  */
85886 _ACEOF
85887 cat confdefs.h >>conftest.$ac_ext
85888 cat >>conftest.$ac_ext <<_ACEOF
85889 /* end confdefs.h.  */
85890 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85891    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
85892 #define $ac_func innocuous_$ac_func
85893
85894 /* System header to define __stub macros and hopefully few prototypes,
85895     which can conflict with char $ac_func (); below.
85896     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85897     <limits.h> exists even on freestanding compilers.  */
85898
85899 #ifdef __STDC__
85900 # include <limits.h>
85901 #else
85902 # include <assert.h>
85903 #endif
85904
85905 #undef $ac_func
85906
85907 /* Override any GCC internal prototype to avoid an error.
85908    Use char because int might match the return type of a GCC
85909    builtin and then its argument prototype would still apply.  */
85910 #ifdef __cplusplus
85911 extern "C"
85912 #endif
85913 char $ac_func ();
85914 /* The GNU C library defines this for functions which it implements
85915     to always fail with ENOSYS.  Some functions are actually named
85916     something starting with __ and the normal name is an alias.  */
85917 #if defined __stub_$ac_func || defined __stub___$ac_func
85918 choke me
85919 #endif
85920
85921 int
85922 main ()
85923 {
85924 return $ac_func ();
85925   ;
85926   return 0;
85927 }
85928 _ACEOF
85929 rm -f conftest.$ac_objext conftest$ac_exeext
85930 if { (ac_try="$ac_link"
85931 case "(($ac_try" in
85932   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
85933   *) ac_try_echo=$ac_try;;
85934 esac
85935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
85936   (eval "$ac_link") 2>conftest.er1
85937   ac_status=$?
85938   grep -v '^ *+' conftest.er1 >conftest.err
85939   rm -f conftest.er1
85940   cat conftest.err >&5
85941   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85942   (exit $ac_status); } && {
85943          test -z "$ac_c_werror_flag" ||
85944          test ! -s conftest.err
85945        } && test -s conftest$ac_exeext &&
85946        $as_test_x conftest$ac_exeext; then
85947   eval "$as_ac_var=yes"
85948 else
85949   echo "$as_me: failed program was:" >&5
85950 sed 's/^/| /' conftest.$ac_ext >&5
85951
85952         eval "$as_ac_var=no"
85953 fi
85954
85955 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
85956       conftest$ac_exeext conftest.$ac_ext
85957 fi
85958 ac_res=`eval echo '${'$as_ac_var'}'`
85959                { echo "$as_me:$LINENO: result: $ac_res" >&5
85960 echo "${ECHO_T}$ac_res" >&6; }
85961 if test `eval echo '${'$as_ac_var'}'` = yes; then
85962   cat >>confdefs.h <<_ACEOF
85963 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85964 _ACEOF
85965
85966 fi
85967 done
85968
85969     fi
85970   fi
85971
85972
85973
85974
85975
85976
85977   { echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
85978 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6; }
85979   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
85980     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
85981   echo $ECHO_N "(cached) $ECHO_C" >&6
85982 else
85983
85984
85985       ac_ext=cpp
85986 ac_cpp='$CXXCPP $CPPFLAGS'
85987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85990
85991       cat >conftest.$ac_ext <<_ACEOF
85992 /* confdefs.h.  */
85993 _ACEOF
85994 cat confdefs.h >>conftest.$ac_ext
85995 cat >>conftest.$ac_ext <<_ACEOF
85996 /* end confdefs.h.  */
85997 #include <math.h>
85998                       #ifdef HAVE_IEEEFP_H
85999                       #include <ieeefp.h>
86000                       #endif
86001
86002 int
86003 main ()
86004 {
86005  qfpclass(0);
86006   ;
86007   return 0;
86008 }
86009 _ACEOF
86010 rm -f conftest.$ac_objext
86011 if { (ac_try="$ac_compile"
86012 case "(($ac_try" in
86013   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
86014   *) ac_try_echo=$ac_try;;
86015 esac
86016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
86017   (eval "$ac_compile") 2>conftest.er1
86018   ac_status=$?
86019   grep -v '^ *+' conftest.er1 >conftest.err
86020   rm -f conftest.er1
86021   cat conftest.err >&5
86022   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86023   (exit $ac_status); } && {
86024          test -z "$ac_cxx_werror_flag" ||
86025          test ! -s conftest.err
86026        } && test -s conftest.$ac_objext; then
86027   glibcxx_cv_func_qfpclass_use=yes
86028 else
86029   echo "$as_me: failed program was:" >&5
86030 sed 's/^/| /' conftest.$ac_ext >&5
86031
86032         glibcxx_cv_func_qfpclass_use=no
86033 fi
86034
86035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
86036       ac_ext=c
86037 ac_cpp='$CPP $CPPFLAGS'
86038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86041
86042
86043 fi
86044
86045   fi
86046   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
86047 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6; }
86048
86049   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
86050
86051 for ac_func in qfpclass
86052 do
86053 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86054 { echo "$as_me:$LINENO: checking for $ac_func" >&5
86055 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
86056 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
86057   echo $ECHO_N "(cached) $ECHO_C" >&6
86058 else
86059   if test x$gcc_no_link = xyes; then
86060   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86061 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86062    { (exit 1); exit 1; }; }
86063 fi
86064 cat >conftest.$ac_ext <<_ACEOF
86065 /* confdefs.h.  */
86066 _ACEOF
86067 cat confdefs.h >>conftest.$ac_ext
86068 cat >>conftest.$ac_ext <<_ACEOF
86069 /* end confdefs.h.  */
86070 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86071    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
86072 #define $ac_func innocuous_$ac_func
86073
86074 /* System header to define __stub macros and hopefully few prototypes,
86075     which can conflict with char $ac_func (); below.
86076     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86077     <limits.h> exists even on freestanding compilers.  */
86078
86079 #ifdef __STDC__
86080 # include <limits.h>
86081 #else
86082 # include <assert.h>
86083 #endif
86084
86085 #undef $ac_func
86086
86087 /* Override any GCC internal prototype to avoid an error.
86088    Use char because int might match the return type of a GCC
86089    builtin and then its argument prototype would still apply.  */
86090 #ifdef __cplusplus
86091 extern "C"
86092 #endif
86093 char $ac_func ();
86094 /* The GNU C library defines this for functions which it implements
86095     to always fail with ENOSYS.  Some functions are actually named
86096     something starting with __ and the normal name is an alias.  */
86097 #if defined __stub_$ac_func || defined __stub___$ac_func
86098 choke me
86099 #endif
86100
86101 int
86102 main ()
86103 {
86104 return $ac_func ();
86105   ;
86106   return 0;
86107 }
86108 _ACEOF
86109 rm -f conftest.$ac_objext conftest$ac_exeext
86110 if { (ac_try="$ac_link"
86111 case "(($ac_try" in
86112   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
86113   *) ac_try_echo=$ac_try;;
86114 esac
86115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
86116   (eval "$ac_link") 2>conftest.er1
86117   ac_status=$?
86118   grep -v '^ *+' conftest.er1 >conftest.err
86119   rm -f conftest.er1
86120   cat conftest.err >&5
86121   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86122   (exit $ac_status); } && {
86123          test -z "$ac_c_werror_flag" ||
86124          test ! -s conftest.err
86125        } && test -s conftest$ac_exeext &&
86126        $as_test_x conftest$ac_exeext; then
86127   eval "$as_ac_var=yes"
86128 else
86129   echo "$as_me: failed program was:" >&5
86130 sed 's/^/| /' conftest.$ac_ext >&5
86131
86132         eval "$as_ac_var=no"
86133 fi
86134
86135 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
86136       conftest$ac_exeext conftest.$ac_ext
86137 fi
86138 ac_res=`eval echo '${'$as_ac_var'}'`
86139                { echo "$as_me:$LINENO: result: $ac_res" >&5
86140 echo "${ECHO_T}$ac_res" >&6; }
86141 if test `eval echo '${'$as_ac_var'}'` = yes; then
86142   cat >>confdefs.h <<_ACEOF
86143 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86144 _ACEOF
86145
86146 fi
86147 done
86148
86149   else
86150
86151   { echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
86152 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6; }
86153   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
86154     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
86155   echo $ECHO_N "(cached) $ECHO_C" >&6
86156 else
86157
86158
86159       ac_ext=cpp
86160 ac_cpp='$CXXCPP $CPPFLAGS'
86161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86164
86165       cat >conftest.$ac_ext <<_ACEOF
86166 /* confdefs.h.  */
86167 _ACEOF
86168 cat confdefs.h >>conftest.$ac_ext
86169 cat >>conftest.$ac_ext <<_ACEOF
86170 /* end confdefs.h.  */
86171 #include <math.h>
86172                       #ifdef HAVE_IEEEFP_H
86173                       #include <ieeefp.h>
86174                       #endif
86175
86176 int
86177 main ()
86178 {
86179  _qfpclass(0);
86180   ;
86181   return 0;
86182 }
86183 _ACEOF
86184 rm -f conftest.$ac_objext
86185 if { (ac_try="$ac_compile"
86186 case "(($ac_try" in
86187   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
86188   *) ac_try_echo=$ac_try;;
86189 esac
86190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
86191   (eval "$ac_compile") 2>conftest.er1
86192   ac_status=$?
86193   grep -v '^ *+' conftest.er1 >conftest.err
86194   rm -f conftest.er1
86195   cat conftest.err >&5
86196   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86197   (exit $ac_status); } && {
86198          test -z "$ac_cxx_werror_flag" ||
86199          test ! -s conftest.err
86200        } && test -s conftest.$ac_objext; then
86201   glibcxx_cv_func__qfpclass_use=yes
86202 else
86203   echo "$as_me: failed program was:" >&5
86204 sed 's/^/| /' conftest.$ac_ext >&5
86205
86206         glibcxx_cv_func__qfpclass_use=no
86207 fi
86208
86209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
86210       ac_ext=c
86211 ac_cpp='$CPP $CPPFLAGS'
86212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86215
86216
86217 fi
86218
86219   fi
86220   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
86221 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6; }
86222
86223     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
86224
86225 for ac_func in _qfpclass
86226 do
86227 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86228 { echo "$as_me:$LINENO: checking for $ac_func" >&5
86229 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
86230 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
86231   echo $ECHO_N "(cached) $ECHO_C" >&6
86232 else
86233   if test x$gcc_no_link = xyes; then
86234   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86235 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86236    { (exit 1); exit 1; }; }
86237 fi
86238 cat >conftest.$ac_ext <<_ACEOF
86239 /* confdefs.h.  */
86240 _ACEOF
86241 cat confdefs.h >>conftest.$ac_ext
86242 cat >>conftest.$ac_ext <<_ACEOF
86243 /* end confdefs.h.  */
86244 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86245    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
86246 #define $ac_func innocuous_$ac_func
86247
86248 /* System header to define __stub macros and hopefully few prototypes,
86249     which can conflict with char $ac_func (); below.
86250     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86251     <limits.h> exists even on freestanding compilers.  */
86252
86253 #ifdef __STDC__
86254 # include <limits.h>
86255 #else
86256 # include <assert.h>
86257 #endif
86258
86259 #undef $ac_func
86260
86261 /* Override any GCC internal prototype to avoid an error.
86262    Use char because int might match the return type of a GCC
86263    builtin and then its argument prototype would still apply.  */
86264 #ifdef __cplusplus
86265 extern "C"
86266 #endif
86267 char $ac_func ();
86268 /* The GNU C library defines this for functions which it implements
86269     to always fail with ENOSYS.  Some functions are actually named
86270     something starting with __ and the normal name is an alias.  */
86271 #if defined __stub_$ac_func || defined __stub___$ac_func
86272 choke me
86273 #endif
86274
86275 int
86276 main ()
86277 {
86278 return $ac_func ();
86279   ;
86280   return 0;
86281 }
86282 _ACEOF
86283 rm -f conftest.$ac_objext conftest$ac_exeext
86284 if { (ac_try="$ac_link"
86285 case "(($ac_try" in
86286   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
86287   *) ac_try_echo=$ac_try;;
86288 esac
86289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
86290   (eval "$ac_link") 2>conftest.er1
86291   ac_status=$?
86292   grep -v '^ *+' conftest.er1 >conftest.err
86293   rm -f conftest.er1
86294   cat conftest.err >&5
86295   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86296   (exit $ac_status); } && {
86297          test -z "$ac_c_werror_flag" ||
86298          test ! -s conftest.err
86299        } && test -s conftest$ac_exeext &&
86300        $as_test_x conftest$ac_exeext; then
86301   eval "$as_ac_var=yes"
86302 else
86303   echo "$as_me: failed program was:" >&5
86304 sed 's/^/| /' conftest.$ac_ext >&5
86305
86306         eval "$as_ac_var=no"
86307 fi
86308
86309 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
86310       conftest$ac_exeext conftest.$ac_ext
86311 fi
86312 ac_res=`eval echo '${'$as_ac_var'}'`
86313                { echo "$as_me:$LINENO: result: $ac_res" >&5
86314 echo "${ECHO_T}$ac_res" >&6; }
86315 if test `eval echo '${'$as_ac_var'}'` = yes; then
86316   cat >>confdefs.h <<_ACEOF
86317 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86318 _ACEOF
86319
86320 fi
86321 done
86322
86323     fi
86324   fi
86325
86326
86327
86328
86329
86330
86331   { echo "$as_me:$LINENO: checking for hypot declaration" >&5
86332 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6; }
86333   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
86334     if test "${glibcxx_cv_func_hypot_use+set}" = set; then
86335   echo $ECHO_N "(cached) $ECHO_C" >&6
86336 else
86337
86338
86339       ac_ext=cpp
86340 ac_cpp='$CXXCPP $CPPFLAGS'
86341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86344
86345       cat >conftest.$ac_ext <<_ACEOF
86346 /* confdefs.h.  */
86347 _ACEOF
86348 cat confdefs.h >>conftest.$ac_ext
86349 cat >>conftest.$ac_ext <<_ACEOF
86350 /* end confdefs.h.  */
86351 #include <math.h>
86352 int
86353 main ()
86354 {
86355  hypot(0, 0);
86356   ;
86357   return 0;
86358 }
86359 _ACEOF
86360 rm -f conftest.$ac_objext
86361 if { (ac_try="$ac_compile"
86362 case "(($ac_try" in
86363   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
86364   *) ac_try_echo=$ac_try;;
86365 esac
86366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
86367   (eval "$ac_compile") 2>conftest.er1
86368   ac_status=$?
86369   grep -v '^ *+' conftest.er1 >conftest.err
86370   rm -f conftest.er1
86371   cat conftest.err >&5
86372   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86373   (exit $ac_status); } && {
86374          test -z "$ac_cxx_werror_flag" ||
86375          test ! -s conftest.err
86376        } && test -s conftest.$ac_objext; then
86377   glibcxx_cv_func_hypot_use=yes
86378 else
86379   echo "$as_me: failed program was:" >&5
86380 sed 's/^/| /' conftest.$ac_ext >&5
86381
86382         glibcxx_cv_func_hypot_use=no
86383 fi
86384
86385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
86386       ac_ext=c
86387 ac_cpp='$CPP $CPPFLAGS'
86388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86391
86392
86393 fi
86394
86395   fi
86396   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
86397 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6; }
86398
86399   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
86400
86401 for ac_func in hypot
86402 do
86403 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86404 { echo "$as_me:$LINENO: checking for $ac_func" >&5
86405 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
86406 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
86407   echo $ECHO_N "(cached) $ECHO_C" >&6
86408 else
86409   if test x$gcc_no_link = xyes; then
86410   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86411 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86412    { (exit 1); exit 1; }; }
86413 fi
86414 cat >conftest.$ac_ext <<_ACEOF
86415 /* confdefs.h.  */
86416 _ACEOF
86417 cat confdefs.h >>conftest.$ac_ext
86418 cat >>conftest.$ac_ext <<_ACEOF
86419 /* end confdefs.h.  */
86420 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86421    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
86422 #define $ac_func innocuous_$ac_func
86423
86424 /* System header to define __stub macros and hopefully few prototypes,
86425     which can conflict with char $ac_func (); below.
86426     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86427     <limits.h> exists even on freestanding compilers.  */
86428
86429 #ifdef __STDC__
86430 # include <limits.h>
86431 #else
86432 # include <assert.h>
86433 #endif
86434
86435 #undef $ac_func
86436
86437 /* Override any GCC internal prototype to avoid an error.
86438    Use char because int might match the return type of a GCC
86439    builtin and then its argument prototype would still apply.  */
86440 #ifdef __cplusplus
86441 extern "C"
86442 #endif
86443 char $ac_func ();
86444 /* The GNU C library defines this for functions which it implements
86445     to always fail with ENOSYS.  Some functions are actually named
86446     something starting with __ and the normal name is an alias.  */
86447 #if defined __stub_$ac_func || defined __stub___$ac_func
86448 choke me
86449 #endif
86450
86451 int
86452 main ()
86453 {
86454 return $ac_func ();
86455   ;
86456   return 0;
86457 }
86458 _ACEOF
86459 rm -f conftest.$ac_objext conftest$ac_exeext
86460 if { (ac_try="$ac_link"
86461 case "(($ac_try" in
86462   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
86463   *) ac_try_echo=$ac_try;;
86464 esac
86465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
86466   (eval "$ac_link") 2>conftest.er1
86467   ac_status=$?
86468   grep -v '^ *+' conftest.er1 >conftest.err
86469   rm -f conftest.er1
86470   cat conftest.err >&5
86471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86472   (exit $ac_status); } && {
86473          test -z "$ac_c_werror_flag" ||
86474          test ! -s conftest.err
86475        } && test -s conftest$ac_exeext &&
86476        $as_test_x conftest$ac_exeext; then
86477   eval "$as_ac_var=yes"
86478 else
86479   echo "$as_me: failed program was:" >&5
86480 sed 's/^/| /' conftest.$ac_ext >&5
86481
86482         eval "$as_ac_var=no"
86483 fi
86484
86485 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
86486       conftest$ac_exeext conftest.$ac_ext
86487 fi
86488 ac_res=`eval echo '${'$as_ac_var'}'`
86489                { echo "$as_me:$LINENO: result: $ac_res" >&5
86490 echo "${ECHO_T}$ac_res" >&6; }
86491 if test `eval echo '${'$as_ac_var'}'` = yes; then
86492   cat >>confdefs.h <<_ACEOF
86493 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86494 _ACEOF
86495
86496 fi
86497 done
86498
86499   else
86500
86501   { echo "$as_me:$LINENO: checking for _hypot declaration" >&5
86502 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6; }
86503   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
86504     if test "${glibcxx_cv_func__hypot_use+set}" = set; then
86505   echo $ECHO_N "(cached) $ECHO_C" >&6
86506 else
86507
86508
86509       ac_ext=cpp
86510 ac_cpp='$CXXCPP $CPPFLAGS'
86511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86514
86515       cat >conftest.$ac_ext <<_ACEOF
86516 /* confdefs.h.  */
86517 _ACEOF
86518 cat confdefs.h >>conftest.$ac_ext
86519 cat >>conftest.$ac_ext <<_ACEOF
86520 /* end confdefs.h.  */
86521 #include <math.h>
86522 int
86523 main ()
86524 {
86525  _hypot(0, 0);
86526   ;
86527   return 0;
86528 }
86529 _ACEOF
86530 rm -f conftest.$ac_objext
86531 if { (ac_try="$ac_compile"
86532 case "(($ac_try" in
86533   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
86534   *) ac_try_echo=$ac_try;;
86535 esac
86536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
86537   (eval "$ac_compile") 2>conftest.er1
86538   ac_status=$?
86539   grep -v '^ *+' conftest.er1 >conftest.err
86540   rm -f conftest.er1
86541   cat conftest.err >&5
86542   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86543   (exit $ac_status); } && {
86544          test -z "$ac_cxx_werror_flag" ||
86545          test ! -s conftest.err
86546        } && test -s conftest.$ac_objext; then
86547   glibcxx_cv_func__hypot_use=yes
86548 else
86549   echo "$as_me: failed program was:" >&5
86550 sed 's/^/| /' conftest.$ac_ext >&5
86551
86552         glibcxx_cv_func__hypot_use=no
86553 fi
86554
86555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
86556       ac_ext=c
86557 ac_cpp='$CPP $CPPFLAGS'
86558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86561
86562
86563 fi
86564
86565   fi
86566   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
86567 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6; }
86568
86569     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
86570
86571 for ac_func in _hypot
86572 do
86573 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86574 { echo "$as_me:$LINENO: checking for $ac_func" >&5
86575 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
86576 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
86577   echo $ECHO_N "(cached) $ECHO_C" >&6
86578 else
86579   if test x$gcc_no_link = xyes; then
86580   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86581 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86582    { (exit 1); exit 1; }; }
86583 fi
86584 cat >conftest.$ac_ext <<_ACEOF
86585 /* confdefs.h.  */
86586 _ACEOF
86587 cat confdefs.h >>conftest.$ac_ext
86588 cat >>conftest.$ac_ext <<_ACEOF
86589 /* end confdefs.h.  */
86590 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86591    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
86592 #define $ac_func innocuous_$ac_func
86593
86594 /* System header to define __stub macros and hopefully few prototypes,
86595     which can conflict with char $ac_func (); below.
86596     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86597     <limits.h> exists even on freestanding compilers.  */
86598
86599 #ifdef __STDC__
86600 # include <limits.h>
86601 #else
86602 # include <assert.h>
86603 #endif
86604
86605 #undef $ac_func
86606
86607 /* Override any GCC internal prototype to avoid an error.
86608    Use char because int might match the return type of a GCC
86609    builtin and then its argument prototype would still apply.  */
86610 #ifdef __cplusplus
86611 extern "C"
86612 #endif
86613 char $ac_func ();
86614 /* The GNU C library defines this for functions which it implements
86615     to always fail with ENOSYS.  Some functions are actually named
86616     something starting with __ and the normal name is an alias.  */
86617 #if defined __stub_$ac_func || defined __stub___$ac_func
86618 choke me
86619 #endif
86620
86621 int
86622 main ()
86623 {
86624 return $ac_func ();
86625   ;
86626   return 0;
86627 }
86628 _ACEOF
86629 rm -f conftest.$ac_objext conftest$ac_exeext
86630 if { (ac_try="$ac_link"
86631 case "(($ac_try" in
86632   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
86633   *) ac_try_echo=$ac_try;;
86634 esac
86635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
86636   (eval "$ac_link") 2>conftest.er1
86637   ac_status=$?
86638   grep -v '^ *+' conftest.er1 >conftest.err
86639   rm -f conftest.er1
86640   cat conftest.err >&5
86641   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86642   (exit $ac_status); } && {
86643          test -z "$ac_c_werror_flag" ||
86644          test ! -s conftest.err
86645        } && test -s conftest$ac_exeext &&
86646        $as_test_x conftest$ac_exeext; then
86647   eval "$as_ac_var=yes"
86648 else
86649   echo "$as_me: failed program was:" >&5
86650 sed 's/^/| /' conftest.$ac_ext >&5
86651
86652         eval "$as_ac_var=no"
86653 fi
86654
86655 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
86656       conftest$ac_exeext conftest.$ac_ext
86657 fi
86658 ac_res=`eval echo '${'$as_ac_var'}'`
86659                { echo "$as_me:$LINENO: result: $ac_res" >&5
86660 echo "${ECHO_T}$ac_res" >&6; }
86661 if test `eval echo '${'$as_ac_var'}'` = yes; then
86662   cat >>confdefs.h <<_ACEOF
86663 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86664 _ACEOF
86665
86666 fi
86667 done
86668
86669     fi
86670   fi
86671
86672
86673
86674
86675
86676
86677     { echo "$as_me:$LINENO: checking for float trig functions" >&5
86678 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6; }
86679   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
86680   echo $ECHO_N "(cached) $ECHO_C" >&6
86681 else
86682
86683
86684     ac_ext=cpp
86685 ac_cpp='$CXXCPP $CPPFLAGS'
86686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86689
86690     cat >conftest.$ac_ext <<_ACEOF
86691 /* confdefs.h.  */
86692 _ACEOF
86693 cat confdefs.h >>conftest.$ac_ext
86694 cat >>conftest.$ac_ext <<_ACEOF
86695 /* end confdefs.h.  */
86696 #include <math.h>
86697 int
86698 main ()
86699 {
86700 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
86701   ;
86702   return 0;
86703 }
86704 _ACEOF
86705 rm -f conftest.$ac_objext
86706 if { (ac_try="$ac_compile"
86707 case "(($ac_try" in
86708   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
86709   *) ac_try_echo=$ac_try;;
86710 esac
86711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
86712   (eval "$ac_compile") 2>conftest.er1
86713   ac_status=$?
86714   grep -v '^ *+' conftest.er1 >conftest.err
86715   rm -f conftest.er1
86716   cat conftest.err >&5
86717   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86718   (exit $ac_status); } && {
86719          test -z "$ac_cxx_werror_flag" ||
86720          test ! -s conftest.err
86721        } && test -s conftest.$ac_objext; then
86722   glibcxx_cv_func_float_trig_use=yes
86723 else
86724   echo "$as_me: failed program was:" >&5
86725 sed 's/^/| /' conftest.$ac_ext >&5
86726
86727         glibcxx_cv_func_float_trig_use=no
86728 fi
86729
86730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
86731     ac_ext=c
86732 ac_cpp='$CPP $CPPFLAGS'
86733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86736
86737 fi
86738
86739   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
86740 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6; }
86741   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
86742
86743
86744
86745
86746
86747
86748
86749
86750
86751 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
86752 do
86753 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86754 { echo "$as_me:$LINENO: checking for $ac_func" >&5
86755 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
86756 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
86757   echo $ECHO_N "(cached) $ECHO_C" >&6
86758 else
86759   if test x$gcc_no_link = xyes; then
86760   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86761 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86762    { (exit 1); exit 1; }; }
86763 fi
86764 cat >conftest.$ac_ext <<_ACEOF
86765 /* confdefs.h.  */
86766 _ACEOF
86767 cat confdefs.h >>conftest.$ac_ext
86768 cat >>conftest.$ac_ext <<_ACEOF
86769 /* end confdefs.h.  */
86770 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86771    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
86772 #define $ac_func innocuous_$ac_func
86773
86774 /* System header to define __stub macros and hopefully few prototypes,
86775     which can conflict with char $ac_func (); below.
86776     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86777     <limits.h> exists even on freestanding compilers.  */
86778
86779 #ifdef __STDC__
86780 # include <limits.h>
86781 #else
86782 # include <assert.h>
86783 #endif
86784
86785 #undef $ac_func
86786
86787 /* Override any GCC internal prototype to avoid an error.
86788    Use char because int might match the return type of a GCC
86789    builtin and then its argument prototype would still apply.  */
86790 #ifdef __cplusplus
86791 extern "C"
86792 #endif
86793 char $ac_func ();
86794 /* The GNU C library defines this for functions which it implements
86795     to always fail with ENOSYS.  Some functions are actually named
86796     something starting with __ and the normal name is an alias.  */
86797 #if defined __stub_$ac_func || defined __stub___$ac_func
86798 choke me
86799 #endif
86800
86801 int
86802 main ()
86803 {
86804 return $ac_func ();
86805   ;
86806   return 0;
86807 }
86808 _ACEOF
86809 rm -f conftest.$ac_objext conftest$ac_exeext
86810 if { (ac_try="$ac_link"
86811 case "(($ac_try" in
86812   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
86813   *) ac_try_echo=$ac_try;;
86814 esac
86815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
86816   (eval "$ac_link") 2>conftest.er1
86817   ac_status=$?
86818   grep -v '^ *+' conftest.er1 >conftest.err
86819   rm -f conftest.er1
86820   cat conftest.err >&5
86821   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86822   (exit $ac_status); } && {
86823          test -z "$ac_c_werror_flag" ||
86824          test ! -s conftest.err
86825        } && test -s conftest$ac_exeext &&
86826        $as_test_x conftest$ac_exeext; then
86827   eval "$as_ac_var=yes"
86828 else
86829   echo "$as_me: failed program was:" >&5
86830 sed 's/^/| /' conftest.$ac_ext >&5
86831
86832         eval "$as_ac_var=no"
86833 fi
86834
86835 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
86836       conftest$ac_exeext conftest.$ac_ext
86837 fi
86838 ac_res=`eval echo '${'$as_ac_var'}'`
86839                { echo "$as_me:$LINENO: result: $ac_res" >&5
86840 echo "${ECHO_T}$ac_res" >&6; }
86841 if test `eval echo '${'$as_ac_var'}'` = yes; then
86842   cat >>confdefs.h <<_ACEOF
86843 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86844 _ACEOF
86845
86846 fi
86847 done
86848
86849   else
86850     { echo "$as_me:$LINENO: checking for _float trig functions" >&5
86851 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6; }
86852     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
86853   echo $ECHO_N "(cached) $ECHO_C" >&6
86854 else
86855
86856
86857       ac_ext=cpp
86858 ac_cpp='$CXXCPP $CPPFLAGS'
86859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86862
86863       cat >conftest.$ac_ext <<_ACEOF
86864 /* confdefs.h.  */
86865 _ACEOF
86866 cat confdefs.h >>conftest.$ac_ext
86867 cat >>conftest.$ac_ext <<_ACEOF
86868 /* end confdefs.h.  */
86869 #include <math.h>
86870 int
86871 main ()
86872 {
86873 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
86874   ;
86875   return 0;
86876 }
86877 _ACEOF
86878 rm -f conftest.$ac_objext
86879 if { (ac_try="$ac_compile"
86880 case "(($ac_try" in
86881   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
86882   *) ac_try_echo=$ac_try;;
86883 esac
86884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
86885   (eval "$ac_compile") 2>conftest.er1
86886   ac_status=$?
86887   grep -v '^ *+' conftest.er1 >conftest.err
86888   rm -f conftest.er1
86889   cat conftest.err >&5
86890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86891   (exit $ac_status); } && {
86892          test -z "$ac_cxx_werror_flag" ||
86893          test ! -s conftest.err
86894        } && test -s conftest.$ac_objext; then
86895   glibcxx_cv_func__float_trig_use=yes
86896 else
86897   echo "$as_me: failed program was:" >&5
86898 sed 's/^/| /' conftest.$ac_ext >&5
86899
86900         glibcxx_cv_func__float_trig_use=no
86901 fi
86902
86903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
86904       ac_ext=c
86905 ac_cpp='$CPP $CPPFLAGS'
86906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86909
86910 fi
86911
86912     { echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
86913 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6; }
86914     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
86915
86916
86917
86918
86919
86920
86921
86922
86923
86924 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
86925 do
86926 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86927 { echo "$as_me:$LINENO: checking for $ac_func" >&5
86928 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
86929 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
86930   echo $ECHO_N "(cached) $ECHO_C" >&6
86931 else
86932   if test x$gcc_no_link = xyes; then
86933   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86934 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86935    { (exit 1); exit 1; }; }
86936 fi
86937 cat >conftest.$ac_ext <<_ACEOF
86938 /* confdefs.h.  */
86939 _ACEOF
86940 cat confdefs.h >>conftest.$ac_ext
86941 cat >>conftest.$ac_ext <<_ACEOF
86942 /* end confdefs.h.  */
86943 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86944    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
86945 #define $ac_func innocuous_$ac_func
86946
86947 /* System header to define __stub macros and hopefully few prototypes,
86948     which can conflict with char $ac_func (); below.
86949     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86950     <limits.h> exists even on freestanding compilers.  */
86951
86952 #ifdef __STDC__
86953 # include <limits.h>
86954 #else
86955 # include <assert.h>
86956 #endif
86957
86958 #undef $ac_func
86959
86960 /* Override any GCC internal prototype to avoid an error.
86961    Use char because int might match the return type of a GCC
86962    builtin and then its argument prototype would still apply.  */
86963 #ifdef __cplusplus
86964 extern "C"
86965 #endif
86966 char $ac_func ();
86967 /* The GNU C library defines this for functions which it implements
86968     to always fail with ENOSYS.  Some functions are actually named
86969     something starting with __ and the normal name is an alias.  */
86970 #if defined __stub_$ac_func || defined __stub___$ac_func
86971 choke me
86972 #endif
86973
86974 int
86975 main ()
86976 {
86977 return $ac_func ();
86978   ;
86979   return 0;
86980 }
86981 _ACEOF
86982 rm -f conftest.$ac_objext conftest$ac_exeext
86983 if { (ac_try="$ac_link"
86984 case "(($ac_try" in
86985   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
86986   *) ac_try_echo=$ac_try;;
86987 esac
86988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
86989   (eval "$ac_link") 2>conftest.er1
86990   ac_status=$?
86991   grep -v '^ *+' conftest.er1 >conftest.err
86992   rm -f conftest.er1
86993   cat conftest.err >&5
86994   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86995   (exit $ac_status); } && {
86996          test -z "$ac_c_werror_flag" ||
86997          test ! -s conftest.err
86998        } && test -s conftest$ac_exeext &&
86999        $as_test_x conftest$ac_exeext; then
87000   eval "$as_ac_var=yes"
87001 else
87002   echo "$as_me: failed program was:" >&5
87003 sed 's/^/| /' conftest.$ac_ext >&5
87004
87005         eval "$as_ac_var=no"
87006 fi
87007
87008 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
87009       conftest$ac_exeext conftest.$ac_ext
87010 fi
87011 ac_res=`eval echo '${'$as_ac_var'}'`
87012                { echo "$as_me:$LINENO: result: $ac_res" >&5
87013 echo "${ECHO_T}$ac_res" >&6; }
87014 if test `eval echo '${'$as_ac_var'}'` = yes; then
87015   cat >>confdefs.h <<_ACEOF
87016 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87017 _ACEOF
87018
87019 fi
87020 done
87021
87022     fi
87023   fi
87024
87025
87026
87027
87028
87029
87030
87031
87032
87033
87034
87035
87036
87037
87038     { echo "$as_me:$LINENO: checking for float round functions" >&5
87039 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6; }
87040   if test "${glibcxx_cv_func_float_round_use+set}" = set; then
87041   echo $ECHO_N "(cached) $ECHO_C" >&6
87042 else
87043
87044
87045     ac_ext=cpp
87046 ac_cpp='$CXXCPP $CPPFLAGS'
87047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87050
87051     cat >conftest.$ac_ext <<_ACEOF
87052 /* confdefs.h.  */
87053 _ACEOF
87054 cat confdefs.h >>conftest.$ac_ext
87055 cat >>conftest.$ac_ext <<_ACEOF
87056 /* end confdefs.h.  */
87057 #include <math.h>
87058 int
87059 main ()
87060 {
87061 ceilf (0); floorf (0);
87062   ;
87063   return 0;
87064 }
87065 _ACEOF
87066 rm -f conftest.$ac_objext
87067 if { (ac_try="$ac_compile"
87068 case "(($ac_try" in
87069   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
87070   *) ac_try_echo=$ac_try;;
87071 esac
87072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
87073   (eval "$ac_compile") 2>conftest.er1
87074   ac_status=$?
87075   grep -v '^ *+' conftest.er1 >conftest.err
87076   rm -f conftest.er1
87077   cat conftest.err >&5
87078   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87079   (exit $ac_status); } && {
87080          test -z "$ac_cxx_werror_flag" ||
87081          test ! -s conftest.err
87082        } && test -s conftest.$ac_objext; then
87083   glibcxx_cv_func_float_round_use=yes
87084 else
87085   echo "$as_me: failed program was:" >&5
87086 sed 's/^/| /' conftest.$ac_ext >&5
87087
87088         glibcxx_cv_func_float_round_use=no
87089 fi
87090
87091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
87092     ac_ext=c
87093 ac_cpp='$CPP $CPPFLAGS'
87094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87097
87098 fi
87099
87100   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
87101 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6; }
87102   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
87103
87104
87105 for ac_func in ceilf floorf
87106 do
87107 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87108 { echo "$as_me:$LINENO: checking for $ac_func" >&5
87109 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
87110 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
87111   echo $ECHO_N "(cached) $ECHO_C" >&6
87112 else
87113   if test x$gcc_no_link = xyes; then
87114   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87115 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87116    { (exit 1); exit 1; }; }
87117 fi
87118 cat >conftest.$ac_ext <<_ACEOF
87119 /* confdefs.h.  */
87120 _ACEOF
87121 cat confdefs.h >>conftest.$ac_ext
87122 cat >>conftest.$ac_ext <<_ACEOF
87123 /* end confdefs.h.  */
87124 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87125    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
87126 #define $ac_func innocuous_$ac_func
87127
87128 /* System header to define __stub macros and hopefully few prototypes,
87129     which can conflict with char $ac_func (); below.
87130     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87131     <limits.h> exists even on freestanding compilers.  */
87132
87133 #ifdef __STDC__
87134 # include <limits.h>
87135 #else
87136 # include <assert.h>
87137 #endif
87138
87139 #undef $ac_func
87140
87141 /* Override any GCC internal prototype to avoid an error.
87142    Use char because int might match the return type of a GCC
87143    builtin and then its argument prototype would still apply.  */
87144 #ifdef __cplusplus
87145 extern "C"
87146 #endif
87147 char $ac_func ();
87148 /* The GNU C library defines this for functions which it implements
87149     to always fail with ENOSYS.  Some functions are actually named
87150     something starting with __ and the normal name is an alias.  */
87151 #if defined __stub_$ac_func || defined __stub___$ac_func
87152 choke me
87153 #endif
87154
87155 int
87156 main ()
87157 {
87158 return $ac_func ();
87159   ;
87160   return 0;
87161 }
87162 _ACEOF
87163 rm -f conftest.$ac_objext conftest$ac_exeext
87164 if { (ac_try="$ac_link"
87165 case "(($ac_try" in
87166   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
87167   *) ac_try_echo=$ac_try;;
87168 esac
87169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
87170   (eval "$ac_link") 2>conftest.er1
87171   ac_status=$?
87172   grep -v '^ *+' conftest.er1 >conftest.err
87173   rm -f conftest.er1
87174   cat conftest.err >&5
87175   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87176   (exit $ac_status); } && {
87177          test -z "$ac_c_werror_flag" ||
87178          test ! -s conftest.err
87179        } && test -s conftest$ac_exeext &&
87180        $as_test_x conftest$ac_exeext; then
87181   eval "$as_ac_var=yes"
87182 else
87183   echo "$as_me: failed program was:" >&5
87184 sed 's/^/| /' conftest.$ac_ext >&5
87185
87186         eval "$as_ac_var=no"
87187 fi
87188
87189 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
87190       conftest$ac_exeext conftest.$ac_ext
87191 fi
87192 ac_res=`eval echo '${'$as_ac_var'}'`
87193                { echo "$as_me:$LINENO: result: $ac_res" >&5
87194 echo "${ECHO_T}$ac_res" >&6; }
87195 if test `eval echo '${'$as_ac_var'}'` = yes; then
87196   cat >>confdefs.h <<_ACEOF
87197 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87198 _ACEOF
87199
87200 fi
87201 done
87202
87203   else
87204     { echo "$as_me:$LINENO: checking for _float round functions" >&5
87205 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6; }
87206     if test "${glibcxx_cv_func__float_round_use+set}" = set; then
87207   echo $ECHO_N "(cached) $ECHO_C" >&6
87208 else
87209
87210
87211       ac_ext=cpp
87212 ac_cpp='$CXXCPP $CPPFLAGS'
87213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87216
87217       cat >conftest.$ac_ext <<_ACEOF
87218 /* confdefs.h.  */
87219 _ACEOF
87220 cat confdefs.h >>conftest.$ac_ext
87221 cat >>conftest.$ac_ext <<_ACEOF
87222 /* end confdefs.h.  */
87223 #include <math.h>
87224 int
87225 main ()
87226 {
87227 _ceilf (0); _floorf (0);
87228   ;
87229   return 0;
87230 }
87231 _ACEOF
87232 rm -f conftest.$ac_objext
87233 if { (ac_try="$ac_compile"
87234 case "(($ac_try" in
87235   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
87236   *) ac_try_echo=$ac_try;;
87237 esac
87238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
87239   (eval "$ac_compile") 2>conftest.er1
87240   ac_status=$?
87241   grep -v '^ *+' conftest.er1 >conftest.err
87242   rm -f conftest.er1
87243   cat conftest.err >&5
87244   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87245   (exit $ac_status); } && {
87246          test -z "$ac_cxx_werror_flag" ||
87247          test ! -s conftest.err
87248        } && test -s conftest.$ac_objext; then
87249   glibcxx_cv_func__float_round_use=yes
87250 else
87251   echo "$as_me: failed program was:" >&5
87252 sed 's/^/| /' conftest.$ac_ext >&5
87253
87254         glibcxx_cv_func__float_round_use=no
87255 fi
87256
87257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
87258       ac_ext=c
87259 ac_cpp='$CPP $CPPFLAGS'
87260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87263
87264 fi
87265
87266     { echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
87267 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6; }
87268     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
87269
87270
87271 for ac_func in _ceilf _floorf
87272 do
87273 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87274 { echo "$as_me:$LINENO: checking for $ac_func" >&5
87275 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
87276 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
87277   echo $ECHO_N "(cached) $ECHO_C" >&6
87278 else
87279   if test x$gcc_no_link = xyes; then
87280   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87281 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87282    { (exit 1); exit 1; }; }
87283 fi
87284 cat >conftest.$ac_ext <<_ACEOF
87285 /* confdefs.h.  */
87286 _ACEOF
87287 cat confdefs.h >>conftest.$ac_ext
87288 cat >>conftest.$ac_ext <<_ACEOF
87289 /* end confdefs.h.  */
87290 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87291    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
87292 #define $ac_func innocuous_$ac_func
87293
87294 /* System header to define __stub macros and hopefully few prototypes,
87295     which can conflict with char $ac_func (); below.
87296     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87297     <limits.h> exists even on freestanding compilers.  */
87298
87299 #ifdef __STDC__
87300 # include <limits.h>
87301 #else
87302 # include <assert.h>
87303 #endif
87304
87305 #undef $ac_func
87306
87307 /* Override any GCC internal prototype to avoid an error.
87308    Use char because int might match the return type of a GCC
87309    builtin and then its argument prototype would still apply.  */
87310 #ifdef __cplusplus
87311 extern "C"
87312 #endif
87313 char $ac_func ();
87314 /* The GNU C library defines this for functions which it implements
87315     to always fail with ENOSYS.  Some functions are actually named
87316     something starting with __ and the normal name is an alias.  */
87317 #if defined __stub_$ac_func || defined __stub___$ac_func
87318 choke me
87319 #endif
87320
87321 int
87322 main ()
87323 {
87324 return $ac_func ();
87325   ;
87326   return 0;
87327 }
87328 _ACEOF
87329 rm -f conftest.$ac_objext conftest$ac_exeext
87330 if { (ac_try="$ac_link"
87331 case "(($ac_try" in
87332   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
87333   *) ac_try_echo=$ac_try;;
87334 esac
87335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
87336   (eval "$ac_link") 2>conftest.er1
87337   ac_status=$?
87338   grep -v '^ *+' conftest.er1 >conftest.err
87339   rm -f conftest.er1
87340   cat conftest.err >&5
87341   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87342   (exit $ac_status); } && {
87343          test -z "$ac_c_werror_flag" ||
87344          test ! -s conftest.err
87345        } && test -s conftest$ac_exeext &&
87346        $as_test_x conftest$ac_exeext; then
87347   eval "$as_ac_var=yes"
87348 else
87349   echo "$as_me: failed program was:" >&5
87350 sed 's/^/| /' conftest.$ac_ext >&5
87351
87352         eval "$as_ac_var=no"
87353 fi
87354
87355 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
87356       conftest$ac_exeext conftest.$ac_ext
87357 fi
87358 ac_res=`eval echo '${'$as_ac_var'}'`
87359                { echo "$as_me:$LINENO: result: $ac_res" >&5
87360 echo "${ECHO_T}$ac_res" >&6; }
87361 if test `eval echo '${'$as_ac_var'}'` = yes; then
87362   cat >>confdefs.h <<_ACEOF
87363 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87364 _ACEOF
87365
87366 fi
87367 done
87368
87369     fi
87370   fi
87371
87372
87373
87374
87375
87376
87377
87378
87379   { echo "$as_me:$LINENO: checking for expf declaration" >&5
87380 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6; }
87381   if test x${glibcxx_cv_func_expf_use+set} != xset; then
87382     if test "${glibcxx_cv_func_expf_use+set}" = set; then
87383   echo $ECHO_N "(cached) $ECHO_C" >&6
87384 else
87385
87386
87387       ac_ext=cpp
87388 ac_cpp='$CXXCPP $CPPFLAGS'
87389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87392
87393       cat >conftest.$ac_ext <<_ACEOF
87394 /* confdefs.h.  */
87395 _ACEOF
87396 cat confdefs.h >>conftest.$ac_ext
87397 cat >>conftest.$ac_ext <<_ACEOF
87398 /* end confdefs.h.  */
87399 #include <math.h>
87400                       #ifdef HAVE_IEEEFP_H
87401                       #include <ieeefp.h>
87402                       #endif
87403
87404 int
87405 main ()
87406 {
87407  expf(0);
87408   ;
87409   return 0;
87410 }
87411 _ACEOF
87412 rm -f conftest.$ac_objext
87413 if { (ac_try="$ac_compile"
87414 case "(($ac_try" in
87415   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
87416   *) ac_try_echo=$ac_try;;
87417 esac
87418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
87419   (eval "$ac_compile") 2>conftest.er1
87420   ac_status=$?
87421   grep -v '^ *+' conftest.er1 >conftest.err
87422   rm -f conftest.er1
87423   cat conftest.err >&5
87424   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87425   (exit $ac_status); } && {
87426          test -z "$ac_cxx_werror_flag" ||
87427          test ! -s conftest.err
87428        } && test -s conftest.$ac_objext; then
87429   glibcxx_cv_func_expf_use=yes
87430 else
87431   echo "$as_me: failed program was:" >&5
87432 sed 's/^/| /' conftest.$ac_ext >&5
87433
87434         glibcxx_cv_func_expf_use=no
87435 fi
87436
87437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
87438       ac_ext=c
87439 ac_cpp='$CPP $CPPFLAGS'
87440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87443
87444
87445 fi
87446
87447   fi
87448   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
87449 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6; }
87450
87451   if test x$glibcxx_cv_func_expf_use = x"yes"; then
87452
87453 for ac_func in expf
87454 do
87455 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87456 { echo "$as_me:$LINENO: checking for $ac_func" >&5
87457 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
87458 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
87459   echo $ECHO_N "(cached) $ECHO_C" >&6
87460 else
87461   if test x$gcc_no_link = xyes; then
87462   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87463 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87464    { (exit 1); exit 1; }; }
87465 fi
87466 cat >conftest.$ac_ext <<_ACEOF
87467 /* confdefs.h.  */
87468 _ACEOF
87469 cat confdefs.h >>conftest.$ac_ext
87470 cat >>conftest.$ac_ext <<_ACEOF
87471 /* end confdefs.h.  */
87472 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87473    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
87474 #define $ac_func innocuous_$ac_func
87475
87476 /* System header to define __stub macros and hopefully few prototypes,
87477     which can conflict with char $ac_func (); below.
87478     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87479     <limits.h> exists even on freestanding compilers.  */
87480
87481 #ifdef __STDC__
87482 # include <limits.h>
87483 #else
87484 # include <assert.h>
87485 #endif
87486
87487 #undef $ac_func
87488
87489 /* Override any GCC internal prototype to avoid an error.
87490    Use char because int might match the return type of a GCC
87491    builtin and then its argument prototype would still apply.  */
87492 #ifdef __cplusplus
87493 extern "C"
87494 #endif
87495 char $ac_func ();
87496 /* The GNU C library defines this for functions which it implements
87497     to always fail with ENOSYS.  Some functions are actually named
87498     something starting with __ and the normal name is an alias.  */
87499 #if defined __stub_$ac_func || defined __stub___$ac_func
87500 choke me
87501 #endif
87502
87503 int
87504 main ()
87505 {
87506 return $ac_func ();
87507   ;
87508   return 0;
87509 }
87510 _ACEOF
87511 rm -f conftest.$ac_objext conftest$ac_exeext
87512 if { (ac_try="$ac_link"
87513 case "(($ac_try" in
87514   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
87515   *) ac_try_echo=$ac_try;;
87516 esac
87517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
87518   (eval "$ac_link") 2>conftest.er1
87519   ac_status=$?
87520   grep -v '^ *+' conftest.er1 >conftest.err
87521   rm -f conftest.er1
87522   cat conftest.err >&5
87523   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87524   (exit $ac_status); } && {
87525          test -z "$ac_c_werror_flag" ||
87526          test ! -s conftest.err
87527        } && test -s conftest$ac_exeext &&
87528        $as_test_x conftest$ac_exeext; then
87529   eval "$as_ac_var=yes"
87530 else
87531   echo "$as_me: failed program was:" >&5
87532 sed 's/^/| /' conftest.$ac_ext >&5
87533
87534         eval "$as_ac_var=no"
87535 fi
87536
87537 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
87538       conftest$ac_exeext conftest.$ac_ext
87539 fi
87540 ac_res=`eval echo '${'$as_ac_var'}'`
87541                { echo "$as_me:$LINENO: result: $ac_res" >&5
87542 echo "${ECHO_T}$ac_res" >&6; }
87543 if test `eval echo '${'$as_ac_var'}'` = yes; then
87544   cat >>confdefs.h <<_ACEOF
87545 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87546 _ACEOF
87547
87548 fi
87549 done
87550
87551   else
87552
87553   { echo "$as_me:$LINENO: checking for _expf declaration" >&5
87554 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6; }
87555   if test x${glibcxx_cv_func__expf_use+set} != xset; then
87556     if test "${glibcxx_cv_func__expf_use+set}" = set; then
87557   echo $ECHO_N "(cached) $ECHO_C" >&6
87558 else
87559
87560
87561       ac_ext=cpp
87562 ac_cpp='$CXXCPP $CPPFLAGS'
87563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87566
87567       cat >conftest.$ac_ext <<_ACEOF
87568 /* confdefs.h.  */
87569 _ACEOF
87570 cat confdefs.h >>conftest.$ac_ext
87571 cat >>conftest.$ac_ext <<_ACEOF
87572 /* end confdefs.h.  */
87573 #include <math.h>
87574                       #ifdef HAVE_IEEEFP_H
87575                       #include <ieeefp.h>
87576                       #endif
87577
87578 int
87579 main ()
87580 {
87581  _expf(0);
87582   ;
87583   return 0;
87584 }
87585 _ACEOF
87586 rm -f conftest.$ac_objext
87587 if { (ac_try="$ac_compile"
87588 case "(($ac_try" in
87589   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
87590   *) ac_try_echo=$ac_try;;
87591 esac
87592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
87593   (eval "$ac_compile") 2>conftest.er1
87594   ac_status=$?
87595   grep -v '^ *+' conftest.er1 >conftest.err
87596   rm -f conftest.er1
87597   cat conftest.err >&5
87598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87599   (exit $ac_status); } && {
87600          test -z "$ac_cxx_werror_flag" ||
87601          test ! -s conftest.err
87602        } && test -s conftest.$ac_objext; then
87603   glibcxx_cv_func__expf_use=yes
87604 else
87605   echo "$as_me: failed program was:" >&5
87606 sed 's/^/| /' conftest.$ac_ext >&5
87607
87608         glibcxx_cv_func__expf_use=no
87609 fi
87610
87611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
87612       ac_ext=c
87613 ac_cpp='$CPP $CPPFLAGS'
87614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87617
87618
87619 fi
87620
87621   fi
87622   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
87623 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6; }
87624
87625     if test x$glibcxx_cv_func__expf_use = x"yes"; then
87626
87627 for ac_func in _expf
87628 do
87629 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87630 { echo "$as_me:$LINENO: checking for $ac_func" >&5
87631 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
87632 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
87633   echo $ECHO_N "(cached) $ECHO_C" >&6
87634 else
87635   if test x$gcc_no_link = xyes; then
87636   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87637 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87638    { (exit 1); exit 1; }; }
87639 fi
87640 cat >conftest.$ac_ext <<_ACEOF
87641 /* confdefs.h.  */
87642 _ACEOF
87643 cat confdefs.h >>conftest.$ac_ext
87644 cat >>conftest.$ac_ext <<_ACEOF
87645 /* end confdefs.h.  */
87646 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87647    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
87648 #define $ac_func innocuous_$ac_func
87649
87650 /* System header to define __stub macros and hopefully few prototypes,
87651     which can conflict with char $ac_func (); below.
87652     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87653     <limits.h> exists even on freestanding compilers.  */
87654
87655 #ifdef __STDC__
87656 # include <limits.h>
87657 #else
87658 # include <assert.h>
87659 #endif
87660
87661 #undef $ac_func
87662
87663 /* Override any GCC internal prototype to avoid an error.
87664    Use char because int might match the return type of a GCC
87665    builtin and then its argument prototype would still apply.  */
87666 #ifdef __cplusplus
87667 extern "C"
87668 #endif
87669 char $ac_func ();
87670 /* The GNU C library defines this for functions which it implements
87671     to always fail with ENOSYS.  Some functions are actually named
87672     something starting with __ and the normal name is an alias.  */
87673 #if defined __stub_$ac_func || defined __stub___$ac_func
87674 choke me
87675 #endif
87676
87677 int
87678 main ()
87679 {
87680 return $ac_func ();
87681   ;
87682   return 0;
87683 }
87684 _ACEOF
87685 rm -f conftest.$ac_objext conftest$ac_exeext
87686 if { (ac_try="$ac_link"
87687 case "(($ac_try" in
87688   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
87689   *) ac_try_echo=$ac_try;;
87690 esac
87691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
87692   (eval "$ac_link") 2>conftest.er1
87693   ac_status=$?
87694   grep -v '^ *+' conftest.er1 >conftest.err
87695   rm -f conftest.er1
87696   cat conftest.err >&5
87697   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87698   (exit $ac_status); } && {
87699          test -z "$ac_c_werror_flag" ||
87700          test ! -s conftest.err
87701        } && test -s conftest$ac_exeext &&
87702        $as_test_x conftest$ac_exeext; then
87703   eval "$as_ac_var=yes"
87704 else
87705   echo "$as_me: failed program was:" >&5
87706 sed 's/^/| /' conftest.$ac_ext >&5
87707
87708         eval "$as_ac_var=no"
87709 fi
87710
87711 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
87712       conftest$ac_exeext conftest.$ac_ext
87713 fi
87714 ac_res=`eval echo '${'$as_ac_var'}'`
87715                { echo "$as_me:$LINENO: result: $ac_res" >&5
87716 echo "${ECHO_T}$ac_res" >&6; }
87717 if test `eval echo '${'$as_ac_var'}'` = yes; then
87718   cat >>confdefs.h <<_ACEOF
87719 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87720 _ACEOF
87721
87722 fi
87723 done
87724
87725     fi
87726   fi
87727
87728
87729
87730
87731
87732
87733   { echo "$as_me:$LINENO: checking for isnanf declaration" >&5
87734 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6; }
87735   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
87736     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
87737   echo $ECHO_N "(cached) $ECHO_C" >&6
87738 else
87739
87740
87741       ac_ext=cpp
87742 ac_cpp='$CXXCPP $CPPFLAGS'
87743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87746
87747       cat >conftest.$ac_ext <<_ACEOF
87748 /* confdefs.h.  */
87749 _ACEOF
87750 cat confdefs.h >>conftest.$ac_ext
87751 cat >>conftest.$ac_ext <<_ACEOF
87752 /* end confdefs.h.  */
87753 #include <math.h>
87754                       #ifdef HAVE_IEEEFP_H
87755                       #include <ieeefp.h>
87756                       #endif
87757
87758 int
87759 main ()
87760 {
87761  isnanf(0);
87762   ;
87763   return 0;
87764 }
87765 _ACEOF
87766 rm -f conftest.$ac_objext
87767 if { (ac_try="$ac_compile"
87768 case "(($ac_try" in
87769   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
87770   *) ac_try_echo=$ac_try;;
87771 esac
87772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
87773   (eval "$ac_compile") 2>conftest.er1
87774   ac_status=$?
87775   grep -v '^ *+' conftest.er1 >conftest.err
87776   rm -f conftest.er1
87777   cat conftest.err >&5
87778   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87779   (exit $ac_status); } && {
87780          test -z "$ac_cxx_werror_flag" ||
87781          test ! -s conftest.err
87782        } && test -s conftest.$ac_objext; then
87783   glibcxx_cv_func_isnanf_use=yes
87784 else
87785   echo "$as_me: failed program was:" >&5
87786 sed 's/^/| /' conftest.$ac_ext >&5
87787
87788         glibcxx_cv_func_isnanf_use=no
87789 fi
87790
87791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
87792       ac_ext=c
87793 ac_cpp='$CPP $CPPFLAGS'
87794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87797
87798
87799 fi
87800
87801   fi
87802   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
87803 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6; }
87804
87805   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
87806
87807 for ac_func in isnanf
87808 do
87809 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87810 { echo "$as_me:$LINENO: checking for $ac_func" >&5
87811 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
87812 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
87813   echo $ECHO_N "(cached) $ECHO_C" >&6
87814 else
87815   if test x$gcc_no_link = xyes; then
87816   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87817 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87818    { (exit 1); exit 1; }; }
87819 fi
87820 cat >conftest.$ac_ext <<_ACEOF
87821 /* confdefs.h.  */
87822 _ACEOF
87823 cat confdefs.h >>conftest.$ac_ext
87824 cat >>conftest.$ac_ext <<_ACEOF
87825 /* end confdefs.h.  */
87826 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87827    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
87828 #define $ac_func innocuous_$ac_func
87829
87830 /* System header to define __stub macros and hopefully few prototypes,
87831     which can conflict with char $ac_func (); below.
87832     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87833     <limits.h> exists even on freestanding compilers.  */
87834
87835 #ifdef __STDC__
87836 # include <limits.h>
87837 #else
87838 # include <assert.h>
87839 #endif
87840
87841 #undef $ac_func
87842
87843 /* Override any GCC internal prototype to avoid an error.
87844    Use char because int might match the return type of a GCC
87845    builtin and then its argument prototype would still apply.  */
87846 #ifdef __cplusplus
87847 extern "C"
87848 #endif
87849 char $ac_func ();
87850 /* The GNU C library defines this for functions which it implements
87851     to always fail with ENOSYS.  Some functions are actually named
87852     something starting with __ and the normal name is an alias.  */
87853 #if defined __stub_$ac_func || defined __stub___$ac_func
87854 choke me
87855 #endif
87856
87857 int
87858 main ()
87859 {
87860 return $ac_func ();
87861   ;
87862   return 0;
87863 }
87864 _ACEOF
87865 rm -f conftest.$ac_objext conftest$ac_exeext
87866 if { (ac_try="$ac_link"
87867 case "(($ac_try" in
87868   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
87869   *) ac_try_echo=$ac_try;;
87870 esac
87871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
87872   (eval "$ac_link") 2>conftest.er1
87873   ac_status=$?
87874   grep -v '^ *+' conftest.er1 >conftest.err
87875   rm -f conftest.er1
87876   cat conftest.err >&5
87877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87878   (exit $ac_status); } && {
87879          test -z "$ac_c_werror_flag" ||
87880          test ! -s conftest.err
87881        } && test -s conftest$ac_exeext &&
87882        $as_test_x conftest$ac_exeext; then
87883   eval "$as_ac_var=yes"
87884 else
87885   echo "$as_me: failed program was:" >&5
87886 sed 's/^/| /' conftest.$ac_ext >&5
87887
87888         eval "$as_ac_var=no"
87889 fi
87890
87891 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
87892       conftest$ac_exeext conftest.$ac_ext
87893 fi
87894 ac_res=`eval echo '${'$as_ac_var'}'`
87895                { echo "$as_me:$LINENO: result: $ac_res" >&5
87896 echo "${ECHO_T}$ac_res" >&6; }
87897 if test `eval echo '${'$as_ac_var'}'` = yes; then
87898   cat >>confdefs.h <<_ACEOF
87899 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87900 _ACEOF
87901
87902 fi
87903 done
87904
87905   else
87906
87907   { echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
87908 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6; }
87909   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
87910     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
87911   echo $ECHO_N "(cached) $ECHO_C" >&6
87912 else
87913
87914
87915       ac_ext=cpp
87916 ac_cpp='$CXXCPP $CPPFLAGS'
87917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87920
87921       cat >conftest.$ac_ext <<_ACEOF
87922 /* confdefs.h.  */
87923 _ACEOF
87924 cat confdefs.h >>conftest.$ac_ext
87925 cat >>conftest.$ac_ext <<_ACEOF
87926 /* end confdefs.h.  */
87927 #include <math.h>
87928                       #ifdef HAVE_IEEEFP_H
87929                       #include <ieeefp.h>
87930                       #endif
87931
87932 int
87933 main ()
87934 {
87935  _isnanf(0);
87936   ;
87937   return 0;
87938 }
87939 _ACEOF
87940 rm -f conftest.$ac_objext
87941 if { (ac_try="$ac_compile"
87942 case "(($ac_try" in
87943   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
87944   *) ac_try_echo=$ac_try;;
87945 esac
87946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
87947   (eval "$ac_compile") 2>conftest.er1
87948   ac_status=$?
87949   grep -v '^ *+' conftest.er1 >conftest.err
87950   rm -f conftest.er1
87951   cat conftest.err >&5
87952   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87953   (exit $ac_status); } && {
87954          test -z "$ac_cxx_werror_flag" ||
87955          test ! -s conftest.err
87956        } && test -s conftest.$ac_objext; then
87957   glibcxx_cv_func__isnanf_use=yes
87958 else
87959   echo "$as_me: failed program was:" >&5
87960 sed 's/^/| /' conftest.$ac_ext >&5
87961
87962         glibcxx_cv_func__isnanf_use=no
87963 fi
87964
87965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
87966       ac_ext=c
87967 ac_cpp='$CPP $CPPFLAGS'
87968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87971
87972
87973 fi
87974
87975   fi
87976   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
87977 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6; }
87978
87979     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
87980
87981 for ac_func in _isnanf
87982 do
87983 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87984 { echo "$as_me:$LINENO: checking for $ac_func" >&5
87985 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
87986 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
87987   echo $ECHO_N "(cached) $ECHO_C" >&6
87988 else
87989   if test x$gcc_no_link = xyes; then
87990   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87991 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87992    { (exit 1); exit 1; }; }
87993 fi
87994 cat >conftest.$ac_ext <<_ACEOF
87995 /* confdefs.h.  */
87996 _ACEOF
87997 cat confdefs.h >>conftest.$ac_ext
87998 cat >>conftest.$ac_ext <<_ACEOF
87999 /* end confdefs.h.  */
88000 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88001    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
88002 #define $ac_func innocuous_$ac_func
88003
88004 /* System header to define __stub macros and hopefully few prototypes,
88005     which can conflict with char $ac_func (); below.
88006     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88007     <limits.h> exists even on freestanding compilers.  */
88008
88009 #ifdef __STDC__
88010 # include <limits.h>
88011 #else
88012 # include <assert.h>
88013 #endif
88014
88015 #undef $ac_func
88016
88017 /* Override any GCC internal prototype to avoid an error.
88018    Use char because int might match the return type of a GCC
88019    builtin and then its argument prototype would still apply.  */
88020 #ifdef __cplusplus
88021 extern "C"
88022 #endif
88023 char $ac_func ();
88024 /* The GNU C library defines this for functions which it implements
88025     to always fail with ENOSYS.  Some functions are actually named
88026     something starting with __ and the normal name is an alias.  */
88027 #if defined __stub_$ac_func || defined __stub___$ac_func
88028 choke me
88029 #endif
88030
88031 int
88032 main ()
88033 {
88034 return $ac_func ();
88035   ;
88036   return 0;
88037 }
88038 _ACEOF
88039 rm -f conftest.$ac_objext conftest$ac_exeext
88040 if { (ac_try="$ac_link"
88041 case "(($ac_try" in
88042   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
88043   *) ac_try_echo=$ac_try;;
88044 esac
88045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
88046   (eval "$ac_link") 2>conftest.er1
88047   ac_status=$?
88048   grep -v '^ *+' conftest.er1 >conftest.err
88049   rm -f conftest.er1
88050   cat conftest.err >&5
88051   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88052   (exit $ac_status); } && {
88053          test -z "$ac_c_werror_flag" ||
88054          test ! -s conftest.err
88055        } && test -s conftest$ac_exeext &&
88056        $as_test_x conftest$ac_exeext; then
88057   eval "$as_ac_var=yes"
88058 else
88059   echo "$as_me: failed program was:" >&5
88060 sed 's/^/| /' conftest.$ac_ext >&5
88061
88062         eval "$as_ac_var=no"
88063 fi
88064
88065 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
88066       conftest$ac_exeext conftest.$ac_ext
88067 fi
88068 ac_res=`eval echo '${'$as_ac_var'}'`
88069                { echo "$as_me:$LINENO: result: $ac_res" >&5
88070 echo "${ECHO_T}$ac_res" >&6; }
88071 if test `eval echo '${'$as_ac_var'}'` = yes; then
88072   cat >>confdefs.h <<_ACEOF
88073 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88074 _ACEOF
88075
88076 fi
88077 done
88078
88079     fi
88080   fi
88081
88082
88083
88084
88085
88086
88087   { echo "$as_me:$LINENO: checking for isinff declaration" >&5
88088 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6; }
88089   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
88090     if test "${glibcxx_cv_func_isinff_use+set}" = set; then
88091   echo $ECHO_N "(cached) $ECHO_C" >&6
88092 else
88093
88094
88095       ac_ext=cpp
88096 ac_cpp='$CXXCPP $CPPFLAGS'
88097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88100
88101       cat >conftest.$ac_ext <<_ACEOF
88102 /* confdefs.h.  */
88103 _ACEOF
88104 cat confdefs.h >>conftest.$ac_ext
88105 cat >>conftest.$ac_ext <<_ACEOF
88106 /* end confdefs.h.  */
88107 #include <math.h>
88108                       #ifdef HAVE_IEEEFP_H
88109                       #include <ieeefp.h>
88110                       #endif
88111
88112 int
88113 main ()
88114 {
88115  isinff(0);
88116   ;
88117   return 0;
88118 }
88119 _ACEOF
88120 rm -f conftest.$ac_objext
88121 if { (ac_try="$ac_compile"
88122 case "(($ac_try" in
88123   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
88124   *) ac_try_echo=$ac_try;;
88125 esac
88126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
88127   (eval "$ac_compile") 2>conftest.er1
88128   ac_status=$?
88129   grep -v '^ *+' conftest.er1 >conftest.err
88130   rm -f conftest.er1
88131   cat conftest.err >&5
88132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88133   (exit $ac_status); } && {
88134          test -z "$ac_cxx_werror_flag" ||
88135          test ! -s conftest.err
88136        } && test -s conftest.$ac_objext; then
88137   glibcxx_cv_func_isinff_use=yes
88138 else
88139   echo "$as_me: failed program was:" >&5
88140 sed 's/^/| /' conftest.$ac_ext >&5
88141
88142         glibcxx_cv_func_isinff_use=no
88143 fi
88144
88145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
88146       ac_ext=c
88147 ac_cpp='$CPP $CPPFLAGS'
88148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88151
88152
88153 fi
88154
88155   fi
88156   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
88157 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6; }
88158
88159   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
88160
88161 for ac_func in isinff
88162 do
88163 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88164 { echo "$as_me:$LINENO: checking for $ac_func" >&5
88165 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
88166 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
88167   echo $ECHO_N "(cached) $ECHO_C" >&6
88168 else
88169   if test x$gcc_no_link = xyes; then
88170   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88171 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88172    { (exit 1); exit 1; }; }
88173 fi
88174 cat >conftest.$ac_ext <<_ACEOF
88175 /* confdefs.h.  */
88176 _ACEOF
88177 cat confdefs.h >>conftest.$ac_ext
88178 cat >>conftest.$ac_ext <<_ACEOF
88179 /* end confdefs.h.  */
88180 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88181    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
88182 #define $ac_func innocuous_$ac_func
88183
88184 /* System header to define __stub macros and hopefully few prototypes,
88185     which can conflict with char $ac_func (); below.
88186     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88187     <limits.h> exists even on freestanding compilers.  */
88188
88189 #ifdef __STDC__
88190 # include <limits.h>
88191 #else
88192 # include <assert.h>
88193 #endif
88194
88195 #undef $ac_func
88196
88197 /* Override any GCC internal prototype to avoid an error.
88198    Use char because int might match the return type of a GCC
88199    builtin and then its argument prototype would still apply.  */
88200 #ifdef __cplusplus
88201 extern "C"
88202 #endif
88203 char $ac_func ();
88204 /* The GNU C library defines this for functions which it implements
88205     to always fail with ENOSYS.  Some functions are actually named
88206     something starting with __ and the normal name is an alias.  */
88207 #if defined __stub_$ac_func || defined __stub___$ac_func
88208 choke me
88209 #endif
88210
88211 int
88212 main ()
88213 {
88214 return $ac_func ();
88215   ;
88216   return 0;
88217 }
88218 _ACEOF
88219 rm -f conftest.$ac_objext conftest$ac_exeext
88220 if { (ac_try="$ac_link"
88221 case "(($ac_try" in
88222   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
88223   *) ac_try_echo=$ac_try;;
88224 esac
88225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
88226   (eval "$ac_link") 2>conftest.er1
88227   ac_status=$?
88228   grep -v '^ *+' conftest.er1 >conftest.err
88229   rm -f conftest.er1
88230   cat conftest.err >&5
88231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88232   (exit $ac_status); } && {
88233          test -z "$ac_c_werror_flag" ||
88234          test ! -s conftest.err
88235        } && test -s conftest$ac_exeext &&
88236        $as_test_x conftest$ac_exeext; then
88237   eval "$as_ac_var=yes"
88238 else
88239   echo "$as_me: failed program was:" >&5
88240 sed 's/^/| /' conftest.$ac_ext >&5
88241
88242         eval "$as_ac_var=no"
88243 fi
88244
88245 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
88246       conftest$ac_exeext conftest.$ac_ext
88247 fi
88248 ac_res=`eval echo '${'$as_ac_var'}'`
88249                { echo "$as_me:$LINENO: result: $ac_res" >&5
88250 echo "${ECHO_T}$ac_res" >&6; }
88251 if test `eval echo '${'$as_ac_var'}'` = yes; then
88252   cat >>confdefs.h <<_ACEOF
88253 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88254 _ACEOF
88255
88256 fi
88257 done
88258
88259   else
88260
88261   { echo "$as_me:$LINENO: checking for _isinff declaration" >&5
88262 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6; }
88263   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
88264     if test "${glibcxx_cv_func__isinff_use+set}" = set; then
88265   echo $ECHO_N "(cached) $ECHO_C" >&6
88266 else
88267
88268
88269       ac_ext=cpp
88270 ac_cpp='$CXXCPP $CPPFLAGS'
88271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88274
88275       cat >conftest.$ac_ext <<_ACEOF
88276 /* confdefs.h.  */
88277 _ACEOF
88278 cat confdefs.h >>conftest.$ac_ext
88279 cat >>conftest.$ac_ext <<_ACEOF
88280 /* end confdefs.h.  */
88281 #include <math.h>
88282                       #ifdef HAVE_IEEEFP_H
88283                       #include <ieeefp.h>
88284                       #endif
88285
88286 int
88287 main ()
88288 {
88289  _isinff(0);
88290   ;
88291   return 0;
88292 }
88293 _ACEOF
88294 rm -f conftest.$ac_objext
88295 if { (ac_try="$ac_compile"
88296 case "(($ac_try" in
88297   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
88298   *) ac_try_echo=$ac_try;;
88299 esac
88300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
88301   (eval "$ac_compile") 2>conftest.er1
88302   ac_status=$?
88303   grep -v '^ *+' conftest.er1 >conftest.err
88304   rm -f conftest.er1
88305   cat conftest.err >&5
88306   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88307   (exit $ac_status); } && {
88308          test -z "$ac_cxx_werror_flag" ||
88309          test ! -s conftest.err
88310        } && test -s conftest.$ac_objext; then
88311   glibcxx_cv_func__isinff_use=yes
88312 else
88313   echo "$as_me: failed program was:" >&5
88314 sed 's/^/| /' conftest.$ac_ext >&5
88315
88316         glibcxx_cv_func__isinff_use=no
88317 fi
88318
88319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
88320       ac_ext=c
88321 ac_cpp='$CPP $CPPFLAGS'
88322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88325
88326
88327 fi
88328
88329   fi
88330   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
88331 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6; }
88332
88333     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
88334
88335 for ac_func in _isinff
88336 do
88337 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88338 { echo "$as_me:$LINENO: checking for $ac_func" >&5
88339 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
88340 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
88341   echo $ECHO_N "(cached) $ECHO_C" >&6
88342 else
88343   if test x$gcc_no_link = xyes; then
88344   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88345 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88346    { (exit 1); exit 1; }; }
88347 fi
88348 cat >conftest.$ac_ext <<_ACEOF
88349 /* confdefs.h.  */
88350 _ACEOF
88351 cat confdefs.h >>conftest.$ac_ext
88352 cat >>conftest.$ac_ext <<_ACEOF
88353 /* end confdefs.h.  */
88354 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88355    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
88356 #define $ac_func innocuous_$ac_func
88357
88358 /* System header to define __stub macros and hopefully few prototypes,
88359     which can conflict with char $ac_func (); below.
88360     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88361     <limits.h> exists even on freestanding compilers.  */
88362
88363 #ifdef __STDC__
88364 # include <limits.h>
88365 #else
88366 # include <assert.h>
88367 #endif
88368
88369 #undef $ac_func
88370
88371 /* Override any GCC internal prototype to avoid an error.
88372    Use char because int might match the return type of a GCC
88373    builtin and then its argument prototype would still apply.  */
88374 #ifdef __cplusplus
88375 extern "C"
88376 #endif
88377 char $ac_func ();
88378 /* The GNU C library defines this for functions which it implements
88379     to always fail with ENOSYS.  Some functions are actually named
88380     something starting with __ and the normal name is an alias.  */
88381 #if defined __stub_$ac_func || defined __stub___$ac_func
88382 choke me
88383 #endif
88384
88385 int
88386 main ()
88387 {
88388 return $ac_func ();
88389   ;
88390   return 0;
88391 }
88392 _ACEOF
88393 rm -f conftest.$ac_objext conftest$ac_exeext
88394 if { (ac_try="$ac_link"
88395 case "(($ac_try" in
88396   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
88397   *) ac_try_echo=$ac_try;;
88398 esac
88399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
88400   (eval "$ac_link") 2>conftest.er1
88401   ac_status=$?
88402   grep -v '^ *+' conftest.er1 >conftest.err
88403   rm -f conftest.er1
88404   cat conftest.err >&5
88405   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88406   (exit $ac_status); } && {
88407          test -z "$ac_c_werror_flag" ||
88408          test ! -s conftest.err
88409        } && test -s conftest$ac_exeext &&
88410        $as_test_x conftest$ac_exeext; then
88411   eval "$as_ac_var=yes"
88412 else
88413   echo "$as_me: failed program was:" >&5
88414 sed 's/^/| /' conftest.$ac_ext >&5
88415
88416         eval "$as_ac_var=no"
88417 fi
88418
88419 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
88420       conftest$ac_exeext conftest.$ac_ext
88421 fi
88422 ac_res=`eval echo '${'$as_ac_var'}'`
88423                { echo "$as_me:$LINENO: result: $ac_res" >&5
88424 echo "${ECHO_T}$ac_res" >&6; }
88425 if test `eval echo '${'$as_ac_var'}'` = yes; then
88426   cat >>confdefs.h <<_ACEOF
88427 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88428 _ACEOF
88429
88430 fi
88431 done
88432
88433     fi
88434   fi
88435
88436
88437
88438
88439
88440
88441   { echo "$as_me:$LINENO: checking for atan2f declaration" >&5
88442 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6; }
88443   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
88444     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
88445   echo $ECHO_N "(cached) $ECHO_C" >&6
88446 else
88447
88448
88449       ac_ext=cpp
88450 ac_cpp='$CXXCPP $CPPFLAGS'
88451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88454
88455       cat >conftest.$ac_ext <<_ACEOF
88456 /* confdefs.h.  */
88457 _ACEOF
88458 cat confdefs.h >>conftest.$ac_ext
88459 cat >>conftest.$ac_ext <<_ACEOF
88460 /* end confdefs.h.  */
88461 #include <math.h>
88462 int
88463 main ()
88464 {
88465  atan2f(0, 0);
88466   ;
88467   return 0;
88468 }
88469 _ACEOF
88470 rm -f conftest.$ac_objext
88471 if { (ac_try="$ac_compile"
88472 case "(($ac_try" in
88473   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
88474   *) ac_try_echo=$ac_try;;
88475 esac
88476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
88477   (eval "$ac_compile") 2>conftest.er1
88478   ac_status=$?
88479   grep -v '^ *+' conftest.er1 >conftest.err
88480   rm -f conftest.er1
88481   cat conftest.err >&5
88482   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88483   (exit $ac_status); } && {
88484          test -z "$ac_cxx_werror_flag" ||
88485          test ! -s conftest.err
88486        } && test -s conftest.$ac_objext; then
88487   glibcxx_cv_func_atan2f_use=yes
88488 else
88489   echo "$as_me: failed program was:" >&5
88490 sed 's/^/| /' conftest.$ac_ext >&5
88491
88492         glibcxx_cv_func_atan2f_use=no
88493 fi
88494
88495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
88496       ac_ext=c
88497 ac_cpp='$CPP $CPPFLAGS'
88498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88501
88502
88503 fi
88504
88505   fi
88506   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
88507 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6; }
88508
88509   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
88510
88511 for ac_func in atan2f
88512 do
88513 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88514 { echo "$as_me:$LINENO: checking for $ac_func" >&5
88515 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
88516 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
88517   echo $ECHO_N "(cached) $ECHO_C" >&6
88518 else
88519   if test x$gcc_no_link = xyes; then
88520   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88521 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88522    { (exit 1); exit 1; }; }
88523 fi
88524 cat >conftest.$ac_ext <<_ACEOF
88525 /* confdefs.h.  */
88526 _ACEOF
88527 cat confdefs.h >>conftest.$ac_ext
88528 cat >>conftest.$ac_ext <<_ACEOF
88529 /* end confdefs.h.  */
88530 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88531    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
88532 #define $ac_func innocuous_$ac_func
88533
88534 /* System header to define __stub macros and hopefully few prototypes,
88535     which can conflict with char $ac_func (); below.
88536     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88537     <limits.h> exists even on freestanding compilers.  */
88538
88539 #ifdef __STDC__
88540 # include <limits.h>
88541 #else
88542 # include <assert.h>
88543 #endif
88544
88545 #undef $ac_func
88546
88547 /* Override any GCC internal prototype to avoid an error.
88548    Use char because int might match the return type of a GCC
88549    builtin and then its argument prototype would still apply.  */
88550 #ifdef __cplusplus
88551 extern "C"
88552 #endif
88553 char $ac_func ();
88554 /* The GNU C library defines this for functions which it implements
88555     to always fail with ENOSYS.  Some functions are actually named
88556     something starting with __ and the normal name is an alias.  */
88557 #if defined __stub_$ac_func || defined __stub___$ac_func
88558 choke me
88559 #endif
88560
88561 int
88562 main ()
88563 {
88564 return $ac_func ();
88565   ;
88566   return 0;
88567 }
88568 _ACEOF
88569 rm -f conftest.$ac_objext conftest$ac_exeext
88570 if { (ac_try="$ac_link"
88571 case "(($ac_try" in
88572   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
88573   *) ac_try_echo=$ac_try;;
88574 esac
88575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
88576   (eval "$ac_link") 2>conftest.er1
88577   ac_status=$?
88578   grep -v '^ *+' conftest.er1 >conftest.err
88579   rm -f conftest.er1
88580   cat conftest.err >&5
88581   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88582   (exit $ac_status); } && {
88583          test -z "$ac_c_werror_flag" ||
88584          test ! -s conftest.err
88585        } && test -s conftest$ac_exeext &&
88586        $as_test_x conftest$ac_exeext; then
88587   eval "$as_ac_var=yes"
88588 else
88589   echo "$as_me: failed program was:" >&5
88590 sed 's/^/| /' conftest.$ac_ext >&5
88591
88592         eval "$as_ac_var=no"
88593 fi
88594
88595 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
88596       conftest$ac_exeext conftest.$ac_ext
88597 fi
88598 ac_res=`eval echo '${'$as_ac_var'}'`
88599                { echo "$as_me:$LINENO: result: $ac_res" >&5
88600 echo "${ECHO_T}$ac_res" >&6; }
88601 if test `eval echo '${'$as_ac_var'}'` = yes; then
88602   cat >>confdefs.h <<_ACEOF
88603 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88604 _ACEOF
88605
88606 fi
88607 done
88608
88609   else
88610
88611   { echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
88612 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6; }
88613   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
88614     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
88615   echo $ECHO_N "(cached) $ECHO_C" >&6
88616 else
88617
88618
88619       ac_ext=cpp
88620 ac_cpp='$CXXCPP $CPPFLAGS'
88621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88624
88625       cat >conftest.$ac_ext <<_ACEOF
88626 /* confdefs.h.  */
88627 _ACEOF
88628 cat confdefs.h >>conftest.$ac_ext
88629 cat >>conftest.$ac_ext <<_ACEOF
88630 /* end confdefs.h.  */
88631 #include <math.h>
88632 int
88633 main ()
88634 {
88635  _atan2f(0, 0);
88636   ;
88637   return 0;
88638 }
88639 _ACEOF
88640 rm -f conftest.$ac_objext
88641 if { (ac_try="$ac_compile"
88642 case "(($ac_try" in
88643   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
88644   *) ac_try_echo=$ac_try;;
88645 esac
88646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
88647   (eval "$ac_compile") 2>conftest.er1
88648   ac_status=$?
88649   grep -v '^ *+' conftest.er1 >conftest.err
88650   rm -f conftest.er1
88651   cat conftest.err >&5
88652   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88653   (exit $ac_status); } && {
88654          test -z "$ac_cxx_werror_flag" ||
88655          test ! -s conftest.err
88656        } && test -s conftest.$ac_objext; then
88657   glibcxx_cv_func__atan2f_use=yes
88658 else
88659   echo "$as_me: failed program was:" >&5
88660 sed 's/^/| /' conftest.$ac_ext >&5
88661
88662         glibcxx_cv_func__atan2f_use=no
88663 fi
88664
88665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
88666       ac_ext=c
88667 ac_cpp='$CPP $CPPFLAGS'
88668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88671
88672
88673 fi
88674
88675   fi
88676   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
88677 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6; }
88678
88679     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
88680
88681 for ac_func in _atan2f
88682 do
88683 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88684 { echo "$as_me:$LINENO: checking for $ac_func" >&5
88685 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
88686 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
88687   echo $ECHO_N "(cached) $ECHO_C" >&6
88688 else
88689   if test x$gcc_no_link = xyes; then
88690   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88691 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88692    { (exit 1); exit 1; }; }
88693 fi
88694 cat >conftest.$ac_ext <<_ACEOF
88695 /* confdefs.h.  */
88696 _ACEOF
88697 cat confdefs.h >>conftest.$ac_ext
88698 cat >>conftest.$ac_ext <<_ACEOF
88699 /* end confdefs.h.  */
88700 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88701    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
88702 #define $ac_func innocuous_$ac_func
88703
88704 /* System header to define __stub macros and hopefully few prototypes,
88705     which can conflict with char $ac_func (); below.
88706     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88707     <limits.h> exists even on freestanding compilers.  */
88708
88709 #ifdef __STDC__
88710 # include <limits.h>
88711 #else
88712 # include <assert.h>
88713 #endif
88714
88715 #undef $ac_func
88716
88717 /* Override any GCC internal prototype to avoid an error.
88718    Use char because int might match the return type of a GCC
88719    builtin and then its argument prototype would still apply.  */
88720 #ifdef __cplusplus
88721 extern "C"
88722 #endif
88723 char $ac_func ();
88724 /* The GNU C library defines this for functions which it implements
88725     to always fail with ENOSYS.  Some functions are actually named
88726     something starting with __ and the normal name is an alias.  */
88727 #if defined __stub_$ac_func || defined __stub___$ac_func
88728 choke me
88729 #endif
88730
88731 int
88732 main ()
88733 {
88734 return $ac_func ();
88735   ;
88736   return 0;
88737 }
88738 _ACEOF
88739 rm -f conftest.$ac_objext conftest$ac_exeext
88740 if { (ac_try="$ac_link"
88741 case "(($ac_try" in
88742   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
88743   *) ac_try_echo=$ac_try;;
88744 esac
88745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
88746   (eval "$ac_link") 2>conftest.er1
88747   ac_status=$?
88748   grep -v '^ *+' conftest.er1 >conftest.err
88749   rm -f conftest.er1
88750   cat conftest.err >&5
88751   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88752   (exit $ac_status); } && {
88753          test -z "$ac_c_werror_flag" ||
88754          test ! -s conftest.err
88755        } && test -s conftest$ac_exeext &&
88756        $as_test_x conftest$ac_exeext; then
88757   eval "$as_ac_var=yes"
88758 else
88759   echo "$as_me: failed program was:" >&5
88760 sed 's/^/| /' conftest.$ac_ext >&5
88761
88762         eval "$as_ac_var=no"
88763 fi
88764
88765 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
88766       conftest$ac_exeext conftest.$ac_ext
88767 fi
88768 ac_res=`eval echo '${'$as_ac_var'}'`
88769                { echo "$as_me:$LINENO: result: $ac_res" >&5
88770 echo "${ECHO_T}$ac_res" >&6; }
88771 if test `eval echo '${'$as_ac_var'}'` = yes; then
88772   cat >>confdefs.h <<_ACEOF
88773 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88774 _ACEOF
88775
88776 fi
88777 done
88778
88779     fi
88780   fi
88781
88782
88783
88784
88785
88786
88787   { echo "$as_me:$LINENO: checking for fabsf declaration" >&5
88788 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6; }
88789   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
88790     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
88791   echo $ECHO_N "(cached) $ECHO_C" >&6
88792 else
88793
88794
88795       ac_ext=cpp
88796 ac_cpp='$CXXCPP $CPPFLAGS'
88797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88800
88801       cat >conftest.$ac_ext <<_ACEOF
88802 /* confdefs.h.  */
88803 _ACEOF
88804 cat confdefs.h >>conftest.$ac_ext
88805 cat >>conftest.$ac_ext <<_ACEOF
88806 /* end confdefs.h.  */
88807 #include <math.h>
88808                       #ifdef HAVE_IEEEFP_H
88809                       #include <ieeefp.h>
88810                       #endif
88811
88812 int
88813 main ()
88814 {
88815  fabsf(0);
88816   ;
88817   return 0;
88818 }
88819 _ACEOF
88820 rm -f conftest.$ac_objext
88821 if { (ac_try="$ac_compile"
88822 case "(($ac_try" in
88823   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
88824   *) ac_try_echo=$ac_try;;
88825 esac
88826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
88827   (eval "$ac_compile") 2>conftest.er1
88828   ac_status=$?
88829   grep -v '^ *+' conftest.er1 >conftest.err
88830   rm -f conftest.er1
88831   cat conftest.err >&5
88832   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88833   (exit $ac_status); } && {
88834          test -z "$ac_cxx_werror_flag" ||
88835          test ! -s conftest.err
88836        } && test -s conftest.$ac_objext; then
88837   glibcxx_cv_func_fabsf_use=yes
88838 else
88839   echo "$as_me: failed program was:" >&5
88840 sed 's/^/| /' conftest.$ac_ext >&5
88841
88842         glibcxx_cv_func_fabsf_use=no
88843 fi
88844
88845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
88846       ac_ext=c
88847 ac_cpp='$CPP $CPPFLAGS'
88848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88851
88852
88853 fi
88854
88855   fi
88856   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
88857 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6; }
88858
88859   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
88860
88861 for ac_func in fabsf
88862 do
88863 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88864 { echo "$as_me:$LINENO: checking for $ac_func" >&5
88865 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
88866 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
88867   echo $ECHO_N "(cached) $ECHO_C" >&6
88868 else
88869   if test x$gcc_no_link = xyes; then
88870   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88871 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88872    { (exit 1); exit 1; }; }
88873 fi
88874 cat >conftest.$ac_ext <<_ACEOF
88875 /* confdefs.h.  */
88876 _ACEOF
88877 cat confdefs.h >>conftest.$ac_ext
88878 cat >>conftest.$ac_ext <<_ACEOF
88879 /* end confdefs.h.  */
88880 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88881    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
88882 #define $ac_func innocuous_$ac_func
88883
88884 /* System header to define __stub macros and hopefully few prototypes,
88885     which can conflict with char $ac_func (); below.
88886     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88887     <limits.h> exists even on freestanding compilers.  */
88888
88889 #ifdef __STDC__
88890 # include <limits.h>
88891 #else
88892 # include <assert.h>
88893 #endif
88894
88895 #undef $ac_func
88896
88897 /* Override any GCC internal prototype to avoid an error.
88898    Use char because int might match the return type of a GCC
88899    builtin and then its argument prototype would still apply.  */
88900 #ifdef __cplusplus
88901 extern "C"
88902 #endif
88903 char $ac_func ();
88904 /* The GNU C library defines this for functions which it implements
88905     to always fail with ENOSYS.  Some functions are actually named
88906     something starting with __ and the normal name is an alias.  */
88907 #if defined __stub_$ac_func || defined __stub___$ac_func
88908 choke me
88909 #endif
88910
88911 int
88912 main ()
88913 {
88914 return $ac_func ();
88915   ;
88916   return 0;
88917 }
88918 _ACEOF
88919 rm -f conftest.$ac_objext conftest$ac_exeext
88920 if { (ac_try="$ac_link"
88921 case "(($ac_try" in
88922   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
88923   *) ac_try_echo=$ac_try;;
88924 esac
88925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
88926   (eval "$ac_link") 2>conftest.er1
88927   ac_status=$?
88928   grep -v '^ *+' conftest.er1 >conftest.err
88929   rm -f conftest.er1
88930   cat conftest.err >&5
88931   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88932   (exit $ac_status); } && {
88933          test -z "$ac_c_werror_flag" ||
88934          test ! -s conftest.err
88935        } && test -s conftest$ac_exeext &&
88936        $as_test_x conftest$ac_exeext; then
88937   eval "$as_ac_var=yes"
88938 else
88939   echo "$as_me: failed program was:" >&5
88940 sed 's/^/| /' conftest.$ac_ext >&5
88941
88942         eval "$as_ac_var=no"
88943 fi
88944
88945 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
88946       conftest$ac_exeext conftest.$ac_ext
88947 fi
88948 ac_res=`eval echo '${'$as_ac_var'}'`
88949                { echo "$as_me:$LINENO: result: $ac_res" >&5
88950 echo "${ECHO_T}$ac_res" >&6; }
88951 if test `eval echo '${'$as_ac_var'}'` = yes; then
88952   cat >>confdefs.h <<_ACEOF
88953 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88954 _ACEOF
88955
88956 fi
88957 done
88958
88959   else
88960
88961   { echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
88962 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6; }
88963   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
88964     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
88965   echo $ECHO_N "(cached) $ECHO_C" >&6
88966 else
88967
88968
88969       ac_ext=cpp
88970 ac_cpp='$CXXCPP $CPPFLAGS'
88971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88974
88975       cat >conftest.$ac_ext <<_ACEOF
88976 /* confdefs.h.  */
88977 _ACEOF
88978 cat confdefs.h >>conftest.$ac_ext
88979 cat >>conftest.$ac_ext <<_ACEOF
88980 /* end confdefs.h.  */
88981 #include <math.h>
88982                       #ifdef HAVE_IEEEFP_H
88983                       #include <ieeefp.h>
88984                       #endif
88985
88986 int
88987 main ()
88988 {
88989  _fabsf(0);
88990   ;
88991   return 0;
88992 }
88993 _ACEOF
88994 rm -f conftest.$ac_objext
88995 if { (ac_try="$ac_compile"
88996 case "(($ac_try" in
88997   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
88998   *) ac_try_echo=$ac_try;;
88999 esac
89000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
89001   (eval "$ac_compile") 2>conftest.er1
89002   ac_status=$?
89003   grep -v '^ *+' conftest.er1 >conftest.err
89004   rm -f conftest.er1
89005   cat conftest.err >&5
89006   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89007   (exit $ac_status); } && {
89008          test -z "$ac_cxx_werror_flag" ||
89009          test ! -s conftest.err
89010        } && test -s conftest.$ac_objext; then
89011   glibcxx_cv_func__fabsf_use=yes
89012 else
89013   echo "$as_me: failed program was:" >&5
89014 sed 's/^/| /' conftest.$ac_ext >&5
89015
89016         glibcxx_cv_func__fabsf_use=no
89017 fi
89018
89019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
89020       ac_ext=c
89021 ac_cpp='$CPP $CPPFLAGS'
89022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89025
89026
89027 fi
89028
89029   fi
89030   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
89031 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6; }
89032
89033     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
89034
89035 for ac_func in _fabsf
89036 do
89037 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89038 { echo "$as_me:$LINENO: checking for $ac_func" >&5
89039 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
89040 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
89041   echo $ECHO_N "(cached) $ECHO_C" >&6
89042 else
89043   if test x$gcc_no_link = xyes; then
89044   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89045 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89046    { (exit 1); exit 1; }; }
89047 fi
89048 cat >conftest.$ac_ext <<_ACEOF
89049 /* confdefs.h.  */
89050 _ACEOF
89051 cat confdefs.h >>conftest.$ac_ext
89052 cat >>conftest.$ac_ext <<_ACEOF
89053 /* end confdefs.h.  */
89054 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89055    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
89056 #define $ac_func innocuous_$ac_func
89057
89058 /* System header to define __stub macros and hopefully few prototypes,
89059     which can conflict with char $ac_func (); below.
89060     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89061     <limits.h> exists even on freestanding compilers.  */
89062
89063 #ifdef __STDC__
89064 # include <limits.h>
89065 #else
89066 # include <assert.h>
89067 #endif
89068
89069 #undef $ac_func
89070
89071 /* Override any GCC internal prototype to avoid an error.
89072    Use char because int might match the return type of a GCC
89073    builtin and then its argument prototype would still apply.  */
89074 #ifdef __cplusplus
89075 extern "C"
89076 #endif
89077 char $ac_func ();
89078 /* The GNU C library defines this for functions which it implements
89079     to always fail with ENOSYS.  Some functions are actually named
89080     something starting with __ and the normal name is an alias.  */
89081 #if defined __stub_$ac_func || defined __stub___$ac_func
89082 choke me
89083 #endif
89084
89085 int
89086 main ()
89087 {
89088 return $ac_func ();
89089   ;
89090   return 0;
89091 }
89092 _ACEOF
89093 rm -f conftest.$ac_objext conftest$ac_exeext
89094 if { (ac_try="$ac_link"
89095 case "(($ac_try" in
89096   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
89097   *) ac_try_echo=$ac_try;;
89098 esac
89099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
89100   (eval "$ac_link") 2>conftest.er1
89101   ac_status=$?
89102   grep -v '^ *+' conftest.er1 >conftest.err
89103   rm -f conftest.er1
89104   cat conftest.err >&5
89105   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89106   (exit $ac_status); } && {
89107          test -z "$ac_c_werror_flag" ||
89108          test ! -s conftest.err
89109        } && test -s conftest$ac_exeext &&
89110        $as_test_x conftest$ac_exeext; then
89111   eval "$as_ac_var=yes"
89112 else
89113   echo "$as_me: failed program was:" >&5
89114 sed 's/^/| /' conftest.$ac_ext >&5
89115
89116         eval "$as_ac_var=no"
89117 fi
89118
89119 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
89120       conftest$ac_exeext conftest.$ac_ext
89121 fi
89122 ac_res=`eval echo '${'$as_ac_var'}'`
89123                { echo "$as_me:$LINENO: result: $ac_res" >&5
89124 echo "${ECHO_T}$ac_res" >&6; }
89125 if test `eval echo '${'$as_ac_var'}'` = yes; then
89126   cat >>confdefs.h <<_ACEOF
89127 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89128 _ACEOF
89129
89130 fi
89131 done
89132
89133     fi
89134   fi
89135
89136
89137
89138
89139
89140
89141   { echo "$as_me:$LINENO: checking for fmodf declaration" >&5
89142 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6; }
89143   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
89144     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
89145   echo $ECHO_N "(cached) $ECHO_C" >&6
89146 else
89147
89148
89149       ac_ext=cpp
89150 ac_cpp='$CXXCPP $CPPFLAGS'
89151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89154
89155       cat >conftest.$ac_ext <<_ACEOF
89156 /* confdefs.h.  */
89157 _ACEOF
89158 cat confdefs.h >>conftest.$ac_ext
89159 cat >>conftest.$ac_ext <<_ACEOF
89160 /* end confdefs.h.  */
89161 #include <math.h>
89162 int
89163 main ()
89164 {
89165  fmodf(0, 0);
89166   ;
89167   return 0;
89168 }
89169 _ACEOF
89170 rm -f conftest.$ac_objext
89171 if { (ac_try="$ac_compile"
89172 case "(($ac_try" in
89173   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
89174   *) ac_try_echo=$ac_try;;
89175 esac
89176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
89177   (eval "$ac_compile") 2>conftest.er1
89178   ac_status=$?
89179   grep -v '^ *+' conftest.er1 >conftest.err
89180   rm -f conftest.er1
89181   cat conftest.err >&5
89182   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89183   (exit $ac_status); } && {
89184          test -z "$ac_cxx_werror_flag" ||
89185          test ! -s conftest.err
89186        } && test -s conftest.$ac_objext; then
89187   glibcxx_cv_func_fmodf_use=yes
89188 else
89189   echo "$as_me: failed program was:" >&5
89190 sed 's/^/| /' conftest.$ac_ext >&5
89191
89192         glibcxx_cv_func_fmodf_use=no
89193 fi
89194
89195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
89196       ac_ext=c
89197 ac_cpp='$CPP $CPPFLAGS'
89198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89201
89202
89203 fi
89204
89205   fi
89206   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
89207 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6; }
89208
89209   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
89210
89211 for ac_func in fmodf
89212 do
89213 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89214 { echo "$as_me:$LINENO: checking for $ac_func" >&5
89215 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
89216 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
89217   echo $ECHO_N "(cached) $ECHO_C" >&6
89218 else
89219   if test x$gcc_no_link = xyes; then
89220   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89221 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89222    { (exit 1); exit 1; }; }
89223 fi
89224 cat >conftest.$ac_ext <<_ACEOF
89225 /* confdefs.h.  */
89226 _ACEOF
89227 cat confdefs.h >>conftest.$ac_ext
89228 cat >>conftest.$ac_ext <<_ACEOF
89229 /* end confdefs.h.  */
89230 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89231    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
89232 #define $ac_func innocuous_$ac_func
89233
89234 /* System header to define __stub macros and hopefully few prototypes,
89235     which can conflict with char $ac_func (); below.
89236     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89237     <limits.h> exists even on freestanding compilers.  */
89238
89239 #ifdef __STDC__
89240 # include <limits.h>
89241 #else
89242 # include <assert.h>
89243 #endif
89244
89245 #undef $ac_func
89246
89247 /* Override any GCC internal prototype to avoid an error.
89248    Use char because int might match the return type of a GCC
89249    builtin and then its argument prototype would still apply.  */
89250 #ifdef __cplusplus
89251 extern "C"
89252 #endif
89253 char $ac_func ();
89254 /* The GNU C library defines this for functions which it implements
89255     to always fail with ENOSYS.  Some functions are actually named
89256     something starting with __ and the normal name is an alias.  */
89257 #if defined __stub_$ac_func || defined __stub___$ac_func
89258 choke me
89259 #endif
89260
89261 int
89262 main ()
89263 {
89264 return $ac_func ();
89265   ;
89266   return 0;
89267 }
89268 _ACEOF
89269 rm -f conftest.$ac_objext conftest$ac_exeext
89270 if { (ac_try="$ac_link"
89271 case "(($ac_try" in
89272   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
89273   *) ac_try_echo=$ac_try;;
89274 esac
89275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
89276   (eval "$ac_link") 2>conftest.er1
89277   ac_status=$?
89278   grep -v '^ *+' conftest.er1 >conftest.err
89279   rm -f conftest.er1
89280   cat conftest.err >&5
89281   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89282   (exit $ac_status); } && {
89283          test -z "$ac_c_werror_flag" ||
89284          test ! -s conftest.err
89285        } && test -s conftest$ac_exeext &&
89286        $as_test_x conftest$ac_exeext; then
89287   eval "$as_ac_var=yes"
89288 else
89289   echo "$as_me: failed program was:" >&5
89290 sed 's/^/| /' conftest.$ac_ext >&5
89291
89292         eval "$as_ac_var=no"
89293 fi
89294
89295 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
89296       conftest$ac_exeext conftest.$ac_ext
89297 fi
89298 ac_res=`eval echo '${'$as_ac_var'}'`
89299                { echo "$as_me:$LINENO: result: $ac_res" >&5
89300 echo "${ECHO_T}$ac_res" >&6; }
89301 if test `eval echo '${'$as_ac_var'}'` = yes; then
89302   cat >>confdefs.h <<_ACEOF
89303 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89304 _ACEOF
89305
89306 fi
89307 done
89308
89309   else
89310
89311   { echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
89312 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6; }
89313   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
89314     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
89315   echo $ECHO_N "(cached) $ECHO_C" >&6
89316 else
89317
89318
89319       ac_ext=cpp
89320 ac_cpp='$CXXCPP $CPPFLAGS'
89321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89324
89325       cat >conftest.$ac_ext <<_ACEOF
89326 /* confdefs.h.  */
89327 _ACEOF
89328 cat confdefs.h >>conftest.$ac_ext
89329 cat >>conftest.$ac_ext <<_ACEOF
89330 /* end confdefs.h.  */
89331 #include <math.h>
89332 int
89333 main ()
89334 {
89335  _fmodf(0, 0);
89336   ;
89337   return 0;
89338 }
89339 _ACEOF
89340 rm -f conftest.$ac_objext
89341 if { (ac_try="$ac_compile"
89342 case "(($ac_try" in
89343   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
89344   *) ac_try_echo=$ac_try;;
89345 esac
89346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
89347   (eval "$ac_compile") 2>conftest.er1
89348   ac_status=$?
89349   grep -v '^ *+' conftest.er1 >conftest.err
89350   rm -f conftest.er1
89351   cat conftest.err >&5
89352   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89353   (exit $ac_status); } && {
89354          test -z "$ac_cxx_werror_flag" ||
89355          test ! -s conftest.err
89356        } && test -s conftest.$ac_objext; then
89357   glibcxx_cv_func__fmodf_use=yes
89358 else
89359   echo "$as_me: failed program was:" >&5
89360 sed 's/^/| /' conftest.$ac_ext >&5
89361
89362         glibcxx_cv_func__fmodf_use=no
89363 fi
89364
89365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
89366       ac_ext=c
89367 ac_cpp='$CPP $CPPFLAGS'
89368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89371
89372
89373 fi
89374
89375   fi
89376   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
89377 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6; }
89378
89379     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
89380
89381 for ac_func in _fmodf
89382 do
89383 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89384 { echo "$as_me:$LINENO: checking for $ac_func" >&5
89385 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
89386 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
89387   echo $ECHO_N "(cached) $ECHO_C" >&6
89388 else
89389   if test x$gcc_no_link = xyes; then
89390   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89391 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89392    { (exit 1); exit 1; }; }
89393 fi
89394 cat >conftest.$ac_ext <<_ACEOF
89395 /* confdefs.h.  */
89396 _ACEOF
89397 cat confdefs.h >>conftest.$ac_ext
89398 cat >>conftest.$ac_ext <<_ACEOF
89399 /* end confdefs.h.  */
89400 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89401    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
89402 #define $ac_func innocuous_$ac_func
89403
89404 /* System header to define __stub macros and hopefully few prototypes,
89405     which can conflict with char $ac_func (); below.
89406     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89407     <limits.h> exists even on freestanding compilers.  */
89408
89409 #ifdef __STDC__
89410 # include <limits.h>
89411 #else
89412 # include <assert.h>
89413 #endif
89414
89415 #undef $ac_func
89416
89417 /* Override any GCC internal prototype to avoid an error.
89418    Use char because int might match the return type of a GCC
89419    builtin and then its argument prototype would still apply.  */
89420 #ifdef __cplusplus
89421 extern "C"
89422 #endif
89423 char $ac_func ();
89424 /* The GNU C library defines this for functions which it implements
89425     to always fail with ENOSYS.  Some functions are actually named
89426     something starting with __ and the normal name is an alias.  */
89427 #if defined __stub_$ac_func || defined __stub___$ac_func
89428 choke me
89429 #endif
89430
89431 int
89432 main ()
89433 {
89434 return $ac_func ();
89435   ;
89436   return 0;
89437 }
89438 _ACEOF
89439 rm -f conftest.$ac_objext conftest$ac_exeext
89440 if { (ac_try="$ac_link"
89441 case "(($ac_try" in
89442   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
89443   *) ac_try_echo=$ac_try;;
89444 esac
89445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
89446   (eval "$ac_link") 2>conftest.er1
89447   ac_status=$?
89448   grep -v '^ *+' conftest.er1 >conftest.err
89449   rm -f conftest.er1
89450   cat conftest.err >&5
89451   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89452   (exit $ac_status); } && {
89453          test -z "$ac_c_werror_flag" ||
89454          test ! -s conftest.err
89455        } && test -s conftest$ac_exeext &&
89456        $as_test_x conftest$ac_exeext; then
89457   eval "$as_ac_var=yes"
89458 else
89459   echo "$as_me: failed program was:" >&5
89460 sed 's/^/| /' conftest.$ac_ext >&5
89461
89462         eval "$as_ac_var=no"
89463 fi
89464
89465 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
89466       conftest$ac_exeext conftest.$ac_ext
89467 fi
89468 ac_res=`eval echo '${'$as_ac_var'}'`
89469                { echo "$as_me:$LINENO: result: $ac_res" >&5
89470 echo "${ECHO_T}$ac_res" >&6; }
89471 if test `eval echo '${'$as_ac_var'}'` = yes; then
89472   cat >>confdefs.h <<_ACEOF
89473 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89474 _ACEOF
89475
89476 fi
89477 done
89478
89479     fi
89480   fi
89481
89482
89483
89484
89485
89486
89487   { echo "$as_me:$LINENO: checking for frexpf declaration" >&5
89488 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6; }
89489   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
89490     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
89491   echo $ECHO_N "(cached) $ECHO_C" >&6
89492 else
89493
89494
89495       ac_ext=cpp
89496 ac_cpp='$CXXCPP $CPPFLAGS'
89497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89500
89501       cat >conftest.$ac_ext <<_ACEOF
89502 /* confdefs.h.  */
89503 _ACEOF
89504 cat confdefs.h >>conftest.$ac_ext
89505 cat >>conftest.$ac_ext <<_ACEOF
89506 /* end confdefs.h.  */
89507 #include <math.h>
89508 int
89509 main ()
89510 {
89511  frexpf(0, 0);
89512   ;
89513   return 0;
89514 }
89515 _ACEOF
89516 rm -f conftest.$ac_objext
89517 if { (ac_try="$ac_compile"
89518 case "(($ac_try" in
89519   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
89520   *) ac_try_echo=$ac_try;;
89521 esac
89522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
89523   (eval "$ac_compile") 2>conftest.er1
89524   ac_status=$?
89525   grep -v '^ *+' conftest.er1 >conftest.err
89526   rm -f conftest.er1
89527   cat conftest.err >&5
89528   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89529   (exit $ac_status); } && {
89530          test -z "$ac_cxx_werror_flag" ||
89531          test ! -s conftest.err
89532        } && test -s conftest.$ac_objext; then
89533   glibcxx_cv_func_frexpf_use=yes
89534 else
89535   echo "$as_me: failed program was:" >&5
89536 sed 's/^/| /' conftest.$ac_ext >&5
89537
89538         glibcxx_cv_func_frexpf_use=no
89539 fi
89540
89541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
89542       ac_ext=c
89543 ac_cpp='$CPP $CPPFLAGS'
89544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89547
89548
89549 fi
89550
89551   fi
89552   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
89553 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6; }
89554
89555   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
89556
89557 for ac_func in frexpf
89558 do
89559 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89560 { echo "$as_me:$LINENO: checking for $ac_func" >&5
89561 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
89562 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
89563   echo $ECHO_N "(cached) $ECHO_C" >&6
89564 else
89565   if test x$gcc_no_link = xyes; then
89566   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89567 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89568    { (exit 1); exit 1; }; }
89569 fi
89570 cat >conftest.$ac_ext <<_ACEOF
89571 /* confdefs.h.  */
89572 _ACEOF
89573 cat confdefs.h >>conftest.$ac_ext
89574 cat >>conftest.$ac_ext <<_ACEOF
89575 /* end confdefs.h.  */
89576 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89577    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
89578 #define $ac_func innocuous_$ac_func
89579
89580 /* System header to define __stub macros and hopefully few prototypes,
89581     which can conflict with char $ac_func (); below.
89582     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89583     <limits.h> exists even on freestanding compilers.  */
89584
89585 #ifdef __STDC__
89586 # include <limits.h>
89587 #else
89588 # include <assert.h>
89589 #endif
89590
89591 #undef $ac_func
89592
89593 /* Override any GCC internal prototype to avoid an error.
89594    Use char because int might match the return type of a GCC
89595    builtin and then its argument prototype would still apply.  */
89596 #ifdef __cplusplus
89597 extern "C"
89598 #endif
89599 char $ac_func ();
89600 /* The GNU C library defines this for functions which it implements
89601     to always fail with ENOSYS.  Some functions are actually named
89602     something starting with __ and the normal name is an alias.  */
89603 #if defined __stub_$ac_func || defined __stub___$ac_func
89604 choke me
89605 #endif
89606
89607 int
89608 main ()
89609 {
89610 return $ac_func ();
89611   ;
89612   return 0;
89613 }
89614 _ACEOF
89615 rm -f conftest.$ac_objext conftest$ac_exeext
89616 if { (ac_try="$ac_link"
89617 case "(($ac_try" in
89618   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
89619   *) ac_try_echo=$ac_try;;
89620 esac
89621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
89622   (eval "$ac_link") 2>conftest.er1
89623   ac_status=$?
89624   grep -v '^ *+' conftest.er1 >conftest.err
89625   rm -f conftest.er1
89626   cat conftest.err >&5
89627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89628   (exit $ac_status); } && {
89629          test -z "$ac_c_werror_flag" ||
89630          test ! -s conftest.err
89631        } && test -s conftest$ac_exeext &&
89632        $as_test_x conftest$ac_exeext; then
89633   eval "$as_ac_var=yes"
89634 else
89635   echo "$as_me: failed program was:" >&5
89636 sed 's/^/| /' conftest.$ac_ext >&5
89637
89638         eval "$as_ac_var=no"
89639 fi
89640
89641 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
89642       conftest$ac_exeext conftest.$ac_ext
89643 fi
89644 ac_res=`eval echo '${'$as_ac_var'}'`
89645                { echo "$as_me:$LINENO: result: $ac_res" >&5
89646 echo "${ECHO_T}$ac_res" >&6; }
89647 if test `eval echo '${'$as_ac_var'}'` = yes; then
89648   cat >>confdefs.h <<_ACEOF
89649 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89650 _ACEOF
89651
89652 fi
89653 done
89654
89655   else
89656
89657   { echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
89658 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6; }
89659   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
89660     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
89661   echo $ECHO_N "(cached) $ECHO_C" >&6
89662 else
89663
89664
89665       ac_ext=cpp
89666 ac_cpp='$CXXCPP $CPPFLAGS'
89667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89670
89671       cat >conftest.$ac_ext <<_ACEOF
89672 /* confdefs.h.  */
89673 _ACEOF
89674 cat confdefs.h >>conftest.$ac_ext
89675 cat >>conftest.$ac_ext <<_ACEOF
89676 /* end confdefs.h.  */
89677 #include <math.h>
89678 int
89679 main ()
89680 {
89681  _frexpf(0, 0);
89682   ;
89683   return 0;
89684 }
89685 _ACEOF
89686 rm -f conftest.$ac_objext
89687 if { (ac_try="$ac_compile"
89688 case "(($ac_try" in
89689   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
89690   *) ac_try_echo=$ac_try;;
89691 esac
89692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
89693   (eval "$ac_compile") 2>conftest.er1
89694   ac_status=$?
89695   grep -v '^ *+' conftest.er1 >conftest.err
89696   rm -f conftest.er1
89697   cat conftest.err >&5
89698   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89699   (exit $ac_status); } && {
89700          test -z "$ac_cxx_werror_flag" ||
89701          test ! -s conftest.err
89702        } && test -s conftest.$ac_objext; then
89703   glibcxx_cv_func__frexpf_use=yes
89704 else
89705   echo "$as_me: failed program was:" >&5
89706 sed 's/^/| /' conftest.$ac_ext >&5
89707
89708         glibcxx_cv_func__frexpf_use=no
89709 fi
89710
89711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
89712       ac_ext=c
89713 ac_cpp='$CPP $CPPFLAGS'
89714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89717
89718
89719 fi
89720
89721   fi
89722   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
89723 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6; }
89724
89725     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
89726
89727 for ac_func in _frexpf
89728 do
89729 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89730 { echo "$as_me:$LINENO: checking for $ac_func" >&5
89731 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
89732 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
89733   echo $ECHO_N "(cached) $ECHO_C" >&6
89734 else
89735   if test x$gcc_no_link = xyes; then
89736   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89737 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89738    { (exit 1); exit 1; }; }
89739 fi
89740 cat >conftest.$ac_ext <<_ACEOF
89741 /* confdefs.h.  */
89742 _ACEOF
89743 cat confdefs.h >>conftest.$ac_ext
89744 cat >>conftest.$ac_ext <<_ACEOF
89745 /* end confdefs.h.  */
89746 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89747    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
89748 #define $ac_func innocuous_$ac_func
89749
89750 /* System header to define __stub macros and hopefully few prototypes,
89751     which can conflict with char $ac_func (); below.
89752     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89753     <limits.h> exists even on freestanding compilers.  */
89754
89755 #ifdef __STDC__
89756 # include <limits.h>
89757 #else
89758 # include <assert.h>
89759 #endif
89760
89761 #undef $ac_func
89762
89763 /* Override any GCC internal prototype to avoid an error.
89764    Use char because int might match the return type of a GCC
89765    builtin and then its argument prototype would still apply.  */
89766 #ifdef __cplusplus
89767 extern "C"
89768 #endif
89769 char $ac_func ();
89770 /* The GNU C library defines this for functions which it implements
89771     to always fail with ENOSYS.  Some functions are actually named
89772     something starting with __ and the normal name is an alias.  */
89773 #if defined __stub_$ac_func || defined __stub___$ac_func
89774 choke me
89775 #endif
89776
89777 int
89778 main ()
89779 {
89780 return $ac_func ();
89781   ;
89782   return 0;
89783 }
89784 _ACEOF
89785 rm -f conftest.$ac_objext conftest$ac_exeext
89786 if { (ac_try="$ac_link"
89787 case "(($ac_try" in
89788   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
89789   *) ac_try_echo=$ac_try;;
89790 esac
89791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
89792   (eval "$ac_link") 2>conftest.er1
89793   ac_status=$?
89794   grep -v '^ *+' conftest.er1 >conftest.err
89795   rm -f conftest.er1
89796   cat conftest.err >&5
89797   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89798   (exit $ac_status); } && {
89799          test -z "$ac_c_werror_flag" ||
89800          test ! -s conftest.err
89801        } && test -s conftest$ac_exeext &&
89802        $as_test_x conftest$ac_exeext; then
89803   eval "$as_ac_var=yes"
89804 else
89805   echo "$as_me: failed program was:" >&5
89806 sed 's/^/| /' conftest.$ac_ext >&5
89807
89808         eval "$as_ac_var=no"
89809 fi
89810
89811 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
89812       conftest$ac_exeext conftest.$ac_ext
89813 fi
89814 ac_res=`eval echo '${'$as_ac_var'}'`
89815                { echo "$as_me:$LINENO: result: $ac_res" >&5
89816 echo "${ECHO_T}$ac_res" >&6; }
89817 if test `eval echo '${'$as_ac_var'}'` = yes; then
89818   cat >>confdefs.h <<_ACEOF
89819 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89820 _ACEOF
89821
89822 fi
89823 done
89824
89825     fi
89826   fi
89827
89828
89829
89830
89831
89832
89833   { echo "$as_me:$LINENO: checking for hypotf declaration" >&5
89834 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6; }
89835   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
89836     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
89837   echo $ECHO_N "(cached) $ECHO_C" >&6
89838 else
89839
89840
89841       ac_ext=cpp
89842 ac_cpp='$CXXCPP $CPPFLAGS'
89843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89846
89847       cat >conftest.$ac_ext <<_ACEOF
89848 /* confdefs.h.  */
89849 _ACEOF
89850 cat confdefs.h >>conftest.$ac_ext
89851 cat >>conftest.$ac_ext <<_ACEOF
89852 /* end confdefs.h.  */
89853 #include <math.h>
89854 int
89855 main ()
89856 {
89857  hypotf(0, 0);
89858   ;
89859   return 0;
89860 }
89861 _ACEOF
89862 rm -f conftest.$ac_objext
89863 if { (ac_try="$ac_compile"
89864 case "(($ac_try" in
89865   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
89866   *) ac_try_echo=$ac_try;;
89867 esac
89868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
89869   (eval "$ac_compile") 2>conftest.er1
89870   ac_status=$?
89871   grep -v '^ *+' conftest.er1 >conftest.err
89872   rm -f conftest.er1
89873   cat conftest.err >&5
89874   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89875   (exit $ac_status); } && {
89876          test -z "$ac_cxx_werror_flag" ||
89877          test ! -s conftest.err
89878        } && test -s conftest.$ac_objext; then
89879   glibcxx_cv_func_hypotf_use=yes
89880 else
89881   echo "$as_me: failed program was:" >&5
89882 sed 's/^/| /' conftest.$ac_ext >&5
89883
89884         glibcxx_cv_func_hypotf_use=no
89885 fi
89886
89887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
89888       ac_ext=c
89889 ac_cpp='$CPP $CPPFLAGS'
89890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89893
89894
89895 fi
89896
89897   fi
89898   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
89899 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6; }
89900
89901   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
89902
89903 for ac_func in hypotf
89904 do
89905 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89906 { echo "$as_me:$LINENO: checking for $ac_func" >&5
89907 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
89908 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
89909   echo $ECHO_N "(cached) $ECHO_C" >&6
89910 else
89911   if test x$gcc_no_link = xyes; then
89912   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89913 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89914    { (exit 1); exit 1; }; }
89915 fi
89916 cat >conftest.$ac_ext <<_ACEOF
89917 /* confdefs.h.  */
89918 _ACEOF
89919 cat confdefs.h >>conftest.$ac_ext
89920 cat >>conftest.$ac_ext <<_ACEOF
89921 /* end confdefs.h.  */
89922 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89923    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
89924 #define $ac_func innocuous_$ac_func
89925
89926 /* System header to define __stub macros and hopefully few prototypes,
89927     which can conflict with char $ac_func (); below.
89928     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89929     <limits.h> exists even on freestanding compilers.  */
89930
89931 #ifdef __STDC__
89932 # include <limits.h>
89933 #else
89934 # include <assert.h>
89935 #endif
89936
89937 #undef $ac_func
89938
89939 /* Override any GCC internal prototype to avoid an error.
89940    Use char because int might match the return type of a GCC
89941    builtin and then its argument prototype would still apply.  */
89942 #ifdef __cplusplus
89943 extern "C"
89944 #endif
89945 char $ac_func ();
89946 /* The GNU C library defines this for functions which it implements
89947     to always fail with ENOSYS.  Some functions are actually named
89948     something starting with __ and the normal name is an alias.  */
89949 #if defined __stub_$ac_func || defined __stub___$ac_func
89950 choke me
89951 #endif
89952
89953 int
89954 main ()
89955 {
89956 return $ac_func ();
89957   ;
89958   return 0;
89959 }
89960 _ACEOF
89961 rm -f conftest.$ac_objext conftest$ac_exeext
89962 if { (ac_try="$ac_link"
89963 case "(($ac_try" in
89964   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
89965   *) ac_try_echo=$ac_try;;
89966 esac
89967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
89968   (eval "$ac_link") 2>conftest.er1
89969   ac_status=$?
89970   grep -v '^ *+' conftest.er1 >conftest.err
89971   rm -f conftest.er1
89972   cat conftest.err >&5
89973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89974   (exit $ac_status); } && {
89975          test -z "$ac_c_werror_flag" ||
89976          test ! -s conftest.err
89977        } && test -s conftest$ac_exeext &&
89978        $as_test_x conftest$ac_exeext; then
89979   eval "$as_ac_var=yes"
89980 else
89981   echo "$as_me: failed program was:" >&5
89982 sed 's/^/| /' conftest.$ac_ext >&5
89983
89984         eval "$as_ac_var=no"
89985 fi
89986
89987 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
89988       conftest$ac_exeext conftest.$ac_ext
89989 fi
89990 ac_res=`eval echo '${'$as_ac_var'}'`
89991                { echo "$as_me:$LINENO: result: $ac_res" >&5
89992 echo "${ECHO_T}$ac_res" >&6; }
89993 if test `eval echo '${'$as_ac_var'}'` = yes; then
89994   cat >>confdefs.h <<_ACEOF
89995 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89996 _ACEOF
89997
89998 fi
89999 done
90000
90001   else
90002
90003   { echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
90004 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6; }
90005   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
90006     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
90007   echo $ECHO_N "(cached) $ECHO_C" >&6
90008 else
90009
90010
90011       ac_ext=cpp
90012 ac_cpp='$CXXCPP $CPPFLAGS'
90013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90016
90017       cat >conftest.$ac_ext <<_ACEOF
90018 /* confdefs.h.  */
90019 _ACEOF
90020 cat confdefs.h >>conftest.$ac_ext
90021 cat >>conftest.$ac_ext <<_ACEOF
90022 /* end confdefs.h.  */
90023 #include <math.h>
90024 int
90025 main ()
90026 {
90027  _hypotf(0, 0);
90028   ;
90029   return 0;
90030 }
90031 _ACEOF
90032 rm -f conftest.$ac_objext
90033 if { (ac_try="$ac_compile"
90034 case "(($ac_try" in
90035   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
90036   *) ac_try_echo=$ac_try;;
90037 esac
90038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
90039   (eval "$ac_compile") 2>conftest.er1
90040   ac_status=$?
90041   grep -v '^ *+' conftest.er1 >conftest.err
90042   rm -f conftest.er1
90043   cat conftest.err >&5
90044   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90045   (exit $ac_status); } && {
90046          test -z "$ac_cxx_werror_flag" ||
90047          test ! -s conftest.err
90048        } && test -s conftest.$ac_objext; then
90049   glibcxx_cv_func__hypotf_use=yes
90050 else
90051   echo "$as_me: failed program was:" >&5
90052 sed 's/^/| /' conftest.$ac_ext >&5
90053
90054         glibcxx_cv_func__hypotf_use=no
90055 fi
90056
90057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
90058       ac_ext=c
90059 ac_cpp='$CPP $CPPFLAGS'
90060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90063
90064
90065 fi
90066
90067   fi
90068   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
90069 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6; }
90070
90071     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
90072
90073 for ac_func in _hypotf
90074 do
90075 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90076 { echo "$as_me:$LINENO: checking for $ac_func" >&5
90077 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
90078 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
90079   echo $ECHO_N "(cached) $ECHO_C" >&6
90080 else
90081   if test x$gcc_no_link = xyes; then
90082   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90083 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90084    { (exit 1); exit 1; }; }
90085 fi
90086 cat >conftest.$ac_ext <<_ACEOF
90087 /* confdefs.h.  */
90088 _ACEOF
90089 cat confdefs.h >>conftest.$ac_ext
90090 cat >>conftest.$ac_ext <<_ACEOF
90091 /* end confdefs.h.  */
90092 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90093    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
90094 #define $ac_func innocuous_$ac_func
90095
90096 /* System header to define __stub macros and hopefully few prototypes,
90097     which can conflict with char $ac_func (); below.
90098     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90099     <limits.h> exists even on freestanding compilers.  */
90100
90101 #ifdef __STDC__
90102 # include <limits.h>
90103 #else
90104 # include <assert.h>
90105 #endif
90106
90107 #undef $ac_func
90108
90109 /* Override any GCC internal prototype to avoid an error.
90110    Use char because int might match the return type of a GCC
90111    builtin and then its argument prototype would still apply.  */
90112 #ifdef __cplusplus
90113 extern "C"
90114 #endif
90115 char $ac_func ();
90116 /* The GNU C library defines this for functions which it implements
90117     to always fail with ENOSYS.  Some functions are actually named
90118     something starting with __ and the normal name is an alias.  */
90119 #if defined __stub_$ac_func || defined __stub___$ac_func
90120 choke me
90121 #endif
90122
90123 int
90124 main ()
90125 {
90126 return $ac_func ();
90127   ;
90128   return 0;
90129 }
90130 _ACEOF
90131 rm -f conftest.$ac_objext conftest$ac_exeext
90132 if { (ac_try="$ac_link"
90133 case "(($ac_try" in
90134   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
90135   *) ac_try_echo=$ac_try;;
90136 esac
90137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
90138   (eval "$ac_link") 2>conftest.er1
90139   ac_status=$?
90140   grep -v '^ *+' conftest.er1 >conftest.err
90141   rm -f conftest.er1
90142   cat conftest.err >&5
90143   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90144   (exit $ac_status); } && {
90145          test -z "$ac_c_werror_flag" ||
90146          test ! -s conftest.err
90147        } && test -s conftest$ac_exeext &&
90148        $as_test_x conftest$ac_exeext; then
90149   eval "$as_ac_var=yes"
90150 else
90151   echo "$as_me: failed program was:" >&5
90152 sed 's/^/| /' conftest.$ac_ext >&5
90153
90154         eval "$as_ac_var=no"
90155 fi
90156
90157 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
90158       conftest$ac_exeext conftest.$ac_ext
90159 fi
90160 ac_res=`eval echo '${'$as_ac_var'}'`
90161                { echo "$as_me:$LINENO: result: $ac_res" >&5
90162 echo "${ECHO_T}$ac_res" >&6; }
90163 if test `eval echo '${'$as_ac_var'}'` = yes; then
90164   cat >>confdefs.h <<_ACEOF
90165 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90166 _ACEOF
90167
90168 fi
90169 done
90170
90171     fi
90172   fi
90173
90174
90175
90176
90177
90178
90179   { echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
90180 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6; }
90181   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
90182     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
90183   echo $ECHO_N "(cached) $ECHO_C" >&6
90184 else
90185
90186
90187       ac_ext=cpp
90188 ac_cpp='$CXXCPP $CPPFLAGS'
90189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90192
90193       cat >conftest.$ac_ext <<_ACEOF
90194 /* confdefs.h.  */
90195 _ACEOF
90196 cat confdefs.h >>conftest.$ac_ext
90197 cat >>conftest.$ac_ext <<_ACEOF
90198 /* end confdefs.h.  */
90199 #include <math.h>
90200 int
90201 main ()
90202 {
90203  ldexpf(0, 0);
90204   ;
90205   return 0;
90206 }
90207 _ACEOF
90208 rm -f conftest.$ac_objext
90209 if { (ac_try="$ac_compile"
90210 case "(($ac_try" in
90211   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
90212   *) ac_try_echo=$ac_try;;
90213 esac
90214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
90215   (eval "$ac_compile") 2>conftest.er1
90216   ac_status=$?
90217   grep -v '^ *+' conftest.er1 >conftest.err
90218   rm -f conftest.er1
90219   cat conftest.err >&5
90220   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90221   (exit $ac_status); } && {
90222          test -z "$ac_cxx_werror_flag" ||
90223          test ! -s conftest.err
90224        } && test -s conftest.$ac_objext; then
90225   glibcxx_cv_func_ldexpf_use=yes
90226 else
90227   echo "$as_me: failed program was:" >&5
90228 sed 's/^/| /' conftest.$ac_ext >&5
90229
90230         glibcxx_cv_func_ldexpf_use=no
90231 fi
90232
90233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
90234       ac_ext=c
90235 ac_cpp='$CPP $CPPFLAGS'
90236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90239
90240
90241 fi
90242
90243   fi
90244   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
90245 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6; }
90246
90247   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
90248
90249 for ac_func in ldexpf
90250 do
90251 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90252 { echo "$as_me:$LINENO: checking for $ac_func" >&5
90253 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
90254 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
90255   echo $ECHO_N "(cached) $ECHO_C" >&6
90256 else
90257   if test x$gcc_no_link = xyes; then
90258   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90259 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90260    { (exit 1); exit 1; }; }
90261 fi
90262 cat >conftest.$ac_ext <<_ACEOF
90263 /* confdefs.h.  */
90264 _ACEOF
90265 cat confdefs.h >>conftest.$ac_ext
90266 cat >>conftest.$ac_ext <<_ACEOF
90267 /* end confdefs.h.  */
90268 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90269    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
90270 #define $ac_func innocuous_$ac_func
90271
90272 /* System header to define __stub macros and hopefully few prototypes,
90273     which can conflict with char $ac_func (); below.
90274     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90275     <limits.h> exists even on freestanding compilers.  */
90276
90277 #ifdef __STDC__
90278 # include <limits.h>
90279 #else
90280 # include <assert.h>
90281 #endif
90282
90283 #undef $ac_func
90284
90285 /* Override any GCC internal prototype to avoid an error.
90286    Use char because int might match the return type of a GCC
90287    builtin and then its argument prototype would still apply.  */
90288 #ifdef __cplusplus
90289 extern "C"
90290 #endif
90291 char $ac_func ();
90292 /* The GNU C library defines this for functions which it implements
90293     to always fail with ENOSYS.  Some functions are actually named
90294     something starting with __ and the normal name is an alias.  */
90295 #if defined __stub_$ac_func || defined __stub___$ac_func
90296 choke me
90297 #endif
90298
90299 int
90300 main ()
90301 {
90302 return $ac_func ();
90303   ;
90304   return 0;
90305 }
90306 _ACEOF
90307 rm -f conftest.$ac_objext conftest$ac_exeext
90308 if { (ac_try="$ac_link"
90309 case "(($ac_try" in
90310   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
90311   *) ac_try_echo=$ac_try;;
90312 esac
90313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
90314   (eval "$ac_link") 2>conftest.er1
90315   ac_status=$?
90316   grep -v '^ *+' conftest.er1 >conftest.err
90317   rm -f conftest.er1
90318   cat conftest.err >&5
90319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90320   (exit $ac_status); } && {
90321          test -z "$ac_c_werror_flag" ||
90322          test ! -s conftest.err
90323        } && test -s conftest$ac_exeext &&
90324        $as_test_x conftest$ac_exeext; then
90325   eval "$as_ac_var=yes"
90326 else
90327   echo "$as_me: failed program was:" >&5
90328 sed 's/^/| /' conftest.$ac_ext >&5
90329
90330         eval "$as_ac_var=no"
90331 fi
90332
90333 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
90334       conftest$ac_exeext conftest.$ac_ext
90335 fi
90336 ac_res=`eval echo '${'$as_ac_var'}'`
90337                { echo "$as_me:$LINENO: result: $ac_res" >&5
90338 echo "${ECHO_T}$ac_res" >&6; }
90339 if test `eval echo '${'$as_ac_var'}'` = yes; then
90340   cat >>confdefs.h <<_ACEOF
90341 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90342 _ACEOF
90343
90344 fi
90345 done
90346
90347   else
90348
90349   { echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
90350 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6; }
90351   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
90352     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
90353   echo $ECHO_N "(cached) $ECHO_C" >&6
90354 else
90355
90356
90357       ac_ext=cpp
90358 ac_cpp='$CXXCPP $CPPFLAGS'
90359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90362
90363       cat >conftest.$ac_ext <<_ACEOF
90364 /* confdefs.h.  */
90365 _ACEOF
90366 cat confdefs.h >>conftest.$ac_ext
90367 cat >>conftest.$ac_ext <<_ACEOF
90368 /* end confdefs.h.  */
90369 #include <math.h>
90370 int
90371 main ()
90372 {
90373  _ldexpf(0, 0);
90374   ;
90375   return 0;
90376 }
90377 _ACEOF
90378 rm -f conftest.$ac_objext
90379 if { (ac_try="$ac_compile"
90380 case "(($ac_try" in
90381   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
90382   *) ac_try_echo=$ac_try;;
90383 esac
90384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
90385   (eval "$ac_compile") 2>conftest.er1
90386   ac_status=$?
90387   grep -v '^ *+' conftest.er1 >conftest.err
90388   rm -f conftest.er1
90389   cat conftest.err >&5
90390   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90391   (exit $ac_status); } && {
90392          test -z "$ac_cxx_werror_flag" ||
90393          test ! -s conftest.err
90394        } && test -s conftest.$ac_objext; then
90395   glibcxx_cv_func__ldexpf_use=yes
90396 else
90397   echo "$as_me: failed program was:" >&5
90398 sed 's/^/| /' conftest.$ac_ext >&5
90399
90400         glibcxx_cv_func__ldexpf_use=no
90401 fi
90402
90403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
90404       ac_ext=c
90405 ac_cpp='$CPP $CPPFLAGS'
90406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90409
90410
90411 fi
90412
90413   fi
90414   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
90415 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6; }
90416
90417     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
90418
90419 for ac_func in _ldexpf
90420 do
90421 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90422 { echo "$as_me:$LINENO: checking for $ac_func" >&5
90423 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
90424 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
90425   echo $ECHO_N "(cached) $ECHO_C" >&6
90426 else
90427   if test x$gcc_no_link = xyes; then
90428   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90429 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90430    { (exit 1); exit 1; }; }
90431 fi
90432 cat >conftest.$ac_ext <<_ACEOF
90433 /* confdefs.h.  */
90434 _ACEOF
90435 cat confdefs.h >>conftest.$ac_ext
90436 cat >>conftest.$ac_ext <<_ACEOF
90437 /* end confdefs.h.  */
90438 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90439    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
90440 #define $ac_func innocuous_$ac_func
90441
90442 /* System header to define __stub macros and hopefully few prototypes,
90443     which can conflict with char $ac_func (); below.
90444     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90445     <limits.h> exists even on freestanding compilers.  */
90446
90447 #ifdef __STDC__
90448 # include <limits.h>
90449 #else
90450 # include <assert.h>
90451 #endif
90452
90453 #undef $ac_func
90454
90455 /* Override any GCC internal prototype to avoid an error.
90456    Use char because int might match the return type of a GCC
90457    builtin and then its argument prototype would still apply.  */
90458 #ifdef __cplusplus
90459 extern "C"
90460 #endif
90461 char $ac_func ();
90462 /* The GNU C library defines this for functions which it implements
90463     to always fail with ENOSYS.  Some functions are actually named
90464     something starting with __ and the normal name is an alias.  */
90465 #if defined __stub_$ac_func || defined __stub___$ac_func
90466 choke me
90467 #endif
90468
90469 int
90470 main ()
90471 {
90472 return $ac_func ();
90473   ;
90474   return 0;
90475 }
90476 _ACEOF
90477 rm -f conftest.$ac_objext conftest$ac_exeext
90478 if { (ac_try="$ac_link"
90479 case "(($ac_try" in
90480   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
90481   *) ac_try_echo=$ac_try;;
90482 esac
90483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
90484   (eval "$ac_link") 2>conftest.er1
90485   ac_status=$?
90486   grep -v '^ *+' conftest.er1 >conftest.err
90487   rm -f conftest.er1
90488   cat conftest.err >&5
90489   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90490   (exit $ac_status); } && {
90491          test -z "$ac_c_werror_flag" ||
90492          test ! -s conftest.err
90493        } && test -s conftest$ac_exeext &&
90494        $as_test_x conftest$ac_exeext; then
90495   eval "$as_ac_var=yes"
90496 else
90497   echo "$as_me: failed program was:" >&5
90498 sed 's/^/| /' conftest.$ac_ext >&5
90499
90500         eval "$as_ac_var=no"
90501 fi
90502
90503 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
90504       conftest$ac_exeext conftest.$ac_ext
90505 fi
90506 ac_res=`eval echo '${'$as_ac_var'}'`
90507                { echo "$as_me:$LINENO: result: $ac_res" >&5
90508 echo "${ECHO_T}$ac_res" >&6; }
90509 if test `eval echo '${'$as_ac_var'}'` = yes; then
90510   cat >>confdefs.h <<_ACEOF
90511 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90512 _ACEOF
90513
90514 fi
90515 done
90516
90517     fi
90518   fi
90519
90520
90521
90522
90523
90524
90525   { echo "$as_me:$LINENO: checking for logf declaration" >&5
90526 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6; }
90527   if test x${glibcxx_cv_func_logf_use+set} != xset; then
90528     if test "${glibcxx_cv_func_logf_use+set}" = set; then
90529   echo $ECHO_N "(cached) $ECHO_C" >&6
90530 else
90531
90532
90533       ac_ext=cpp
90534 ac_cpp='$CXXCPP $CPPFLAGS'
90535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90538
90539       cat >conftest.$ac_ext <<_ACEOF
90540 /* confdefs.h.  */
90541 _ACEOF
90542 cat confdefs.h >>conftest.$ac_ext
90543 cat >>conftest.$ac_ext <<_ACEOF
90544 /* end confdefs.h.  */
90545 #include <math.h>
90546                       #ifdef HAVE_IEEEFP_H
90547                       #include <ieeefp.h>
90548                       #endif
90549
90550 int
90551 main ()
90552 {
90553  logf(0);
90554   ;
90555   return 0;
90556 }
90557 _ACEOF
90558 rm -f conftest.$ac_objext
90559 if { (ac_try="$ac_compile"
90560 case "(($ac_try" in
90561   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
90562   *) ac_try_echo=$ac_try;;
90563 esac
90564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
90565   (eval "$ac_compile") 2>conftest.er1
90566   ac_status=$?
90567   grep -v '^ *+' conftest.er1 >conftest.err
90568   rm -f conftest.er1
90569   cat conftest.err >&5
90570   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90571   (exit $ac_status); } && {
90572          test -z "$ac_cxx_werror_flag" ||
90573          test ! -s conftest.err
90574        } && test -s conftest.$ac_objext; then
90575   glibcxx_cv_func_logf_use=yes
90576 else
90577   echo "$as_me: failed program was:" >&5
90578 sed 's/^/| /' conftest.$ac_ext >&5
90579
90580         glibcxx_cv_func_logf_use=no
90581 fi
90582
90583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
90584       ac_ext=c
90585 ac_cpp='$CPP $CPPFLAGS'
90586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90589
90590
90591 fi
90592
90593   fi
90594   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
90595 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6; }
90596
90597   if test x$glibcxx_cv_func_logf_use = x"yes"; then
90598
90599 for ac_func in logf
90600 do
90601 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90602 { echo "$as_me:$LINENO: checking for $ac_func" >&5
90603 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
90604 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
90605   echo $ECHO_N "(cached) $ECHO_C" >&6
90606 else
90607   if test x$gcc_no_link = xyes; then
90608   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90609 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90610    { (exit 1); exit 1; }; }
90611 fi
90612 cat >conftest.$ac_ext <<_ACEOF
90613 /* confdefs.h.  */
90614 _ACEOF
90615 cat confdefs.h >>conftest.$ac_ext
90616 cat >>conftest.$ac_ext <<_ACEOF
90617 /* end confdefs.h.  */
90618 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90619    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
90620 #define $ac_func innocuous_$ac_func
90621
90622 /* System header to define __stub macros and hopefully few prototypes,
90623     which can conflict with char $ac_func (); below.
90624     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90625     <limits.h> exists even on freestanding compilers.  */
90626
90627 #ifdef __STDC__
90628 # include <limits.h>
90629 #else
90630 # include <assert.h>
90631 #endif
90632
90633 #undef $ac_func
90634
90635 /* Override any GCC internal prototype to avoid an error.
90636    Use char because int might match the return type of a GCC
90637    builtin and then its argument prototype would still apply.  */
90638 #ifdef __cplusplus
90639 extern "C"
90640 #endif
90641 char $ac_func ();
90642 /* The GNU C library defines this for functions which it implements
90643     to always fail with ENOSYS.  Some functions are actually named
90644     something starting with __ and the normal name is an alias.  */
90645 #if defined __stub_$ac_func || defined __stub___$ac_func
90646 choke me
90647 #endif
90648
90649 int
90650 main ()
90651 {
90652 return $ac_func ();
90653   ;
90654   return 0;
90655 }
90656 _ACEOF
90657 rm -f conftest.$ac_objext conftest$ac_exeext
90658 if { (ac_try="$ac_link"
90659 case "(($ac_try" in
90660   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
90661   *) ac_try_echo=$ac_try;;
90662 esac
90663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
90664   (eval "$ac_link") 2>conftest.er1
90665   ac_status=$?
90666   grep -v '^ *+' conftest.er1 >conftest.err
90667   rm -f conftest.er1
90668   cat conftest.err >&5
90669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90670   (exit $ac_status); } && {
90671          test -z "$ac_c_werror_flag" ||
90672          test ! -s conftest.err
90673        } && test -s conftest$ac_exeext &&
90674        $as_test_x conftest$ac_exeext; then
90675   eval "$as_ac_var=yes"
90676 else
90677   echo "$as_me: failed program was:" >&5
90678 sed 's/^/| /' conftest.$ac_ext >&5
90679
90680         eval "$as_ac_var=no"
90681 fi
90682
90683 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
90684       conftest$ac_exeext conftest.$ac_ext
90685 fi
90686 ac_res=`eval echo '${'$as_ac_var'}'`
90687                { echo "$as_me:$LINENO: result: $ac_res" >&5
90688 echo "${ECHO_T}$ac_res" >&6; }
90689 if test `eval echo '${'$as_ac_var'}'` = yes; then
90690   cat >>confdefs.h <<_ACEOF
90691 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90692 _ACEOF
90693
90694 fi
90695 done
90696
90697   else
90698
90699   { echo "$as_me:$LINENO: checking for _logf declaration" >&5
90700 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6; }
90701   if test x${glibcxx_cv_func__logf_use+set} != xset; then
90702     if test "${glibcxx_cv_func__logf_use+set}" = set; then
90703   echo $ECHO_N "(cached) $ECHO_C" >&6
90704 else
90705
90706
90707       ac_ext=cpp
90708 ac_cpp='$CXXCPP $CPPFLAGS'
90709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90712
90713       cat >conftest.$ac_ext <<_ACEOF
90714 /* confdefs.h.  */
90715 _ACEOF
90716 cat confdefs.h >>conftest.$ac_ext
90717 cat >>conftest.$ac_ext <<_ACEOF
90718 /* end confdefs.h.  */
90719 #include <math.h>
90720                       #ifdef HAVE_IEEEFP_H
90721                       #include <ieeefp.h>
90722                       #endif
90723
90724 int
90725 main ()
90726 {
90727  _logf(0);
90728   ;
90729   return 0;
90730 }
90731 _ACEOF
90732 rm -f conftest.$ac_objext
90733 if { (ac_try="$ac_compile"
90734 case "(($ac_try" in
90735   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
90736   *) ac_try_echo=$ac_try;;
90737 esac
90738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
90739   (eval "$ac_compile") 2>conftest.er1
90740   ac_status=$?
90741   grep -v '^ *+' conftest.er1 >conftest.err
90742   rm -f conftest.er1
90743   cat conftest.err >&5
90744   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90745   (exit $ac_status); } && {
90746          test -z "$ac_cxx_werror_flag" ||
90747          test ! -s conftest.err
90748        } && test -s conftest.$ac_objext; then
90749   glibcxx_cv_func__logf_use=yes
90750 else
90751   echo "$as_me: failed program was:" >&5
90752 sed 's/^/| /' conftest.$ac_ext >&5
90753
90754         glibcxx_cv_func__logf_use=no
90755 fi
90756
90757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
90758       ac_ext=c
90759 ac_cpp='$CPP $CPPFLAGS'
90760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90763
90764
90765 fi
90766
90767   fi
90768   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
90769 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6; }
90770
90771     if test x$glibcxx_cv_func__logf_use = x"yes"; then
90772
90773 for ac_func in _logf
90774 do
90775 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90776 { echo "$as_me:$LINENO: checking for $ac_func" >&5
90777 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
90778 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
90779   echo $ECHO_N "(cached) $ECHO_C" >&6
90780 else
90781   if test x$gcc_no_link = xyes; then
90782   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90783 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90784    { (exit 1); exit 1; }; }
90785 fi
90786 cat >conftest.$ac_ext <<_ACEOF
90787 /* confdefs.h.  */
90788 _ACEOF
90789 cat confdefs.h >>conftest.$ac_ext
90790 cat >>conftest.$ac_ext <<_ACEOF
90791 /* end confdefs.h.  */
90792 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90793    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
90794 #define $ac_func innocuous_$ac_func
90795
90796 /* System header to define __stub macros and hopefully few prototypes,
90797     which can conflict with char $ac_func (); below.
90798     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90799     <limits.h> exists even on freestanding compilers.  */
90800
90801 #ifdef __STDC__
90802 # include <limits.h>
90803 #else
90804 # include <assert.h>
90805 #endif
90806
90807 #undef $ac_func
90808
90809 /* Override any GCC internal prototype to avoid an error.
90810    Use char because int might match the return type of a GCC
90811    builtin and then its argument prototype would still apply.  */
90812 #ifdef __cplusplus
90813 extern "C"
90814 #endif
90815 char $ac_func ();
90816 /* The GNU C library defines this for functions which it implements
90817     to always fail with ENOSYS.  Some functions are actually named
90818     something starting with __ and the normal name is an alias.  */
90819 #if defined __stub_$ac_func || defined __stub___$ac_func
90820 choke me
90821 #endif
90822
90823 int
90824 main ()
90825 {
90826 return $ac_func ();
90827   ;
90828   return 0;
90829 }
90830 _ACEOF
90831 rm -f conftest.$ac_objext conftest$ac_exeext
90832 if { (ac_try="$ac_link"
90833 case "(($ac_try" in
90834   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
90835   *) ac_try_echo=$ac_try;;
90836 esac
90837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
90838   (eval "$ac_link") 2>conftest.er1
90839   ac_status=$?
90840   grep -v '^ *+' conftest.er1 >conftest.err
90841   rm -f conftest.er1
90842   cat conftest.err >&5
90843   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90844   (exit $ac_status); } && {
90845          test -z "$ac_c_werror_flag" ||
90846          test ! -s conftest.err
90847        } && test -s conftest$ac_exeext &&
90848        $as_test_x conftest$ac_exeext; then
90849   eval "$as_ac_var=yes"
90850 else
90851   echo "$as_me: failed program was:" >&5
90852 sed 's/^/| /' conftest.$ac_ext >&5
90853
90854         eval "$as_ac_var=no"
90855 fi
90856
90857 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
90858       conftest$ac_exeext conftest.$ac_ext
90859 fi
90860 ac_res=`eval echo '${'$as_ac_var'}'`
90861                { echo "$as_me:$LINENO: result: $ac_res" >&5
90862 echo "${ECHO_T}$ac_res" >&6; }
90863 if test `eval echo '${'$as_ac_var'}'` = yes; then
90864   cat >>confdefs.h <<_ACEOF
90865 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90866 _ACEOF
90867
90868 fi
90869 done
90870
90871     fi
90872   fi
90873
90874
90875
90876
90877
90878
90879   { echo "$as_me:$LINENO: checking for log10f declaration" >&5
90880 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6; }
90881   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
90882     if test "${glibcxx_cv_func_log10f_use+set}" = set; then
90883   echo $ECHO_N "(cached) $ECHO_C" >&6
90884 else
90885
90886
90887       ac_ext=cpp
90888 ac_cpp='$CXXCPP $CPPFLAGS'
90889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90892
90893       cat >conftest.$ac_ext <<_ACEOF
90894 /* confdefs.h.  */
90895 _ACEOF
90896 cat confdefs.h >>conftest.$ac_ext
90897 cat >>conftest.$ac_ext <<_ACEOF
90898 /* end confdefs.h.  */
90899 #include <math.h>
90900                       #ifdef HAVE_IEEEFP_H
90901                       #include <ieeefp.h>
90902                       #endif
90903
90904 int
90905 main ()
90906 {
90907  log10f(0);
90908   ;
90909   return 0;
90910 }
90911 _ACEOF
90912 rm -f conftest.$ac_objext
90913 if { (ac_try="$ac_compile"
90914 case "(($ac_try" in
90915   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
90916   *) ac_try_echo=$ac_try;;
90917 esac
90918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
90919   (eval "$ac_compile") 2>conftest.er1
90920   ac_status=$?
90921   grep -v '^ *+' conftest.er1 >conftest.err
90922   rm -f conftest.er1
90923   cat conftest.err >&5
90924   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90925   (exit $ac_status); } && {
90926          test -z "$ac_cxx_werror_flag" ||
90927          test ! -s conftest.err
90928        } && test -s conftest.$ac_objext; then
90929   glibcxx_cv_func_log10f_use=yes
90930 else
90931   echo "$as_me: failed program was:" >&5
90932 sed 's/^/| /' conftest.$ac_ext >&5
90933
90934         glibcxx_cv_func_log10f_use=no
90935 fi
90936
90937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
90938       ac_ext=c
90939 ac_cpp='$CPP $CPPFLAGS'
90940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90943
90944
90945 fi
90946
90947   fi
90948   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
90949 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6; }
90950
90951   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
90952
90953 for ac_func in log10f
90954 do
90955 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90956 { echo "$as_me:$LINENO: checking for $ac_func" >&5
90957 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
90958 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
90959   echo $ECHO_N "(cached) $ECHO_C" >&6
90960 else
90961   if test x$gcc_no_link = xyes; then
90962   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90963 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90964    { (exit 1); exit 1; }; }
90965 fi
90966 cat >conftest.$ac_ext <<_ACEOF
90967 /* confdefs.h.  */
90968 _ACEOF
90969 cat confdefs.h >>conftest.$ac_ext
90970 cat >>conftest.$ac_ext <<_ACEOF
90971 /* end confdefs.h.  */
90972 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90973    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
90974 #define $ac_func innocuous_$ac_func
90975
90976 /* System header to define __stub macros and hopefully few prototypes,
90977     which can conflict with char $ac_func (); below.
90978     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90979     <limits.h> exists even on freestanding compilers.  */
90980
90981 #ifdef __STDC__
90982 # include <limits.h>
90983 #else
90984 # include <assert.h>
90985 #endif
90986
90987 #undef $ac_func
90988
90989 /* Override any GCC internal prototype to avoid an error.
90990    Use char because int might match the return type of a GCC
90991    builtin and then its argument prototype would still apply.  */
90992 #ifdef __cplusplus
90993 extern "C"
90994 #endif
90995 char $ac_func ();
90996 /* The GNU C library defines this for functions which it implements
90997     to always fail with ENOSYS.  Some functions are actually named
90998     something starting with __ and the normal name is an alias.  */
90999 #if defined __stub_$ac_func || defined __stub___$ac_func
91000 choke me
91001 #endif
91002
91003 int
91004 main ()
91005 {
91006 return $ac_func ();
91007   ;
91008   return 0;
91009 }
91010 _ACEOF
91011 rm -f conftest.$ac_objext conftest$ac_exeext
91012 if { (ac_try="$ac_link"
91013 case "(($ac_try" in
91014   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
91015   *) ac_try_echo=$ac_try;;
91016 esac
91017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
91018   (eval "$ac_link") 2>conftest.er1
91019   ac_status=$?
91020   grep -v '^ *+' conftest.er1 >conftest.err
91021   rm -f conftest.er1
91022   cat conftest.err >&5
91023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91024   (exit $ac_status); } && {
91025          test -z "$ac_c_werror_flag" ||
91026          test ! -s conftest.err
91027        } && test -s conftest$ac_exeext &&
91028        $as_test_x conftest$ac_exeext; then
91029   eval "$as_ac_var=yes"
91030 else
91031   echo "$as_me: failed program was:" >&5
91032 sed 's/^/| /' conftest.$ac_ext >&5
91033
91034         eval "$as_ac_var=no"
91035 fi
91036
91037 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
91038       conftest$ac_exeext conftest.$ac_ext
91039 fi
91040 ac_res=`eval echo '${'$as_ac_var'}'`
91041                { echo "$as_me:$LINENO: result: $ac_res" >&5
91042 echo "${ECHO_T}$ac_res" >&6; }
91043 if test `eval echo '${'$as_ac_var'}'` = yes; then
91044   cat >>confdefs.h <<_ACEOF
91045 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91046 _ACEOF
91047
91048 fi
91049 done
91050
91051   else
91052
91053   { echo "$as_me:$LINENO: checking for _log10f declaration" >&5
91054 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6; }
91055   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
91056     if test "${glibcxx_cv_func__log10f_use+set}" = set; then
91057   echo $ECHO_N "(cached) $ECHO_C" >&6
91058 else
91059
91060
91061       ac_ext=cpp
91062 ac_cpp='$CXXCPP $CPPFLAGS'
91063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91066
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 #include <math.h>
91074                       #ifdef HAVE_IEEEFP_H
91075                       #include <ieeefp.h>
91076                       #endif
91077
91078 int
91079 main ()
91080 {
91081  _log10f(0);
91082   ;
91083   return 0;
91084 }
91085 _ACEOF
91086 rm -f conftest.$ac_objext
91087 if { (ac_try="$ac_compile"
91088 case "(($ac_try" in
91089   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
91090   *) ac_try_echo=$ac_try;;
91091 esac
91092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
91093   (eval "$ac_compile") 2>conftest.er1
91094   ac_status=$?
91095   grep -v '^ *+' conftest.er1 >conftest.err
91096   rm -f conftest.er1
91097   cat conftest.err >&5
91098   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91099   (exit $ac_status); } && {
91100          test -z "$ac_cxx_werror_flag" ||
91101          test ! -s conftest.err
91102        } && test -s conftest.$ac_objext; then
91103   glibcxx_cv_func__log10f_use=yes
91104 else
91105   echo "$as_me: failed program was:" >&5
91106 sed 's/^/| /' conftest.$ac_ext >&5
91107
91108         glibcxx_cv_func__log10f_use=no
91109 fi
91110
91111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
91112       ac_ext=c
91113 ac_cpp='$CPP $CPPFLAGS'
91114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91117
91118
91119 fi
91120
91121   fi
91122   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
91123 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6; }
91124
91125     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
91126
91127 for ac_func in _log10f
91128 do
91129 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91130 { echo "$as_me:$LINENO: checking for $ac_func" >&5
91131 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
91132 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
91133   echo $ECHO_N "(cached) $ECHO_C" >&6
91134 else
91135   if test x$gcc_no_link = xyes; then
91136   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91137 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91138    { (exit 1); exit 1; }; }
91139 fi
91140 cat >conftest.$ac_ext <<_ACEOF
91141 /* confdefs.h.  */
91142 _ACEOF
91143 cat confdefs.h >>conftest.$ac_ext
91144 cat >>conftest.$ac_ext <<_ACEOF
91145 /* end confdefs.h.  */
91146 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91147    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
91148 #define $ac_func innocuous_$ac_func
91149
91150 /* System header to define __stub macros and hopefully few prototypes,
91151     which can conflict with char $ac_func (); below.
91152     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91153     <limits.h> exists even on freestanding compilers.  */
91154
91155 #ifdef __STDC__
91156 # include <limits.h>
91157 #else
91158 # include <assert.h>
91159 #endif
91160
91161 #undef $ac_func
91162
91163 /* Override any GCC internal prototype to avoid an error.
91164    Use char because int might match the return type of a GCC
91165    builtin and then its argument prototype would still apply.  */
91166 #ifdef __cplusplus
91167 extern "C"
91168 #endif
91169 char $ac_func ();
91170 /* The GNU C library defines this for functions which it implements
91171     to always fail with ENOSYS.  Some functions are actually named
91172     something starting with __ and the normal name is an alias.  */
91173 #if defined __stub_$ac_func || defined __stub___$ac_func
91174 choke me
91175 #endif
91176
91177 int
91178 main ()
91179 {
91180 return $ac_func ();
91181   ;
91182   return 0;
91183 }
91184 _ACEOF
91185 rm -f conftest.$ac_objext conftest$ac_exeext
91186 if { (ac_try="$ac_link"
91187 case "(($ac_try" in
91188   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
91189   *) ac_try_echo=$ac_try;;
91190 esac
91191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
91192   (eval "$ac_link") 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          test -z "$ac_c_werror_flag" ||
91200          test ! -s conftest.err
91201        } && test -s conftest$ac_exeext &&
91202        $as_test_x conftest$ac_exeext; then
91203   eval "$as_ac_var=yes"
91204 else
91205   echo "$as_me: failed program was:" >&5
91206 sed 's/^/| /' conftest.$ac_ext >&5
91207
91208         eval "$as_ac_var=no"
91209 fi
91210
91211 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
91212       conftest$ac_exeext conftest.$ac_ext
91213 fi
91214 ac_res=`eval echo '${'$as_ac_var'}'`
91215                { echo "$as_me:$LINENO: result: $ac_res" >&5
91216 echo "${ECHO_T}$ac_res" >&6; }
91217 if test `eval echo '${'$as_ac_var'}'` = yes; then
91218   cat >>confdefs.h <<_ACEOF
91219 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91220 _ACEOF
91221
91222 fi
91223 done
91224
91225     fi
91226   fi
91227
91228
91229
91230
91231
91232
91233   { echo "$as_me:$LINENO: checking for modff declaration" >&5
91234 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6; }
91235   if test x${glibcxx_cv_func_modff_use+set} != xset; then
91236     if test "${glibcxx_cv_func_modff_use+set}" = set; then
91237   echo $ECHO_N "(cached) $ECHO_C" >&6
91238 else
91239
91240
91241       ac_ext=cpp
91242 ac_cpp='$CXXCPP $CPPFLAGS'
91243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91246
91247       cat >conftest.$ac_ext <<_ACEOF
91248 /* confdefs.h.  */
91249 _ACEOF
91250 cat confdefs.h >>conftest.$ac_ext
91251 cat >>conftest.$ac_ext <<_ACEOF
91252 /* end confdefs.h.  */
91253 #include <math.h>
91254 int
91255 main ()
91256 {
91257  modff(0, 0);
91258   ;
91259   return 0;
91260 }
91261 _ACEOF
91262 rm -f conftest.$ac_objext
91263 if { (ac_try="$ac_compile"
91264 case "(($ac_try" in
91265   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
91266   *) ac_try_echo=$ac_try;;
91267 esac
91268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
91269   (eval "$ac_compile") 2>conftest.er1
91270   ac_status=$?
91271   grep -v '^ *+' conftest.er1 >conftest.err
91272   rm -f conftest.er1
91273   cat conftest.err >&5
91274   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91275   (exit $ac_status); } && {
91276          test -z "$ac_cxx_werror_flag" ||
91277          test ! -s conftest.err
91278        } && test -s conftest.$ac_objext; then
91279   glibcxx_cv_func_modff_use=yes
91280 else
91281   echo "$as_me: failed program was:" >&5
91282 sed 's/^/| /' conftest.$ac_ext >&5
91283
91284         glibcxx_cv_func_modff_use=no
91285 fi
91286
91287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
91288       ac_ext=c
91289 ac_cpp='$CPP $CPPFLAGS'
91290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91293
91294
91295 fi
91296
91297   fi
91298   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
91299 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6; }
91300
91301   if test x$glibcxx_cv_func_modff_use = x"yes"; then
91302
91303 for ac_func in modff
91304 do
91305 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91306 { echo "$as_me:$LINENO: checking for $ac_func" >&5
91307 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
91308 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
91309   echo $ECHO_N "(cached) $ECHO_C" >&6
91310 else
91311   if test x$gcc_no_link = xyes; then
91312   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91313 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91314    { (exit 1); exit 1; }; }
91315 fi
91316 cat >conftest.$ac_ext <<_ACEOF
91317 /* confdefs.h.  */
91318 _ACEOF
91319 cat confdefs.h >>conftest.$ac_ext
91320 cat >>conftest.$ac_ext <<_ACEOF
91321 /* end confdefs.h.  */
91322 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91323    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
91324 #define $ac_func innocuous_$ac_func
91325
91326 /* System header to define __stub macros and hopefully few prototypes,
91327     which can conflict with char $ac_func (); below.
91328     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91329     <limits.h> exists even on freestanding compilers.  */
91330
91331 #ifdef __STDC__
91332 # include <limits.h>
91333 #else
91334 # include <assert.h>
91335 #endif
91336
91337 #undef $ac_func
91338
91339 /* Override any GCC internal prototype to avoid an error.
91340    Use char because int might match the return type of a GCC
91341    builtin and then its argument prototype would still apply.  */
91342 #ifdef __cplusplus
91343 extern "C"
91344 #endif
91345 char $ac_func ();
91346 /* The GNU C library defines this for functions which it implements
91347     to always fail with ENOSYS.  Some functions are actually named
91348     something starting with __ and the normal name is an alias.  */
91349 #if defined __stub_$ac_func || defined __stub___$ac_func
91350 choke me
91351 #endif
91352
91353 int
91354 main ()
91355 {
91356 return $ac_func ();
91357   ;
91358   return 0;
91359 }
91360 _ACEOF
91361 rm -f conftest.$ac_objext conftest$ac_exeext
91362 if { (ac_try="$ac_link"
91363 case "(($ac_try" in
91364   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
91365   *) ac_try_echo=$ac_try;;
91366 esac
91367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
91368   (eval "$ac_link") 2>conftest.er1
91369   ac_status=$?
91370   grep -v '^ *+' conftest.er1 >conftest.err
91371   rm -f conftest.er1
91372   cat conftest.err >&5
91373   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91374   (exit $ac_status); } && {
91375          test -z "$ac_c_werror_flag" ||
91376          test ! -s conftest.err
91377        } && test -s conftest$ac_exeext &&
91378        $as_test_x conftest$ac_exeext; then
91379   eval "$as_ac_var=yes"
91380 else
91381   echo "$as_me: failed program was:" >&5
91382 sed 's/^/| /' conftest.$ac_ext >&5
91383
91384         eval "$as_ac_var=no"
91385 fi
91386
91387 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
91388       conftest$ac_exeext conftest.$ac_ext
91389 fi
91390 ac_res=`eval echo '${'$as_ac_var'}'`
91391                { echo "$as_me:$LINENO: result: $ac_res" >&5
91392 echo "${ECHO_T}$ac_res" >&6; }
91393 if test `eval echo '${'$as_ac_var'}'` = yes; then
91394   cat >>confdefs.h <<_ACEOF
91395 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91396 _ACEOF
91397
91398 fi
91399 done
91400
91401   else
91402
91403   { echo "$as_me:$LINENO: checking for _modff declaration" >&5
91404 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6; }
91405   if test x${glibcxx_cv_func__modff_use+set} != xset; then
91406     if test "${glibcxx_cv_func__modff_use+set}" = set; then
91407   echo $ECHO_N "(cached) $ECHO_C" >&6
91408 else
91409
91410
91411       ac_ext=cpp
91412 ac_cpp='$CXXCPP $CPPFLAGS'
91413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91416
91417       cat >conftest.$ac_ext <<_ACEOF
91418 /* confdefs.h.  */
91419 _ACEOF
91420 cat confdefs.h >>conftest.$ac_ext
91421 cat >>conftest.$ac_ext <<_ACEOF
91422 /* end confdefs.h.  */
91423 #include <math.h>
91424 int
91425 main ()
91426 {
91427  _modff(0, 0);
91428   ;
91429   return 0;
91430 }
91431 _ACEOF
91432 rm -f conftest.$ac_objext
91433 if { (ac_try="$ac_compile"
91434 case "(($ac_try" in
91435   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
91436   *) ac_try_echo=$ac_try;;
91437 esac
91438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
91439   (eval "$ac_compile") 2>conftest.er1
91440   ac_status=$?
91441   grep -v '^ *+' conftest.er1 >conftest.err
91442   rm -f conftest.er1
91443   cat conftest.err >&5
91444   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91445   (exit $ac_status); } && {
91446          test -z "$ac_cxx_werror_flag" ||
91447          test ! -s conftest.err
91448        } && test -s conftest.$ac_objext; then
91449   glibcxx_cv_func__modff_use=yes
91450 else
91451   echo "$as_me: failed program was:" >&5
91452 sed 's/^/| /' conftest.$ac_ext >&5
91453
91454         glibcxx_cv_func__modff_use=no
91455 fi
91456
91457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
91458       ac_ext=c
91459 ac_cpp='$CPP $CPPFLAGS'
91460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91463
91464
91465 fi
91466
91467   fi
91468   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
91469 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6; }
91470
91471     if test x$glibcxx_cv_func__modff_use = x"yes"; then
91472
91473 for ac_func in _modff
91474 do
91475 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91476 { echo "$as_me:$LINENO: checking for $ac_func" >&5
91477 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
91478 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
91479   echo $ECHO_N "(cached) $ECHO_C" >&6
91480 else
91481   if test x$gcc_no_link = xyes; then
91482   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91483 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91484    { (exit 1); exit 1; }; }
91485 fi
91486 cat >conftest.$ac_ext <<_ACEOF
91487 /* confdefs.h.  */
91488 _ACEOF
91489 cat confdefs.h >>conftest.$ac_ext
91490 cat >>conftest.$ac_ext <<_ACEOF
91491 /* end confdefs.h.  */
91492 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91493    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
91494 #define $ac_func innocuous_$ac_func
91495
91496 /* System header to define __stub macros and hopefully few prototypes,
91497     which can conflict with char $ac_func (); below.
91498     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91499     <limits.h> exists even on freestanding compilers.  */
91500
91501 #ifdef __STDC__
91502 # include <limits.h>
91503 #else
91504 # include <assert.h>
91505 #endif
91506
91507 #undef $ac_func
91508
91509 /* Override any GCC internal prototype to avoid an error.
91510    Use char because int might match the return type of a GCC
91511    builtin and then its argument prototype would still apply.  */
91512 #ifdef __cplusplus
91513 extern "C"
91514 #endif
91515 char $ac_func ();
91516 /* The GNU C library defines this for functions which it implements
91517     to always fail with ENOSYS.  Some functions are actually named
91518     something starting with __ and the normal name is an alias.  */
91519 #if defined __stub_$ac_func || defined __stub___$ac_func
91520 choke me
91521 #endif
91522
91523 int
91524 main ()
91525 {
91526 return $ac_func ();
91527   ;
91528   return 0;
91529 }
91530 _ACEOF
91531 rm -f conftest.$ac_objext conftest$ac_exeext
91532 if { (ac_try="$ac_link"
91533 case "(($ac_try" in
91534   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
91535   *) ac_try_echo=$ac_try;;
91536 esac
91537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
91538   (eval "$ac_link") 2>conftest.er1
91539   ac_status=$?
91540   grep -v '^ *+' conftest.er1 >conftest.err
91541   rm -f conftest.er1
91542   cat conftest.err >&5
91543   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91544   (exit $ac_status); } && {
91545          test -z "$ac_c_werror_flag" ||
91546          test ! -s conftest.err
91547        } && test -s conftest$ac_exeext &&
91548        $as_test_x conftest$ac_exeext; then
91549   eval "$as_ac_var=yes"
91550 else
91551   echo "$as_me: failed program was:" >&5
91552 sed 's/^/| /' conftest.$ac_ext >&5
91553
91554         eval "$as_ac_var=no"
91555 fi
91556
91557 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
91558       conftest$ac_exeext conftest.$ac_ext
91559 fi
91560 ac_res=`eval echo '${'$as_ac_var'}'`
91561                { echo "$as_me:$LINENO: result: $ac_res" >&5
91562 echo "${ECHO_T}$ac_res" >&6; }
91563 if test `eval echo '${'$as_ac_var'}'` = yes; then
91564   cat >>confdefs.h <<_ACEOF
91565 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91566 _ACEOF
91567
91568 fi
91569 done
91570
91571     fi
91572   fi
91573
91574
91575
91576
91577
91578
91579   { echo "$as_me:$LINENO: checking for modf declaration" >&5
91580 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6; }
91581   if test x${glibcxx_cv_func_modf_use+set} != xset; then
91582     if test "${glibcxx_cv_func_modf_use+set}" = set; then
91583   echo $ECHO_N "(cached) $ECHO_C" >&6
91584 else
91585
91586
91587       ac_ext=cpp
91588 ac_cpp='$CXXCPP $CPPFLAGS'
91589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91592
91593       cat >conftest.$ac_ext <<_ACEOF
91594 /* confdefs.h.  */
91595 _ACEOF
91596 cat confdefs.h >>conftest.$ac_ext
91597 cat >>conftest.$ac_ext <<_ACEOF
91598 /* end confdefs.h.  */
91599 #include <math.h>
91600 int
91601 main ()
91602 {
91603  modf(0, 0);
91604   ;
91605   return 0;
91606 }
91607 _ACEOF
91608 rm -f conftest.$ac_objext
91609 if { (ac_try="$ac_compile"
91610 case "(($ac_try" in
91611   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
91612   *) ac_try_echo=$ac_try;;
91613 esac
91614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
91615   (eval "$ac_compile") 2>conftest.er1
91616   ac_status=$?
91617   grep -v '^ *+' conftest.er1 >conftest.err
91618   rm -f conftest.er1
91619   cat conftest.err >&5
91620   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91621   (exit $ac_status); } && {
91622          test -z "$ac_cxx_werror_flag" ||
91623          test ! -s conftest.err
91624        } && test -s conftest.$ac_objext; then
91625   glibcxx_cv_func_modf_use=yes
91626 else
91627   echo "$as_me: failed program was:" >&5
91628 sed 's/^/| /' conftest.$ac_ext >&5
91629
91630         glibcxx_cv_func_modf_use=no
91631 fi
91632
91633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
91634       ac_ext=c
91635 ac_cpp='$CPP $CPPFLAGS'
91636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91639
91640
91641 fi
91642
91643   fi
91644   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
91645 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6; }
91646
91647   if test x$glibcxx_cv_func_modf_use = x"yes"; then
91648
91649 for ac_func in modf
91650 do
91651 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91652 { echo "$as_me:$LINENO: checking for $ac_func" >&5
91653 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
91654 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
91655   echo $ECHO_N "(cached) $ECHO_C" >&6
91656 else
91657   if test x$gcc_no_link = xyes; then
91658   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91659 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91660    { (exit 1); exit 1; }; }
91661 fi
91662 cat >conftest.$ac_ext <<_ACEOF
91663 /* confdefs.h.  */
91664 _ACEOF
91665 cat confdefs.h >>conftest.$ac_ext
91666 cat >>conftest.$ac_ext <<_ACEOF
91667 /* end confdefs.h.  */
91668 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91669    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
91670 #define $ac_func innocuous_$ac_func
91671
91672 /* System header to define __stub macros and hopefully few prototypes,
91673     which can conflict with char $ac_func (); below.
91674     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91675     <limits.h> exists even on freestanding compilers.  */
91676
91677 #ifdef __STDC__
91678 # include <limits.h>
91679 #else
91680 # include <assert.h>
91681 #endif
91682
91683 #undef $ac_func
91684
91685 /* Override any GCC internal prototype to avoid an error.
91686    Use char because int might match the return type of a GCC
91687    builtin and then its argument prototype would still apply.  */
91688 #ifdef __cplusplus
91689 extern "C"
91690 #endif
91691 char $ac_func ();
91692 /* The GNU C library defines this for functions which it implements
91693     to always fail with ENOSYS.  Some functions are actually named
91694     something starting with __ and the normal name is an alias.  */
91695 #if defined __stub_$ac_func || defined __stub___$ac_func
91696 choke me
91697 #endif
91698
91699 int
91700 main ()
91701 {
91702 return $ac_func ();
91703   ;
91704   return 0;
91705 }
91706 _ACEOF
91707 rm -f conftest.$ac_objext conftest$ac_exeext
91708 if { (ac_try="$ac_link"
91709 case "(($ac_try" in
91710   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
91711   *) ac_try_echo=$ac_try;;
91712 esac
91713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
91714   (eval "$ac_link") 2>conftest.er1
91715   ac_status=$?
91716   grep -v '^ *+' conftest.er1 >conftest.err
91717   rm -f conftest.er1
91718   cat conftest.err >&5
91719   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91720   (exit $ac_status); } && {
91721          test -z "$ac_c_werror_flag" ||
91722          test ! -s conftest.err
91723        } && test -s conftest$ac_exeext &&
91724        $as_test_x conftest$ac_exeext; then
91725   eval "$as_ac_var=yes"
91726 else
91727   echo "$as_me: failed program was:" >&5
91728 sed 's/^/| /' conftest.$ac_ext >&5
91729
91730         eval "$as_ac_var=no"
91731 fi
91732
91733 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
91734       conftest$ac_exeext conftest.$ac_ext
91735 fi
91736 ac_res=`eval echo '${'$as_ac_var'}'`
91737                { echo "$as_me:$LINENO: result: $ac_res" >&5
91738 echo "${ECHO_T}$ac_res" >&6; }
91739 if test `eval echo '${'$as_ac_var'}'` = yes; then
91740   cat >>confdefs.h <<_ACEOF
91741 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91742 _ACEOF
91743
91744 fi
91745 done
91746
91747   else
91748
91749   { echo "$as_me:$LINENO: checking for _modf declaration" >&5
91750 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6; }
91751   if test x${glibcxx_cv_func__modf_use+set} != xset; then
91752     if test "${glibcxx_cv_func__modf_use+set}" = set; then
91753   echo $ECHO_N "(cached) $ECHO_C" >&6
91754 else
91755
91756
91757       ac_ext=cpp
91758 ac_cpp='$CXXCPP $CPPFLAGS'
91759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91762
91763       cat >conftest.$ac_ext <<_ACEOF
91764 /* confdefs.h.  */
91765 _ACEOF
91766 cat confdefs.h >>conftest.$ac_ext
91767 cat >>conftest.$ac_ext <<_ACEOF
91768 /* end confdefs.h.  */
91769 #include <math.h>
91770 int
91771 main ()
91772 {
91773  _modf(0, 0);
91774   ;
91775   return 0;
91776 }
91777 _ACEOF
91778 rm -f conftest.$ac_objext
91779 if { (ac_try="$ac_compile"
91780 case "(($ac_try" in
91781   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
91782   *) ac_try_echo=$ac_try;;
91783 esac
91784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
91785   (eval "$ac_compile") 2>conftest.er1
91786   ac_status=$?
91787   grep -v '^ *+' conftest.er1 >conftest.err
91788   rm -f conftest.er1
91789   cat conftest.err >&5
91790   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91791   (exit $ac_status); } && {
91792          test -z "$ac_cxx_werror_flag" ||
91793          test ! -s conftest.err
91794        } && test -s conftest.$ac_objext; then
91795   glibcxx_cv_func__modf_use=yes
91796 else
91797   echo "$as_me: failed program was:" >&5
91798 sed 's/^/| /' conftest.$ac_ext >&5
91799
91800         glibcxx_cv_func__modf_use=no
91801 fi
91802
91803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
91804       ac_ext=c
91805 ac_cpp='$CPP $CPPFLAGS'
91806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91809
91810
91811 fi
91812
91813   fi
91814   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
91815 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6; }
91816
91817     if test x$glibcxx_cv_func__modf_use = x"yes"; then
91818
91819 for ac_func in _modf
91820 do
91821 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91822 { echo "$as_me:$LINENO: checking for $ac_func" >&5
91823 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
91824 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
91825   echo $ECHO_N "(cached) $ECHO_C" >&6
91826 else
91827   if test x$gcc_no_link = xyes; then
91828   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91829 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91830    { (exit 1); exit 1; }; }
91831 fi
91832 cat >conftest.$ac_ext <<_ACEOF
91833 /* confdefs.h.  */
91834 _ACEOF
91835 cat confdefs.h >>conftest.$ac_ext
91836 cat >>conftest.$ac_ext <<_ACEOF
91837 /* end confdefs.h.  */
91838 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91839    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
91840 #define $ac_func innocuous_$ac_func
91841
91842 /* System header to define __stub macros and hopefully few prototypes,
91843     which can conflict with char $ac_func (); below.
91844     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91845     <limits.h> exists even on freestanding compilers.  */
91846
91847 #ifdef __STDC__
91848 # include <limits.h>
91849 #else
91850 # include <assert.h>
91851 #endif
91852
91853 #undef $ac_func
91854
91855 /* Override any GCC internal prototype to avoid an error.
91856    Use char because int might match the return type of a GCC
91857    builtin and then its argument prototype would still apply.  */
91858 #ifdef __cplusplus
91859 extern "C"
91860 #endif
91861 char $ac_func ();
91862 /* The GNU C library defines this for functions which it implements
91863     to always fail with ENOSYS.  Some functions are actually named
91864     something starting with __ and the normal name is an alias.  */
91865 #if defined __stub_$ac_func || defined __stub___$ac_func
91866 choke me
91867 #endif
91868
91869 int
91870 main ()
91871 {
91872 return $ac_func ();
91873   ;
91874   return 0;
91875 }
91876 _ACEOF
91877 rm -f conftest.$ac_objext conftest$ac_exeext
91878 if { (ac_try="$ac_link"
91879 case "(($ac_try" in
91880   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
91881   *) ac_try_echo=$ac_try;;
91882 esac
91883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
91884   (eval "$ac_link") 2>conftest.er1
91885   ac_status=$?
91886   grep -v '^ *+' conftest.er1 >conftest.err
91887   rm -f conftest.er1
91888   cat conftest.err >&5
91889   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91890   (exit $ac_status); } && {
91891          test -z "$ac_c_werror_flag" ||
91892          test ! -s conftest.err
91893        } && test -s conftest$ac_exeext &&
91894        $as_test_x conftest$ac_exeext; then
91895   eval "$as_ac_var=yes"
91896 else
91897   echo "$as_me: failed program was:" >&5
91898 sed 's/^/| /' conftest.$ac_ext >&5
91899
91900         eval "$as_ac_var=no"
91901 fi
91902
91903 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
91904       conftest$ac_exeext conftest.$ac_ext
91905 fi
91906 ac_res=`eval echo '${'$as_ac_var'}'`
91907                { echo "$as_me:$LINENO: result: $ac_res" >&5
91908 echo "${ECHO_T}$ac_res" >&6; }
91909 if test `eval echo '${'$as_ac_var'}'` = yes; then
91910   cat >>confdefs.h <<_ACEOF
91911 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91912 _ACEOF
91913
91914 fi
91915 done
91916
91917     fi
91918   fi
91919
91920
91921
91922
91923
91924
91925   { echo "$as_me:$LINENO: checking for powf declaration" >&5
91926 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6; }
91927   if test x${glibcxx_cv_func_powf_use+set} != xset; then
91928     if test "${glibcxx_cv_func_powf_use+set}" = set; then
91929   echo $ECHO_N "(cached) $ECHO_C" >&6
91930 else
91931
91932
91933       ac_ext=cpp
91934 ac_cpp='$CXXCPP $CPPFLAGS'
91935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91938
91939       cat >conftest.$ac_ext <<_ACEOF
91940 /* confdefs.h.  */
91941 _ACEOF
91942 cat confdefs.h >>conftest.$ac_ext
91943 cat >>conftest.$ac_ext <<_ACEOF
91944 /* end confdefs.h.  */
91945 #include <math.h>
91946 int
91947 main ()
91948 {
91949  powf(0, 0);
91950   ;
91951   return 0;
91952 }
91953 _ACEOF
91954 rm -f conftest.$ac_objext
91955 if { (ac_try="$ac_compile"
91956 case "(($ac_try" in
91957   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
91958   *) ac_try_echo=$ac_try;;
91959 esac
91960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
91961   (eval "$ac_compile") 2>conftest.er1
91962   ac_status=$?
91963   grep -v '^ *+' conftest.er1 >conftest.err
91964   rm -f conftest.er1
91965   cat conftest.err >&5
91966   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91967   (exit $ac_status); } && {
91968          test -z "$ac_cxx_werror_flag" ||
91969          test ! -s conftest.err
91970        } && test -s conftest.$ac_objext; then
91971   glibcxx_cv_func_powf_use=yes
91972 else
91973   echo "$as_me: failed program was:" >&5
91974 sed 's/^/| /' conftest.$ac_ext >&5
91975
91976         glibcxx_cv_func_powf_use=no
91977 fi
91978
91979 rm -f core 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_powf_use" >&5
91991 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6; }
91992
91993   if test x$glibcxx_cv_func_powf_use = x"yes"; then
91994
91995 for ac_func in powf
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 { as_var=$as_ac_var; eval "test \"\${$as_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 GCC internal prototype to avoid an error.
92032    Use char because int might match the return type of a GCC
92033    builtin and then its argument prototype would still apply.  */
92034 #ifdef __cplusplus
92035 extern "C"
92036 #endif
92037 char $ac_func ();
92038 /* The GNU C library defines this for functions which it implements
92039     to always fail with ENOSYS.  Some functions are actually named
92040     something starting with __ and the normal name is an alias.  */
92041 #if defined __stub_$ac_func || defined __stub___$ac_func
92042 choke me
92043 #endif
92044
92045 int
92046 main ()
92047 {
92048 return $ac_func ();
92049   ;
92050   return 0;
92051 }
92052 _ACEOF
92053 rm -f conftest.$ac_objext conftest$ac_exeext
92054 if { (ac_try="$ac_link"
92055 case "(($ac_try" in
92056   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
92057   *) ac_try_echo=$ac_try;;
92058 esac
92059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
92060   (eval "$ac_link") 2>conftest.er1
92061   ac_status=$?
92062   grep -v '^ *+' conftest.er1 >conftest.err
92063   rm -f conftest.er1
92064   cat conftest.err >&5
92065   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92066   (exit $ac_status); } && {
92067          test -z "$ac_c_werror_flag" ||
92068          test ! -s conftest.err
92069        } && test -s conftest$ac_exeext &&
92070        $as_test_x conftest$ac_exeext; then
92071   eval "$as_ac_var=yes"
92072 else
92073   echo "$as_me: failed program was:" >&5
92074 sed 's/^/| /' conftest.$ac_ext >&5
92075
92076         eval "$as_ac_var=no"
92077 fi
92078
92079 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
92080       conftest$ac_exeext conftest.$ac_ext
92081 fi
92082 ac_res=`eval echo '${'$as_ac_var'}'`
92083                { echo "$as_me:$LINENO: result: $ac_res" >&5
92084 echo "${ECHO_T}$ac_res" >&6; }
92085 if test `eval echo '${'$as_ac_var'}'` = yes; then
92086   cat >>confdefs.h <<_ACEOF
92087 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92088 _ACEOF
92089
92090 fi
92091 done
92092
92093   else
92094
92095   { echo "$as_me:$LINENO: checking for _powf declaration" >&5
92096 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6; }
92097   if test x${glibcxx_cv_func__powf_use+set} != xset; then
92098     if test "${glibcxx_cv_func__powf_use+set}" = set; then
92099   echo $ECHO_N "(cached) $ECHO_C" >&6
92100 else
92101
92102
92103       ac_ext=cpp
92104 ac_cpp='$CXXCPP $CPPFLAGS'
92105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92108
92109       cat >conftest.$ac_ext <<_ACEOF
92110 /* confdefs.h.  */
92111 _ACEOF
92112 cat confdefs.h >>conftest.$ac_ext
92113 cat >>conftest.$ac_ext <<_ACEOF
92114 /* end confdefs.h.  */
92115 #include <math.h>
92116 int
92117 main ()
92118 {
92119  _powf(0, 0);
92120   ;
92121   return 0;
92122 }
92123 _ACEOF
92124 rm -f conftest.$ac_objext
92125 if { (ac_try="$ac_compile"
92126 case "(($ac_try" in
92127   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
92128   *) ac_try_echo=$ac_try;;
92129 esac
92130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
92131   (eval "$ac_compile") 2>conftest.er1
92132   ac_status=$?
92133   grep -v '^ *+' conftest.er1 >conftest.err
92134   rm -f conftest.er1
92135   cat conftest.err >&5
92136   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92137   (exit $ac_status); } && {
92138          test -z "$ac_cxx_werror_flag" ||
92139          test ! -s conftest.err
92140        } && test -s conftest.$ac_objext; then
92141   glibcxx_cv_func__powf_use=yes
92142 else
92143   echo "$as_me: failed program was:" >&5
92144 sed 's/^/| /' conftest.$ac_ext >&5
92145
92146         glibcxx_cv_func__powf_use=no
92147 fi
92148
92149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
92150       ac_ext=c
92151 ac_cpp='$CPP $CPPFLAGS'
92152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92155
92156
92157 fi
92158
92159   fi
92160   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
92161 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6; }
92162
92163     if test x$glibcxx_cv_func__powf_use = x"yes"; then
92164
92165 for ac_func in _powf
92166 do
92167 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92168 { echo "$as_me:$LINENO: checking for $ac_func" >&5
92169 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
92170 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
92171   echo $ECHO_N "(cached) $ECHO_C" >&6
92172 else
92173   if test x$gcc_no_link = xyes; then
92174   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92175 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92176    { (exit 1); exit 1; }; }
92177 fi
92178 cat >conftest.$ac_ext <<_ACEOF
92179 /* confdefs.h.  */
92180 _ACEOF
92181 cat confdefs.h >>conftest.$ac_ext
92182 cat >>conftest.$ac_ext <<_ACEOF
92183 /* end confdefs.h.  */
92184 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92185    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
92186 #define $ac_func innocuous_$ac_func
92187
92188 /* System header to define __stub macros and hopefully few prototypes,
92189     which can conflict with char $ac_func (); below.
92190     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92191     <limits.h> exists even on freestanding compilers.  */
92192
92193 #ifdef __STDC__
92194 # include <limits.h>
92195 #else
92196 # include <assert.h>
92197 #endif
92198
92199 #undef $ac_func
92200
92201 /* Override any GCC internal prototype to avoid an error.
92202    Use char because int might match the return type of a GCC
92203    builtin and then its argument prototype would still apply.  */
92204 #ifdef __cplusplus
92205 extern "C"
92206 #endif
92207 char $ac_func ();
92208 /* The GNU C library defines this for functions which it implements
92209     to always fail with ENOSYS.  Some functions are actually named
92210     something starting with __ and the normal name is an alias.  */
92211 #if defined __stub_$ac_func || defined __stub___$ac_func
92212 choke me
92213 #endif
92214
92215 int
92216 main ()
92217 {
92218 return $ac_func ();
92219   ;
92220   return 0;
92221 }
92222 _ACEOF
92223 rm -f conftest.$ac_objext conftest$ac_exeext
92224 if { (ac_try="$ac_link"
92225 case "(($ac_try" in
92226   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
92227   *) ac_try_echo=$ac_try;;
92228 esac
92229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
92230   (eval "$ac_link") 2>conftest.er1
92231   ac_status=$?
92232   grep -v '^ *+' conftest.er1 >conftest.err
92233   rm -f conftest.er1
92234   cat conftest.err >&5
92235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92236   (exit $ac_status); } && {
92237          test -z "$ac_c_werror_flag" ||
92238          test ! -s conftest.err
92239        } && test -s conftest$ac_exeext &&
92240        $as_test_x conftest$ac_exeext; then
92241   eval "$as_ac_var=yes"
92242 else
92243   echo "$as_me: failed program was:" >&5
92244 sed 's/^/| /' conftest.$ac_ext >&5
92245
92246         eval "$as_ac_var=no"
92247 fi
92248
92249 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
92250       conftest$ac_exeext conftest.$ac_ext
92251 fi
92252 ac_res=`eval echo '${'$as_ac_var'}'`
92253                { echo "$as_me:$LINENO: result: $ac_res" >&5
92254 echo "${ECHO_T}$ac_res" >&6; }
92255 if test `eval echo '${'$as_ac_var'}'` = yes; then
92256   cat >>confdefs.h <<_ACEOF
92257 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92258 _ACEOF
92259
92260 fi
92261 done
92262
92263     fi
92264   fi
92265
92266
92267
92268
92269
92270
92271   { echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
92272 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6; }
92273   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
92274     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
92275   echo $ECHO_N "(cached) $ECHO_C" >&6
92276 else
92277
92278
92279       ac_ext=cpp
92280 ac_cpp='$CXXCPP $CPPFLAGS'
92281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92284
92285       cat >conftest.$ac_ext <<_ACEOF
92286 /* confdefs.h.  */
92287 _ACEOF
92288 cat confdefs.h >>conftest.$ac_ext
92289 cat >>conftest.$ac_ext <<_ACEOF
92290 /* end confdefs.h.  */
92291 #include <math.h>
92292                       #ifdef HAVE_IEEEFP_H
92293                       #include <ieeefp.h>
92294                       #endif
92295
92296 int
92297 main ()
92298 {
92299  sqrtf(0);
92300   ;
92301   return 0;
92302 }
92303 _ACEOF
92304 rm -f conftest.$ac_objext
92305 if { (ac_try="$ac_compile"
92306 case "(($ac_try" in
92307   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
92308   *) ac_try_echo=$ac_try;;
92309 esac
92310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
92311   (eval "$ac_compile") 2>conftest.er1
92312   ac_status=$?
92313   grep -v '^ *+' conftest.er1 >conftest.err
92314   rm -f conftest.er1
92315   cat conftest.err >&5
92316   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92317   (exit $ac_status); } && {
92318          test -z "$ac_cxx_werror_flag" ||
92319          test ! -s conftest.err
92320        } && test -s conftest.$ac_objext; then
92321   glibcxx_cv_func_sqrtf_use=yes
92322 else
92323   echo "$as_me: failed program was:" >&5
92324 sed 's/^/| /' conftest.$ac_ext >&5
92325
92326         glibcxx_cv_func_sqrtf_use=no
92327 fi
92328
92329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
92330       ac_ext=c
92331 ac_cpp='$CPP $CPPFLAGS'
92332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92335
92336
92337 fi
92338
92339   fi
92340   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
92341 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6; }
92342
92343   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
92344
92345 for ac_func in sqrtf
92346 do
92347 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92348 { echo "$as_me:$LINENO: checking for $ac_func" >&5
92349 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
92350 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
92351   echo $ECHO_N "(cached) $ECHO_C" >&6
92352 else
92353   if test x$gcc_no_link = xyes; then
92354   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92355 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92356    { (exit 1); exit 1; }; }
92357 fi
92358 cat >conftest.$ac_ext <<_ACEOF
92359 /* confdefs.h.  */
92360 _ACEOF
92361 cat confdefs.h >>conftest.$ac_ext
92362 cat >>conftest.$ac_ext <<_ACEOF
92363 /* end confdefs.h.  */
92364 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92365    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
92366 #define $ac_func innocuous_$ac_func
92367
92368 /* System header to define __stub macros and hopefully few prototypes,
92369     which can conflict with char $ac_func (); below.
92370     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92371     <limits.h> exists even on freestanding compilers.  */
92372
92373 #ifdef __STDC__
92374 # include <limits.h>
92375 #else
92376 # include <assert.h>
92377 #endif
92378
92379 #undef $ac_func
92380
92381 /* Override any GCC internal prototype to avoid an error.
92382    Use char because int might match the return type of a GCC
92383    builtin and then its argument prototype would still apply.  */
92384 #ifdef __cplusplus
92385 extern "C"
92386 #endif
92387 char $ac_func ();
92388 /* The GNU C library defines this for functions which it implements
92389     to always fail with ENOSYS.  Some functions are actually named
92390     something starting with __ and the normal name is an alias.  */
92391 #if defined __stub_$ac_func || defined __stub___$ac_func
92392 choke me
92393 #endif
92394
92395 int
92396 main ()
92397 {
92398 return $ac_func ();
92399   ;
92400   return 0;
92401 }
92402 _ACEOF
92403 rm -f conftest.$ac_objext conftest$ac_exeext
92404 if { (ac_try="$ac_link"
92405 case "(($ac_try" in
92406   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
92407   *) ac_try_echo=$ac_try;;
92408 esac
92409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
92410   (eval "$ac_link") 2>conftest.er1
92411   ac_status=$?
92412   grep -v '^ *+' conftest.er1 >conftest.err
92413   rm -f conftest.er1
92414   cat conftest.err >&5
92415   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92416   (exit $ac_status); } && {
92417          test -z "$ac_c_werror_flag" ||
92418          test ! -s conftest.err
92419        } && test -s conftest$ac_exeext &&
92420        $as_test_x conftest$ac_exeext; then
92421   eval "$as_ac_var=yes"
92422 else
92423   echo "$as_me: failed program was:" >&5
92424 sed 's/^/| /' conftest.$ac_ext >&5
92425
92426         eval "$as_ac_var=no"
92427 fi
92428
92429 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
92430       conftest$ac_exeext conftest.$ac_ext
92431 fi
92432 ac_res=`eval echo '${'$as_ac_var'}'`
92433                { echo "$as_me:$LINENO: result: $ac_res" >&5
92434 echo "${ECHO_T}$ac_res" >&6; }
92435 if test `eval echo '${'$as_ac_var'}'` = yes; then
92436   cat >>confdefs.h <<_ACEOF
92437 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92438 _ACEOF
92439
92440 fi
92441 done
92442
92443   else
92444
92445   { echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
92446 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6; }
92447   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
92448     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
92449   echo $ECHO_N "(cached) $ECHO_C" >&6
92450 else
92451
92452
92453       ac_ext=cpp
92454 ac_cpp='$CXXCPP $CPPFLAGS'
92455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92458
92459       cat >conftest.$ac_ext <<_ACEOF
92460 /* confdefs.h.  */
92461 _ACEOF
92462 cat confdefs.h >>conftest.$ac_ext
92463 cat >>conftest.$ac_ext <<_ACEOF
92464 /* end confdefs.h.  */
92465 #include <math.h>
92466                       #ifdef HAVE_IEEEFP_H
92467                       #include <ieeefp.h>
92468                       #endif
92469
92470 int
92471 main ()
92472 {
92473  _sqrtf(0);
92474   ;
92475   return 0;
92476 }
92477 _ACEOF
92478 rm -f conftest.$ac_objext
92479 if { (ac_try="$ac_compile"
92480 case "(($ac_try" in
92481   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
92482   *) ac_try_echo=$ac_try;;
92483 esac
92484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
92485   (eval "$ac_compile") 2>conftest.er1
92486   ac_status=$?
92487   grep -v '^ *+' conftest.er1 >conftest.err
92488   rm -f conftest.er1
92489   cat conftest.err >&5
92490   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92491   (exit $ac_status); } && {
92492          test -z "$ac_cxx_werror_flag" ||
92493          test ! -s conftest.err
92494        } && test -s conftest.$ac_objext; then
92495   glibcxx_cv_func__sqrtf_use=yes
92496 else
92497   echo "$as_me: failed program was:" >&5
92498 sed 's/^/| /' conftest.$ac_ext >&5
92499
92500         glibcxx_cv_func__sqrtf_use=no
92501 fi
92502
92503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
92504       ac_ext=c
92505 ac_cpp='$CPP $CPPFLAGS'
92506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92509
92510
92511 fi
92512
92513   fi
92514   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
92515 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6; }
92516
92517     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
92518
92519 for ac_func in _sqrtf
92520 do
92521 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92522 { echo "$as_me:$LINENO: checking for $ac_func" >&5
92523 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
92524 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
92525   echo $ECHO_N "(cached) $ECHO_C" >&6
92526 else
92527   if test x$gcc_no_link = xyes; then
92528   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92529 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92530    { (exit 1); exit 1; }; }
92531 fi
92532 cat >conftest.$ac_ext <<_ACEOF
92533 /* confdefs.h.  */
92534 _ACEOF
92535 cat confdefs.h >>conftest.$ac_ext
92536 cat >>conftest.$ac_ext <<_ACEOF
92537 /* end confdefs.h.  */
92538 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92539    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
92540 #define $ac_func innocuous_$ac_func
92541
92542 /* System header to define __stub macros and hopefully few prototypes,
92543     which can conflict with char $ac_func (); below.
92544     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92545     <limits.h> exists even on freestanding compilers.  */
92546
92547 #ifdef __STDC__
92548 # include <limits.h>
92549 #else
92550 # include <assert.h>
92551 #endif
92552
92553 #undef $ac_func
92554
92555 /* Override any GCC internal prototype to avoid an error.
92556    Use char because int might match the return type of a GCC
92557    builtin and then its argument prototype would still apply.  */
92558 #ifdef __cplusplus
92559 extern "C"
92560 #endif
92561 char $ac_func ();
92562 /* The GNU C library defines this for functions which it implements
92563     to always fail with ENOSYS.  Some functions are actually named
92564     something starting with __ and the normal name is an alias.  */
92565 #if defined __stub_$ac_func || defined __stub___$ac_func
92566 choke me
92567 #endif
92568
92569 int
92570 main ()
92571 {
92572 return $ac_func ();
92573   ;
92574   return 0;
92575 }
92576 _ACEOF
92577 rm -f conftest.$ac_objext conftest$ac_exeext
92578 if { (ac_try="$ac_link"
92579 case "(($ac_try" in
92580   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
92581   *) ac_try_echo=$ac_try;;
92582 esac
92583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
92584   (eval "$ac_link") 2>conftest.er1
92585   ac_status=$?
92586   grep -v '^ *+' conftest.er1 >conftest.err
92587   rm -f conftest.er1
92588   cat conftest.err >&5
92589   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92590   (exit $ac_status); } && {
92591          test -z "$ac_c_werror_flag" ||
92592          test ! -s conftest.err
92593        } && test -s conftest$ac_exeext &&
92594        $as_test_x conftest$ac_exeext; then
92595   eval "$as_ac_var=yes"
92596 else
92597   echo "$as_me: failed program was:" >&5
92598 sed 's/^/| /' conftest.$ac_ext >&5
92599
92600         eval "$as_ac_var=no"
92601 fi
92602
92603 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
92604       conftest$ac_exeext conftest.$ac_ext
92605 fi
92606 ac_res=`eval echo '${'$as_ac_var'}'`
92607                { echo "$as_me:$LINENO: result: $ac_res" >&5
92608 echo "${ECHO_T}$ac_res" >&6; }
92609 if test `eval echo '${'$as_ac_var'}'` = yes; then
92610   cat >>confdefs.h <<_ACEOF
92611 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92612 _ACEOF
92613
92614 fi
92615 done
92616
92617     fi
92618   fi
92619
92620
92621
92622
92623
92624
92625   { echo "$as_me:$LINENO: checking for sincosf declaration" >&5
92626 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6; }
92627   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
92628     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
92629   echo $ECHO_N "(cached) $ECHO_C" >&6
92630 else
92631
92632
92633       ac_ext=cpp
92634 ac_cpp='$CXXCPP $CPPFLAGS'
92635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92638
92639       cat >conftest.$ac_ext <<_ACEOF
92640 /* confdefs.h.  */
92641 _ACEOF
92642 cat confdefs.h >>conftest.$ac_ext
92643 cat >>conftest.$ac_ext <<_ACEOF
92644 /* end confdefs.h.  */
92645 #include <math.h>
92646 int
92647 main ()
92648 {
92649  sincosf(0, 0, 0);
92650   ;
92651   return 0;
92652 }
92653 _ACEOF
92654 rm -f conftest.$ac_objext
92655 if { (ac_try="$ac_compile"
92656 case "(($ac_try" in
92657   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
92658   *) ac_try_echo=$ac_try;;
92659 esac
92660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
92661   (eval "$ac_compile") 2>conftest.er1
92662   ac_status=$?
92663   grep -v '^ *+' conftest.er1 >conftest.err
92664   rm -f conftest.er1
92665   cat conftest.err >&5
92666   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92667   (exit $ac_status); } && {
92668          test -z "$ac_cxx_werror_flag" ||
92669          test ! -s conftest.err
92670        } && test -s conftest.$ac_objext; then
92671   glibcxx_cv_func_sincosf_use=yes
92672 else
92673   echo "$as_me: failed program was:" >&5
92674 sed 's/^/| /' conftest.$ac_ext >&5
92675
92676         glibcxx_cv_func_sincosf_use=no
92677 fi
92678
92679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
92680       ac_ext=c
92681 ac_cpp='$CPP $CPPFLAGS'
92682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92685
92686
92687 fi
92688
92689   fi
92690   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
92691 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6; }
92692
92693   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
92694
92695 for ac_func in sincosf
92696 do
92697 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92698 { echo "$as_me:$LINENO: checking for $ac_func" >&5
92699 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
92700 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
92701   echo $ECHO_N "(cached) $ECHO_C" >&6
92702 else
92703   if test x$gcc_no_link = xyes; then
92704   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92705 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92706    { (exit 1); exit 1; }; }
92707 fi
92708 cat >conftest.$ac_ext <<_ACEOF
92709 /* confdefs.h.  */
92710 _ACEOF
92711 cat confdefs.h >>conftest.$ac_ext
92712 cat >>conftest.$ac_ext <<_ACEOF
92713 /* end confdefs.h.  */
92714 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92715    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
92716 #define $ac_func innocuous_$ac_func
92717
92718 /* System header to define __stub macros and hopefully few prototypes,
92719     which can conflict with char $ac_func (); below.
92720     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92721     <limits.h> exists even on freestanding compilers.  */
92722
92723 #ifdef __STDC__
92724 # include <limits.h>
92725 #else
92726 # include <assert.h>
92727 #endif
92728
92729 #undef $ac_func
92730
92731 /* Override any GCC internal prototype to avoid an error.
92732    Use char because int might match the return type of a GCC
92733    builtin and then its argument prototype would still apply.  */
92734 #ifdef __cplusplus
92735 extern "C"
92736 #endif
92737 char $ac_func ();
92738 /* The GNU C library defines this for functions which it implements
92739     to always fail with ENOSYS.  Some functions are actually named
92740     something starting with __ and the normal name is an alias.  */
92741 #if defined __stub_$ac_func || defined __stub___$ac_func
92742 choke me
92743 #endif
92744
92745 int
92746 main ()
92747 {
92748 return $ac_func ();
92749   ;
92750   return 0;
92751 }
92752 _ACEOF
92753 rm -f conftest.$ac_objext conftest$ac_exeext
92754 if { (ac_try="$ac_link"
92755 case "(($ac_try" in
92756   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
92757   *) ac_try_echo=$ac_try;;
92758 esac
92759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
92760   (eval "$ac_link") 2>conftest.er1
92761   ac_status=$?
92762   grep -v '^ *+' conftest.er1 >conftest.err
92763   rm -f conftest.er1
92764   cat conftest.err >&5
92765   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92766   (exit $ac_status); } && {
92767          test -z "$ac_c_werror_flag" ||
92768          test ! -s conftest.err
92769        } && test -s conftest$ac_exeext &&
92770        $as_test_x conftest$ac_exeext; then
92771   eval "$as_ac_var=yes"
92772 else
92773   echo "$as_me: failed program was:" >&5
92774 sed 's/^/| /' conftest.$ac_ext >&5
92775
92776         eval "$as_ac_var=no"
92777 fi
92778
92779 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
92780       conftest$ac_exeext conftest.$ac_ext
92781 fi
92782 ac_res=`eval echo '${'$as_ac_var'}'`
92783                { echo "$as_me:$LINENO: result: $ac_res" >&5
92784 echo "${ECHO_T}$ac_res" >&6; }
92785 if test `eval echo '${'$as_ac_var'}'` = yes; then
92786   cat >>confdefs.h <<_ACEOF
92787 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92788 _ACEOF
92789
92790 fi
92791 done
92792
92793   else
92794
92795   { echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
92796 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6; }
92797   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
92798     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
92799   echo $ECHO_N "(cached) $ECHO_C" >&6
92800 else
92801
92802
92803       ac_ext=cpp
92804 ac_cpp='$CXXCPP $CPPFLAGS'
92805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92808
92809       cat >conftest.$ac_ext <<_ACEOF
92810 /* confdefs.h.  */
92811 _ACEOF
92812 cat confdefs.h >>conftest.$ac_ext
92813 cat >>conftest.$ac_ext <<_ACEOF
92814 /* end confdefs.h.  */
92815 #include <math.h>
92816 int
92817 main ()
92818 {
92819  _sincosf(0, 0, 0);
92820   ;
92821   return 0;
92822 }
92823 _ACEOF
92824 rm -f conftest.$ac_objext
92825 if { (ac_try="$ac_compile"
92826 case "(($ac_try" in
92827   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
92828   *) ac_try_echo=$ac_try;;
92829 esac
92830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
92831   (eval "$ac_compile") 2>conftest.er1
92832   ac_status=$?
92833   grep -v '^ *+' conftest.er1 >conftest.err
92834   rm -f conftest.er1
92835   cat conftest.err >&5
92836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92837   (exit $ac_status); } && {
92838          test -z "$ac_cxx_werror_flag" ||
92839          test ! -s conftest.err
92840        } && test -s conftest.$ac_objext; then
92841   glibcxx_cv_func__sincosf_use=yes
92842 else
92843   echo "$as_me: failed program was:" >&5
92844 sed 's/^/| /' conftest.$ac_ext >&5
92845
92846         glibcxx_cv_func__sincosf_use=no
92847 fi
92848
92849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
92850       ac_ext=c
92851 ac_cpp='$CPP $CPPFLAGS'
92852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92855
92856
92857 fi
92858
92859   fi
92860   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
92861 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6; }
92862
92863     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
92864
92865 for ac_func in _sincosf
92866 do
92867 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92868 { echo "$as_me:$LINENO: checking for $ac_func" >&5
92869 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
92870 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
92871   echo $ECHO_N "(cached) $ECHO_C" >&6
92872 else
92873   if test x$gcc_no_link = xyes; then
92874   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92875 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92876    { (exit 1); exit 1; }; }
92877 fi
92878 cat >conftest.$ac_ext <<_ACEOF
92879 /* confdefs.h.  */
92880 _ACEOF
92881 cat confdefs.h >>conftest.$ac_ext
92882 cat >>conftest.$ac_ext <<_ACEOF
92883 /* end confdefs.h.  */
92884 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92885    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
92886 #define $ac_func innocuous_$ac_func
92887
92888 /* System header to define __stub macros and hopefully few prototypes,
92889     which can conflict with char $ac_func (); below.
92890     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92891     <limits.h> exists even on freestanding compilers.  */
92892
92893 #ifdef __STDC__
92894 # include <limits.h>
92895 #else
92896 # include <assert.h>
92897 #endif
92898
92899 #undef $ac_func
92900
92901 /* Override any GCC internal prototype to avoid an error.
92902    Use char because int might match the return type of a GCC
92903    builtin and then its argument prototype would still apply.  */
92904 #ifdef __cplusplus
92905 extern "C"
92906 #endif
92907 char $ac_func ();
92908 /* The GNU C library defines this for functions which it implements
92909     to always fail with ENOSYS.  Some functions are actually named
92910     something starting with __ and the normal name is an alias.  */
92911 #if defined __stub_$ac_func || defined __stub___$ac_func
92912 choke me
92913 #endif
92914
92915 int
92916 main ()
92917 {
92918 return $ac_func ();
92919   ;
92920   return 0;
92921 }
92922 _ACEOF
92923 rm -f conftest.$ac_objext conftest$ac_exeext
92924 if { (ac_try="$ac_link"
92925 case "(($ac_try" in
92926   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
92927   *) ac_try_echo=$ac_try;;
92928 esac
92929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
92930   (eval "$ac_link") 2>conftest.er1
92931   ac_status=$?
92932   grep -v '^ *+' conftest.er1 >conftest.err
92933   rm -f conftest.er1
92934   cat conftest.err >&5
92935   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92936   (exit $ac_status); } && {
92937          test -z "$ac_c_werror_flag" ||
92938          test ! -s conftest.err
92939        } && test -s conftest$ac_exeext &&
92940        $as_test_x conftest$ac_exeext; then
92941   eval "$as_ac_var=yes"
92942 else
92943   echo "$as_me: failed program was:" >&5
92944 sed 's/^/| /' conftest.$ac_ext >&5
92945
92946         eval "$as_ac_var=no"
92947 fi
92948
92949 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
92950       conftest$ac_exeext conftest.$ac_ext
92951 fi
92952 ac_res=`eval echo '${'$as_ac_var'}'`
92953                { echo "$as_me:$LINENO: result: $ac_res" >&5
92954 echo "${ECHO_T}$ac_res" >&6; }
92955 if test `eval echo '${'$as_ac_var'}'` = yes; then
92956   cat >>confdefs.h <<_ACEOF
92957 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92958 _ACEOF
92959
92960 fi
92961 done
92962
92963     fi
92964   fi
92965
92966
92967
92968
92969
92970
92971   { echo "$as_me:$LINENO: checking for finitef declaration" >&5
92972 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6; }
92973   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
92974     if test "${glibcxx_cv_func_finitef_use+set}" = set; then
92975   echo $ECHO_N "(cached) $ECHO_C" >&6
92976 else
92977
92978
92979       ac_ext=cpp
92980 ac_cpp='$CXXCPP $CPPFLAGS'
92981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92984
92985       cat >conftest.$ac_ext <<_ACEOF
92986 /* confdefs.h.  */
92987 _ACEOF
92988 cat confdefs.h >>conftest.$ac_ext
92989 cat >>conftest.$ac_ext <<_ACEOF
92990 /* end confdefs.h.  */
92991 #include <math.h>
92992                       #ifdef HAVE_IEEEFP_H
92993                       #include <ieeefp.h>
92994                       #endif
92995
92996 int
92997 main ()
92998 {
92999  finitef(0);
93000   ;
93001   return 0;
93002 }
93003 _ACEOF
93004 rm -f conftest.$ac_objext
93005 if { (ac_try="$ac_compile"
93006 case "(($ac_try" in
93007   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
93008   *) ac_try_echo=$ac_try;;
93009 esac
93010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
93011   (eval "$ac_compile") 2>conftest.er1
93012   ac_status=$?
93013   grep -v '^ *+' conftest.er1 >conftest.err
93014   rm -f conftest.er1
93015   cat conftest.err >&5
93016   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93017   (exit $ac_status); } && {
93018          test -z "$ac_cxx_werror_flag" ||
93019          test ! -s conftest.err
93020        } && test -s conftest.$ac_objext; then
93021   glibcxx_cv_func_finitef_use=yes
93022 else
93023   echo "$as_me: failed program was:" >&5
93024 sed 's/^/| /' conftest.$ac_ext >&5
93025
93026         glibcxx_cv_func_finitef_use=no
93027 fi
93028
93029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
93030       ac_ext=c
93031 ac_cpp='$CPP $CPPFLAGS'
93032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93035
93036
93037 fi
93038
93039   fi
93040   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
93041 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6; }
93042
93043   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
93044
93045 for ac_func in finitef
93046 do
93047 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93048 { echo "$as_me:$LINENO: checking for $ac_func" >&5
93049 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
93050 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
93051   echo $ECHO_N "(cached) $ECHO_C" >&6
93052 else
93053   if test x$gcc_no_link = xyes; then
93054   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93055 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93056    { (exit 1); exit 1; }; }
93057 fi
93058 cat >conftest.$ac_ext <<_ACEOF
93059 /* confdefs.h.  */
93060 _ACEOF
93061 cat confdefs.h >>conftest.$ac_ext
93062 cat >>conftest.$ac_ext <<_ACEOF
93063 /* end confdefs.h.  */
93064 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93065    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
93066 #define $ac_func innocuous_$ac_func
93067
93068 /* System header to define __stub macros and hopefully few prototypes,
93069     which can conflict with char $ac_func (); below.
93070     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93071     <limits.h> exists even on freestanding compilers.  */
93072
93073 #ifdef __STDC__
93074 # include <limits.h>
93075 #else
93076 # include <assert.h>
93077 #endif
93078
93079 #undef $ac_func
93080
93081 /* Override any GCC internal prototype to avoid an error.
93082    Use char because int might match the return type of a GCC
93083    builtin and then its argument prototype would still apply.  */
93084 #ifdef __cplusplus
93085 extern "C"
93086 #endif
93087 char $ac_func ();
93088 /* The GNU C library defines this for functions which it implements
93089     to always fail with ENOSYS.  Some functions are actually named
93090     something starting with __ and the normal name is an alias.  */
93091 #if defined __stub_$ac_func || defined __stub___$ac_func
93092 choke me
93093 #endif
93094
93095 int
93096 main ()
93097 {
93098 return $ac_func ();
93099   ;
93100   return 0;
93101 }
93102 _ACEOF
93103 rm -f conftest.$ac_objext conftest$ac_exeext
93104 if { (ac_try="$ac_link"
93105 case "(($ac_try" in
93106   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
93107   *) ac_try_echo=$ac_try;;
93108 esac
93109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
93110   (eval "$ac_link") 2>conftest.er1
93111   ac_status=$?
93112   grep -v '^ *+' conftest.er1 >conftest.err
93113   rm -f conftest.er1
93114   cat conftest.err >&5
93115   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93116   (exit $ac_status); } && {
93117          test -z "$ac_c_werror_flag" ||
93118          test ! -s conftest.err
93119        } && test -s conftest$ac_exeext &&
93120        $as_test_x conftest$ac_exeext; then
93121   eval "$as_ac_var=yes"
93122 else
93123   echo "$as_me: failed program was:" >&5
93124 sed 's/^/| /' conftest.$ac_ext >&5
93125
93126         eval "$as_ac_var=no"
93127 fi
93128
93129 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
93130       conftest$ac_exeext conftest.$ac_ext
93131 fi
93132 ac_res=`eval echo '${'$as_ac_var'}'`
93133                { echo "$as_me:$LINENO: result: $ac_res" >&5
93134 echo "${ECHO_T}$ac_res" >&6; }
93135 if test `eval echo '${'$as_ac_var'}'` = yes; then
93136   cat >>confdefs.h <<_ACEOF
93137 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93138 _ACEOF
93139
93140 fi
93141 done
93142
93143   else
93144
93145   { echo "$as_me:$LINENO: checking for _finitef declaration" >&5
93146 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6; }
93147   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
93148     if test "${glibcxx_cv_func__finitef_use+set}" = set; then
93149   echo $ECHO_N "(cached) $ECHO_C" >&6
93150 else
93151
93152
93153       ac_ext=cpp
93154 ac_cpp='$CXXCPP $CPPFLAGS'
93155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93158
93159       cat >conftest.$ac_ext <<_ACEOF
93160 /* confdefs.h.  */
93161 _ACEOF
93162 cat confdefs.h >>conftest.$ac_ext
93163 cat >>conftest.$ac_ext <<_ACEOF
93164 /* end confdefs.h.  */
93165 #include <math.h>
93166                       #ifdef HAVE_IEEEFP_H
93167                       #include <ieeefp.h>
93168                       #endif
93169
93170 int
93171 main ()
93172 {
93173  _finitef(0);
93174   ;
93175   return 0;
93176 }
93177 _ACEOF
93178 rm -f conftest.$ac_objext
93179 if { (ac_try="$ac_compile"
93180 case "(($ac_try" in
93181   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
93182   *) ac_try_echo=$ac_try;;
93183 esac
93184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
93185   (eval "$ac_compile") 2>conftest.er1
93186   ac_status=$?
93187   grep -v '^ *+' conftest.er1 >conftest.err
93188   rm -f conftest.er1
93189   cat conftest.err >&5
93190   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93191   (exit $ac_status); } && {
93192          test -z "$ac_cxx_werror_flag" ||
93193          test ! -s conftest.err
93194        } && test -s conftest.$ac_objext; then
93195   glibcxx_cv_func__finitef_use=yes
93196 else
93197   echo "$as_me: failed program was:" >&5
93198 sed 's/^/| /' conftest.$ac_ext >&5
93199
93200         glibcxx_cv_func__finitef_use=no
93201 fi
93202
93203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
93204       ac_ext=c
93205 ac_cpp='$CPP $CPPFLAGS'
93206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93209
93210
93211 fi
93212
93213   fi
93214   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
93215 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6; }
93216
93217     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
93218
93219 for ac_func in _finitef
93220 do
93221 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93222 { echo "$as_me:$LINENO: checking for $ac_func" >&5
93223 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
93224 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
93225   echo $ECHO_N "(cached) $ECHO_C" >&6
93226 else
93227   if test x$gcc_no_link = xyes; then
93228   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93229 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93230    { (exit 1); exit 1; }; }
93231 fi
93232 cat >conftest.$ac_ext <<_ACEOF
93233 /* confdefs.h.  */
93234 _ACEOF
93235 cat confdefs.h >>conftest.$ac_ext
93236 cat >>conftest.$ac_ext <<_ACEOF
93237 /* end confdefs.h.  */
93238 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93239    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
93240 #define $ac_func innocuous_$ac_func
93241
93242 /* System header to define __stub macros and hopefully few prototypes,
93243     which can conflict with char $ac_func (); below.
93244     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93245     <limits.h> exists even on freestanding compilers.  */
93246
93247 #ifdef __STDC__
93248 # include <limits.h>
93249 #else
93250 # include <assert.h>
93251 #endif
93252
93253 #undef $ac_func
93254
93255 /* Override any GCC internal prototype to avoid an error.
93256    Use char because int might match the return type of a GCC
93257    builtin and then its argument prototype would still apply.  */
93258 #ifdef __cplusplus
93259 extern "C"
93260 #endif
93261 char $ac_func ();
93262 /* The GNU C library defines this for functions which it implements
93263     to always fail with ENOSYS.  Some functions are actually named
93264     something starting with __ and the normal name is an alias.  */
93265 #if defined __stub_$ac_func || defined __stub___$ac_func
93266 choke me
93267 #endif
93268
93269 int
93270 main ()
93271 {
93272 return $ac_func ();
93273   ;
93274   return 0;
93275 }
93276 _ACEOF
93277 rm -f conftest.$ac_objext conftest$ac_exeext
93278 if { (ac_try="$ac_link"
93279 case "(($ac_try" in
93280   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
93281   *) ac_try_echo=$ac_try;;
93282 esac
93283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
93284   (eval "$ac_link") 2>conftest.er1
93285   ac_status=$?
93286   grep -v '^ *+' conftest.er1 >conftest.err
93287   rm -f conftest.er1
93288   cat conftest.err >&5
93289   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93290   (exit $ac_status); } && {
93291          test -z "$ac_c_werror_flag" ||
93292          test ! -s conftest.err
93293        } && test -s conftest$ac_exeext &&
93294        $as_test_x conftest$ac_exeext; then
93295   eval "$as_ac_var=yes"
93296 else
93297   echo "$as_me: failed program was:" >&5
93298 sed 's/^/| /' conftest.$ac_ext >&5
93299
93300         eval "$as_ac_var=no"
93301 fi
93302
93303 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
93304       conftest$ac_exeext conftest.$ac_ext
93305 fi
93306 ac_res=`eval echo '${'$as_ac_var'}'`
93307                { echo "$as_me:$LINENO: result: $ac_res" >&5
93308 echo "${ECHO_T}$ac_res" >&6; }
93309 if test `eval echo '${'$as_ac_var'}'` = yes; then
93310   cat >>confdefs.h <<_ACEOF
93311 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93312 _ACEOF
93313
93314 fi
93315 done
93316
93317     fi
93318   fi
93319
93320
93321
93322
93323
93324
93325     { echo "$as_me:$LINENO: checking for long double trig functions" >&5
93326 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6; }
93327   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
93328   echo $ECHO_N "(cached) $ECHO_C" >&6
93329 else
93330
93331
93332     ac_ext=cpp
93333 ac_cpp='$CXXCPP $CPPFLAGS'
93334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93337
93338     cat >conftest.$ac_ext <<_ACEOF
93339 /* confdefs.h.  */
93340 _ACEOF
93341 cat confdefs.h >>conftest.$ac_ext
93342 cat >>conftest.$ac_ext <<_ACEOF
93343 /* end confdefs.h.  */
93344 #include <math.h>
93345 int
93346 main ()
93347 {
93348 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
93349   ;
93350   return 0;
93351 }
93352 _ACEOF
93353 rm -f conftest.$ac_objext
93354 if { (ac_try="$ac_compile"
93355 case "(($ac_try" in
93356   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
93357   *) ac_try_echo=$ac_try;;
93358 esac
93359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
93360   (eval "$ac_compile") 2>conftest.er1
93361   ac_status=$?
93362   grep -v '^ *+' conftest.er1 >conftest.err
93363   rm -f conftest.er1
93364   cat conftest.err >&5
93365   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93366   (exit $ac_status); } && {
93367          test -z "$ac_cxx_werror_flag" ||
93368          test ! -s conftest.err
93369        } && test -s conftest.$ac_objext; then
93370   glibcxx_cv_func_long_double_trig_use=yes
93371 else
93372   echo "$as_me: failed program was:" >&5
93373 sed 's/^/| /' conftest.$ac_ext >&5
93374
93375         glibcxx_cv_func_long_double_trig_use=no
93376 fi
93377
93378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
93379     ac_ext=c
93380 ac_cpp='$CPP $CPPFLAGS'
93381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93384
93385 fi
93386
93387   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
93388 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6; }
93389   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
93390
93391
93392
93393
93394
93395
93396
93397
93398
93399 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
93400 do
93401 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93402 { echo "$as_me:$LINENO: checking for $ac_func" >&5
93403 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
93404 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
93405   echo $ECHO_N "(cached) $ECHO_C" >&6
93406 else
93407   if test x$gcc_no_link = xyes; then
93408   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93409 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93410    { (exit 1); exit 1; }; }
93411 fi
93412 cat >conftest.$ac_ext <<_ACEOF
93413 /* confdefs.h.  */
93414 _ACEOF
93415 cat confdefs.h >>conftest.$ac_ext
93416 cat >>conftest.$ac_ext <<_ACEOF
93417 /* end confdefs.h.  */
93418 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93419    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
93420 #define $ac_func innocuous_$ac_func
93421
93422 /* System header to define __stub macros and hopefully few prototypes,
93423     which can conflict with char $ac_func (); below.
93424     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93425     <limits.h> exists even on freestanding compilers.  */
93426
93427 #ifdef __STDC__
93428 # include <limits.h>
93429 #else
93430 # include <assert.h>
93431 #endif
93432
93433 #undef $ac_func
93434
93435 /* Override any GCC internal prototype to avoid an error.
93436    Use char because int might match the return type of a GCC
93437    builtin and then its argument prototype would still apply.  */
93438 #ifdef __cplusplus
93439 extern "C"
93440 #endif
93441 char $ac_func ();
93442 /* The GNU C library defines this for functions which it implements
93443     to always fail with ENOSYS.  Some functions are actually named
93444     something starting with __ and the normal name is an alias.  */
93445 #if defined __stub_$ac_func || defined __stub___$ac_func
93446 choke me
93447 #endif
93448
93449 int
93450 main ()
93451 {
93452 return $ac_func ();
93453   ;
93454   return 0;
93455 }
93456 _ACEOF
93457 rm -f conftest.$ac_objext conftest$ac_exeext
93458 if { (ac_try="$ac_link"
93459 case "(($ac_try" in
93460   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
93461   *) ac_try_echo=$ac_try;;
93462 esac
93463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
93464   (eval "$ac_link") 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          test -z "$ac_c_werror_flag" ||
93472          test ! -s conftest.err
93473        } && test -s conftest$ac_exeext &&
93474        $as_test_x conftest$ac_exeext; then
93475   eval "$as_ac_var=yes"
93476 else
93477   echo "$as_me: failed program was:" >&5
93478 sed 's/^/| /' conftest.$ac_ext >&5
93479
93480         eval "$as_ac_var=no"
93481 fi
93482
93483 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
93484       conftest$ac_exeext conftest.$ac_ext
93485 fi
93486 ac_res=`eval echo '${'$as_ac_var'}'`
93487                { echo "$as_me:$LINENO: result: $ac_res" >&5
93488 echo "${ECHO_T}$ac_res" >&6; }
93489 if test `eval echo '${'$as_ac_var'}'` = yes; then
93490   cat >>confdefs.h <<_ACEOF
93491 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93492 _ACEOF
93493
93494 fi
93495 done
93496
93497   else
93498     { echo "$as_me:$LINENO: checking for _long double trig functions" >&5
93499 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6; }
93500     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
93501   echo $ECHO_N "(cached) $ECHO_C" >&6
93502 else
93503
93504
93505       ac_ext=cpp
93506 ac_cpp='$CXXCPP $CPPFLAGS'
93507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93510
93511       cat >conftest.$ac_ext <<_ACEOF
93512 /* confdefs.h.  */
93513 _ACEOF
93514 cat confdefs.h >>conftest.$ac_ext
93515 cat >>conftest.$ac_ext <<_ACEOF
93516 /* end confdefs.h.  */
93517 #include <math.h>
93518 int
93519 main ()
93520 {
93521 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
93522   ;
93523   return 0;
93524 }
93525 _ACEOF
93526 rm -f conftest.$ac_objext
93527 if { (ac_try="$ac_compile"
93528 case "(($ac_try" in
93529   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
93530   *) ac_try_echo=$ac_try;;
93531 esac
93532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
93533   (eval "$ac_compile") 2>conftest.er1
93534   ac_status=$?
93535   grep -v '^ *+' conftest.er1 >conftest.err
93536   rm -f conftest.er1
93537   cat conftest.err >&5
93538   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93539   (exit $ac_status); } && {
93540          test -z "$ac_cxx_werror_flag" ||
93541          test ! -s conftest.err
93542        } && test -s conftest.$ac_objext; then
93543   glibcxx_cv_func__long_double_trig_use=yes
93544 else
93545   echo "$as_me: failed program was:" >&5
93546 sed 's/^/| /' conftest.$ac_ext >&5
93547
93548         glibcxx_cv_func__long_double_trig_use=no
93549 fi
93550
93551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
93552       ac_ext=c
93553 ac_cpp='$CPP $CPPFLAGS'
93554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93557
93558 fi
93559
93560     { echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
93561 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6; }
93562     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
93563
93564
93565
93566
93567
93568
93569
93570
93571
93572 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
93573 do
93574 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93575 { echo "$as_me:$LINENO: checking for $ac_func" >&5
93576 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
93577 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
93578   echo $ECHO_N "(cached) $ECHO_C" >&6
93579 else
93580   if test x$gcc_no_link = xyes; then
93581   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93582 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93583    { (exit 1); exit 1; }; }
93584 fi
93585 cat >conftest.$ac_ext <<_ACEOF
93586 /* confdefs.h.  */
93587 _ACEOF
93588 cat confdefs.h >>conftest.$ac_ext
93589 cat >>conftest.$ac_ext <<_ACEOF
93590 /* end confdefs.h.  */
93591 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93592    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
93593 #define $ac_func innocuous_$ac_func
93594
93595 /* System header to define __stub macros and hopefully few prototypes,
93596     which can conflict with char $ac_func (); below.
93597     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93598     <limits.h> exists even on freestanding compilers.  */
93599
93600 #ifdef __STDC__
93601 # include <limits.h>
93602 #else
93603 # include <assert.h>
93604 #endif
93605
93606 #undef $ac_func
93607
93608 /* Override any GCC internal prototype to avoid an error.
93609    Use char because int might match the return type of a GCC
93610    builtin and then its argument prototype would still apply.  */
93611 #ifdef __cplusplus
93612 extern "C"
93613 #endif
93614 char $ac_func ();
93615 /* The GNU C library defines this for functions which it implements
93616     to always fail with ENOSYS.  Some functions are actually named
93617     something starting with __ and the normal name is an alias.  */
93618 #if defined __stub_$ac_func || defined __stub___$ac_func
93619 choke me
93620 #endif
93621
93622 int
93623 main ()
93624 {
93625 return $ac_func ();
93626   ;
93627   return 0;
93628 }
93629 _ACEOF
93630 rm -f conftest.$ac_objext conftest$ac_exeext
93631 if { (ac_try="$ac_link"
93632 case "(($ac_try" in
93633   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
93634   *) ac_try_echo=$ac_try;;
93635 esac
93636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
93637   (eval "$ac_link") 2>conftest.er1
93638   ac_status=$?
93639   grep -v '^ *+' conftest.er1 >conftest.err
93640   rm -f conftest.er1
93641   cat conftest.err >&5
93642   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93643   (exit $ac_status); } && {
93644          test -z "$ac_c_werror_flag" ||
93645          test ! -s conftest.err
93646        } && test -s conftest$ac_exeext &&
93647        $as_test_x conftest$ac_exeext; then
93648   eval "$as_ac_var=yes"
93649 else
93650   echo "$as_me: failed program was:" >&5
93651 sed 's/^/| /' conftest.$ac_ext >&5
93652
93653         eval "$as_ac_var=no"
93654 fi
93655
93656 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
93657       conftest$ac_exeext conftest.$ac_ext
93658 fi
93659 ac_res=`eval echo '${'$as_ac_var'}'`
93660                { echo "$as_me:$LINENO: result: $ac_res" >&5
93661 echo "${ECHO_T}$ac_res" >&6; }
93662 if test `eval echo '${'$as_ac_var'}'` = yes; then
93663   cat >>confdefs.h <<_ACEOF
93664 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93665 _ACEOF
93666
93667 fi
93668 done
93669
93670     fi
93671   fi
93672
93673
93674
93675
93676
93677
93678
93679
93680
93681
93682
93683
93684
93685
93686     { echo "$as_me:$LINENO: checking for long double round functions" >&5
93687 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6; }
93688   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
93689   echo $ECHO_N "(cached) $ECHO_C" >&6
93690 else
93691
93692
93693     ac_ext=cpp
93694 ac_cpp='$CXXCPP $CPPFLAGS'
93695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93698
93699     cat >conftest.$ac_ext <<_ACEOF
93700 /* confdefs.h.  */
93701 _ACEOF
93702 cat confdefs.h >>conftest.$ac_ext
93703 cat >>conftest.$ac_ext <<_ACEOF
93704 /* end confdefs.h.  */
93705 #include <math.h>
93706 int
93707 main ()
93708 {
93709 ceill (0); floorl (0);
93710   ;
93711   return 0;
93712 }
93713 _ACEOF
93714 rm -f conftest.$ac_objext
93715 if { (ac_try="$ac_compile"
93716 case "(($ac_try" in
93717   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
93718   *) ac_try_echo=$ac_try;;
93719 esac
93720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
93721   (eval "$ac_compile") 2>conftest.er1
93722   ac_status=$?
93723   grep -v '^ *+' conftest.er1 >conftest.err
93724   rm -f conftest.er1
93725   cat conftest.err >&5
93726   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93727   (exit $ac_status); } && {
93728          test -z "$ac_cxx_werror_flag" ||
93729          test ! -s conftest.err
93730        } && test -s conftest.$ac_objext; then
93731   glibcxx_cv_func_long_double_round_use=yes
93732 else
93733   echo "$as_me: failed program was:" >&5
93734 sed 's/^/| /' conftest.$ac_ext >&5
93735
93736         glibcxx_cv_func_long_double_round_use=no
93737 fi
93738
93739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
93740     ac_ext=c
93741 ac_cpp='$CPP $CPPFLAGS'
93742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93745
93746 fi
93747
93748   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
93749 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6; }
93750   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
93751
93752
93753 for ac_func in ceill floorl
93754 do
93755 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93756 { echo "$as_me:$LINENO: checking for $ac_func" >&5
93757 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
93758 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
93759   echo $ECHO_N "(cached) $ECHO_C" >&6
93760 else
93761   if test x$gcc_no_link = xyes; then
93762   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93763 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93764    { (exit 1); exit 1; }; }
93765 fi
93766 cat >conftest.$ac_ext <<_ACEOF
93767 /* confdefs.h.  */
93768 _ACEOF
93769 cat confdefs.h >>conftest.$ac_ext
93770 cat >>conftest.$ac_ext <<_ACEOF
93771 /* end confdefs.h.  */
93772 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93773    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
93774 #define $ac_func innocuous_$ac_func
93775
93776 /* System header to define __stub macros and hopefully few prototypes,
93777     which can conflict with char $ac_func (); below.
93778     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93779     <limits.h> exists even on freestanding compilers.  */
93780
93781 #ifdef __STDC__
93782 # include <limits.h>
93783 #else
93784 # include <assert.h>
93785 #endif
93786
93787 #undef $ac_func
93788
93789 /* Override any GCC internal prototype to avoid an error.
93790    Use char because int might match the return type of a GCC
93791    builtin and then its argument prototype would still apply.  */
93792 #ifdef __cplusplus
93793 extern "C"
93794 #endif
93795 char $ac_func ();
93796 /* The GNU C library defines this for functions which it implements
93797     to always fail with ENOSYS.  Some functions are actually named
93798     something starting with __ and the normal name is an alias.  */
93799 #if defined __stub_$ac_func || defined __stub___$ac_func
93800 choke me
93801 #endif
93802
93803 int
93804 main ()
93805 {
93806 return $ac_func ();
93807   ;
93808   return 0;
93809 }
93810 _ACEOF
93811 rm -f conftest.$ac_objext conftest$ac_exeext
93812 if { (ac_try="$ac_link"
93813 case "(($ac_try" in
93814   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
93815   *) ac_try_echo=$ac_try;;
93816 esac
93817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
93818   (eval "$ac_link") 2>conftest.er1
93819   ac_status=$?
93820   grep -v '^ *+' conftest.er1 >conftest.err
93821   rm -f conftest.er1
93822   cat conftest.err >&5
93823   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93824   (exit $ac_status); } && {
93825          test -z "$ac_c_werror_flag" ||
93826          test ! -s conftest.err
93827        } && test -s conftest$ac_exeext &&
93828        $as_test_x conftest$ac_exeext; then
93829   eval "$as_ac_var=yes"
93830 else
93831   echo "$as_me: failed program was:" >&5
93832 sed 's/^/| /' conftest.$ac_ext >&5
93833
93834         eval "$as_ac_var=no"
93835 fi
93836
93837 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
93838       conftest$ac_exeext conftest.$ac_ext
93839 fi
93840 ac_res=`eval echo '${'$as_ac_var'}'`
93841                { echo "$as_me:$LINENO: result: $ac_res" >&5
93842 echo "${ECHO_T}$ac_res" >&6; }
93843 if test `eval echo '${'$as_ac_var'}'` = yes; then
93844   cat >>confdefs.h <<_ACEOF
93845 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93846 _ACEOF
93847
93848 fi
93849 done
93850
93851   else
93852     { echo "$as_me:$LINENO: checking for _long double round functions" >&5
93853 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6; }
93854     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
93855   echo $ECHO_N "(cached) $ECHO_C" >&6
93856 else
93857
93858
93859       ac_ext=cpp
93860 ac_cpp='$CXXCPP $CPPFLAGS'
93861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93864
93865       cat >conftest.$ac_ext <<_ACEOF
93866 /* confdefs.h.  */
93867 _ACEOF
93868 cat confdefs.h >>conftest.$ac_ext
93869 cat >>conftest.$ac_ext <<_ACEOF
93870 /* end confdefs.h.  */
93871 #include <math.h>
93872 int
93873 main ()
93874 {
93875 _ceill (0); _floorl (0);
93876   ;
93877   return 0;
93878 }
93879 _ACEOF
93880 rm -f conftest.$ac_objext
93881 if { (ac_try="$ac_compile"
93882 case "(($ac_try" in
93883   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
93884   *) ac_try_echo=$ac_try;;
93885 esac
93886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
93887   (eval "$ac_compile") 2>conftest.er1
93888   ac_status=$?
93889   grep -v '^ *+' conftest.er1 >conftest.err
93890   rm -f conftest.er1
93891   cat conftest.err >&5
93892   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93893   (exit $ac_status); } && {
93894          test -z "$ac_cxx_werror_flag" ||
93895          test ! -s conftest.err
93896        } && test -s conftest.$ac_objext; then
93897   glibcxx_cv_func__long_double_round_use=yes
93898 else
93899   echo "$as_me: failed program was:" >&5
93900 sed 's/^/| /' conftest.$ac_ext >&5
93901
93902         glibcxx_cv_func__long_double_round_use=no
93903 fi
93904
93905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
93906       ac_ext=c
93907 ac_cpp='$CPP $CPPFLAGS'
93908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93911
93912 fi
93913
93914     { echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
93915 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6; }
93916     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
93917
93918
93919 for ac_func in _ceill _floorl
93920 do
93921 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93922 { echo "$as_me:$LINENO: checking for $ac_func" >&5
93923 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
93924 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
93925   echo $ECHO_N "(cached) $ECHO_C" >&6
93926 else
93927   if test x$gcc_no_link = xyes; then
93928   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93929 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93930    { (exit 1); exit 1; }; }
93931 fi
93932 cat >conftest.$ac_ext <<_ACEOF
93933 /* confdefs.h.  */
93934 _ACEOF
93935 cat confdefs.h >>conftest.$ac_ext
93936 cat >>conftest.$ac_ext <<_ACEOF
93937 /* end confdefs.h.  */
93938 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93939    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
93940 #define $ac_func innocuous_$ac_func
93941
93942 /* System header to define __stub macros and hopefully few prototypes,
93943     which can conflict with char $ac_func (); below.
93944     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93945     <limits.h> exists even on freestanding compilers.  */
93946
93947 #ifdef __STDC__
93948 # include <limits.h>
93949 #else
93950 # include <assert.h>
93951 #endif
93952
93953 #undef $ac_func
93954
93955 /* Override any GCC internal prototype to avoid an error.
93956    Use char because int might match the return type of a GCC
93957    builtin and then its argument prototype would still apply.  */
93958 #ifdef __cplusplus
93959 extern "C"
93960 #endif
93961 char $ac_func ();
93962 /* The GNU C library defines this for functions which it implements
93963     to always fail with ENOSYS.  Some functions are actually named
93964     something starting with __ and the normal name is an alias.  */
93965 #if defined __stub_$ac_func || defined __stub___$ac_func
93966 choke me
93967 #endif
93968
93969 int
93970 main ()
93971 {
93972 return $ac_func ();
93973   ;
93974   return 0;
93975 }
93976 _ACEOF
93977 rm -f conftest.$ac_objext conftest$ac_exeext
93978 if { (ac_try="$ac_link"
93979 case "(($ac_try" in
93980   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
93981   *) ac_try_echo=$ac_try;;
93982 esac
93983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
93984   (eval "$ac_link") 2>conftest.er1
93985   ac_status=$?
93986   grep -v '^ *+' conftest.er1 >conftest.err
93987   rm -f conftest.er1
93988   cat conftest.err >&5
93989   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93990   (exit $ac_status); } && {
93991          test -z "$ac_c_werror_flag" ||
93992          test ! -s conftest.err
93993        } && test -s conftest$ac_exeext &&
93994        $as_test_x conftest$ac_exeext; then
93995   eval "$as_ac_var=yes"
93996 else
93997   echo "$as_me: failed program was:" >&5
93998 sed 's/^/| /' conftest.$ac_ext >&5
93999
94000         eval "$as_ac_var=no"
94001 fi
94002
94003 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
94004       conftest$ac_exeext conftest.$ac_ext
94005 fi
94006 ac_res=`eval echo '${'$as_ac_var'}'`
94007                { echo "$as_me:$LINENO: result: $ac_res" >&5
94008 echo "${ECHO_T}$ac_res" >&6; }
94009 if test `eval echo '${'$as_ac_var'}'` = yes; then
94010   cat >>confdefs.h <<_ACEOF
94011 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94012 _ACEOF
94013
94014 fi
94015 done
94016
94017     fi
94018   fi
94019
94020
94021
94022
94023
94024
94025
94026
94027   { echo "$as_me:$LINENO: checking for isnanl declaration" >&5
94028 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6; }
94029   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
94030     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
94031   echo $ECHO_N "(cached) $ECHO_C" >&6
94032 else
94033
94034
94035       ac_ext=cpp
94036 ac_cpp='$CXXCPP $CPPFLAGS'
94037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94040
94041       cat >conftest.$ac_ext <<_ACEOF
94042 /* confdefs.h.  */
94043 _ACEOF
94044 cat confdefs.h >>conftest.$ac_ext
94045 cat >>conftest.$ac_ext <<_ACEOF
94046 /* end confdefs.h.  */
94047 #include <math.h>
94048                       #ifdef HAVE_IEEEFP_H
94049                       #include <ieeefp.h>
94050                       #endif
94051
94052 int
94053 main ()
94054 {
94055  isnanl(0);
94056   ;
94057   return 0;
94058 }
94059 _ACEOF
94060 rm -f conftest.$ac_objext
94061 if { (ac_try="$ac_compile"
94062 case "(($ac_try" in
94063   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
94064   *) ac_try_echo=$ac_try;;
94065 esac
94066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
94067   (eval "$ac_compile") 2>conftest.er1
94068   ac_status=$?
94069   grep -v '^ *+' conftest.er1 >conftest.err
94070   rm -f conftest.er1
94071   cat conftest.err >&5
94072   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94073   (exit $ac_status); } && {
94074          test -z "$ac_cxx_werror_flag" ||
94075          test ! -s conftest.err
94076        } && test -s conftest.$ac_objext; then
94077   glibcxx_cv_func_isnanl_use=yes
94078 else
94079   echo "$as_me: failed program was:" >&5
94080 sed 's/^/| /' conftest.$ac_ext >&5
94081
94082         glibcxx_cv_func_isnanl_use=no
94083 fi
94084
94085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
94086       ac_ext=c
94087 ac_cpp='$CPP $CPPFLAGS'
94088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94091
94092
94093 fi
94094
94095   fi
94096   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
94097 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6; }
94098
94099   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
94100
94101 for ac_func in isnanl
94102 do
94103 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94104 { echo "$as_me:$LINENO: checking for $ac_func" >&5
94105 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
94106 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
94107   echo $ECHO_N "(cached) $ECHO_C" >&6
94108 else
94109   if test x$gcc_no_link = xyes; then
94110   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94111 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94112    { (exit 1); exit 1; }; }
94113 fi
94114 cat >conftest.$ac_ext <<_ACEOF
94115 /* confdefs.h.  */
94116 _ACEOF
94117 cat confdefs.h >>conftest.$ac_ext
94118 cat >>conftest.$ac_ext <<_ACEOF
94119 /* end confdefs.h.  */
94120 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94121    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
94122 #define $ac_func innocuous_$ac_func
94123
94124 /* System header to define __stub macros and hopefully few prototypes,
94125     which can conflict with char $ac_func (); below.
94126     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94127     <limits.h> exists even on freestanding compilers.  */
94128
94129 #ifdef __STDC__
94130 # include <limits.h>
94131 #else
94132 # include <assert.h>
94133 #endif
94134
94135 #undef $ac_func
94136
94137 /* Override any GCC internal prototype to avoid an error.
94138    Use char because int might match the return type of a GCC
94139    builtin and then its argument prototype would still apply.  */
94140 #ifdef __cplusplus
94141 extern "C"
94142 #endif
94143 char $ac_func ();
94144 /* The GNU C library defines this for functions which it implements
94145     to always fail with ENOSYS.  Some functions are actually named
94146     something starting with __ and the normal name is an alias.  */
94147 #if defined __stub_$ac_func || defined __stub___$ac_func
94148 choke me
94149 #endif
94150
94151 int
94152 main ()
94153 {
94154 return $ac_func ();
94155   ;
94156   return 0;
94157 }
94158 _ACEOF
94159 rm -f conftest.$ac_objext conftest$ac_exeext
94160 if { (ac_try="$ac_link"
94161 case "(($ac_try" in
94162   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
94163   *) ac_try_echo=$ac_try;;
94164 esac
94165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
94166   (eval "$ac_link") 2>conftest.er1
94167   ac_status=$?
94168   grep -v '^ *+' conftest.er1 >conftest.err
94169   rm -f conftest.er1
94170   cat conftest.err >&5
94171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94172   (exit $ac_status); } && {
94173          test -z "$ac_c_werror_flag" ||
94174          test ! -s conftest.err
94175        } && test -s conftest$ac_exeext &&
94176        $as_test_x conftest$ac_exeext; then
94177   eval "$as_ac_var=yes"
94178 else
94179   echo "$as_me: failed program was:" >&5
94180 sed 's/^/| /' conftest.$ac_ext >&5
94181
94182         eval "$as_ac_var=no"
94183 fi
94184
94185 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
94186       conftest$ac_exeext conftest.$ac_ext
94187 fi
94188 ac_res=`eval echo '${'$as_ac_var'}'`
94189                { echo "$as_me:$LINENO: result: $ac_res" >&5
94190 echo "${ECHO_T}$ac_res" >&6; }
94191 if test `eval echo '${'$as_ac_var'}'` = yes; then
94192   cat >>confdefs.h <<_ACEOF
94193 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94194 _ACEOF
94195
94196 fi
94197 done
94198
94199   else
94200
94201   { echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
94202 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6; }
94203   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
94204     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
94205   echo $ECHO_N "(cached) $ECHO_C" >&6
94206 else
94207
94208
94209       ac_ext=cpp
94210 ac_cpp='$CXXCPP $CPPFLAGS'
94211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94214
94215       cat >conftest.$ac_ext <<_ACEOF
94216 /* confdefs.h.  */
94217 _ACEOF
94218 cat confdefs.h >>conftest.$ac_ext
94219 cat >>conftest.$ac_ext <<_ACEOF
94220 /* end confdefs.h.  */
94221 #include <math.h>
94222                       #ifdef HAVE_IEEEFP_H
94223                       #include <ieeefp.h>
94224                       #endif
94225
94226 int
94227 main ()
94228 {
94229  _isnanl(0);
94230   ;
94231   return 0;
94232 }
94233 _ACEOF
94234 rm -f conftest.$ac_objext
94235 if { (ac_try="$ac_compile"
94236 case "(($ac_try" in
94237   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
94238   *) ac_try_echo=$ac_try;;
94239 esac
94240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
94241   (eval "$ac_compile") 2>conftest.er1
94242   ac_status=$?
94243   grep -v '^ *+' conftest.er1 >conftest.err
94244   rm -f conftest.er1
94245   cat conftest.err >&5
94246   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94247   (exit $ac_status); } && {
94248          test -z "$ac_cxx_werror_flag" ||
94249          test ! -s conftest.err
94250        } && test -s conftest.$ac_objext; then
94251   glibcxx_cv_func__isnanl_use=yes
94252 else
94253   echo "$as_me: failed program was:" >&5
94254 sed 's/^/| /' conftest.$ac_ext >&5
94255
94256         glibcxx_cv_func__isnanl_use=no
94257 fi
94258
94259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
94260       ac_ext=c
94261 ac_cpp='$CPP $CPPFLAGS'
94262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94265
94266
94267 fi
94268
94269   fi
94270   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
94271 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6; }
94272
94273     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
94274
94275 for ac_func in _isnanl
94276 do
94277 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94278 { echo "$as_me:$LINENO: checking for $ac_func" >&5
94279 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
94280 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
94281   echo $ECHO_N "(cached) $ECHO_C" >&6
94282 else
94283   if test x$gcc_no_link = xyes; then
94284   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94285 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94286    { (exit 1); exit 1; }; }
94287 fi
94288 cat >conftest.$ac_ext <<_ACEOF
94289 /* confdefs.h.  */
94290 _ACEOF
94291 cat confdefs.h >>conftest.$ac_ext
94292 cat >>conftest.$ac_ext <<_ACEOF
94293 /* end confdefs.h.  */
94294 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94295    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
94296 #define $ac_func innocuous_$ac_func
94297
94298 /* System header to define __stub macros and hopefully few prototypes,
94299     which can conflict with char $ac_func (); below.
94300     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94301     <limits.h> exists even on freestanding compilers.  */
94302
94303 #ifdef __STDC__
94304 # include <limits.h>
94305 #else
94306 # include <assert.h>
94307 #endif
94308
94309 #undef $ac_func
94310
94311 /* Override any GCC internal prototype to avoid an error.
94312    Use char because int might match the return type of a GCC
94313    builtin and then its argument prototype would still apply.  */
94314 #ifdef __cplusplus
94315 extern "C"
94316 #endif
94317 char $ac_func ();
94318 /* The GNU C library defines this for functions which it implements
94319     to always fail with ENOSYS.  Some functions are actually named
94320     something starting with __ and the normal name is an alias.  */
94321 #if defined __stub_$ac_func || defined __stub___$ac_func
94322 choke me
94323 #endif
94324
94325 int
94326 main ()
94327 {
94328 return $ac_func ();
94329   ;
94330   return 0;
94331 }
94332 _ACEOF
94333 rm -f conftest.$ac_objext conftest$ac_exeext
94334 if { (ac_try="$ac_link"
94335 case "(($ac_try" in
94336   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
94337   *) ac_try_echo=$ac_try;;
94338 esac
94339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
94340   (eval "$ac_link") 2>conftest.er1
94341   ac_status=$?
94342   grep -v '^ *+' conftest.er1 >conftest.err
94343   rm -f conftest.er1
94344   cat conftest.err >&5
94345   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94346   (exit $ac_status); } && {
94347          test -z "$ac_c_werror_flag" ||
94348          test ! -s conftest.err
94349        } && test -s conftest$ac_exeext &&
94350        $as_test_x conftest$ac_exeext; then
94351   eval "$as_ac_var=yes"
94352 else
94353   echo "$as_me: failed program was:" >&5
94354 sed 's/^/| /' conftest.$ac_ext >&5
94355
94356         eval "$as_ac_var=no"
94357 fi
94358
94359 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
94360       conftest$ac_exeext conftest.$ac_ext
94361 fi
94362 ac_res=`eval echo '${'$as_ac_var'}'`
94363                { echo "$as_me:$LINENO: result: $ac_res" >&5
94364 echo "${ECHO_T}$ac_res" >&6; }
94365 if test `eval echo '${'$as_ac_var'}'` = yes; then
94366   cat >>confdefs.h <<_ACEOF
94367 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94368 _ACEOF
94369
94370 fi
94371 done
94372
94373     fi
94374   fi
94375
94376
94377
94378
94379
94380
94381   { echo "$as_me:$LINENO: checking for isinfl declaration" >&5
94382 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6; }
94383   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
94384     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
94385   echo $ECHO_N "(cached) $ECHO_C" >&6
94386 else
94387
94388
94389       ac_ext=cpp
94390 ac_cpp='$CXXCPP $CPPFLAGS'
94391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94394
94395       cat >conftest.$ac_ext <<_ACEOF
94396 /* confdefs.h.  */
94397 _ACEOF
94398 cat confdefs.h >>conftest.$ac_ext
94399 cat >>conftest.$ac_ext <<_ACEOF
94400 /* end confdefs.h.  */
94401 #include <math.h>
94402                       #ifdef HAVE_IEEEFP_H
94403                       #include <ieeefp.h>
94404                       #endif
94405
94406 int
94407 main ()
94408 {
94409  isinfl(0);
94410   ;
94411   return 0;
94412 }
94413 _ACEOF
94414 rm -f conftest.$ac_objext
94415 if { (ac_try="$ac_compile"
94416 case "(($ac_try" in
94417   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
94418   *) ac_try_echo=$ac_try;;
94419 esac
94420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
94421   (eval "$ac_compile") 2>conftest.er1
94422   ac_status=$?
94423   grep -v '^ *+' conftest.er1 >conftest.err
94424   rm -f conftest.er1
94425   cat conftest.err >&5
94426   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94427   (exit $ac_status); } && {
94428          test -z "$ac_cxx_werror_flag" ||
94429          test ! -s conftest.err
94430        } && test -s conftest.$ac_objext; then
94431   glibcxx_cv_func_isinfl_use=yes
94432 else
94433   echo "$as_me: failed program was:" >&5
94434 sed 's/^/| /' conftest.$ac_ext >&5
94435
94436         glibcxx_cv_func_isinfl_use=no
94437 fi
94438
94439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
94440       ac_ext=c
94441 ac_cpp='$CPP $CPPFLAGS'
94442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94445
94446
94447 fi
94448
94449   fi
94450   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
94451 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6; }
94452
94453   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
94454
94455 for ac_func in isinfl
94456 do
94457 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94458 { echo "$as_me:$LINENO: checking for $ac_func" >&5
94459 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
94460 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
94461   echo $ECHO_N "(cached) $ECHO_C" >&6
94462 else
94463   if test x$gcc_no_link = xyes; then
94464   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94465 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94466    { (exit 1); exit 1; }; }
94467 fi
94468 cat >conftest.$ac_ext <<_ACEOF
94469 /* confdefs.h.  */
94470 _ACEOF
94471 cat confdefs.h >>conftest.$ac_ext
94472 cat >>conftest.$ac_ext <<_ACEOF
94473 /* end confdefs.h.  */
94474 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94475    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
94476 #define $ac_func innocuous_$ac_func
94477
94478 /* System header to define __stub macros and hopefully few prototypes,
94479     which can conflict with char $ac_func (); below.
94480     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94481     <limits.h> exists even on freestanding compilers.  */
94482
94483 #ifdef __STDC__
94484 # include <limits.h>
94485 #else
94486 # include <assert.h>
94487 #endif
94488
94489 #undef $ac_func
94490
94491 /* Override any GCC internal prototype to avoid an error.
94492    Use char because int might match the return type of a GCC
94493    builtin and then its argument prototype would still apply.  */
94494 #ifdef __cplusplus
94495 extern "C"
94496 #endif
94497 char $ac_func ();
94498 /* The GNU C library defines this for functions which it implements
94499     to always fail with ENOSYS.  Some functions are actually named
94500     something starting with __ and the normal name is an alias.  */
94501 #if defined __stub_$ac_func || defined __stub___$ac_func
94502 choke me
94503 #endif
94504
94505 int
94506 main ()
94507 {
94508 return $ac_func ();
94509   ;
94510   return 0;
94511 }
94512 _ACEOF
94513 rm -f conftest.$ac_objext conftest$ac_exeext
94514 if { (ac_try="$ac_link"
94515 case "(($ac_try" in
94516   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
94517   *) ac_try_echo=$ac_try;;
94518 esac
94519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
94520   (eval "$ac_link") 2>conftest.er1
94521   ac_status=$?
94522   grep -v '^ *+' conftest.er1 >conftest.err
94523   rm -f conftest.er1
94524   cat conftest.err >&5
94525   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94526   (exit $ac_status); } && {
94527          test -z "$ac_c_werror_flag" ||
94528          test ! -s conftest.err
94529        } && test -s conftest$ac_exeext &&
94530        $as_test_x conftest$ac_exeext; then
94531   eval "$as_ac_var=yes"
94532 else
94533   echo "$as_me: failed program was:" >&5
94534 sed 's/^/| /' conftest.$ac_ext >&5
94535
94536         eval "$as_ac_var=no"
94537 fi
94538
94539 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
94540       conftest$ac_exeext conftest.$ac_ext
94541 fi
94542 ac_res=`eval echo '${'$as_ac_var'}'`
94543                { echo "$as_me:$LINENO: result: $ac_res" >&5
94544 echo "${ECHO_T}$ac_res" >&6; }
94545 if test `eval echo '${'$as_ac_var'}'` = yes; then
94546   cat >>confdefs.h <<_ACEOF
94547 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94548 _ACEOF
94549
94550 fi
94551 done
94552
94553   else
94554
94555   { echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
94556 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6; }
94557   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
94558     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
94559   echo $ECHO_N "(cached) $ECHO_C" >&6
94560 else
94561
94562
94563       ac_ext=cpp
94564 ac_cpp='$CXXCPP $CPPFLAGS'
94565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94568
94569       cat >conftest.$ac_ext <<_ACEOF
94570 /* confdefs.h.  */
94571 _ACEOF
94572 cat confdefs.h >>conftest.$ac_ext
94573 cat >>conftest.$ac_ext <<_ACEOF
94574 /* end confdefs.h.  */
94575 #include <math.h>
94576                       #ifdef HAVE_IEEEFP_H
94577                       #include <ieeefp.h>
94578                       #endif
94579
94580 int
94581 main ()
94582 {
94583  _isinfl(0);
94584   ;
94585   return 0;
94586 }
94587 _ACEOF
94588 rm -f conftest.$ac_objext
94589 if { (ac_try="$ac_compile"
94590 case "(($ac_try" in
94591   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
94592   *) ac_try_echo=$ac_try;;
94593 esac
94594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
94595   (eval "$ac_compile") 2>conftest.er1
94596   ac_status=$?
94597   grep -v '^ *+' conftest.er1 >conftest.err
94598   rm -f conftest.er1
94599   cat conftest.err >&5
94600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94601   (exit $ac_status); } && {
94602          test -z "$ac_cxx_werror_flag" ||
94603          test ! -s conftest.err
94604        } && test -s conftest.$ac_objext; then
94605   glibcxx_cv_func__isinfl_use=yes
94606 else
94607   echo "$as_me: failed program was:" >&5
94608 sed 's/^/| /' conftest.$ac_ext >&5
94609
94610         glibcxx_cv_func__isinfl_use=no
94611 fi
94612
94613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
94614       ac_ext=c
94615 ac_cpp='$CPP $CPPFLAGS'
94616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94619
94620
94621 fi
94622
94623   fi
94624   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
94625 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6; }
94626
94627     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
94628
94629 for ac_func in _isinfl
94630 do
94631 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94632 { echo "$as_me:$LINENO: checking for $ac_func" >&5
94633 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
94634 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
94635   echo $ECHO_N "(cached) $ECHO_C" >&6
94636 else
94637   if test x$gcc_no_link = xyes; then
94638   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94639 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94640    { (exit 1); exit 1; }; }
94641 fi
94642 cat >conftest.$ac_ext <<_ACEOF
94643 /* confdefs.h.  */
94644 _ACEOF
94645 cat confdefs.h >>conftest.$ac_ext
94646 cat >>conftest.$ac_ext <<_ACEOF
94647 /* end confdefs.h.  */
94648 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94649    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
94650 #define $ac_func innocuous_$ac_func
94651
94652 /* System header to define __stub macros and hopefully few prototypes,
94653     which can conflict with char $ac_func (); below.
94654     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94655     <limits.h> exists even on freestanding compilers.  */
94656
94657 #ifdef __STDC__
94658 # include <limits.h>
94659 #else
94660 # include <assert.h>
94661 #endif
94662
94663 #undef $ac_func
94664
94665 /* Override any GCC internal prototype to avoid an error.
94666    Use char because int might match the return type of a GCC
94667    builtin and then its argument prototype would still apply.  */
94668 #ifdef __cplusplus
94669 extern "C"
94670 #endif
94671 char $ac_func ();
94672 /* The GNU C library defines this for functions which it implements
94673     to always fail with ENOSYS.  Some functions are actually named
94674     something starting with __ and the normal name is an alias.  */
94675 #if defined __stub_$ac_func || defined __stub___$ac_func
94676 choke me
94677 #endif
94678
94679 int
94680 main ()
94681 {
94682 return $ac_func ();
94683   ;
94684   return 0;
94685 }
94686 _ACEOF
94687 rm -f conftest.$ac_objext conftest$ac_exeext
94688 if { (ac_try="$ac_link"
94689 case "(($ac_try" in
94690   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
94691   *) ac_try_echo=$ac_try;;
94692 esac
94693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
94694   (eval "$ac_link") 2>conftest.er1
94695   ac_status=$?
94696   grep -v '^ *+' conftest.er1 >conftest.err
94697   rm -f conftest.er1
94698   cat conftest.err >&5
94699   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94700   (exit $ac_status); } && {
94701          test -z "$ac_c_werror_flag" ||
94702          test ! -s conftest.err
94703        } && test -s conftest$ac_exeext &&
94704        $as_test_x conftest$ac_exeext; then
94705   eval "$as_ac_var=yes"
94706 else
94707   echo "$as_me: failed program was:" >&5
94708 sed 's/^/| /' conftest.$ac_ext >&5
94709
94710         eval "$as_ac_var=no"
94711 fi
94712
94713 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
94714       conftest$ac_exeext conftest.$ac_ext
94715 fi
94716 ac_res=`eval echo '${'$as_ac_var'}'`
94717                { echo "$as_me:$LINENO: result: $ac_res" >&5
94718 echo "${ECHO_T}$ac_res" >&6; }
94719 if test `eval echo '${'$as_ac_var'}'` = yes; then
94720   cat >>confdefs.h <<_ACEOF
94721 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94722 _ACEOF
94723
94724 fi
94725 done
94726
94727     fi
94728   fi
94729
94730
94731
94732
94733
94734
94735   { echo "$as_me:$LINENO: checking for copysignl declaration" >&5
94736 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6; }
94737   if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
94738     if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
94739   echo $ECHO_N "(cached) $ECHO_C" >&6
94740 else
94741
94742
94743       ac_ext=cpp
94744 ac_cpp='$CXXCPP $CPPFLAGS'
94745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94748
94749       cat >conftest.$ac_ext <<_ACEOF
94750 /* confdefs.h.  */
94751 _ACEOF
94752 cat confdefs.h >>conftest.$ac_ext
94753 cat >>conftest.$ac_ext <<_ACEOF
94754 /* end confdefs.h.  */
94755 #include <math.h>
94756 int
94757 main ()
94758 {
94759  copysignl(0, 0);
94760   ;
94761   return 0;
94762 }
94763 _ACEOF
94764 rm -f conftest.$ac_objext
94765 if { (ac_try="$ac_compile"
94766 case "(($ac_try" in
94767   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
94768   *) ac_try_echo=$ac_try;;
94769 esac
94770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
94771   (eval "$ac_compile") 2>conftest.er1
94772   ac_status=$?
94773   grep -v '^ *+' conftest.er1 >conftest.err
94774   rm -f conftest.er1
94775   cat conftest.err >&5
94776   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94777   (exit $ac_status); } && {
94778          test -z "$ac_cxx_werror_flag" ||
94779          test ! -s conftest.err
94780        } && test -s conftest.$ac_objext; then
94781   glibcxx_cv_func_copysignl_use=yes
94782 else
94783   echo "$as_me: failed program was:" >&5
94784 sed 's/^/| /' conftest.$ac_ext >&5
94785
94786         glibcxx_cv_func_copysignl_use=no
94787 fi
94788
94789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
94790       ac_ext=c
94791 ac_cpp='$CPP $CPPFLAGS'
94792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94795
94796
94797 fi
94798
94799   fi
94800   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
94801 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6; }
94802
94803   if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
94804
94805 for ac_func in copysignl
94806 do
94807 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94808 { echo "$as_me:$LINENO: checking for $ac_func" >&5
94809 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
94810 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
94811   echo $ECHO_N "(cached) $ECHO_C" >&6
94812 else
94813   if test x$gcc_no_link = xyes; then
94814   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94815 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94816    { (exit 1); exit 1; }; }
94817 fi
94818 cat >conftest.$ac_ext <<_ACEOF
94819 /* confdefs.h.  */
94820 _ACEOF
94821 cat confdefs.h >>conftest.$ac_ext
94822 cat >>conftest.$ac_ext <<_ACEOF
94823 /* end confdefs.h.  */
94824 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94825    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
94826 #define $ac_func innocuous_$ac_func
94827
94828 /* System header to define __stub macros and hopefully few prototypes,
94829     which can conflict with char $ac_func (); below.
94830     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94831     <limits.h> exists even on freestanding compilers.  */
94832
94833 #ifdef __STDC__
94834 # include <limits.h>
94835 #else
94836 # include <assert.h>
94837 #endif
94838
94839 #undef $ac_func
94840
94841 /* Override any GCC internal prototype to avoid an error.
94842    Use char because int might match the return type of a GCC
94843    builtin and then its argument prototype would still apply.  */
94844 #ifdef __cplusplus
94845 extern "C"
94846 #endif
94847 char $ac_func ();
94848 /* The GNU C library defines this for functions which it implements
94849     to always fail with ENOSYS.  Some functions are actually named
94850     something starting with __ and the normal name is an alias.  */
94851 #if defined __stub_$ac_func || defined __stub___$ac_func
94852 choke me
94853 #endif
94854
94855 int
94856 main ()
94857 {
94858 return $ac_func ();
94859   ;
94860   return 0;
94861 }
94862 _ACEOF
94863 rm -f conftest.$ac_objext conftest$ac_exeext
94864 if { (ac_try="$ac_link"
94865 case "(($ac_try" in
94866   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
94867   *) ac_try_echo=$ac_try;;
94868 esac
94869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
94870   (eval "$ac_link") 2>conftest.er1
94871   ac_status=$?
94872   grep -v '^ *+' conftest.er1 >conftest.err
94873   rm -f conftest.er1
94874   cat conftest.err >&5
94875   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94876   (exit $ac_status); } && {
94877          test -z "$ac_c_werror_flag" ||
94878          test ! -s conftest.err
94879        } && test -s conftest$ac_exeext &&
94880        $as_test_x conftest$ac_exeext; then
94881   eval "$as_ac_var=yes"
94882 else
94883   echo "$as_me: failed program was:" >&5
94884 sed 's/^/| /' conftest.$ac_ext >&5
94885
94886         eval "$as_ac_var=no"
94887 fi
94888
94889 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
94890       conftest$ac_exeext conftest.$ac_ext
94891 fi
94892 ac_res=`eval echo '${'$as_ac_var'}'`
94893                { echo "$as_me:$LINENO: result: $ac_res" >&5
94894 echo "${ECHO_T}$ac_res" >&6; }
94895 if test `eval echo '${'$as_ac_var'}'` = yes; then
94896   cat >>confdefs.h <<_ACEOF
94897 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94898 _ACEOF
94899
94900 fi
94901 done
94902
94903   else
94904
94905   { echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
94906 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6; }
94907   if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
94908     if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
94909   echo $ECHO_N "(cached) $ECHO_C" >&6
94910 else
94911
94912
94913       ac_ext=cpp
94914 ac_cpp='$CXXCPP $CPPFLAGS'
94915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94918
94919       cat >conftest.$ac_ext <<_ACEOF
94920 /* confdefs.h.  */
94921 _ACEOF
94922 cat confdefs.h >>conftest.$ac_ext
94923 cat >>conftest.$ac_ext <<_ACEOF
94924 /* end confdefs.h.  */
94925 #include <math.h>
94926 int
94927 main ()
94928 {
94929  _copysignl(0, 0);
94930   ;
94931   return 0;
94932 }
94933 _ACEOF
94934 rm -f conftest.$ac_objext
94935 if { (ac_try="$ac_compile"
94936 case "(($ac_try" in
94937   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
94938   *) ac_try_echo=$ac_try;;
94939 esac
94940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
94941   (eval "$ac_compile") 2>conftest.er1
94942   ac_status=$?
94943   grep -v '^ *+' conftest.er1 >conftest.err
94944   rm -f conftest.er1
94945   cat conftest.err >&5
94946   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94947   (exit $ac_status); } && {
94948          test -z "$ac_cxx_werror_flag" ||
94949          test ! -s conftest.err
94950        } && test -s conftest.$ac_objext; then
94951   glibcxx_cv_func__copysignl_use=yes
94952 else
94953   echo "$as_me: failed program was:" >&5
94954 sed 's/^/| /' conftest.$ac_ext >&5
94955
94956         glibcxx_cv_func__copysignl_use=no
94957 fi
94958
94959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
94960       ac_ext=c
94961 ac_cpp='$CPP $CPPFLAGS'
94962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94965
94966
94967 fi
94968
94969   fi
94970   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
94971 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6; }
94972
94973     if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
94974
94975 for ac_func in _copysignl
94976 do
94977 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94978 { echo "$as_me:$LINENO: checking for $ac_func" >&5
94979 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
94980 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
94981   echo $ECHO_N "(cached) $ECHO_C" >&6
94982 else
94983   if test x$gcc_no_link = xyes; then
94984   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94985 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94986    { (exit 1); exit 1; }; }
94987 fi
94988 cat >conftest.$ac_ext <<_ACEOF
94989 /* confdefs.h.  */
94990 _ACEOF
94991 cat confdefs.h >>conftest.$ac_ext
94992 cat >>conftest.$ac_ext <<_ACEOF
94993 /* end confdefs.h.  */
94994 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94995    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
94996 #define $ac_func innocuous_$ac_func
94997
94998 /* System header to define __stub macros and hopefully few prototypes,
94999     which can conflict with char $ac_func (); below.
95000     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95001     <limits.h> exists even on freestanding compilers.  */
95002
95003 #ifdef __STDC__
95004 # include <limits.h>
95005 #else
95006 # include <assert.h>
95007 #endif
95008
95009 #undef $ac_func
95010
95011 /* Override any GCC internal prototype to avoid an error.
95012    Use char because int might match the return type of a GCC
95013    builtin and then its argument prototype would still apply.  */
95014 #ifdef __cplusplus
95015 extern "C"
95016 #endif
95017 char $ac_func ();
95018 /* The GNU C library defines this for functions which it implements
95019     to always fail with ENOSYS.  Some functions are actually named
95020     something starting with __ and the normal name is an alias.  */
95021 #if defined __stub_$ac_func || defined __stub___$ac_func
95022 choke me
95023 #endif
95024
95025 int
95026 main ()
95027 {
95028 return $ac_func ();
95029   ;
95030   return 0;
95031 }
95032 _ACEOF
95033 rm -f conftest.$ac_objext conftest$ac_exeext
95034 if { (ac_try="$ac_link"
95035 case "(($ac_try" in
95036   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
95037   *) ac_try_echo=$ac_try;;
95038 esac
95039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
95040   (eval "$ac_link") 2>conftest.er1
95041   ac_status=$?
95042   grep -v '^ *+' conftest.er1 >conftest.err
95043   rm -f conftest.er1
95044   cat conftest.err >&5
95045   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95046   (exit $ac_status); } && {
95047          test -z "$ac_c_werror_flag" ||
95048          test ! -s conftest.err
95049        } && test -s conftest$ac_exeext &&
95050        $as_test_x conftest$ac_exeext; then
95051   eval "$as_ac_var=yes"
95052 else
95053   echo "$as_me: failed program was:" >&5
95054 sed 's/^/| /' conftest.$ac_ext >&5
95055
95056         eval "$as_ac_var=no"
95057 fi
95058
95059 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
95060       conftest$ac_exeext conftest.$ac_ext
95061 fi
95062 ac_res=`eval echo '${'$as_ac_var'}'`
95063                { echo "$as_me:$LINENO: result: $ac_res" >&5
95064 echo "${ECHO_T}$ac_res" >&6; }
95065 if test `eval echo '${'$as_ac_var'}'` = yes; then
95066   cat >>confdefs.h <<_ACEOF
95067 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95068 _ACEOF
95069
95070 fi
95071 done
95072
95073     fi
95074   fi
95075
95076
95077
95078
95079
95080
95081   { echo "$as_me:$LINENO: checking for atan2l declaration" >&5
95082 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6; }
95083   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
95084     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
95085   echo $ECHO_N "(cached) $ECHO_C" >&6
95086 else
95087
95088
95089       ac_ext=cpp
95090 ac_cpp='$CXXCPP $CPPFLAGS'
95091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95094
95095       cat >conftest.$ac_ext <<_ACEOF
95096 /* confdefs.h.  */
95097 _ACEOF
95098 cat confdefs.h >>conftest.$ac_ext
95099 cat >>conftest.$ac_ext <<_ACEOF
95100 /* end confdefs.h.  */
95101 #include <math.h>
95102 int
95103 main ()
95104 {
95105  atan2l(0, 0);
95106   ;
95107   return 0;
95108 }
95109 _ACEOF
95110 rm -f conftest.$ac_objext
95111 if { (ac_try="$ac_compile"
95112 case "(($ac_try" in
95113   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
95114   *) ac_try_echo=$ac_try;;
95115 esac
95116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
95117   (eval "$ac_compile") 2>conftest.er1
95118   ac_status=$?
95119   grep -v '^ *+' conftest.er1 >conftest.err
95120   rm -f conftest.er1
95121   cat conftest.err >&5
95122   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95123   (exit $ac_status); } && {
95124          test -z "$ac_cxx_werror_flag" ||
95125          test ! -s conftest.err
95126        } && test -s conftest.$ac_objext; then
95127   glibcxx_cv_func_atan2l_use=yes
95128 else
95129   echo "$as_me: failed program was:" >&5
95130 sed 's/^/| /' conftest.$ac_ext >&5
95131
95132         glibcxx_cv_func_atan2l_use=no
95133 fi
95134
95135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
95136       ac_ext=c
95137 ac_cpp='$CPP $CPPFLAGS'
95138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95141
95142
95143 fi
95144
95145   fi
95146   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
95147 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6; }
95148
95149   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
95150
95151 for ac_func in atan2l
95152 do
95153 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95154 { echo "$as_me:$LINENO: checking for $ac_func" >&5
95155 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
95156 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
95157   echo $ECHO_N "(cached) $ECHO_C" >&6
95158 else
95159   if test x$gcc_no_link = xyes; then
95160   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95161 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95162    { (exit 1); exit 1; }; }
95163 fi
95164 cat >conftest.$ac_ext <<_ACEOF
95165 /* confdefs.h.  */
95166 _ACEOF
95167 cat confdefs.h >>conftest.$ac_ext
95168 cat >>conftest.$ac_ext <<_ACEOF
95169 /* end confdefs.h.  */
95170 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95171    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
95172 #define $ac_func innocuous_$ac_func
95173
95174 /* System header to define __stub macros and hopefully few prototypes,
95175     which can conflict with char $ac_func (); below.
95176     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95177     <limits.h> exists even on freestanding compilers.  */
95178
95179 #ifdef __STDC__
95180 # include <limits.h>
95181 #else
95182 # include <assert.h>
95183 #endif
95184
95185 #undef $ac_func
95186
95187 /* Override any GCC internal prototype to avoid an error.
95188    Use char because int might match the return type of a GCC
95189    builtin and then its argument prototype would still apply.  */
95190 #ifdef __cplusplus
95191 extern "C"
95192 #endif
95193 char $ac_func ();
95194 /* The GNU C library defines this for functions which it implements
95195     to always fail with ENOSYS.  Some functions are actually named
95196     something starting with __ and the normal name is an alias.  */
95197 #if defined __stub_$ac_func || defined __stub___$ac_func
95198 choke me
95199 #endif
95200
95201 int
95202 main ()
95203 {
95204 return $ac_func ();
95205   ;
95206   return 0;
95207 }
95208 _ACEOF
95209 rm -f conftest.$ac_objext conftest$ac_exeext
95210 if { (ac_try="$ac_link"
95211 case "(($ac_try" in
95212   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
95213   *) ac_try_echo=$ac_try;;
95214 esac
95215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
95216   (eval "$ac_link") 2>conftest.er1
95217   ac_status=$?
95218   grep -v '^ *+' conftest.er1 >conftest.err
95219   rm -f conftest.er1
95220   cat conftest.err >&5
95221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95222   (exit $ac_status); } && {
95223          test -z "$ac_c_werror_flag" ||
95224          test ! -s conftest.err
95225        } && test -s conftest$ac_exeext &&
95226        $as_test_x conftest$ac_exeext; then
95227   eval "$as_ac_var=yes"
95228 else
95229   echo "$as_me: failed program was:" >&5
95230 sed 's/^/| /' conftest.$ac_ext >&5
95231
95232         eval "$as_ac_var=no"
95233 fi
95234
95235 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
95236       conftest$ac_exeext conftest.$ac_ext
95237 fi
95238 ac_res=`eval echo '${'$as_ac_var'}'`
95239                { echo "$as_me:$LINENO: result: $ac_res" >&5
95240 echo "${ECHO_T}$ac_res" >&6; }
95241 if test `eval echo '${'$as_ac_var'}'` = yes; then
95242   cat >>confdefs.h <<_ACEOF
95243 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95244 _ACEOF
95245
95246 fi
95247 done
95248
95249   else
95250
95251   { echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
95252 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6; }
95253   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
95254     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
95255   echo $ECHO_N "(cached) $ECHO_C" >&6
95256 else
95257
95258
95259       ac_ext=cpp
95260 ac_cpp='$CXXCPP $CPPFLAGS'
95261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95264
95265       cat >conftest.$ac_ext <<_ACEOF
95266 /* confdefs.h.  */
95267 _ACEOF
95268 cat confdefs.h >>conftest.$ac_ext
95269 cat >>conftest.$ac_ext <<_ACEOF
95270 /* end confdefs.h.  */
95271 #include <math.h>
95272 int
95273 main ()
95274 {
95275  _atan2l(0, 0);
95276   ;
95277   return 0;
95278 }
95279 _ACEOF
95280 rm -f conftest.$ac_objext
95281 if { (ac_try="$ac_compile"
95282 case "(($ac_try" in
95283   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
95284   *) ac_try_echo=$ac_try;;
95285 esac
95286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
95287   (eval "$ac_compile") 2>conftest.er1
95288   ac_status=$?
95289   grep -v '^ *+' conftest.er1 >conftest.err
95290   rm -f conftest.er1
95291   cat conftest.err >&5
95292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95293   (exit $ac_status); } && {
95294          test -z "$ac_cxx_werror_flag" ||
95295          test ! -s conftest.err
95296        } && test -s conftest.$ac_objext; then
95297   glibcxx_cv_func__atan2l_use=yes
95298 else
95299   echo "$as_me: failed program was:" >&5
95300 sed 's/^/| /' conftest.$ac_ext >&5
95301
95302         glibcxx_cv_func__atan2l_use=no
95303 fi
95304
95305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
95306       ac_ext=c
95307 ac_cpp='$CPP $CPPFLAGS'
95308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95311
95312
95313 fi
95314
95315   fi
95316   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
95317 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6; }
95318
95319     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
95320
95321 for ac_func in _atan2l
95322 do
95323 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95324 { echo "$as_me:$LINENO: checking for $ac_func" >&5
95325 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
95326 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
95327   echo $ECHO_N "(cached) $ECHO_C" >&6
95328 else
95329   if test x$gcc_no_link = xyes; then
95330   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95331 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95332    { (exit 1); exit 1; }; }
95333 fi
95334 cat >conftest.$ac_ext <<_ACEOF
95335 /* confdefs.h.  */
95336 _ACEOF
95337 cat confdefs.h >>conftest.$ac_ext
95338 cat >>conftest.$ac_ext <<_ACEOF
95339 /* end confdefs.h.  */
95340 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95341    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
95342 #define $ac_func innocuous_$ac_func
95343
95344 /* System header to define __stub macros and hopefully few prototypes,
95345     which can conflict with char $ac_func (); below.
95346     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95347     <limits.h> exists even on freestanding compilers.  */
95348
95349 #ifdef __STDC__
95350 # include <limits.h>
95351 #else
95352 # include <assert.h>
95353 #endif
95354
95355 #undef $ac_func
95356
95357 /* Override any GCC internal prototype to avoid an error.
95358    Use char because int might match the return type of a GCC
95359    builtin and then its argument prototype would still apply.  */
95360 #ifdef __cplusplus
95361 extern "C"
95362 #endif
95363 char $ac_func ();
95364 /* The GNU C library defines this for functions which it implements
95365     to always fail with ENOSYS.  Some functions are actually named
95366     something starting with __ and the normal name is an alias.  */
95367 #if defined __stub_$ac_func || defined __stub___$ac_func
95368 choke me
95369 #endif
95370
95371 int
95372 main ()
95373 {
95374 return $ac_func ();
95375   ;
95376   return 0;
95377 }
95378 _ACEOF
95379 rm -f conftest.$ac_objext conftest$ac_exeext
95380 if { (ac_try="$ac_link"
95381 case "(($ac_try" in
95382   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
95383   *) ac_try_echo=$ac_try;;
95384 esac
95385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
95386   (eval "$ac_link") 2>conftest.er1
95387   ac_status=$?
95388   grep -v '^ *+' conftest.er1 >conftest.err
95389   rm -f conftest.er1
95390   cat conftest.err >&5
95391   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95392   (exit $ac_status); } && {
95393          test -z "$ac_c_werror_flag" ||
95394          test ! -s conftest.err
95395        } && test -s conftest$ac_exeext &&
95396        $as_test_x conftest$ac_exeext; then
95397   eval "$as_ac_var=yes"
95398 else
95399   echo "$as_me: failed program was:" >&5
95400 sed 's/^/| /' conftest.$ac_ext >&5
95401
95402         eval "$as_ac_var=no"
95403 fi
95404
95405 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
95406       conftest$ac_exeext conftest.$ac_ext
95407 fi
95408 ac_res=`eval echo '${'$as_ac_var'}'`
95409                { echo "$as_me:$LINENO: result: $ac_res" >&5
95410 echo "${ECHO_T}$ac_res" >&6; }
95411 if test `eval echo '${'$as_ac_var'}'` = yes; then
95412   cat >>confdefs.h <<_ACEOF
95413 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95414 _ACEOF
95415
95416 fi
95417 done
95418
95419     fi
95420   fi
95421
95422
95423
95424
95425
95426
95427   { echo "$as_me:$LINENO: checking for expl declaration" >&5
95428 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6; }
95429   if test x${glibcxx_cv_func_expl_use+set} != xset; then
95430     if test "${glibcxx_cv_func_expl_use+set}" = set; then
95431   echo $ECHO_N "(cached) $ECHO_C" >&6
95432 else
95433
95434
95435       ac_ext=cpp
95436 ac_cpp='$CXXCPP $CPPFLAGS'
95437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95440
95441       cat >conftest.$ac_ext <<_ACEOF
95442 /* confdefs.h.  */
95443 _ACEOF
95444 cat confdefs.h >>conftest.$ac_ext
95445 cat >>conftest.$ac_ext <<_ACEOF
95446 /* end confdefs.h.  */
95447 #include <math.h>
95448                       #ifdef HAVE_IEEEFP_H
95449                       #include <ieeefp.h>
95450                       #endif
95451
95452 int
95453 main ()
95454 {
95455  expl(0);
95456   ;
95457   return 0;
95458 }
95459 _ACEOF
95460 rm -f conftest.$ac_objext
95461 if { (ac_try="$ac_compile"
95462 case "(($ac_try" in
95463   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
95464   *) ac_try_echo=$ac_try;;
95465 esac
95466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
95467   (eval "$ac_compile") 2>conftest.er1
95468   ac_status=$?
95469   grep -v '^ *+' conftest.er1 >conftest.err
95470   rm -f conftest.er1
95471   cat conftest.err >&5
95472   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95473   (exit $ac_status); } && {
95474          test -z "$ac_cxx_werror_flag" ||
95475          test ! -s conftest.err
95476        } && test -s conftest.$ac_objext; then
95477   glibcxx_cv_func_expl_use=yes
95478 else
95479   echo "$as_me: failed program was:" >&5
95480 sed 's/^/| /' conftest.$ac_ext >&5
95481
95482         glibcxx_cv_func_expl_use=no
95483 fi
95484
95485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
95486       ac_ext=c
95487 ac_cpp='$CPP $CPPFLAGS'
95488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95491
95492
95493 fi
95494
95495   fi
95496   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
95497 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6; }
95498
95499   if test x$glibcxx_cv_func_expl_use = x"yes"; then
95500
95501 for ac_func in expl
95502 do
95503 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95504 { echo "$as_me:$LINENO: checking for $ac_func" >&5
95505 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
95506 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
95507   echo $ECHO_N "(cached) $ECHO_C" >&6
95508 else
95509   if test x$gcc_no_link = xyes; then
95510   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95511 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95512    { (exit 1); exit 1; }; }
95513 fi
95514 cat >conftest.$ac_ext <<_ACEOF
95515 /* confdefs.h.  */
95516 _ACEOF
95517 cat confdefs.h >>conftest.$ac_ext
95518 cat >>conftest.$ac_ext <<_ACEOF
95519 /* end confdefs.h.  */
95520 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95521    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
95522 #define $ac_func innocuous_$ac_func
95523
95524 /* System header to define __stub macros and hopefully few prototypes,
95525     which can conflict with char $ac_func (); below.
95526     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95527     <limits.h> exists even on freestanding compilers.  */
95528
95529 #ifdef __STDC__
95530 # include <limits.h>
95531 #else
95532 # include <assert.h>
95533 #endif
95534
95535 #undef $ac_func
95536
95537 /* Override any GCC internal prototype to avoid an error.
95538    Use char because int might match the return type of a GCC
95539    builtin and then its argument prototype would still apply.  */
95540 #ifdef __cplusplus
95541 extern "C"
95542 #endif
95543 char $ac_func ();
95544 /* The GNU C library defines this for functions which it implements
95545     to always fail with ENOSYS.  Some functions are actually named
95546     something starting with __ and the normal name is an alias.  */
95547 #if defined __stub_$ac_func || defined __stub___$ac_func
95548 choke me
95549 #endif
95550
95551 int
95552 main ()
95553 {
95554 return $ac_func ();
95555   ;
95556   return 0;
95557 }
95558 _ACEOF
95559 rm -f conftest.$ac_objext conftest$ac_exeext
95560 if { (ac_try="$ac_link"
95561 case "(($ac_try" in
95562   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
95563   *) ac_try_echo=$ac_try;;
95564 esac
95565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
95566   (eval "$ac_link") 2>conftest.er1
95567   ac_status=$?
95568   grep -v '^ *+' conftest.er1 >conftest.err
95569   rm -f conftest.er1
95570   cat conftest.err >&5
95571   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95572   (exit $ac_status); } && {
95573          test -z "$ac_c_werror_flag" ||
95574          test ! -s conftest.err
95575        } && test -s conftest$ac_exeext &&
95576        $as_test_x conftest$ac_exeext; then
95577   eval "$as_ac_var=yes"
95578 else
95579   echo "$as_me: failed program was:" >&5
95580 sed 's/^/| /' conftest.$ac_ext >&5
95581
95582         eval "$as_ac_var=no"
95583 fi
95584
95585 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
95586       conftest$ac_exeext conftest.$ac_ext
95587 fi
95588 ac_res=`eval echo '${'$as_ac_var'}'`
95589                { echo "$as_me:$LINENO: result: $ac_res" >&5
95590 echo "${ECHO_T}$ac_res" >&6; }
95591 if test `eval echo '${'$as_ac_var'}'` = yes; then
95592   cat >>confdefs.h <<_ACEOF
95593 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95594 _ACEOF
95595
95596 fi
95597 done
95598
95599   else
95600
95601   { echo "$as_me:$LINENO: checking for _expl declaration" >&5
95602 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6; }
95603   if test x${glibcxx_cv_func__expl_use+set} != xset; then
95604     if test "${glibcxx_cv_func__expl_use+set}" = set; then
95605   echo $ECHO_N "(cached) $ECHO_C" >&6
95606 else
95607
95608
95609       ac_ext=cpp
95610 ac_cpp='$CXXCPP $CPPFLAGS'
95611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95614
95615       cat >conftest.$ac_ext <<_ACEOF
95616 /* confdefs.h.  */
95617 _ACEOF
95618 cat confdefs.h >>conftest.$ac_ext
95619 cat >>conftest.$ac_ext <<_ACEOF
95620 /* end confdefs.h.  */
95621 #include <math.h>
95622                       #ifdef HAVE_IEEEFP_H
95623                       #include <ieeefp.h>
95624                       #endif
95625
95626 int
95627 main ()
95628 {
95629  _expl(0);
95630   ;
95631   return 0;
95632 }
95633 _ACEOF
95634 rm -f conftest.$ac_objext
95635 if { (ac_try="$ac_compile"
95636 case "(($ac_try" in
95637   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
95638   *) ac_try_echo=$ac_try;;
95639 esac
95640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
95641   (eval "$ac_compile") 2>conftest.er1
95642   ac_status=$?
95643   grep -v '^ *+' conftest.er1 >conftest.err
95644   rm -f conftest.er1
95645   cat conftest.err >&5
95646   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95647   (exit $ac_status); } && {
95648          test -z "$ac_cxx_werror_flag" ||
95649          test ! -s conftest.err
95650        } && test -s conftest.$ac_objext; then
95651   glibcxx_cv_func__expl_use=yes
95652 else
95653   echo "$as_me: failed program was:" >&5
95654 sed 's/^/| /' conftest.$ac_ext >&5
95655
95656         glibcxx_cv_func__expl_use=no
95657 fi
95658
95659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
95660       ac_ext=c
95661 ac_cpp='$CPP $CPPFLAGS'
95662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95665
95666
95667 fi
95668
95669   fi
95670   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
95671 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6; }
95672
95673     if test x$glibcxx_cv_func__expl_use = x"yes"; then
95674
95675 for ac_func in _expl
95676 do
95677 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95678 { echo "$as_me:$LINENO: checking for $ac_func" >&5
95679 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
95680 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
95681   echo $ECHO_N "(cached) $ECHO_C" >&6
95682 else
95683   if test x$gcc_no_link = xyes; then
95684   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95685 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95686    { (exit 1); exit 1; }; }
95687 fi
95688 cat >conftest.$ac_ext <<_ACEOF
95689 /* confdefs.h.  */
95690 _ACEOF
95691 cat confdefs.h >>conftest.$ac_ext
95692 cat >>conftest.$ac_ext <<_ACEOF
95693 /* end confdefs.h.  */
95694 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95695    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
95696 #define $ac_func innocuous_$ac_func
95697
95698 /* System header to define __stub macros and hopefully few prototypes,
95699     which can conflict with char $ac_func (); below.
95700     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95701     <limits.h> exists even on freestanding compilers.  */
95702
95703 #ifdef __STDC__
95704 # include <limits.h>
95705 #else
95706 # include <assert.h>
95707 #endif
95708
95709 #undef $ac_func
95710
95711 /* Override any GCC internal prototype to avoid an error.
95712    Use char because int might match the return type of a GCC
95713    builtin and then its argument prototype would still apply.  */
95714 #ifdef __cplusplus
95715 extern "C"
95716 #endif
95717 char $ac_func ();
95718 /* The GNU C library defines this for functions which it implements
95719     to always fail with ENOSYS.  Some functions are actually named
95720     something starting with __ and the normal name is an alias.  */
95721 #if defined __stub_$ac_func || defined __stub___$ac_func
95722 choke me
95723 #endif
95724
95725 int
95726 main ()
95727 {
95728 return $ac_func ();
95729   ;
95730   return 0;
95731 }
95732 _ACEOF
95733 rm -f conftest.$ac_objext conftest$ac_exeext
95734 if { (ac_try="$ac_link"
95735 case "(($ac_try" in
95736   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
95737   *) ac_try_echo=$ac_try;;
95738 esac
95739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
95740   (eval "$ac_link") 2>conftest.er1
95741   ac_status=$?
95742   grep -v '^ *+' conftest.er1 >conftest.err
95743   rm -f conftest.er1
95744   cat conftest.err >&5
95745   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95746   (exit $ac_status); } && {
95747          test -z "$ac_c_werror_flag" ||
95748          test ! -s conftest.err
95749        } && test -s conftest$ac_exeext &&
95750        $as_test_x conftest$ac_exeext; then
95751   eval "$as_ac_var=yes"
95752 else
95753   echo "$as_me: failed program was:" >&5
95754 sed 's/^/| /' conftest.$ac_ext >&5
95755
95756         eval "$as_ac_var=no"
95757 fi
95758
95759 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
95760       conftest$ac_exeext conftest.$ac_ext
95761 fi
95762 ac_res=`eval echo '${'$as_ac_var'}'`
95763                { echo "$as_me:$LINENO: result: $ac_res" >&5
95764 echo "${ECHO_T}$ac_res" >&6; }
95765 if test `eval echo '${'$as_ac_var'}'` = yes; then
95766   cat >>confdefs.h <<_ACEOF
95767 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95768 _ACEOF
95769
95770 fi
95771 done
95772
95773     fi
95774   fi
95775
95776
95777
95778
95779
95780
95781   { echo "$as_me:$LINENO: checking for fabsl declaration" >&5
95782 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6; }
95783   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
95784     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
95785   echo $ECHO_N "(cached) $ECHO_C" >&6
95786 else
95787
95788
95789       ac_ext=cpp
95790 ac_cpp='$CXXCPP $CPPFLAGS'
95791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95794
95795       cat >conftest.$ac_ext <<_ACEOF
95796 /* confdefs.h.  */
95797 _ACEOF
95798 cat confdefs.h >>conftest.$ac_ext
95799 cat >>conftest.$ac_ext <<_ACEOF
95800 /* end confdefs.h.  */
95801 #include <math.h>
95802                       #ifdef HAVE_IEEEFP_H
95803                       #include <ieeefp.h>
95804                       #endif
95805
95806 int
95807 main ()
95808 {
95809  fabsl(0);
95810   ;
95811   return 0;
95812 }
95813 _ACEOF
95814 rm -f conftest.$ac_objext
95815 if { (ac_try="$ac_compile"
95816 case "(($ac_try" in
95817   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
95818   *) ac_try_echo=$ac_try;;
95819 esac
95820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
95821   (eval "$ac_compile") 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          test -z "$ac_cxx_werror_flag" ||
95829          test ! -s conftest.err
95830        } && test -s conftest.$ac_objext; then
95831   glibcxx_cv_func_fabsl_use=yes
95832 else
95833   echo "$as_me: failed program was:" >&5
95834 sed 's/^/| /' conftest.$ac_ext >&5
95835
95836         glibcxx_cv_func_fabsl_use=no
95837 fi
95838
95839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
95840       ac_ext=c
95841 ac_cpp='$CPP $CPPFLAGS'
95842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95845
95846
95847 fi
95848
95849   fi
95850   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
95851 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6; }
95852
95853   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
95854
95855 for ac_func in fabsl
95856 do
95857 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95858 { echo "$as_me:$LINENO: checking for $ac_func" >&5
95859 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
95860 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
95861   echo $ECHO_N "(cached) $ECHO_C" >&6
95862 else
95863   if test x$gcc_no_link = xyes; then
95864   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95865 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95866    { (exit 1); exit 1; }; }
95867 fi
95868 cat >conftest.$ac_ext <<_ACEOF
95869 /* confdefs.h.  */
95870 _ACEOF
95871 cat confdefs.h >>conftest.$ac_ext
95872 cat >>conftest.$ac_ext <<_ACEOF
95873 /* end confdefs.h.  */
95874 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95875    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
95876 #define $ac_func innocuous_$ac_func
95877
95878 /* System header to define __stub macros and hopefully few prototypes,
95879     which can conflict with char $ac_func (); below.
95880     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95881     <limits.h> exists even on freestanding compilers.  */
95882
95883 #ifdef __STDC__
95884 # include <limits.h>
95885 #else
95886 # include <assert.h>
95887 #endif
95888
95889 #undef $ac_func
95890
95891 /* Override any GCC internal prototype to avoid an error.
95892    Use char because int might match the return type of a GCC
95893    builtin and then its argument prototype would still apply.  */
95894 #ifdef __cplusplus
95895 extern "C"
95896 #endif
95897 char $ac_func ();
95898 /* The GNU C library defines this for functions which it implements
95899     to always fail with ENOSYS.  Some functions are actually named
95900     something starting with __ and the normal name is an alias.  */
95901 #if defined __stub_$ac_func || defined __stub___$ac_func
95902 choke me
95903 #endif
95904
95905 int
95906 main ()
95907 {
95908 return $ac_func ();
95909   ;
95910   return 0;
95911 }
95912 _ACEOF
95913 rm -f conftest.$ac_objext conftest$ac_exeext
95914 if { (ac_try="$ac_link"
95915 case "(($ac_try" in
95916   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
95917   *) ac_try_echo=$ac_try;;
95918 esac
95919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
95920   (eval "$ac_link") 2>conftest.er1
95921   ac_status=$?
95922   grep -v '^ *+' conftest.er1 >conftest.err
95923   rm -f conftest.er1
95924   cat conftest.err >&5
95925   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95926   (exit $ac_status); } && {
95927          test -z "$ac_c_werror_flag" ||
95928          test ! -s conftest.err
95929        } && test -s conftest$ac_exeext &&
95930        $as_test_x conftest$ac_exeext; then
95931   eval "$as_ac_var=yes"
95932 else
95933   echo "$as_me: failed program was:" >&5
95934 sed 's/^/| /' conftest.$ac_ext >&5
95935
95936         eval "$as_ac_var=no"
95937 fi
95938
95939 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
95940       conftest$ac_exeext conftest.$ac_ext
95941 fi
95942 ac_res=`eval echo '${'$as_ac_var'}'`
95943                { echo "$as_me:$LINENO: result: $ac_res" >&5
95944 echo "${ECHO_T}$ac_res" >&6; }
95945 if test `eval echo '${'$as_ac_var'}'` = yes; then
95946   cat >>confdefs.h <<_ACEOF
95947 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95948 _ACEOF
95949
95950 fi
95951 done
95952
95953   else
95954
95955   { echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
95956 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6; }
95957   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
95958     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
95959   echo $ECHO_N "(cached) $ECHO_C" >&6
95960 else
95961
95962
95963       ac_ext=cpp
95964 ac_cpp='$CXXCPP $CPPFLAGS'
95965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95968
95969       cat >conftest.$ac_ext <<_ACEOF
95970 /* confdefs.h.  */
95971 _ACEOF
95972 cat confdefs.h >>conftest.$ac_ext
95973 cat >>conftest.$ac_ext <<_ACEOF
95974 /* end confdefs.h.  */
95975 #include <math.h>
95976                       #ifdef HAVE_IEEEFP_H
95977                       #include <ieeefp.h>
95978                       #endif
95979
95980 int
95981 main ()
95982 {
95983  _fabsl(0);
95984   ;
95985   return 0;
95986 }
95987 _ACEOF
95988 rm -f conftest.$ac_objext
95989 if { (ac_try="$ac_compile"
95990 case "(($ac_try" in
95991   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
95992   *) ac_try_echo=$ac_try;;
95993 esac
95994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
95995   (eval "$ac_compile") 2>conftest.er1
95996   ac_status=$?
95997   grep -v '^ *+' conftest.er1 >conftest.err
95998   rm -f conftest.er1
95999   cat conftest.err >&5
96000   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96001   (exit $ac_status); } && {
96002          test -z "$ac_cxx_werror_flag" ||
96003          test ! -s conftest.err
96004        } && test -s conftest.$ac_objext; then
96005   glibcxx_cv_func__fabsl_use=yes
96006 else
96007   echo "$as_me: failed program was:" >&5
96008 sed 's/^/| /' conftest.$ac_ext >&5
96009
96010         glibcxx_cv_func__fabsl_use=no
96011 fi
96012
96013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
96014       ac_ext=c
96015 ac_cpp='$CPP $CPPFLAGS'
96016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96019
96020
96021 fi
96022
96023   fi
96024   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
96025 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6; }
96026
96027     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
96028
96029 for ac_func in _fabsl
96030 do
96031 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96032 { echo "$as_me:$LINENO: checking for $ac_func" >&5
96033 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
96034 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
96035   echo $ECHO_N "(cached) $ECHO_C" >&6
96036 else
96037   if test x$gcc_no_link = xyes; then
96038   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96039 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96040    { (exit 1); exit 1; }; }
96041 fi
96042 cat >conftest.$ac_ext <<_ACEOF
96043 /* confdefs.h.  */
96044 _ACEOF
96045 cat confdefs.h >>conftest.$ac_ext
96046 cat >>conftest.$ac_ext <<_ACEOF
96047 /* end confdefs.h.  */
96048 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96049    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
96050 #define $ac_func innocuous_$ac_func
96051
96052 /* System header to define __stub macros and hopefully few prototypes,
96053     which can conflict with char $ac_func (); below.
96054     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96055     <limits.h> exists even on freestanding compilers.  */
96056
96057 #ifdef __STDC__
96058 # include <limits.h>
96059 #else
96060 # include <assert.h>
96061 #endif
96062
96063 #undef $ac_func
96064
96065 /* Override any GCC internal prototype to avoid an error.
96066    Use char because int might match the return type of a GCC
96067    builtin and then its argument prototype would still apply.  */
96068 #ifdef __cplusplus
96069 extern "C"
96070 #endif
96071 char $ac_func ();
96072 /* The GNU C library defines this for functions which it implements
96073     to always fail with ENOSYS.  Some functions are actually named
96074     something starting with __ and the normal name is an alias.  */
96075 #if defined __stub_$ac_func || defined __stub___$ac_func
96076 choke me
96077 #endif
96078
96079 int
96080 main ()
96081 {
96082 return $ac_func ();
96083   ;
96084   return 0;
96085 }
96086 _ACEOF
96087 rm -f conftest.$ac_objext conftest$ac_exeext
96088 if { (ac_try="$ac_link"
96089 case "(($ac_try" in
96090   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
96091   *) ac_try_echo=$ac_try;;
96092 esac
96093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
96094   (eval "$ac_link") 2>conftest.er1
96095   ac_status=$?
96096   grep -v '^ *+' conftest.er1 >conftest.err
96097   rm -f conftest.er1
96098   cat conftest.err >&5
96099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96100   (exit $ac_status); } && {
96101          test -z "$ac_c_werror_flag" ||
96102          test ! -s conftest.err
96103        } && test -s conftest$ac_exeext &&
96104        $as_test_x conftest$ac_exeext; then
96105   eval "$as_ac_var=yes"
96106 else
96107   echo "$as_me: failed program was:" >&5
96108 sed 's/^/| /' conftest.$ac_ext >&5
96109
96110         eval "$as_ac_var=no"
96111 fi
96112
96113 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
96114       conftest$ac_exeext conftest.$ac_ext
96115 fi
96116 ac_res=`eval echo '${'$as_ac_var'}'`
96117                { echo "$as_me:$LINENO: result: $ac_res" >&5
96118 echo "${ECHO_T}$ac_res" >&6; }
96119 if test `eval echo '${'$as_ac_var'}'` = yes; then
96120   cat >>confdefs.h <<_ACEOF
96121 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96122 _ACEOF
96123
96124 fi
96125 done
96126
96127     fi
96128   fi
96129
96130
96131
96132
96133
96134
96135   { echo "$as_me:$LINENO: checking for fmodl declaration" >&5
96136 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6; }
96137   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
96138     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
96139   echo $ECHO_N "(cached) $ECHO_C" >&6
96140 else
96141
96142
96143       ac_ext=cpp
96144 ac_cpp='$CXXCPP $CPPFLAGS'
96145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96148
96149       cat >conftest.$ac_ext <<_ACEOF
96150 /* confdefs.h.  */
96151 _ACEOF
96152 cat confdefs.h >>conftest.$ac_ext
96153 cat >>conftest.$ac_ext <<_ACEOF
96154 /* end confdefs.h.  */
96155 #include <math.h>
96156 int
96157 main ()
96158 {
96159  fmodl(0, 0);
96160   ;
96161   return 0;
96162 }
96163 _ACEOF
96164 rm -f conftest.$ac_objext
96165 if { (ac_try="$ac_compile"
96166 case "(($ac_try" in
96167   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
96168   *) ac_try_echo=$ac_try;;
96169 esac
96170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
96171   (eval "$ac_compile") 2>conftest.er1
96172   ac_status=$?
96173   grep -v '^ *+' conftest.er1 >conftest.err
96174   rm -f conftest.er1
96175   cat conftest.err >&5
96176   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96177   (exit $ac_status); } && {
96178          test -z "$ac_cxx_werror_flag" ||
96179          test ! -s conftest.err
96180        } && test -s conftest.$ac_objext; then
96181   glibcxx_cv_func_fmodl_use=yes
96182 else
96183   echo "$as_me: failed program was:" >&5
96184 sed 's/^/| /' conftest.$ac_ext >&5
96185
96186         glibcxx_cv_func_fmodl_use=no
96187 fi
96188
96189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
96190       ac_ext=c
96191 ac_cpp='$CPP $CPPFLAGS'
96192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96195
96196
96197 fi
96198
96199   fi
96200   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
96201 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6; }
96202
96203   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
96204
96205 for ac_func in fmodl
96206 do
96207 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96208 { echo "$as_me:$LINENO: checking for $ac_func" >&5
96209 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
96210 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
96211   echo $ECHO_N "(cached) $ECHO_C" >&6
96212 else
96213   if test x$gcc_no_link = xyes; then
96214   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96215 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96216    { (exit 1); exit 1; }; }
96217 fi
96218 cat >conftest.$ac_ext <<_ACEOF
96219 /* confdefs.h.  */
96220 _ACEOF
96221 cat confdefs.h >>conftest.$ac_ext
96222 cat >>conftest.$ac_ext <<_ACEOF
96223 /* end confdefs.h.  */
96224 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96225    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
96226 #define $ac_func innocuous_$ac_func
96227
96228 /* System header to define __stub macros and hopefully few prototypes,
96229     which can conflict with char $ac_func (); below.
96230     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96231     <limits.h> exists even on freestanding compilers.  */
96232
96233 #ifdef __STDC__
96234 # include <limits.h>
96235 #else
96236 # include <assert.h>
96237 #endif
96238
96239 #undef $ac_func
96240
96241 /* Override any GCC internal prototype to avoid an error.
96242    Use char because int might match the return type of a GCC
96243    builtin and then its argument prototype would still apply.  */
96244 #ifdef __cplusplus
96245 extern "C"
96246 #endif
96247 char $ac_func ();
96248 /* The GNU C library defines this for functions which it implements
96249     to always fail with ENOSYS.  Some functions are actually named
96250     something starting with __ and the normal name is an alias.  */
96251 #if defined __stub_$ac_func || defined __stub___$ac_func
96252 choke me
96253 #endif
96254
96255 int
96256 main ()
96257 {
96258 return $ac_func ();
96259   ;
96260   return 0;
96261 }
96262 _ACEOF
96263 rm -f conftest.$ac_objext conftest$ac_exeext
96264 if { (ac_try="$ac_link"
96265 case "(($ac_try" in
96266   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
96267   *) ac_try_echo=$ac_try;;
96268 esac
96269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
96270   (eval "$ac_link") 2>conftest.er1
96271   ac_status=$?
96272   grep -v '^ *+' conftest.er1 >conftest.err
96273   rm -f conftest.er1
96274   cat conftest.err >&5
96275   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96276   (exit $ac_status); } && {
96277          test -z "$ac_c_werror_flag" ||
96278          test ! -s conftest.err
96279        } && test -s conftest$ac_exeext &&
96280        $as_test_x conftest$ac_exeext; then
96281   eval "$as_ac_var=yes"
96282 else
96283   echo "$as_me: failed program was:" >&5
96284 sed 's/^/| /' conftest.$ac_ext >&5
96285
96286         eval "$as_ac_var=no"
96287 fi
96288
96289 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
96290       conftest$ac_exeext conftest.$ac_ext
96291 fi
96292 ac_res=`eval echo '${'$as_ac_var'}'`
96293                { echo "$as_me:$LINENO: result: $ac_res" >&5
96294 echo "${ECHO_T}$ac_res" >&6; }
96295 if test `eval echo '${'$as_ac_var'}'` = yes; then
96296   cat >>confdefs.h <<_ACEOF
96297 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96298 _ACEOF
96299
96300 fi
96301 done
96302
96303   else
96304
96305   { echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
96306 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6; }
96307   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
96308     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
96309   echo $ECHO_N "(cached) $ECHO_C" >&6
96310 else
96311
96312
96313       ac_ext=cpp
96314 ac_cpp='$CXXCPP $CPPFLAGS'
96315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96318
96319       cat >conftest.$ac_ext <<_ACEOF
96320 /* confdefs.h.  */
96321 _ACEOF
96322 cat confdefs.h >>conftest.$ac_ext
96323 cat >>conftest.$ac_ext <<_ACEOF
96324 /* end confdefs.h.  */
96325 #include <math.h>
96326 int
96327 main ()
96328 {
96329  _fmodl(0, 0);
96330   ;
96331   return 0;
96332 }
96333 _ACEOF
96334 rm -f conftest.$ac_objext
96335 if { (ac_try="$ac_compile"
96336 case "(($ac_try" in
96337   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
96338   *) ac_try_echo=$ac_try;;
96339 esac
96340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
96341   (eval "$ac_compile") 2>conftest.er1
96342   ac_status=$?
96343   grep -v '^ *+' conftest.er1 >conftest.err
96344   rm -f conftest.er1
96345   cat conftest.err >&5
96346   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96347   (exit $ac_status); } && {
96348          test -z "$ac_cxx_werror_flag" ||
96349          test ! -s conftest.err
96350        } && test -s conftest.$ac_objext; then
96351   glibcxx_cv_func__fmodl_use=yes
96352 else
96353   echo "$as_me: failed program was:" >&5
96354 sed 's/^/| /' conftest.$ac_ext >&5
96355
96356         glibcxx_cv_func__fmodl_use=no
96357 fi
96358
96359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
96360       ac_ext=c
96361 ac_cpp='$CPP $CPPFLAGS'
96362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96365
96366
96367 fi
96368
96369   fi
96370   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
96371 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6; }
96372
96373     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
96374
96375 for ac_func in _fmodl
96376 do
96377 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96378 { echo "$as_me:$LINENO: checking for $ac_func" >&5
96379 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
96380 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
96381   echo $ECHO_N "(cached) $ECHO_C" >&6
96382 else
96383   if test x$gcc_no_link = xyes; then
96384   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96385 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96386    { (exit 1); exit 1; }; }
96387 fi
96388 cat >conftest.$ac_ext <<_ACEOF
96389 /* confdefs.h.  */
96390 _ACEOF
96391 cat confdefs.h >>conftest.$ac_ext
96392 cat >>conftest.$ac_ext <<_ACEOF
96393 /* end confdefs.h.  */
96394 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96395    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
96396 #define $ac_func innocuous_$ac_func
96397
96398 /* System header to define __stub macros and hopefully few prototypes,
96399     which can conflict with char $ac_func (); below.
96400     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96401     <limits.h> exists even on freestanding compilers.  */
96402
96403 #ifdef __STDC__
96404 # include <limits.h>
96405 #else
96406 # include <assert.h>
96407 #endif
96408
96409 #undef $ac_func
96410
96411 /* Override any GCC internal prototype to avoid an error.
96412    Use char because int might match the return type of a GCC
96413    builtin and then its argument prototype would still apply.  */
96414 #ifdef __cplusplus
96415 extern "C"
96416 #endif
96417 char $ac_func ();
96418 /* The GNU C library defines this for functions which it implements
96419     to always fail with ENOSYS.  Some functions are actually named
96420     something starting with __ and the normal name is an alias.  */
96421 #if defined __stub_$ac_func || defined __stub___$ac_func
96422 choke me
96423 #endif
96424
96425 int
96426 main ()
96427 {
96428 return $ac_func ();
96429   ;
96430   return 0;
96431 }
96432 _ACEOF
96433 rm -f conftest.$ac_objext conftest$ac_exeext
96434 if { (ac_try="$ac_link"
96435 case "(($ac_try" in
96436   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
96437   *) ac_try_echo=$ac_try;;
96438 esac
96439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
96440   (eval "$ac_link") 2>conftest.er1
96441   ac_status=$?
96442   grep -v '^ *+' conftest.er1 >conftest.err
96443   rm -f conftest.er1
96444   cat conftest.err >&5
96445   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96446   (exit $ac_status); } && {
96447          test -z "$ac_c_werror_flag" ||
96448          test ! -s conftest.err
96449        } && test -s conftest$ac_exeext &&
96450        $as_test_x conftest$ac_exeext; then
96451   eval "$as_ac_var=yes"
96452 else
96453   echo "$as_me: failed program was:" >&5
96454 sed 's/^/| /' conftest.$ac_ext >&5
96455
96456         eval "$as_ac_var=no"
96457 fi
96458
96459 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
96460       conftest$ac_exeext conftest.$ac_ext
96461 fi
96462 ac_res=`eval echo '${'$as_ac_var'}'`
96463                { echo "$as_me:$LINENO: result: $ac_res" >&5
96464 echo "${ECHO_T}$ac_res" >&6; }
96465 if test `eval echo '${'$as_ac_var'}'` = yes; then
96466   cat >>confdefs.h <<_ACEOF
96467 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96468 _ACEOF
96469
96470 fi
96471 done
96472
96473     fi
96474   fi
96475
96476
96477
96478
96479
96480
96481   { echo "$as_me:$LINENO: checking for frexpl declaration" >&5
96482 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6; }
96483   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
96484     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
96485   echo $ECHO_N "(cached) $ECHO_C" >&6
96486 else
96487
96488
96489       ac_ext=cpp
96490 ac_cpp='$CXXCPP $CPPFLAGS'
96491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96494
96495       cat >conftest.$ac_ext <<_ACEOF
96496 /* confdefs.h.  */
96497 _ACEOF
96498 cat confdefs.h >>conftest.$ac_ext
96499 cat >>conftest.$ac_ext <<_ACEOF
96500 /* end confdefs.h.  */
96501 #include <math.h>
96502 int
96503 main ()
96504 {
96505  frexpl(0, 0);
96506   ;
96507   return 0;
96508 }
96509 _ACEOF
96510 rm -f conftest.$ac_objext
96511 if { (ac_try="$ac_compile"
96512 case "(($ac_try" in
96513   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
96514   *) ac_try_echo=$ac_try;;
96515 esac
96516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
96517   (eval "$ac_compile") 2>conftest.er1
96518   ac_status=$?
96519   grep -v '^ *+' conftest.er1 >conftest.err
96520   rm -f conftest.er1
96521   cat conftest.err >&5
96522   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96523   (exit $ac_status); } && {
96524          test -z "$ac_cxx_werror_flag" ||
96525          test ! -s conftest.err
96526        } && test -s conftest.$ac_objext; then
96527   glibcxx_cv_func_frexpl_use=yes
96528 else
96529   echo "$as_me: failed program was:" >&5
96530 sed 's/^/| /' conftest.$ac_ext >&5
96531
96532         glibcxx_cv_func_frexpl_use=no
96533 fi
96534
96535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
96536       ac_ext=c
96537 ac_cpp='$CPP $CPPFLAGS'
96538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96541
96542
96543 fi
96544
96545   fi
96546   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
96547 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6; }
96548
96549   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
96550
96551 for ac_func in frexpl
96552 do
96553 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96554 { echo "$as_me:$LINENO: checking for $ac_func" >&5
96555 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
96556 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
96557   echo $ECHO_N "(cached) $ECHO_C" >&6
96558 else
96559   if test x$gcc_no_link = xyes; then
96560   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96561 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96562    { (exit 1); exit 1; }; }
96563 fi
96564 cat >conftest.$ac_ext <<_ACEOF
96565 /* confdefs.h.  */
96566 _ACEOF
96567 cat confdefs.h >>conftest.$ac_ext
96568 cat >>conftest.$ac_ext <<_ACEOF
96569 /* end confdefs.h.  */
96570 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96571    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
96572 #define $ac_func innocuous_$ac_func
96573
96574 /* System header to define __stub macros and hopefully few prototypes,
96575     which can conflict with char $ac_func (); below.
96576     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96577     <limits.h> exists even on freestanding compilers.  */
96578
96579 #ifdef __STDC__
96580 # include <limits.h>
96581 #else
96582 # include <assert.h>
96583 #endif
96584
96585 #undef $ac_func
96586
96587 /* Override any GCC internal prototype to avoid an error.
96588    Use char because int might match the return type of a GCC
96589    builtin and then its argument prototype would still apply.  */
96590 #ifdef __cplusplus
96591 extern "C"
96592 #endif
96593 char $ac_func ();
96594 /* The GNU C library defines this for functions which it implements
96595     to always fail with ENOSYS.  Some functions are actually named
96596     something starting with __ and the normal name is an alias.  */
96597 #if defined __stub_$ac_func || defined __stub___$ac_func
96598 choke me
96599 #endif
96600
96601 int
96602 main ()
96603 {
96604 return $ac_func ();
96605   ;
96606   return 0;
96607 }
96608 _ACEOF
96609 rm -f conftest.$ac_objext conftest$ac_exeext
96610 if { (ac_try="$ac_link"
96611 case "(($ac_try" in
96612   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
96613   *) ac_try_echo=$ac_try;;
96614 esac
96615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
96616   (eval "$ac_link") 2>conftest.er1
96617   ac_status=$?
96618   grep -v '^ *+' conftest.er1 >conftest.err
96619   rm -f conftest.er1
96620   cat conftest.err >&5
96621   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96622   (exit $ac_status); } && {
96623          test -z "$ac_c_werror_flag" ||
96624          test ! -s conftest.err
96625        } && test -s conftest$ac_exeext &&
96626        $as_test_x conftest$ac_exeext; then
96627   eval "$as_ac_var=yes"
96628 else
96629   echo "$as_me: failed program was:" >&5
96630 sed 's/^/| /' conftest.$ac_ext >&5
96631
96632         eval "$as_ac_var=no"
96633 fi
96634
96635 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
96636       conftest$ac_exeext conftest.$ac_ext
96637 fi
96638 ac_res=`eval echo '${'$as_ac_var'}'`
96639                { echo "$as_me:$LINENO: result: $ac_res" >&5
96640 echo "${ECHO_T}$ac_res" >&6; }
96641 if test `eval echo '${'$as_ac_var'}'` = yes; then
96642   cat >>confdefs.h <<_ACEOF
96643 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96644 _ACEOF
96645
96646 fi
96647 done
96648
96649   else
96650
96651   { echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
96652 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6; }
96653   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
96654     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
96655   echo $ECHO_N "(cached) $ECHO_C" >&6
96656 else
96657
96658
96659       ac_ext=cpp
96660 ac_cpp='$CXXCPP $CPPFLAGS'
96661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96664
96665       cat >conftest.$ac_ext <<_ACEOF
96666 /* confdefs.h.  */
96667 _ACEOF
96668 cat confdefs.h >>conftest.$ac_ext
96669 cat >>conftest.$ac_ext <<_ACEOF
96670 /* end confdefs.h.  */
96671 #include <math.h>
96672 int
96673 main ()
96674 {
96675  _frexpl(0, 0);
96676   ;
96677   return 0;
96678 }
96679 _ACEOF
96680 rm -f conftest.$ac_objext
96681 if { (ac_try="$ac_compile"
96682 case "(($ac_try" in
96683   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
96684   *) ac_try_echo=$ac_try;;
96685 esac
96686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
96687   (eval "$ac_compile") 2>conftest.er1
96688   ac_status=$?
96689   grep -v '^ *+' conftest.er1 >conftest.err
96690   rm -f conftest.er1
96691   cat conftest.err >&5
96692   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96693   (exit $ac_status); } && {
96694          test -z "$ac_cxx_werror_flag" ||
96695          test ! -s conftest.err
96696        } && test -s conftest.$ac_objext; then
96697   glibcxx_cv_func__frexpl_use=yes
96698 else
96699   echo "$as_me: failed program was:" >&5
96700 sed 's/^/| /' conftest.$ac_ext >&5
96701
96702         glibcxx_cv_func__frexpl_use=no
96703 fi
96704
96705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
96706       ac_ext=c
96707 ac_cpp='$CPP $CPPFLAGS'
96708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96711
96712
96713 fi
96714
96715   fi
96716   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
96717 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6; }
96718
96719     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
96720
96721 for ac_func in _frexpl
96722 do
96723 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96724 { echo "$as_me:$LINENO: checking for $ac_func" >&5
96725 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
96726 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
96727   echo $ECHO_N "(cached) $ECHO_C" >&6
96728 else
96729   if test x$gcc_no_link = xyes; then
96730   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96731 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96732    { (exit 1); exit 1; }; }
96733 fi
96734 cat >conftest.$ac_ext <<_ACEOF
96735 /* confdefs.h.  */
96736 _ACEOF
96737 cat confdefs.h >>conftest.$ac_ext
96738 cat >>conftest.$ac_ext <<_ACEOF
96739 /* end confdefs.h.  */
96740 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96741    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
96742 #define $ac_func innocuous_$ac_func
96743
96744 /* System header to define __stub macros and hopefully few prototypes,
96745     which can conflict with char $ac_func (); below.
96746     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96747     <limits.h> exists even on freestanding compilers.  */
96748
96749 #ifdef __STDC__
96750 # include <limits.h>
96751 #else
96752 # include <assert.h>
96753 #endif
96754
96755 #undef $ac_func
96756
96757 /* Override any GCC internal prototype to avoid an error.
96758    Use char because int might match the return type of a GCC
96759    builtin and then its argument prototype would still apply.  */
96760 #ifdef __cplusplus
96761 extern "C"
96762 #endif
96763 char $ac_func ();
96764 /* The GNU C library defines this for functions which it implements
96765     to always fail with ENOSYS.  Some functions are actually named
96766     something starting with __ and the normal name is an alias.  */
96767 #if defined __stub_$ac_func || defined __stub___$ac_func
96768 choke me
96769 #endif
96770
96771 int
96772 main ()
96773 {
96774 return $ac_func ();
96775   ;
96776   return 0;
96777 }
96778 _ACEOF
96779 rm -f conftest.$ac_objext conftest$ac_exeext
96780 if { (ac_try="$ac_link"
96781 case "(($ac_try" in
96782   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
96783   *) ac_try_echo=$ac_try;;
96784 esac
96785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
96786   (eval "$ac_link") 2>conftest.er1
96787   ac_status=$?
96788   grep -v '^ *+' conftest.er1 >conftest.err
96789   rm -f conftest.er1
96790   cat conftest.err >&5
96791   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96792   (exit $ac_status); } && {
96793          test -z "$ac_c_werror_flag" ||
96794          test ! -s conftest.err
96795        } && test -s conftest$ac_exeext &&
96796        $as_test_x conftest$ac_exeext; then
96797   eval "$as_ac_var=yes"
96798 else
96799   echo "$as_me: failed program was:" >&5
96800 sed 's/^/| /' conftest.$ac_ext >&5
96801
96802         eval "$as_ac_var=no"
96803 fi
96804
96805 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
96806       conftest$ac_exeext conftest.$ac_ext
96807 fi
96808 ac_res=`eval echo '${'$as_ac_var'}'`
96809                { echo "$as_me:$LINENO: result: $ac_res" >&5
96810 echo "${ECHO_T}$ac_res" >&6; }
96811 if test `eval echo '${'$as_ac_var'}'` = yes; then
96812   cat >>confdefs.h <<_ACEOF
96813 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96814 _ACEOF
96815
96816 fi
96817 done
96818
96819     fi
96820   fi
96821
96822
96823
96824
96825
96826
96827   { echo "$as_me:$LINENO: checking for hypotl declaration" >&5
96828 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6; }
96829   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
96830     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
96831   echo $ECHO_N "(cached) $ECHO_C" >&6
96832 else
96833
96834
96835       ac_ext=cpp
96836 ac_cpp='$CXXCPP $CPPFLAGS'
96837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96840
96841       cat >conftest.$ac_ext <<_ACEOF
96842 /* confdefs.h.  */
96843 _ACEOF
96844 cat confdefs.h >>conftest.$ac_ext
96845 cat >>conftest.$ac_ext <<_ACEOF
96846 /* end confdefs.h.  */
96847 #include <math.h>
96848 int
96849 main ()
96850 {
96851  hypotl(0, 0);
96852   ;
96853   return 0;
96854 }
96855 _ACEOF
96856 rm -f conftest.$ac_objext
96857 if { (ac_try="$ac_compile"
96858 case "(($ac_try" in
96859   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
96860   *) ac_try_echo=$ac_try;;
96861 esac
96862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
96863   (eval "$ac_compile") 2>conftest.er1
96864   ac_status=$?
96865   grep -v '^ *+' conftest.er1 >conftest.err
96866   rm -f conftest.er1
96867   cat conftest.err >&5
96868   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96869   (exit $ac_status); } && {
96870          test -z "$ac_cxx_werror_flag" ||
96871          test ! -s conftest.err
96872        } && test -s conftest.$ac_objext; then
96873   glibcxx_cv_func_hypotl_use=yes
96874 else
96875   echo "$as_me: failed program was:" >&5
96876 sed 's/^/| /' conftest.$ac_ext >&5
96877
96878         glibcxx_cv_func_hypotl_use=no
96879 fi
96880
96881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
96882       ac_ext=c
96883 ac_cpp='$CPP $CPPFLAGS'
96884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96887
96888
96889 fi
96890
96891   fi
96892   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
96893 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6; }
96894
96895   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
96896
96897 for ac_func in hypotl
96898 do
96899 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96900 { echo "$as_me:$LINENO: checking for $ac_func" >&5
96901 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
96902 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
96903   echo $ECHO_N "(cached) $ECHO_C" >&6
96904 else
96905   if test x$gcc_no_link = xyes; then
96906   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96907 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96908    { (exit 1); exit 1; }; }
96909 fi
96910 cat >conftest.$ac_ext <<_ACEOF
96911 /* confdefs.h.  */
96912 _ACEOF
96913 cat confdefs.h >>conftest.$ac_ext
96914 cat >>conftest.$ac_ext <<_ACEOF
96915 /* end confdefs.h.  */
96916 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96917    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
96918 #define $ac_func innocuous_$ac_func
96919
96920 /* System header to define __stub macros and hopefully few prototypes,
96921     which can conflict with char $ac_func (); below.
96922     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96923     <limits.h> exists even on freestanding compilers.  */
96924
96925 #ifdef __STDC__
96926 # include <limits.h>
96927 #else
96928 # include <assert.h>
96929 #endif
96930
96931 #undef $ac_func
96932
96933 /* Override any GCC internal prototype to avoid an error.
96934    Use char because int might match the return type of a GCC
96935    builtin and then its argument prototype would still apply.  */
96936 #ifdef __cplusplus
96937 extern "C"
96938 #endif
96939 char $ac_func ();
96940 /* The GNU C library defines this for functions which it implements
96941     to always fail with ENOSYS.  Some functions are actually named
96942     something starting with __ and the normal name is an alias.  */
96943 #if defined __stub_$ac_func || defined __stub___$ac_func
96944 choke me
96945 #endif
96946
96947 int
96948 main ()
96949 {
96950 return $ac_func ();
96951   ;
96952   return 0;
96953 }
96954 _ACEOF
96955 rm -f conftest.$ac_objext conftest$ac_exeext
96956 if { (ac_try="$ac_link"
96957 case "(($ac_try" in
96958   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
96959   *) ac_try_echo=$ac_try;;
96960 esac
96961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
96962   (eval "$ac_link") 2>conftest.er1
96963   ac_status=$?
96964   grep -v '^ *+' conftest.er1 >conftest.err
96965   rm -f conftest.er1
96966   cat conftest.err >&5
96967   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96968   (exit $ac_status); } && {
96969          test -z "$ac_c_werror_flag" ||
96970          test ! -s conftest.err
96971        } && test -s conftest$ac_exeext &&
96972        $as_test_x conftest$ac_exeext; then
96973   eval "$as_ac_var=yes"
96974 else
96975   echo "$as_me: failed program was:" >&5
96976 sed 's/^/| /' conftest.$ac_ext >&5
96977
96978         eval "$as_ac_var=no"
96979 fi
96980
96981 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
96982       conftest$ac_exeext conftest.$ac_ext
96983 fi
96984 ac_res=`eval echo '${'$as_ac_var'}'`
96985                { echo "$as_me:$LINENO: result: $ac_res" >&5
96986 echo "${ECHO_T}$ac_res" >&6; }
96987 if test `eval echo '${'$as_ac_var'}'` = yes; then
96988   cat >>confdefs.h <<_ACEOF
96989 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96990 _ACEOF
96991
96992 fi
96993 done
96994
96995   else
96996
96997   { echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
96998 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6; }
96999   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
97000     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
97001   echo $ECHO_N "(cached) $ECHO_C" >&6
97002 else
97003
97004
97005       ac_ext=cpp
97006 ac_cpp='$CXXCPP $CPPFLAGS'
97007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97010
97011       cat >conftest.$ac_ext <<_ACEOF
97012 /* confdefs.h.  */
97013 _ACEOF
97014 cat confdefs.h >>conftest.$ac_ext
97015 cat >>conftest.$ac_ext <<_ACEOF
97016 /* end confdefs.h.  */
97017 #include <math.h>
97018 int
97019 main ()
97020 {
97021  _hypotl(0, 0);
97022   ;
97023   return 0;
97024 }
97025 _ACEOF
97026 rm -f conftest.$ac_objext
97027 if { (ac_try="$ac_compile"
97028 case "(($ac_try" in
97029   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
97030   *) ac_try_echo=$ac_try;;
97031 esac
97032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
97033   (eval "$ac_compile") 2>conftest.er1
97034   ac_status=$?
97035   grep -v '^ *+' conftest.er1 >conftest.err
97036   rm -f conftest.er1
97037   cat conftest.err >&5
97038   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97039   (exit $ac_status); } && {
97040          test -z "$ac_cxx_werror_flag" ||
97041          test ! -s conftest.err
97042        } && test -s conftest.$ac_objext; then
97043   glibcxx_cv_func__hypotl_use=yes
97044 else
97045   echo "$as_me: failed program was:" >&5
97046 sed 's/^/| /' conftest.$ac_ext >&5
97047
97048         glibcxx_cv_func__hypotl_use=no
97049 fi
97050
97051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
97052       ac_ext=c
97053 ac_cpp='$CPP $CPPFLAGS'
97054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97057
97058
97059 fi
97060
97061   fi
97062   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
97063 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6; }
97064
97065     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
97066
97067 for ac_func in _hypotl
97068 do
97069 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97070 { echo "$as_me:$LINENO: checking for $ac_func" >&5
97071 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
97072 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
97073   echo $ECHO_N "(cached) $ECHO_C" >&6
97074 else
97075   if test x$gcc_no_link = xyes; then
97076   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97077 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97078    { (exit 1); exit 1; }; }
97079 fi
97080 cat >conftest.$ac_ext <<_ACEOF
97081 /* confdefs.h.  */
97082 _ACEOF
97083 cat confdefs.h >>conftest.$ac_ext
97084 cat >>conftest.$ac_ext <<_ACEOF
97085 /* end confdefs.h.  */
97086 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97087    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
97088 #define $ac_func innocuous_$ac_func
97089
97090 /* System header to define __stub macros and hopefully few prototypes,
97091     which can conflict with char $ac_func (); below.
97092     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97093     <limits.h> exists even on freestanding compilers.  */
97094
97095 #ifdef __STDC__
97096 # include <limits.h>
97097 #else
97098 # include <assert.h>
97099 #endif
97100
97101 #undef $ac_func
97102
97103 /* Override any GCC internal prototype to avoid an error.
97104    Use char because int might match the return type of a GCC
97105    builtin and then its argument prototype would still apply.  */
97106 #ifdef __cplusplus
97107 extern "C"
97108 #endif
97109 char $ac_func ();
97110 /* The GNU C library defines this for functions which it implements
97111     to always fail with ENOSYS.  Some functions are actually named
97112     something starting with __ and the normal name is an alias.  */
97113 #if defined __stub_$ac_func || defined __stub___$ac_func
97114 choke me
97115 #endif
97116
97117 int
97118 main ()
97119 {
97120 return $ac_func ();
97121   ;
97122   return 0;
97123 }
97124 _ACEOF
97125 rm -f conftest.$ac_objext conftest$ac_exeext
97126 if { (ac_try="$ac_link"
97127 case "(($ac_try" in
97128   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
97129   *) ac_try_echo=$ac_try;;
97130 esac
97131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
97132   (eval "$ac_link") 2>conftest.er1
97133   ac_status=$?
97134   grep -v '^ *+' conftest.er1 >conftest.err
97135   rm -f conftest.er1
97136   cat conftest.err >&5
97137   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97138   (exit $ac_status); } && {
97139          test -z "$ac_c_werror_flag" ||
97140          test ! -s conftest.err
97141        } && test -s conftest$ac_exeext &&
97142        $as_test_x conftest$ac_exeext; then
97143   eval "$as_ac_var=yes"
97144 else
97145   echo "$as_me: failed program was:" >&5
97146 sed 's/^/| /' conftest.$ac_ext >&5
97147
97148         eval "$as_ac_var=no"
97149 fi
97150
97151 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
97152       conftest$ac_exeext conftest.$ac_ext
97153 fi
97154 ac_res=`eval echo '${'$as_ac_var'}'`
97155                { echo "$as_me:$LINENO: result: $ac_res" >&5
97156 echo "${ECHO_T}$ac_res" >&6; }
97157 if test `eval echo '${'$as_ac_var'}'` = yes; then
97158   cat >>confdefs.h <<_ACEOF
97159 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97160 _ACEOF
97161
97162 fi
97163 done
97164
97165     fi
97166   fi
97167
97168
97169
97170
97171
97172
97173   { echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
97174 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6; }
97175   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
97176     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
97177   echo $ECHO_N "(cached) $ECHO_C" >&6
97178 else
97179
97180
97181       ac_ext=cpp
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 int
97195 main ()
97196 {
97197  ldexpl(0, 0);
97198   ;
97199   return 0;
97200 }
97201 _ACEOF
97202 rm -f conftest.$ac_objext
97203 if { (ac_try="$ac_compile"
97204 case "(($ac_try" in
97205   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
97206   *) ac_try_echo=$ac_try;;
97207 esac
97208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
97209   (eval "$ac_compile") 2>conftest.er1
97210   ac_status=$?
97211   grep -v '^ *+' conftest.er1 >conftest.err
97212   rm -f conftest.er1
97213   cat conftest.err >&5
97214   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97215   (exit $ac_status); } && {
97216          test -z "$ac_cxx_werror_flag" ||
97217          test ! -s conftest.err
97218        } && test -s conftest.$ac_objext; then
97219   glibcxx_cv_func_ldexpl_use=yes
97220 else
97221   echo "$as_me: failed program was:" >&5
97222 sed 's/^/| /' conftest.$ac_ext >&5
97223
97224         glibcxx_cv_func_ldexpl_use=no
97225 fi
97226
97227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
97228       ac_ext=c
97229 ac_cpp='$CPP $CPPFLAGS'
97230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97233
97234
97235 fi
97236
97237   fi
97238   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
97239 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6; }
97240
97241   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
97242
97243 for ac_func in ldexpl
97244 do
97245 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97246 { echo "$as_me:$LINENO: checking for $ac_func" >&5
97247 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
97248 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
97249   echo $ECHO_N "(cached) $ECHO_C" >&6
97250 else
97251   if test x$gcc_no_link = xyes; then
97252   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97253 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97254    { (exit 1); exit 1; }; }
97255 fi
97256 cat >conftest.$ac_ext <<_ACEOF
97257 /* confdefs.h.  */
97258 _ACEOF
97259 cat confdefs.h >>conftest.$ac_ext
97260 cat >>conftest.$ac_ext <<_ACEOF
97261 /* end confdefs.h.  */
97262 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97263    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
97264 #define $ac_func innocuous_$ac_func
97265
97266 /* System header to define __stub macros and hopefully few prototypes,
97267     which can conflict with char $ac_func (); below.
97268     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97269     <limits.h> exists even on freestanding compilers.  */
97270
97271 #ifdef __STDC__
97272 # include <limits.h>
97273 #else
97274 # include <assert.h>
97275 #endif
97276
97277 #undef $ac_func
97278
97279 /* Override any GCC internal prototype to avoid an error.
97280    Use char because int might match the return type of a GCC
97281    builtin and then its argument prototype would still apply.  */
97282 #ifdef __cplusplus
97283 extern "C"
97284 #endif
97285 char $ac_func ();
97286 /* The GNU C library defines this for functions which it implements
97287     to always fail with ENOSYS.  Some functions are actually named
97288     something starting with __ and the normal name is an alias.  */
97289 #if defined __stub_$ac_func || defined __stub___$ac_func
97290 choke me
97291 #endif
97292
97293 int
97294 main ()
97295 {
97296 return $ac_func ();
97297   ;
97298   return 0;
97299 }
97300 _ACEOF
97301 rm -f conftest.$ac_objext conftest$ac_exeext
97302 if { (ac_try="$ac_link"
97303 case "(($ac_try" in
97304   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
97305   *) ac_try_echo=$ac_try;;
97306 esac
97307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
97308   (eval "$ac_link") 2>conftest.er1
97309   ac_status=$?
97310   grep -v '^ *+' conftest.er1 >conftest.err
97311   rm -f conftest.er1
97312   cat conftest.err >&5
97313   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97314   (exit $ac_status); } && {
97315          test -z "$ac_c_werror_flag" ||
97316          test ! -s conftest.err
97317        } && test -s conftest$ac_exeext &&
97318        $as_test_x conftest$ac_exeext; then
97319   eval "$as_ac_var=yes"
97320 else
97321   echo "$as_me: failed program was:" >&5
97322 sed 's/^/| /' conftest.$ac_ext >&5
97323
97324         eval "$as_ac_var=no"
97325 fi
97326
97327 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
97328       conftest$ac_exeext conftest.$ac_ext
97329 fi
97330 ac_res=`eval echo '${'$as_ac_var'}'`
97331                { echo "$as_me:$LINENO: result: $ac_res" >&5
97332 echo "${ECHO_T}$ac_res" >&6; }
97333 if test `eval echo '${'$as_ac_var'}'` = yes; then
97334   cat >>confdefs.h <<_ACEOF
97335 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97336 _ACEOF
97337
97338 fi
97339 done
97340
97341   else
97342
97343   { echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
97344 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6; }
97345   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
97346     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
97347   echo $ECHO_N "(cached) $ECHO_C" >&6
97348 else
97349
97350
97351       ac_ext=cpp
97352 ac_cpp='$CXXCPP $CPPFLAGS'
97353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97356
97357       cat >conftest.$ac_ext <<_ACEOF
97358 /* confdefs.h.  */
97359 _ACEOF
97360 cat confdefs.h >>conftest.$ac_ext
97361 cat >>conftest.$ac_ext <<_ACEOF
97362 /* end confdefs.h.  */
97363 #include <math.h>
97364 int
97365 main ()
97366 {
97367  _ldexpl(0, 0);
97368   ;
97369   return 0;
97370 }
97371 _ACEOF
97372 rm -f conftest.$ac_objext
97373 if { (ac_try="$ac_compile"
97374 case "(($ac_try" in
97375   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
97376   *) ac_try_echo=$ac_try;;
97377 esac
97378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
97379   (eval "$ac_compile") 2>conftest.er1
97380   ac_status=$?
97381   grep -v '^ *+' conftest.er1 >conftest.err
97382   rm -f conftest.er1
97383   cat conftest.err >&5
97384   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97385   (exit $ac_status); } && {
97386          test -z "$ac_cxx_werror_flag" ||
97387          test ! -s conftest.err
97388        } && test -s conftest.$ac_objext; then
97389   glibcxx_cv_func__ldexpl_use=yes
97390 else
97391   echo "$as_me: failed program was:" >&5
97392 sed 's/^/| /' conftest.$ac_ext >&5
97393
97394         glibcxx_cv_func__ldexpl_use=no
97395 fi
97396
97397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
97398       ac_ext=c
97399 ac_cpp='$CPP $CPPFLAGS'
97400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97403
97404
97405 fi
97406
97407   fi
97408   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
97409 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6; }
97410
97411     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
97412
97413 for ac_func in _ldexpl
97414 do
97415 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97416 { echo "$as_me:$LINENO: checking for $ac_func" >&5
97417 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
97418 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
97419   echo $ECHO_N "(cached) $ECHO_C" >&6
97420 else
97421   if test x$gcc_no_link = xyes; then
97422   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97423 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97424    { (exit 1); exit 1; }; }
97425 fi
97426 cat >conftest.$ac_ext <<_ACEOF
97427 /* confdefs.h.  */
97428 _ACEOF
97429 cat confdefs.h >>conftest.$ac_ext
97430 cat >>conftest.$ac_ext <<_ACEOF
97431 /* end confdefs.h.  */
97432 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97433    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
97434 #define $ac_func innocuous_$ac_func
97435
97436 /* System header to define __stub macros and hopefully few prototypes,
97437     which can conflict with char $ac_func (); below.
97438     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97439     <limits.h> exists even on freestanding compilers.  */
97440
97441 #ifdef __STDC__
97442 # include <limits.h>
97443 #else
97444 # include <assert.h>
97445 #endif
97446
97447 #undef $ac_func
97448
97449 /* Override any GCC internal prototype to avoid an error.
97450    Use char because int might match the return type of a GCC
97451    builtin and then its argument prototype would still apply.  */
97452 #ifdef __cplusplus
97453 extern "C"
97454 #endif
97455 char $ac_func ();
97456 /* The GNU C library defines this for functions which it implements
97457     to always fail with ENOSYS.  Some functions are actually named
97458     something starting with __ and the normal name is an alias.  */
97459 #if defined __stub_$ac_func || defined __stub___$ac_func
97460 choke me
97461 #endif
97462
97463 int
97464 main ()
97465 {
97466 return $ac_func ();
97467   ;
97468   return 0;
97469 }
97470 _ACEOF
97471 rm -f conftest.$ac_objext conftest$ac_exeext
97472 if { (ac_try="$ac_link"
97473 case "(($ac_try" in
97474   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
97475   *) ac_try_echo=$ac_try;;
97476 esac
97477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
97478   (eval "$ac_link") 2>conftest.er1
97479   ac_status=$?
97480   grep -v '^ *+' conftest.er1 >conftest.err
97481   rm -f conftest.er1
97482   cat conftest.err >&5
97483   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97484   (exit $ac_status); } && {
97485          test -z "$ac_c_werror_flag" ||
97486          test ! -s conftest.err
97487        } && test -s conftest$ac_exeext &&
97488        $as_test_x conftest$ac_exeext; then
97489   eval "$as_ac_var=yes"
97490 else
97491   echo "$as_me: failed program was:" >&5
97492 sed 's/^/| /' conftest.$ac_ext >&5
97493
97494         eval "$as_ac_var=no"
97495 fi
97496
97497 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
97498       conftest$ac_exeext conftest.$ac_ext
97499 fi
97500 ac_res=`eval echo '${'$as_ac_var'}'`
97501                { echo "$as_me:$LINENO: result: $ac_res" >&5
97502 echo "${ECHO_T}$ac_res" >&6; }
97503 if test `eval echo '${'$as_ac_var'}'` = yes; then
97504   cat >>confdefs.h <<_ACEOF
97505 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97506 _ACEOF
97507
97508 fi
97509 done
97510
97511     fi
97512   fi
97513
97514
97515
97516
97517
97518
97519   { echo "$as_me:$LINENO: checking for logl declaration" >&5
97520 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6; }
97521   if test x${glibcxx_cv_func_logl_use+set} != xset; then
97522     if test "${glibcxx_cv_func_logl_use+set}" = set; then
97523   echo $ECHO_N "(cached) $ECHO_C" >&6
97524 else
97525
97526
97527       ac_ext=cpp
97528 ac_cpp='$CXXCPP $CPPFLAGS'
97529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97532
97533       cat >conftest.$ac_ext <<_ACEOF
97534 /* confdefs.h.  */
97535 _ACEOF
97536 cat confdefs.h >>conftest.$ac_ext
97537 cat >>conftest.$ac_ext <<_ACEOF
97538 /* end confdefs.h.  */
97539 #include <math.h>
97540                       #ifdef HAVE_IEEEFP_H
97541                       #include <ieeefp.h>
97542                       #endif
97543
97544 int
97545 main ()
97546 {
97547  logl(0);
97548   ;
97549   return 0;
97550 }
97551 _ACEOF
97552 rm -f conftest.$ac_objext
97553 if { (ac_try="$ac_compile"
97554 case "(($ac_try" in
97555   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
97556   *) ac_try_echo=$ac_try;;
97557 esac
97558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
97559   (eval "$ac_compile") 2>conftest.er1
97560   ac_status=$?
97561   grep -v '^ *+' conftest.er1 >conftest.err
97562   rm -f conftest.er1
97563   cat conftest.err >&5
97564   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97565   (exit $ac_status); } && {
97566          test -z "$ac_cxx_werror_flag" ||
97567          test ! -s conftest.err
97568        } && test -s conftest.$ac_objext; then
97569   glibcxx_cv_func_logl_use=yes
97570 else
97571   echo "$as_me: failed program was:" >&5
97572 sed 's/^/| /' conftest.$ac_ext >&5
97573
97574         glibcxx_cv_func_logl_use=no
97575 fi
97576
97577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
97578       ac_ext=c
97579 ac_cpp='$CPP $CPPFLAGS'
97580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97583
97584
97585 fi
97586
97587   fi
97588   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
97589 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6; }
97590
97591   if test x$glibcxx_cv_func_logl_use = x"yes"; then
97592
97593 for ac_func in logl
97594 do
97595 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97596 { echo "$as_me:$LINENO: checking for $ac_func" >&5
97597 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
97598 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
97599   echo $ECHO_N "(cached) $ECHO_C" >&6
97600 else
97601   if test x$gcc_no_link = xyes; then
97602   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97603 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97604    { (exit 1); exit 1; }; }
97605 fi
97606 cat >conftest.$ac_ext <<_ACEOF
97607 /* confdefs.h.  */
97608 _ACEOF
97609 cat confdefs.h >>conftest.$ac_ext
97610 cat >>conftest.$ac_ext <<_ACEOF
97611 /* end confdefs.h.  */
97612 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97613    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
97614 #define $ac_func innocuous_$ac_func
97615
97616 /* System header to define __stub macros and hopefully few prototypes,
97617     which can conflict with char $ac_func (); below.
97618     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97619     <limits.h> exists even on freestanding compilers.  */
97620
97621 #ifdef __STDC__
97622 # include <limits.h>
97623 #else
97624 # include <assert.h>
97625 #endif
97626
97627 #undef $ac_func
97628
97629 /* Override any GCC internal prototype to avoid an error.
97630    Use char because int might match the return type of a GCC
97631    builtin and then its argument prototype would still apply.  */
97632 #ifdef __cplusplus
97633 extern "C"
97634 #endif
97635 char $ac_func ();
97636 /* The GNU C library defines this for functions which it implements
97637     to always fail with ENOSYS.  Some functions are actually named
97638     something starting with __ and the normal name is an alias.  */
97639 #if defined __stub_$ac_func || defined __stub___$ac_func
97640 choke me
97641 #endif
97642
97643 int
97644 main ()
97645 {
97646 return $ac_func ();
97647   ;
97648   return 0;
97649 }
97650 _ACEOF
97651 rm -f conftest.$ac_objext conftest$ac_exeext
97652 if { (ac_try="$ac_link"
97653 case "(($ac_try" in
97654   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
97655   *) ac_try_echo=$ac_try;;
97656 esac
97657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
97658   (eval "$ac_link") 2>conftest.er1
97659   ac_status=$?
97660   grep -v '^ *+' conftest.er1 >conftest.err
97661   rm -f conftest.er1
97662   cat conftest.err >&5
97663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97664   (exit $ac_status); } && {
97665          test -z "$ac_c_werror_flag" ||
97666          test ! -s conftest.err
97667        } && test -s conftest$ac_exeext &&
97668        $as_test_x conftest$ac_exeext; then
97669   eval "$as_ac_var=yes"
97670 else
97671   echo "$as_me: failed program was:" >&5
97672 sed 's/^/| /' conftest.$ac_ext >&5
97673
97674         eval "$as_ac_var=no"
97675 fi
97676
97677 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
97678       conftest$ac_exeext conftest.$ac_ext
97679 fi
97680 ac_res=`eval echo '${'$as_ac_var'}'`
97681                { echo "$as_me:$LINENO: result: $ac_res" >&5
97682 echo "${ECHO_T}$ac_res" >&6; }
97683 if test `eval echo '${'$as_ac_var'}'` = yes; then
97684   cat >>confdefs.h <<_ACEOF
97685 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97686 _ACEOF
97687
97688 fi
97689 done
97690
97691   else
97692
97693   { echo "$as_me:$LINENO: checking for _logl declaration" >&5
97694 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6; }
97695   if test x${glibcxx_cv_func__logl_use+set} != xset; then
97696     if test "${glibcxx_cv_func__logl_use+set}" = set; then
97697   echo $ECHO_N "(cached) $ECHO_C" >&6
97698 else
97699
97700
97701       ac_ext=cpp
97702 ac_cpp='$CXXCPP $CPPFLAGS'
97703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97706
97707       cat >conftest.$ac_ext <<_ACEOF
97708 /* confdefs.h.  */
97709 _ACEOF
97710 cat confdefs.h >>conftest.$ac_ext
97711 cat >>conftest.$ac_ext <<_ACEOF
97712 /* end confdefs.h.  */
97713 #include <math.h>
97714                       #ifdef HAVE_IEEEFP_H
97715                       #include <ieeefp.h>
97716                       #endif
97717
97718 int
97719 main ()
97720 {
97721  _logl(0);
97722   ;
97723   return 0;
97724 }
97725 _ACEOF
97726 rm -f conftest.$ac_objext
97727 if { (ac_try="$ac_compile"
97728 case "(($ac_try" in
97729   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
97730   *) ac_try_echo=$ac_try;;
97731 esac
97732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
97733   (eval "$ac_compile") 2>conftest.er1
97734   ac_status=$?
97735   grep -v '^ *+' conftest.er1 >conftest.err
97736   rm -f conftest.er1
97737   cat conftest.err >&5
97738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97739   (exit $ac_status); } && {
97740          test -z "$ac_cxx_werror_flag" ||
97741          test ! -s conftest.err
97742        } && test -s conftest.$ac_objext; then
97743   glibcxx_cv_func__logl_use=yes
97744 else
97745   echo "$as_me: failed program was:" >&5
97746 sed 's/^/| /' conftest.$ac_ext >&5
97747
97748         glibcxx_cv_func__logl_use=no
97749 fi
97750
97751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
97752       ac_ext=c
97753 ac_cpp='$CPP $CPPFLAGS'
97754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97757
97758
97759 fi
97760
97761   fi
97762   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
97763 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6; }
97764
97765     if test x$glibcxx_cv_func__logl_use = x"yes"; then
97766
97767 for ac_func in _logl
97768 do
97769 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97770 { echo "$as_me:$LINENO: checking for $ac_func" >&5
97771 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
97772 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
97773   echo $ECHO_N "(cached) $ECHO_C" >&6
97774 else
97775   if test x$gcc_no_link = xyes; then
97776   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97777 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97778    { (exit 1); exit 1; }; }
97779 fi
97780 cat >conftest.$ac_ext <<_ACEOF
97781 /* confdefs.h.  */
97782 _ACEOF
97783 cat confdefs.h >>conftest.$ac_ext
97784 cat >>conftest.$ac_ext <<_ACEOF
97785 /* end confdefs.h.  */
97786 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97787    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
97788 #define $ac_func innocuous_$ac_func
97789
97790 /* System header to define __stub macros and hopefully few prototypes,
97791     which can conflict with char $ac_func (); below.
97792     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97793     <limits.h> exists even on freestanding compilers.  */
97794
97795 #ifdef __STDC__
97796 # include <limits.h>
97797 #else
97798 # include <assert.h>
97799 #endif
97800
97801 #undef $ac_func
97802
97803 /* Override any GCC internal prototype to avoid an error.
97804    Use char because int might match the return type of a GCC
97805    builtin and then its argument prototype would still apply.  */
97806 #ifdef __cplusplus
97807 extern "C"
97808 #endif
97809 char $ac_func ();
97810 /* The GNU C library defines this for functions which it implements
97811     to always fail with ENOSYS.  Some functions are actually named
97812     something starting with __ and the normal name is an alias.  */
97813 #if defined __stub_$ac_func || defined __stub___$ac_func
97814 choke me
97815 #endif
97816
97817 int
97818 main ()
97819 {
97820 return $ac_func ();
97821   ;
97822   return 0;
97823 }
97824 _ACEOF
97825 rm -f conftest.$ac_objext conftest$ac_exeext
97826 if { (ac_try="$ac_link"
97827 case "(($ac_try" in
97828   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
97829   *) ac_try_echo=$ac_try;;
97830 esac
97831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
97832   (eval "$ac_link") 2>conftest.er1
97833   ac_status=$?
97834   grep -v '^ *+' conftest.er1 >conftest.err
97835   rm -f conftest.er1
97836   cat conftest.err >&5
97837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97838   (exit $ac_status); } && {
97839          test -z "$ac_c_werror_flag" ||
97840          test ! -s conftest.err
97841        } && test -s conftest$ac_exeext &&
97842        $as_test_x conftest$ac_exeext; then
97843   eval "$as_ac_var=yes"
97844 else
97845   echo "$as_me: failed program was:" >&5
97846 sed 's/^/| /' conftest.$ac_ext >&5
97847
97848         eval "$as_ac_var=no"
97849 fi
97850
97851 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
97852       conftest$ac_exeext conftest.$ac_ext
97853 fi
97854 ac_res=`eval echo '${'$as_ac_var'}'`
97855                { echo "$as_me:$LINENO: result: $ac_res" >&5
97856 echo "${ECHO_T}$ac_res" >&6; }
97857 if test `eval echo '${'$as_ac_var'}'` = yes; then
97858   cat >>confdefs.h <<_ACEOF
97859 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97860 _ACEOF
97861
97862 fi
97863 done
97864
97865     fi
97866   fi
97867
97868
97869
97870
97871
97872
97873   { echo "$as_me:$LINENO: checking for log10l declaration" >&5
97874 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6; }
97875   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
97876     if test "${glibcxx_cv_func_log10l_use+set}" = set; then
97877   echo $ECHO_N "(cached) $ECHO_C" >&6
97878 else
97879
97880
97881       ac_ext=cpp
97882 ac_cpp='$CXXCPP $CPPFLAGS'
97883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97886
97887       cat >conftest.$ac_ext <<_ACEOF
97888 /* confdefs.h.  */
97889 _ACEOF
97890 cat confdefs.h >>conftest.$ac_ext
97891 cat >>conftest.$ac_ext <<_ACEOF
97892 /* end confdefs.h.  */
97893 #include <math.h>
97894                       #ifdef HAVE_IEEEFP_H
97895                       #include <ieeefp.h>
97896                       #endif
97897
97898 int
97899 main ()
97900 {
97901  log10l(0);
97902   ;
97903   return 0;
97904 }
97905 _ACEOF
97906 rm -f conftest.$ac_objext
97907 if { (ac_try="$ac_compile"
97908 case "(($ac_try" in
97909   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
97910   *) ac_try_echo=$ac_try;;
97911 esac
97912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
97913   (eval "$ac_compile") 2>conftest.er1
97914   ac_status=$?
97915   grep -v '^ *+' conftest.er1 >conftest.err
97916   rm -f conftest.er1
97917   cat conftest.err >&5
97918   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97919   (exit $ac_status); } && {
97920          test -z "$ac_cxx_werror_flag" ||
97921          test ! -s conftest.err
97922        } && test -s conftest.$ac_objext; then
97923   glibcxx_cv_func_log10l_use=yes
97924 else
97925   echo "$as_me: failed program was:" >&5
97926 sed 's/^/| /' conftest.$ac_ext >&5
97927
97928         glibcxx_cv_func_log10l_use=no
97929 fi
97930
97931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
97932       ac_ext=c
97933 ac_cpp='$CPP $CPPFLAGS'
97934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97937
97938
97939 fi
97940
97941   fi
97942   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
97943 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6; }
97944
97945   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
97946
97947 for ac_func in log10l
97948 do
97949 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97950 { echo "$as_me:$LINENO: checking for $ac_func" >&5
97951 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
97952 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
97953   echo $ECHO_N "(cached) $ECHO_C" >&6
97954 else
97955   if test x$gcc_no_link = xyes; then
97956   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97957 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97958    { (exit 1); exit 1; }; }
97959 fi
97960 cat >conftest.$ac_ext <<_ACEOF
97961 /* confdefs.h.  */
97962 _ACEOF
97963 cat confdefs.h >>conftest.$ac_ext
97964 cat >>conftest.$ac_ext <<_ACEOF
97965 /* end confdefs.h.  */
97966 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97967    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
97968 #define $ac_func innocuous_$ac_func
97969
97970 /* System header to define __stub macros and hopefully few prototypes,
97971     which can conflict with char $ac_func (); below.
97972     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97973     <limits.h> exists even on freestanding compilers.  */
97974
97975 #ifdef __STDC__
97976 # include <limits.h>
97977 #else
97978 # include <assert.h>
97979 #endif
97980
97981 #undef $ac_func
97982
97983 /* Override any GCC internal prototype to avoid an error.
97984    Use char because int might match the return type of a GCC
97985    builtin and then its argument prototype would still apply.  */
97986 #ifdef __cplusplus
97987 extern "C"
97988 #endif
97989 char $ac_func ();
97990 /* The GNU C library defines this for functions which it implements
97991     to always fail with ENOSYS.  Some functions are actually named
97992     something starting with __ and the normal name is an alias.  */
97993 #if defined __stub_$ac_func || defined __stub___$ac_func
97994 choke me
97995 #endif
97996
97997 int
97998 main ()
97999 {
98000 return $ac_func ();
98001   ;
98002   return 0;
98003 }
98004 _ACEOF
98005 rm -f conftest.$ac_objext conftest$ac_exeext
98006 if { (ac_try="$ac_link"
98007 case "(($ac_try" in
98008   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
98009   *) ac_try_echo=$ac_try;;
98010 esac
98011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
98012   (eval "$ac_link") 2>conftest.er1
98013   ac_status=$?
98014   grep -v '^ *+' conftest.er1 >conftest.err
98015   rm -f conftest.er1
98016   cat conftest.err >&5
98017   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98018   (exit $ac_status); } && {
98019          test -z "$ac_c_werror_flag" ||
98020          test ! -s conftest.err
98021        } && test -s conftest$ac_exeext &&
98022        $as_test_x conftest$ac_exeext; then
98023   eval "$as_ac_var=yes"
98024 else
98025   echo "$as_me: failed program was:" >&5
98026 sed 's/^/| /' conftest.$ac_ext >&5
98027
98028         eval "$as_ac_var=no"
98029 fi
98030
98031 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
98032       conftest$ac_exeext conftest.$ac_ext
98033 fi
98034 ac_res=`eval echo '${'$as_ac_var'}'`
98035                { echo "$as_me:$LINENO: result: $ac_res" >&5
98036 echo "${ECHO_T}$ac_res" >&6; }
98037 if test `eval echo '${'$as_ac_var'}'` = yes; then
98038   cat >>confdefs.h <<_ACEOF
98039 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98040 _ACEOF
98041
98042 fi
98043 done
98044
98045   else
98046
98047   { echo "$as_me:$LINENO: checking for _log10l declaration" >&5
98048 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6; }
98049   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
98050     if test "${glibcxx_cv_func__log10l_use+set}" = set; then
98051   echo $ECHO_N "(cached) $ECHO_C" >&6
98052 else
98053
98054
98055       ac_ext=cpp
98056 ac_cpp='$CXXCPP $CPPFLAGS'
98057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98060
98061       cat >conftest.$ac_ext <<_ACEOF
98062 /* confdefs.h.  */
98063 _ACEOF
98064 cat confdefs.h >>conftest.$ac_ext
98065 cat >>conftest.$ac_ext <<_ACEOF
98066 /* end confdefs.h.  */
98067 #include <math.h>
98068                       #ifdef HAVE_IEEEFP_H
98069                       #include <ieeefp.h>
98070                       #endif
98071
98072 int
98073 main ()
98074 {
98075  _log10l(0);
98076   ;
98077   return 0;
98078 }
98079 _ACEOF
98080 rm -f conftest.$ac_objext
98081 if { (ac_try="$ac_compile"
98082 case "(($ac_try" in
98083   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
98084   *) ac_try_echo=$ac_try;;
98085 esac
98086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
98087   (eval "$ac_compile") 2>conftest.er1
98088   ac_status=$?
98089   grep -v '^ *+' conftest.er1 >conftest.err
98090   rm -f conftest.er1
98091   cat conftest.err >&5
98092   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98093   (exit $ac_status); } && {
98094          test -z "$ac_cxx_werror_flag" ||
98095          test ! -s conftest.err
98096        } && test -s conftest.$ac_objext; then
98097   glibcxx_cv_func__log10l_use=yes
98098 else
98099   echo "$as_me: failed program was:" >&5
98100 sed 's/^/| /' conftest.$ac_ext >&5
98101
98102         glibcxx_cv_func__log10l_use=no
98103 fi
98104
98105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
98106       ac_ext=c
98107 ac_cpp='$CPP $CPPFLAGS'
98108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98111
98112
98113 fi
98114
98115   fi
98116   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
98117 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6; }
98118
98119     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
98120
98121 for ac_func in _log10l
98122 do
98123 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98124 { echo "$as_me:$LINENO: checking for $ac_func" >&5
98125 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
98126 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
98127   echo $ECHO_N "(cached) $ECHO_C" >&6
98128 else
98129   if test x$gcc_no_link = xyes; then
98130   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98131 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98132    { (exit 1); exit 1; }; }
98133 fi
98134 cat >conftest.$ac_ext <<_ACEOF
98135 /* confdefs.h.  */
98136 _ACEOF
98137 cat confdefs.h >>conftest.$ac_ext
98138 cat >>conftest.$ac_ext <<_ACEOF
98139 /* end confdefs.h.  */
98140 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98141    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
98142 #define $ac_func innocuous_$ac_func
98143
98144 /* System header to define __stub macros and hopefully few prototypes,
98145     which can conflict with char $ac_func (); below.
98146     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98147     <limits.h> exists even on freestanding compilers.  */
98148
98149 #ifdef __STDC__
98150 # include <limits.h>
98151 #else
98152 # include <assert.h>
98153 #endif
98154
98155 #undef $ac_func
98156
98157 /* Override any GCC internal prototype to avoid an error.
98158    Use char because int might match the return type of a GCC
98159    builtin and then its argument prototype would still apply.  */
98160 #ifdef __cplusplus
98161 extern "C"
98162 #endif
98163 char $ac_func ();
98164 /* The GNU C library defines this for functions which it implements
98165     to always fail with ENOSYS.  Some functions are actually named
98166     something starting with __ and the normal name is an alias.  */
98167 #if defined __stub_$ac_func || defined __stub___$ac_func
98168 choke me
98169 #endif
98170
98171 int
98172 main ()
98173 {
98174 return $ac_func ();
98175   ;
98176   return 0;
98177 }
98178 _ACEOF
98179 rm -f conftest.$ac_objext conftest$ac_exeext
98180 if { (ac_try="$ac_link"
98181 case "(($ac_try" in
98182   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
98183   *) ac_try_echo=$ac_try;;
98184 esac
98185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
98186   (eval "$ac_link") 2>conftest.er1
98187   ac_status=$?
98188   grep -v '^ *+' conftest.er1 >conftest.err
98189   rm -f conftest.er1
98190   cat conftest.err >&5
98191   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98192   (exit $ac_status); } && {
98193          test -z "$ac_c_werror_flag" ||
98194          test ! -s conftest.err
98195        } && test -s conftest$ac_exeext &&
98196        $as_test_x conftest$ac_exeext; then
98197   eval "$as_ac_var=yes"
98198 else
98199   echo "$as_me: failed program was:" >&5
98200 sed 's/^/| /' conftest.$ac_ext >&5
98201
98202         eval "$as_ac_var=no"
98203 fi
98204
98205 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
98206       conftest$ac_exeext conftest.$ac_ext
98207 fi
98208 ac_res=`eval echo '${'$as_ac_var'}'`
98209                { echo "$as_me:$LINENO: result: $ac_res" >&5
98210 echo "${ECHO_T}$ac_res" >&6; }
98211 if test `eval echo '${'$as_ac_var'}'` = yes; then
98212   cat >>confdefs.h <<_ACEOF
98213 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98214 _ACEOF
98215
98216 fi
98217 done
98218
98219     fi
98220   fi
98221
98222
98223
98224
98225
98226
98227   { echo "$as_me:$LINENO: checking for modfl declaration" >&5
98228 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6; }
98229   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
98230     if test "${glibcxx_cv_func_modfl_use+set}" = set; then
98231   echo $ECHO_N "(cached) $ECHO_C" >&6
98232 else
98233
98234
98235       ac_ext=cpp
98236 ac_cpp='$CXXCPP $CPPFLAGS'
98237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98240
98241       cat >conftest.$ac_ext <<_ACEOF
98242 /* confdefs.h.  */
98243 _ACEOF
98244 cat confdefs.h >>conftest.$ac_ext
98245 cat >>conftest.$ac_ext <<_ACEOF
98246 /* end confdefs.h.  */
98247 #include <math.h>
98248 int
98249 main ()
98250 {
98251  modfl(0, 0);
98252   ;
98253   return 0;
98254 }
98255 _ACEOF
98256 rm -f conftest.$ac_objext
98257 if { (ac_try="$ac_compile"
98258 case "(($ac_try" in
98259   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
98260   *) ac_try_echo=$ac_try;;
98261 esac
98262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
98263   (eval "$ac_compile") 2>conftest.er1
98264   ac_status=$?
98265   grep -v '^ *+' conftest.er1 >conftest.err
98266   rm -f conftest.er1
98267   cat conftest.err >&5
98268   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98269   (exit $ac_status); } && {
98270          test -z "$ac_cxx_werror_flag" ||
98271          test ! -s conftest.err
98272        } && test -s conftest.$ac_objext; then
98273   glibcxx_cv_func_modfl_use=yes
98274 else
98275   echo "$as_me: failed program was:" >&5
98276 sed 's/^/| /' conftest.$ac_ext >&5
98277
98278         glibcxx_cv_func_modfl_use=no
98279 fi
98280
98281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
98282       ac_ext=c
98283 ac_cpp='$CPP $CPPFLAGS'
98284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98287
98288
98289 fi
98290
98291   fi
98292   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
98293 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6; }
98294
98295   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
98296
98297 for ac_func in modfl
98298 do
98299 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98300 { echo "$as_me:$LINENO: checking for $ac_func" >&5
98301 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
98302 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
98303   echo $ECHO_N "(cached) $ECHO_C" >&6
98304 else
98305   if test x$gcc_no_link = xyes; then
98306   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98307 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98308    { (exit 1); exit 1; }; }
98309 fi
98310 cat >conftest.$ac_ext <<_ACEOF
98311 /* confdefs.h.  */
98312 _ACEOF
98313 cat confdefs.h >>conftest.$ac_ext
98314 cat >>conftest.$ac_ext <<_ACEOF
98315 /* end confdefs.h.  */
98316 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98317    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
98318 #define $ac_func innocuous_$ac_func
98319
98320 /* System header to define __stub macros and hopefully few prototypes,
98321     which can conflict with char $ac_func (); below.
98322     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98323     <limits.h> exists even on freestanding compilers.  */
98324
98325 #ifdef __STDC__
98326 # include <limits.h>
98327 #else
98328 # include <assert.h>
98329 #endif
98330
98331 #undef $ac_func
98332
98333 /* Override any GCC internal prototype to avoid an error.
98334    Use char because int might match the return type of a GCC
98335    builtin and then its argument prototype would still apply.  */
98336 #ifdef __cplusplus
98337 extern "C"
98338 #endif
98339 char $ac_func ();
98340 /* The GNU C library defines this for functions which it implements
98341     to always fail with ENOSYS.  Some functions are actually named
98342     something starting with __ and the normal name is an alias.  */
98343 #if defined __stub_$ac_func || defined __stub___$ac_func
98344 choke me
98345 #endif
98346
98347 int
98348 main ()
98349 {
98350 return $ac_func ();
98351   ;
98352   return 0;
98353 }
98354 _ACEOF
98355 rm -f conftest.$ac_objext conftest$ac_exeext
98356 if { (ac_try="$ac_link"
98357 case "(($ac_try" in
98358   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
98359   *) ac_try_echo=$ac_try;;
98360 esac
98361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
98362   (eval "$ac_link") 2>conftest.er1
98363   ac_status=$?
98364   grep -v '^ *+' conftest.er1 >conftest.err
98365   rm -f conftest.er1
98366   cat conftest.err >&5
98367   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98368   (exit $ac_status); } && {
98369          test -z "$ac_c_werror_flag" ||
98370          test ! -s conftest.err
98371        } && test -s conftest$ac_exeext &&
98372        $as_test_x conftest$ac_exeext; then
98373   eval "$as_ac_var=yes"
98374 else
98375   echo "$as_me: failed program was:" >&5
98376 sed 's/^/| /' conftest.$ac_ext >&5
98377
98378         eval "$as_ac_var=no"
98379 fi
98380
98381 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
98382       conftest$ac_exeext conftest.$ac_ext
98383 fi
98384 ac_res=`eval echo '${'$as_ac_var'}'`
98385                { echo "$as_me:$LINENO: result: $ac_res" >&5
98386 echo "${ECHO_T}$ac_res" >&6; }
98387 if test `eval echo '${'$as_ac_var'}'` = yes; then
98388   cat >>confdefs.h <<_ACEOF
98389 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98390 _ACEOF
98391
98392 fi
98393 done
98394
98395   else
98396
98397   { echo "$as_me:$LINENO: checking for _modfl declaration" >&5
98398 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6; }
98399   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
98400     if test "${glibcxx_cv_func__modfl_use+set}" = set; then
98401   echo $ECHO_N "(cached) $ECHO_C" >&6
98402 else
98403
98404
98405       ac_ext=cpp
98406 ac_cpp='$CXXCPP $CPPFLAGS'
98407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98410
98411       cat >conftest.$ac_ext <<_ACEOF
98412 /* confdefs.h.  */
98413 _ACEOF
98414 cat confdefs.h >>conftest.$ac_ext
98415 cat >>conftest.$ac_ext <<_ACEOF
98416 /* end confdefs.h.  */
98417 #include <math.h>
98418 int
98419 main ()
98420 {
98421  _modfl(0, 0);
98422   ;
98423   return 0;
98424 }
98425 _ACEOF
98426 rm -f conftest.$ac_objext
98427 if { (ac_try="$ac_compile"
98428 case "(($ac_try" in
98429   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
98430   *) ac_try_echo=$ac_try;;
98431 esac
98432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
98433   (eval "$ac_compile") 2>conftest.er1
98434   ac_status=$?
98435   grep -v '^ *+' conftest.er1 >conftest.err
98436   rm -f conftest.er1
98437   cat conftest.err >&5
98438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98439   (exit $ac_status); } && {
98440          test -z "$ac_cxx_werror_flag" ||
98441          test ! -s conftest.err
98442        } && test -s conftest.$ac_objext; then
98443   glibcxx_cv_func__modfl_use=yes
98444 else
98445   echo "$as_me: failed program was:" >&5
98446 sed 's/^/| /' conftest.$ac_ext >&5
98447
98448         glibcxx_cv_func__modfl_use=no
98449 fi
98450
98451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
98452       ac_ext=c
98453 ac_cpp='$CPP $CPPFLAGS'
98454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98457
98458
98459 fi
98460
98461   fi
98462   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
98463 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6; }
98464
98465     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
98466
98467 for ac_func in _modfl
98468 do
98469 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98470 { echo "$as_me:$LINENO: checking for $ac_func" >&5
98471 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
98472 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
98473   echo $ECHO_N "(cached) $ECHO_C" >&6
98474 else
98475   if test x$gcc_no_link = xyes; then
98476   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98477 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98478    { (exit 1); exit 1; }; }
98479 fi
98480 cat >conftest.$ac_ext <<_ACEOF
98481 /* confdefs.h.  */
98482 _ACEOF
98483 cat confdefs.h >>conftest.$ac_ext
98484 cat >>conftest.$ac_ext <<_ACEOF
98485 /* end confdefs.h.  */
98486 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98487    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
98488 #define $ac_func innocuous_$ac_func
98489
98490 /* System header to define __stub macros and hopefully few prototypes,
98491     which can conflict with char $ac_func (); below.
98492     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98493     <limits.h> exists even on freestanding compilers.  */
98494
98495 #ifdef __STDC__
98496 # include <limits.h>
98497 #else
98498 # include <assert.h>
98499 #endif
98500
98501 #undef $ac_func
98502
98503 /* Override any GCC internal prototype to avoid an error.
98504    Use char because int might match the return type of a GCC
98505    builtin and then its argument prototype would still apply.  */
98506 #ifdef __cplusplus
98507 extern "C"
98508 #endif
98509 char $ac_func ();
98510 /* The GNU C library defines this for functions which it implements
98511     to always fail with ENOSYS.  Some functions are actually named
98512     something starting with __ and the normal name is an alias.  */
98513 #if defined __stub_$ac_func || defined __stub___$ac_func
98514 choke me
98515 #endif
98516
98517 int
98518 main ()
98519 {
98520 return $ac_func ();
98521   ;
98522   return 0;
98523 }
98524 _ACEOF
98525 rm -f conftest.$ac_objext conftest$ac_exeext
98526 if { (ac_try="$ac_link"
98527 case "(($ac_try" in
98528   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
98529   *) ac_try_echo=$ac_try;;
98530 esac
98531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
98532   (eval "$ac_link") 2>conftest.er1
98533   ac_status=$?
98534   grep -v '^ *+' conftest.er1 >conftest.err
98535   rm -f conftest.er1
98536   cat conftest.err >&5
98537   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98538   (exit $ac_status); } && {
98539          test -z "$ac_c_werror_flag" ||
98540          test ! -s conftest.err
98541        } && test -s conftest$ac_exeext &&
98542        $as_test_x conftest$ac_exeext; then
98543   eval "$as_ac_var=yes"
98544 else
98545   echo "$as_me: failed program was:" >&5
98546 sed 's/^/| /' conftest.$ac_ext >&5
98547
98548         eval "$as_ac_var=no"
98549 fi
98550
98551 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
98552       conftest$ac_exeext conftest.$ac_ext
98553 fi
98554 ac_res=`eval echo '${'$as_ac_var'}'`
98555                { echo "$as_me:$LINENO: result: $ac_res" >&5
98556 echo "${ECHO_T}$ac_res" >&6; }
98557 if test `eval echo '${'$as_ac_var'}'` = yes; then
98558   cat >>confdefs.h <<_ACEOF
98559 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98560 _ACEOF
98561
98562 fi
98563 done
98564
98565     fi
98566   fi
98567
98568
98569
98570
98571
98572
98573   { echo "$as_me:$LINENO: checking for powl declaration" >&5
98574 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6; }
98575   if test x${glibcxx_cv_func_powl_use+set} != xset; then
98576     if test "${glibcxx_cv_func_powl_use+set}" = set; then
98577   echo $ECHO_N "(cached) $ECHO_C" >&6
98578 else
98579
98580
98581       ac_ext=cpp
98582 ac_cpp='$CXXCPP $CPPFLAGS'
98583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98586
98587       cat >conftest.$ac_ext <<_ACEOF
98588 /* confdefs.h.  */
98589 _ACEOF
98590 cat confdefs.h >>conftest.$ac_ext
98591 cat >>conftest.$ac_ext <<_ACEOF
98592 /* end confdefs.h.  */
98593 #include <math.h>
98594 int
98595 main ()
98596 {
98597  powl(0, 0);
98598   ;
98599   return 0;
98600 }
98601 _ACEOF
98602 rm -f conftest.$ac_objext
98603 if { (ac_try="$ac_compile"
98604 case "(($ac_try" in
98605   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
98606   *) ac_try_echo=$ac_try;;
98607 esac
98608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
98609   (eval "$ac_compile") 2>conftest.er1
98610   ac_status=$?
98611   grep -v '^ *+' conftest.er1 >conftest.err
98612   rm -f conftest.er1
98613   cat conftest.err >&5
98614   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98615   (exit $ac_status); } && {
98616          test -z "$ac_cxx_werror_flag" ||
98617          test ! -s conftest.err
98618        } && test -s conftest.$ac_objext; then
98619   glibcxx_cv_func_powl_use=yes
98620 else
98621   echo "$as_me: failed program was:" >&5
98622 sed 's/^/| /' conftest.$ac_ext >&5
98623
98624         glibcxx_cv_func_powl_use=no
98625 fi
98626
98627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
98628       ac_ext=c
98629 ac_cpp='$CPP $CPPFLAGS'
98630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98633
98634
98635 fi
98636
98637   fi
98638   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
98639 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6; }
98640
98641   if test x$glibcxx_cv_func_powl_use = x"yes"; then
98642
98643 for ac_func in powl
98644 do
98645 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98646 { echo "$as_me:$LINENO: checking for $ac_func" >&5
98647 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
98648 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
98649   echo $ECHO_N "(cached) $ECHO_C" >&6
98650 else
98651   if test x$gcc_no_link = xyes; then
98652   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98653 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98654    { (exit 1); exit 1; }; }
98655 fi
98656 cat >conftest.$ac_ext <<_ACEOF
98657 /* confdefs.h.  */
98658 _ACEOF
98659 cat confdefs.h >>conftest.$ac_ext
98660 cat >>conftest.$ac_ext <<_ACEOF
98661 /* end confdefs.h.  */
98662 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98663    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
98664 #define $ac_func innocuous_$ac_func
98665
98666 /* System header to define __stub macros and hopefully few prototypes,
98667     which can conflict with char $ac_func (); below.
98668     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98669     <limits.h> exists even on freestanding compilers.  */
98670
98671 #ifdef __STDC__
98672 # include <limits.h>
98673 #else
98674 # include <assert.h>
98675 #endif
98676
98677 #undef $ac_func
98678
98679 /* Override any GCC internal prototype to avoid an error.
98680    Use char because int might match the return type of a GCC
98681    builtin and then its argument prototype would still apply.  */
98682 #ifdef __cplusplus
98683 extern "C"
98684 #endif
98685 char $ac_func ();
98686 /* The GNU C library defines this for functions which it implements
98687     to always fail with ENOSYS.  Some functions are actually named
98688     something starting with __ and the normal name is an alias.  */
98689 #if defined __stub_$ac_func || defined __stub___$ac_func
98690 choke me
98691 #endif
98692
98693 int
98694 main ()
98695 {
98696 return $ac_func ();
98697   ;
98698   return 0;
98699 }
98700 _ACEOF
98701 rm -f conftest.$ac_objext conftest$ac_exeext
98702 if { (ac_try="$ac_link"
98703 case "(($ac_try" in
98704   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
98705   *) ac_try_echo=$ac_try;;
98706 esac
98707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
98708   (eval "$ac_link") 2>conftest.er1
98709   ac_status=$?
98710   grep -v '^ *+' conftest.er1 >conftest.err
98711   rm -f conftest.er1
98712   cat conftest.err >&5
98713   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98714   (exit $ac_status); } && {
98715          test -z "$ac_c_werror_flag" ||
98716          test ! -s conftest.err
98717        } && test -s conftest$ac_exeext &&
98718        $as_test_x conftest$ac_exeext; then
98719   eval "$as_ac_var=yes"
98720 else
98721   echo "$as_me: failed program was:" >&5
98722 sed 's/^/| /' conftest.$ac_ext >&5
98723
98724         eval "$as_ac_var=no"
98725 fi
98726
98727 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
98728       conftest$ac_exeext conftest.$ac_ext
98729 fi
98730 ac_res=`eval echo '${'$as_ac_var'}'`
98731                { echo "$as_me:$LINENO: result: $ac_res" >&5
98732 echo "${ECHO_T}$ac_res" >&6; }
98733 if test `eval echo '${'$as_ac_var'}'` = yes; then
98734   cat >>confdefs.h <<_ACEOF
98735 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98736 _ACEOF
98737
98738 fi
98739 done
98740
98741   else
98742
98743   { echo "$as_me:$LINENO: checking for _powl declaration" >&5
98744 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6; }
98745   if test x${glibcxx_cv_func__powl_use+set} != xset; then
98746     if test "${glibcxx_cv_func__powl_use+set}" = set; then
98747   echo $ECHO_N "(cached) $ECHO_C" >&6
98748 else
98749
98750
98751       ac_ext=cpp
98752 ac_cpp='$CXXCPP $CPPFLAGS'
98753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98756
98757       cat >conftest.$ac_ext <<_ACEOF
98758 /* confdefs.h.  */
98759 _ACEOF
98760 cat confdefs.h >>conftest.$ac_ext
98761 cat >>conftest.$ac_ext <<_ACEOF
98762 /* end confdefs.h.  */
98763 #include <math.h>
98764 int
98765 main ()
98766 {
98767  _powl(0, 0);
98768   ;
98769   return 0;
98770 }
98771 _ACEOF
98772 rm -f conftest.$ac_objext
98773 if { (ac_try="$ac_compile"
98774 case "(($ac_try" in
98775   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
98776   *) ac_try_echo=$ac_try;;
98777 esac
98778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
98779   (eval "$ac_compile") 2>conftest.er1
98780   ac_status=$?
98781   grep -v '^ *+' conftest.er1 >conftest.err
98782   rm -f conftest.er1
98783   cat conftest.err >&5
98784   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98785   (exit $ac_status); } && {
98786          test -z "$ac_cxx_werror_flag" ||
98787          test ! -s conftest.err
98788        } && test -s conftest.$ac_objext; then
98789   glibcxx_cv_func__powl_use=yes
98790 else
98791   echo "$as_me: failed program was:" >&5
98792 sed 's/^/| /' conftest.$ac_ext >&5
98793
98794         glibcxx_cv_func__powl_use=no
98795 fi
98796
98797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
98798       ac_ext=c
98799 ac_cpp='$CPP $CPPFLAGS'
98800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98803
98804
98805 fi
98806
98807   fi
98808   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
98809 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6; }
98810
98811     if test x$glibcxx_cv_func__powl_use = x"yes"; then
98812
98813 for ac_func in _powl
98814 do
98815 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98816 { echo "$as_me:$LINENO: checking for $ac_func" >&5
98817 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
98818 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
98819   echo $ECHO_N "(cached) $ECHO_C" >&6
98820 else
98821   if test x$gcc_no_link = xyes; then
98822   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98823 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98824    { (exit 1); exit 1; }; }
98825 fi
98826 cat >conftest.$ac_ext <<_ACEOF
98827 /* confdefs.h.  */
98828 _ACEOF
98829 cat confdefs.h >>conftest.$ac_ext
98830 cat >>conftest.$ac_ext <<_ACEOF
98831 /* end confdefs.h.  */
98832 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98833    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
98834 #define $ac_func innocuous_$ac_func
98835
98836 /* System header to define __stub macros and hopefully few prototypes,
98837     which can conflict with char $ac_func (); below.
98838     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98839     <limits.h> exists even on freestanding compilers.  */
98840
98841 #ifdef __STDC__
98842 # include <limits.h>
98843 #else
98844 # include <assert.h>
98845 #endif
98846
98847 #undef $ac_func
98848
98849 /* Override any GCC internal prototype to avoid an error.
98850    Use char because int might match the return type of a GCC
98851    builtin and then its argument prototype would still apply.  */
98852 #ifdef __cplusplus
98853 extern "C"
98854 #endif
98855 char $ac_func ();
98856 /* The GNU C library defines this for functions which it implements
98857     to always fail with ENOSYS.  Some functions are actually named
98858     something starting with __ and the normal name is an alias.  */
98859 #if defined __stub_$ac_func || defined __stub___$ac_func
98860 choke me
98861 #endif
98862
98863 int
98864 main ()
98865 {
98866 return $ac_func ();
98867   ;
98868   return 0;
98869 }
98870 _ACEOF
98871 rm -f conftest.$ac_objext conftest$ac_exeext
98872 if { (ac_try="$ac_link"
98873 case "(($ac_try" in
98874   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
98875   *) ac_try_echo=$ac_try;;
98876 esac
98877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
98878   (eval "$ac_link") 2>conftest.er1
98879   ac_status=$?
98880   grep -v '^ *+' conftest.er1 >conftest.err
98881   rm -f conftest.er1
98882   cat conftest.err >&5
98883   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98884   (exit $ac_status); } && {
98885          test -z "$ac_c_werror_flag" ||
98886          test ! -s conftest.err
98887        } && test -s conftest$ac_exeext &&
98888        $as_test_x conftest$ac_exeext; then
98889   eval "$as_ac_var=yes"
98890 else
98891   echo "$as_me: failed program was:" >&5
98892 sed 's/^/| /' conftest.$ac_ext >&5
98893
98894         eval "$as_ac_var=no"
98895 fi
98896
98897 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
98898       conftest$ac_exeext conftest.$ac_ext
98899 fi
98900 ac_res=`eval echo '${'$as_ac_var'}'`
98901                { echo "$as_me:$LINENO: result: $ac_res" >&5
98902 echo "${ECHO_T}$ac_res" >&6; }
98903 if test `eval echo '${'$as_ac_var'}'` = yes; then
98904   cat >>confdefs.h <<_ACEOF
98905 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98906 _ACEOF
98907
98908 fi
98909 done
98910
98911     fi
98912   fi
98913
98914
98915
98916
98917
98918
98919   { echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
98920 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6; }
98921   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
98922     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
98923   echo $ECHO_N "(cached) $ECHO_C" >&6
98924 else
98925
98926
98927       ac_ext=cpp
98928 ac_cpp='$CXXCPP $CPPFLAGS'
98929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98932
98933       cat >conftest.$ac_ext <<_ACEOF
98934 /* confdefs.h.  */
98935 _ACEOF
98936 cat confdefs.h >>conftest.$ac_ext
98937 cat >>conftest.$ac_ext <<_ACEOF
98938 /* end confdefs.h.  */
98939 #include <math.h>
98940                       #ifdef HAVE_IEEEFP_H
98941                       #include <ieeefp.h>
98942                       #endif
98943
98944 int
98945 main ()
98946 {
98947  sqrtl(0);
98948   ;
98949   return 0;
98950 }
98951 _ACEOF
98952 rm -f conftest.$ac_objext
98953 if { (ac_try="$ac_compile"
98954 case "(($ac_try" in
98955   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
98956   *) ac_try_echo=$ac_try;;
98957 esac
98958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
98959   (eval "$ac_compile") 2>conftest.er1
98960   ac_status=$?
98961   grep -v '^ *+' conftest.er1 >conftest.err
98962   rm -f conftest.er1
98963   cat conftest.err >&5
98964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98965   (exit $ac_status); } && {
98966          test -z "$ac_cxx_werror_flag" ||
98967          test ! -s conftest.err
98968        } && test -s conftest.$ac_objext; then
98969   glibcxx_cv_func_sqrtl_use=yes
98970 else
98971   echo "$as_me: failed program was:" >&5
98972 sed 's/^/| /' conftest.$ac_ext >&5
98973
98974         glibcxx_cv_func_sqrtl_use=no
98975 fi
98976
98977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
98978       ac_ext=c
98979 ac_cpp='$CPP $CPPFLAGS'
98980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98983
98984
98985 fi
98986
98987   fi
98988   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
98989 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6; }
98990
98991   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
98992
98993 for ac_func in sqrtl
98994 do
98995 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98996 { echo "$as_me:$LINENO: checking for $ac_func" >&5
98997 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
98998 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
98999   echo $ECHO_N "(cached) $ECHO_C" >&6
99000 else
99001   if test x$gcc_no_link = xyes; then
99002   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99003 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99004    { (exit 1); exit 1; }; }
99005 fi
99006 cat >conftest.$ac_ext <<_ACEOF
99007 /* confdefs.h.  */
99008 _ACEOF
99009 cat confdefs.h >>conftest.$ac_ext
99010 cat >>conftest.$ac_ext <<_ACEOF
99011 /* end confdefs.h.  */
99012 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99013    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
99014 #define $ac_func innocuous_$ac_func
99015
99016 /* System header to define __stub macros and hopefully few prototypes,
99017     which can conflict with char $ac_func (); below.
99018     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99019     <limits.h> exists even on freestanding compilers.  */
99020
99021 #ifdef __STDC__
99022 # include <limits.h>
99023 #else
99024 # include <assert.h>
99025 #endif
99026
99027 #undef $ac_func
99028
99029 /* Override any GCC internal prototype to avoid an error.
99030    Use char because int might match the return type of a GCC
99031    builtin and then its argument prototype would still apply.  */
99032 #ifdef __cplusplus
99033 extern "C"
99034 #endif
99035 char $ac_func ();
99036 /* The GNU C library defines this for functions which it implements
99037     to always fail with ENOSYS.  Some functions are actually named
99038     something starting with __ and the normal name is an alias.  */
99039 #if defined __stub_$ac_func || defined __stub___$ac_func
99040 choke me
99041 #endif
99042
99043 int
99044 main ()
99045 {
99046 return $ac_func ();
99047   ;
99048   return 0;
99049 }
99050 _ACEOF
99051 rm -f conftest.$ac_objext conftest$ac_exeext
99052 if { (ac_try="$ac_link"
99053 case "(($ac_try" in
99054   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
99055   *) ac_try_echo=$ac_try;;
99056 esac
99057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
99058   (eval "$ac_link") 2>conftest.er1
99059   ac_status=$?
99060   grep -v '^ *+' conftest.er1 >conftest.err
99061   rm -f conftest.er1
99062   cat conftest.err >&5
99063   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99064   (exit $ac_status); } && {
99065          test -z "$ac_c_werror_flag" ||
99066          test ! -s conftest.err
99067        } && test -s conftest$ac_exeext &&
99068        $as_test_x conftest$ac_exeext; then
99069   eval "$as_ac_var=yes"
99070 else
99071   echo "$as_me: failed program was:" >&5
99072 sed 's/^/| /' conftest.$ac_ext >&5
99073
99074         eval "$as_ac_var=no"
99075 fi
99076
99077 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
99078       conftest$ac_exeext conftest.$ac_ext
99079 fi
99080 ac_res=`eval echo '${'$as_ac_var'}'`
99081                { echo "$as_me:$LINENO: result: $ac_res" >&5
99082 echo "${ECHO_T}$ac_res" >&6; }
99083 if test `eval echo '${'$as_ac_var'}'` = yes; then
99084   cat >>confdefs.h <<_ACEOF
99085 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99086 _ACEOF
99087
99088 fi
99089 done
99090
99091   else
99092
99093   { echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
99094 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6; }
99095   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
99096     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
99097   echo $ECHO_N "(cached) $ECHO_C" >&6
99098 else
99099
99100
99101       ac_ext=cpp
99102 ac_cpp='$CXXCPP $CPPFLAGS'
99103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99106
99107       cat >conftest.$ac_ext <<_ACEOF
99108 /* confdefs.h.  */
99109 _ACEOF
99110 cat confdefs.h >>conftest.$ac_ext
99111 cat >>conftest.$ac_ext <<_ACEOF
99112 /* end confdefs.h.  */
99113 #include <math.h>
99114                       #ifdef HAVE_IEEEFP_H
99115                       #include <ieeefp.h>
99116                       #endif
99117
99118 int
99119 main ()
99120 {
99121  _sqrtl(0);
99122   ;
99123   return 0;
99124 }
99125 _ACEOF
99126 rm -f conftest.$ac_objext
99127 if { (ac_try="$ac_compile"
99128 case "(($ac_try" in
99129   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
99130   *) ac_try_echo=$ac_try;;
99131 esac
99132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
99133   (eval "$ac_compile") 2>conftest.er1
99134   ac_status=$?
99135   grep -v '^ *+' conftest.er1 >conftest.err
99136   rm -f conftest.er1
99137   cat conftest.err >&5
99138   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99139   (exit $ac_status); } && {
99140          test -z "$ac_cxx_werror_flag" ||
99141          test ! -s conftest.err
99142        } && test -s conftest.$ac_objext; then
99143   glibcxx_cv_func__sqrtl_use=yes
99144 else
99145   echo "$as_me: failed program was:" >&5
99146 sed 's/^/| /' conftest.$ac_ext >&5
99147
99148         glibcxx_cv_func__sqrtl_use=no
99149 fi
99150
99151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
99152       ac_ext=c
99153 ac_cpp='$CPP $CPPFLAGS'
99154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99157
99158
99159 fi
99160
99161   fi
99162   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
99163 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6; }
99164
99165     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
99166
99167 for ac_func in _sqrtl
99168 do
99169 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99170 { echo "$as_me:$LINENO: checking for $ac_func" >&5
99171 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
99172 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
99173   echo $ECHO_N "(cached) $ECHO_C" >&6
99174 else
99175   if test x$gcc_no_link = xyes; then
99176   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99177 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99178    { (exit 1); exit 1; }; }
99179 fi
99180 cat >conftest.$ac_ext <<_ACEOF
99181 /* confdefs.h.  */
99182 _ACEOF
99183 cat confdefs.h >>conftest.$ac_ext
99184 cat >>conftest.$ac_ext <<_ACEOF
99185 /* end confdefs.h.  */
99186 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99187    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
99188 #define $ac_func innocuous_$ac_func
99189
99190 /* System header to define __stub macros and hopefully few prototypes,
99191     which can conflict with char $ac_func (); below.
99192     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99193     <limits.h> exists even on freestanding compilers.  */
99194
99195 #ifdef __STDC__
99196 # include <limits.h>
99197 #else
99198 # include <assert.h>
99199 #endif
99200
99201 #undef $ac_func
99202
99203 /* Override any GCC internal prototype to avoid an error.
99204    Use char because int might match the return type of a GCC
99205    builtin and then its argument prototype would still apply.  */
99206 #ifdef __cplusplus
99207 extern "C"
99208 #endif
99209 char $ac_func ();
99210 /* The GNU C library defines this for functions which it implements
99211     to always fail with ENOSYS.  Some functions are actually named
99212     something starting with __ and the normal name is an alias.  */
99213 #if defined __stub_$ac_func || defined __stub___$ac_func
99214 choke me
99215 #endif
99216
99217 int
99218 main ()
99219 {
99220 return $ac_func ();
99221   ;
99222   return 0;
99223 }
99224 _ACEOF
99225 rm -f conftest.$ac_objext conftest$ac_exeext
99226 if { (ac_try="$ac_link"
99227 case "(($ac_try" in
99228   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
99229   *) ac_try_echo=$ac_try;;
99230 esac
99231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
99232   (eval "$ac_link") 2>conftest.er1
99233   ac_status=$?
99234   grep -v '^ *+' conftest.er1 >conftest.err
99235   rm -f conftest.er1
99236   cat conftest.err >&5
99237   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99238   (exit $ac_status); } && {
99239          test -z "$ac_c_werror_flag" ||
99240          test ! -s conftest.err
99241        } && test -s conftest$ac_exeext &&
99242        $as_test_x conftest$ac_exeext; then
99243   eval "$as_ac_var=yes"
99244 else
99245   echo "$as_me: failed program was:" >&5
99246 sed 's/^/| /' conftest.$ac_ext >&5
99247
99248         eval "$as_ac_var=no"
99249 fi
99250
99251 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
99252       conftest$ac_exeext conftest.$ac_ext
99253 fi
99254 ac_res=`eval echo '${'$as_ac_var'}'`
99255                { echo "$as_me:$LINENO: result: $ac_res" >&5
99256 echo "${ECHO_T}$ac_res" >&6; }
99257 if test `eval echo '${'$as_ac_var'}'` = yes; then
99258   cat >>confdefs.h <<_ACEOF
99259 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99260 _ACEOF
99261
99262 fi
99263 done
99264
99265     fi
99266   fi
99267
99268
99269
99270
99271
99272
99273   { echo "$as_me:$LINENO: checking for sincosl declaration" >&5
99274 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6; }
99275   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
99276     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
99277   echo $ECHO_N "(cached) $ECHO_C" >&6
99278 else
99279
99280
99281       ac_ext=cpp
99282 ac_cpp='$CXXCPP $CPPFLAGS'
99283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99286
99287       cat >conftest.$ac_ext <<_ACEOF
99288 /* confdefs.h.  */
99289 _ACEOF
99290 cat confdefs.h >>conftest.$ac_ext
99291 cat >>conftest.$ac_ext <<_ACEOF
99292 /* end confdefs.h.  */
99293 #include <math.h>
99294 int
99295 main ()
99296 {
99297  sincosl(0, 0, 0);
99298   ;
99299   return 0;
99300 }
99301 _ACEOF
99302 rm -f conftest.$ac_objext
99303 if { (ac_try="$ac_compile"
99304 case "(($ac_try" in
99305   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
99306   *) ac_try_echo=$ac_try;;
99307 esac
99308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
99309   (eval "$ac_compile") 2>conftest.er1
99310   ac_status=$?
99311   grep -v '^ *+' conftest.er1 >conftest.err
99312   rm -f conftest.er1
99313   cat conftest.err >&5
99314   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99315   (exit $ac_status); } && {
99316          test -z "$ac_cxx_werror_flag" ||
99317          test ! -s conftest.err
99318        } && test -s conftest.$ac_objext; then
99319   glibcxx_cv_func_sincosl_use=yes
99320 else
99321   echo "$as_me: failed program was:" >&5
99322 sed 's/^/| /' conftest.$ac_ext >&5
99323
99324         glibcxx_cv_func_sincosl_use=no
99325 fi
99326
99327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
99328       ac_ext=c
99329 ac_cpp='$CPP $CPPFLAGS'
99330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99333
99334
99335 fi
99336
99337   fi
99338   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
99339 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6; }
99340
99341   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
99342
99343 for ac_func in sincosl
99344 do
99345 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99346 { echo "$as_me:$LINENO: checking for $ac_func" >&5
99347 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
99348 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
99349   echo $ECHO_N "(cached) $ECHO_C" >&6
99350 else
99351   if test x$gcc_no_link = xyes; then
99352   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99353 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99354    { (exit 1); exit 1; }; }
99355 fi
99356 cat >conftest.$ac_ext <<_ACEOF
99357 /* confdefs.h.  */
99358 _ACEOF
99359 cat confdefs.h >>conftest.$ac_ext
99360 cat >>conftest.$ac_ext <<_ACEOF
99361 /* end confdefs.h.  */
99362 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99363    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
99364 #define $ac_func innocuous_$ac_func
99365
99366 /* System header to define __stub macros and hopefully few prototypes,
99367     which can conflict with char $ac_func (); below.
99368     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99369     <limits.h> exists even on freestanding compilers.  */
99370
99371 #ifdef __STDC__
99372 # include <limits.h>
99373 #else
99374 # include <assert.h>
99375 #endif
99376
99377 #undef $ac_func
99378
99379 /* Override any GCC internal prototype to avoid an error.
99380    Use char because int might match the return type of a GCC
99381    builtin and then its argument prototype would still apply.  */
99382 #ifdef __cplusplus
99383 extern "C"
99384 #endif
99385 char $ac_func ();
99386 /* The GNU C library defines this for functions which it implements
99387     to always fail with ENOSYS.  Some functions are actually named
99388     something starting with __ and the normal name is an alias.  */
99389 #if defined __stub_$ac_func || defined __stub___$ac_func
99390 choke me
99391 #endif
99392
99393 int
99394 main ()
99395 {
99396 return $ac_func ();
99397   ;
99398   return 0;
99399 }
99400 _ACEOF
99401 rm -f conftest.$ac_objext conftest$ac_exeext
99402 if { (ac_try="$ac_link"
99403 case "(($ac_try" in
99404   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
99405   *) ac_try_echo=$ac_try;;
99406 esac
99407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
99408   (eval "$ac_link") 2>conftest.er1
99409   ac_status=$?
99410   grep -v '^ *+' conftest.er1 >conftest.err
99411   rm -f conftest.er1
99412   cat conftest.err >&5
99413   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99414   (exit $ac_status); } && {
99415          test -z "$ac_c_werror_flag" ||
99416          test ! -s conftest.err
99417        } && test -s conftest$ac_exeext &&
99418        $as_test_x conftest$ac_exeext; then
99419   eval "$as_ac_var=yes"
99420 else
99421   echo "$as_me: failed program was:" >&5
99422 sed 's/^/| /' conftest.$ac_ext >&5
99423
99424         eval "$as_ac_var=no"
99425 fi
99426
99427 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
99428       conftest$ac_exeext conftest.$ac_ext
99429 fi
99430 ac_res=`eval echo '${'$as_ac_var'}'`
99431                { echo "$as_me:$LINENO: result: $ac_res" >&5
99432 echo "${ECHO_T}$ac_res" >&6; }
99433 if test `eval echo '${'$as_ac_var'}'` = yes; then
99434   cat >>confdefs.h <<_ACEOF
99435 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99436 _ACEOF
99437
99438 fi
99439 done
99440
99441   else
99442
99443   { echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
99444 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6; }
99445   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
99446     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
99447   echo $ECHO_N "(cached) $ECHO_C" >&6
99448 else
99449
99450
99451       ac_ext=cpp
99452 ac_cpp='$CXXCPP $CPPFLAGS'
99453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99456
99457       cat >conftest.$ac_ext <<_ACEOF
99458 /* confdefs.h.  */
99459 _ACEOF
99460 cat confdefs.h >>conftest.$ac_ext
99461 cat >>conftest.$ac_ext <<_ACEOF
99462 /* end confdefs.h.  */
99463 #include <math.h>
99464 int
99465 main ()
99466 {
99467  _sincosl(0, 0, 0);
99468   ;
99469   return 0;
99470 }
99471 _ACEOF
99472 rm -f conftest.$ac_objext
99473 if { (ac_try="$ac_compile"
99474 case "(($ac_try" in
99475   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
99476   *) ac_try_echo=$ac_try;;
99477 esac
99478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
99479   (eval "$ac_compile") 2>conftest.er1
99480   ac_status=$?
99481   grep -v '^ *+' conftest.er1 >conftest.err
99482   rm -f conftest.er1
99483   cat conftest.err >&5
99484   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99485   (exit $ac_status); } && {
99486          test -z "$ac_cxx_werror_flag" ||
99487          test ! -s conftest.err
99488        } && test -s conftest.$ac_objext; then
99489   glibcxx_cv_func__sincosl_use=yes
99490 else
99491   echo "$as_me: failed program was:" >&5
99492 sed 's/^/| /' conftest.$ac_ext >&5
99493
99494         glibcxx_cv_func__sincosl_use=no
99495 fi
99496
99497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
99498       ac_ext=c
99499 ac_cpp='$CPP $CPPFLAGS'
99500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99503
99504
99505 fi
99506
99507   fi
99508   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
99509 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6; }
99510
99511     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
99512
99513 for ac_func in _sincosl
99514 do
99515 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99516 { echo "$as_me:$LINENO: checking for $ac_func" >&5
99517 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
99518 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
99519   echo $ECHO_N "(cached) $ECHO_C" >&6
99520 else
99521   if test x$gcc_no_link = xyes; then
99522   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99523 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99524    { (exit 1); exit 1; }; }
99525 fi
99526 cat >conftest.$ac_ext <<_ACEOF
99527 /* confdefs.h.  */
99528 _ACEOF
99529 cat confdefs.h >>conftest.$ac_ext
99530 cat >>conftest.$ac_ext <<_ACEOF
99531 /* end confdefs.h.  */
99532 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99533    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
99534 #define $ac_func innocuous_$ac_func
99535
99536 /* System header to define __stub macros and hopefully few prototypes,
99537     which can conflict with char $ac_func (); below.
99538     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99539     <limits.h> exists even on freestanding compilers.  */
99540
99541 #ifdef __STDC__
99542 # include <limits.h>
99543 #else
99544 # include <assert.h>
99545 #endif
99546
99547 #undef $ac_func
99548
99549 /* Override any GCC internal prototype to avoid an error.
99550    Use char because int might match the return type of a GCC
99551    builtin and then its argument prototype would still apply.  */
99552 #ifdef __cplusplus
99553 extern "C"
99554 #endif
99555 char $ac_func ();
99556 /* The GNU C library defines this for functions which it implements
99557     to always fail with ENOSYS.  Some functions are actually named
99558     something starting with __ and the normal name is an alias.  */
99559 #if defined __stub_$ac_func || defined __stub___$ac_func
99560 choke me
99561 #endif
99562
99563 int
99564 main ()
99565 {
99566 return $ac_func ();
99567   ;
99568   return 0;
99569 }
99570 _ACEOF
99571 rm -f conftest.$ac_objext conftest$ac_exeext
99572 if { (ac_try="$ac_link"
99573 case "(($ac_try" in
99574   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
99575   *) ac_try_echo=$ac_try;;
99576 esac
99577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
99578   (eval "$ac_link") 2>conftest.er1
99579   ac_status=$?
99580   grep -v '^ *+' conftest.er1 >conftest.err
99581   rm -f conftest.er1
99582   cat conftest.err >&5
99583   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99584   (exit $ac_status); } && {
99585          test -z "$ac_c_werror_flag" ||
99586          test ! -s conftest.err
99587        } && test -s conftest$ac_exeext &&
99588        $as_test_x conftest$ac_exeext; then
99589   eval "$as_ac_var=yes"
99590 else
99591   echo "$as_me: failed program was:" >&5
99592 sed 's/^/| /' conftest.$ac_ext >&5
99593
99594         eval "$as_ac_var=no"
99595 fi
99596
99597 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
99598       conftest$ac_exeext conftest.$ac_ext
99599 fi
99600 ac_res=`eval echo '${'$as_ac_var'}'`
99601                { echo "$as_me:$LINENO: result: $ac_res" >&5
99602 echo "${ECHO_T}$ac_res" >&6; }
99603 if test `eval echo '${'$as_ac_var'}'` = yes; then
99604   cat >>confdefs.h <<_ACEOF
99605 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99606 _ACEOF
99607
99608 fi
99609 done
99610
99611     fi
99612   fi
99613
99614
99615
99616
99617
99618
99619   { echo "$as_me:$LINENO: checking for finitel declaration" >&5
99620 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6; }
99621   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
99622     if test "${glibcxx_cv_func_finitel_use+set}" = set; then
99623   echo $ECHO_N "(cached) $ECHO_C" >&6
99624 else
99625
99626
99627       ac_ext=cpp
99628 ac_cpp='$CXXCPP $CPPFLAGS'
99629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99632
99633       cat >conftest.$ac_ext <<_ACEOF
99634 /* confdefs.h.  */
99635 _ACEOF
99636 cat confdefs.h >>conftest.$ac_ext
99637 cat >>conftest.$ac_ext <<_ACEOF
99638 /* end confdefs.h.  */
99639 #include <math.h>
99640                       #ifdef HAVE_IEEEFP_H
99641                       #include <ieeefp.h>
99642                       #endif
99643
99644 int
99645 main ()
99646 {
99647  finitel(0);
99648   ;
99649   return 0;
99650 }
99651 _ACEOF
99652 rm -f conftest.$ac_objext
99653 if { (ac_try="$ac_compile"
99654 case "(($ac_try" in
99655   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
99656   *) ac_try_echo=$ac_try;;
99657 esac
99658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
99659   (eval "$ac_compile") 2>conftest.er1
99660   ac_status=$?
99661   grep -v '^ *+' conftest.er1 >conftest.err
99662   rm -f conftest.er1
99663   cat conftest.err >&5
99664   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99665   (exit $ac_status); } && {
99666          test -z "$ac_cxx_werror_flag" ||
99667          test ! -s conftest.err
99668        } && test -s conftest.$ac_objext; then
99669   glibcxx_cv_func_finitel_use=yes
99670 else
99671   echo "$as_me: failed program was:" >&5
99672 sed 's/^/| /' conftest.$ac_ext >&5
99673
99674         glibcxx_cv_func_finitel_use=no
99675 fi
99676
99677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
99678       ac_ext=c
99679 ac_cpp='$CPP $CPPFLAGS'
99680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99683
99684
99685 fi
99686
99687   fi
99688   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
99689 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6; }
99690
99691   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
99692
99693 for ac_func in finitel
99694 do
99695 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99696 { echo "$as_me:$LINENO: checking for $ac_func" >&5
99697 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
99698 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
99699   echo $ECHO_N "(cached) $ECHO_C" >&6
99700 else
99701   if test x$gcc_no_link = xyes; then
99702   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99703 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99704    { (exit 1); exit 1; }; }
99705 fi
99706 cat >conftest.$ac_ext <<_ACEOF
99707 /* confdefs.h.  */
99708 _ACEOF
99709 cat confdefs.h >>conftest.$ac_ext
99710 cat >>conftest.$ac_ext <<_ACEOF
99711 /* end confdefs.h.  */
99712 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99713    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
99714 #define $ac_func innocuous_$ac_func
99715
99716 /* System header to define __stub macros and hopefully few prototypes,
99717     which can conflict with char $ac_func (); below.
99718     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99719     <limits.h> exists even on freestanding compilers.  */
99720
99721 #ifdef __STDC__
99722 # include <limits.h>
99723 #else
99724 # include <assert.h>
99725 #endif
99726
99727 #undef $ac_func
99728
99729 /* Override any GCC internal prototype to avoid an error.
99730    Use char because int might match the return type of a GCC
99731    builtin and then its argument prototype would still apply.  */
99732 #ifdef __cplusplus
99733 extern "C"
99734 #endif
99735 char $ac_func ();
99736 /* The GNU C library defines this for functions which it implements
99737     to always fail with ENOSYS.  Some functions are actually named
99738     something starting with __ and the normal name is an alias.  */
99739 #if defined __stub_$ac_func || defined __stub___$ac_func
99740 choke me
99741 #endif
99742
99743 int
99744 main ()
99745 {
99746 return $ac_func ();
99747   ;
99748   return 0;
99749 }
99750 _ACEOF
99751 rm -f conftest.$ac_objext conftest$ac_exeext
99752 if { (ac_try="$ac_link"
99753 case "(($ac_try" in
99754   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
99755   *) ac_try_echo=$ac_try;;
99756 esac
99757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
99758   (eval "$ac_link") 2>conftest.er1
99759   ac_status=$?
99760   grep -v '^ *+' conftest.er1 >conftest.err
99761   rm -f conftest.er1
99762   cat conftest.err >&5
99763   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99764   (exit $ac_status); } && {
99765          test -z "$ac_c_werror_flag" ||
99766          test ! -s conftest.err
99767        } && test -s conftest$ac_exeext &&
99768        $as_test_x conftest$ac_exeext; then
99769   eval "$as_ac_var=yes"
99770 else
99771   echo "$as_me: failed program was:" >&5
99772 sed 's/^/| /' conftest.$ac_ext >&5
99773
99774         eval "$as_ac_var=no"
99775 fi
99776
99777 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
99778       conftest$ac_exeext conftest.$ac_ext
99779 fi
99780 ac_res=`eval echo '${'$as_ac_var'}'`
99781                { echo "$as_me:$LINENO: result: $ac_res" >&5
99782 echo "${ECHO_T}$ac_res" >&6; }
99783 if test `eval echo '${'$as_ac_var'}'` = yes; then
99784   cat >>confdefs.h <<_ACEOF
99785 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99786 _ACEOF
99787
99788 fi
99789 done
99790
99791   else
99792
99793   { echo "$as_me:$LINENO: checking for _finitel declaration" >&5
99794 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6; }
99795   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
99796     if test "${glibcxx_cv_func__finitel_use+set}" = set; then
99797   echo $ECHO_N "(cached) $ECHO_C" >&6
99798 else
99799
99800
99801       ac_ext=cpp
99802 ac_cpp='$CXXCPP $CPPFLAGS'
99803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99806
99807       cat >conftest.$ac_ext <<_ACEOF
99808 /* confdefs.h.  */
99809 _ACEOF
99810 cat confdefs.h >>conftest.$ac_ext
99811 cat >>conftest.$ac_ext <<_ACEOF
99812 /* end confdefs.h.  */
99813 #include <math.h>
99814                       #ifdef HAVE_IEEEFP_H
99815                       #include <ieeefp.h>
99816                       #endif
99817
99818 int
99819 main ()
99820 {
99821  _finitel(0);
99822   ;
99823   return 0;
99824 }
99825 _ACEOF
99826 rm -f conftest.$ac_objext
99827 if { (ac_try="$ac_compile"
99828 case "(($ac_try" in
99829   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
99830   *) ac_try_echo=$ac_try;;
99831 esac
99832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
99833   (eval "$ac_compile") 2>conftest.er1
99834   ac_status=$?
99835   grep -v '^ *+' conftest.er1 >conftest.err
99836   rm -f conftest.er1
99837   cat conftest.err >&5
99838   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99839   (exit $ac_status); } && {
99840          test -z "$ac_cxx_werror_flag" ||
99841          test ! -s conftest.err
99842        } && test -s conftest.$ac_objext; then
99843   glibcxx_cv_func__finitel_use=yes
99844 else
99845   echo "$as_me: failed program was:" >&5
99846 sed 's/^/| /' conftest.$ac_ext >&5
99847
99848         glibcxx_cv_func__finitel_use=no
99849 fi
99850
99851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
99852       ac_ext=c
99853 ac_cpp='$CPP $CPPFLAGS'
99854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99857
99858
99859 fi
99860
99861   fi
99862   { echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
99863 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6; }
99864
99865     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
99866
99867 for ac_func in _finitel
99868 do
99869 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99870 { echo "$as_me:$LINENO: checking for $ac_func" >&5
99871 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
99872 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
99873   echo $ECHO_N "(cached) $ECHO_C" >&6
99874 else
99875   if test x$gcc_no_link = xyes; then
99876   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99877 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99878    { (exit 1); exit 1; }; }
99879 fi
99880 cat >conftest.$ac_ext <<_ACEOF
99881 /* confdefs.h.  */
99882 _ACEOF
99883 cat confdefs.h >>conftest.$ac_ext
99884 cat >>conftest.$ac_ext <<_ACEOF
99885 /* end confdefs.h.  */
99886 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99887    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
99888 #define $ac_func innocuous_$ac_func
99889
99890 /* System header to define __stub macros and hopefully few prototypes,
99891     which can conflict with char $ac_func (); below.
99892     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99893     <limits.h> exists even on freestanding compilers.  */
99894
99895 #ifdef __STDC__
99896 # include <limits.h>
99897 #else
99898 # include <assert.h>
99899 #endif
99900
99901 #undef $ac_func
99902
99903 /* Override any GCC internal prototype to avoid an error.
99904    Use char because int might match the return type of a GCC
99905    builtin and then its argument prototype would still apply.  */
99906 #ifdef __cplusplus
99907 extern "C"
99908 #endif
99909 char $ac_func ();
99910 /* The GNU C library defines this for functions which it implements
99911     to always fail with ENOSYS.  Some functions are actually named
99912     something starting with __ and the normal name is an alias.  */
99913 #if defined __stub_$ac_func || defined __stub___$ac_func
99914 choke me
99915 #endif
99916
99917 int
99918 main ()
99919 {
99920 return $ac_func ();
99921   ;
99922   return 0;
99923 }
99924 _ACEOF
99925 rm -f conftest.$ac_objext conftest$ac_exeext
99926 if { (ac_try="$ac_link"
99927 case "(($ac_try" in
99928   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
99929   *) ac_try_echo=$ac_try;;
99930 esac
99931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
99932   (eval "$ac_link") 2>conftest.er1
99933   ac_status=$?
99934   grep -v '^ *+' conftest.er1 >conftest.err
99935   rm -f conftest.er1
99936   cat conftest.err >&5
99937   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99938   (exit $ac_status); } && {
99939          test -z "$ac_c_werror_flag" ||
99940          test ! -s conftest.err
99941        } && test -s conftest$ac_exeext &&
99942        $as_test_x conftest$ac_exeext; then
99943   eval "$as_ac_var=yes"
99944 else
99945   echo "$as_me: failed program was:" >&5
99946 sed 's/^/| /' conftest.$ac_ext >&5
99947
99948         eval "$as_ac_var=no"
99949 fi
99950
99951 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
99952       conftest$ac_exeext conftest.$ac_ext
99953 fi
99954 ac_res=`eval echo '${'$as_ac_var'}'`
99955                { echo "$as_me:$LINENO: result: $ac_res" >&5
99956 echo "${ECHO_T}$ac_res" >&6; }
99957 if test `eval echo '${'$as_ac_var'}'` = yes; then
99958   cat >>confdefs.h <<_ACEOF
99959 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99960 _ACEOF
99961
99962 fi
99963 done
99964
99965     fi
99966   fi
99967
99968
99969
99970
99971
99972   LIBS="$ac_save_LIBS"
99973   CXXFLAGS="$ac_save_CXXFLAGS"
99974
99975
99976
99977   { echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
99978 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6; }
99979   if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
99980     if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
99981   echo $ECHO_N "(cached) $ECHO_C" >&6
99982 else
99983
99984
99985       ac_ext=cpp
99986 ac_cpp='$CXXCPP $CPPFLAGS'
99987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99990
99991       cat >conftest.$ac_ext <<_ACEOF
99992 /* confdefs.h.  */
99993 _ACEOF
99994 cat confdefs.h >>conftest.$ac_ext
99995 cat >>conftest.$ac_ext <<_ACEOF
99996 /* end confdefs.h.  */
99997 #include <math.h>
99998 int
99999 main ()
100000 {
100001  __builtin_abs(0);
100002   ;
100003   return 0;
100004 }
100005 _ACEOF
100006 rm -f conftest.$ac_objext
100007 if { (ac_try="$ac_compile"
100008 case "(($ac_try" in
100009   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
100010   *) ac_try_echo=$ac_try;;
100011 esac
100012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
100013   (eval "$ac_compile") 2>conftest.er1
100014   ac_status=$?
100015   grep -v '^ *+' conftest.er1 >conftest.err
100016   rm -f conftest.er1
100017   cat conftest.err >&5
100018   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100019   (exit $ac_status); } && {
100020          test -z "$ac_cxx_werror_flag" ||
100021          test ! -s conftest.err
100022        } && test -s conftest.$ac_objext; then
100023   glibcxx_cv_func___builtin_abs_use=yes
100024 else
100025   echo "$as_me: failed program was:" >&5
100026 sed 's/^/| /' conftest.$ac_ext >&5
100027
100028         glibcxx_cv_func___builtin_abs_use=no
100029 fi
100030
100031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
100032       ac_ext=c
100033 ac_cpp='$CPP $CPPFLAGS'
100034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100037
100038
100039 fi
100040
100041   fi
100042   { echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
100043 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6; }
100044   if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
100045     { echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
100046 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6; }
100047     if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
100048       if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
100049   echo $ECHO_N "(cached) $ECHO_C" >&6
100050 else
100051
100052         if test x$gcc_no_link = xyes; then
100053   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100054 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100055    { (exit 1); exit 1; }; }
100056 fi
100057 cat >conftest.$ac_ext <<_ACEOF
100058 /* confdefs.h.  */
100059 _ACEOF
100060 cat confdefs.h >>conftest.$ac_ext
100061 cat >>conftest.$ac_ext <<_ACEOF
100062 /* end confdefs.h.  */
100063 #include <math.h>
100064 int
100065 main ()
100066 {
100067  __builtin_abs(0);
100068   ;
100069   return 0;
100070 }
100071 _ACEOF
100072 rm -f conftest.$ac_objext conftest$ac_exeext
100073 if { (ac_try="$ac_link"
100074 case "(($ac_try" in
100075   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
100076   *) ac_try_echo=$ac_try;;
100077 esac
100078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
100079   (eval "$ac_link") 2>conftest.er1
100080   ac_status=$?
100081   grep -v '^ *+' conftest.er1 >conftest.err
100082   rm -f conftest.er1
100083   cat conftest.err >&5
100084   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100085   (exit $ac_status); } && {
100086          test -z "$ac_c_werror_flag" ||
100087          test ! -s conftest.err
100088        } && test -s conftest$ac_exeext &&
100089        $as_test_x conftest$ac_exeext; then
100090   glibcxx_cv_func___builtin_abs_link=yes
100091 else
100092   echo "$as_me: failed program was:" >&5
100093 sed 's/^/| /' conftest.$ac_ext >&5
100094
100095         glibcxx_cv_func___builtin_abs_link=no
100096 fi
100097
100098 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
100099       conftest$ac_exeext conftest.$ac_ext
100100
100101 fi
100102
100103     fi
100104     { echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
100105 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6; }
100106
100107     if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
100108
100109 cat >>confdefs.h <<\_ACEOF
100110 #define HAVE___BUILTIN_ABS 1
100111 _ACEOF
100112
100113     fi
100114
100115   fi
100116
100117
100118   { echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
100119 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6; }
100120   if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
100121     if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
100122   echo $ECHO_N "(cached) $ECHO_C" >&6
100123 else
100124
100125
100126       ac_ext=cpp
100127 ac_cpp='$CXXCPP $CPPFLAGS'
100128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100131
100132       cat >conftest.$ac_ext <<_ACEOF
100133 /* confdefs.h.  */
100134 _ACEOF
100135 cat confdefs.h >>conftest.$ac_ext
100136 cat >>conftest.$ac_ext <<_ACEOF
100137 /* end confdefs.h.  */
100138 #include <math.h>
100139 int
100140 main ()
100141 {
100142  __builtin_fabsf(0);
100143   ;
100144   return 0;
100145 }
100146 _ACEOF
100147 rm -f conftest.$ac_objext
100148 if { (ac_try="$ac_compile"
100149 case "(($ac_try" in
100150   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
100151   *) ac_try_echo=$ac_try;;
100152 esac
100153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
100154   (eval "$ac_compile") 2>conftest.er1
100155   ac_status=$?
100156   grep -v '^ *+' conftest.er1 >conftest.err
100157   rm -f conftest.er1
100158   cat conftest.err >&5
100159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100160   (exit $ac_status); } && {
100161          test -z "$ac_cxx_werror_flag" ||
100162          test ! -s conftest.err
100163        } && test -s conftest.$ac_objext; then
100164   glibcxx_cv_func___builtin_fabsf_use=yes
100165 else
100166   echo "$as_me: failed program was:" >&5
100167 sed 's/^/| /' conftest.$ac_ext >&5
100168
100169         glibcxx_cv_func___builtin_fabsf_use=no
100170 fi
100171
100172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
100173       ac_ext=c
100174 ac_cpp='$CPP $CPPFLAGS'
100175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100178
100179
100180 fi
100181
100182   fi
100183   { echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
100184 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6; }
100185   if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
100186     { echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
100187 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6; }
100188     if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
100189       if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
100190   echo $ECHO_N "(cached) $ECHO_C" >&6
100191 else
100192
100193         if test x$gcc_no_link = xyes; then
100194   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100195 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100196    { (exit 1); exit 1; }; }
100197 fi
100198 cat >conftest.$ac_ext <<_ACEOF
100199 /* confdefs.h.  */
100200 _ACEOF
100201 cat confdefs.h >>conftest.$ac_ext
100202 cat >>conftest.$ac_ext <<_ACEOF
100203 /* end confdefs.h.  */
100204 #include <math.h>
100205 int
100206 main ()
100207 {
100208  __builtin_fabsf(0);
100209   ;
100210   return 0;
100211 }
100212 _ACEOF
100213 rm -f conftest.$ac_objext conftest$ac_exeext
100214 if { (ac_try="$ac_link"
100215 case "(($ac_try" in
100216   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
100217   *) ac_try_echo=$ac_try;;
100218 esac
100219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
100220   (eval "$ac_link") 2>conftest.er1
100221   ac_status=$?
100222   grep -v '^ *+' conftest.er1 >conftest.err
100223   rm -f conftest.er1
100224   cat conftest.err >&5
100225   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100226   (exit $ac_status); } && {
100227          test -z "$ac_c_werror_flag" ||
100228          test ! -s conftest.err
100229        } && test -s conftest$ac_exeext &&
100230        $as_test_x conftest$ac_exeext; then
100231   glibcxx_cv_func___builtin_fabsf_link=yes
100232 else
100233   echo "$as_me: failed program was:" >&5
100234 sed 's/^/| /' conftest.$ac_ext >&5
100235
100236         glibcxx_cv_func___builtin_fabsf_link=no
100237 fi
100238
100239 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
100240       conftest$ac_exeext conftest.$ac_ext
100241
100242 fi
100243
100244     fi
100245     { echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
100246 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6; }
100247
100248     if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
100249
100250 cat >>confdefs.h <<\_ACEOF
100251 #define HAVE___BUILTIN_FABSF 1
100252 _ACEOF
100253
100254     fi
100255
100256   fi
100257
100258
100259   { echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
100260 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6; }
100261   if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
100262     if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
100263   echo $ECHO_N "(cached) $ECHO_C" >&6
100264 else
100265
100266
100267       ac_ext=cpp
100268 ac_cpp='$CXXCPP $CPPFLAGS'
100269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100272
100273       cat >conftest.$ac_ext <<_ACEOF
100274 /* confdefs.h.  */
100275 _ACEOF
100276 cat confdefs.h >>conftest.$ac_ext
100277 cat >>conftest.$ac_ext <<_ACEOF
100278 /* end confdefs.h.  */
100279 #include <math.h>
100280 int
100281 main ()
100282 {
100283  __builtin_fabs(0);
100284   ;
100285   return 0;
100286 }
100287 _ACEOF
100288 rm -f conftest.$ac_objext
100289 if { (ac_try="$ac_compile"
100290 case "(($ac_try" in
100291   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
100292   *) ac_try_echo=$ac_try;;
100293 esac
100294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
100295   (eval "$ac_compile") 2>conftest.er1
100296   ac_status=$?
100297   grep -v '^ *+' conftest.er1 >conftest.err
100298   rm -f conftest.er1
100299   cat conftest.err >&5
100300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100301   (exit $ac_status); } && {
100302          test -z "$ac_cxx_werror_flag" ||
100303          test ! -s conftest.err
100304        } && test -s conftest.$ac_objext; then
100305   glibcxx_cv_func___builtin_fabs_use=yes
100306 else
100307   echo "$as_me: failed program was:" >&5
100308 sed 's/^/| /' conftest.$ac_ext >&5
100309
100310         glibcxx_cv_func___builtin_fabs_use=no
100311 fi
100312
100313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
100314       ac_ext=c
100315 ac_cpp='$CPP $CPPFLAGS'
100316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100319
100320
100321 fi
100322
100323   fi
100324   { echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
100325 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6; }
100326   if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
100327     { echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
100328 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6; }
100329     if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
100330       if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
100331   echo $ECHO_N "(cached) $ECHO_C" >&6
100332 else
100333
100334         if test x$gcc_no_link = xyes; then
100335   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100336 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100337    { (exit 1); exit 1; }; }
100338 fi
100339 cat >conftest.$ac_ext <<_ACEOF
100340 /* confdefs.h.  */
100341 _ACEOF
100342 cat confdefs.h >>conftest.$ac_ext
100343 cat >>conftest.$ac_ext <<_ACEOF
100344 /* end confdefs.h.  */
100345 #include <math.h>
100346 int
100347 main ()
100348 {
100349  __builtin_fabs(0);
100350   ;
100351   return 0;
100352 }
100353 _ACEOF
100354 rm -f conftest.$ac_objext conftest$ac_exeext
100355 if { (ac_try="$ac_link"
100356 case "(($ac_try" in
100357   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
100358   *) ac_try_echo=$ac_try;;
100359 esac
100360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
100361   (eval "$ac_link") 2>conftest.er1
100362   ac_status=$?
100363   grep -v '^ *+' conftest.er1 >conftest.err
100364   rm -f conftest.er1
100365   cat conftest.err >&5
100366   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100367   (exit $ac_status); } && {
100368          test -z "$ac_c_werror_flag" ||
100369          test ! -s conftest.err
100370        } && test -s conftest$ac_exeext &&
100371        $as_test_x conftest$ac_exeext; then
100372   glibcxx_cv_func___builtin_fabs_link=yes
100373 else
100374   echo "$as_me: failed program was:" >&5
100375 sed 's/^/| /' conftest.$ac_ext >&5
100376
100377         glibcxx_cv_func___builtin_fabs_link=no
100378 fi
100379
100380 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
100381       conftest$ac_exeext conftest.$ac_ext
100382
100383 fi
100384
100385     fi
100386     { echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
100387 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6; }
100388
100389     if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
100390
100391 cat >>confdefs.h <<\_ACEOF
100392 #define HAVE___BUILTIN_FABS 1
100393 _ACEOF
100394
100395     fi
100396
100397   fi
100398
100399
100400   { echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
100401 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6; }
100402   if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
100403     if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
100404   echo $ECHO_N "(cached) $ECHO_C" >&6
100405 else
100406
100407
100408       ac_ext=cpp
100409 ac_cpp='$CXXCPP $CPPFLAGS'
100410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100413
100414       cat >conftest.$ac_ext <<_ACEOF
100415 /* confdefs.h.  */
100416 _ACEOF
100417 cat confdefs.h >>conftest.$ac_ext
100418 cat >>conftest.$ac_ext <<_ACEOF
100419 /* end confdefs.h.  */
100420 #include <math.h>
100421 int
100422 main ()
100423 {
100424  __builtin_fabsl(0);
100425   ;
100426   return 0;
100427 }
100428 _ACEOF
100429 rm -f conftest.$ac_objext
100430 if { (ac_try="$ac_compile"
100431 case "(($ac_try" in
100432   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
100433   *) ac_try_echo=$ac_try;;
100434 esac
100435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
100436   (eval "$ac_compile") 2>conftest.er1
100437   ac_status=$?
100438   grep -v '^ *+' conftest.er1 >conftest.err
100439   rm -f conftest.er1
100440   cat conftest.err >&5
100441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100442   (exit $ac_status); } && {
100443          test -z "$ac_cxx_werror_flag" ||
100444          test ! -s conftest.err
100445        } && test -s conftest.$ac_objext; then
100446   glibcxx_cv_func___builtin_fabsl_use=yes
100447 else
100448   echo "$as_me: failed program was:" >&5
100449 sed 's/^/| /' conftest.$ac_ext >&5
100450
100451         glibcxx_cv_func___builtin_fabsl_use=no
100452 fi
100453
100454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
100455       ac_ext=c
100456 ac_cpp='$CPP $CPPFLAGS'
100457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100460
100461
100462 fi
100463
100464   fi
100465   { echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
100466 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6; }
100467   if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
100468     { echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
100469 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6; }
100470     if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
100471       if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
100472   echo $ECHO_N "(cached) $ECHO_C" >&6
100473 else
100474
100475         if test x$gcc_no_link = xyes; then
100476   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100477 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100478    { (exit 1); exit 1; }; }
100479 fi
100480 cat >conftest.$ac_ext <<_ACEOF
100481 /* confdefs.h.  */
100482 _ACEOF
100483 cat confdefs.h >>conftest.$ac_ext
100484 cat >>conftest.$ac_ext <<_ACEOF
100485 /* end confdefs.h.  */
100486 #include <math.h>
100487 int
100488 main ()
100489 {
100490  __builtin_fabsl(0);
100491   ;
100492   return 0;
100493 }
100494 _ACEOF
100495 rm -f conftest.$ac_objext conftest$ac_exeext
100496 if { (ac_try="$ac_link"
100497 case "(($ac_try" in
100498   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
100499   *) ac_try_echo=$ac_try;;
100500 esac
100501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
100502   (eval "$ac_link") 2>conftest.er1
100503   ac_status=$?
100504   grep -v '^ *+' conftest.er1 >conftest.err
100505   rm -f conftest.er1
100506   cat conftest.err >&5
100507   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100508   (exit $ac_status); } && {
100509          test -z "$ac_c_werror_flag" ||
100510          test ! -s conftest.err
100511        } && test -s conftest$ac_exeext &&
100512        $as_test_x conftest$ac_exeext; then
100513   glibcxx_cv_func___builtin_fabsl_link=yes
100514 else
100515   echo "$as_me: failed program was:" >&5
100516 sed 's/^/| /' conftest.$ac_ext >&5
100517
100518         glibcxx_cv_func___builtin_fabsl_link=no
100519 fi
100520
100521 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
100522       conftest$ac_exeext conftest.$ac_ext
100523
100524 fi
100525
100526     fi
100527     { echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
100528 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6; }
100529
100530     if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
100531
100532 cat >>confdefs.h <<\_ACEOF
100533 #define HAVE___BUILTIN_FABSL 1
100534 _ACEOF
100535
100536     fi
100537
100538   fi
100539
100540
100541   { echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
100542 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6; }
100543   if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
100544     if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
100545   echo $ECHO_N "(cached) $ECHO_C" >&6
100546 else
100547
100548
100549       ac_ext=cpp
100550 ac_cpp='$CXXCPP $CPPFLAGS'
100551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100554
100555       cat >conftest.$ac_ext <<_ACEOF
100556 /* confdefs.h.  */
100557 _ACEOF
100558 cat confdefs.h >>conftest.$ac_ext
100559 cat >>conftest.$ac_ext <<_ACEOF
100560 /* end confdefs.h.  */
100561 #include <math.h>
100562 int
100563 main ()
100564 {
100565  __builtin_labs(0);
100566   ;
100567   return 0;
100568 }
100569 _ACEOF
100570 rm -f conftest.$ac_objext
100571 if { (ac_try="$ac_compile"
100572 case "(($ac_try" in
100573   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
100574   *) ac_try_echo=$ac_try;;
100575 esac
100576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
100577   (eval "$ac_compile") 2>conftest.er1
100578   ac_status=$?
100579   grep -v '^ *+' conftest.er1 >conftest.err
100580   rm -f conftest.er1
100581   cat conftest.err >&5
100582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100583   (exit $ac_status); } && {
100584          test -z "$ac_cxx_werror_flag" ||
100585          test ! -s conftest.err
100586        } && test -s conftest.$ac_objext; then
100587   glibcxx_cv_func___builtin_labs_use=yes
100588 else
100589   echo "$as_me: failed program was:" >&5
100590 sed 's/^/| /' conftest.$ac_ext >&5
100591
100592         glibcxx_cv_func___builtin_labs_use=no
100593 fi
100594
100595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
100596       ac_ext=c
100597 ac_cpp='$CPP $CPPFLAGS'
100598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100601
100602
100603 fi
100604
100605   fi
100606   { echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
100607 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6; }
100608   if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
100609     { echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
100610 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6; }
100611     if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
100612       if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
100613   echo $ECHO_N "(cached) $ECHO_C" >&6
100614 else
100615
100616         if test x$gcc_no_link = xyes; then
100617   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100618 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100619    { (exit 1); exit 1; }; }
100620 fi
100621 cat >conftest.$ac_ext <<_ACEOF
100622 /* confdefs.h.  */
100623 _ACEOF
100624 cat confdefs.h >>conftest.$ac_ext
100625 cat >>conftest.$ac_ext <<_ACEOF
100626 /* end confdefs.h.  */
100627 #include <math.h>
100628 int
100629 main ()
100630 {
100631  __builtin_labs(0);
100632   ;
100633   return 0;
100634 }
100635 _ACEOF
100636 rm -f conftest.$ac_objext conftest$ac_exeext
100637 if { (ac_try="$ac_link"
100638 case "(($ac_try" in
100639   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
100640   *) ac_try_echo=$ac_try;;
100641 esac
100642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
100643   (eval "$ac_link") 2>conftest.er1
100644   ac_status=$?
100645   grep -v '^ *+' conftest.er1 >conftest.err
100646   rm -f conftest.er1
100647   cat conftest.err >&5
100648   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100649   (exit $ac_status); } && {
100650          test -z "$ac_c_werror_flag" ||
100651          test ! -s conftest.err
100652        } && test -s conftest$ac_exeext &&
100653        $as_test_x conftest$ac_exeext; then
100654   glibcxx_cv_func___builtin_labs_link=yes
100655 else
100656   echo "$as_me: failed program was:" >&5
100657 sed 's/^/| /' conftest.$ac_ext >&5
100658
100659         glibcxx_cv_func___builtin_labs_link=no
100660 fi
100661
100662 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
100663       conftest$ac_exeext conftest.$ac_ext
100664
100665 fi
100666
100667     fi
100668     { echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
100669 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6; }
100670
100671     if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
100672
100673 cat >>confdefs.h <<\_ACEOF
100674 #define HAVE___BUILTIN_LABS 1
100675 _ACEOF
100676
100677     fi
100678
100679   fi
100680
100681
100682
100683   { echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
100684 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6; }
100685   if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
100686     if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
100687   echo $ECHO_N "(cached) $ECHO_C" >&6
100688 else
100689
100690
100691       ac_ext=cpp
100692 ac_cpp='$CXXCPP $CPPFLAGS'
100693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100696
100697       cat >conftest.$ac_ext <<_ACEOF
100698 /* confdefs.h.  */
100699 _ACEOF
100700 cat confdefs.h >>conftest.$ac_ext
100701 cat >>conftest.$ac_ext <<_ACEOF
100702 /* end confdefs.h.  */
100703 #include <math.h>
100704 int
100705 main ()
100706 {
100707  __builtin_sqrtf(0);
100708   ;
100709   return 0;
100710 }
100711 _ACEOF
100712 rm -f conftest.$ac_objext
100713 if { (ac_try="$ac_compile"
100714 case "(($ac_try" in
100715   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
100716   *) ac_try_echo=$ac_try;;
100717 esac
100718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
100719   (eval "$ac_compile") 2>conftest.er1
100720   ac_status=$?
100721   grep -v '^ *+' conftest.er1 >conftest.err
100722   rm -f conftest.er1
100723   cat conftest.err >&5
100724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100725   (exit $ac_status); } && {
100726          test -z "$ac_cxx_werror_flag" ||
100727          test ! -s conftest.err
100728        } && test -s conftest.$ac_objext; then
100729   glibcxx_cv_func___builtin_sqrtf_use=yes
100730 else
100731   echo "$as_me: failed program was:" >&5
100732 sed 's/^/| /' conftest.$ac_ext >&5
100733
100734         glibcxx_cv_func___builtin_sqrtf_use=no
100735 fi
100736
100737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
100738       ac_ext=c
100739 ac_cpp='$CPP $CPPFLAGS'
100740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100743
100744
100745 fi
100746
100747   fi
100748   { echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
100749 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6; }
100750   if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
100751     { echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
100752 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6; }
100753     if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
100754       if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
100755   echo $ECHO_N "(cached) $ECHO_C" >&6
100756 else
100757
100758         if test x$gcc_no_link = xyes; then
100759   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100760 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100761    { (exit 1); exit 1; }; }
100762 fi
100763 cat >conftest.$ac_ext <<_ACEOF
100764 /* confdefs.h.  */
100765 _ACEOF
100766 cat confdefs.h >>conftest.$ac_ext
100767 cat >>conftest.$ac_ext <<_ACEOF
100768 /* end confdefs.h.  */
100769 #include <math.h>
100770 int
100771 main ()
100772 {
100773  __builtin_sqrtf(0);
100774   ;
100775   return 0;
100776 }
100777 _ACEOF
100778 rm -f conftest.$ac_objext conftest$ac_exeext
100779 if { (ac_try="$ac_link"
100780 case "(($ac_try" in
100781   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
100782   *) ac_try_echo=$ac_try;;
100783 esac
100784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
100785   (eval "$ac_link") 2>conftest.er1
100786   ac_status=$?
100787   grep -v '^ *+' conftest.er1 >conftest.err
100788   rm -f conftest.er1
100789   cat conftest.err >&5
100790   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100791   (exit $ac_status); } && {
100792          test -z "$ac_c_werror_flag" ||
100793          test ! -s conftest.err
100794        } && test -s conftest$ac_exeext &&
100795        $as_test_x conftest$ac_exeext; then
100796   glibcxx_cv_func___builtin_sqrtf_link=yes
100797 else
100798   echo "$as_me: failed program was:" >&5
100799 sed 's/^/| /' conftest.$ac_ext >&5
100800
100801         glibcxx_cv_func___builtin_sqrtf_link=no
100802 fi
100803
100804 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
100805       conftest$ac_exeext conftest.$ac_ext
100806
100807 fi
100808
100809     fi
100810     { echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
100811 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6; }
100812
100813     if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
100814
100815 cat >>confdefs.h <<\_ACEOF
100816 #define HAVE___BUILTIN_SQRTF 1
100817 _ACEOF
100818
100819     fi
100820
100821   fi
100822
100823
100824   { echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
100825 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6; }
100826   if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
100827     if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
100828   echo $ECHO_N "(cached) $ECHO_C" >&6
100829 else
100830
100831
100832       ac_ext=cpp
100833 ac_cpp='$CXXCPP $CPPFLAGS'
100834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100837
100838       cat >conftest.$ac_ext <<_ACEOF
100839 /* confdefs.h.  */
100840 _ACEOF
100841 cat confdefs.h >>conftest.$ac_ext
100842 cat >>conftest.$ac_ext <<_ACEOF
100843 /* end confdefs.h.  */
100844 #include <math.h>
100845 int
100846 main ()
100847 {
100848  __builtin_sqrt(0);
100849   ;
100850   return 0;
100851 }
100852 _ACEOF
100853 rm -f conftest.$ac_objext
100854 if { (ac_try="$ac_compile"
100855 case "(($ac_try" in
100856   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
100857   *) ac_try_echo=$ac_try;;
100858 esac
100859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
100860   (eval "$ac_compile") 2>conftest.er1
100861   ac_status=$?
100862   grep -v '^ *+' conftest.er1 >conftest.err
100863   rm -f conftest.er1
100864   cat conftest.err >&5
100865   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100866   (exit $ac_status); } && {
100867          test -z "$ac_cxx_werror_flag" ||
100868          test ! -s conftest.err
100869        } && test -s conftest.$ac_objext; then
100870   glibcxx_cv_func___builtin_sqrt_use=yes
100871 else
100872   echo "$as_me: failed program was:" >&5
100873 sed 's/^/| /' conftest.$ac_ext >&5
100874
100875         glibcxx_cv_func___builtin_sqrt_use=no
100876 fi
100877
100878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
100879       ac_ext=c
100880 ac_cpp='$CPP $CPPFLAGS'
100881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100884
100885
100886 fi
100887
100888   fi
100889   { echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
100890 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6; }
100891   if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
100892     { echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
100893 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6; }
100894     if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
100895       if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
100896   echo $ECHO_N "(cached) $ECHO_C" >&6
100897 else
100898
100899         if test x$gcc_no_link = xyes; then
100900   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100901 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100902    { (exit 1); exit 1; }; }
100903 fi
100904 cat >conftest.$ac_ext <<_ACEOF
100905 /* confdefs.h.  */
100906 _ACEOF
100907 cat confdefs.h >>conftest.$ac_ext
100908 cat >>conftest.$ac_ext <<_ACEOF
100909 /* end confdefs.h.  */
100910 #include <math.h>
100911 int
100912 main ()
100913 {
100914  __builtin_sqrt(0);
100915   ;
100916   return 0;
100917 }
100918 _ACEOF
100919 rm -f conftest.$ac_objext conftest$ac_exeext
100920 if { (ac_try="$ac_link"
100921 case "(($ac_try" in
100922   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
100923   *) ac_try_echo=$ac_try;;
100924 esac
100925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
100926   (eval "$ac_link") 2>conftest.er1
100927   ac_status=$?
100928   grep -v '^ *+' conftest.er1 >conftest.err
100929   rm -f conftest.er1
100930   cat conftest.err >&5
100931   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100932   (exit $ac_status); } && {
100933          test -z "$ac_c_werror_flag" ||
100934          test ! -s conftest.err
100935        } && test -s conftest$ac_exeext &&
100936        $as_test_x conftest$ac_exeext; then
100937   glibcxx_cv_func___builtin_sqrt_link=yes
100938 else
100939   echo "$as_me: failed program was:" >&5
100940 sed 's/^/| /' conftest.$ac_ext >&5
100941
100942         glibcxx_cv_func___builtin_sqrt_link=no
100943 fi
100944
100945 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
100946       conftest$ac_exeext conftest.$ac_ext
100947
100948 fi
100949
100950     fi
100951     { echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
100952 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6; }
100953
100954     if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
100955
100956 cat >>confdefs.h <<\_ACEOF
100957 #define HAVE___BUILTIN_SQRT 1
100958 _ACEOF
100959
100960     fi
100961
100962   fi
100963
100964
100965   { echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
100966 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6; }
100967   if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
100968     if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
100969   echo $ECHO_N "(cached) $ECHO_C" >&6
100970 else
100971
100972
100973       ac_ext=cpp
100974 ac_cpp='$CXXCPP $CPPFLAGS'
100975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100978
100979       cat >conftest.$ac_ext <<_ACEOF
100980 /* confdefs.h.  */
100981 _ACEOF
100982 cat confdefs.h >>conftest.$ac_ext
100983 cat >>conftest.$ac_ext <<_ACEOF
100984 /* end confdefs.h.  */
100985 #include <math.h>
100986 int
100987 main ()
100988 {
100989  __builtin_sqrtl(0);
100990   ;
100991   return 0;
100992 }
100993 _ACEOF
100994 rm -f conftest.$ac_objext
100995 if { (ac_try="$ac_compile"
100996 case "(($ac_try" in
100997   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
100998   *) ac_try_echo=$ac_try;;
100999 esac
101000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
101001   (eval "$ac_compile") 2>conftest.er1
101002   ac_status=$?
101003   grep -v '^ *+' conftest.er1 >conftest.err
101004   rm -f conftest.er1
101005   cat conftest.err >&5
101006   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101007   (exit $ac_status); } && {
101008          test -z "$ac_cxx_werror_flag" ||
101009          test ! -s conftest.err
101010        } && test -s conftest.$ac_objext; then
101011   glibcxx_cv_func___builtin_sqrtl_use=yes
101012 else
101013   echo "$as_me: failed program was:" >&5
101014 sed 's/^/| /' conftest.$ac_ext >&5
101015
101016         glibcxx_cv_func___builtin_sqrtl_use=no
101017 fi
101018
101019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
101020       ac_ext=c
101021 ac_cpp='$CPP $CPPFLAGS'
101022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101025
101026
101027 fi
101028
101029   fi
101030   { echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
101031 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6; }
101032   if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
101033     { echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
101034 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6; }
101035     if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
101036       if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
101037   echo $ECHO_N "(cached) $ECHO_C" >&6
101038 else
101039
101040         if test x$gcc_no_link = xyes; then
101041   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101042 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101043    { (exit 1); exit 1; }; }
101044 fi
101045 cat >conftest.$ac_ext <<_ACEOF
101046 /* confdefs.h.  */
101047 _ACEOF
101048 cat confdefs.h >>conftest.$ac_ext
101049 cat >>conftest.$ac_ext <<_ACEOF
101050 /* end confdefs.h.  */
101051 #include <math.h>
101052 int
101053 main ()
101054 {
101055  __builtin_sqrtl(0);
101056   ;
101057   return 0;
101058 }
101059 _ACEOF
101060 rm -f conftest.$ac_objext conftest$ac_exeext
101061 if { (ac_try="$ac_link"
101062 case "(($ac_try" in
101063   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
101064   *) ac_try_echo=$ac_try;;
101065 esac
101066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
101067   (eval "$ac_link") 2>conftest.er1
101068   ac_status=$?
101069   grep -v '^ *+' conftest.er1 >conftest.err
101070   rm -f conftest.er1
101071   cat conftest.err >&5
101072   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101073   (exit $ac_status); } && {
101074          test -z "$ac_c_werror_flag" ||
101075          test ! -s conftest.err
101076        } && test -s conftest$ac_exeext &&
101077        $as_test_x conftest$ac_exeext; then
101078   glibcxx_cv_func___builtin_sqrtl_link=yes
101079 else
101080   echo "$as_me: failed program was:" >&5
101081 sed 's/^/| /' conftest.$ac_ext >&5
101082
101083         glibcxx_cv_func___builtin_sqrtl_link=no
101084 fi
101085
101086 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
101087       conftest$ac_exeext conftest.$ac_ext
101088
101089 fi
101090
101091     fi
101092     { echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
101093 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6; }
101094
101095     if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
101096
101097 cat >>confdefs.h <<\_ACEOF
101098 #define HAVE___BUILTIN_SQRTL 1
101099 _ACEOF
101100
101101     fi
101102
101103   fi
101104
101105
101106
101107   { echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
101108 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6; }
101109   if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
101110     if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
101111   echo $ECHO_N "(cached) $ECHO_C" >&6
101112 else
101113
101114
101115       ac_ext=cpp
101116 ac_cpp='$CXXCPP $CPPFLAGS'
101117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101120
101121       cat >conftest.$ac_ext <<_ACEOF
101122 /* confdefs.h.  */
101123 _ACEOF
101124 cat confdefs.h >>conftest.$ac_ext
101125 cat >>conftest.$ac_ext <<_ACEOF
101126 /* end confdefs.h.  */
101127 #include <math.h>
101128 int
101129 main ()
101130 {
101131  __builtin_sinf(0);
101132   ;
101133   return 0;
101134 }
101135 _ACEOF
101136 rm -f conftest.$ac_objext
101137 if { (ac_try="$ac_compile"
101138 case "(($ac_try" in
101139   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
101140   *) ac_try_echo=$ac_try;;
101141 esac
101142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
101143   (eval "$ac_compile") 2>conftest.er1
101144   ac_status=$?
101145   grep -v '^ *+' conftest.er1 >conftest.err
101146   rm -f conftest.er1
101147   cat conftest.err >&5
101148   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101149   (exit $ac_status); } && {
101150          test -z "$ac_cxx_werror_flag" ||
101151          test ! -s conftest.err
101152        } && test -s conftest.$ac_objext; then
101153   glibcxx_cv_func___builtin_sinf_use=yes
101154 else
101155   echo "$as_me: failed program was:" >&5
101156 sed 's/^/| /' conftest.$ac_ext >&5
101157
101158         glibcxx_cv_func___builtin_sinf_use=no
101159 fi
101160
101161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
101162       ac_ext=c
101163 ac_cpp='$CPP $CPPFLAGS'
101164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101167
101168
101169 fi
101170
101171   fi
101172   { echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
101173 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6; }
101174   if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
101175     { echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
101176 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6; }
101177     if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
101178       if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
101179   echo $ECHO_N "(cached) $ECHO_C" >&6
101180 else
101181
101182         if test x$gcc_no_link = xyes; then
101183   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101184 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101185    { (exit 1); exit 1; }; }
101186 fi
101187 cat >conftest.$ac_ext <<_ACEOF
101188 /* confdefs.h.  */
101189 _ACEOF
101190 cat confdefs.h >>conftest.$ac_ext
101191 cat >>conftest.$ac_ext <<_ACEOF
101192 /* end confdefs.h.  */
101193 #include <math.h>
101194 int
101195 main ()
101196 {
101197  __builtin_sinf(0);
101198   ;
101199   return 0;
101200 }
101201 _ACEOF
101202 rm -f conftest.$ac_objext conftest$ac_exeext
101203 if { (ac_try="$ac_link"
101204 case "(($ac_try" in
101205   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
101206   *) ac_try_echo=$ac_try;;
101207 esac
101208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
101209   (eval "$ac_link") 2>conftest.er1
101210   ac_status=$?
101211   grep -v '^ *+' conftest.er1 >conftest.err
101212   rm -f conftest.er1
101213   cat conftest.err >&5
101214   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101215   (exit $ac_status); } && {
101216          test -z "$ac_c_werror_flag" ||
101217          test ! -s conftest.err
101218        } && test -s conftest$ac_exeext &&
101219        $as_test_x conftest$ac_exeext; then
101220   glibcxx_cv_func___builtin_sinf_link=yes
101221 else
101222   echo "$as_me: failed program was:" >&5
101223 sed 's/^/| /' conftest.$ac_ext >&5
101224
101225         glibcxx_cv_func___builtin_sinf_link=no
101226 fi
101227
101228 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
101229       conftest$ac_exeext conftest.$ac_ext
101230
101231 fi
101232
101233     fi
101234     { echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
101235 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6; }
101236
101237     if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
101238
101239 cat >>confdefs.h <<\_ACEOF
101240 #define HAVE___BUILTIN_SINF 1
101241 _ACEOF
101242
101243     fi
101244
101245   fi
101246
101247
101248   { echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
101249 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6; }
101250   if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
101251     if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
101252   echo $ECHO_N "(cached) $ECHO_C" >&6
101253 else
101254
101255
101256       ac_ext=cpp
101257 ac_cpp='$CXXCPP $CPPFLAGS'
101258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101261
101262       cat >conftest.$ac_ext <<_ACEOF
101263 /* confdefs.h.  */
101264 _ACEOF
101265 cat confdefs.h >>conftest.$ac_ext
101266 cat >>conftest.$ac_ext <<_ACEOF
101267 /* end confdefs.h.  */
101268 #include <math.h>
101269 int
101270 main ()
101271 {
101272  __builtin_sin(0);
101273   ;
101274   return 0;
101275 }
101276 _ACEOF
101277 rm -f conftest.$ac_objext
101278 if { (ac_try="$ac_compile"
101279 case "(($ac_try" in
101280   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
101281   *) ac_try_echo=$ac_try;;
101282 esac
101283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
101284   (eval "$ac_compile") 2>conftest.er1
101285   ac_status=$?
101286   grep -v '^ *+' conftest.er1 >conftest.err
101287   rm -f conftest.er1
101288   cat conftest.err >&5
101289   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101290   (exit $ac_status); } && {
101291          test -z "$ac_cxx_werror_flag" ||
101292          test ! -s conftest.err
101293        } && test -s conftest.$ac_objext; then
101294   glibcxx_cv_func___builtin_sin_use=yes
101295 else
101296   echo "$as_me: failed program was:" >&5
101297 sed 's/^/| /' conftest.$ac_ext >&5
101298
101299         glibcxx_cv_func___builtin_sin_use=no
101300 fi
101301
101302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
101303       ac_ext=c
101304 ac_cpp='$CPP $CPPFLAGS'
101305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101308
101309
101310 fi
101311
101312   fi
101313   { echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
101314 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6; }
101315   if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
101316     { echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
101317 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6; }
101318     if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
101319       if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
101320   echo $ECHO_N "(cached) $ECHO_C" >&6
101321 else
101322
101323         if test x$gcc_no_link = xyes; then
101324   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101325 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101326    { (exit 1); exit 1; }; }
101327 fi
101328 cat >conftest.$ac_ext <<_ACEOF
101329 /* confdefs.h.  */
101330 _ACEOF
101331 cat confdefs.h >>conftest.$ac_ext
101332 cat >>conftest.$ac_ext <<_ACEOF
101333 /* end confdefs.h.  */
101334 #include <math.h>
101335 int
101336 main ()
101337 {
101338  __builtin_sin(0);
101339   ;
101340   return 0;
101341 }
101342 _ACEOF
101343 rm -f conftest.$ac_objext conftest$ac_exeext
101344 if { (ac_try="$ac_link"
101345 case "(($ac_try" in
101346   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
101347   *) ac_try_echo=$ac_try;;
101348 esac
101349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
101350   (eval "$ac_link") 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          test -z "$ac_c_werror_flag" ||
101358          test ! -s conftest.err
101359        } && test -s conftest$ac_exeext &&
101360        $as_test_x conftest$ac_exeext; then
101361   glibcxx_cv_func___builtin_sin_link=yes
101362 else
101363   echo "$as_me: failed program was:" >&5
101364 sed 's/^/| /' conftest.$ac_ext >&5
101365
101366         glibcxx_cv_func___builtin_sin_link=no
101367 fi
101368
101369 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
101370       conftest$ac_exeext conftest.$ac_ext
101371
101372 fi
101373
101374     fi
101375     { echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
101376 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6; }
101377
101378     if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
101379
101380 cat >>confdefs.h <<\_ACEOF
101381 #define HAVE___BUILTIN_SIN 1
101382 _ACEOF
101383
101384     fi
101385
101386   fi
101387
101388
101389   { echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
101390 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6; }
101391   if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
101392     if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
101393   echo $ECHO_N "(cached) $ECHO_C" >&6
101394 else
101395
101396
101397       ac_ext=cpp
101398 ac_cpp='$CXXCPP $CPPFLAGS'
101399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101400 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101401 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101402
101403       cat >conftest.$ac_ext <<_ACEOF
101404 /* confdefs.h.  */
101405 _ACEOF
101406 cat confdefs.h >>conftest.$ac_ext
101407 cat >>conftest.$ac_ext <<_ACEOF
101408 /* end confdefs.h.  */
101409 #include <math.h>
101410 int
101411 main ()
101412 {
101413  __builtin_sinl(0);
101414   ;
101415   return 0;
101416 }
101417 _ACEOF
101418 rm -f conftest.$ac_objext
101419 if { (ac_try="$ac_compile"
101420 case "(($ac_try" in
101421   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
101422   *) ac_try_echo=$ac_try;;
101423 esac
101424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
101425   (eval "$ac_compile") 2>conftest.er1
101426   ac_status=$?
101427   grep -v '^ *+' conftest.er1 >conftest.err
101428   rm -f conftest.er1
101429   cat conftest.err >&5
101430   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101431   (exit $ac_status); } && {
101432          test -z "$ac_cxx_werror_flag" ||
101433          test ! -s conftest.err
101434        } && test -s conftest.$ac_objext; then
101435   glibcxx_cv_func___builtin_sinl_use=yes
101436 else
101437   echo "$as_me: failed program was:" >&5
101438 sed 's/^/| /' conftest.$ac_ext >&5
101439
101440         glibcxx_cv_func___builtin_sinl_use=no
101441 fi
101442
101443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
101444       ac_ext=c
101445 ac_cpp='$CPP $CPPFLAGS'
101446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101449
101450
101451 fi
101452
101453   fi
101454   { echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
101455 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6; }
101456   if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
101457     { echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
101458 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6; }
101459     if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
101460       if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
101461   echo $ECHO_N "(cached) $ECHO_C" >&6
101462 else
101463
101464         if test x$gcc_no_link = xyes; then
101465   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101466 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101467    { (exit 1); exit 1; }; }
101468 fi
101469 cat >conftest.$ac_ext <<_ACEOF
101470 /* confdefs.h.  */
101471 _ACEOF
101472 cat confdefs.h >>conftest.$ac_ext
101473 cat >>conftest.$ac_ext <<_ACEOF
101474 /* end confdefs.h.  */
101475 #include <math.h>
101476 int
101477 main ()
101478 {
101479  __builtin_sinl(0);
101480   ;
101481   return 0;
101482 }
101483 _ACEOF
101484 rm -f conftest.$ac_objext conftest$ac_exeext
101485 if { (ac_try="$ac_link"
101486 case "(($ac_try" in
101487   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
101488   *) ac_try_echo=$ac_try;;
101489 esac
101490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
101491   (eval "$ac_link") 2>conftest.er1
101492   ac_status=$?
101493   grep -v '^ *+' conftest.er1 >conftest.err
101494   rm -f conftest.er1
101495   cat conftest.err >&5
101496   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101497   (exit $ac_status); } && {
101498          test -z "$ac_c_werror_flag" ||
101499          test ! -s conftest.err
101500        } && test -s conftest$ac_exeext &&
101501        $as_test_x conftest$ac_exeext; then
101502   glibcxx_cv_func___builtin_sinl_link=yes
101503 else
101504   echo "$as_me: failed program was:" >&5
101505 sed 's/^/| /' conftest.$ac_ext >&5
101506
101507         glibcxx_cv_func___builtin_sinl_link=no
101508 fi
101509
101510 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
101511       conftest$ac_exeext conftest.$ac_ext
101512
101513 fi
101514
101515     fi
101516     { echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
101517 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6; }
101518
101519     if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
101520
101521 cat >>confdefs.h <<\_ACEOF
101522 #define HAVE___BUILTIN_SINL 1
101523 _ACEOF
101524
101525     fi
101526
101527   fi
101528
101529
101530
101531   { echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
101532 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6; }
101533   if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
101534     if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
101535   echo $ECHO_N "(cached) $ECHO_C" >&6
101536 else
101537
101538
101539       ac_ext=cpp
101540 ac_cpp='$CXXCPP $CPPFLAGS'
101541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101544
101545       cat >conftest.$ac_ext <<_ACEOF
101546 /* confdefs.h.  */
101547 _ACEOF
101548 cat confdefs.h >>conftest.$ac_ext
101549 cat >>conftest.$ac_ext <<_ACEOF
101550 /* end confdefs.h.  */
101551 #include <math.h>
101552 int
101553 main ()
101554 {
101555  __builtin_cosf(0);
101556   ;
101557   return 0;
101558 }
101559 _ACEOF
101560 rm -f conftest.$ac_objext
101561 if { (ac_try="$ac_compile"
101562 case "(($ac_try" in
101563   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
101564   *) ac_try_echo=$ac_try;;
101565 esac
101566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
101567   (eval "$ac_compile") 2>conftest.er1
101568   ac_status=$?
101569   grep -v '^ *+' conftest.er1 >conftest.err
101570   rm -f conftest.er1
101571   cat conftest.err >&5
101572   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101573   (exit $ac_status); } && {
101574          test -z "$ac_cxx_werror_flag" ||
101575          test ! -s conftest.err
101576        } && test -s conftest.$ac_objext; then
101577   glibcxx_cv_func___builtin_cosf_use=yes
101578 else
101579   echo "$as_me: failed program was:" >&5
101580 sed 's/^/| /' conftest.$ac_ext >&5
101581
101582         glibcxx_cv_func___builtin_cosf_use=no
101583 fi
101584
101585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
101586       ac_ext=c
101587 ac_cpp='$CPP $CPPFLAGS'
101588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101591
101592
101593 fi
101594
101595   fi
101596   { echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
101597 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6; }
101598   if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
101599     { echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
101600 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6; }
101601     if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
101602       if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
101603   echo $ECHO_N "(cached) $ECHO_C" >&6
101604 else
101605
101606         if test x$gcc_no_link = xyes; then
101607   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101608 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101609    { (exit 1); exit 1; }; }
101610 fi
101611 cat >conftest.$ac_ext <<_ACEOF
101612 /* confdefs.h.  */
101613 _ACEOF
101614 cat confdefs.h >>conftest.$ac_ext
101615 cat >>conftest.$ac_ext <<_ACEOF
101616 /* end confdefs.h.  */
101617 #include <math.h>
101618 int
101619 main ()
101620 {
101621  __builtin_cosf(0);
101622   ;
101623   return 0;
101624 }
101625 _ACEOF
101626 rm -f conftest.$ac_objext conftest$ac_exeext
101627 if { (ac_try="$ac_link"
101628 case "(($ac_try" in
101629   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
101630   *) ac_try_echo=$ac_try;;
101631 esac
101632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
101633   (eval "$ac_link") 2>conftest.er1
101634   ac_status=$?
101635   grep -v '^ *+' conftest.er1 >conftest.err
101636   rm -f conftest.er1
101637   cat conftest.err >&5
101638   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101639   (exit $ac_status); } && {
101640          test -z "$ac_c_werror_flag" ||
101641          test ! -s conftest.err
101642        } && test -s conftest$ac_exeext &&
101643        $as_test_x conftest$ac_exeext; then
101644   glibcxx_cv_func___builtin_cosf_link=yes
101645 else
101646   echo "$as_me: failed program was:" >&5
101647 sed 's/^/| /' conftest.$ac_ext >&5
101648
101649         glibcxx_cv_func___builtin_cosf_link=no
101650 fi
101651
101652 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
101653       conftest$ac_exeext conftest.$ac_ext
101654
101655 fi
101656
101657     fi
101658     { echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
101659 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6; }
101660
101661     if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
101662
101663 cat >>confdefs.h <<\_ACEOF
101664 #define HAVE___BUILTIN_COSF 1
101665 _ACEOF
101666
101667     fi
101668
101669   fi
101670
101671
101672   { echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
101673 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6; }
101674   if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
101675     if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
101676   echo $ECHO_N "(cached) $ECHO_C" >&6
101677 else
101678
101679
101680       ac_ext=cpp
101681 ac_cpp='$CXXCPP $CPPFLAGS'
101682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101685
101686       cat >conftest.$ac_ext <<_ACEOF
101687 /* confdefs.h.  */
101688 _ACEOF
101689 cat confdefs.h >>conftest.$ac_ext
101690 cat >>conftest.$ac_ext <<_ACEOF
101691 /* end confdefs.h.  */
101692 #include <math.h>
101693 int
101694 main ()
101695 {
101696  __builtin_cos(0);
101697   ;
101698   return 0;
101699 }
101700 _ACEOF
101701 rm -f conftest.$ac_objext
101702 if { (ac_try="$ac_compile"
101703 case "(($ac_try" in
101704   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
101705   *) ac_try_echo=$ac_try;;
101706 esac
101707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
101708   (eval "$ac_compile") 2>conftest.er1
101709   ac_status=$?
101710   grep -v '^ *+' conftest.er1 >conftest.err
101711   rm -f conftest.er1
101712   cat conftest.err >&5
101713   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101714   (exit $ac_status); } && {
101715          test -z "$ac_cxx_werror_flag" ||
101716          test ! -s conftest.err
101717        } && test -s conftest.$ac_objext; then
101718   glibcxx_cv_func___builtin_cos_use=yes
101719 else
101720   echo "$as_me: failed program was:" >&5
101721 sed 's/^/| /' conftest.$ac_ext >&5
101722
101723         glibcxx_cv_func___builtin_cos_use=no
101724 fi
101725
101726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
101727       ac_ext=c
101728 ac_cpp='$CPP $CPPFLAGS'
101729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101732
101733
101734 fi
101735
101736   fi
101737   { echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
101738 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6; }
101739   if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
101740     { echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
101741 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6; }
101742     if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
101743       if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
101744   echo $ECHO_N "(cached) $ECHO_C" >&6
101745 else
101746
101747         if test x$gcc_no_link = xyes; then
101748   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101749 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101750    { (exit 1); exit 1; }; }
101751 fi
101752 cat >conftest.$ac_ext <<_ACEOF
101753 /* confdefs.h.  */
101754 _ACEOF
101755 cat confdefs.h >>conftest.$ac_ext
101756 cat >>conftest.$ac_ext <<_ACEOF
101757 /* end confdefs.h.  */
101758 #include <math.h>
101759 int
101760 main ()
101761 {
101762  __builtin_cos(0);
101763   ;
101764   return 0;
101765 }
101766 _ACEOF
101767 rm -f conftest.$ac_objext conftest$ac_exeext
101768 if { (ac_try="$ac_link"
101769 case "(($ac_try" in
101770   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
101771   *) ac_try_echo=$ac_try;;
101772 esac
101773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
101774   (eval "$ac_link") 2>conftest.er1
101775   ac_status=$?
101776   grep -v '^ *+' conftest.er1 >conftest.err
101777   rm -f conftest.er1
101778   cat conftest.err >&5
101779   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101780   (exit $ac_status); } && {
101781          test -z "$ac_c_werror_flag" ||
101782          test ! -s conftest.err
101783        } && test -s conftest$ac_exeext &&
101784        $as_test_x conftest$ac_exeext; then
101785   glibcxx_cv_func___builtin_cos_link=yes
101786 else
101787   echo "$as_me: failed program was:" >&5
101788 sed 's/^/| /' conftest.$ac_ext >&5
101789
101790         glibcxx_cv_func___builtin_cos_link=no
101791 fi
101792
101793 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
101794       conftest$ac_exeext conftest.$ac_ext
101795
101796 fi
101797
101798     fi
101799     { echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
101800 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6; }
101801
101802     if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
101803
101804 cat >>confdefs.h <<\_ACEOF
101805 #define HAVE___BUILTIN_COS 1
101806 _ACEOF
101807
101808     fi
101809
101810   fi
101811
101812
101813   { echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
101814 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6; }
101815   if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
101816     if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
101817   echo $ECHO_N "(cached) $ECHO_C" >&6
101818 else
101819
101820
101821       ac_ext=cpp
101822 ac_cpp='$CXXCPP $CPPFLAGS'
101823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101826
101827       cat >conftest.$ac_ext <<_ACEOF
101828 /* confdefs.h.  */
101829 _ACEOF
101830 cat confdefs.h >>conftest.$ac_ext
101831 cat >>conftest.$ac_ext <<_ACEOF
101832 /* end confdefs.h.  */
101833 #include <math.h>
101834 int
101835 main ()
101836 {
101837  __builtin_cosl(0);
101838   ;
101839   return 0;
101840 }
101841 _ACEOF
101842 rm -f conftest.$ac_objext
101843 if { (ac_try="$ac_compile"
101844 case "(($ac_try" in
101845   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
101846   *) ac_try_echo=$ac_try;;
101847 esac
101848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
101849   (eval "$ac_compile") 2>conftest.er1
101850   ac_status=$?
101851   grep -v '^ *+' conftest.er1 >conftest.err
101852   rm -f conftest.er1
101853   cat conftest.err >&5
101854   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101855   (exit $ac_status); } && {
101856          test -z "$ac_cxx_werror_flag" ||
101857          test ! -s conftest.err
101858        } && test -s conftest.$ac_objext; then
101859   glibcxx_cv_func___builtin_cosl_use=yes
101860 else
101861   echo "$as_me: failed program was:" >&5
101862 sed 's/^/| /' conftest.$ac_ext >&5
101863
101864         glibcxx_cv_func___builtin_cosl_use=no
101865 fi
101866
101867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
101868       ac_ext=c
101869 ac_cpp='$CPP $CPPFLAGS'
101870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101873
101874
101875 fi
101876
101877   fi
101878   { echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
101879 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6; }
101880   if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
101881     { echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
101882 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6; }
101883     if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
101884       if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
101885   echo $ECHO_N "(cached) $ECHO_C" >&6
101886 else
101887
101888         if test x$gcc_no_link = xyes; then
101889   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101890 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101891    { (exit 1); exit 1; }; }
101892 fi
101893 cat >conftest.$ac_ext <<_ACEOF
101894 /* confdefs.h.  */
101895 _ACEOF
101896 cat confdefs.h >>conftest.$ac_ext
101897 cat >>conftest.$ac_ext <<_ACEOF
101898 /* end confdefs.h.  */
101899 #include <math.h>
101900 int
101901 main ()
101902 {
101903  __builtin_cosl(0);
101904   ;
101905   return 0;
101906 }
101907 _ACEOF
101908 rm -f conftest.$ac_objext conftest$ac_exeext
101909 if { (ac_try="$ac_link"
101910 case "(($ac_try" in
101911   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
101912   *) ac_try_echo=$ac_try;;
101913 esac
101914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
101915   (eval "$ac_link") 2>conftest.er1
101916   ac_status=$?
101917   grep -v '^ *+' conftest.er1 >conftest.err
101918   rm -f conftest.er1
101919   cat conftest.err >&5
101920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101921   (exit $ac_status); } && {
101922          test -z "$ac_c_werror_flag" ||
101923          test ! -s conftest.err
101924        } && test -s conftest$ac_exeext &&
101925        $as_test_x conftest$ac_exeext; then
101926   glibcxx_cv_func___builtin_cosl_link=yes
101927 else
101928   echo "$as_me: failed program was:" >&5
101929 sed 's/^/| /' conftest.$ac_ext >&5
101930
101931         glibcxx_cv_func___builtin_cosl_link=no
101932 fi
101933
101934 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
101935       conftest$ac_exeext conftest.$ac_ext
101936
101937 fi
101938
101939     fi
101940     { echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
101941 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6; }
101942
101943     if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
101944
101945 cat >>confdefs.h <<\_ACEOF
101946 #define HAVE___BUILTIN_COSL 1
101947 _ACEOF
101948
101949     fi
101950
101951   fi
101952
101953
101954
101955
101956 { echo "$as_me:$LINENO: checking for main in -lm" >&5
101957 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6; }
101958 if test "${ac_cv_lib_m_main+set}" = set; then
101959   echo $ECHO_N "(cached) $ECHO_C" >&6
101960 else
101961   ac_check_lib_save_LIBS=$LIBS
101962 LIBS="-lm  $LIBS"
101963 if test x$gcc_no_link = xyes; then
101964   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101965 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101966    { (exit 1); exit 1; }; }
101967 fi
101968 cat >conftest.$ac_ext <<_ACEOF
101969 /* confdefs.h.  */
101970 _ACEOF
101971 cat confdefs.h >>conftest.$ac_ext
101972 cat >>conftest.$ac_ext <<_ACEOF
101973 /* end confdefs.h.  */
101974
101975
101976 int
101977 main ()
101978 {
101979 return main ();
101980   ;
101981   return 0;
101982 }
101983 _ACEOF
101984 rm -f conftest.$ac_objext conftest$ac_exeext
101985 if { (ac_try="$ac_link"
101986 case "(($ac_try" in
101987   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
101988   *) ac_try_echo=$ac_try;;
101989 esac
101990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
101991   (eval "$ac_link") 2>conftest.er1
101992   ac_status=$?
101993   grep -v '^ *+' conftest.er1 >conftest.err
101994   rm -f conftest.er1
101995   cat conftest.err >&5
101996   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101997   (exit $ac_status); } && {
101998          test -z "$ac_c_werror_flag" ||
101999          test ! -s conftest.err
102000        } && test -s conftest$ac_exeext &&
102001        $as_test_x conftest$ac_exeext; then
102002   ac_cv_lib_m_main=yes
102003 else
102004   echo "$as_me: failed program was:" >&5
102005 sed 's/^/| /' conftest.$ac_ext >&5
102006
102007         ac_cv_lib_m_main=no
102008 fi
102009
102010 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
102011       conftest$ac_exeext conftest.$ac_ext
102012 LIBS=$ac_check_lib_save_LIBS
102013 fi
102014 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
102015 echo "${ECHO_T}$ac_cv_lib_m_main" >&6; }
102016 if test $ac_cv_lib_m_main = yes; then
102017   cat >>confdefs.h <<_ACEOF
102018 #define HAVE_LIBM 1
102019 _ACEOF
102020
102021   LIBS="-lm $LIBS"
102022
102023 fi
102024
102025
102026 for ac_func in copysignf
102027 do
102028 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102029 { echo "$as_me:$LINENO: checking for $ac_func" >&5
102030 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
102031 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
102032   echo $ECHO_N "(cached) $ECHO_C" >&6
102033 else
102034   if test x$gcc_no_link = xyes; then
102035   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102036 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102037    { (exit 1); exit 1; }; }
102038 fi
102039 cat >conftest.$ac_ext <<_ACEOF
102040 /* confdefs.h.  */
102041 _ACEOF
102042 cat confdefs.h >>conftest.$ac_ext
102043 cat >>conftest.$ac_ext <<_ACEOF
102044 /* end confdefs.h.  */
102045 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102046    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
102047 #define $ac_func innocuous_$ac_func
102048
102049 /* System header to define __stub macros and hopefully few prototypes,
102050     which can conflict with char $ac_func (); below.
102051     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102052     <limits.h> exists even on freestanding compilers.  */
102053
102054 #ifdef __STDC__
102055 # include <limits.h>
102056 #else
102057 # include <assert.h>
102058 #endif
102059
102060 #undef $ac_func
102061
102062 /* Override any GCC internal prototype to avoid an error.
102063    Use char because int might match the return type of a GCC
102064    builtin and then its argument prototype would still apply.  */
102065 #ifdef __cplusplus
102066 extern "C"
102067 #endif
102068 char $ac_func ();
102069 /* The GNU C library defines this for functions which it implements
102070     to always fail with ENOSYS.  Some functions are actually named
102071     something starting with __ and the normal name is an alias.  */
102072 #if defined __stub_$ac_func || defined __stub___$ac_func
102073 choke me
102074 #endif
102075
102076 int
102077 main ()
102078 {
102079 return $ac_func ();
102080   ;
102081   return 0;
102082 }
102083 _ACEOF
102084 rm -f conftest.$ac_objext conftest$ac_exeext
102085 if { (ac_try="$ac_link"
102086 case "(($ac_try" in
102087   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
102088   *) ac_try_echo=$ac_try;;
102089 esac
102090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
102091   (eval "$ac_link") 2>conftest.er1
102092   ac_status=$?
102093   grep -v '^ *+' conftest.er1 >conftest.err
102094   rm -f conftest.er1
102095   cat conftest.err >&5
102096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102097   (exit $ac_status); } && {
102098          test -z "$ac_c_werror_flag" ||
102099          test ! -s conftest.err
102100        } && test -s conftest$ac_exeext &&
102101        $as_test_x conftest$ac_exeext; then
102102   eval "$as_ac_var=yes"
102103 else
102104   echo "$as_me: failed program was:" >&5
102105 sed 's/^/| /' conftest.$ac_ext >&5
102106
102107         eval "$as_ac_var=no"
102108 fi
102109
102110 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
102111       conftest$ac_exeext conftest.$ac_ext
102112 fi
102113 ac_res=`eval echo '${'$as_ac_var'}'`
102114                { echo "$as_me:$LINENO: result: $ac_res" >&5
102115 echo "${ECHO_T}$ac_res" >&6; }
102116 if test `eval echo '${'$as_ac_var'}'` = yes; then
102117   cat >>confdefs.h <<_ACEOF
102118 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102119 _ACEOF
102120
102121 else
102122   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
102123 fi
102124 done
102125
102126
102127
102128 for ac_func in __signbit
102129 do
102130 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102131 { echo "$as_me:$LINENO: checking for $ac_func" >&5
102132 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
102133 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
102134   echo $ECHO_N "(cached) $ECHO_C" >&6
102135 else
102136   if test x$gcc_no_link = xyes; then
102137   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102138 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102139    { (exit 1); exit 1; }; }
102140 fi
102141 cat >conftest.$ac_ext <<_ACEOF
102142 /* confdefs.h.  */
102143 _ACEOF
102144 cat confdefs.h >>conftest.$ac_ext
102145 cat >>conftest.$ac_ext <<_ACEOF
102146 /* end confdefs.h.  */
102147 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102148    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
102149 #define $ac_func innocuous_$ac_func
102150
102151 /* System header to define __stub macros and hopefully few prototypes,
102152     which can conflict with char $ac_func (); below.
102153     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102154     <limits.h> exists even on freestanding compilers.  */
102155
102156 #ifdef __STDC__
102157 # include <limits.h>
102158 #else
102159 # include <assert.h>
102160 #endif
102161
102162 #undef $ac_func
102163
102164 /* Override any GCC internal prototype to avoid an error.
102165    Use char because int might match the return type of a GCC
102166    builtin and then its argument prototype would still apply.  */
102167 #ifdef __cplusplus
102168 extern "C"
102169 #endif
102170 char $ac_func ();
102171 /* The GNU C library defines this for functions which it implements
102172     to always fail with ENOSYS.  Some functions are actually named
102173     something starting with __ and the normal name is an alias.  */
102174 #if defined __stub_$ac_func || defined __stub___$ac_func
102175 choke me
102176 #endif
102177
102178 int
102179 main ()
102180 {
102181 return $ac_func ();
102182   ;
102183   return 0;
102184 }
102185 _ACEOF
102186 rm -f conftest.$ac_objext conftest$ac_exeext
102187 if { (ac_try="$ac_link"
102188 case "(($ac_try" in
102189   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
102190   *) ac_try_echo=$ac_try;;
102191 esac
102192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
102193   (eval "$ac_link") 2>conftest.er1
102194   ac_status=$?
102195   grep -v '^ *+' conftest.er1 >conftest.err
102196   rm -f conftest.er1
102197   cat conftest.err >&5
102198   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102199   (exit $ac_status); } && {
102200          test -z "$ac_c_werror_flag" ||
102201          test ! -s conftest.err
102202        } && test -s conftest$ac_exeext &&
102203        $as_test_x conftest$ac_exeext; then
102204   eval "$as_ac_var=yes"
102205 else
102206   echo "$as_me: failed program was:" >&5
102207 sed 's/^/| /' conftest.$ac_ext >&5
102208
102209         eval "$as_ac_var=no"
102210 fi
102211
102212 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
102213       conftest$ac_exeext conftest.$ac_ext
102214 fi
102215 ac_res=`eval echo '${'$as_ac_var'}'`
102216                { echo "$as_me:$LINENO: result: $ac_res" >&5
102217 echo "${ECHO_T}$ac_res" >&6; }
102218 if test `eval echo '${'$as_ac_var'}'` = yes; then
102219   cat >>confdefs.h <<_ACEOF
102220 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102221 _ACEOF
102222
102223 else
102224   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
102225 fi
102226 done
102227
102228
102229
102230 for ac_func in __signbitf
102231 do
102232 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102233 { echo "$as_me:$LINENO: checking for $ac_func" >&5
102234 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
102235 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
102236   echo $ECHO_N "(cached) $ECHO_C" >&6
102237 else
102238   if test x$gcc_no_link = xyes; then
102239   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102240 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102241    { (exit 1); exit 1; }; }
102242 fi
102243 cat >conftest.$ac_ext <<_ACEOF
102244 /* confdefs.h.  */
102245 _ACEOF
102246 cat confdefs.h >>conftest.$ac_ext
102247 cat >>conftest.$ac_ext <<_ACEOF
102248 /* end confdefs.h.  */
102249 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102250    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
102251 #define $ac_func innocuous_$ac_func
102252
102253 /* System header to define __stub macros and hopefully few prototypes,
102254     which can conflict with char $ac_func (); below.
102255     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102256     <limits.h> exists even on freestanding compilers.  */
102257
102258 #ifdef __STDC__
102259 # include <limits.h>
102260 #else
102261 # include <assert.h>
102262 #endif
102263
102264 #undef $ac_func
102265
102266 /* Override any GCC internal prototype to avoid an error.
102267    Use char because int might match the return type of a GCC
102268    builtin and then its argument prototype would still apply.  */
102269 #ifdef __cplusplus
102270 extern "C"
102271 #endif
102272 char $ac_func ();
102273 /* The GNU C library defines this for functions which it implements
102274     to always fail with ENOSYS.  Some functions are actually named
102275     something starting with __ and the normal name is an alias.  */
102276 #if defined __stub_$ac_func || defined __stub___$ac_func
102277 choke me
102278 #endif
102279
102280 int
102281 main ()
102282 {
102283 return $ac_func ();
102284   ;
102285   return 0;
102286 }
102287 _ACEOF
102288 rm -f conftest.$ac_objext conftest$ac_exeext
102289 if { (ac_try="$ac_link"
102290 case "(($ac_try" in
102291   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
102292   *) ac_try_echo=$ac_try;;
102293 esac
102294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
102295   (eval "$ac_link") 2>conftest.er1
102296   ac_status=$?
102297   grep -v '^ *+' conftest.er1 >conftest.err
102298   rm -f conftest.er1
102299   cat conftest.err >&5
102300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102301   (exit $ac_status); } && {
102302          test -z "$ac_c_werror_flag" ||
102303          test ! -s conftest.err
102304        } && test -s conftest$ac_exeext &&
102305        $as_test_x conftest$ac_exeext; then
102306   eval "$as_ac_var=yes"
102307 else
102308   echo "$as_me: failed program was:" >&5
102309 sed 's/^/| /' conftest.$ac_ext >&5
102310
102311         eval "$as_ac_var=no"
102312 fi
102313
102314 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
102315       conftest$ac_exeext conftest.$ac_ext
102316 fi
102317 ac_res=`eval echo '${'$as_ac_var'}'`
102318                { echo "$as_me:$LINENO: result: $ac_res" >&5
102319 echo "${ECHO_T}$ac_res" >&6; }
102320 if test `eval echo '${'$as_ac_var'}'` = yes; then
102321   cat >>confdefs.h <<_ACEOF
102322 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102323 _ACEOF
102324
102325 else
102326   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
102327 fi
102328 done
102329
102330
102331           if test x$ac_cv_func_copysignl = x"yes"; then
102332
102333 for ac_func in __signbitl
102334 do
102335 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102336 { echo "$as_me:$LINENO: checking for $ac_func" >&5
102337 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
102338 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
102339   echo $ECHO_N "(cached) $ECHO_C" >&6
102340 else
102341   if test x$gcc_no_link = xyes; then
102342   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102343 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102344    { (exit 1); exit 1; }; }
102345 fi
102346 cat >conftest.$ac_ext <<_ACEOF
102347 /* confdefs.h.  */
102348 _ACEOF
102349 cat confdefs.h >>conftest.$ac_ext
102350 cat >>conftest.$ac_ext <<_ACEOF
102351 /* end confdefs.h.  */
102352 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102353    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
102354 #define $ac_func innocuous_$ac_func
102355
102356 /* System header to define __stub macros and hopefully few prototypes,
102357     which can conflict with char $ac_func (); below.
102358     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102359     <limits.h> exists even on freestanding compilers.  */
102360
102361 #ifdef __STDC__
102362 # include <limits.h>
102363 #else
102364 # include <assert.h>
102365 #endif
102366
102367 #undef $ac_func
102368
102369 /* Override any GCC internal prototype to avoid an error.
102370    Use char because int might match the return type of a GCC
102371    builtin and then its argument prototype would still apply.  */
102372 #ifdef __cplusplus
102373 extern "C"
102374 #endif
102375 char $ac_func ();
102376 /* The GNU C library defines this for functions which it implements
102377     to always fail with ENOSYS.  Some functions are actually named
102378     something starting with __ and the normal name is an alias.  */
102379 #if defined __stub_$ac_func || defined __stub___$ac_func
102380 choke me
102381 #endif
102382
102383 int
102384 main ()
102385 {
102386 return $ac_func ();
102387   ;
102388   return 0;
102389 }
102390 _ACEOF
102391 rm -f conftest.$ac_objext conftest$ac_exeext
102392 if { (ac_try="$ac_link"
102393 case "(($ac_try" in
102394   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
102395   *) ac_try_echo=$ac_try;;
102396 esac
102397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
102398   (eval "$ac_link") 2>conftest.er1
102399   ac_status=$?
102400   grep -v '^ *+' conftest.er1 >conftest.err
102401   rm -f conftest.er1
102402   cat conftest.err >&5
102403   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102404   (exit $ac_status); } && {
102405          test -z "$ac_c_werror_flag" ||
102406          test ! -s conftest.err
102407        } && test -s conftest$ac_exeext &&
102408        $as_test_x conftest$ac_exeext; then
102409   eval "$as_ac_var=yes"
102410 else
102411   echo "$as_me: failed program was:" >&5
102412 sed 's/^/| /' conftest.$ac_ext >&5
102413
102414         eval "$as_ac_var=no"
102415 fi
102416
102417 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
102418       conftest$ac_exeext conftest.$ac_ext
102419 fi
102420 ac_res=`eval echo '${'$as_ac_var'}'`
102421                { echo "$as_me:$LINENO: result: $ac_res" >&5
102422 echo "${ECHO_T}$ac_res" >&6; }
102423 if test `eval echo '${'$as_ac_var'}'` = yes; then
102424   cat >>confdefs.h <<_ACEOF
102425 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102426 _ACEOF
102427
102428 else
102429   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
102430 fi
102431 done
102432
102433   fi
102434
102435   # Used in libmath/Makefile.am.
102436   if test -n "$LIBMATHOBJS"; then
102437     need_libmath=yes
102438   fi
102439
102440
102441
102442   ac_test_CXXFLAGS="${CXXFLAGS+set}"
102443   ac_save_CXXFLAGS="$CXXFLAGS"
102444   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
102445
102446
102447   { echo "$as_me:$LINENO: checking for strtold declaration" >&5
102448 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6; }
102449   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
102450     if test "${glibcxx_cv_func_strtold_use+set}" = set; then
102451   echo $ECHO_N "(cached) $ECHO_C" >&6
102452 else
102453
102454
102455       ac_ext=cpp
102456 ac_cpp='$CXXCPP $CPPFLAGS'
102457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102460
102461       cat >conftest.$ac_ext <<_ACEOF
102462 /* confdefs.h.  */
102463 _ACEOF
102464 cat confdefs.h >>conftest.$ac_ext
102465 cat >>conftest.$ac_ext <<_ACEOF
102466 /* end confdefs.h.  */
102467 #include <stdlib.h>
102468 int
102469 main ()
102470 {
102471  strtold(0, 0);
102472   ;
102473   return 0;
102474 }
102475 _ACEOF
102476 rm -f conftest.$ac_objext
102477 if { (ac_try="$ac_compile"
102478 case "(($ac_try" in
102479   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
102480   *) ac_try_echo=$ac_try;;
102481 esac
102482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
102483   (eval "$ac_compile") 2>conftest.er1
102484   ac_status=$?
102485   grep -v '^ *+' conftest.er1 >conftest.err
102486   rm -f conftest.er1
102487   cat conftest.err >&5
102488   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102489   (exit $ac_status); } && {
102490          test -z "$ac_cxx_werror_flag" ||
102491          test ! -s conftest.err
102492        } && test -s conftest.$ac_objext; then
102493   glibcxx_cv_func_strtold_use=yes
102494 else
102495   echo "$as_me: failed program was:" >&5
102496 sed 's/^/| /' conftest.$ac_ext >&5
102497
102498         glibcxx_cv_func_strtold_use=no
102499 fi
102500
102501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
102502       ac_ext=c
102503 ac_cpp='$CPP $CPPFLAGS'
102504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102507
102508
102509 fi
102510
102511   fi
102512   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
102513 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6; }
102514   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
102515
102516 for ac_func in strtold
102517 do
102518 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102519 { echo "$as_me:$LINENO: checking for $ac_func" >&5
102520 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
102521 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
102522   echo $ECHO_N "(cached) $ECHO_C" >&6
102523 else
102524   if test x$gcc_no_link = xyes; then
102525   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102526 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102527    { (exit 1); exit 1; }; }
102528 fi
102529 cat >conftest.$ac_ext <<_ACEOF
102530 /* confdefs.h.  */
102531 _ACEOF
102532 cat confdefs.h >>conftest.$ac_ext
102533 cat >>conftest.$ac_ext <<_ACEOF
102534 /* end confdefs.h.  */
102535 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102536    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
102537 #define $ac_func innocuous_$ac_func
102538
102539 /* System header to define __stub macros and hopefully few prototypes,
102540     which can conflict with char $ac_func (); below.
102541     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102542     <limits.h> exists even on freestanding compilers.  */
102543
102544 #ifdef __STDC__
102545 # include <limits.h>
102546 #else
102547 # include <assert.h>
102548 #endif
102549
102550 #undef $ac_func
102551
102552 /* Override any GCC internal prototype to avoid an error.
102553    Use char because int might match the return type of a GCC
102554    builtin and then its argument prototype would still apply.  */
102555 #ifdef __cplusplus
102556 extern "C"
102557 #endif
102558 char $ac_func ();
102559 /* The GNU C library defines this for functions which it implements
102560     to always fail with ENOSYS.  Some functions are actually named
102561     something starting with __ and the normal name is an alias.  */
102562 #if defined __stub_$ac_func || defined __stub___$ac_func
102563 choke me
102564 #endif
102565
102566 int
102567 main ()
102568 {
102569 return $ac_func ();
102570   ;
102571   return 0;
102572 }
102573 _ACEOF
102574 rm -f conftest.$ac_objext conftest$ac_exeext
102575 if { (ac_try="$ac_link"
102576 case "(($ac_try" in
102577   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
102578   *) ac_try_echo=$ac_try;;
102579 esac
102580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
102581   (eval "$ac_link") 2>conftest.er1
102582   ac_status=$?
102583   grep -v '^ *+' conftest.er1 >conftest.err
102584   rm -f conftest.er1
102585   cat conftest.err >&5
102586   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102587   (exit $ac_status); } && {
102588          test -z "$ac_c_werror_flag" ||
102589          test ! -s conftest.err
102590        } && test -s conftest$ac_exeext &&
102591        $as_test_x conftest$ac_exeext; then
102592   eval "$as_ac_var=yes"
102593 else
102594   echo "$as_me: failed program was:" >&5
102595 sed 's/^/| /' conftest.$ac_ext >&5
102596
102597         eval "$as_ac_var=no"
102598 fi
102599
102600 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
102601       conftest$ac_exeext conftest.$ac_ext
102602 fi
102603 ac_res=`eval echo '${'$as_ac_var'}'`
102604                { echo "$as_me:$LINENO: result: $ac_res" >&5
102605 echo "${ECHO_T}$ac_res" >&6; }
102606 if test `eval echo '${'$as_ac_var'}'` = yes; then
102607   cat >>confdefs.h <<_ACEOF
102608 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102609 _ACEOF
102610
102611 fi
102612 done
102613
102614   fi
102615
102616
102617
102618
102619
102620   { echo "$as_me:$LINENO: checking for strtof declaration" >&5
102621 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6; }
102622   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
102623     if test "${glibcxx_cv_func_strtof_use+set}" = set; then
102624   echo $ECHO_N "(cached) $ECHO_C" >&6
102625 else
102626
102627
102628       ac_ext=cpp
102629 ac_cpp='$CXXCPP $CPPFLAGS'
102630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102633
102634       cat >conftest.$ac_ext <<_ACEOF
102635 /* confdefs.h.  */
102636 _ACEOF
102637 cat confdefs.h >>conftest.$ac_ext
102638 cat >>conftest.$ac_ext <<_ACEOF
102639 /* end confdefs.h.  */
102640 #include <stdlib.h>
102641 int
102642 main ()
102643 {
102644  strtof(0, 0);
102645   ;
102646   return 0;
102647 }
102648 _ACEOF
102649 rm -f conftest.$ac_objext
102650 if { (ac_try="$ac_compile"
102651 case "(($ac_try" in
102652   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
102653   *) ac_try_echo=$ac_try;;
102654 esac
102655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
102656   (eval "$ac_compile") 2>conftest.er1
102657   ac_status=$?
102658   grep -v '^ *+' conftest.er1 >conftest.err
102659   rm -f conftest.er1
102660   cat conftest.err >&5
102661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102662   (exit $ac_status); } && {
102663          test -z "$ac_cxx_werror_flag" ||
102664          test ! -s conftest.err
102665        } && test -s conftest.$ac_objext; then
102666   glibcxx_cv_func_strtof_use=yes
102667 else
102668   echo "$as_me: failed program was:" >&5
102669 sed 's/^/| /' conftest.$ac_ext >&5
102670
102671         glibcxx_cv_func_strtof_use=no
102672 fi
102673
102674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
102675       ac_ext=c
102676 ac_cpp='$CPP $CPPFLAGS'
102677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102680
102681
102682 fi
102683
102684   fi
102685   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
102686 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6; }
102687   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
102688
102689 for ac_func in strtof
102690 do
102691 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102692 { echo "$as_me:$LINENO: checking for $ac_func" >&5
102693 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
102694 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
102695   echo $ECHO_N "(cached) $ECHO_C" >&6
102696 else
102697   if test x$gcc_no_link = xyes; then
102698   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102699 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102700    { (exit 1); exit 1; }; }
102701 fi
102702 cat >conftest.$ac_ext <<_ACEOF
102703 /* confdefs.h.  */
102704 _ACEOF
102705 cat confdefs.h >>conftest.$ac_ext
102706 cat >>conftest.$ac_ext <<_ACEOF
102707 /* end confdefs.h.  */
102708 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102709    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
102710 #define $ac_func innocuous_$ac_func
102711
102712 /* System header to define __stub macros and hopefully few prototypes,
102713     which can conflict with char $ac_func (); below.
102714     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102715     <limits.h> exists even on freestanding compilers.  */
102716
102717 #ifdef __STDC__
102718 # include <limits.h>
102719 #else
102720 # include <assert.h>
102721 #endif
102722
102723 #undef $ac_func
102724
102725 /* Override any GCC internal prototype to avoid an error.
102726    Use char because int might match the return type of a GCC
102727    builtin and then its argument prototype would still apply.  */
102728 #ifdef __cplusplus
102729 extern "C"
102730 #endif
102731 char $ac_func ();
102732 /* The GNU C library defines this for functions which it implements
102733     to always fail with ENOSYS.  Some functions are actually named
102734     something starting with __ and the normal name is an alias.  */
102735 #if defined __stub_$ac_func || defined __stub___$ac_func
102736 choke me
102737 #endif
102738
102739 int
102740 main ()
102741 {
102742 return $ac_func ();
102743   ;
102744   return 0;
102745 }
102746 _ACEOF
102747 rm -f conftest.$ac_objext conftest$ac_exeext
102748 if { (ac_try="$ac_link"
102749 case "(($ac_try" in
102750   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
102751   *) ac_try_echo=$ac_try;;
102752 esac
102753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
102754   (eval "$ac_link") 2>conftest.er1
102755   ac_status=$?
102756   grep -v '^ *+' conftest.er1 >conftest.err
102757   rm -f conftest.er1
102758   cat conftest.err >&5
102759   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102760   (exit $ac_status); } && {
102761          test -z "$ac_c_werror_flag" ||
102762          test ! -s conftest.err
102763        } && test -s conftest$ac_exeext &&
102764        $as_test_x conftest$ac_exeext; then
102765   eval "$as_ac_var=yes"
102766 else
102767   echo "$as_me: failed program was:" >&5
102768 sed 's/^/| /' conftest.$ac_ext >&5
102769
102770         eval "$as_ac_var=no"
102771 fi
102772
102773 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
102774       conftest$ac_exeext conftest.$ac_ext
102775 fi
102776 ac_res=`eval echo '${'$as_ac_var'}'`
102777                { echo "$as_me:$LINENO: result: $ac_res" >&5
102778 echo "${ECHO_T}$ac_res" >&6; }
102779 if test `eval echo '${'$as_ac_var'}'` = yes; then
102780   cat >>confdefs.h <<_ACEOF
102781 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102782 _ACEOF
102783
102784 fi
102785 done
102786
102787   fi
102788
102789
102790
102791
102792
102793   CXXFLAGS="$ac_save_CXXFLAGS"
102794
102795
102796     # For LFS.
102797     cat >>confdefs.h <<\_ACEOF
102798 #define HAVE_INT64_T 1
102799 _ACEOF
102800
102801
102802
102803   ac_ext=cpp
102804 ac_cpp='$CXXCPP $CPPFLAGS'
102805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102808
102809   ac_save_CXXFLAGS="$CXXFLAGS"
102810   CXXFLAGS="$CXXFLAGS -fno-exceptions"
102811   { echo "$as_me:$LINENO: checking for LFS support" >&5
102812 echo $ECHO_N "checking for LFS support... $ECHO_C" >&6; }
102813   if test "${glibcxx_cv_LFS+set}" = set; then
102814   echo $ECHO_N "(cached) $ECHO_C" >&6
102815 else
102816
102817     if test x$gcc_no_link = xyes; then
102818   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102819 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102820    { (exit 1); exit 1; }; }
102821 fi
102822 cat >conftest.$ac_ext <<_ACEOF
102823 /* confdefs.h.  */
102824 _ACEOF
102825 cat confdefs.h >>conftest.$ac_ext
102826 cat >>conftest.$ac_ext <<_ACEOF
102827 /* end confdefs.h.  */
102828 #include <unistd.h>
102829        #include <stdio.h>
102830        #include <sys/stat.h>
102831
102832 int
102833 main ()
102834 {
102835 FILE* fp;
102836        fopen64("t", "w");
102837        fseeko64(fp, 0, SEEK_CUR);
102838        ftello64(fp);
102839        lseek64(1, 0, SEEK_CUR);
102840        struct stat64 buf;
102841        fstat64(1, &buf);
102842   ;
102843   return 0;
102844 }
102845 _ACEOF
102846 rm -f conftest.$ac_objext conftest$ac_exeext
102847 if { (ac_try="$ac_link"
102848 case "(($ac_try" in
102849   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
102850   *) ac_try_echo=$ac_try;;
102851 esac
102852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
102853   (eval "$ac_link") 2>conftest.er1
102854   ac_status=$?
102855   grep -v '^ *+' conftest.er1 >conftest.err
102856   rm -f conftest.er1
102857   cat conftest.err >&5
102858   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102859   (exit $ac_status); } && {
102860          test -z "$ac_cxx_werror_flag" ||
102861          test ! -s conftest.err
102862        } && test -s conftest$ac_exeext &&
102863        $as_test_x conftest$ac_exeext; then
102864   glibcxx_cv_LFS=yes
102865 else
102866   echo "$as_me: failed program was:" >&5
102867 sed 's/^/| /' conftest.$ac_ext >&5
102868
102869         glibcxx_cv_LFS=no
102870 fi
102871
102872 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
102873       conftest$ac_exeext conftest.$ac_ext
102874
102875 fi
102876
102877   if test $glibcxx_cv_LFS = yes; then
102878
102879 cat >>confdefs.h <<\_ACEOF
102880 #define _GLIBCXX_USE_LFS 1
102881 _ACEOF
102882
102883   fi
102884   { echo "$as_me:$LINENO: result: $glibcxx_cv_LFS" >&5
102885 echo "${ECHO_T}$glibcxx_cv_LFS" >&6; }
102886   CXXFLAGS="$ac_save_CXXFLAGS"
102887   ac_ext=c
102888 ac_cpp='$CPP $CPPFLAGS'
102889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102892
102893
102894
102895     # For showmanyc_helper().
102896
102897
102898 for ac_header in sys/ioctl.h sys/filio.h
102899 do
102900 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
102901 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
102902   { echo "$as_me:$LINENO: checking for $ac_header" >&5
102903 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
102904 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
102905   echo $ECHO_N "(cached) $ECHO_C" >&6
102906 fi
102907 ac_res=`eval echo '${'$as_ac_Header'}'`
102908                { echo "$as_me:$LINENO: result: $ac_res" >&5
102909 echo "${ECHO_T}$ac_res" >&6; }
102910 else
102911   # Is the header compilable?
102912 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
102913 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
102914 cat >conftest.$ac_ext <<_ACEOF
102915 /* confdefs.h.  */
102916 _ACEOF
102917 cat confdefs.h >>conftest.$ac_ext
102918 cat >>conftest.$ac_ext <<_ACEOF
102919 /* end confdefs.h.  */
102920 $ac_includes_default
102921 #include <$ac_header>
102922 _ACEOF
102923 rm -f conftest.$ac_objext
102924 if { (ac_try="$ac_compile"
102925 case "(($ac_try" in
102926   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
102927   *) ac_try_echo=$ac_try;;
102928 esac
102929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
102930   (eval "$ac_compile") 2>conftest.er1
102931   ac_status=$?
102932   grep -v '^ *+' conftest.er1 >conftest.err
102933   rm -f conftest.er1
102934   cat conftest.err >&5
102935   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102936   (exit $ac_status); } && {
102937          test -z "$ac_c_werror_flag" ||
102938          test ! -s conftest.err
102939        } && test -s conftest.$ac_objext; then
102940   ac_header_compiler=yes
102941 else
102942   echo "$as_me: failed program was:" >&5
102943 sed 's/^/| /' conftest.$ac_ext >&5
102944
102945         ac_header_compiler=no
102946 fi
102947
102948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
102949 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
102950 echo "${ECHO_T}$ac_header_compiler" >&6; }
102951
102952 # Is the header present?
102953 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
102954 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
102955 cat >conftest.$ac_ext <<_ACEOF
102956 /* confdefs.h.  */
102957 _ACEOF
102958 cat confdefs.h >>conftest.$ac_ext
102959 cat >>conftest.$ac_ext <<_ACEOF
102960 /* end confdefs.h.  */
102961 #include <$ac_header>
102962 _ACEOF
102963 if { (ac_try="$ac_cpp conftest.$ac_ext"
102964 case "(($ac_try" in
102965   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
102966   *) ac_try_echo=$ac_try;;
102967 esac
102968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
102969   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
102970   ac_status=$?
102971   grep -v '^ *+' conftest.er1 >conftest.err
102972   rm -f conftest.er1
102973   cat conftest.err >&5
102974   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102975   (exit $ac_status); } >/dev/null && {
102976          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
102977          test ! -s conftest.err
102978        }; then
102979   ac_header_preproc=yes
102980 else
102981   echo "$as_me: failed program was:" >&5
102982 sed 's/^/| /' conftest.$ac_ext >&5
102983
102984   ac_header_preproc=no
102985 fi
102986
102987 rm -f conftest.err conftest.$ac_ext
102988 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
102989 echo "${ECHO_T}$ac_header_preproc" >&6; }
102990
102991 # So?  What about this header?
102992 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
102993   yes:no: )
102994     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
102995 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
102996     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
102997 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
102998     ac_header_preproc=yes
102999     ;;
103000   no:yes:* )
103001     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
103002 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
103003     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
103004 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
103005     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
103006 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
103007     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
103008 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
103009     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
103010 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
103011     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
103012 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
103013
103014     ;;
103015 esac
103016 { echo "$as_me:$LINENO: checking for $ac_header" >&5
103017 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
103018 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
103019   echo $ECHO_N "(cached) $ECHO_C" >&6
103020 else
103021   eval "$as_ac_Header=\$ac_header_preproc"
103022 fi
103023 ac_res=`eval echo '${'$as_ac_Header'}'`
103024                { echo "$as_me:$LINENO: result: $ac_res" >&5
103025 echo "${ECHO_T}$ac_res" >&6; }
103026
103027 fi
103028 if test `eval echo '${'$as_ac_Header'}'` = yes; then
103029   cat >>confdefs.h <<_ACEOF
103030 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
103031 _ACEOF
103032
103033 fi
103034
103035 done
103036
103037
103038   { echo "$as_me:$LINENO: checking for poll" >&5
103039 echo $ECHO_N "checking for poll... $ECHO_C" >&6; }
103040   if test "${glibcxx_cv_POLL+set}" = set; then
103041   echo $ECHO_N "(cached) $ECHO_C" >&6
103042 else
103043
103044     if test x$gcc_no_link = xyes; then
103045   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103046 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103047    { (exit 1); exit 1; }; }
103048 fi
103049 cat >conftest.$ac_ext <<_ACEOF
103050 /* confdefs.h.  */
103051 _ACEOF
103052 cat confdefs.h >>conftest.$ac_ext
103053 cat >>conftest.$ac_ext <<_ACEOF
103054 /* end confdefs.h.  */
103055 #include <poll.h>
103056 int
103057 main ()
103058 {
103059 struct pollfd pfd[1];
103060        pfd[0].events = POLLIN;
103061        poll(pfd, 1, 0);
103062   ;
103063   return 0;
103064 }
103065 _ACEOF
103066 rm -f conftest.$ac_objext conftest$ac_exeext
103067 if { (ac_try="$ac_link"
103068 case "(($ac_try" in
103069   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
103070   *) ac_try_echo=$ac_try;;
103071 esac
103072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
103073   (eval "$ac_link") 2>conftest.er1
103074   ac_status=$?
103075   grep -v '^ *+' conftest.er1 >conftest.err
103076   rm -f conftest.er1
103077   cat conftest.err >&5
103078   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103079   (exit $ac_status); } && {
103080          test -z "$ac_c_werror_flag" ||
103081          test ! -s conftest.err
103082        } && test -s conftest$ac_exeext &&
103083        $as_test_x conftest$ac_exeext; then
103084   glibcxx_cv_POLL=yes
103085 else
103086   echo "$as_me: failed program was:" >&5
103087 sed 's/^/| /' conftest.$ac_ext >&5
103088
103089         glibcxx_cv_POLL=no
103090 fi
103091
103092 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
103093       conftest$ac_exeext conftest.$ac_ext
103094
103095 fi
103096
103097   if test $glibcxx_cv_POLL = yes; then
103098
103099 cat >>confdefs.h <<\_ACEOF
103100 #define HAVE_POLL 1
103101 _ACEOF
103102
103103   fi
103104   { echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
103105 echo "${ECHO_T}$glibcxx_cv_POLL" >&6; }
103106
103107
103108   { echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
103109 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6; }
103110   if test "${glibcxx_cv_S_ISREG+set}" = set; then
103111   echo $ECHO_N "(cached) $ECHO_C" >&6
103112 else
103113
103114     if test x$gcc_no_link = xyes; then
103115   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103116 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103117    { (exit 1); exit 1; }; }
103118 fi
103119 cat >conftest.$ac_ext <<_ACEOF
103120 /* confdefs.h.  */
103121 _ACEOF
103122 cat confdefs.h >>conftest.$ac_ext
103123 cat >>conftest.$ac_ext <<_ACEOF
103124 /* end confdefs.h.  */
103125 #include <sys/stat.h>
103126 int
103127 main ()
103128 {
103129 struct stat buffer;
103130        fstat(0, &buffer);
103131        S_ISREG(buffer.st_mode);
103132   ;
103133   return 0;
103134 }
103135 _ACEOF
103136 rm -f conftest.$ac_objext conftest$ac_exeext
103137 if { (ac_try="$ac_link"
103138 case "(($ac_try" in
103139   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
103140   *) ac_try_echo=$ac_try;;
103141 esac
103142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
103143   (eval "$ac_link") 2>conftest.er1
103144   ac_status=$?
103145   grep -v '^ *+' conftest.er1 >conftest.err
103146   rm -f conftest.er1
103147   cat conftest.err >&5
103148   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103149   (exit $ac_status); } && {
103150          test -z "$ac_c_werror_flag" ||
103151          test ! -s conftest.err
103152        } && test -s conftest$ac_exeext &&
103153        $as_test_x conftest$ac_exeext; then
103154   glibcxx_cv_S_ISREG=yes
103155 else
103156   echo "$as_me: failed program was:" >&5
103157 sed 's/^/| /' conftest.$ac_ext >&5
103158
103159         glibcxx_cv_S_ISREG=no
103160 fi
103161
103162 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
103163       conftest$ac_exeext conftest.$ac_ext
103164
103165 fi
103166
103167   if test "${glibcxx_cv_S_IFREG+set}" = set; then
103168   echo $ECHO_N "(cached) $ECHO_C" >&6
103169 else
103170
103171     if test x$gcc_no_link = xyes; then
103172   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103173 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103174    { (exit 1); exit 1; }; }
103175 fi
103176 cat >conftest.$ac_ext <<_ACEOF
103177 /* confdefs.h.  */
103178 _ACEOF
103179 cat confdefs.h >>conftest.$ac_ext
103180 cat >>conftest.$ac_ext <<_ACEOF
103181 /* end confdefs.h.  */
103182 #include <sys/stat.h>
103183 int
103184 main ()
103185 {
103186 struct stat buffer;
103187        fstat(0, &buffer);
103188        S_IFREG & buffer.st_mode;
103189   ;
103190   return 0;
103191 }
103192 _ACEOF
103193 rm -f conftest.$ac_objext conftest$ac_exeext
103194 if { (ac_try="$ac_link"
103195 case "(($ac_try" in
103196   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
103197   *) ac_try_echo=$ac_try;;
103198 esac
103199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
103200   (eval "$ac_link") 2>conftest.er1
103201   ac_status=$?
103202   grep -v '^ *+' conftest.er1 >conftest.err
103203   rm -f conftest.er1
103204   cat conftest.err >&5
103205   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103206   (exit $ac_status); } && {
103207          test -z "$ac_c_werror_flag" ||
103208          test ! -s conftest.err
103209        } && test -s conftest$ac_exeext &&
103210        $as_test_x conftest$ac_exeext; then
103211   glibcxx_cv_S_IFREG=yes
103212 else
103213   echo "$as_me: failed program was:" >&5
103214 sed 's/^/| /' conftest.$ac_ext >&5
103215
103216         glibcxx_cv_S_IFREG=no
103217 fi
103218
103219 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
103220       conftest$ac_exeext conftest.$ac_ext
103221
103222 fi
103223
103224   res=no
103225   if test $glibcxx_cv_S_ISREG = yes; then
103226
103227 cat >>confdefs.h <<\_ACEOF
103228 #define HAVE_S_ISREG 1
103229 _ACEOF
103230
103231     res=S_ISREG
103232   elif test $glibcxx_cv_S_IFREG = yes; then
103233
103234 cat >>confdefs.h <<\_ACEOF
103235 #define HAVE_S_IFREG 1
103236 _ACEOF
103237
103238     res=S_IFREG
103239   fi
103240   { echo "$as_me:$LINENO: result: $res" >&5
103241 echo "${ECHO_T}$res" >&6; }
103242
103243
103244     # For xsputn_2().
103245
103246 for ac_header in sys/uio.h
103247 do
103248 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
103249 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
103250   { echo "$as_me:$LINENO: checking for $ac_header" >&5
103251 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
103252 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
103253   echo $ECHO_N "(cached) $ECHO_C" >&6
103254 fi
103255 ac_res=`eval echo '${'$as_ac_Header'}'`
103256                { echo "$as_me:$LINENO: result: $ac_res" >&5
103257 echo "${ECHO_T}$ac_res" >&6; }
103258 else
103259   # Is the header compilable?
103260 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
103261 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
103262 cat >conftest.$ac_ext <<_ACEOF
103263 /* confdefs.h.  */
103264 _ACEOF
103265 cat confdefs.h >>conftest.$ac_ext
103266 cat >>conftest.$ac_ext <<_ACEOF
103267 /* end confdefs.h.  */
103268 $ac_includes_default
103269 #include <$ac_header>
103270 _ACEOF
103271 rm -f conftest.$ac_objext
103272 if { (ac_try="$ac_compile"
103273 case "(($ac_try" in
103274   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
103275   *) ac_try_echo=$ac_try;;
103276 esac
103277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
103278   (eval "$ac_compile") 2>conftest.er1
103279   ac_status=$?
103280   grep -v '^ *+' conftest.er1 >conftest.err
103281   rm -f conftest.er1
103282   cat conftest.err >&5
103283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103284   (exit $ac_status); } && {
103285          test -z "$ac_c_werror_flag" ||
103286          test ! -s conftest.err
103287        } && test -s conftest.$ac_objext; then
103288   ac_header_compiler=yes
103289 else
103290   echo "$as_me: failed program was:" >&5
103291 sed 's/^/| /' conftest.$ac_ext >&5
103292
103293         ac_header_compiler=no
103294 fi
103295
103296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
103297 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
103298 echo "${ECHO_T}$ac_header_compiler" >&6; }
103299
103300 # Is the header present?
103301 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
103302 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
103303 cat >conftest.$ac_ext <<_ACEOF
103304 /* confdefs.h.  */
103305 _ACEOF
103306 cat confdefs.h >>conftest.$ac_ext
103307 cat >>conftest.$ac_ext <<_ACEOF
103308 /* end confdefs.h.  */
103309 #include <$ac_header>
103310 _ACEOF
103311 if { (ac_try="$ac_cpp conftest.$ac_ext"
103312 case "(($ac_try" in
103313   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
103314   *) ac_try_echo=$ac_try;;
103315 esac
103316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
103317   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
103318   ac_status=$?
103319   grep -v '^ *+' conftest.er1 >conftest.err
103320   rm -f conftest.er1
103321   cat conftest.err >&5
103322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103323   (exit $ac_status); } >/dev/null && {
103324          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
103325          test ! -s conftest.err
103326        }; then
103327   ac_header_preproc=yes
103328 else
103329   echo "$as_me: failed program was:" >&5
103330 sed 's/^/| /' conftest.$ac_ext >&5
103331
103332   ac_header_preproc=no
103333 fi
103334
103335 rm -f conftest.err conftest.$ac_ext
103336 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
103337 echo "${ECHO_T}$ac_header_preproc" >&6; }
103338
103339 # So?  What about this header?
103340 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
103341   yes:no: )
103342     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
103343 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
103344     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
103345 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
103346     ac_header_preproc=yes
103347     ;;
103348   no:yes:* )
103349     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
103350 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
103351     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
103352 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
103353     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
103354 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
103355     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
103356 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
103357     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
103358 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
103359     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
103360 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
103361
103362     ;;
103363 esac
103364 { echo "$as_me:$LINENO: checking for $ac_header" >&5
103365 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
103366 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
103367   echo $ECHO_N "(cached) $ECHO_C" >&6
103368 else
103369   eval "$as_ac_Header=\$ac_header_preproc"
103370 fi
103371 ac_res=`eval echo '${'$as_ac_Header'}'`
103372                { echo "$as_me:$LINENO: result: $ac_res" >&5
103373 echo "${ECHO_T}$ac_res" >&6; }
103374
103375 fi
103376 if test `eval echo '${'$as_ac_Header'}'` = yes; then
103377   cat >>confdefs.h <<_ACEOF
103378 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
103379 _ACEOF
103380
103381 fi
103382
103383 done
103384
103385
103386   { echo "$as_me:$LINENO: checking for writev" >&5
103387 echo $ECHO_N "checking for writev... $ECHO_C" >&6; }
103388   if test "${glibcxx_cv_WRITEV+set}" = set; then
103389   echo $ECHO_N "(cached) $ECHO_C" >&6
103390 else
103391
103392     if test x$gcc_no_link = xyes; then
103393   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103394 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103395    { (exit 1); exit 1; }; }
103396 fi
103397 cat >conftest.$ac_ext <<_ACEOF
103398 /* confdefs.h.  */
103399 _ACEOF
103400 cat confdefs.h >>conftest.$ac_ext
103401 cat >>conftest.$ac_ext <<_ACEOF
103402 /* end confdefs.h.  */
103403 #include <sys/uio.h>
103404 int
103405 main ()
103406 {
103407 struct iovec iov[2];
103408        writev(0, iov, 0);
103409   ;
103410   return 0;
103411 }
103412 _ACEOF
103413 rm -f conftest.$ac_objext conftest$ac_exeext
103414 if { (ac_try="$ac_link"
103415 case "(($ac_try" in
103416   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
103417   *) ac_try_echo=$ac_try;;
103418 esac
103419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
103420   (eval "$ac_link") 2>conftest.er1
103421   ac_status=$?
103422   grep -v '^ *+' conftest.er1 >conftest.err
103423   rm -f conftest.er1
103424   cat conftest.err >&5
103425   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103426   (exit $ac_status); } && {
103427          test -z "$ac_c_werror_flag" ||
103428          test ! -s conftest.err
103429        } && test -s conftest$ac_exeext &&
103430        $as_test_x conftest$ac_exeext; then
103431   glibcxx_cv_WRITEV=yes
103432 else
103433   echo "$as_me: failed program was:" >&5
103434 sed 's/^/| /' conftest.$ac_ext >&5
103435
103436         glibcxx_cv_WRITEV=no
103437 fi
103438
103439 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
103440       conftest$ac_exeext conftest.$ac_ext
103441
103442 fi
103443
103444   if test $glibcxx_cv_WRITEV = yes; then
103445
103446 cat >>confdefs.h <<\_ACEOF
103447 #define HAVE_WRITEV 1
103448 _ACEOF
103449
103450   fi
103451   { echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
103452 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6; }
103453
103454
103455     # For C99 support to TR1.
103456
103457
103458
103459   ac_ext=cpp
103460 ac_cpp='$CXXCPP $CPPFLAGS'
103461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103464
103465
103466   # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
103467   # undefined and fake C99 facilities may be spuriously enabled.
103468   ac_save_CXXFLAGS="$CXXFLAGS"
103469   CXXFLAGS="$CXXFLAGS -std=c++98"
103470
103471   # Check for the existence of <complex.h> complex math functions used
103472   # by tr1/complex.
103473
103474 for ac_header in complex.h
103475 do
103476 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
103477 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
103478   { echo "$as_me:$LINENO: checking for $ac_header" >&5
103479 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
103480 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
103481   echo $ECHO_N "(cached) $ECHO_C" >&6
103482 fi
103483 ac_res=`eval echo '${'$as_ac_Header'}'`
103484                { echo "$as_me:$LINENO: result: $ac_res" >&5
103485 echo "${ECHO_T}$ac_res" >&6; }
103486 else
103487   # Is the header compilable?
103488 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
103489 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
103490 cat >conftest.$ac_ext <<_ACEOF
103491 /* confdefs.h.  */
103492 _ACEOF
103493 cat confdefs.h >>conftest.$ac_ext
103494 cat >>conftest.$ac_ext <<_ACEOF
103495 /* end confdefs.h.  */
103496 $ac_includes_default
103497 #include <$ac_header>
103498 _ACEOF
103499 rm -f conftest.$ac_objext
103500 if { (ac_try="$ac_compile"
103501 case "(($ac_try" in
103502   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
103503   *) ac_try_echo=$ac_try;;
103504 esac
103505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
103506   (eval "$ac_compile") 2>conftest.er1
103507   ac_status=$?
103508   grep -v '^ *+' conftest.er1 >conftest.err
103509   rm -f conftest.er1
103510   cat conftest.err >&5
103511   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103512   (exit $ac_status); } && {
103513          test -z "$ac_cxx_werror_flag" ||
103514          test ! -s conftest.err
103515        } && test -s conftest.$ac_objext; then
103516   ac_header_compiler=yes
103517 else
103518   echo "$as_me: failed program was:" >&5
103519 sed 's/^/| /' conftest.$ac_ext >&5
103520
103521         ac_header_compiler=no
103522 fi
103523
103524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
103525 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
103526 echo "${ECHO_T}$ac_header_compiler" >&6; }
103527
103528 # Is the header present?
103529 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
103530 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
103531 cat >conftest.$ac_ext <<_ACEOF
103532 /* confdefs.h.  */
103533 _ACEOF
103534 cat confdefs.h >>conftest.$ac_ext
103535 cat >>conftest.$ac_ext <<_ACEOF
103536 /* end confdefs.h.  */
103537 #include <$ac_header>
103538 _ACEOF
103539 if { (ac_try="$ac_cpp conftest.$ac_ext"
103540 case "(($ac_try" in
103541   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
103542   *) ac_try_echo=$ac_try;;
103543 esac
103544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
103545   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
103546   ac_status=$?
103547   grep -v '^ *+' conftest.er1 >conftest.err
103548   rm -f conftest.er1
103549   cat conftest.err >&5
103550   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103551   (exit $ac_status); } >/dev/null && {
103552          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
103553          test ! -s conftest.err
103554        }; then
103555   ac_header_preproc=yes
103556 else
103557   echo "$as_me: failed program was:" >&5
103558 sed 's/^/| /' conftest.$ac_ext >&5
103559
103560   ac_header_preproc=no
103561 fi
103562
103563 rm -f conftest.err conftest.$ac_ext
103564 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
103565 echo "${ECHO_T}$ac_header_preproc" >&6; }
103566
103567 # So?  What about this header?
103568 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
103569   yes:no: )
103570     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
103571 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
103572     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
103573 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
103574     ac_header_preproc=yes
103575     ;;
103576   no:yes:* )
103577     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
103578 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
103579     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
103580 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
103581     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
103582 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
103583     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
103584 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
103585     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
103586 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
103587     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
103588 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
103589
103590     ;;
103591 esac
103592 { echo "$as_me:$LINENO: checking for $ac_header" >&5
103593 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
103594 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
103595   echo $ECHO_N "(cached) $ECHO_C" >&6
103596 else
103597   eval "$as_ac_Header=\$ac_header_preproc"
103598 fi
103599 ac_res=`eval echo '${'$as_ac_Header'}'`
103600                { echo "$as_me:$LINENO: result: $ac_res" >&5
103601 echo "${ECHO_T}$ac_res" >&6; }
103602
103603 fi
103604 if test `eval echo '${'$as_ac_Header'}'` = yes; then
103605   cat >>confdefs.h <<_ACEOF
103606 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
103607 _ACEOF
103608  ac_has_complex_h=yes
103609 else
103610   ac_has_complex_h=no
103611 fi
103612
103613 done
103614
103615   ac_c99_complex_tr1=no;
103616   if test x"$ac_has_complex_h" = x"yes"; then
103617     { echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <complex.h>" >&5
103618 echo $ECHO_N "checking for ISO C99 support to TR1 in <complex.h>... $ECHO_C" >&6; }
103619     cat >conftest.$ac_ext <<_ACEOF
103620 /* confdefs.h.  */
103621 _ACEOF
103622 cat confdefs.h >>conftest.$ac_ext
103623 cat >>conftest.$ac_ext <<_ACEOF
103624 /* end confdefs.h.  */
103625 #include <complex.h>
103626 int
103627 main ()
103628 {
103629 typedef __complex__ float float_type; float_type tmpf;
103630                     cacosf(tmpf);
103631                     casinf(tmpf);
103632                     catanf(tmpf);
103633                     cacoshf(tmpf);
103634                     casinhf(tmpf);
103635                     catanhf(tmpf);
103636                     typedef __complex__ double double_type; double_type tmpd;
103637                     cacos(tmpd);
103638                     casin(tmpd);
103639                     catan(tmpd);
103640                     cacosh(tmpd);
103641                     casinh(tmpd);
103642                     catanh(tmpd);
103643                     typedef __complex__ long double ld_type; ld_type tmpld;
103644                     cacosl(tmpld);
103645                     casinl(tmpld);
103646                     catanl(tmpld);
103647                     cacoshl(tmpld);
103648                     casinhl(tmpld);
103649                     catanhl(tmpld);
103650
103651   ;
103652   return 0;
103653 }
103654 _ACEOF
103655 rm -f conftest.$ac_objext
103656 if { (ac_try="$ac_compile"
103657 case "(($ac_try" in
103658   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
103659   *) ac_try_echo=$ac_try;;
103660 esac
103661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
103662   (eval "$ac_compile") 2>conftest.er1
103663   ac_status=$?
103664   grep -v '^ *+' conftest.er1 >conftest.err
103665   rm -f conftest.er1
103666   cat conftest.err >&5
103667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103668   (exit $ac_status); } && {
103669          test -z "$ac_cxx_werror_flag" ||
103670          test ! -s conftest.err
103671        } && test -s conftest.$ac_objext; then
103672   ac_c99_complex_tr1=yes
103673 else
103674   echo "$as_me: failed program was:" >&5
103675 sed 's/^/| /' conftest.$ac_ext >&5
103676
103677         ac_c99_complex_tr1=no
103678 fi
103679
103680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
103681   fi
103682   { echo "$as_me:$LINENO: result: $ac_c99_complex_tr1" >&5
103683 echo "${ECHO_T}$ac_c99_complex_tr1" >&6; }
103684   if test x"$ac_c99_complex_tr1" = x"yes"; then
103685
103686 cat >>confdefs.h <<\_ACEOF
103687 #define _GLIBCXX_USE_C99_COMPLEX_TR1 1
103688 _ACEOF
103689
103690   fi
103691
103692   # Check for the existence of <ctype.h> functions.
103693   { echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <ctype.h>" >&5
103694 echo $ECHO_N "checking for ISO C99 support to TR1 in <ctype.h>... $ECHO_C" >&6; }
103695   if test "${ac_c99_ctype_tr1+set}" = set; then
103696   echo $ECHO_N "(cached) $ECHO_C" >&6
103697 else
103698
103699   cat >conftest.$ac_ext <<_ACEOF
103700 /* confdefs.h.  */
103701 _ACEOF
103702 cat confdefs.h >>conftest.$ac_ext
103703 cat >>conftest.$ac_ext <<_ACEOF
103704 /* end confdefs.h.  */
103705 #include <ctype.h>
103706 int
103707 main ()
103708 {
103709 int ch;
103710                   int ret;
103711                   ret = isblank(ch);
103712
103713   ;
103714   return 0;
103715 }
103716 _ACEOF
103717 rm -f conftest.$ac_objext
103718 if { (ac_try="$ac_compile"
103719 case "(($ac_try" in
103720   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
103721   *) ac_try_echo=$ac_try;;
103722 esac
103723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
103724   (eval "$ac_compile") 2>conftest.er1
103725   ac_status=$?
103726   grep -v '^ *+' conftest.er1 >conftest.err
103727   rm -f conftest.er1
103728   cat conftest.err >&5
103729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103730   (exit $ac_status); } && {
103731          test -z "$ac_cxx_werror_flag" ||
103732          test ! -s conftest.err
103733        } && test -s conftest.$ac_objext; then
103734   ac_c99_ctype_tr1=yes
103735 else
103736   echo "$as_me: failed program was:" >&5
103737 sed 's/^/| /' conftest.$ac_ext >&5
103738
103739         ac_c99_ctype_tr1=no
103740 fi
103741
103742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
103743
103744 fi
103745
103746   { echo "$as_me:$LINENO: result: $ac_c99_ctype_tr1" >&5
103747 echo "${ECHO_T}$ac_c99_ctype_tr1" >&6; }
103748   if test x"$ac_c99_ctype_tr1" = x"yes"; then
103749
103750 cat >>confdefs.h <<\_ACEOF
103751 #define _GLIBCXX_USE_C99_CTYPE_TR1 1
103752 _ACEOF
103753
103754   fi
103755
103756   # Check for the existence of <fenv.h> functions.
103757
103758 for ac_header in fenv.h
103759 do
103760 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
103761 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
103762   { echo "$as_me:$LINENO: checking for $ac_header" >&5
103763 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
103764 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
103765   echo $ECHO_N "(cached) $ECHO_C" >&6
103766 fi
103767 ac_res=`eval echo '${'$as_ac_Header'}'`
103768                { echo "$as_me:$LINENO: result: $ac_res" >&5
103769 echo "${ECHO_T}$ac_res" >&6; }
103770 else
103771   # Is the header compilable?
103772 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
103773 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
103774 cat >conftest.$ac_ext <<_ACEOF
103775 /* confdefs.h.  */
103776 _ACEOF
103777 cat confdefs.h >>conftest.$ac_ext
103778 cat >>conftest.$ac_ext <<_ACEOF
103779 /* end confdefs.h.  */
103780 $ac_includes_default
103781 #include <$ac_header>
103782 _ACEOF
103783 rm -f conftest.$ac_objext
103784 if { (ac_try="$ac_compile"
103785 case "(($ac_try" in
103786   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
103787   *) ac_try_echo=$ac_try;;
103788 esac
103789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
103790   (eval "$ac_compile") 2>conftest.er1
103791   ac_status=$?
103792   grep -v '^ *+' conftest.er1 >conftest.err
103793   rm -f conftest.er1
103794   cat conftest.err >&5
103795   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103796   (exit $ac_status); } && {
103797          test -z "$ac_cxx_werror_flag" ||
103798          test ! -s conftest.err
103799        } && test -s conftest.$ac_objext; then
103800   ac_header_compiler=yes
103801 else
103802   echo "$as_me: failed program was:" >&5
103803 sed 's/^/| /' conftest.$ac_ext >&5
103804
103805         ac_header_compiler=no
103806 fi
103807
103808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
103809 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
103810 echo "${ECHO_T}$ac_header_compiler" >&6; }
103811
103812 # Is the header present?
103813 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
103814 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
103815 cat >conftest.$ac_ext <<_ACEOF
103816 /* confdefs.h.  */
103817 _ACEOF
103818 cat confdefs.h >>conftest.$ac_ext
103819 cat >>conftest.$ac_ext <<_ACEOF
103820 /* end confdefs.h.  */
103821 #include <$ac_header>
103822 _ACEOF
103823 if { (ac_try="$ac_cpp conftest.$ac_ext"
103824 case "(($ac_try" in
103825   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
103826   *) ac_try_echo=$ac_try;;
103827 esac
103828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
103829   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
103830   ac_status=$?
103831   grep -v '^ *+' conftest.er1 >conftest.err
103832   rm -f conftest.er1
103833   cat conftest.err >&5
103834   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103835   (exit $ac_status); } >/dev/null && {
103836          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
103837          test ! -s conftest.err
103838        }; then
103839   ac_header_preproc=yes
103840 else
103841   echo "$as_me: failed program was:" >&5
103842 sed 's/^/| /' conftest.$ac_ext >&5
103843
103844   ac_header_preproc=no
103845 fi
103846
103847 rm -f conftest.err conftest.$ac_ext
103848 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
103849 echo "${ECHO_T}$ac_header_preproc" >&6; }
103850
103851 # So?  What about this header?
103852 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
103853   yes:no: )
103854     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
103855 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
103856     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
103857 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
103858     ac_header_preproc=yes
103859     ;;
103860   no:yes:* )
103861     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
103862 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
103863     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
103864 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
103865     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
103866 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
103867     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
103868 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
103869     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
103870 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
103871     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
103872 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
103873
103874     ;;
103875 esac
103876 { echo "$as_me:$LINENO: checking for $ac_header" >&5
103877 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
103878 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
103879   echo $ECHO_N "(cached) $ECHO_C" >&6
103880 else
103881   eval "$as_ac_Header=\$ac_header_preproc"
103882 fi
103883 ac_res=`eval echo '${'$as_ac_Header'}'`
103884                { echo "$as_me:$LINENO: result: $ac_res" >&5
103885 echo "${ECHO_T}$ac_res" >&6; }
103886
103887 fi
103888 if test `eval echo '${'$as_ac_Header'}'` = yes; then
103889   cat >>confdefs.h <<_ACEOF
103890 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
103891 _ACEOF
103892  ac_has_fenv_h=yes
103893 else
103894   ac_has_fenv_h=no
103895 fi
103896
103897 done
103898
103899   ac_c99_fenv_tr1=no;
103900   if test x"$ac_has_fenv_h" = x"yes"; then
103901     { echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <fenv.h>" >&5
103902 echo $ECHO_N "checking for ISO C99 support to TR1 in <fenv.h>... $ECHO_C" >&6; }
103903     cat >conftest.$ac_ext <<_ACEOF
103904 /* confdefs.h.  */
103905 _ACEOF
103906 cat confdefs.h >>conftest.$ac_ext
103907 cat >>conftest.$ac_ext <<_ACEOF
103908 /* end confdefs.h.  */
103909 #include <fenv.h>
103910 int
103911 main ()
103912 {
103913 int except, mode;
103914                     fexcept_t* pflag;
103915                     fenv_t* penv;
103916                     int ret;
103917                     ret = feclearexcept(except);
103918                     ret = fegetexceptflag(pflag, except);
103919                     ret = feraiseexcept(except);
103920                     ret = fesetexceptflag(pflag, except);
103921                     ret = fetestexcept(except);
103922                     ret = fegetround();
103923                     ret = fesetround(mode);
103924                     ret = fegetenv(penv);
103925                     ret = feholdexcept(penv);
103926                     ret = fesetenv(penv);
103927                     ret = feupdateenv(penv);
103928
103929   ;
103930   return 0;
103931 }
103932 _ACEOF
103933 rm -f conftest.$ac_objext
103934 if { (ac_try="$ac_compile"
103935 case "(($ac_try" in
103936   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
103937   *) ac_try_echo=$ac_try;;
103938 esac
103939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
103940   (eval "$ac_compile") 2>conftest.er1
103941   ac_status=$?
103942   grep -v '^ *+' conftest.er1 >conftest.err
103943   rm -f conftest.er1
103944   cat conftest.err >&5
103945   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103946   (exit $ac_status); } && {
103947          test -z "$ac_cxx_werror_flag" ||
103948          test ! -s conftest.err
103949        } && test -s conftest.$ac_objext; then
103950   ac_c99_fenv_tr1=yes
103951 else
103952   echo "$as_me: failed program was:" >&5
103953 sed 's/^/| /' conftest.$ac_ext >&5
103954
103955         ac_c99_fenv_tr1=no
103956 fi
103957
103958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
103959   fi
103960   { echo "$as_me:$LINENO: result: $ac_c99_fenv_tr1" >&5
103961 echo "${ECHO_T}$ac_c99_fenv_tr1" >&6; }
103962   if test x"$ac_c99_fenv_tr1" = x"yes"; then
103963
103964 cat >>confdefs.h <<\_ACEOF
103965 #define _GLIBCXX_USE_C99_FENV_TR1 1
103966 _ACEOF
103967
103968   fi
103969
103970   # Check for the existence of <stdint.h> types.
103971   { echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <stdint.h>" >&5
103972 echo $ECHO_N "checking for ISO C99 support to TR1 in <stdint.h>... $ECHO_C" >&6; }
103973   if test "${ac_c99_stdint_tr1+set}" = set; then
103974   echo $ECHO_N "(cached) $ECHO_C" >&6
103975 else
103976
103977   cat >conftest.$ac_ext <<_ACEOF
103978 /* confdefs.h.  */
103979 _ACEOF
103980 cat confdefs.h >>conftest.$ac_ext
103981 cat >>conftest.$ac_ext <<_ACEOF
103982 /* end confdefs.h.  */
103983 #include <stdint.h>
103984 int
103985 main ()
103986 {
103987 typedef int8_t          my_int8_t;
103988                   typedef int16_t         my_int16_t;
103989                   typedef int32_t         my_int32_t;
103990                   typedef int64_t         my_int64_t;
103991                   typedef int_fast8_t     my_int_fast8_t;
103992                   typedef int_fast16_t    my_int_fast16_t;
103993                   typedef int_fast32_t    my_int_fast32_t;
103994                   typedef int_fast64_t    my_int_fast64_t;
103995                   typedef int_least8_t    my_int_least8_t;
103996                   typedef int_least16_t   my_int_least16_t;
103997                   typedef int_least32_t   my_int_least32_t;
103998                   typedef int_least64_t   my_int_least64_t;
103999                   typedef intmax_t        my_intmax_t;
104000                   typedef intptr_t        my_intptr_t;
104001                   typedef uint8_t         my_uint8_t;
104002                   typedef uint16_t        my_uint16_t;
104003                   typedef uint32_t        my_uint32_t;
104004                   typedef uint64_t        my_uint64_t;
104005                   typedef uint_fast8_t    my_uint_fast8_t;
104006                   typedef uint_fast16_t   my_uint_fast16_t;
104007                   typedef uint_fast32_t   my_uint_fast32_t;
104008                   typedef uint_fast64_t   my_uint_fast64_t;
104009                   typedef uint_least8_t   my_uint_least8_t;
104010                   typedef uint_least16_t  my_uint_least16_t;
104011                   typedef uint_least32_t  my_uint_least32_t;
104012                   typedef uint_least64_t  my_uint_least64_t;
104013                   typedef uintmax_t       my_uintmax_t;
104014                   typedef uintptr_t       my_uintptr_t;
104015
104016   ;
104017   return 0;
104018 }
104019 _ACEOF
104020 rm -f conftest.$ac_objext
104021 if { (ac_try="$ac_compile"
104022 case "(($ac_try" in
104023   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
104024   *) ac_try_echo=$ac_try;;
104025 esac
104026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
104027   (eval "$ac_compile") 2>conftest.er1
104028   ac_status=$?
104029   grep -v '^ *+' conftest.er1 >conftest.err
104030   rm -f conftest.er1
104031   cat conftest.err >&5
104032   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104033   (exit $ac_status); } && {
104034          test -z "$ac_cxx_werror_flag" ||
104035          test ! -s conftest.err
104036        } && test -s conftest.$ac_objext; then
104037   ac_c99_stdint_tr1=yes
104038 else
104039   echo "$as_me: failed program was:" >&5
104040 sed 's/^/| /' conftest.$ac_ext >&5
104041
104042         ac_c99_stdint_tr1=no
104043 fi
104044
104045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
104046
104047 fi
104048
104049   { echo "$as_me:$LINENO: result: $ac_c99_stdint_tr1" >&5
104050 echo "${ECHO_T}$ac_c99_stdint_tr1" >&6; }
104051   if test x"$ac_c99_stdint_tr1" = x"yes"; then
104052
104053 cat >>confdefs.h <<\_ACEOF
104054 #define _GLIBCXX_USE_C99_STDINT_TR1 1
104055 _ACEOF
104056
104057   fi
104058
104059   # Check for the existence of <math.h> functions.
104060   { echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <math.h>" >&5
104061 echo $ECHO_N "checking for ISO C99 support to TR1 in <math.h>... $ECHO_C" >&6; }
104062   if test "${ac_c99_math_tr1+set}" = set; then
104063   echo $ECHO_N "(cached) $ECHO_C" >&6
104064 else
104065
104066   cat >conftest.$ac_ext <<_ACEOF
104067 /* confdefs.h.  */
104068 _ACEOF
104069 cat confdefs.h >>conftest.$ac_ext
104070 cat >>conftest.$ac_ext <<_ACEOF
104071 /* end confdefs.h.  */
104072 #include <math.h>
104073 int
104074 main ()
104075 {
104076 typedef double_t  my_double_t;
104077                   typedef float_t   my_float_t;
104078                   acosh(0.0);
104079                   acoshf(0.0f);
104080                   acoshl(0.0l);
104081                   asinh(0.0);
104082                   asinhf(0.0f);
104083                   asinhl(0.0l);
104084                   atanh(0.0);
104085                   atanhf(0.0f);
104086                   atanhl(0.0l);
104087                   cbrt(0.0);
104088                   cbrtf(0.0f);
104089                   cbrtl(0.0l);
104090                   copysign(0.0, 0.0);
104091                   copysignf(0.0f, 0.0f);
104092                   copysignl(0.0l, 0.0l);
104093                   erf(0.0);
104094                   erff(0.0f);
104095                   erfl(0.0l);
104096                   erfc(0.0);
104097                   erfcf(0.0f);
104098                   erfcl(0.0l);
104099                   exp2(0.0);
104100                   exp2f(0.0f);
104101                   exp2l(0.0l);
104102                   expm1(0.0);
104103                   expm1f(0.0f);
104104                   expm1l(0.0l);
104105                   fdim(0.0, 0.0);
104106                   fdimf(0.0f, 0.0f);
104107                   fdiml(0.0l, 0.0l);
104108                   fma(0.0, 0.0, 0.0);
104109                   fmaf(0.0f, 0.0f, 0.0f);
104110                   fmal(0.0l, 0.0l, 0.0l);
104111                   fmax(0.0, 0.0);
104112                   fmaxf(0.0f, 0.0f);
104113                   fmaxl(0.0l, 0.0l);
104114                   fmin(0.0, 0.0);
104115                   fminf(0.0f, 0.0f);
104116                   fminl(0.0l, 0.0l);
104117                   hypot(0.0, 0.0);
104118                   hypotf(0.0f, 0.0f);
104119                   hypotl(0.0l, 0.0l);
104120                   ilogb(0.0);
104121                   ilogbf(0.0f);
104122                   ilogbl(0.0l);
104123                   lgamma(0.0);
104124                   lgammaf(0.0f);
104125                   lgammal(0.0l);
104126                   llrint(0.0);
104127                   llrintf(0.0f);
104128                   llrintl(0.0l);
104129                   llround(0.0);
104130                   llroundf(0.0f);
104131                   llroundl(0.0l);
104132                   log1p(0.0);
104133                   log1pf(0.0f);
104134                   log1pl(0.0l);
104135                   log2(0.0);
104136                   log2f(0.0f);
104137                   log2l(0.0l);
104138                   logb(0.0);
104139                   logbf(0.0f);
104140                   logbl(0.0l);
104141                   lrint(0.0);
104142                   lrintf(0.0f);
104143                   lrintl(0.0l);
104144                   lround(0.0);
104145                   lroundf(0.0f);
104146                   lroundl(0.0l);
104147                   nan(0);
104148                   nanf(0);
104149                   nanl(0);
104150                   nearbyint(0.0);
104151                   nearbyintf(0.0f);
104152                   nearbyintl(0.0l);
104153                   nextafter(0.0, 0.0);
104154                   nextafterf(0.0f, 0.0f);
104155                   nextafterl(0.0l, 0.0l);
104156                   nexttoward(0.0, 0.0);
104157                   nexttowardf(0.0f, 0.0f);
104158                   nexttowardl(0.0l, 0.0l);
104159                   remainder(0.0, 0.0);
104160                   remainderf(0.0f, 0.0f);
104161                   remainderl(0.0l, 0.0l);
104162                   remquo(0.0, 0.0, 0);
104163                   remquo(0.0f, 0.0f, 0);
104164                   remquo(0.0l, 0.0l, 0);
104165                   rint(0.0);
104166                   rintf(0.0f);
104167                   rintl(0.0l);
104168                   round(0.0);
104169                   roundf(0.0f);
104170                   roundl(0.0l);
104171                   scalbln(0.0, 0l);
104172                   scalblnf(0.0f, 0l);
104173                   scalblnl(0.0l, 0l);
104174                   scalbn(0.0, 0);
104175                   scalbnf(0.0f, 0);
104176                   scalbnl(0.0l, 0);
104177                   tgamma(0.0);
104178                   tgammaf(0.0f);
104179                   tgammal(0.0l);
104180                   trunc(0.0);
104181                   truncf(0.0f);
104182                   truncl(0.0l);
104183
104184   ;
104185   return 0;
104186 }
104187 _ACEOF
104188 rm -f conftest.$ac_objext
104189 if { (ac_try="$ac_compile"
104190 case "(($ac_try" in
104191   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
104192   *) ac_try_echo=$ac_try;;
104193 esac
104194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
104195   (eval "$ac_compile") 2>conftest.er1
104196   ac_status=$?
104197   grep -v '^ *+' conftest.er1 >conftest.err
104198   rm -f conftest.er1
104199   cat conftest.err >&5
104200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104201   (exit $ac_status); } && {
104202          test -z "$ac_cxx_werror_flag" ||
104203          test ! -s conftest.err
104204        } && test -s conftest.$ac_objext; then
104205   ac_c99_math_tr1=yes
104206 else
104207   echo "$as_me: failed program was:" >&5
104208 sed 's/^/| /' conftest.$ac_ext >&5
104209
104210         ac_c99_math_tr1=no
104211 fi
104212
104213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
104214
104215 fi
104216
104217   { echo "$as_me:$LINENO: result: $ac_c99_math_tr1" >&5
104218 echo "${ECHO_T}$ac_c99_math_tr1" >&6; }
104219   if test x"$ac_c99_math_tr1" = x"yes"; then
104220
104221 cat >>confdefs.h <<\_ACEOF
104222 #define _GLIBCXX_USE_C99_MATH_TR1 1
104223 _ACEOF
104224
104225   fi
104226
104227   # Check for the existence of <inttypes.h> functions (NB: doesn't make
104228   # sense if the previous check fails, per C99, 7.8/1).
104229   ac_c99_inttypes_tr1=no;
104230   if test x"$ac_c99_stdint_tr1" = x"yes"; then
104231     { echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
104232 echo $ECHO_N "checking for ISO C99 support to TR1 in <inttypes.h>... $ECHO_C" >&6; }
104233     cat >conftest.$ac_ext <<_ACEOF
104234 /* confdefs.h.  */
104235 _ACEOF
104236 cat confdefs.h >>conftest.$ac_ext
104237 cat >>conftest.$ac_ext <<_ACEOF
104238 /* end confdefs.h.  */
104239 #include <inttypes.h>
104240 int
104241 main ()
104242 {
104243 intmax_t i, numer, denom, base;
104244                     const char* s;
104245                     char** endptr;
104246                     intmax_t ret = imaxabs(i);
104247                     imaxdiv_t dret = imaxdiv(numer, denom);
104248                     ret = strtoimax(s, endptr, base);
104249                     uintmax_t uret = strtoumax(s, endptr, base);
104250
104251   ;
104252   return 0;
104253 }
104254 _ACEOF
104255 rm -f conftest.$ac_objext
104256 if { (ac_try="$ac_compile"
104257 case "(($ac_try" in
104258   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
104259   *) ac_try_echo=$ac_try;;
104260 esac
104261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
104262   (eval "$ac_compile") 2>conftest.er1
104263   ac_status=$?
104264   grep -v '^ *+' conftest.er1 >conftest.err
104265   rm -f conftest.er1
104266   cat conftest.err >&5
104267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104268   (exit $ac_status); } && {
104269          test -z "$ac_cxx_werror_flag" ||
104270          test ! -s conftest.err
104271        } && test -s conftest.$ac_objext; then
104272   ac_c99_inttypes_tr1=yes
104273 else
104274   echo "$as_me: failed program was:" >&5
104275 sed 's/^/| /' conftest.$ac_ext >&5
104276
104277         ac_c99_inttypes_tr1=no
104278 fi
104279
104280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
104281   fi
104282   { echo "$as_me:$LINENO: result: $ac_c99_inttypes_tr1" >&5
104283 echo "${ECHO_T}$ac_c99_inttypes_tr1" >&6; }
104284   if test x"$ac_c99_inttypes_tr1" = x"yes"; then
104285
104286 cat >>confdefs.h <<\_ACEOF
104287 #define _GLIBCXX_USE_C99_INTTYPES_TR1 1
104288 _ACEOF
104289
104290   fi
104291
104292   # Check for the existence of the <stdbool.h> header.
104293
104294 for ac_header in stdbool.h
104295 do
104296 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
104297 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
104298   { echo "$as_me:$LINENO: checking for $ac_header" >&5
104299 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
104300 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
104301   echo $ECHO_N "(cached) $ECHO_C" >&6
104302 fi
104303 ac_res=`eval echo '${'$as_ac_Header'}'`
104304                { echo "$as_me:$LINENO: result: $ac_res" >&5
104305 echo "${ECHO_T}$ac_res" >&6; }
104306 else
104307   # Is the header compilable?
104308 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
104309 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
104310 cat >conftest.$ac_ext <<_ACEOF
104311 /* confdefs.h.  */
104312 _ACEOF
104313 cat confdefs.h >>conftest.$ac_ext
104314 cat >>conftest.$ac_ext <<_ACEOF
104315 /* end confdefs.h.  */
104316 $ac_includes_default
104317 #include <$ac_header>
104318 _ACEOF
104319 rm -f conftest.$ac_objext
104320 if { (ac_try="$ac_compile"
104321 case "(($ac_try" in
104322   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
104323   *) ac_try_echo=$ac_try;;
104324 esac
104325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
104326   (eval "$ac_compile") 2>conftest.er1
104327   ac_status=$?
104328   grep -v '^ *+' conftest.er1 >conftest.err
104329   rm -f conftest.er1
104330   cat conftest.err >&5
104331   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104332   (exit $ac_status); } && {
104333          test -z "$ac_cxx_werror_flag" ||
104334          test ! -s conftest.err
104335        } && test -s conftest.$ac_objext; then
104336   ac_header_compiler=yes
104337 else
104338   echo "$as_me: failed program was:" >&5
104339 sed 's/^/| /' conftest.$ac_ext >&5
104340
104341         ac_header_compiler=no
104342 fi
104343
104344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
104345 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
104346 echo "${ECHO_T}$ac_header_compiler" >&6; }
104347
104348 # Is the header present?
104349 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
104350 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
104351 cat >conftest.$ac_ext <<_ACEOF
104352 /* confdefs.h.  */
104353 _ACEOF
104354 cat confdefs.h >>conftest.$ac_ext
104355 cat >>conftest.$ac_ext <<_ACEOF
104356 /* end confdefs.h.  */
104357 #include <$ac_header>
104358 _ACEOF
104359 if { (ac_try="$ac_cpp conftest.$ac_ext"
104360 case "(($ac_try" in
104361   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
104362   *) ac_try_echo=$ac_try;;
104363 esac
104364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
104365   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
104366   ac_status=$?
104367   grep -v '^ *+' conftest.er1 >conftest.err
104368   rm -f conftest.er1
104369   cat conftest.err >&5
104370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104371   (exit $ac_status); } >/dev/null && {
104372          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
104373          test ! -s conftest.err
104374        }; then
104375   ac_header_preproc=yes
104376 else
104377   echo "$as_me: failed program was:" >&5
104378 sed 's/^/| /' conftest.$ac_ext >&5
104379
104380   ac_header_preproc=no
104381 fi
104382
104383 rm -f conftest.err conftest.$ac_ext
104384 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
104385 echo "${ECHO_T}$ac_header_preproc" >&6; }
104386
104387 # So?  What about this header?
104388 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
104389   yes:no: )
104390     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
104391 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
104392     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
104393 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
104394     ac_header_preproc=yes
104395     ;;
104396   no:yes:* )
104397     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
104398 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
104399     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
104400 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
104401     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
104402 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
104403     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
104404 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
104405     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
104406 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
104407     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
104408 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
104409
104410     ;;
104411 esac
104412 { echo "$as_me:$LINENO: checking for $ac_header" >&5
104413 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
104414 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
104415   echo $ECHO_N "(cached) $ECHO_C" >&6
104416 else
104417   eval "$as_ac_Header=\$ac_header_preproc"
104418 fi
104419 ac_res=`eval echo '${'$as_ac_Header'}'`
104420                { echo "$as_me:$LINENO: result: $ac_res" >&5
104421 echo "${ECHO_T}$ac_res" >&6; }
104422
104423 fi
104424 if test `eval echo '${'$as_ac_Header'}'` = yes; then
104425   cat >>confdefs.h <<_ACEOF
104426 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
104427 _ACEOF
104428
104429 fi
104430
104431 done
104432
104433
104434   CXXFLAGS="$ac_save_CXXFLAGS"
104435   ac_ext=c
104436 ac_cpp='$CPP $CPPFLAGS'
104437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104440
104441
104442
104443     # Check for sigsetjmp
104444     cat >conftest.$ac_ext <<_ACEOF
104445 /* confdefs.h.  */
104446 _ACEOF
104447 cat confdefs.h >>conftest.$ac_ext
104448 cat >>conftest.$ac_ext <<_ACEOF
104449 /* end confdefs.h.  */
104450 #include <setjmp.h>
104451 int
104452 main ()
104453 {
104454 sigjmp_buf env;
104455        while (! sigsetjmp (env, 1))
104456          siglongjmp (env, 1);
104457
104458   ;
104459   return 0;
104460 }
104461 _ACEOF
104462 rm -f conftest.$ac_objext
104463 if { (ac_try="$ac_compile"
104464 case "(($ac_try" in
104465   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
104466   *) ac_try_echo=$ac_try;;
104467 esac
104468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
104469   (eval "$ac_compile") 2>conftest.er1
104470   ac_status=$?
104471   grep -v '^ *+' conftest.er1 >conftest.err
104472   rm -f conftest.er1
104473   cat conftest.err >&5
104474   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104475   (exit $ac_status); } && {
104476          test -z "$ac_c_werror_flag" ||
104477          test ! -s conftest.err
104478        } && test -s conftest.$ac_objext; then
104479
104480 cat >>confdefs.h <<\_ACEOF
104481 #define HAVE_SIGSETJMP 1
104482 _ACEOF
104483
104484 else
104485   echo "$as_me: failed program was:" >&5
104486 sed 's/^/| /' conftest.$ac_ext >&5
104487
104488
104489 fi
104490
104491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
104492     ;;
104493   *-mingw32*)
104494
104495
104496
104497 for ac_header in sys/types.h locale.h float.h
104498 do
104499 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
104500 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
104501   { echo "$as_me:$LINENO: checking for $ac_header" >&5
104502 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
104503 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
104504   echo $ECHO_N "(cached) $ECHO_C" >&6
104505 fi
104506 ac_res=`eval echo '${'$as_ac_Header'}'`
104507                { echo "$as_me:$LINENO: result: $ac_res" >&5
104508 echo "${ECHO_T}$ac_res" >&6; }
104509 else
104510   # Is the header compilable?
104511 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
104512 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
104513 cat >conftest.$ac_ext <<_ACEOF
104514 /* confdefs.h.  */
104515 _ACEOF
104516 cat confdefs.h >>conftest.$ac_ext
104517 cat >>conftest.$ac_ext <<_ACEOF
104518 /* end confdefs.h.  */
104519 $ac_includes_default
104520 #include <$ac_header>
104521 _ACEOF
104522 rm -f conftest.$ac_objext
104523 if { (ac_try="$ac_compile"
104524 case "(($ac_try" in
104525   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
104526   *) ac_try_echo=$ac_try;;
104527 esac
104528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
104529   (eval "$ac_compile") 2>conftest.er1
104530   ac_status=$?
104531   grep -v '^ *+' conftest.er1 >conftest.err
104532   rm -f conftest.er1
104533   cat conftest.err >&5
104534   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104535   (exit $ac_status); } && {
104536          test -z "$ac_c_werror_flag" ||
104537          test ! -s conftest.err
104538        } && test -s conftest.$ac_objext; then
104539   ac_header_compiler=yes
104540 else
104541   echo "$as_me: failed program was:" >&5
104542 sed 's/^/| /' conftest.$ac_ext >&5
104543
104544         ac_header_compiler=no
104545 fi
104546
104547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
104548 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
104549 echo "${ECHO_T}$ac_header_compiler" >&6; }
104550
104551 # Is the header present?
104552 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
104553 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
104554 cat >conftest.$ac_ext <<_ACEOF
104555 /* confdefs.h.  */
104556 _ACEOF
104557 cat confdefs.h >>conftest.$ac_ext
104558 cat >>conftest.$ac_ext <<_ACEOF
104559 /* end confdefs.h.  */
104560 #include <$ac_header>
104561 _ACEOF
104562 if { (ac_try="$ac_cpp conftest.$ac_ext"
104563 case "(($ac_try" in
104564   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
104565   *) ac_try_echo=$ac_try;;
104566 esac
104567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
104568   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
104569   ac_status=$?
104570   grep -v '^ *+' conftest.er1 >conftest.err
104571   rm -f conftest.er1
104572   cat conftest.err >&5
104573   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104574   (exit $ac_status); } >/dev/null && {
104575          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
104576          test ! -s conftest.err
104577        }; then
104578   ac_header_preproc=yes
104579 else
104580   echo "$as_me: failed program was:" >&5
104581 sed 's/^/| /' conftest.$ac_ext >&5
104582
104583   ac_header_preproc=no
104584 fi
104585
104586 rm -f conftest.err conftest.$ac_ext
104587 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
104588 echo "${ECHO_T}$ac_header_preproc" >&6; }
104589
104590 # So?  What about this header?
104591 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
104592   yes:no: )
104593     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
104594 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
104595     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
104596 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
104597     ac_header_preproc=yes
104598     ;;
104599   no:yes:* )
104600     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
104601 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
104602     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
104603 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
104604     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
104605 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
104606     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
104607 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
104608     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
104609 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
104610     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
104611 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
104612
104613     ;;
104614 esac
104615 { echo "$as_me:$LINENO: checking for $ac_header" >&5
104616 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
104617 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
104618   echo $ECHO_N "(cached) $ECHO_C" >&6
104619 else
104620   eval "$as_ac_Header=\$ac_header_preproc"
104621 fi
104622 ac_res=`eval echo '${'$as_ac_Header'}'`
104623                { echo "$as_me:$LINENO: result: $ac_res" >&5
104624 echo "${ECHO_T}$ac_res" >&6; }
104625
104626 fi
104627 if test `eval echo '${'$as_ac_Header'}'` = yes; then
104628   cat >>confdefs.h <<_ACEOF
104629 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
104630 _ACEOF
104631
104632 fi
104633
104634 done
104635
104636
104637   # If we're not using GNU ld, then there's no point in even trying these
104638   # tests.  Check for that first.  We should have already tested for gld
104639   # by now (in libtool), but require it now just to be safe...
104640   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
104641   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
104642
104643
104644
104645   # The name set by libtool depends on the version of libtool.  Shame on us
104646   # for depending on an impl detail, but c'est la vie.  Older versions used
104647   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
104648   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
104649   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
104650   # set (hence we're using an older libtool), then set it.
104651   if test x${with_gnu_ld+set} != xset; then
104652     if test x${ac_cv_prog_gnu_ld+set} != xset; then
104653       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
104654       with_gnu_ld=no
104655     else
104656       with_gnu_ld=$ac_cv_prog_gnu_ld
104657     fi
104658   fi
104659
104660   # Start by getting the version number.  I think the libtool test already
104661   # does some of this, but throws away the result.
104662   if test x"$with_gnu_ld" = x"yes"; then
104663     { echo "$as_me:$LINENO: checking for ld version" >&5
104664 echo $ECHO_N "checking for ld version... $ECHO_C" >&6; }
104665
104666     ldver=`$LD --version 2>/dev/null | head -1 | \
104667            sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
104668
104669     glibcxx_gnu_ld_version=`echo $ldver | \
104670            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
104671     { echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
104672 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6; }
104673   fi
104674
104675   # Set --gc-sections.
104676   glibcxx_gcsections_min_ld=21602
104677   if test x"$with_gnu_ld" = x"yes" &&
104678         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
104679
104680     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
104681     # NB: This flag only works reliably after 2.16.1. Configure tests
104682     # for this are difficult, so hard wire a value that should work.
104683
104684     ac_test_CFLAGS="${CFLAGS+set}"
104685     ac_save_CFLAGS="$CFLAGS"
104686     CFLAGS='-Wl,--gc-sections'
104687
104688     # Check for -Wl,--gc-sections
104689     { echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
104690 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6; }
104691     if test x$gcc_no_link = xyes; then
104692   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104693 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104694    { (exit 1); exit 1; }; }
104695 fi
104696 cat >conftest.$ac_ext <<_ACEOF
104697 /* confdefs.h.  */
104698 _ACEOF
104699 cat confdefs.h >>conftest.$ac_ext
104700 cat >>conftest.$ac_ext <<_ACEOF
104701 /* end confdefs.h.  */
104702  int one(void) { return 1; }
104703      int two(void) { return 2; }
104704
104705 int
104706 main ()
104707 {
104708  two();
104709   ;
104710   return 0;
104711 }
104712 _ACEOF
104713 rm -f conftest.$ac_objext conftest$ac_exeext
104714 if { (ac_try="$ac_link"
104715 case "(($ac_try" in
104716   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
104717   *) ac_try_echo=$ac_try;;
104718 esac
104719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
104720   (eval "$ac_link") 2>conftest.er1
104721   ac_status=$?
104722   grep -v '^ *+' conftest.er1 >conftest.err
104723   rm -f conftest.er1
104724   cat conftest.err >&5
104725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104726   (exit $ac_status); } && {
104727          test -z "$ac_c_werror_flag" ||
104728          test ! -s conftest.err
104729        } && test -s conftest$ac_exeext &&
104730        $as_test_x conftest$ac_exeext; then
104731   ac_gcsections=yes
104732 else
104733   echo "$as_me: failed program was:" >&5
104734 sed 's/^/| /' conftest.$ac_ext >&5
104735
104736         ac_gcsections=no
104737 fi
104738
104739 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
104740       conftest$ac_exeext conftest.$ac_ext
104741     if test "$ac_gcsections" = "yes"; then
104742       rm -f conftest.c
104743       touch conftest.c
104744       if $CC -c conftest.c; then
104745         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
104746            grep "Warning: gc-sections option ignored" > /dev/null; then
104747           ac_gcsections=no
104748         fi
104749       fi
104750       rm -f conftest.c conftest.o conftest
104751     fi
104752     if test "$ac_gcsections" = "yes"; then
104753       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
104754     fi
104755     { echo "$as_me:$LINENO: result: $ac_gcsections" >&5
104756 echo "${ECHO_T}$ac_gcsections" >&6; }
104757
104758     if test "$ac_test_CFLAGS" = set; then
104759       CFLAGS="$ac_save_CFLAGS"
104760     else
104761       # this is the suspicious part
104762       CFLAGS=''
104763     fi
104764   fi
104765
104766   # Set -z,relro.
104767   # Note this is only for shared objects.
104768   ac_ld_relro=no
104769   if test x"$with_gnu_ld" = x"yes"; then
104770     { echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
104771 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6; }
104772     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
104773     if test -n "$cxx_z_relo"; then
104774       OPT_LDFLAGS="-Wl,-z,relro"
104775       ac_ld_relro=yes
104776     fi
104777     { echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
104778 echo "${ECHO_T}$ac_ld_relro" >&6; }
104779   fi
104780
104781   # Set linker optimization flags.
104782   if test x"$with_gnu_ld" = x"yes"; then
104783     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
104784   fi
104785
104786
104787
104788
104789
104790
104791 { echo "$as_me:$LINENO: checking for main in -lm" >&5
104792 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6; }
104793 if test "${ac_cv_lib_m_main+set}" = set; then
104794   echo $ECHO_N "(cached) $ECHO_C" >&6
104795 else
104796   ac_check_lib_save_LIBS=$LIBS
104797 LIBS="-lm  $LIBS"
104798 if test x$gcc_no_link = xyes; then
104799   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104800 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104801    { (exit 1); exit 1; }; }
104802 fi
104803 cat >conftest.$ac_ext <<_ACEOF
104804 /* confdefs.h.  */
104805 _ACEOF
104806 cat confdefs.h >>conftest.$ac_ext
104807 cat >>conftest.$ac_ext <<_ACEOF
104808 /* end confdefs.h.  */
104809
104810
104811 int
104812 main ()
104813 {
104814 return main ();
104815   ;
104816   return 0;
104817 }
104818 _ACEOF
104819 rm -f conftest.$ac_objext conftest$ac_exeext
104820 if { (ac_try="$ac_link"
104821 case "(($ac_try" in
104822   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
104823   *) ac_try_echo=$ac_try;;
104824 esac
104825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
104826   (eval "$ac_link") 2>conftest.er1
104827   ac_status=$?
104828   grep -v '^ *+' conftest.er1 >conftest.err
104829   rm -f conftest.er1
104830   cat conftest.err >&5
104831   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104832   (exit $ac_status); } && {
104833          test -z "$ac_c_werror_flag" ||
104834          test ! -s conftest.err
104835        } && test -s conftest$ac_exeext &&
104836        $as_test_x conftest$ac_exeext; then
104837   ac_cv_lib_m_main=yes
104838 else
104839   echo "$as_me: failed program was:" >&5
104840 sed 's/^/| /' conftest.$ac_ext >&5
104841
104842         ac_cv_lib_m_main=no
104843 fi
104844
104845 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
104846       conftest$ac_exeext conftest.$ac_ext
104847 LIBS=$ac_check_lib_save_LIBS
104848 fi
104849 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
104850 echo "${ECHO_T}$ac_cv_lib_m_main" >&6; }
104851 if test $ac_cv_lib_m_main = yes; then
104852   cat >>confdefs.h <<_ACEOF
104853 #define HAVE_LIBM 1
104854 _ACEOF
104855
104856   LIBS="-lm $LIBS"
104857
104858 fi
104859
104860
104861 for ac_func in copysignf
104862 do
104863 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104864 { echo "$as_me:$LINENO: checking for $ac_func" >&5
104865 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
104866 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
104867   echo $ECHO_N "(cached) $ECHO_C" >&6
104868 else
104869   if test x$gcc_no_link = xyes; then
104870   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104871 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104872    { (exit 1); exit 1; }; }
104873 fi
104874 cat >conftest.$ac_ext <<_ACEOF
104875 /* confdefs.h.  */
104876 _ACEOF
104877 cat confdefs.h >>conftest.$ac_ext
104878 cat >>conftest.$ac_ext <<_ACEOF
104879 /* end confdefs.h.  */
104880 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104881    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
104882 #define $ac_func innocuous_$ac_func
104883
104884 /* System header to define __stub macros and hopefully few prototypes,
104885     which can conflict with char $ac_func (); below.
104886     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104887     <limits.h> exists even on freestanding compilers.  */
104888
104889 #ifdef __STDC__
104890 # include <limits.h>
104891 #else
104892 # include <assert.h>
104893 #endif
104894
104895 #undef $ac_func
104896
104897 /* Override any GCC internal prototype to avoid an error.
104898    Use char because int might match the return type of a GCC
104899    builtin and then its argument prototype would still apply.  */
104900 #ifdef __cplusplus
104901 extern "C"
104902 #endif
104903 char $ac_func ();
104904 /* The GNU C library defines this for functions which it implements
104905     to always fail with ENOSYS.  Some functions are actually named
104906     something starting with __ and the normal name is an alias.  */
104907 #if defined __stub_$ac_func || defined __stub___$ac_func
104908 choke me
104909 #endif
104910
104911 int
104912 main ()
104913 {
104914 return $ac_func ();
104915   ;
104916   return 0;
104917 }
104918 _ACEOF
104919 rm -f conftest.$ac_objext conftest$ac_exeext
104920 if { (ac_try="$ac_link"
104921 case "(($ac_try" in
104922   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
104923   *) ac_try_echo=$ac_try;;
104924 esac
104925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
104926   (eval "$ac_link") 2>conftest.er1
104927   ac_status=$?
104928   grep -v '^ *+' conftest.er1 >conftest.err
104929   rm -f conftest.er1
104930   cat conftest.err >&5
104931   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104932   (exit $ac_status); } && {
104933          test -z "$ac_c_werror_flag" ||
104934          test ! -s conftest.err
104935        } && test -s conftest$ac_exeext &&
104936        $as_test_x conftest$ac_exeext; then
104937   eval "$as_ac_var=yes"
104938 else
104939   echo "$as_me: failed program was:" >&5
104940 sed 's/^/| /' conftest.$ac_ext >&5
104941
104942         eval "$as_ac_var=no"
104943 fi
104944
104945 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
104946       conftest$ac_exeext conftest.$ac_ext
104947 fi
104948 ac_res=`eval echo '${'$as_ac_var'}'`
104949                { echo "$as_me:$LINENO: result: $ac_res" >&5
104950 echo "${ECHO_T}$ac_res" >&6; }
104951 if test `eval echo '${'$as_ac_var'}'` = yes; then
104952   cat >>confdefs.h <<_ACEOF
104953 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104954 _ACEOF
104955
104956 else
104957   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
104958 fi
104959 done
104960
104961
104962
104963 for ac_func in __signbit
104964 do
104965 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104966 { echo "$as_me:$LINENO: checking for $ac_func" >&5
104967 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
104968 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
104969   echo $ECHO_N "(cached) $ECHO_C" >&6
104970 else
104971   if test x$gcc_no_link = xyes; then
104972   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104973 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104974    { (exit 1); exit 1; }; }
104975 fi
104976 cat >conftest.$ac_ext <<_ACEOF
104977 /* confdefs.h.  */
104978 _ACEOF
104979 cat confdefs.h >>conftest.$ac_ext
104980 cat >>conftest.$ac_ext <<_ACEOF
104981 /* end confdefs.h.  */
104982 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104983    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
104984 #define $ac_func innocuous_$ac_func
104985
104986 /* System header to define __stub macros and hopefully few prototypes,
104987     which can conflict with char $ac_func (); below.
104988     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104989     <limits.h> exists even on freestanding compilers.  */
104990
104991 #ifdef __STDC__
104992 # include <limits.h>
104993 #else
104994 # include <assert.h>
104995 #endif
104996
104997 #undef $ac_func
104998
104999 /* Override any GCC internal prototype to avoid an error.
105000    Use char because int might match the return type of a GCC
105001    builtin and then its argument prototype would still apply.  */
105002 #ifdef __cplusplus
105003 extern "C"
105004 #endif
105005 char $ac_func ();
105006 /* The GNU C library defines this for functions which it implements
105007     to always fail with ENOSYS.  Some functions are actually named
105008     something starting with __ and the normal name is an alias.  */
105009 #if defined __stub_$ac_func || defined __stub___$ac_func
105010 choke me
105011 #endif
105012
105013 int
105014 main ()
105015 {
105016 return $ac_func ();
105017   ;
105018   return 0;
105019 }
105020 _ACEOF
105021 rm -f conftest.$ac_objext conftest$ac_exeext
105022 if { (ac_try="$ac_link"
105023 case "(($ac_try" in
105024   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
105025   *) ac_try_echo=$ac_try;;
105026 esac
105027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
105028   (eval "$ac_link") 2>conftest.er1
105029   ac_status=$?
105030   grep -v '^ *+' conftest.er1 >conftest.err
105031   rm -f conftest.er1
105032   cat conftest.err >&5
105033   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105034   (exit $ac_status); } && {
105035          test -z "$ac_c_werror_flag" ||
105036          test ! -s conftest.err
105037        } && test -s conftest$ac_exeext &&
105038        $as_test_x conftest$ac_exeext; then
105039   eval "$as_ac_var=yes"
105040 else
105041   echo "$as_me: failed program was:" >&5
105042 sed 's/^/| /' conftest.$ac_ext >&5
105043
105044         eval "$as_ac_var=no"
105045 fi
105046
105047 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
105048       conftest$ac_exeext conftest.$ac_ext
105049 fi
105050 ac_res=`eval echo '${'$as_ac_var'}'`
105051                { echo "$as_me:$LINENO: result: $ac_res" >&5
105052 echo "${ECHO_T}$ac_res" >&6; }
105053 if test `eval echo '${'$as_ac_var'}'` = yes; then
105054   cat >>confdefs.h <<_ACEOF
105055 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
105056 _ACEOF
105057
105058 else
105059   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
105060 fi
105061 done
105062
105063
105064
105065 for ac_func in __signbitf
105066 do
105067 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
105068 { echo "$as_me:$LINENO: checking for $ac_func" >&5
105069 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
105070 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
105071   echo $ECHO_N "(cached) $ECHO_C" >&6
105072 else
105073   if test x$gcc_no_link = xyes; then
105074   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105075 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105076    { (exit 1); exit 1; }; }
105077 fi
105078 cat >conftest.$ac_ext <<_ACEOF
105079 /* confdefs.h.  */
105080 _ACEOF
105081 cat confdefs.h >>conftest.$ac_ext
105082 cat >>conftest.$ac_ext <<_ACEOF
105083 /* end confdefs.h.  */
105084 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
105085    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
105086 #define $ac_func innocuous_$ac_func
105087
105088 /* System header to define __stub macros and hopefully few prototypes,
105089     which can conflict with char $ac_func (); below.
105090     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
105091     <limits.h> exists even on freestanding compilers.  */
105092
105093 #ifdef __STDC__
105094 # include <limits.h>
105095 #else
105096 # include <assert.h>
105097 #endif
105098
105099 #undef $ac_func
105100
105101 /* Override any GCC internal prototype to avoid an error.
105102    Use char because int might match the return type of a GCC
105103    builtin and then its argument prototype would still apply.  */
105104 #ifdef __cplusplus
105105 extern "C"
105106 #endif
105107 char $ac_func ();
105108 /* The GNU C library defines this for functions which it implements
105109     to always fail with ENOSYS.  Some functions are actually named
105110     something starting with __ and the normal name is an alias.  */
105111 #if defined __stub_$ac_func || defined __stub___$ac_func
105112 choke me
105113 #endif
105114
105115 int
105116 main ()
105117 {
105118 return $ac_func ();
105119   ;
105120   return 0;
105121 }
105122 _ACEOF
105123 rm -f conftest.$ac_objext conftest$ac_exeext
105124 if { (ac_try="$ac_link"
105125 case "(($ac_try" in
105126   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
105127   *) ac_try_echo=$ac_try;;
105128 esac
105129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
105130   (eval "$ac_link") 2>conftest.er1
105131   ac_status=$?
105132   grep -v '^ *+' conftest.er1 >conftest.err
105133   rm -f conftest.er1
105134   cat conftest.err >&5
105135   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105136   (exit $ac_status); } && {
105137          test -z "$ac_c_werror_flag" ||
105138          test ! -s conftest.err
105139        } && test -s conftest$ac_exeext &&
105140        $as_test_x conftest$ac_exeext; then
105141   eval "$as_ac_var=yes"
105142 else
105143   echo "$as_me: failed program was:" >&5
105144 sed 's/^/| /' conftest.$ac_ext >&5
105145
105146         eval "$as_ac_var=no"
105147 fi
105148
105149 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
105150       conftest$ac_exeext conftest.$ac_ext
105151 fi
105152 ac_res=`eval echo '${'$as_ac_var'}'`
105153                { echo "$as_me:$LINENO: result: $ac_res" >&5
105154 echo "${ECHO_T}$ac_res" >&6; }
105155 if test `eval echo '${'$as_ac_var'}'` = yes; then
105156   cat >>confdefs.h <<_ACEOF
105157 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
105158 _ACEOF
105159
105160 else
105161   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
105162 fi
105163 done
105164
105165
105166           if test x$ac_cv_func_copysignl = x"yes"; then
105167
105168 for ac_func in __signbitl
105169 do
105170 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
105171 { echo "$as_me:$LINENO: checking for $ac_func" >&5
105172 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
105173 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
105174   echo $ECHO_N "(cached) $ECHO_C" >&6
105175 else
105176   if test x$gcc_no_link = xyes; then
105177   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105178 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105179    { (exit 1); exit 1; }; }
105180 fi
105181 cat >conftest.$ac_ext <<_ACEOF
105182 /* confdefs.h.  */
105183 _ACEOF
105184 cat confdefs.h >>conftest.$ac_ext
105185 cat >>conftest.$ac_ext <<_ACEOF
105186 /* end confdefs.h.  */
105187 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
105188    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
105189 #define $ac_func innocuous_$ac_func
105190
105191 /* System header to define __stub macros and hopefully few prototypes,
105192     which can conflict with char $ac_func (); below.
105193     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
105194     <limits.h> exists even on freestanding compilers.  */
105195
105196 #ifdef __STDC__
105197 # include <limits.h>
105198 #else
105199 # include <assert.h>
105200 #endif
105201
105202 #undef $ac_func
105203
105204 /* Override any GCC internal prototype to avoid an error.
105205    Use char because int might match the return type of a GCC
105206    builtin and then its argument prototype would still apply.  */
105207 #ifdef __cplusplus
105208 extern "C"
105209 #endif
105210 char $ac_func ();
105211 /* The GNU C library defines this for functions which it implements
105212     to always fail with ENOSYS.  Some functions are actually named
105213     something starting with __ and the normal name is an alias.  */
105214 #if defined __stub_$ac_func || defined __stub___$ac_func
105215 choke me
105216 #endif
105217
105218 int
105219 main ()
105220 {
105221 return $ac_func ();
105222   ;
105223   return 0;
105224 }
105225 _ACEOF
105226 rm -f conftest.$ac_objext conftest$ac_exeext
105227 if { (ac_try="$ac_link"
105228 case "(($ac_try" in
105229   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
105230   *) ac_try_echo=$ac_try;;
105231 esac
105232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
105233   (eval "$ac_link") 2>conftest.er1
105234   ac_status=$?
105235   grep -v '^ *+' conftest.er1 >conftest.err
105236   rm -f conftest.er1
105237   cat conftest.err >&5
105238   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105239   (exit $ac_status); } && {
105240          test -z "$ac_c_werror_flag" ||
105241          test ! -s conftest.err
105242        } && test -s conftest$ac_exeext &&
105243        $as_test_x conftest$ac_exeext; then
105244   eval "$as_ac_var=yes"
105245 else
105246   echo "$as_me: failed program was:" >&5
105247 sed 's/^/| /' conftest.$ac_ext >&5
105248
105249         eval "$as_ac_var=no"
105250 fi
105251
105252 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
105253       conftest$ac_exeext conftest.$ac_ext
105254 fi
105255 ac_res=`eval echo '${'$as_ac_var'}'`
105256                { echo "$as_me:$LINENO: result: $ac_res" >&5
105257 echo "${ECHO_T}$ac_res" >&6; }
105258 if test `eval echo '${'$as_ac_var'}'` = yes; then
105259   cat >>confdefs.h <<_ACEOF
105260 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
105261 _ACEOF
105262
105263 else
105264   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
105265 fi
105266 done
105267
105268   fi
105269
105270   # Used in libmath/Makefile.am.
105271   if test -n "$LIBMATHOBJS"; then
105272     need_libmath=yes
105273   fi
105274
105275
105276     ;;
105277   *-netbsd*)
105278
105279
105280
105281
105282
105283
105284
105285
105286
105287
105288
105289
105290 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
105291       machine/endian.h machine/param.h sys/machine.h sys/types.h \
105292       fp.h locale.h float.h inttypes.h
105293 do
105294 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
105295 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
105296   { echo "$as_me:$LINENO: checking for $ac_header" >&5
105297 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
105298 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
105299   echo $ECHO_N "(cached) $ECHO_C" >&6
105300 fi
105301 ac_res=`eval echo '${'$as_ac_Header'}'`
105302                { echo "$as_me:$LINENO: result: $ac_res" >&5
105303 echo "${ECHO_T}$ac_res" >&6; }
105304 else
105305   # Is the header compilable?
105306 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
105307 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
105308 cat >conftest.$ac_ext <<_ACEOF
105309 /* confdefs.h.  */
105310 _ACEOF
105311 cat confdefs.h >>conftest.$ac_ext
105312 cat >>conftest.$ac_ext <<_ACEOF
105313 /* end confdefs.h.  */
105314 $ac_includes_default
105315 #include <$ac_header>
105316 _ACEOF
105317 rm -f conftest.$ac_objext
105318 if { (ac_try="$ac_compile"
105319 case "(($ac_try" in
105320   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
105321   *) ac_try_echo=$ac_try;;
105322 esac
105323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
105324   (eval "$ac_compile") 2>conftest.er1
105325   ac_status=$?
105326   grep -v '^ *+' conftest.er1 >conftest.err
105327   rm -f conftest.er1
105328   cat conftest.err >&5
105329   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105330   (exit $ac_status); } && {
105331          test -z "$ac_c_werror_flag" ||
105332          test ! -s conftest.err
105333        } && test -s conftest.$ac_objext; then
105334   ac_header_compiler=yes
105335 else
105336   echo "$as_me: failed program was:" >&5
105337 sed 's/^/| /' conftest.$ac_ext >&5
105338
105339         ac_header_compiler=no
105340 fi
105341
105342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
105343 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
105344 echo "${ECHO_T}$ac_header_compiler" >&6; }
105345
105346 # Is the header present?
105347 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
105348 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
105349 cat >conftest.$ac_ext <<_ACEOF
105350 /* confdefs.h.  */
105351 _ACEOF
105352 cat confdefs.h >>conftest.$ac_ext
105353 cat >>conftest.$ac_ext <<_ACEOF
105354 /* end confdefs.h.  */
105355 #include <$ac_header>
105356 _ACEOF
105357 if { (ac_try="$ac_cpp conftest.$ac_ext"
105358 case "(($ac_try" in
105359   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
105360   *) ac_try_echo=$ac_try;;
105361 esac
105362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
105363   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
105364   ac_status=$?
105365   grep -v '^ *+' conftest.er1 >conftest.err
105366   rm -f conftest.er1
105367   cat conftest.err >&5
105368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105369   (exit $ac_status); } >/dev/null && {
105370          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
105371          test ! -s conftest.err
105372        }; then
105373   ac_header_preproc=yes
105374 else
105375   echo "$as_me: failed program was:" >&5
105376 sed 's/^/| /' conftest.$ac_ext >&5
105377
105378   ac_header_preproc=no
105379 fi
105380
105381 rm -f conftest.err conftest.$ac_ext
105382 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
105383 echo "${ECHO_T}$ac_header_preproc" >&6; }
105384
105385 # So?  What about this header?
105386 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
105387   yes:no: )
105388     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
105389 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
105390     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
105391 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
105392     ac_header_preproc=yes
105393     ;;
105394   no:yes:* )
105395     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
105396 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
105397     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
105398 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
105399     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
105400 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
105401     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
105402 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
105403     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
105404 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
105405     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
105406 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
105407
105408     ;;
105409 esac
105410 { echo "$as_me:$LINENO: checking for $ac_header" >&5
105411 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
105412 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
105413   echo $ECHO_N "(cached) $ECHO_C" >&6
105414 else
105415   eval "$as_ac_Header=\$ac_header_preproc"
105416 fi
105417 ac_res=`eval echo '${'$as_ac_Header'}'`
105418                { echo "$as_me:$LINENO: result: $ac_res" >&5
105419 echo "${ECHO_T}$ac_res" >&6; }
105420
105421 fi
105422 if test `eval echo '${'$as_ac_Header'}'` = yes; then
105423   cat >>confdefs.h <<_ACEOF
105424 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
105425 _ACEOF
105426
105427 fi
105428
105429 done
105430
105431     SECTION_FLAGS='-ffunction-sections -fdata-sections'
105432
105433
105434   # If we're not using GNU ld, then there's no point in even trying these
105435   # tests.  Check for that first.  We should have already tested for gld
105436   # by now (in libtool), but require it now just to be safe...
105437   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
105438   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
105439
105440
105441
105442   # The name set by libtool depends on the version of libtool.  Shame on us
105443   # for depending on an impl detail, but c'est la vie.  Older versions used
105444   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
105445   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
105446   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
105447   # set (hence we're using an older libtool), then set it.
105448   if test x${with_gnu_ld+set} != xset; then
105449     if test x${ac_cv_prog_gnu_ld+set} != xset; then
105450       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
105451       with_gnu_ld=no
105452     else
105453       with_gnu_ld=$ac_cv_prog_gnu_ld
105454     fi
105455   fi
105456
105457   # Start by getting the version number.  I think the libtool test already
105458   # does some of this, but throws away the result.
105459   if test x"$with_gnu_ld" = x"yes"; then
105460     { echo "$as_me:$LINENO: checking for ld version" >&5
105461 echo $ECHO_N "checking for ld version... $ECHO_C" >&6; }
105462
105463     ldver=`$LD --version 2>/dev/null | head -1 | \
105464            sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
105465
105466     glibcxx_gnu_ld_version=`echo $ldver | \
105467            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
105468     { echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
105469 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6; }
105470   fi
105471
105472   # Set --gc-sections.
105473   glibcxx_gcsections_min_ld=21602
105474   if test x"$with_gnu_ld" = x"yes" &&
105475         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
105476
105477     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
105478     # NB: This flag only works reliably after 2.16.1. Configure tests
105479     # for this are difficult, so hard wire a value that should work.
105480
105481     ac_test_CFLAGS="${CFLAGS+set}"
105482     ac_save_CFLAGS="$CFLAGS"
105483     CFLAGS='-Wl,--gc-sections'
105484
105485     # Check for -Wl,--gc-sections
105486     { echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
105487 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6; }
105488     if test x$gcc_no_link = xyes; then
105489   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105490 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105491    { (exit 1); exit 1; }; }
105492 fi
105493 cat >conftest.$ac_ext <<_ACEOF
105494 /* confdefs.h.  */
105495 _ACEOF
105496 cat confdefs.h >>conftest.$ac_ext
105497 cat >>conftest.$ac_ext <<_ACEOF
105498 /* end confdefs.h.  */
105499  int one(void) { return 1; }
105500      int two(void) { return 2; }
105501
105502 int
105503 main ()
105504 {
105505  two();
105506   ;
105507   return 0;
105508 }
105509 _ACEOF
105510 rm -f conftest.$ac_objext conftest$ac_exeext
105511 if { (ac_try="$ac_link"
105512 case "(($ac_try" in
105513   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
105514   *) ac_try_echo=$ac_try;;
105515 esac
105516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
105517   (eval "$ac_link") 2>conftest.er1
105518   ac_status=$?
105519   grep -v '^ *+' conftest.er1 >conftest.err
105520   rm -f conftest.er1
105521   cat conftest.err >&5
105522   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105523   (exit $ac_status); } && {
105524          test -z "$ac_c_werror_flag" ||
105525          test ! -s conftest.err
105526        } && test -s conftest$ac_exeext &&
105527        $as_test_x conftest$ac_exeext; then
105528   ac_gcsections=yes
105529 else
105530   echo "$as_me: failed program was:" >&5
105531 sed 's/^/| /' conftest.$ac_ext >&5
105532
105533         ac_gcsections=no
105534 fi
105535
105536 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
105537       conftest$ac_exeext conftest.$ac_ext
105538     if test "$ac_gcsections" = "yes"; then
105539       rm -f conftest.c
105540       touch conftest.c
105541       if $CC -c conftest.c; then
105542         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
105543            grep "Warning: gc-sections option ignored" > /dev/null; then
105544           ac_gcsections=no
105545         fi
105546       fi
105547       rm -f conftest.c conftest.o conftest
105548     fi
105549     if test "$ac_gcsections" = "yes"; then
105550       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
105551     fi
105552     { echo "$as_me:$LINENO: result: $ac_gcsections" >&5
105553 echo "${ECHO_T}$ac_gcsections" >&6; }
105554
105555     if test "$ac_test_CFLAGS" = set; then
105556       CFLAGS="$ac_save_CFLAGS"
105557     else
105558       # this is the suspicious part
105559       CFLAGS=''
105560     fi
105561   fi
105562
105563   # Set -z,relro.
105564   # Note this is only for shared objects.
105565   ac_ld_relro=no
105566   if test x"$with_gnu_ld" = x"yes"; then
105567     { echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
105568 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6; }
105569     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
105570     if test -n "$cxx_z_relo"; then
105571       OPT_LDFLAGS="-Wl,-z,relro"
105572       ac_ld_relro=yes
105573     fi
105574     { echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
105575 echo "${ECHO_T}$ac_ld_relro" >&6; }
105576   fi
105577
105578   # Set linker optimization flags.
105579   if test x"$with_gnu_ld" = x"yes"; then
105580     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
105581   fi
105582
105583
105584
105585
105586
105587
105588 { echo "$as_me:$LINENO: checking for main in -lm" >&5
105589 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6; }
105590 if test "${ac_cv_lib_m_main+set}" = set; then
105591   echo $ECHO_N "(cached) $ECHO_C" >&6
105592 else
105593   ac_check_lib_save_LIBS=$LIBS
105594 LIBS="-lm  $LIBS"
105595 if test x$gcc_no_link = xyes; then
105596   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105597 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105598    { (exit 1); exit 1; }; }
105599 fi
105600 cat >conftest.$ac_ext <<_ACEOF
105601 /* confdefs.h.  */
105602 _ACEOF
105603 cat confdefs.h >>conftest.$ac_ext
105604 cat >>conftest.$ac_ext <<_ACEOF
105605 /* end confdefs.h.  */
105606
105607
105608 int
105609 main ()
105610 {
105611 return main ();
105612   ;
105613   return 0;
105614 }
105615 _ACEOF
105616 rm -f conftest.$ac_objext conftest$ac_exeext
105617 if { (ac_try="$ac_link"
105618 case "(($ac_try" in
105619   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
105620   *) ac_try_echo=$ac_try;;
105621 esac
105622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
105623   (eval "$ac_link") 2>conftest.er1
105624   ac_status=$?
105625   grep -v '^ *+' conftest.er1 >conftest.err
105626   rm -f conftest.er1
105627   cat conftest.err >&5
105628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105629   (exit $ac_status); } && {
105630          test -z "$ac_c_werror_flag" ||
105631          test ! -s conftest.err
105632        } && test -s conftest$ac_exeext &&
105633        $as_test_x conftest$ac_exeext; then
105634   ac_cv_lib_m_main=yes
105635 else
105636   echo "$as_me: failed program was:" >&5
105637 sed 's/^/| /' conftest.$ac_ext >&5
105638
105639         ac_cv_lib_m_main=no
105640 fi
105641
105642 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
105643       conftest$ac_exeext conftest.$ac_ext
105644 LIBS=$ac_check_lib_save_LIBS
105645 fi
105646 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
105647 echo "${ECHO_T}$ac_cv_lib_m_main" >&6; }
105648 if test $ac_cv_lib_m_main = yes; then
105649   cat >>confdefs.h <<_ACEOF
105650 #define HAVE_LIBM 1
105651 _ACEOF
105652
105653   LIBS="-lm $LIBS"
105654
105655 fi
105656
105657
105658 for ac_func in copysignf
105659 do
105660 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
105661 { echo "$as_me:$LINENO: checking for $ac_func" >&5
105662 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
105663 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
105664   echo $ECHO_N "(cached) $ECHO_C" >&6
105665 else
105666   if test x$gcc_no_link = xyes; then
105667   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105668 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105669    { (exit 1); exit 1; }; }
105670 fi
105671 cat >conftest.$ac_ext <<_ACEOF
105672 /* confdefs.h.  */
105673 _ACEOF
105674 cat confdefs.h >>conftest.$ac_ext
105675 cat >>conftest.$ac_ext <<_ACEOF
105676 /* end confdefs.h.  */
105677 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
105678    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
105679 #define $ac_func innocuous_$ac_func
105680
105681 /* System header to define __stub macros and hopefully few prototypes,
105682     which can conflict with char $ac_func (); below.
105683     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
105684     <limits.h> exists even on freestanding compilers.  */
105685
105686 #ifdef __STDC__
105687 # include <limits.h>
105688 #else
105689 # include <assert.h>
105690 #endif
105691
105692 #undef $ac_func
105693
105694 /* Override any GCC internal prototype to avoid an error.
105695    Use char because int might match the return type of a GCC
105696    builtin and then its argument prototype would still apply.  */
105697 #ifdef __cplusplus
105698 extern "C"
105699 #endif
105700 char $ac_func ();
105701 /* The GNU C library defines this for functions which it implements
105702     to always fail with ENOSYS.  Some functions are actually named
105703     something starting with __ and the normal name is an alias.  */
105704 #if defined __stub_$ac_func || defined __stub___$ac_func
105705 choke me
105706 #endif
105707
105708 int
105709 main ()
105710 {
105711 return $ac_func ();
105712   ;
105713   return 0;
105714 }
105715 _ACEOF
105716 rm -f conftest.$ac_objext conftest$ac_exeext
105717 if { (ac_try="$ac_link"
105718 case "(($ac_try" in
105719   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
105720   *) ac_try_echo=$ac_try;;
105721 esac
105722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
105723   (eval "$ac_link") 2>conftest.er1
105724   ac_status=$?
105725   grep -v '^ *+' conftest.er1 >conftest.err
105726   rm -f conftest.er1
105727   cat conftest.err >&5
105728   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105729   (exit $ac_status); } && {
105730          test -z "$ac_c_werror_flag" ||
105731          test ! -s conftest.err
105732        } && test -s conftest$ac_exeext &&
105733        $as_test_x conftest$ac_exeext; then
105734   eval "$as_ac_var=yes"
105735 else
105736   echo "$as_me: failed program was:" >&5
105737 sed 's/^/| /' conftest.$ac_ext >&5
105738
105739         eval "$as_ac_var=no"
105740 fi
105741
105742 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
105743       conftest$ac_exeext conftest.$ac_ext
105744 fi
105745 ac_res=`eval echo '${'$as_ac_var'}'`
105746                { echo "$as_me:$LINENO: result: $ac_res" >&5
105747 echo "${ECHO_T}$ac_res" >&6; }
105748 if test `eval echo '${'$as_ac_var'}'` = yes; then
105749   cat >>confdefs.h <<_ACEOF
105750 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
105751 _ACEOF
105752
105753 else
105754   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
105755 fi
105756 done
105757
105758
105759
105760 for ac_func in __signbit
105761 do
105762 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
105763 { echo "$as_me:$LINENO: checking for $ac_func" >&5
105764 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
105765 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
105766   echo $ECHO_N "(cached) $ECHO_C" >&6
105767 else
105768   if test x$gcc_no_link = xyes; then
105769   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105770 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105771    { (exit 1); exit 1; }; }
105772 fi
105773 cat >conftest.$ac_ext <<_ACEOF
105774 /* confdefs.h.  */
105775 _ACEOF
105776 cat confdefs.h >>conftest.$ac_ext
105777 cat >>conftest.$ac_ext <<_ACEOF
105778 /* end confdefs.h.  */
105779 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
105780    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
105781 #define $ac_func innocuous_$ac_func
105782
105783 /* System header to define __stub macros and hopefully few prototypes,
105784     which can conflict with char $ac_func (); below.
105785     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
105786     <limits.h> exists even on freestanding compilers.  */
105787
105788 #ifdef __STDC__
105789 # include <limits.h>
105790 #else
105791 # include <assert.h>
105792 #endif
105793
105794 #undef $ac_func
105795
105796 /* Override any GCC internal prototype to avoid an error.
105797    Use char because int might match the return type of a GCC
105798    builtin and then its argument prototype would still apply.  */
105799 #ifdef __cplusplus
105800 extern "C"
105801 #endif
105802 char $ac_func ();
105803 /* The GNU C library defines this for functions which it implements
105804     to always fail with ENOSYS.  Some functions are actually named
105805     something starting with __ and the normal name is an alias.  */
105806 #if defined __stub_$ac_func || defined __stub___$ac_func
105807 choke me
105808 #endif
105809
105810 int
105811 main ()
105812 {
105813 return $ac_func ();
105814   ;
105815   return 0;
105816 }
105817 _ACEOF
105818 rm -f conftest.$ac_objext conftest$ac_exeext
105819 if { (ac_try="$ac_link"
105820 case "(($ac_try" in
105821   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
105822   *) ac_try_echo=$ac_try;;
105823 esac
105824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
105825   (eval "$ac_link") 2>conftest.er1
105826   ac_status=$?
105827   grep -v '^ *+' conftest.er1 >conftest.err
105828   rm -f conftest.er1
105829   cat conftest.err >&5
105830   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105831   (exit $ac_status); } && {
105832          test -z "$ac_c_werror_flag" ||
105833          test ! -s conftest.err
105834        } && test -s conftest$ac_exeext &&
105835        $as_test_x conftest$ac_exeext; then
105836   eval "$as_ac_var=yes"
105837 else
105838   echo "$as_me: failed program was:" >&5
105839 sed 's/^/| /' conftest.$ac_ext >&5
105840
105841         eval "$as_ac_var=no"
105842 fi
105843
105844 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
105845       conftest$ac_exeext conftest.$ac_ext
105846 fi
105847 ac_res=`eval echo '${'$as_ac_var'}'`
105848                { echo "$as_me:$LINENO: result: $ac_res" >&5
105849 echo "${ECHO_T}$ac_res" >&6; }
105850 if test `eval echo '${'$as_ac_var'}'` = yes; then
105851   cat >>confdefs.h <<_ACEOF
105852 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
105853 _ACEOF
105854
105855 else
105856   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
105857 fi
105858 done
105859
105860
105861
105862 for ac_func in __signbitf
105863 do
105864 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
105865 { echo "$as_me:$LINENO: checking for $ac_func" >&5
105866 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
105867 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
105868   echo $ECHO_N "(cached) $ECHO_C" >&6
105869 else
105870   if test x$gcc_no_link = xyes; then
105871   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105872 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105873    { (exit 1); exit 1; }; }
105874 fi
105875 cat >conftest.$ac_ext <<_ACEOF
105876 /* confdefs.h.  */
105877 _ACEOF
105878 cat confdefs.h >>conftest.$ac_ext
105879 cat >>conftest.$ac_ext <<_ACEOF
105880 /* end confdefs.h.  */
105881 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
105882    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
105883 #define $ac_func innocuous_$ac_func
105884
105885 /* System header to define __stub macros and hopefully few prototypes,
105886     which can conflict with char $ac_func (); below.
105887     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
105888     <limits.h> exists even on freestanding compilers.  */
105889
105890 #ifdef __STDC__
105891 # include <limits.h>
105892 #else
105893 # include <assert.h>
105894 #endif
105895
105896 #undef $ac_func
105897
105898 /* Override any GCC internal prototype to avoid an error.
105899    Use char because int might match the return type of a GCC
105900    builtin and then its argument prototype would still apply.  */
105901 #ifdef __cplusplus
105902 extern "C"
105903 #endif
105904 char $ac_func ();
105905 /* The GNU C library defines this for functions which it implements
105906     to always fail with ENOSYS.  Some functions are actually named
105907     something starting with __ and the normal name is an alias.  */
105908 #if defined __stub_$ac_func || defined __stub___$ac_func
105909 choke me
105910 #endif
105911
105912 int
105913 main ()
105914 {
105915 return $ac_func ();
105916   ;
105917   return 0;
105918 }
105919 _ACEOF
105920 rm -f conftest.$ac_objext conftest$ac_exeext
105921 if { (ac_try="$ac_link"
105922 case "(($ac_try" in
105923   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
105924   *) ac_try_echo=$ac_try;;
105925 esac
105926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
105927   (eval "$ac_link") 2>conftest.er1
105928   ac_status=$?
105929   grep -v '^ *+' conftest.er1 >conftest.err
105930   rm -f conftest.er1
105931   cat conftest.err >&5
105932   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105933   (exit $ac_status); } && {
105934          test -z "$ac_c_werror_flag" ||
105935          test ! -s conftest.err
105936        } && test -s conftest$ac_exeext &&
105937        $as_test_x conftest$ac_exeext; then
105938   eval "$as_ac_var=yes"
105939 else
105940   echo "$as_me: failed program was:" >&5
105941 sed 's/^/| /' conftest.$ac_ext >&5
105942
105943         eval "$as_ac_var=no"
105944 fi
105945
105946 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
105947       conftest$ac_exeext conftest.$ac_ext
105948 fi
105949 ac_res=`eval echo '${'$as_ac_var'}'`
105950                { echo "$as_me:$LINENO: result: $ac_res" >&5
105951 echo "${ECHO_T}$ac_res" >&6; }
105952 if test `eval echo '${'$as_ac_var'}'` = yes; then
105953   cat >>confdefs.h <<_ACEOF
105954 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
105955 _ACEOF
105956
105957 else
105958   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
105959 fi
105960 done
105961
105962
105963           if test x$ac_cv_func_copysignl = x"yes"; then
105964
105965 for ac_func in __signbitl
105966 do
105967 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
105968 { echo "$as_me:$LINENO: checking for $ac_func" >&5
105969 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
105970 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
105971   echo $ECHO_N "(cached) $ECHO_C" >&6
105972 else
105973   if test x$gcc_no_link = xyes; then
105974   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105975 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105976    { (exit 1); exit 1; }; }
105977 fi
105978 cat >conftest.$ac_ext <<_ACEOF
105979 /* confdefs.h.  */
105980 _ACEOF
105981 cat confdefs.h >>conftest.$ac_ext
105982 cat >>conftest.$ac_ext <<_ACEOF
105983 /* end confdefs.h.  */
105984 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
105985    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
105986 #define $ac_func innocuous_$ac_func
105987
105988 /* System header to define __stub macros and hopefully few prototypes,
105989     which can conflict with char $ac_func (); below.
105990     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
105991     <limits.h> exists even on freestanding compilers.  */
105992
105993 #ifdef __STDC__
105994 # include <limits.h>
105995 #else
105996 # include <assert.h>
105997 #endif
105998
105999 #undef $ac_func
106000
106001 /* Override any GCC internal prototype to avoid an error.
106002    Use char because int might match the return type of a GCC
106003    builtin and then its argument prototype would still apply.  */
106004 #ifdef __cplusplus
106005 extern "C"
106006 #endif
106007 char $ac_func ();
106008 /* The GNU C library defines this for functions which it implements
106009     to always fail with ENOSYS.  Some functions are actually named
106010     something starting with __ and the normal name is an alias.  */
106011 #if defined __stub_$ac_func || defined __stub___$ac_func
106012 choke me
106013 #endif
106014
106015 int
106016 main ()
106017 {
106018 return $ac_func ();
106019   ;
106020   return 0;
106021 }
106022 _ACEOF
106023 rm -f conftest.$ac_objext conftest$ac_exeext
106024 if { (ac_try="$ac_link"
106025 case "(($ac_try" in
106026   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
106027   *) ac_try_echo=$ac_try;;
106028 esac
106029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
106030   (eval "$ac_link") 2>conftest.er1
106031   ac_status=$?
106032   grep -v '^ *+' conftest.er1 >conftest.err
106033   rm -f conftest.er1
106034   cat conftest.err >&5
106035   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106036   (exit $ac_status); } && {
106037          test -z "$ac_c_werror_flag" ||
106038          test ! -s conftest.err
106039        } && test -s conftest$ac_exeext &&
106040        $as_test_x conftest$ac_exeext; then
106041   eval "$as_ac_var=yes"
106042 else
106043   echo "$as_me: failed program was:" >&5
106044 sed 's/^/| /' conftest.$ac_ext >&5
106045
106046         eval "$as_ac_var=no"
106047 fi
106048
106049 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
106050       conftest$ac_exeext conftest.$ac_ext
106051 fi
106052 ac_res=`eval echo '${'$as_ac_var'}'`
106053                { echo "$as_me:$LINENO: result: $ac_res" >&5
106054 echo "${ECHO_T}$ac_res" >&6; }
106055 if test `eval echo '${'$as_ac_var'}'` = yes; then
106056   cat >>confdefs.h <<_ACEOF
106057 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
106058 _ACEOF
106059
106060 else
106061   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
106062 fi
106063 done
106064
106065   fi
106066
106067   # Used in libmath/Makefile.am.
106068   if test -n "$LIBMATHOBJS"; then
106069     need_libmath=yes
106070   fi
106071
106072
106073     cat >>confdefs.h <<\_ACEOF
106074 #define HAVE_COPYSIGN 1
106075 _ACEOF
106076
106077     cat >>confdefs.h <<\_ACEOF
106078 #define HAVE_COPYSIGNF 1
106079 _ACEOF
106080
106081     cat >>confdefs.h <<\_ACEOF
106082 #define HAVE_FINITEF 1
106083 _ACEOF
106084
106085     cat >>confdefs.h <<\_ACEOF
106086 #define HAVE_FINITE 1
106087 _ACEOF
106088
106089     cat >>confdefs.h <<\_ACEOF
106090 #define HAVE_FREXPF 1
106091 _ACEOF
106092
106093     cat >>confdefs.h <<\_ACEOF
106094 #define HAVE_HYPOTF 1
106095 _ACEOF
106096
106097     cat >>confdefs.h <<\_ACEOF
106098 #define HAVE_ISINF 1
106099 _ACEOF
106100
106101     cat >>confdefs.h <<\_ACEOF
106102 #define HAVE_ISINFF 1
106103 _ACEOF
106104
106105     cat >>confdefs.h <<\_ACEOF
106106 #define HAVE_ISNAN 1
106107 _ACEOF
106108
106109     cat >>confdefs.h <<\_ACEOF
106110 #define HAVE_ISNANF 1
106111 _ACEOF
106112
106113     if test x"long_double_math_on_this_cpu" = x"yes"; then
106114       cat >>confdefs.h <<\_ACEOF
106115 #define HAVE_FINITEL 1
106116 _ACEOF
106117
106118       cat >>confdefs.h <<\_ACEOF
106119 #define HAVE_ISINFL 1
106120 _ACEOF
106121
106122       cat >>confdefs.h <<\_ACEOF
106123 #define HAVE_ISNANL 1
106124 _ACEOF
106125
106126     fi
106127     ;;
106128   *-netware)
106129
106130
106131
106132
106133
106134
106135
106136
106137 for ac_header in nan.h ieeefp.h sys/isa_defs.h sys/machine.h \
106138       sys/types.h locale.h float.h inttypes.h
106139 do
106140 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
106141 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
106142   { echo "$as_me:$LINENO: checking for $ac_header" >&5
106143 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
106144 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
106145   echo $ECHO_N "(cached) $ECHO_C" >&6
106146 fi
106147 ac_res=`eval echo '${'$as_ac_Header'}'`
106148                { echo "$as_me:$LINENO: result: $ac_res" >&5
106149 echo "${ECHO_T}$ac_res" >&6; }
106150 else
106151   # Is the header compilable?
106152 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
106153 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
106154 cat >conftest.$ac_ext <<_ACEOF
106155 /* confdefs.h.  */
106156 _ACEOF
106157 cat confdefs.h >>conftest.$ac_ext
106158 cat >>conftest.$ac_ext <<_ACEOF
106159 /* end confdefs.h.  */
106160 $ac_includes_default
106161 #include <$ac_header>
106162 _ACEOF
106163 rm -f conftest.$ac_objext
106164 if { (ac_try="$ac_compile"
106165 case "(($ac_try" in
106166   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
106167   *) ac_try_echo=$ac_try;;
106168 esac
106169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
106170   (eval "$ac_compile") 2>conftest.er1
106171   ac_status=$?
106172   grep -v '^ *+' conftest.er1 >conftest.err
106173   rm -f conftest.er1
106174   cat conftest.err >&5
106175   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106176   (exit $ac_status); } && {
106177          test -z "$ac_c_werror_flag" ||
106178          test ! -s conftest.err
106179        } && test -s conftest.$ac_objext; then
106180   ac_header_compiler=yes
106181 else
106182   echo "$as_me: failed program was:" >&5
106183 sed 's/^/| /' conftest.$ac_ext >&5
106184
106185         ac_header_compiler=no
106186 fi
106187
106188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
106189 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
106190 echo "${ECHO_T}$ac_header_compiler" >&6; }
106191
106192 # Is the header present?
106193 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
106194 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
106195 cat >conftest.$ac_ext <<_ACEOF
106196 /* confdefs.h.  */
106197 _ACEOF
106198 cat confdefs.h >>conftest.$ac_ext
106199 cat >>conftest.$ac_ext <<_ACEOF
106200 /* end confdefs.h.  */
106201 #include <$ac_header>
106202 _ACEOF
106203 if { (ac_try="$ac_cpp conftest.$ac_ext"
106204 case "(($ac_try" in
106205   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
106206   *) ac_try_echo=$ac_try;;
106207 esac
106208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
106209   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
106210   ac_status=$?
106211   grep -v '^ *+' conftest.er1 >conftest.err
106212   rm -f conftest.er1
106213   cat conftest.err >&5
106214   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106215   (exit $ac_status); } >/dev/null && {
106216          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
106217          test ! -s conftest.err
106218        }; then
106219   ac_header_preproc=yes
106220 else
106221   echo "$as_me: failed program was:" >&5
106222 sed 's/^/| /' conftest.$ac_ext >&5
106223
106224   ac_header_preproc=no
106225 fi
106226
106227 rm -f conftest.err conftest.$ac_ext
106228 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
106229 echo "${ECHO_T}$ac_header_preproc" >&6; }
106230
106231 # So?  What about this header?
106232 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
106233   yes:no: )
106234     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
106235 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
106236     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
106237 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
106238     ac_header_preproc=yes
106239     ;;
106240   no:yes:* )
106241     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
106242 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
106243     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
106244 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
106245     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
106246 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
106247     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
106248 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
106249     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
106250 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
106251     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
106252 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
106253
106254     ;;
106255 esac
106256 { echo "$as_me:$LINENO: checking for $ac_header" >&5
106257 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
106258 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
106259   echo $ECHO_N "(cached) $ECHO_C" >&6
106260 else
106261   eval "$as_ac_Header=\$ac_header_preproc"
106262 fi
106263 ac_res=`eval echo '${'$as_ac_Header'}'`
106264                { echo "$as_me:$LINENO: result: $ac_res" >&5
106265 echo "${ECHO_T}$ac_res" >&6; }
106266
106267 fi
106268 if test `eval echo '${'$as_ac_Header'}'` = yes; then
106269   cat >>confdefs.h <<_ACEOF
106270 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
106271 _ACEOF
106272
106273 fi
106274
106275 done
106276
106277     SECTION_FLAGS='-ffunction-sections -fdata-sections'
106278
106279
106280   # If we're not using GNU ld, then there's no point in even trying these
106281   # tests.  Check for that first.  We should have already tested for gld
106282   # by now (in libtool), but require it now just to be safe...
106283   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
106284   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
106285
106286
106287
106288   # The name set by libtool depends on the version of libtool.  Shame on us
106289   # for depending on an impl detail, but c'est la vie.  Older versions used
106290   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
106291   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
106292   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
106293   # set (hence we're using an older libtool), then set it.
106294   if test x${with_gnu_ld+set} != xset; then
106295     if test x${ac_cv_prog_gnu_ld+set} != xset; then
106296       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
106297       with_gnu_ld=no
106298     else
106299       with_gnu_ld=$ac_cv_prog_gnu_ld
106300     fi
106301   fi
106302
106303   # Start by getting the version number.  I think the libtool test already
106304   # does some of this, but throws away the result.
106305   if test x"$with_gnu_ld" = x"yes"; then
106306     { echo "$as_me:$LINENO: checking for ld version" >&5
106307 echo $ECHO_N "checking for ld version... $ECHO_C" >&6; }
106308
106309     ldver=`$LD --version 2>/dev/null | head -1 | \
106310            sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
106311
106312     glibcxx_gnu_ld_version=`echo $ldver | \
106313            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
106314     { echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
106315 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6; }
106316   fi
106317
106318   # Set --gc-sections.
106319   glibcxx_gcsections_min_ld=21602
106320   if test x"$with_gnu_ld" = x"yes" &&
106321         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
106322
106323     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
106324     # NB: This flag only works reliably after 2.16.1. Configure tests
106325     # for this are difficult, so hard wire a value that should work.
106326
106327     ac_test_CFLAGS="${CFLAGS+set}"
106328     ac_save_CFLAGS="$CFLAGS"
106329     CFLAGS='-Wl,--gc-sections'
106330
106331     # Check for -Wl,--gc-sections
106332     { echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
106333 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6; }
106334     if test x$gcc_no_link = xyes; then
106335   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106336 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106337    { (exit 1); exit 1; }; }
106338 fi
106339 cat >conftest.$ac_ext <<_ACEOF
106340 /* confdefs.h.  */
106341 _ACEOF
106342 cat confdefs.h >>conftest.$ac_ext
106343 cat >>conftest.$ac_ext <<_ACEOF
106344 /* end confdefs.h.  */
106345  int one(void) { return 1; }
106346      int two(void) { return 2; }
106347
106348 int
106349 main ()
106350 {
106351  two();
106352   ;
106353   return 0;
106354 }
106355 _ACEOF
106356 rm -f conftest.$ac_objext conftest$ac_exeext
106357 if { (ac_try="$ac_link"
106358 case "(($ac_try" in
106359   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
106360   *) ac_try_echo=$ac_try;;
106361 esac
106362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
106363   (eval "$ac_link") 2>conftest.er1
106364   ac_status=$?
106365   grep -v '^ *+' conftest.er1 >conftest.err
106366   rm -f conftest.er1
106367   cat conftest.err >&5
106368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106369   (exit $ac_status); } && {
106370          test -z "$ac_c_werror_flag" ||
106371          test ! -s conftest.err
106372        } && test -s conftest$ac_exeext &&
106373        $as_test_x conftest$ac_exeext; then
106374   ac_gcsections=yes
106375 else
106376   echo "$as_me: failed program was:" >&5
106377 sed 's/^/| /' conftest.$ac_ext >&5
106378
106379         ac_gcsections=no
106380 fi
106381
106382 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
106383       conftest$ac_exeext conftest.$ac_ext
106384     if test "$ac_gcsections" = "yes"; then
106385       rm -f conftest.c
106386       touch conftest.c
106387       if $CC -c conftest.c; then
106388         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
106389            grep "Warning: gc-sections option ignored" > /dev/null; then
106390           ac_gcsections=no
106391         fi
106392       fi
106393       rm -f conftest.c conftest.o conftest
106394     fi
106395     if test "$ac_gcsections" = "yes"; then
106396       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
106397     fi
106398     { echo "$as_me:$LINENO: result: $ac_gcsections" >&5
106399 echo "${ECHO_T}$ac_gcsections" >&6; }
106400
106401     if test "$ac_test_CFLAGS" = set; then
106402       CFLAGS="$ac_save_CFLAGS"
106403     else
106404       # this is the suspicious part
106405       CFLAGS=''
106406     fi
106407   fi
106408
106409   # Set -z,relro.
106410   # Note this is only for shared objects.
106411   ac_ld_relro=no
106412   if test x"$with_gnu_ld" = x"yes"; then
106413     { echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
106414 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6; }
106415     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
106416     if test -n "$cxx_z_relo"; then
106417       OPT_LDFLAGS="-Wl,-z,relro"
106418       ac_ld_relro=yes
106419     fi
106420     { echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
106421 echo "${ECHO_T}$ac_ld_relro" >&6; }
106422   fi
106423
106424   # Set linker optimization flags.
106425   if test x"$with_gnu_ld" = x"yes"; then
106426     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
106427   fi
106428
106429
106430
106431
106432
106433
106434 { echo "$as_me:$LINENO: checking for main in -lm" >&5
106435 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6; }
106436 if test "${ac_cv_lib_m_main+set}" = set; then
106437   echo $ECHO_N "(cached) $ECHO_C" >&6
106438 else
106439   ac_check_lib_save_LIBS=$LIBS
106440 LIBS="-lm  $LIBS"
106441 if test x$gcc_no_link = xyes; then
106442   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106443 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106444    { (exit 1); exit 1; }; }
106445 fi
106446 cat >conftest.$ac_ext <<_ACEOF
106447 /* confdefs.h.  */
106448 _ACEOF
106449 cat confdefs.h >>conftest.$ac_ext
106450 cat >>conftest.$ac_ext <<_ACEOF
106451 /* end confdefs.h.  */
106452
106453
106454 int
106455 main ()
106456 {
106457 return main ();
106458   ;
106459   return 0;
106460 }
106461 _ACEOF
106462 rm -f conftest.$ac_objext conftest$ac_exeext
106463 if { (ac_try="$ac_link"
106464 case "(($ac_try" in
106465   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
106466   *) ac_try_echo=$ac_try;;
106467 esac
106468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
106469   (eval "$ac_link") 2>conftest.er1
106470   ac_status=$?
106471   grep -v '^ *+' conftest.er1 >conftest.err
106472   rm -f conftest.er1
106473   cat conftest.err >&5
106474   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106475   (exit $ac_status); } && {
106476          test -z "$ac_c_werror_flag" ||
106477          test ! -s conftest.err
106478        } && test -s conftest$ac_exeext &&
106479        $as_test_x conftest$ac_exeext; then
106480   ac_cv_lib_m_main=yes
106481 else
106482   echo "$as_me: failed program was:" >&5
106483 sed 's/^/| /' conftest.$ac_ext >&5
106484
106485         ac_cv_lib_m_main=no
106486 fi
106487
106488 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
106489       conftest$ac_exeext conftest.$ac_ext
106490 LIBS=$ac_check_lib_save_LIBS
106491 fi
106492 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
106493 echo "${ECHO_T}$ac_cv_lib_m_main" >&6; }
106494 if test $ac_cv_lib_m_main = yes; then
106495   cat >>confdefs.h <<_ACEOF
106496 #define HAVE_LIBM 1
106497 _ACEOF
106498
106499   LIBS="-lm $LIBS"
106500
106501 fi
106502
106503
106504 for ac_func in copysignf
106505 do
106506 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
106507 { echo "$as_me:$LINENO: checking for $ac_func" >&5
106508 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
106509 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
106510   echo $ECHO_N "(cached) $ECHO_C" >&6
106511 else
106512   if test x$gcc_no_link = xyes; then
106513   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106514 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106515    { (exit 1); exit 1; }; }
106516 fi
106517 cat >conftest.$ac_ext <<_ACEOF
106518 /* confdefs.h.  */
106519 _ACEOF
106520 cat confdefs.h >>conftest.$ac_ext
106521 cat >>conftest.$ac_ext <<_ACEOF
106522 /* end confdefs.h.  */
106523 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
106524    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
106525 #define $ac_func innocuous_$ac_func
106526
106527 /* System header to define __stub macros and hopefully few prototypes,
106528     which can conflict with char $ac_func (); below.
106529     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
106530     <limits.h> exists even on freestanding compilers.  */
106531
106532 #ifdef __STDC__
106533 # include <limits.h>
106534 #else
106535 # include <assert.h>
106536 #endif
106537
106538 #undef $ac_func
106539
106540 /* Override any GCC internal prototype to avoid an error.
106541    Use char because int might match the return type of a GCC
106542    builtin and then its argument prototype would still apply.  */
106543 #ifdef __cplusplus
106544 extern "C"
106545 #endif
106546 char $ac_func ();
106547 /* The GNU C library defines this for functions which it implements
106548     to always fail with ENOSYS.  Some functions are actually named
106549     something starting with __ and the normal name is an alias.  */
106550 #if defined __stub_$ac_func || defined __stub___$ac_func
106551 choke me
106552 #endif
106553
106554 int
106555 main ()
106556 {
106557 return $ac_func ();
106558   ;
106559   return 0;
106560 }
106561 _ACEOF
106562 rm -f conftest.$ac_objext conftest$ac_exeext
106563 if { (ac_try="$ac_link"
106564 case "(($ac_try" in
106565   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
106566   *) ac_try_echo=$ac_try;;
106567 esac
106568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
106569   (eval "$ac_link") 2>conftest.er1
106570   ac_status=$?
106571   grep -v '^ *+' conftest.er1 >conftest.err
106572   rm -f conftest.er1
106573   cat conftest.err >&5
106574   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106575   (exit $ac_status); } && {
106576          test -z "$ac_c_werror_flag" ||
106577          test ! -s conftest.err
106578        } && test -s conftest$ac_exeext &&
106579        $as_test_x conftest$ac_exeext; then
106580   eval "$as_ac_var=yes"
106581 else
106582   echo "$as_me: failed program was:" >&5
106583 sed 's/^/| /' conftest.$ac_ext >&5
106584
106585         eval "$as_ac_var=no"
106586 fi
106587
106588 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
106589       conftest$ac_exeext conftest.$ac_ext
106590 fi
106591 ac_res=`eval echo '${'$as_ac_var'}'`
106592                { echo "$as_me:$LINENO: result: $ac_res" >&5
106593 echo "${ECHO_T}$ac_res" >&6; }
106594 if test `eval echo '${'$as_ac_var'}'` = yes; then
106595   cat >>confdefs.h <<_ACEOF
106596 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
106597 _ACEOF
106598
106599 else
106600   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
106601 fi
106602 done
106603
106604
106605
106606 for ac_func in __signbit
106607 do
106608 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
106609 { echo "$as_me:$LINENO: checking for $ac_func" >&5
106610 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
106611 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
106612   echo $ECHO_N "(cached) $ECHO_C" >&6
106613 else
106614   if test x$gcc_no_link = xyes; then
106615   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106616 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106617    { (exit 1); exit 1; }; }
106618 fi
106619 cat >conftest.$ac_ext <<_ACEOF
106620 /* confdefs.h.  */
106621 _ACEOF
106622 cat confdefs.h >>conftest.$ac_ext
106623 cat >>conftest.$ac_ext <<_ACEOF
106624 /* end confdefs.h.  */
106625 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
106626    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
106627 #define $ac_func innocuous_$ac_func
106628
106629 /* System header to define __stub macros and hopefully few prototypes,
106630     which can conflict with char $ac_func (); below.
106631     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
106632     <limits.h> exists even on freestanding compilers.  */
106633
106634 #ifdef __STDC__
106635 # include <limits.h>
106636 #else
106637 # include <assert.h>
106638 #endif
106639
106640 #undef $ac_func
106641
106642 /* Override any GCC internal prototype to avoid an error.
106643    Use char because int might match the return type of a GCC
106644    builtin and then its argument prototype would still apply.  */
106645 #ifdef __cplusplus
106646 extern "C"
106647 #endif
106648 char $ac_func ();
106649 /* The GNU C library defines this for functions which it implements
106650     to always fail with ENOSYS.  Some functions are actually named
106651     something starting with __ and the normal name is an alias.  */
106652 #if defined __stub_$ac_func || defined __stub___$ac_func
106653 choke me
106654 #endif
106655
106656 int
106657 main ()
106658 {
106659 return $ac_func ();
106660   ;
106661   return 0;
106662 }
106663 _ACEOF
106664 rm -f conftest.$ac_objext conftest$ac_exeext
106665 if { (ac_try="$ac_link"
106666 case "(($ac_try" in
106667   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
106668   *) ac_try_echo=$ac_try;;
106669 esac
106670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
106671   (eval "$ac_link") 2>conftest.er1
106672   ac_status=$?
106673   grep -v '^ *+' conftest.er1 >conftest.err
106674   rm -f conftest.er1
106675   cat conftest.err >&5
106676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106677   (exit $ac_status); } && {
106678          test -z "$ac_c_werror_flag" ||
106679          test ! -s conftest.err
106680        } && test -s conftest$ac_exeext &&
106681        $as_test_x conftest$ac_exeext; then
106682   eval "$as_ac_var=yes"
106683 else
106684   echo "$as_me: failed program was:" >&5
106685 sed 's/^/| /' conftest.$ac_ext >&5
106686
106687         eval "$as_ac_var=no"
106688 fi
106689
106690 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
106691       conftest$ac_exeext conftest.$ac_ext
106692 fi
106693 ac_res=`eval echo '${'$as_ac_var'}'`
106694                { echo "$as_me:$LINENO: result: $ac_res" >&5
106695 echo "${ECHO_T}$ac_res" >&6; }
106696 if test `eval echo '${'$as_ac_var'}'` = yes; then
106697   cat >>confdefs.h <<_ACEOF
106698 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
106699 _ACEOF
106700
106701 else
106702   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
106703 fi
106704 done
106705
106706
106707
106708 for ac_func in __signbitf
106709 do
106710 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
106711 { echo "$as_me:$LINENO: checking for $ac_func" >&5
106712 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
106713 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
106714   echo $ECHO_N "(cached) $ECHO_C" >&6
106715 else
106716   if test x$gcc_no_link = xyes; then
106717   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106718 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106719    { (exit 1); exit 1; }; }
106720 fi
106721 cat >conftest.$ac_ext <<_ACEOF
106722 /* confdefs.h.  */
106723 _ACEOF
106724 cat confdefs.h >>conftest.$ac_ext
106725 cat >>conftest.$ac_ext <<_ACEOF
106726 /* end confdefs.h.  */
106727 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
106728    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
106729 #define $ac_func innocuous_$ac_func
106730
106731 /* System header to define __stub macros and hopefully few prototypes,
106732     which can conflict with char $ac_func (); below.
106733     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
106734     <limits.h> exists even on freestanding compilers.  */
106735
106736 #ifdef __STDC__
106737 # include <limits.h>
106738 #else
106739 # include <assert.h>
106740 #endif
106741
106742 #undef $ac_func
106743
106744 /* Override any GCC internal prototype to avoid an error.
106745    Use char because int might match the return type of a GCC
106746    builtin and then its argument prototype would still apply.  */
106747 #ifdef __cplusplus
106748 extern "C"
106749 #endif
106750 char $ac_func ();
106751 /* The GNU C library defines this for functions which it implements
106752     to always fail with ENOSYS.  Some functions are actually named
106753     something starting with __ and the normal name is an alias.  */
106754 #if defined __stub_$ac_func || defined __stub___$ac_func
106755 choke me
106756 #endif
106757
106758 int
106759 main ()
106760 {
106761 return $ac_func ();
106762   ;
106763   return 0;
106764 }
106765 _ACEOF
106766 rm -f conftest.$ac_objext conftest$ac_exeext
106767 if { (ac_try="$ac_link"
106768 case "(($ac_try" in
106769   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
106770   *) ac_try_echo=$ac_try;;
106771 esac
106772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
106773   (eval "$ac_link") 2>conftest.er1
106774   ac_status=$?
106775   grep -v '^ *+' conftest.er1 >conftest.err
106776   rm -f conftest.er1
106777   cat conftest.err >&5
106778   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106779   (exit $ac_status); } && {
106780          test -z "$ac_c_werror_flag" ||
106781          test ! -s conftest.err
106782        } && test -s conftest$ac_exeext &&
106783        $as_test_x conftest$ac_exeext; then
106784   eval "$as_ac_var=yes"
106785 else
106786   echo "$as_me: failed program was:" >&5
106787 sed 's/^/| /' conftest.$ac_ext >&5
106788
106789         eval "$as_ac_var=no"
106790 fi
106791
106792 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
106793       conftest$ac_exeext conftest.$ac_ext
106794 fi
106795 ac_res=`eval echo '${'$as_ac_var'}'`
106796                { echo "$as_me:$LINENO: result: $ac_res" >&5
106797 echo "${ECHO_T}$ac_res" >&6; }
106798 if test `eval echo '${'$as_ac_var'}'` = yes; then
106799   cat >>confdefs.h <<_ACEOF
106800 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
106801 _ACEOF
106802
106803 else
106804   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
106805 fi
106806 done
106807
106808
106809           if test x$ac_cv_func_copysignl = x"yes"; then
106810
106811 for ac_func in __signbitl
106812 do
106813 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
106814 { echo "$as_me:$LINENO: checking for $ac_func" >&5
106815 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
106816 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
106817   echo $ECHO_N "(cached) $ECHO_C" >&6
106818 else
106819   if test x$gcc_no_link = xyes; then
106820   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106821 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106822    { (exit 1); exit 1; }; }
106823 fi
106824 cat >conftest.$ac_ext <<_ACEOF
106825 /* confdefs.h.  */
106826 _ACEOF
106827 cat confdefs.h >>conftest.$ac_ext
106828 cat >>conftest.$ac_ext <<_ACEOF
106829 /* end confdefs.h.  */
106830 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
106831    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
106832 #define $ac_func innocuous_$ac_func
106833
106834 /* System header to define __stub macros and hopefully few prototypes,
106835     which can conflict with char $ac_func (); below.
106836     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
106837     <limits.h> exists even on freestanding compilers.  */
106838
106839 #ifdef __STDC__
106840 # include <limits.h>
106841 #else
106842 # include <assert.h>
106843 #endif
106844
106845 #undef $ac_func
106846
106847 /* Override any GCC internal prototype to avoid an error.
106848    Use char because int might match the return type of a GCC
106849    builtin and then its argument prototype would still apply.  */
106850 #ifdef __cplusplus
106851 extern "C"
106852 #endif
106853 char $ac_func ();
106854 /* The GNU C library defines this for functions which it implements
106855     to always fail with ENOSYS.  Some functions are actually named
106856     something starting with __ and the normal name is an alias.  */
106857 #if defined __stub_$ac_func || defined __stub___$ac_func
106858 choke me
106859 #endif
106860
106861 int
106862 main ()
106863 {
106864 return $ac_func ();
106865   ;
106866   return 0;
106867 }
106868 _ACEOF
106869 rm -f conftest.$ac_objext conftest$ac_exeext
106870 if { (ac_try="$ac_link"
106871 case "(($ac_try" in
106872   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
106873   *) ac_try_echo=$ac_try;;
106874 esac
106875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
106876   (eval "$ac_link") 2>conftest.er1
106877   ac_status=$?
106878   grep -v '^ *+' conftest.er1 >conftest.err
106879   rm -f conftest.er1
106880   cat conftest.err >&5
106881   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106882   (exit $ac_status); } && {
106883          test -z "$ac_c_werror_flag" ||
106884          test ! -s conftest.err
106885        } && test -s conftest$ac_exeext &&
106886        $as_test_x conftest$ac_exeext; then
106887   eval "$as_ac_var=yes"
106888 else
106889   echo "$as_me: failed program was:" >&5
106890 sed 's/^/| /' conftest.$ac_ext >&5
106891
106892         eval "$as_ac_var=no"
106893 fi
106894
106895 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
106896       conftest$ac_exeext conftest.$ac_ext
106897 fi
106898 ac_res=`eval echo '${'$as_ac_var'}'`
106899                { echo "$as_me:$LINENO: result: $ac_res" >&5
106900 echo "${ECHO_T}$ac_res" >&6; }
106901 if test `eval echo '${'$as_ac_var'}'` = yes; then
106902   cat >>confdefs.h <<_ACEOF
106903 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
106904 _ACEOF
106905
106906 else
106907   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
106908 fi
106909 done
106910
106911   fi
106912
106913   # Used in libmath/Makefile.am.
106914   if test -n "$LIBMATHOBJS"; then
106915     need_libmath=yes
106916   fi
106917
106918
106919     cat >>confdefs.h <<\_ACEOF
106920 #define HAVE_HYPOT 1
106921 _ACEOF
106922
106923     cat >>confdefs.h <<\_ACEOF
106924 #define HAVE_ISINF 1
106925 _ACEOF
106926
106927     cat >>confdefs.h <<\_ACEOF
106928 #define HAVE_ISNAN 1
106929 _ACEOF
106930
106931
106932     # For showmanyc_helper().
106933
106934
106935 for ac_header in sys/ioctl.h sys/filio.h
106936 do
106937 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
106938 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
106939   { echo "$as_me:$LINENO: checking for $ac_header" >&5
106940 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
106941 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
106942   echo $ECHO_N "(cached) $ECHO_C" >&6
106943 fi
106944 ac_res=`eval echo '${'$as_ac_Header'}'`
106945                { echo "$as_me:$LINENO: result: $ac_res" >&5
106946 echo "${ECHO_T}$ac_res" >&6; }
106947 else
106948   # Is the header compilable?
106949 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
106950 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
106951 cat >conftest.$ac_ext <<_ACEOF
106952 /* confdefs.h.  */
106953 _ACEOF
106954 cat confdefs.h >>conftest.$ac_ext
106955 cat >>conftest.$ac_ext <<_ACEOF
106956 /* end confdefs.h.  */
106957 $ac_includes_default
106958 #include <$ac_header>
106959 _ACEOF
106960 rm -f conftest.$ac_objext
106961 if { (ac_try="$ac_compile"
106962 case "(($ac_try" in
106963   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
106964   *) ac_try_echo=$ac_try;;
106965 esac
106966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
106967   (eval "$ac_compile") 2>conftest.er1
106968   ac_status=$?
106969   grep -v '^ *+' conftest.er1 >conftest.err
106970   rm -f conftest.er1
106971   cat conftest.err >&5
106972   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106973   (exit $ac_status); } && {
106974          test -z "$ac_c_werror_flag" ||
106975          test ! -s conftest.err
106976        } && test -s conftest.$ac_objext; then
106977   ac_header_compiler=yes
106978 else
106979   echo "$as_me: failed program was:" >&5
106980 sed 's/^/| /' conftest.$ac_ext >&5
106981
106982         ac_header_compiler=no
106983 fi
106984
106985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
106986 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
106987 echo "${ECHO_T}$ac_header_compiler" >&6; }
106988
106989 # Is the header present?
106990 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
106991 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
106992 cat >conftest.$ac_ext <<_ACEOF
106993 /* confdefs.h.  */
106994 _ACEOF
106995 cat confdefs.h >>conftest.$ac_ext
106996 cat >>conftest.$ac_ext <<_ACEOF
106997 /* end confdefs.h.  */
106998 #include <$ac_header>
106999 _ACEOF
107000 if { (ac_try="$ac_cpp conftest.$ac_ext"
107001 case "(($ac_try" in
107002   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
107003   *) ac_try_echo=$ac_try;;
107004 esac
107005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
107006   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
107007   ac_status=$?
107008   grep -v '^ *+' conftest.er1 >conftest.err
107009   rm -f conftest.er1
107010   cat conftest.err >&5
107011   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107012   (exit $ac_status); } >/dev/null && {
107013          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
107014          test ! -s conftest.err
107015        }; then
107016   ac_header_preproc=yes
107017 else
107018   echo "$as_me: failed program was:" >&5
107019 sed 's/^/| /' conftest.$ac_ext >&5
107020
107021   ac_header_preproc=no
107022 fi
107023
107024 rm -f conftest.err conftest.$ac_ext
107025 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
107026 echo "${ECHO_T}$ac_header_preproc" >&6; }
107027
107028 # So?  What about this header?
107029 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
107030   yes:no: )
107031     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
107032 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
107033     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
107034 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
107035     ac_header_preproc=yes
107036     ;;
107037   no:yes:* )
107038     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
107039 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
107040     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
107041 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
107042     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
107043 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
107044     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
107045 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
107046     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
107047 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
107048     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
107049 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
107050
107051     ;;
107052 esac
107053 { echo "$as_me:$LINENO: checking for $ac_header" >&5
107054 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
107055 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
107056   echo $ECHO_N "(cached) $ECHO_C" >&6
107057 else
107058   eval "$as_ac_Header=\$ac_header_preproc"
107059 fi
107060 ac_res=`eval echo '${'$as_ac_Header'}'`
107061                { echo "$as_me:$LINENO: result: $ac_res" >&5
107062 echo "${ECHO_T}$ac_res" >&6; }
107063
107064 fi
107065 if test `eval echo '${'$as_ac_Header'}'` = yes; then
107066   cat >>confdefs.h <<_ACEOF
107067 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
107068 _ACEOF
107069
107070 fi
107071
107072 done
107073
107074
107075   { echo "$as_me:$LINENO: checking for poll" >&5
107076 echo $ECHO_N "checking for poll... $ECHO_C" >&6; }
107077   if test "${glibcxx_cv_POLL+set}" = set; then
107078   echo $ECHO_N "(cached) $ECHO_C" >&6
107079 else
107080
107081     if test x$gcc_no_link = xyes; then
107082   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107083 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107084    { (exit 1); exit 1; }; }
107085 fi
107086 cat >conftest.$ac_ext <<_ACEOF
107087 /* confdefs.h.  */
107088 _ACEOF
107089 cat confdefs.h >>conftest.$ac_ext
107090 cat >>conftest.$ac_ext <<_ACEOF
107091 /* end confdefs.h.  */
107092 #include <poll.h>
107093 int
107094 main ()
107095 {
107096 struct pollfd pfd[1];
107097        pfd[0].events = POLLIN;
107098        poll(pfd, 1, 0);
107099   ;
107100   return 0;
107101 }
107102 _ACEOF
107103 rm -f conftest.$ac_objext conftest$ac_exeext
107104 if { (ac_try="$ac_link"
107105 case "(($ac_try" in
107106   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
107107   *) ac_try_echo=$ac_try;;
107108 esac
107109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
107110   (eval "$ac_link") 2>conftest.er1
107111   ac_status=$?
107112   grep -v '^ *+' conftest.er1 >conftest.err
107113   rm -f conftest.er1
107114   cat conftest.err >&5
107115   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107116   (exit $ac_status); } && {
107117          test -z "$ac_c_werror_flag" ||
107118          test ! -s conftest.err
107119        } && test -s conftest$ac_exeext &&
107120        $as_test_x conftest$ac_exeext; then
107121   glibcxx_cv_POLL=yes
107122 else
107123   echo "$as_me: failed program was:" >&5
107124 sed 's/^/| /' conftest.$ac_ext >&5
107125
107126         glibcxx_cv_POLL=no
107127 fi
107128
107129 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
107130       conftest$ac_exeext conftest.$ac_ext
107131
107132 fi
107133
107134   if test $glibcxx_cv_POLL = yes; then
107135
107136 cat >>confdefs.h <<\_ACEOF
107137 #define HAVE_POLL 1
107138 _ACEOF
107139
107140   fi
107141   { echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
107142 echo "${ECHO_T}$glibcxx_cv_POLL" >&6; }
107143
107144
107145   { echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
107146 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6; }
107147   if test "${glibcxx_cv_S_ISREG+set}" = set; then
107148   echo $ECHO_N "(cached) $ECHO_C" >&6
107149 else
107150
107151     if test x$gcc_no_link = xyes; then
107152   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107153 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107154    { (exit 1); exit 1; }; }
107155 fi
107156 cat >conftest.$ac_ext <<_ACEOF
107157 /* confdefs.h.  */
107158 _ACEOF
107159 cat confdefs.h >>conftest.$ac_ext
107160 cat >>conftest.$ac_ext <<_ACEOF
107161 /* end confdefs.h.  */
107162 #include <sys/stat.h>
107163 int
107164 main ()
107165 {
107166 struct stat buffer;
107167        fstat(0, &buffer);
107168        S_ISREG(buffer.st_mode);
107169   ;
107170   return 0;
107171 }
107172 _ACEOF
107173 rm -f conftest.$ac_objext conftest$ac_exeext
107174 if { (ac_try="$ac_link"
107175 case "(($ac_try" in
107176   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
107177   *) ac_try_echo=$ac_try;;
107178 esac
107179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
107180   (eval "$ac_link") 2>conftest.er1
107181   ac_status=$?
107182   grep -v '^ *+' conftest.er1 >conftest.err
107183   rm -f conftest.er1
107184   cat conftest.err >&5
107185   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107186   (exit $ac_status); } && {
107187          test -z "$ac_c_werror_flag" ||
107188          test ! -s conftest.err
107189        } && test -s conftest$ac_exeext &&
107190        $as_test_x conftest$ac_exeext; then
107191   glibcxx_cv_S_ISREG=yes
107192 else
107193   echo "$as_me: failed program was:" >&5
107194 sed 's/^/| /' conftest.$ac_ext >&5
107195
107196         glibcxx_cv_S_ISREG=no
107197 fi
107198
107199 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
107200       conftest$ac_exeext conftest.$ac_ext
107201
107202 fi
107203
107204   if test "${glibcxx_cv_S_IFREG+set}" = set; then
107205   echo $ECHO_N "(cached) $ECHO_C" >&6
107206 else
107207
107208     if test x$gcc_no_link = xyes; then
107209   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107210 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107211    { (exit 1); exit 1; }; }
107212 fi
107213 cat >conftest.$ac_ext <<_ACEOF
107214 /* confdefs.h.  */
107215 _ACEOF
107216 cat confdefs.h >>conftest.$ac_ext
107217 cat >>conftest.$ac_ext <<_ACEOF
107218 /* end confdefs.h.  */
107219 #include <sys/stat.h>
107220 int
107221 main ()
107222 {
107223 struct stat buffer;
107224        fstat(0, &buffer);
107225        S_IFREG & buffer.st_mode;
107226   ;
107227   return 0;
107228 }
107229 _ACEOF
107230 rm -f conftest.$ac_objext conftest$ac_exeext
107231 if { (ac_try="$ac_link"
107232 case "(($ac_try" in
107233   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
107234   *) ac_try_echo=$ac_try;;
107235 esac
107236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
107237   (eval "$ac_link") 2>conftest.er1
107238   ac_status=$?
107239   grep -v '^ *+' conftest.er1 >conftest.err
107240   rm -f conftest.er1
107241   cat conftest.err >&5
107242   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107243   (exit $ac_status); } && {
107244          test -z "$ac_c_werror_flag" ||
107245          test ! -s conftest.err
107246        } && test -s conftest$ac_exeext &&
107247        $as_test_x conftest$ac_exeext; then
107248   glibcxx_cv_S_IFREG=yes
107249 else
107250   echo "$as_me: failed program was:" >&5
107251 sed 's/^/| /' conftest.$ac_ext >&5
107252
107253         glibcxx_cv_S_IFREG=no
107254 fi
107255
107256 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
107257       conftest$ac_exeext conftest.$ac_ext
107258
107259 fi
107260
107261   res=no
107262   if test $glibcxx_cv_S_ISREG = yes; then
107263
107264 cat >>confdefs.h <<\_ACEOF
107265 #define HAVE_S_ISREG 1
107266 _ACEOF
107267
107268     res=S_ISREG
107269   elif test $glibcxx_cv_S_IFREG = yes; then
107270
107271 cat >>confdefs.h <<\_ACEOF
107272 #define HAVE_S_IFREG 1
107273 _ACEOF
107274
107275     res=S_IFREG
107276   fi
107277   { echo "$as_me:$LINENO: result: $res" >&5
107278 echo "${ECHO_T}$res" >&6; }
107279
107280
107281     # For xsputn_2().
107282
107283 for ac_header in sys/uio.h
107284 do
107285 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
107286 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
107287   { echo "$as_me:$LINENO: checking for $ac_header" >&5
107288 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
107289 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
107290   echo $ECHO_N "(cached) $ECHO_C" >&6
107291 fi
107292 ac_res=`eval echo '${'$as_ac_Header'}'`
107293                { echo "$as_me:$LINENO: result: $ac_res" >&5
107294 echo "${ECHO_T}$ac_res" >&6; }
107295 else
107296   # Is the header compilable?
107297 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
107298 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
107299 cat >conftest.$ac_ext <<_ACEOF
107300 /* confdefs.h.  */
107301 _ACEOF
107302 cat confdefs.h >>conftest.$ac_ext
107303 cat >>conftest.$ac_ext <<_ACEOF
107304 /* end confdefs.h.  */
107305 $ac_includes_default
107306 #include <$ac_header>
107307 _ACEOF
107308 rm -f conftest.$ac_objext
107309 if { (ac_try="$ac_compile"
107310 case "(($ac_try" in
107311   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
107312   *) ac_try_echo=$ac_try;;
107313 esac
107314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
107315   (eval "$ac_compile") 2>conftest.er1
107316   ac_status=$?
107317   grep -v '^ *+' conftest.er1 >conftest.err
107318   rm -f conftest.er1
107319   cat conftest.err >&5
107320   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107321   (exit $ac_status); } && {
107322          test -z "$ac_c_werror_flag" ||
107323          test ! -s conftest.err
107324        } && test -s conftest.$ac_objext; then
107325   ac_header_compiler=yes
107326 else
107327   echo "$as_me: failed program was:" >&5
107328 sed 's/^/| /' conftest.$ac_ext >&5
107329
107330         ac_header_compiler=no
107331 fi
107332
107333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
107334 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
107335 echo "${ECHO_T}$ac_header_compiler" >&6; }
107336
107337 # Is the header present?
107338 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
107339 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
107340 cat >conftest.$ac_ext <<_ACEOF
107341 /* confdefs.h.  */
107342 _ACEOF
107343 cat confdefs.h >>conftest.$ac_ext
107344 cat >>conftest.$ac_ext <<_ACEOF
107345 /* end confdefs.h.  */
107346 #include <$ac_header>
107347 _ACEOF
107348 if { (ac_try="$ac_cpp conftest.$ac_ext"
107349 case "(($ac_try" in
107350   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
107351   *) ac_try_echo=$ac_try;;
107352 esac
107353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
107354   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
107355   ac_status=$?
107356   grep -v '^ *+' conftest.er1 >conftest.err
107357   rm -f conftest.er1
107358   cat conftest.err >&5
107359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107360   (exit $ac_status); } >/dev/null && {
107361          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
107362          test ! -s conftest.err
107363        }; then
107364   ac_header_preproc=yes
107365 else
107366   echo "$as_me: failed program was:" >&5
107367 sed 's/^/| /' conftest.$ac_ext >&5
107368
107369   ac_header_preproc=no
107370 fi
107371
107372 rm -f conftest.err conftest.$ac_ext
107373 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
107374 echo "${ECHO_T}$ac_header_preproc" >&6; }
107375
107376 # So?  What about this header?
107377 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
107378   yes:no: )
107379     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
107380 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
107381     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
107382 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
107383     ac_header_preproc=yes
107384     ;;
107385   no:yes:* )
107386     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
107387 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
107388     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
107389 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
107390     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
107391 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
107392     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
107393 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
107394     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
107395 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
107396     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
107397 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
107398
107399     ;;
107400 esac
107401 { echo "$as_me:$LINENO: checking for $ac_header" >&5
107402 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
107403 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
107404   echo $ECHO_N "(cached) $ECHO_C" >&6
107405 else
107406   eval "$as_ac_Header=\$ac_header_preproc"
107407 fi
107408 ac_res=`eval echo '${'$as_ac_Header'}'`
107409                { echo "$as_me:$LINENO: result: $ac_res" >&5
107410 echo "${ECHO_T}$ac_res" >&6; }
107411
107412 fi
107413 if test `eval echo '${'$as_ac_Header'}'` = yes; then
107414   cat >>confdefs.h <<_ACEOF
107415 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
107416 _ACEOF
107417
107418 fi
107419
107420 done
107421
107422
107423   { echo "$as_me:$LINENO: checking for writev" >&5
107424 echo $ECHO_N "checking for writev... $ECHO_C" >&6; }
107425   if test "${glibcxx_cv_WRITEV+set}" = set; then
107426   echo $ECHO_N "(cached) $ECHO_C" >&6
107427 else
107428
107429     if test x$gcc_no_link = xyes; then
107430   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107431 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107432    { (exit 1); exit 1; }; }
107433 fi
107434 cat >conftest.$ac_ext <<_ACEOF
107435 /* confdefs.h.  */
107436 _ACEOF
107437 cat confdefs.h >>conftest.$ac_ext
107438 cat >>conftest.$ac_ext <<_ACEOF
107439 /* end confdefs.h.  */
107440 #include <sys/uio.h>
107441 int
107442 main ()
107443 {
107444 struct iovec iov[2];
107445        writev(0, iov, 0);
107446   ;
107447   return 0;
107448 }
107449 _ACEOF
107450 rm -f conftest.$ac_objext conftest$ac_exeext
107451 if { (ac_try="$ac_link"
107452 case "(($ac_try" in
107453   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
107454   *) ac_try_echo=$ac_try;;
107455 esac
107456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
107457   (eval "$ac_link") 2>conftest.er1
107458   ac_status=$?
107459   grep -v '^ *+' conftest.er1 >conftest.err
107460   rm -f conftest.er1
107461   cat conftest.err >&5
107462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107463   (exit $ac_status); } && {
107464          test -z "$ac_c_werror_flag" ||
107465          test ! -s conftest.err
107466        } && test -s conftest$ac_exeext &&
107467        $as_test_x conftest$ac_exeext; then
107468   glibcxx_cv_WRITEV=yes
107469 else
107470   echo "$as_me: failed program was:" >&5
107471 sed 's/^/| /' conftest.$ac_ext >&5
107472
107473         glibcxx_cv_WRITEV=no
107474 fi
107475
107476 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
107477       conftest$ac_exeext conftest.$ac_ext
107478
107479 fi
107480
107481   if test $glibcxx_cv_WRITEV = yes; then
107482
107483 cat >>confdefs.h <<\_ACEOF
107484 #define HAVE_WRITEV 1
107485 _ACEOF
107486
107487   fi
107488   { echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
107489 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6; }
107490
107491     ;;
107492   *-qnx6.1* | *-qnx6.2*)
107493     SECTION_FLAGS='-ffunction-sections -fdata-sections'
107494
107495
107496   # If we're not using GNU ld, then there's no point in even trying these
107497   # tests.  Check for that first.  We should have already tested for gld
107498   # by now (in libtool), but require it now just to be safe...
107499   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
107500   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
107501
107502
107503
107504   # The name set by libtool depends on the version of libtool.  Shame on us
107505   # for depending on an impl detail, but c'est la vie.  Older versions used
107506   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
107507   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
107508   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
107509   # set (hence we're using an older libtool), then set it.
107510   if test x${with_gnu_ld+set} != xset; then
107511     if test x${ac_cv_prog_gnu_ld+set} != xset; then
107512       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
107513       with_gnu_ld=no
107514     else
107515       with_gnu_ld=$ac_cv_prog_gnu_ld
107516     fi
107517   fi
107518
107519   # Start by getting the version number.  I think the libtool test already
107520   # does some of this, but throws away the result.
107521   if test x"$with_gnu_ld" = x"yes"; then
107522     { echo "$as_me:$LINENO: checking for ld version" >&5
107523 echo $ECHO_N "checking for ld version... $ECHO_C" >&6; }
107524
107525     ldver=`$LD --version 2>/dev/null | head -1 | \
107526            sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
107527
107528     glibcxx_gnu_ld_version=`echo $ldver | \
107529            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
107530     { echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
107531 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6; }
107532   fi
107533
107534   # Set --gc-sections.
107535   glibcxx_gcsections_min_ld=21602
107536   if test x"$with_gnu_ld" = x"yes" &&
107537         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
107538
107539     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
107540     # NB: This flag only works reliably after 2.16.1. Configure tests
107541     # for this are difficult, so hard wire a value that should work.
107542
107543     ac_test_CFLAGS="${CFLAGS+set}"
107544     ac_save_CFLAGS="$CFLAGS"
107545     CFLAGS='-Wl,--gc-sections'
107546
107547     # Check for -Wl,--gc-sections
107548     { echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
107549 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6; }
107550     if test x$gcc_no_link = xyes; then
107551   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107552 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107553    { (exit 1); exit 1; }; }
107554 fi
107555 cat >conftest.$ac_ext <<_ACEOF
107556 /* confdefs.h.  */
107557 _ACEOF
107558 cat confdefs.h >>conftest.$ac_ext
107559 cat >>conftest.$ac_ext <<_ACEOF
107560 /* end confdefs.h.  */
107561  int one(void) { return 1; }
107562      int two(void) { return 2; }
107563
107564 int
107565 main ()
107566 {
107567  two();
107568   ;
107569   return 0;
107570 }
107571 _ACEOF
107572 rm -f conftest.$ac_objext conftest$ac_exeext
107573 if { (ac_try="$ac_link"
107574 case "(($ac_try" in
107575   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
107576   *) ac_try_echo=$ac_try;;
107577 esac
107578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
107579   (eval "$ac_link") 2>conftest.er1
107580   ac_status=$?
107581   grep -v '^ *+' conftest.er1 >conftest.err
107582   rm -f conftest.er1
107583   cat conftest.err >&5
107584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107585   (exit $ac_status); } && {
107586          test -z "$ac_c_werror_flag" ||
107587          test ! -s conftest.err
107588        } && test -s conftest$ac_exeext &&
107589        $as_test_x conftest$ac_exeext; then
107590   ac_gcsections=yes
107591 else
107592   echo "$as_me: failed program was:" >&5
107593 sed 's/^/| /' conftest.$ac_ext >&5
107594
107595         ac_gcsections=no
107596 fi
107597
107598 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
107599       conftest$ac_exeext conftest.$ac_ext
107600     if test "$ac_gcsections" = "yes"; then
107601       rm -f conftest.c
107602       touch conftest.c
107603       if $CC -c conftest.c; then
107604         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
107605            grep "Warning: gc-sections option ignored" > /dev/null; then
107606           ac_gcsections=no
107607         fi
107608       fi
107609       rm -f conftest.c conftest.o conftest
107610     fi
107611     if test "$ac_gcsections" = "yes"; then
107612       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
107613     fi
107614     { echo "$as_me:$LINENO: result: $ac_gcsections" >&5
107615 echo "${ECHO_T}$ac_gcsections" >&6; }
107616
107617     if test "$ac_test_CFLAGS" = set; then
107618       CFLAGS="$ac_save_CFLAGS"
107619     else
107620       # this is the suspicious part
107621       CFLAGS=''
107622     fi
107623   fi
107624
107625   # Set -z,relro.
107626   # Note this is only for shared objects.
107627   ac_ld_relro=no
107628   if test x"$with_gnu_ld" = x"yes"; then
107629     { echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
107630 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6; }
107631     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
107632     if test -n "$cxx_z_relo"; then
107633       OPT_LDFLAGS="-Wl,-z,relro"
107634       ac_ld_relro=yes
107635     fi
107636     { echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
107637 echo "${ECHO_T}$ac_ld_relro" >&6; }
107638   fi
107639
107640   # Set linker optimization flags.
107641   if test x"$with_gnu_ld" = x"yes"; then
107642     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
107643   fi
107644
107645
107646
107647
107648
107649
107650 { echo "$as_me:$LINENO: checking for main in -lm" >&5
107651 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6; }
107652 if test "${ac_cv_lib_m_main+set}" = set; then
107653   echo $ECHO_N "(cached) $ECHO_C" >&6
107654 else
107655   ac_check_lib_save_LIBS=$LIBS
107656 LIBS="-lm  $LIBS"
107657 if test x$gcc_no_link = xyes; then
107658   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107659 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107660    { (exit 1); exit 1; }; }
107661 fi
107662 cat >conftest.$ac_ext <<_ACEOF
107663 /* confdefs.h.  */
107664 _ACEOF
107665 cat confdefs.h >>conftest.$ac_ext
107666 cat >>conftest.$ac_ext <<_ACEOF
107667 /* end confdefs.h.  */
107668
107669
107670 int
107671 main ()
107672 {
107673 return main ();
107674   ;
107675   return 0;
107676 }
107677 _ACEOF
107678 rm -f conftest.$ac_objext conftest$ac_exeext
107679 if { (ac_try="$ac_link"
107680 case "(($ac_try" in
107681   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
107682   *) ac_try_echo=$ac_try;;
107683 esac
107684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
107685   (eval "$ac_link") 2>conftest.er1
107686   ac_status=$?
107687   grep -v '^ *+' conftest.er1 >conftest.err
107688   rm -f conftest.er1
107689   cat conftest.err >&5
107690   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107691   (exit $ac_status); } && {
107692          test -z "$ac_c_werror_flag" ||
107693          test ! -s conftest.err
107694        } && test -s conftest$ac_exeext &&
107695        $as_test_x conftest$ac_exeext; then
107696   ac_cv_lib_m_main=yes
107697 else
107698   echo "$as_me: failed program was:" >&5
107699 sed 's/^/| /' conftest.$ac_ext >&5
107700
107701         ac_cv_lib_m_main=no
107702 fi
107703
107704 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
107705       conftest$ac_exeext conftest.$ac_ext
107706 LIBS=$ac_check_lib_save_LIBS
107707 fi
107708 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
107709 echo "${ECHO_T}$ac_cv_lib_m_main" >&6; }
107710 if test $ac_cv_lib_m_main = yes; then
107711   cat >>confdefs.h <<_ACEOF
107712 #define HAVE_LIBM 1
107713 _ACEOF
107714
107715   LIBS="-lm $LIBS"
107716
107717 fi
107718
107719
107720 for ac_func in copysignf
107721 do
107722 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107723 { echo "$as_me:$LINENO: checking for $ac_func" >&5
107724 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
107725 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
107726   echo $ECHO_N "(cached) $ECHO_C" >&6
107727 else
107728   if test x$gcc_no_link = xyes; then
107729   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107730 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107731    { (exit 1); exit 1; }; }
107732 fi
107733 cat >conftest.$ac_ext <<_ACEOF
107734 /* confdefs.h.  */
107735 _ACEOF
107736 cat confdefs.h >>conftest.$ac_ext
107737 cat >>conftest.$ac_ext <<_ACEOF
107738 /* end confdefs.h.  */
107739 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107740    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
107741 #define $ac_func innocuous_$ac_func
107742
107743 /* System header to define __stub macros and hopefully few prototypes,
107744     which can conflict with char $ac_func (); below.
107745     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107746     <limits.h> exists even on freestanding compilers.  */
107747
107748 #ifdef __STDC__
107749 # include <limits.h>
107750 #else
107751 # include <assert.h>
107752 #endif
107753
107754 #undef $ac_func
107755
107756 /* Override any GCC internal prototype to avoid an error.
107757    Use char because int might match the return type of a GCC
107758    builtin and then its argument prototype would still apply.  */
107759 #ifdef __cplusplus
107760 extern "C"
107761 #endif
107762 char $ac_func ();
107763 /* The GNU C library defines this for functions which it implements
107764     to always fail with ENOSYS.  Some functions are actually named
107765     something starting with __ and the normal name is an alias.  */
107766 #if defined __stub_$ac_func || defined __stub___$ac_func
107767 choke me
107768 #endif
107769
107770 int
107771 main ()
107772 {
107773 return $ac_func ();
107774   ;
107775   return 0;
107776 }
107777 _ACEOF
107778 rm -f conftest.$ac_objext conftest$ac_exeext
107779 if { (ac_try="$ac_link"
107780 case "(($ac_try" in
107781   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
107782   *) ac_try_echo=$ac_try;;
107783 esac
107784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
107785   (eval "$ac_link") 2>conftest.er1
107786   ac_status=$?
107787   grep -v '^ *+' conftest.er1 >conftest.err
107788   rm -f conftest.er1
107789   cat conftest.err >&5
107790   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107791   (exit $ac_status); } && {
107792          test -z "$ac_c_werror_flag" ||
107793          test ! -s conftest.err
107794        } && test -s conftest$ac_exeext &&
107795        $as_test_x conftest$ac_exeext; then
107796   eval "$as_ac_var=yes"
107797 else
107798   echo "$as_me: failed program was:" >&5
107799 sed 's/^/| /' conftest.$ac_ext >&5
107800
107801         eval "$as_ac_var=no"
107802 fi
107803
107804 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
107805       conftest$ac_exeext conftest.$ac_ext
107806 fi
107807 ac_res=`eval echo '${'$as_ac_var'}'`
107808                { echo "$as_me:$LINENO: result: $ac_res" >&5
107809 echo "${ECHO_T}$ac_res" >&6; }
107810 if test `eval echo '${'$as_ac_var'}'` = yes; then
107811   cat >>confdefs.h <<_ACEOF
107812 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107813 _ACEOF
107814
107815 else
107816   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
107817 fi
107818 done
107819
107820
107821
107822 for ac_func in __signbit
107823 do
107824 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107825 { echo "$as_me:$LINENO: checking for $ac_func" >&5
107826 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
107827 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
107828   echo $ECHO_N "(cached) $ECHO_C" >&6
107829 else
107830   if test x$gcc_no_link = xyes; then
107831   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107832 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107833    { (exit 1); exit 1; }; }
107834 fi
107835 cat >conftest.$ac_ext <<_ACEOF
107836 /* confdefs.h.  */
107837 _ACEOF
107838 cat confdefs.h >>conftest.$ac_ext
107839 cat >>conftest.$ac_ext <<_ACEOF
107840 /* end confdefs.h.  */
107841 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107842    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
107843 #define $ac_func innocuous_$ac_func
107844
107845 /* System header to define __stub macros and hopefully few prototypes,
107846     which can conflict with char $ac_func (); below.
107847     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107848     <limits.h> exists even on freestanding compilers.  */
107849
107850 #ifdef __STDC__
107851 # include <limits.h>
107852 #else
107853 # include <assert.h>
107854 #endif
107855
107856 #undef $ac_func
107857
107858 /* Override any GCC internal prototype to avoid an error.
107859    Use char because int might match the return type of a GCC
107860    builtin and then its argument prototype would still apply.  */
107861 #ifdef __cplusplus
107862 extern "C"
107863 #endif
107864 char $ac_func ();
107865 /* The GNU C library defines this for functions which it implements
107866     to always fail with ENOSYS.  Some functions are actually named
107867     something starting with __ and the normal name is an alias.  */
107868 #if defined __stub_$ac_func || defined __stub___$ac_func
107869 choke me
107870 #endif
107871
107872 int
107873 main ()
107874 {
107875 return $ac_func ();
107876   ;
107877   return 0;
107878 }
107879 _ACEOF
107880 rm -f conftest.$ac_objext conftest$ac_exeext
107881 if { (ac_try="$ac_link"
107882 case "(($ac_try" in
107883   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
107884   *) ac_try_echo=$ac_try;;
107885 esac
107886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
107887   (eval "$ac_link") 2>conftest.er1
107888   ac_status=$?
107889   grep -v '^ *+' conftest.er1 >conftest.err
107890   rm -f conftest.er1
107891   cat conftest.err >&5
107892   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107893   (exit $ac_status); } && {
107894          test -z "$ac_c_werror_flag" ||
107895          test ! -s conftest.err
107896        } && test -s conftest$ac_exeext &&
107897        $as_test_x conftest$ac_exeext; then
107898   eval "$as_ac_var=yes"
107899 else
107900   echo "$as_me: failed program was:" >&5
107901 sed 's/^/| /' conftest.$ac_ext >&5
107902
107903         eval "$as_ac_var=no"
107904 fi
107905
107906 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
107907       conftest$ac_exeext conftest.$ac_ext
107908 fi
107909 ac_res=`eval echo '${'$as_ac_var'}'`
107910                { echo "$as_me:$LINENO: result: $ac_res" >&5
107911 echo "${ECHO_T}$ac_res" >&6; }
107912 if test `eval echo '${'$as_ac_var'}'` = yes; then
107913   cat >>confdefs.h <<_ACEOF
107914 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107915 _ACEOF
107916
107917 else
107918   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
107919 fi
107920 done
107921
107922
107923
107924 for ac_func in __signbitf
107925 do
107926 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107927 { echo "$as_me:$LINENO: checking for $ac_func" >&5
107928 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
107929 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
107930   echo $ECHO_N "(cached) $ECHO_C" >&6
107931 else
107932   if test x$gcc_no_link = xyes; then
107933   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107934 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107935    { (exit 1); exit 1; }; }
107936 fi
107937 cat >conftest.$ac_ext <<_ACEOF
107938 /* confdefs.h.  */
107939 _ACEOF
107940 cat confdefs.h >>conftest.$ac_ext
107941 cat >>conftest.$ac_ext <<_ACEOF
107942 /* end confdefs.h.  */
107943 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107944    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
107945 #define $ac_func innocuous_$ac_func
107946
107947 /* System header to define __stub macros and hopefully few prototypes,
107948     which can conflict with char $ac_func (); below.
107949     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107950     <limits.h> exists even on freestanding compilers.  */
107951
107952 #ifdef __STDC__
107953 # include <limits.h>
107954 #else
107955 # include <assert.h>
107956 #endif
107957
107958 #undef $ac_func
107959
107960 /* Override any GCC internal prototype to avoid an error.
107961    Use char because int might match the return type of a GCC
107962    builtin and then its argument prototype would still apply.  */
107963 #ifdef __cplusplus
107964 extern "C"
107965 #endif
107966 char $ac_func ();
107967 /* The GNU C library defines this for functions which it implements
107968     to always fail with ENOSYS.  Some functions are actually named
107969     something starting with __ and the normal name is an alias.  */
107970 #if defined __stub_$ac_func || defined __stub___$ac_func
107971 choke me
107972 #endif
107973
107974 int
107975 main ()
107976 {
107977 return $ac_func ();
107978   ;
107979   return 0;
107980 }
107981 _ACEOF
107982 rm -f conftest.$ac_objext conftest$ac_exeext
107983 if { (ac_try="$ac_link"
107984 case "(($ac_try" in
107985   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
107986   *) ac_try_echo=$ac_try;;
107987 esac
107988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
107989   (eval "$ac_link") 2>conftest.er1
107990   ac_status=$?
107991   grep -v '^ *+' conftest.er1 >conftest.err
107992   rm -f conftest.er1
107993   cat conftest.err >&5
107994   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107995   (exit $ac_status); } && {
107996          test -z "$ac_c_werror_flag" ||
107997          test ! -s conftest.err
107998        } && test -s conftest$ac_exeext &&
107999        $as_test_x conftest$ac_exeext; then
108000   eval "$as_ac_var=yes"
108001 else
108002   echo "$as_me: failed program was:" >&5
108003 sed 's/^/| /' conftest.$ac_ext >&5
108004
108005         eval "$as_ac_var=no"
108006 fi
108007
108008 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
108009       conftest$ac_exeext conftest.$ac_ext
108010 fi
108011 ac_res=`eval echo '${'$as_ac_var'}'`
108012                { echo "$as_me:$LINENO: result: $ac_res" >&5
108013 echo "${ECHO_T}$ac_res" >&6; }
108014 if test `eval echo '${'$as_ac_var'}'` = yes; then
108015   cat >>confdefs.h <<_ACEOF
108016 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
108017 _ACEOF
108018
108019 else
108020   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
108021 fi
108022 done
108023
108024
108025           if test x$ac_cv_func_copysignl = x"yes"; then
108026
108027 for ac_func in __signbitl
108028 do
108029 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
108030 { echo "$as_me:$LINENO: checking for $ac_func" >&5
108031 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
108032 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
108033   echo $ECHO_N "(cached) $ECHO_C" >&6
108034 else
108035   if test x$gcc_no_link = xyes; then
108036   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108037 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108038    { (exit 1); exit 1; }; }
108039 fi
108040 cat >conftest.$ac_ext <<_ACEOF
108041 /* confdefs.h.  */
108042 _ACEOF
108043 cat confdefs.h >>conftest.$ac_ext
108044 cat >>conftest.$ac_ext <<_ACEOF
108045 /* end confdefs.h.  */
108046 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
108047    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
108048 #define $ac_func innocuous_$ac_func
108049
108050 /* System header to define __stub macros and hopefully few prototypes,
108051     which can conflict with char $ac_func (); below.
108052     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
108053     <limits.h> exists even on freestanding compilers.  */
108054
108055 #ifdef __STDC__
108056 # include <limits.h>
108057 #else
108058 # include <assert.h>
108059 #endif
108060
108061 #undef $ac_func
108062
108063 /* Override any GCC internal prototype to avoid an error.
108064    Use char because int might match the return type of a GCC
108065    builtin and then its argument prototype would still apply.  */
108066 #ifdef __cplusplus
108067 extern "C"
108068 #endif
108069 char $ac_func ();
108070 /* The GNU C library defines this for functions which it implements
108071     to always fail with ENOSYS.  Some functions are actually named
108072     something starting with __ and the normal name is an alias.  */
108073 #if defined __stub_$ac_func || defined __stub___$ac_func
108074 choke me
108075 #endif
108076
108077 int
108078 main ()
108079 {
108080 return $ac_func ();
108081   ;
108082   return 0;
108083 }
108084 _ACEOF
108085 rm -f conftest.$ac_objext conftest$ac_exeext
108086 if { (ac_try="$ac_link"
108087 case "(($ac_try" in
108088   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
108089   *) ac_try_echo=$ac_try;;
108090 esac
108091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
108092   (eval "$ac_link") 2>conftest.er1
108093   ac_status=$?
108094   grep -v '^ *+' conftest.er1 >conftest.err
108095   rm -f conftest.er1
108096   cat conftest.err >&5
108097   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108098   (exit $ac_status); } && {
108099          test -z "$ac_c_werror_flag" ||
108100          test ! -s conftest.err
108101        } && test -s conftest$ac_exeext &&
108102        $as_test_x conftest$ac_exeext; then
108103   eval "$as_ac_var=yes"
108104 else
108105   echo "$as_me: failed program was:" >&5
108106 sed 's/^/| /' conftest.$ac_ext >&5
108107
108108         eval "$as_ac_var=no"
108109 fi
108110
108111 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
108112       conftest$ac_exeext conftest.$ac_ext
108113 fi
108114 ac_res=`eval echo '${'$as_ac_var'}'`
108115                { echo "$as_me:$LINENO: result: $ac_res" >&5
108116 echo "${ECHO_T}$ac_res" >&6; }
108117 if test `eval echo '${'$as_ac_var'}'` = yes; then
108118   cat >>confdefs.h <<_ACEOF
108119 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
108120 _ACEOF
108121
108122 else
108123   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
108124 fi
108125 done
108126
108127   fi
108128
108129   # Used in libmath/Makefile.am.
108130   if test -n "$LIBMATHOBJS"; then
108131     need_libmath=yes
108132   fi
108133
108134
108135     cat >>confdefs.h <<\_ACEOF
108136 #define HAVE_COSF 1
108137 _ACEOF
108138
108139     cat >>confdefs.h <<\_ACEOF
108140 #define HAVE_COSL 1
108141 _ACEOF
108142
108143     cat >>confdefs.h <<\_ACEOF
108144 #define HAVE_COSHF 1
108145 _ACEOF
108146
108147     cat >>confdefs.h <<\_ACEOF
108148 #define HAVE_COSHL 1
108149 _ACEOF
108150
108151     cat >>confdefs.h <<\_ACEOF
108152 #define HAVE_LOGF 1
108153 _ACEOF
108154
108155     cat >>confdefs.h <<\_ACEOF
108156 #define HAVE_LOGL 1
108157 _ACEOF
108158
108159     cat >>confdefs.h <<\_ACEOF
108160 #define HAVE_LOG10F 1
108161 _ACEOF
108162
108163     cat >>confdefs.h <<\_ACEOF
108164 #define HAVE_LOG10L 1
108165 _ACEOF
108166
108167     cat >>confdefs.h <<\_ACEOF
108168 #define HAVE_SINF 1
108169 _ACEOF
108170
108171     cat >>confdefs.h <<\_ACEOF
108172 #define HAVE_SINL 1
108173 _ACEOF
108174
108175     cat >>confdefs.h <<\_ACEOF
108176 #define HAVE_SINHF 1
108177 _ACEOF
108178
108179     cat >>confdefs.h <<\_ACEOF
108180 #define HAVE_SINHL 1
108181 _ACEOF
108182
108183     ;;
108184   *-solaris*)
108185     case "$target" in
108186     #  *-solaris2.5)
108187     #    os_include_dir="os/solaris/solaris2.5"
108188     #    ;;
108189     #  *-solaris2.6)
108190     #    os_include_dir="os/solaris/solaris2.6"
108191     #    ;;
108192       *-solaris2.7 | *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
108193
108194   # If we're not using GNU ld, then there's no point in even trying these
108195   # tests.  Check for that first.  We should have already tested for gld
108196   # by now (in libtool), but require it now just to be safe...
108197   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
108198   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
108199
108200
108201
108202   # The name set by libtool depends on the version of libtool.  Shame on us
108203   # for depending on an impl detail, but c'est la vie.  Older versions used
108204   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
108205   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
108206   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
108207   # set (hence we're using an older libtool), then set it.
108208   if test x${with_gnu_ld+set} != xset; then
108209     if test x${ac_cv_prog_gnu_ld+set} != xset; then
108210       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
108211       with_gnu_ld=no
108212     else
108213       with_gnu_ld=$ac_cv_prog_gnu_ld
108214     fi
108215   fi
108216
108217   # Start by getting the version number.  I think the libtool test already
108218   # does some of this, but throws away the result.
108219   if test x"$with_gnu_ld" = x"yes"; then
108220     { echo "$as_me:$LINENO: checking for ld version" >&5
108221 echo $ECHO_N "checking for ld version... $ECHO_C" >&6; }
108222
108223     ldver=`$LD --version 2>/dev/null | head -1 | \
108224            sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
108225
108226     glibcxx_gnu_ld_version=`echo $ldver | \
108227            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
108228     { echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
108229 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6; }
108230   fi
108231
108232   # Set --gc-sections.
108233   glibcxx_gcsections_min_ld=21602
108234   if test x"$with_gnu_ld" = x"yes" &&
108235         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
108236
108237     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
108238     # NB: This flag only works reliably after 2.16.1. Configure tests
108239     # for this are difficult, so hard wire a value that should work.
108240
108241     ac_test_CFLAGS="${CFLAGS+set}"
108242     ac_save_CFLAGS="$CFLAGS"
108243     CFLAGS='-Wl,--gc-sections'
108244
108245     # Check for -Wl,--gc-sections
108246     { echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
108247 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6; }
108248     if test x$gcc_no_link = xyes; then
108249   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108250 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108251    { (exit 1); exit 1; }; }
108252 fi
108253 cat >conftest.$ac_ext <<_ACEOF
108254 /* confdefs.h.  */
108255 _ACEOF
108256 cat confdefs.h >>conftest.$ac_ext
108257 cat >>conftest.$ac_ext <<_ACEOF
108258 /* end confdefs.h.  */
108259  int one(void) { return 1; }
108260      int two(void) { return 2; }
108261
108262 int
108263 main ()
108264 {
108265  two();
108266   ;
108267   return 0;
108268 }
108269 _ACEOF
108270 rm -f conftest.$ac_objext conftest$ac_exeext
108271 if { (ac_try="$ac_link"
108272 case "(($ac_try" in
108273   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
108274   *) ac_try_echo=$ac_try;;
108275 esac
108276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
108277   (eval "$ac_link") 2>conftest.er1
108278   ac_status=$?
108279   grep -v '^ *+' conftest.er1 >conftest.err
108280   rm -f conftest.er1
108281   cat conftest.err >&5
108282   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108283   (exit $ac_status); } && {
108284          test -z "$ac_c_werror_flag" ||
108285          test ! -s conftest.err
108286        } && test -s conftest$ac_exeext &&
108287        $as_test_x conftest$ac_exeext; then
108288   ac_gcsections=yes
108289 else
108290   echo "$as_me: failed program was:" >&5
108291 sed 's/^/| /' conftest.$ac_ext >&5
108292
108293         ac_gcsections=no
108294 fi
108295
108296 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
108297       conftest$ac_exeext conftest.$ac_ext
108298     if test "$ac_gcsections" = "yes"; then
108299       rm -f conftest.c
108300       touch conftest.c
108301       if $CC -c conftest.c; then
108302         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
108303            grep "Warning: gc-sections option ignored" > /dev/null; then
108304           ac_gcsections=no
108305         fi
108306       fi
108307       rm -f conftest.c conftest.o conftest
108308     fi
108309     if test "$ac_gcsections" = "yes"; then
108310       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
108311     fi
108312     { echo "$as_me:$LINENO: result: $ac_gcsections" >&5
108313 echo "${ECHO_T}$ac_gcsections" >&6; }
108314
108315     if test "$ac_test_CFLAGS" = set; then
108316       CFLAGS="$ac_save_CFLAGS"
108317     else
108318       # this is the suspicious part
108319       CFLAGS=''
108320     fi
108321   fi
108322
108323   # Set -z,relro.
108324   # Note this is only for shared objects.
108325   ac_ld_relro=no
108326   if test x"$with_gnu_ld" = x"yes"; then
108327     { echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
108328 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6; }
108329     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
108330     if test -n "$cxx_z_relo"; then
108331       OPT_LDFLAGS="-Wl,-z,relro"
108332       ac_ld_relro=yes
108333     fi
108334     { echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
108335 echo "${ECHO_T}$ac_ld_relro" >&6; }
108336   fi
108337
108338   # Set linker optimization flags.
108339   if test x"$with_gnu_ld" = x"yes"; then
108340     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
108341   fi
108342
108343
108344
108345
108346          cat >>confdefs.h <<\_ACEOF
108347 #define HAVE_GETPAGESIZE 1
108348 _ACEOF
108349
108350          cat >>confdefs.h <<\_ACEOF
108351 #define HAVE_SIGSETJMP 1
108352 _ACEOF
108353
108354          cat >>confdefs.h <<\_ACEOF
108355 #define HAVE_MBSTATE_T 1
108356 _ACEOF
108357
108358          cat >>confdefs.h <<\_ACEOF
108359 #define HAVE_POLL 1
108360 _ACEOF
108361
108362          cat >>confdefs.h <<\_ACEOF
108363 #define HAVE_S_ISREG 1
108364 _ACEOF
108365
108366          cat >>confdefs.h <<\_ACEOF
108367 #define HAVE_LC_MESSAGES 1
108368 _ACEOF
108369
108370          cat >>confdefs.h <<\_ACEOF
108371 #define HAVE_FINITE 1
108372 _ACEOF
108373
108374          cat >>confdefs.h <<\_ACEOF
108375 #define HAVE_FPCLASS 1
108376 _ACEOF
108377
108378          cat >>confdefs.h <<\_ACEOF
108379 #define HAVE_GETPAGESIZE 1
108380 _ACEOF
108381
108382          # All of the dependencies for wide character support are here, so
108383          # turn it on.
108384          cat >>confdefs.h <<\_ACEOF
108385 #define _GLIBCXX_USE_WCHAR_T 1
108386 _ACEOF
108387
108388          # Are these tested for even when cross?
108389          cat >>confdefs.h <<\_ACEOF
108390 #define HAVE_FLOAT_H 1
108391 _ACEOF
108392
108393          cat >>confdefs.h <<\_ACEOF
108394 #define HAVE_IEEEFP_H 1
108395 _ACEOF
108396
108397          cat >>confdefs.h <<\_ACEOF
108398 #define HAVE_INTTYPES_H 1
108399 _ACEOF
108400
108401          cat >>confdefs.h <<\_ACEOF
108402 #define HAVE_LOCALE_H 1
108403 _ACEOF
108404
108405          cat >>confdefs.h <<\_ACEOF
108406 #define HAVE_NAN_H 1
108407 _ACEOF
108408
108409          cat >>confdefs.h <<\_ACEOF
108410 #define HAVE_SYS_FILIO_H 1
108411 _ACEOF
108412
108413          cat >>confdefs.h <<\_ACEOF
108414 #define HAVE_SYS_IOCTL_H 1
108415 _ACEOF
108416
108417          cat >>confdefs.h <<\_ACEOF
108418 #define HAVE_SYS_ISA_DEFS_H 1
108419 _ACEOF
108420
108421          cat >>confdefs.h <<\_ACEOF
108422 #define HAVE_SYS_RESOURCE_H 1
108423 _ACEOF
108424
108425          cat >>confdefs.h <<\_ACEOF
108426 #define HAVE_SYS_TIME_H 1
108427 _ACEOF
108428
108429          cat >>confdefs.h <<\_ACEOF
108430 #define HAVE_SYS_TYPES_H 1
108431 _ACEOF
108432
108433          cat >>confdefs.h <<\_ACEOF
108434 #define HAVE_UNISTD_H 1
108435 _ACEOF
108436
108437          cat >>confdefs.h <<\_ACEOF
108438 #define HAVE_WCHAR_H 1
108439 _ACEOF
108440
108441          cat >>confdefs.h <<\_ACEOF
108442 #define HAVE_WCTYPE_H 1
108443 _ACEOF
108444
108445          cat >>confdefs.h <<\_ACEOF
108446 #define HAVE_LIBM 1
108447 _ACEOF
108448
108449         ;;
108450     esac
108451     case "$target" in
108452       sparc*-*-solaris2.8 | sparc*-*-solaris2.9 | sparc*-*-solaris2.10)
108453         # I saw these on sparc-sun-solaris2.8, but not 2.6, and not on i386
108454         cat >>confdefs.h <<\_ACEOF
108455 #define HAVE___BUILTIN_ABS 1
108456 _ACEOF
108457
108458         cat >>confdefs.h <<\_ACEOF
108459 #define HAVE___BUILTIN_LABS 1
108460 _ACEOF
108461
108462         cat >>confdefs.h <<\_ACEOF
108463 #define HAVE___BUILTIN_FABS 1
108464 _ACEOF
108465
108466         cat >>confdefs.h <<\_ACEOF
108467 #define HAVE___BUILTIN_FABSF 1
108468 _ACEOF
108469
108470         cat >>confdefs.h <<\_ACEOF
108471 #define HAVE___BUILTIN_FABSL 1
108472 _ACEOF
108473
108474         cat >>confdefs.h <<\_ACEOF
108475 #define HAVE___BUILTIN_COS 1
108476 _ACEOF
108477
108478         cat >>confdefs.h <<\_ACEOF
108479 #define HAVE___BUILTIN_COSF 1
108480 _ACEOF
108481
108482         cat >>confdefs.h <<\_ACEOF
108483 #define HAVE___BUILTIN_SIN 1
108484 _ACEOF
108485
108486         cat >>confdefs.h <<\_ACEOF
108487 #define HAVE___BUILTIN_SINF 1
108488 _ACEOF
108489
108490        ;;
108491     esac
108492     case "$target" in
108493       *-*-solaris2.10)
108494       # These two C99 functions are present only in Solaris >= 10
108495       cat >>confdefs.h <<\_ACEOF
108496 #define HAVE_STRTOF 1
108497 _ACEOF
108498
108499       cat >>confdefs.h <<\_ACEOF
108500 #define HAVE_STRTOLD 1
108501 _ACEOF
108502
108503      ;;
108504     esac
108505     cat >>confdefs.h <<\_ACEOF
108506 #define HAVE_MMAP 1
108507 _ACEOF
108508
108509     cat >>confdefs.h <<\_ACEOF
108510 #define HAVE_COPYSIGN 1
108511 _ACEOF
108512
108513     cat >>confdefs.h <<\_ACEOF
108514 #define HAVE_ISNAN 1
108515 _ACEOF
108516
108517     cat >>confdefs.h <<\_ACEOF
108518 #define HAVE_ISNANF 1
108519 _ACEOF
108520
108521     cat >>confdefs.h <<\_ACEOF
108522 #define HAVE_MODFF 1
108523 _ACEOF
108524
108525     cat >>confdefs.h <<\_ACEOF
108526 #define HAVE_HYPOT 1
108527 _ACEOF
108528
108529     ;;
108530   *-tpf)
108531
108532
108533
108534
108535
108536
108537
108538
108539 for ac_header in nan.h endian.h machine/endian.h  \
108540       sys/param.h sys/types.h locale.h float.h inttypes.h
108541 do
108542 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
108543 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
108544   { echo "$as_me:$LINENO: checking for $ac_header" >&5
108545 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
108546 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
108547   echo $ECHO_N "(cached) $ECHO_C" >&6
108548 fi
108549 ac_res=`eval echo '${'$as_ac_Header'}'`
108550                { echo "$as_me:$LINENO: result: $ac_res" >&5
108551 echo "${ECHO_T}$ac_res" >&6; }
108552 else
108553   # Is the header compilable?
108554 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
108555 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
108556 cat >conftest.$ac_ext <<_ACEOF
108557 /* confdefs.h.  */
108558 _ACEOF
108559 cat confdefs.h >>conftest.$ac_ext
108560 cat >>conftest.$ac_ext <<_ACEOF
108561 /* end confdefs.h.  */
108562 $ac_includes_default
108563 #include <$ac_header>
108564 _ACEOF
108565 rm -f conftest.$ac_objext
108566 if { (ac_try="$ac_compile"
108567 case "(($ac_try" in
108568   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
108569   *) ac_try_echo=$ac_try;;
108570 esac
108571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
108572   (eval "$ac_compile") 2>conftest.er1
108573   ac_status=$?
108574   grep -v '^ *+' conftest.er1 >conftest.err
108575   rm -f conftest.er1
108576   cat conftest.err >&5
108577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108578   (exit $ac_status); } && {
108579          test -z "$ac_c_werror_flag" ||
108580          test ! -s conftest.err
108581        } && test -s conftest.$ac_objext; then
108582   ac_header_compiler=yes
108583 else
108584   echo "$as_me: failed program was:" >&5
108585 sed 's/^/| /' conftest.$ac_ext >&5
108586
108587         ac_header_compiler=no
108588 fi
108589
108590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
108591 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
108592 echo "${ECHO_T}$ac_header_compiler" >&6; }
108593
108594 # Is the header present?
108595 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
108596 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
108597 cat >conftest.$ac_ext <<_ACEOF
108598 /* confdefs.h.  */
108599 _ACEOF
108600 cat confdefs.h >>conftest.$ac_ext
108601 cat >>conftest.$ac_ext <<_ACEOF
108602 /* end confdefs.h.  */
108603 #include <$ac_header>
108604 _ACEOF
108605 if { (ac_try="$ac_cpp conftest.$ac_ext"
108606 case "(($ac_try" in
108607   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
108608   *) ac_try_echo=$ac_try;;
108609 esac
108610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
108611   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
108612   ac_status=$?
108613   grep -v '^ *+' conftest.er1 >conftest.err
108614   rm -f conftest.er1
108615   cat conftest.err >&5
108616   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108617   (exit $ac_status); } >/dev/null && {
108618          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
108619          test ! -s conftest.err
108620        }; then
108621   ac_header_preproc=yes
108622 else
108623   echo "$as_me: failed program was:" >&5
108624 sed 's/^/| /' conftest.$ac_ext >&5
108625
108626   ac_header_preproc=no
108627 fi
108628
108629 rm -f conftest.err conftest.$ac_ext
108630 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
108631 echo "${ECHO_T}$ac_header_preproc" >&6; }
108632
108633 # So?  What about this header?
108634 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
108635   yes:no: )
108636     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
108637 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
108638     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
108639 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
108640     ac_header_preproc=yes
108641     ;;
108642   no:yes:* )
108643     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
108644 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
108645     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
108646 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
108647     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
108648 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
108649     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
108650 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
108651     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
108652 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
108653     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
108654 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
108655
108656     ;;
108657 esac
108658 { echo "$as_me:$LINENO: checking for $ac_header" >&5
108659 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
108660 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
108661   echo $ECHO_N "(cached) $ECHO_C" >&6
108662 else
108663   eval "$as_ac_Header=\$ac_header_preproc"
108664 fi
108665 ac_res=`eval echo '${'$as_ac_Header'}'`
108666                { echo "$as_me:$LINENO: result: $ac_res" >&5
108667 echo "${ECHO_T}$ac_res" >&6; }
108668
108669 fi
108670 if test `eval echo '${'$as_ac_Header'}'` = yes; then
108671   cat >>confdefs.h <<_ACEOF
108672 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
108673 _ACEOF
108674
108675 fi
108676
108677 done
108678
108679     SECTION_FLAGS='-ffunction-sections -fdata-sections'
108680
108681
108682   # If we're not using GNU ld, then there's no point in even trying these
108683   # tests.  Check for that first.  We should have already tested for gld
108684   # by now (in libtool), but require it now just to be safe...
108685   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
108686   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
108687
108688
108689
108690   # The name set by libtool depends on the version of libtool.  Shame on us
108691   # for depending on an impl detail, but c'est la vie.  Older versions used
108692   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
108693   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
108694   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
108695   # set (hence we're using an older libtool), then set it.
108696   if test x${with_gnu_ld+set} != xset; then
108697     if test x${ac_cv_prog_gnu_ld+set} != xset; then
108698       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
108699       with_gnu_ld=no
108700     else
108701       with_gnu_ld=$ac_cv_prog_gnu_ld
108702     fi
108703   fi
108704
108705   # Start by getting the version number.  I think the libtool test already
108706   # does some of this, but throws away the result.
108707   if test x"$with_gnu_ld" = x"yes"; then
108708     { echo "$as_me:$LINENO: checking for ld version" >&5
108709 echo $ECHO_N "checking for ld version... $ECHO_C" >&6; }
108710
108711     ldver=`$LD --version 2>/dev/null | head -1 | \
108712            sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
108713
108714     glibcxx_gnu_ld_version=`echo $ldver | \
108715            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
108716     { echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
108717 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6; }
108718   fi
108719
108720   # Set --gc-sections.
108721   glibcxx_gcsections_min_ld=21602
108722   if test x"$with_gnu_ld" = x"yes" &&
108723         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
108724
108725     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
108726     # NB: This flag only works reliably after 2.16.1. Configure tests
108727     # for this are difficult, so hard wire a value that should work.
108728
108729     ac_test_CFLAGS="${CFLAGS+set}"
108730     ac_save_CFLAGS="$CFLAGS"
108731     CFLAGS='-Wl,--gc-sections'
108732
108733     # Check for -Wl,--gc-sections
108734     { echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
108735 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6; }
108736     if test x$gcc_no_link = xyes; then
108737   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108738 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108739    { (exit 1); exit 1; }; }
108740 fi
108741 cat >conftest.$ac_ext <<_ACEOF
108742 /* confdefs.h.  */
108743 _ACEOF
108744 cat confdefs.h >>conftest.$ac_ext
108745 cat >>conftest.$ac_ext <<_ACEOF
108746 /* end confdefs.h.  */
108747  int one(void) { return 1; }
108748      int two(void) { return 2; }
108749
108750 int
108751 main ()
108752 {
108753  two();
108754   ;
108755   return 0;
108756 }
108757 _ACEOF
108758 rm -f conftest.$ac_objext conftest$ac_exeext
108759 if { (ac_try="$ac_link"
108760 case "(($ac_try" in
108761   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
108762   *) ac_try_echo=$ac_try;;
108763 esac
108764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
108765   (eval "$ac_link") 2>conftest.er1
108766   ac_status=$?
108767   grep -v '^ *+' conftest.er1 >conftest.err
108768   rm -f conftest.er1
108769   cat conftest.err >&5
108770   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108771   (exit $ac_status); } && {
108772          test -z "$ac_c_werror_flag" ||
108773          test ! -s conftest.err
108774        } && test -s conftest$ac_exeext &&
108775        $as_test_x conftest$ac_exeext; then
108776   ac_gcsections=yes
108777 else
108778   echo "$as_me: failed program was:" >&5
108779 sed 's/^/| /' conftest.$ac_ext >&5
108780
108781         ac_gcsections=no
108782 fi
108783
108784 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
108785       conftest$ac_exeext conftest.$ac_ext
108786     if test "$ac_gcsections" = "yes"; then
108787       rm -f conftest.c
108788       touch conftest.c
108789       if $CC -c conftest.c; then
108790         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
108791            grep "Warning: gc-sections option ignored" > /dev/null; then
108792           ac_gcsections=no
108793         fi
108794       fi
108795       rm -f conftest.c conftest.o conftest
108796     fi
108797     if test "$ac_gcsections" = "yes"; then
108798       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
108799     fi
108800     { echo "$as_me:$LINENO: result: $ac_gcsections" >&5
108801 echo "${ECHO_T}$ac_gcsections" >&6; }
108802
108803     if test "$ac_test_CFLAGS" = set; then
108804       CFLAGS="$ac_save_CFLAGS"
108805     else
108806       # this is the suspicious part
108807       CFLAGS=''
108808     fi
108809   fi
108810
108811   # Set -z,relro.
108812   # Note this is only for shared objects.
108813   ac_ld_relro=no
108814   if test x"$with_gnu_ld" = x"yes"; then
108815     { echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
108816 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6; }
108817     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
108818     if test -n "$cxx_z_relo"; then
108819       OPT_LDFLAGS="-Wl,-z,relro"
108820       ac_ld_relro=yes
108821     fi
108822     { echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
108823 echo "${ECHO_T}$ac_ld_relro" >&6; }
108824   fi
108825
108826   # Set linker optimization flags.
108827   if test x"$with_gnu_ld" = x"yes"; then
108828     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
108829   fi
108830
108831
108832
108833
108834
108835
108836 { echo "$as_me:$LINENO: checking for main in -lm" >&5
108837 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6; }
108838 if test "${ac_cv_lib_m_main+set}" = set; then
108839   echo $ECHO_N "(cached) $ECHO_C" >&6
108840 else
108841   ac_check_lib_save_LIBS=$LIBS
108842 LIBS="-lm  $LIBS"
108843 if test x$gcc_no_link = xyes; then
108844   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108845 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108846    { (exit 1); exit 1; }; }
108847 fi
108848 cat >conftest.$ac_ext <<_ACEOF
108849 /* confdefs.h.  */
108850 _ACEOF
108851 cat confdefs.h >>conftest.$ac_ext
108852 cat >>conftest.$ac_ext <<_ACEOF
108853 /* end confdefs.h.  */
108854
108855
108856 int
108857 main ()
108858 {
108859 return main ();
108860   ;
108861   return 0;
108862 }
108863 _ACEOF
108864 rm -f conftest.$ac_objext conftest$ac_exeext
108865 if { (ac_try="$ac_link"
108866 case "(($ac_try" in
108867   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
108868   *) ac_try_echo=$ac_try;;
108869 esac
108870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
108871   (eval "$ac_link") 2>conftest.er1
108872   ac_status=$?
108873   grep -v '^ *+' conftest.er1 >conftest.err
108874   rm -f conftest.er1
108875   cat conftest.err >&5
108876   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108877   (exit $ac_status); } && {
108878          test -z "$ac_c_werror_flag" ||
108879          test ! -s conftest.err
108880        } && test -s conftest$ac_exeext &&
108881        $as_test_x conftest$ac_exeext; then
108882   ac_cv_lib_m_main=yes
108883 else
108884   echo "$as_me: failed program was:" >&5
108885 sed 's/^/| /' conftest.$ac_ext >&5
108886
108887         ac_cv_lib_m_main=no
108888 fi
108889
108890 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
108891       conftest$ac_exeext conftest.$ac_ext
108892 LIBS=$ac_check_lib_save_LIBS
108893 fi
108894 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
108895 echo "${ECHO_T}$ac_cv_lib_m_main" >&6; }
108896 if test $ac_cv_lib_m_main = yes; then
108897   cat >>confdefs.h <<_ACEOF
108898 #define HAVE_LIBM 1
108899 _ACEOF
108900
108901   LIBS="-lm $LIBS"
108902
108903 fi
108904
108905
108906 for ac_func in copysignf
108907 do
108908 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
108909 { echo "$as_me:$LINENO: checking for $ac_func" >&5
108910 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
108911 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
108912   echo $ECHO_N "(cached) $ECHO_C" >&6
108913 else
108914   if test x$gcc_no_link = xyes; then
108915   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108916 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108917    { (exit 1); exit 1; }; }
108918 fi
108919 cat >conftest.$ac_ext <<_ACEOF
108920 /* confdefs.h.  */
108921 _ACEOF
108922 cat confdefs.h >>conftest.$ac_ext
108923 cat >>conftest.$ac_ext <<_ACEOF
108924 /* end confdefs.h.  */
108925 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
108926    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
108927 #define $ac_func innocuous_$ac_func
108928
108929 /* System header to define __stub macros and hopefully few prototypes,
108930     which can conflict with char $ac_func (); below.
108931     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
108932     <limits.h> exists even on freestanding compilers.  */
108933
108934 #ifdef __STDC__
108935 # include <limits.h>
108936 #else
108937 # include <assert.h>
108938 #endif
108939
108940 #undef $ac_func
108941
108942 /* Override any GCC internal prototype to avoid an error.
108943    Use char because int might match the return type of a GCC
108944    builtin and then its argument prototype would still apply.  */
108945 #ifdef __cplusplus
108946 extern "C"
108947 #endif
108948 char $ac_func ();
108949 /* The GNU C library defines this for functions which it implements
108950     to always fail with ENOSYS.  Some functions are actually named
108951     something starting with __ and the normal name is an alias.  */
108952 #if defined __stub_$ac_func || defined __stub___$ac_func
108953 choke me
108954 #endif
108955
108956 int
108957 main ()
108958 {
108959 return $ac_func ();
108960   ;
108961   return 0;
108962 }
108963 _ACEOF
108964 rm -f conftest.$ac_objext conftest$ac_exeext
108965 if { (ac_try="$ac_link"
108966 case "(($ac_try" in
108967   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
108968   *) ac_try_echo=$ac_try;;
108969 esac
108970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
108971   (eval "$ac_link") 2>conftest.er1
108972   ac_status=$?
108973   grep -v '^ *+' conftest.er1 >conftest.err
108974   rm -f conftest.er1
108975   cat conftest.err >&5
108976   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108977   (exit $ac_status); } && {
108978          test -z "$ac_c_werror_flag" ||
108979          test ! -s conftest.err
108980        } && test -s conftest$ac_exeext &&
108981        $as_test_x conftest$ac_exeext; then
108982   eval "$as_ac_var=yes"
108983 else
108984   echo "$as_me: failed program was:" >&5
108985 sed 's/^/| /' conftest.$ac_ext >&5
108986
108987         eval "$as_ac_var=no"
108988 fi
108989
108990 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
108991       conftest$ac_exeext conftest.$ac_ext
108992 fi
108993 ac_res=`eval echo '${'$as_ac_var'}'`
108994                { echo "$as_me:$LINENO: result: $ac_res" >&5
108995 echo "${ECHO_T}$ac_res" >&6; }
108996 if test `eval echo '${'$as_ac_var'}'` = yes; then
108997   cat >>confdefs.h <<_ACEOF
108998 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
108999 _ACEOF
109000
109001 else
109002   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
109003 fi
109004 done
109005
109006
109007
109008 for ac_func in __signbit
109009 do
109010 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
109011 { echo "$as_me:$LINENO: checking for $ac_func" >&5
109012 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
109013 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
109014   echo $ECHO_N "(cached) $ECHO_C" >&6
109015 else
109016   if test x$gcc_no_link = xyes; then
109017   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
109018 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
109019    { (exit 1); exit 1; }; }
109020 fi
109021 cat >conftest.$ac_ext <<_ACEOF
109022 /* confdefs.h.  */
109023 _ACEOF
109024 cat confdefs.h >>conftest.$ac_ext
109025 cat >>conftest.$ac_ext <<_ACEOF
109026 /* end confdefs.h.  */
109027 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
109028    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
109029 #define $ac_func innocuous_$ac_func
109030
109031 /* System header to define __stub macros and hopefully few prototypes,
109032     which can conflict with char $ac_func (); below.
109033     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
109034     <limits.h> exists even on freestanding compilers.  */
109035
109036 #ifdef __STDC__
109037 # include <limits.h>
109038 #else
109039 # include <assert.h>
109040 #endif
109041
109042 #undef $ac_func
109043
109044 /* Override any GCC internal prototype to avoid an error.
109045    Use char because int might match the return type of a GCC
109046    builtin and then its argument prototype would still apply.  */
109047 #ifdef __cplusplus
109048 extern "C"
109049 #endif
109050 char $ac_func ();
109051 /* The GNU C library defines this for functions which it implements
109052     to always fail with ENOSYS.  Some functions are actually named
109053     something starting with __ and the normal name is an alias.  */
109054 #if defined __stub_$ac_func || defined __stub___$ac_func
109055 choke me
109056 #endif
109057
109058 int
109059 main ()
109060 {
109061 return $ac_func ();
109062   ;
109063   return 0;
109064 }
109065 _ACEOF
109066 rm -f conftest.$ac_objext conftest$ac_exeext
109067 if { (ac_try="$ac_link"
109068 case "(($ac_try" in
109069   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
109070   *) ac_try_echo=$ac_try;;
109071 esac
109072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
109073   (eval "$ac_link") 2>conftest.er1
109074   ac_status=$?
109075   grep -v '^ *+' conftest.er1 >conftest.err
109076   rm -f conftest.er1
109077   cat conftest.err >&5
109078   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109079   (exit $ac_status); } && {
109080          test -z "$ac_c_werror_flag" ||
109081          test ! -s conftest.err
109082        } && test -s conftest$ac_exeext &&
109083        $as_test_x conftest$ac_exeext; then
109084   eval "$as_ac_var=yes"
109085 else
109086   echo "$as_me: failed program was:" >&5
109087 sed 's/^/| /' conftest.$ac_ext >&5
109088
109089         eval "$as_ac_var=no"
109090 fi
109091
109092 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
109093       conftest$ac_exeext conftest.$ac_ext
109094 fi
109095 ac_res=`eval echo '${'$as_ac_var'}'`
109096                { echo "$as_me:$LINENO: result: $ac_res" >&5
109097 echo "${ECHO_T}$ac_res" >&6; }
109098 if test `eval echo '${'$as_ac_var'}'` = yes; then
109099   cat >>confdefs.h <<_ACEOF
109100 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
109101 _ACEOF
109102
109103 else
109104   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
109105 fi
109106 done
109107
109108
109109
109110 for ac_func in __signbitf
109111 do
109112 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
109113 { echo "$as_me:$LINENO: checking for $ac_func" >&5
109114 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
109115 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
109116   echo $ECHO_N "(cached) $ECHO_C" >&6
109117 else
109118   if test x$gcc_no_link = xyes; then
109119   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
109120 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
109121    { (exit 1); exit 1; }; }
109122 fi
109123 cat >conftest.$ac_ext <<_ACEOF
109124 /* confdefs.h.  */
109125 _ACEOF
109126 cat confdefs.h >>conftest.$ac_ext
109127 cat >>conftest.$ac_ext <<_ACEOF
109128 /* end confdefs.h.  */
109129 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
109130    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
109131 #define $ac_func innocuous_$ac_func
109132
109133 /* System header to define __stub macros and hopefully few prototypes,
109134     which can conflict with char $ac_func (); below.
109135     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
109136     <limits.h> exists even on freestanding compilers.  */
109137
109138 #ifdef __STDC__
109139 # include <limits.h>
109140 #else
109141 # include <assert.h>
109142 #endif
109143
109144 #undef $ac_func
109145
109146 /* Override any GCC internal prototype to avoid an error.
109147    Use char because int might match the return type of a GCC
109148    builtin and then its argument prototype would still apply.  */
109149 #ifdef __cplusplus
109150 extern "C"
109151 #endif
109152 char $ac_func ();
109153 /* The GNU C library defines this for functions which it implements
109154     to always fail with ENOSYS.  Some functions are actually named
109155     something starting with __ and the normal name is an alias.  */
109156 #if defined __stub_$ac_func || defined __stub___$ac_func
109157 choke me
109158 #endif
109159
109160 int
109161 main ()
109162 {
109163 return $ac_func ();
109164   ;
109165   return 0;
109166 }
109167 _ACEOF
109168 rm -f conftest.$ac_objext conftest$ac_exeext
109169 if { (ac_try="$ac_link"
109170 case "(($ac_try" in
109171   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
109172   *) ac_try_echo=$ac_try;;
109173 esac
109174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
109175   (eval "$ac_link") 2>conftest.er1
109176   ac_status=$?
109177   grep -v '^ *+' conftest.er1 >conftest.err
109178   rm -f conftest.er1
109179   cat conftest.err >&5
109180   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109181   (exit $ac_status); } && {
109182          test -z "$ac_c_werror_flag" ||
109183          test ! -s conftest.err
109184        } && test -s conftest$ac_exeext &&
109185        $as_test_x conftest$ac_exeext; then
109186   eval "$as_ac_var=yes"
109187 else
109188   echo "$as_me: failed program was:" >&5
109189 sed 's/^/| /' conftest.$ac_ext >&5
109190
109191         eval "$as_ac_var=no"
109192 fi
109193
109194 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
109195       conftest$ac_exeext conftest.$ac_ext
109196 fi
109197 ac_res=`eval echo '${'$as_ac_var'}'`
109198                { echo "$as_me:$LINENO: result: $ac_res" >&5
109199 echo "${ECHO_T}$ac_res" >&6; }
109200 if test `eval echo '${'$as_ac_var'}'` = yes; then
109201   cat >>confdefs.h <<_ACEOF
109202 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
109203 _ACEOF
109204
109205 else
109206   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
109207 fi
109208 done
109209
109210
109211           if test x$ac_cv_func_copysignl = x"yes"; then
109212
109213 for ac_func in __signbitl
109214 do
109215 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
109216 { echo "$as_me:$LINENO: checking for $ac_func" >&5
109217 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
109218 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
109219   echo $ECHO_N "(cached) $ECHO_C" >&6
109220 else
109221   if test x$gcc_no_link = xyes; then
109222   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
109223 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
109224    { (exit 1); exit 1; }; }
109225 fi
109226 cat >conftest.$ac_ext <<_ACEOF
109227 /* confdefs.h.  */
109228 _ACEOF
109229 cat confdefs.h >>conftest.$ac_ext
109230 cat >>conftest.$ac_ext <<_ACEOF
109231 /* end confdefs.h.  */
109232 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
109233    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
109234 #define $ac_func innocuous_$ac_func
109235
109236 /* System header to define __stub macros and hopefully few prototypes,
109237     which can conflict with char $ac_func (); below.
109238     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
109239     <limits.h> exists even on freestanding compilers.  */
109240
109241 #ifdef __STDC__
109242 # include <limits.h>
109243 #else
109244 # include <assert.h>
109245 #endif
109246
109247 #undef $ac_func
109248
109249 /* Override any GCC internal prototype to avoid an error.
109250    Use char because int might match the return type of a GCC
109251    builtin and then its argument prototype would still apply.  */
109252 #ifdef __cplusplus
109253 extern "C"
109254 #endif
109255 char $ac_func ();
109256 /* The GNU C library defines this for functions which it implements
109257     to always fail with ENOSYS.  Some functions are actually named
109258     something starting with __ and the normal name is an alias.  */
109259 #if defined __stub_$ac_func || defined __stub___$ac_func
109260 choke me
109261 #endif
109262
109263 int
109264 main ()
109265 {
109266 return $ac_func ();
109267   ;
109268   return 0;
109269 }
109270 _ACEOF
109271 rm -f conftest.$ac_objext conftest$ac_exeext
109272 if { (ac_try="$ac_link"
109273 case "(($ac_try" in
109274   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
109275   *) ac_try_echo=$ac_try;;
109276 esac
109277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
109278   (eval "$ac_link") 2>conftest.er1
109279   ac_status=$?
109280   grep -v '^ *+' conftest.er1 >conftest.err
109281   rm -f conftest.er1
109282   cat conftest.err >&5
109283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109284   (exit $ac_status); } && {
109285          test -z "$ac_c_werror_flag" ||
109286          test ! -s conftest.err
109287        } && test -s conftest$ac_exeext &&
109288        $as_test_x conftest$ac_exeext; then
109289   eval "$as_ac_var=yes"
109290 else
109291   echo "$as_me: failed program was:" >&5
109292 sed 's/^/| /' conftest.$ac_ext >&5
109293
109294         eval "$as_ac_var=no"
109295 fi
109296
109297 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
109298       conftest$ac_exeext conftest.$ac_ext
109299 fi
109300 ac_res=`eval echo '${'$as_ac_var'}'`
109301                { echo "$as_me:$LINENO: result: $ac_res" >&5
109302 echo "${ECHO_T}$ac_res" >&6; }
109303 if test `eval echo '${'$as_ac_var'}'` = yes; then
109304   cat >>confdefs.h <<_ACEOF
109305 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
109306 _ACEOF
109307
109308 else
109309   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
109310 fi
109311 done
109312
109313   fi
109314
109315   # Used in libmath/Makefile.am.
109316   if test -n "$LIBMATHOBJS"; then
109317     need_libmath=yes
109318   fi
109319
109320
109321     cat >>confdefs.h <<\_ACEOF
109322 #define HAVE_COPYSIGN 1
109323 _ACEOF
109324
109325     cat >>confdefs.h <<\_ACEOF
109326 #define HAVE_COPYSIGNF 1
109327 _ACEOF
109328
109329     cat >>confdefs.h <<\_ACEOF
109330 #define HAVE_FINITE 1
109331 _ACEOF
109332
109333     cat >>confdefs.h <<\_ACEOF
109334 #define HAVE_FINITEF 1
109335 _ACEOF
109336
109337     cat >>confdefs.h <<\_ACEOF
109338 #define HAVE_FREXPF 1
109339 _ACEOF
109340
109341     cat >>confdefs.h <<\_ACEOF
109342 #define HAVE_HYPOTF 1
109343 _ACEOF
109344
109345     cat >>confdefs.h <<\_ACEOF
109346 #define HAVE_ISINF 1
109347 _ACEOF
109348
109349     cat >>confdefs.h <<\_ACEOF
109350 #define HAVE_ISINFF 1
109351 _ACEOF
109352
109353     cat >>confdefs.h <<\_ACEOF
109354 #define HAVE_ISNAN 1
109355 _ACEOF
109356
109357     cat >>confdefs.h <<\_ACEOF
109358 #define HAVE_ISNANF 1
109359 _ACEOF
109360
109361     cat >>confdefs.h <<\_ACEOF
109362 #define HAVE_SINCOS 1
109363 _ACEOF
109364
109365     cat >>confdefs.h <<\_ACEOF
109366 #define HAVE_SINCOSF 1
109367 _ACEOF
109368
109369     if test x"long_double_math_on_this_cpu" = x"yes"; then
109370       cat >>confdefs.h <<\_ACEOF
109371 #define HAVE_FINITEL 1
109372 _ACEOF
109373
109374       cat >>confdefs.h <<\_ACEOF
109375 #define HAVE_HYPOTL 1
109376 _ACEOF
109377
109378       cat >>confdefs.h <<\_ACEOF
109379 #define HAVE_ISINFL 1
109380 _ACEOF
109381
109382       cat >>confdefs.h <<\_ACEOF
109383 #define HAVE_ISNANL 1
109384 _ACEOF
109385
109386     fi
109387     ;;
109388   *-vxworks)
109389     cat >>confdefs.h <<\_ACEOF
109390 #define HAVE_MMAP 1
109391 _ACEOF
109392
109393     cat >>confdefs.h <<\_ACEOF
109394 #define HAVE_ACOSF 1
109395 _ACEOF
109396
109397     cat >>confdefs.h <<\_ACEOF
109398 #define HAVE_ASINF 1
109399 _ACEOF
109400
109401     cat >>confdefs.h <<\_ACEOF
109402 #define HAVE_ATAN2F 1
109403 _ACEOF
109404
109405     cat >>confdefs.h <<\_ACEOF
109406 #define HAVE_ATANF 1
109407 _ACEOF
109408
109409     cat >>confdefs.h <<\_ACEOF
109410 #define HAVE_CEILF 1
109411 _ACEOF
109412
109413     cat >>confdefs.h <<\_ACEOF
109414 #define HAVE_COSF 1
109415 _ACEOF
109416
109417     cat >>confdefs.h <<\_ACEOF
109418 #define HAVE_COSHF 1
109419 _ACEOF
109420
109421     cat >>confdefs.h <<\_ACEOF
109422 #define HAVE_EXPF 1
109423 _ACEOF
109424
109425     cat >>confdefs.h <<\_ACEOF
109426 #define HAVE_FABSF 1
109427 _ACEOF
109428
109429     cat >>confdefs.h <<\_ACEOF
109430 #define HAVE_FLOORF 1
109431 _ACEOF
109432
109433     cat >>confdefs.h <<\_ACEOF
109434 #define HAVE_FMODF 1
109435 _ACEOF
109436
109437     cat >>confdefs.h <<\_ACEOF
109438 #define HAVE_HYPOT 1
109439 _ACEOF
109440
109441     cat >>confdefs.h <<\_ACEOF
109442 #define HAVE_LOG10F 1
109443 _ACEOF
109444
109445     cat >>confdefs.h <<\_ACEOF
109446 #define HAVE_LOGF 1
109447 _ACEOF
109448
109449     cat >>confdefs.h <<\_ACEOF
109450 #define HAVE_POWF 1
109451 _ACEOF
109452
109453     cat >>confdefs.h <<\_ACEOF
109454 #define HAVE_SINF 1
109455 _ACEOF
109456
109457     cat >>confdefs.h <<\_ACEOF
109458 #define HAVE_SINHF 1
109459 _ACEOF
109460
109461     cat >>confdefs.h <<\_ACEOF
109462 #define HAVE_SQRTF 1
109463 _ACEOF
109464
109465     cat >>confdefs.h <<\_ACEOF
109466 #define HAVE_TANF 1
109467 _ACEOF
109468
109469     cat >>confdefs.h <<\_ACEOF
109470 #define HAVE_TANHF 1
109471 _ACEOF
109472
109473     ;;
109474   *-windiss*)
109475     cat >>confdefs.h <<\_ACEOF
109476 #define HAVE_ACOSF 1
109477 _ACEOF
109478
109479     cat >>confdefs.h <<\_ACEOF
109480 #define HAVE_ACOSL 1
109481 _ACEOF
109482
109483     cat >>confdefs.h <<\_ACEOF
109484 #define HAVE_ASINF 1
109485 _ACEOF
109486
109487     cat >>confdefs.h <<\_ACEOF
109488 #define HAVE_ASINL 1
109489 _ACEOF
109490
109491     cat >>confdefs.h <<\_ACEOF
109492 #define HAVE_ATAN2F 1
109493 _ACEOF
109494
109495     cat >>confdefs.h <<\_ACEOF
109496 #define HAVE_ATAN2L 1
109497 _ACEOF
109498
109499     cat >>confdefs.h <<\_ACEOF
109500 #define HAVE_ATANF 1
109501 _ACEOF
109502
109503     cat >>confdefs.h <<\_ACEOF
109504 #define HAVE_ATANL 1
109505 _ACEOF
109506
109507     cat >>confdefs.h <<\_ACEOF
109508 #define HAVE_CEILF 1
109509 _ACEOF
109510
109511     cat >>confdefs.h <<\_ACEOF
109512 #define HAVE_CEILL 1
109513 _ACEOF
109514
109515     cat >>confdefs.h <<\_ACEOF
109516 #define HAVE_COPYSIGN 1
109517 _ACEOF
109518
109519     cat >>confdefs.h <<\_ACEOF
109520 #define HAVE_COPYSIGNF 1
109521 _ACEOF
109522
109523     cat >>confdefs.h <<\_ACEOF
109524 #define HAVE_COSF 1
109525 _ACEOF
109526
109527     cat >>confdefs.h <<\_ACEOF
109528 #define HAVE_COSL 1
109529 _ACEOF
109530
109531     cat >>confdefs.h <<\_ACEOF
109532 #define HAVE_COSHF 1
109533 _ACEOF
109534
109535     cat >>confdefs.h <<\_ACEOF
109536 #define HAVE_COSHL 1
109537 _ACEOF
109538
109539     cat >>confdefs.h <<\_ACEOF
109540 #define HAVE_EXPF 1
109541 _ACEOF
109542
109543     cat >>confdefs.h <<\_ACEOF
109544 #define HAVE_EXPL 1
109545 _ACEOF
109546
109547     cat >>confdefs.h <<\_ACEOF
109548 #define HAVE_FABSF 1
109549 _ACEOF
109550
109551     cat >>confdefs.h <<\_ACEOF
109552 #define HAVE_FABSL 1
109553 _ACEOF
109554
109555     cat >>confdefs.h <<\_ACEOF
109556 #define HAVE_FLOORF 1
109557 _ACEOF
109558
109559     cat >>confdefs.h <<\_ACEOF
109560 #define HAVE_FLOORL 1
109561 _ACEOF
109562
109563     cat >>confdefs.h <<\_ACEOF
109564 #define HAVE_FMODF 1
109565 _ACEOF
109566
109567     cat >>confdefs.h <<\_ACEOF
109568 #define HAVE_FMODL 1
109569 _ACEOF
109570
109571     cat >>confdefs.h <<\_ACEOF
109572 #define HAVE_FREXPF 1
109573 _ACEOF
109574
109575     cat >>confdefs.h <<\_ACEOF
109576 #define HAVE_FREXPL 1
109577 _ACEOF
109578
109579     cat >>confdefs.h <<\_ACEOF
109580 #define HAVE_LDEXPF 1
109581 _ACEOF
109582
109583     cat >>confdefs.h <<\_ACEOF
109584 #define HAVE_LDEXPL 1
109585 _ACEOF
109586
109587     cat >>confdefs.h <<\_ACEOF
109588 #define HAVE_LOG10F 1
109589 _ACEOF
109590
109591     cat >>confdefs.h <<\_ACEOF
109592 #define HAVE_LOG10L 1
109593 _ACEOF
109594
109595     cat >>confdefs.h <<\_ACEOF
109596 #define HAVE_LOGF 1
109597 _ACEOF
109598
109599     cat >>confdefs.h <<\_ACEOF
109600 #define HAVE_MODFF 1
109601 _ACEOF
109602
109603     cat >>confdefs.h <<\_ACEOF
109604 #define HAVE_MODFL 1
109605 _ACEOF
109606
109607     cat >>confdefs.h <<\_ACEOF
109608 #define HAVE_POWF 1
109609 _ACEOF
109610
109611     cat >>confdefs.h <<\_ACEOF
109612 #define HAVE_POWL 1
109613 _ACEOF
109614
109615     cat >>confdefs.h <<\_ACEOF
109616 #define HAVE_SINF 1
109617 _ACEOF
109618
109619     cat >>confdefs.h <<\_ACEOF
109620 #define HAVE_SINL 1
109621 _ACEOF
109622
109623     cat >>confdefs.h <<\_ACEOF
109624 #define HAVE_SINHF 1
109625 _ACEOF
109626
109627     cat >>confdefs.h <<\_ACEOF
109628 #define HAVE_SINHL 1
109629 _ACEOF
109630
109631     cat >>confdefs.h <<\_ACEOF
109632 #define HAVE_SQRTF 1
109633 _ACEOF
109634
109635     cat >>confdefs.h <<\_ACEOF
109636 #define HAVE_SQRTL 1
109637 _ACEOF
109638
109639     cat >>confdefs.h <<\_ACEOF
109640 #define HAVE_TANF 1
109641 _ACEOF
109642
109643     cat >>confdefs.h <<\_ACEOF
109644 #define HAVE_TANL 1
109645 _ACEOF
109646
109647     cat >>confdefs.h <<\_ACEOF
109648 #define HAVE_TANHF 1
109649 _ACEOF
109650
109651     cat >>confdefs.h <<\_ACEOF
109652 #define HAVE_TANHL 1
109653 _ACEOF
109654
109655     ;;
109656   *)
109657     { { echo "$as_me:$LINENO: error: No support for this host/target combination." >&5
109658 echo "$as_me: error: No support for this host/target combination." >&2;}
109659    { (exit 1); exit 1; }; }
109660    ;;
109661 esac
109662
109663   fi
109664
109665   # At some point, we should differentiate between architectures
109666   # like x86, which have long double versions, and alpha/powerpc/etc.,
109667   # which don't. For the time being, punt.
109668   if test x"long_double_math_on_this_cpu" = x"yes"; then
109669     cat >>confdefs.h <<\_ACEOF
109670 #define HAVE_ACOSL 1
109671 _ACEOF
109672
109673     cat >>confdefs.h <<\_ACEOF
109674 #define HAVE_ASINL 1
109675 _ACEOF
109676
109677     cat >>confdefs.h <<\_ACEOF
109678 #define HAVE_ATAN2L 1
109679 _ACEOF
109680
109681     cat >>confdefs.h <<\_ACEOF
109682 #define HAVE_ATANL 1
109683 _ACEOF
109684
109685     cat >>confdefs.h <<\_ACEOF
109686 #define HAVE_CEILL 1
109687 _ACEOF
109688
109689     cat >>confdefs.h <<\_ACEOF
109690 #define HAVE_COPYSIGNL 1
109691 _ACEOF
109692
109693     cat >>confdefs.h <<\_ACEOF
109694 #define HAVE_COSL 1
109695 _ACEOF
109696
109697     cat >>confdefs.h <<\_ACEOF
109698 #define HAVE_COSHL 1
109699 _ACEOF
109700
109701     cat >>confdefs.h <<\_ACEOF
109702 #define HAVE_EXPL 1
109703 _ACEOF
109704
109705     cat >>confdefs.h <<\_ACEOF
109706 #define HAVE_FABSL 1
109707 _ACEOF
109708
109709     cat >>confdefs.h <<\_ACEOF
109710 #define HAVE_FLOORL 1
109711 _ACEOF
109712
109713     cat >>confdefs.h <<\_ACEOF
109714 #define HAVE_FMODL 1
109715 _ACEOF
109716
109717     cat >>confdefs.h <<\_ACEOF
109718 #define HAVE_FREXPL 1
109719 _ACEOF
109720
109721     cat >>confdefs.h <<\_ACEOF
109722 #define HAVE_LDEXPL 1
109723 _ACEOF
109724
109725     cat >>confdefs.h <<\_ACEOF
109726 #define HAVE_LOG10L 1
109727 _ACEOF
109728
109729     cat >>confdefs.h <<\_ACEOF
109730 #define HAVE_LOGL 1
109731 _ACEOF
109732
109733     cat >>confdefs.h <<\_ACEOF
109734 #define HAVE_MODFL 1
109735 _ACEOF
109736
109737     cat >>confdefs.h <<\_ACEOF
109738 #define HAVE_POWL 1
109739 _ACEOF
109740
109741     cat >>confdefs.h <<\_ACEOF
109742 #define HAVE_SINCOSL 1
109743 _ACEOF
109744
109745     cat >>confdefs.h <<\_ACEOF
109746 #define HAVE_SINL 1
109747 _ACEOF
109748
109749     cat >>confdefs.h <<\_ACEOF
109750 #define HAVE_SINHL 1
109751 _ACEOF
109752
109753     cat >>confdefs.h <<\_ACEOF
109754 #define HAVE_SQRTL 1
109755 _ACEOF
109756
109757     cat >>confdefs.h <<\_ACEOF
109758 #define HAVE_TANL 1
109759 _ACEOF
109760
109761     cat >>confdefs.h <<\_ACEOF
109762 #define HAVE_TANHL 1
109763 _ACEOF
109764
109765   fi
109766
109767   # Assume we have _Unwind_GetIPInfo for cross-compiles.
109768   cat >>confdefs.h <<\_ACEOF
109769 #define HAVE_GETIPINFO 1
109770 _ACEOF
109771
109772 fi
109773
109774  # Check whether --enable-linux-futex was given.
109775 if test "${enable_linux_futex+set}" = set; then
109776   enableval=$enable_linux_futex;
109777       case "$enableval" in
109778        yes|no|default) ;;
109779        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable linux-futex" >&5
109780 echo "$as_me: error: Unknown argument to enable/disable linux-futex" >&2;}
109781    { (exit 1); exit 1; }; } ;;
109782                           esac
109783
109784 else
109785   enable_linux_futex=default
109786 fi
109787
109788
109789 case "$target" in
109790   *-linux*)
109791     case "$enable_linux_futex" in
109792       default)
109793         # If headers don't have gettid/futex syscalls definition, then
109794         # default to no, otherwise there will be compile time failures.
109795         # Otherwise, default to yes.  If we don't detect we are
109796         # compiled/linked against NPTL and not cross-compiling, check
109797         # if programs are run by default against NPTL and if not, issue
109798         # a warning.
109799         enable_linux_futex=no
109800         if test x$gcc_no_link = xyes; then
109801   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
109802 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
109803    { (exit 1); exit 1; }; }
109804 fi
109805 cat >conftest.$ac_ext <<_ACEOF
109806 /* confdefs.h.  */
109807 _ACEOF
109808 cat confdefs.h >>conftest.$ac_ext
109809 cat >>conftest.$ac_ext <<_ACEOF
109810 /* end confdefs.h.  */
109811 #include <sys/syscall.h>
109812            int lk;
109813 int
109814 main ()
109815 {
109816 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
109817   ;
109818   return 0;
109819 }
109820 _ACEOF
109821 rm -f conftest.$ac_objext conftest$ac_exeext
109822 if { (ac_try="$ac_link"
109823 case "(($ac_try" in
109824   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
109825   *) ac_try_echo=$ac_try;;
109826 esac
109827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
109828   (eval "$ac_link") 2>conftest.er1
109829   ac_status=$?
109830   grep -v '^ *+' conftest.er1 >conftest.err
109831   rm -f conftest.er1
109832   cat conftest.err >&5
109833   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109834   (exit $ac_status); } && {
109835          test -z "$ac_c_werror_flag" ||
109836          test ! -s conftest.err
109837        } && test -s conftest$ac_exeext &&
109838        $as_test_x conftest$ac_exeext; then
109839   save_LIBS="$LIBS"
109840            LIBS="-lpthread $LIBS"
109841            if test x$gcc_no_link = xyes; then
109842   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
109843 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
109844    { (exit 1); exit 1; }; }
109845 fi
109846 cat >conftest.$ac_ext <<_ACEOF
109847 /* confdefs.h.  */
109848 _ACEOF
109849 cat confdefs.h >>conftest.$ac_ext
109850 cat >>conftest.$ac_ext <<_ACEOF
109851 /* end confdefs.h.  */
109852 #ifndef _GNU_SOURCE
109853              #define _GNU_SOURCE 1
109854              #endif
109855              #include <pthread.h>
109856              pthread_t th; void *status;
109857 int
109858 main ()
109859 {
109860 pthread_tryjoin_np (th, &status);
109861   ;
109862   return 0;
109863 }
109864 _ACEOF
109865 rm -f conftest.$ac_objext conftest$ac_exeext
109866 if { (ac_try="$ac_link"
109867 case "(($ac_try" in
109868   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
109869   *) ac_try_echo=$ac_try;;
109870 esac
109871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
109872   (eval "$ac_link") 2>conftest.er1
109873   ac_status=$?
109874   grep -v '^ *+' conftest.er1 >conftest.err
109875   rm -f conftest.er1
109876   cat conftest.err >&5
109877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109878   (exit $ac_status); } && {
109879          test -z "$ac_c_werror_flag" ||
109880          test ! -s conftest.err
109881        } && test -s conftest$ac_exeext &&
109882        $as_test_x conftest$ac_exeext; then
109883   enable_linux_futex=yes
109884 else
109885   echo "$as_me: failed program was:" >&5
109886 sed 's/^/| /' conftest.$ac_ext >&5
109887
109888         if test x$cross_compiling = xno; then
109889                if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
109890                   | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
109891                  { echo "$as_me:$LINENO: WARNING: The kernel might not support futex or gettid syscalls.
109892 If so, please configure with --disable-linux-futex" >&5
109893 echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
109894 If so, please configure with --disable-linux-futex" >&2;}
109895                fi
109896              fi
109897              enable_linux_futex=yes
109898 fi
109899
109900 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
109901       conftest$ac_exeext conftest.$ac_ext
109902            LIBS="$save_LIBS"
109903 else
109904   echo "$as_me: failed program was:" >&5
109905 sed 's/^/| /' conftest.$ac_ext >&5
109906
109907
109908 fi
109909
109910 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
109911       conftest$ac_exeext conftest.$ac_ext
109912         ;;
109913       yes)
109914         if test x$gcc_no_link = xyes; then
109915   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
109916 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
109917    { (exit 1); exit 1; }; }
109918 fi
109919 cat >conftest.$ac_ext <<_ACEOF
109920 /* confdefs.h.  */
109921 _ACEOF
109922 cat confdefs.h >>conftest.$ac_ext
109923 cat >>conftest.$ac_ext <<_ACEOF
109924 /* end confdefs.h.  */
109925 #include <sys/syscall.h>
109926            int lk;
109927 int
109928 main ()
109929 {
109930 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
109931   ;
109932   return 0;
109933 }
109934 _ACEOF
109935 rm -f conftest.$ac_objext conftest$ac_exeext
109936 if { (ac_try="$ac_link"
109937 case "(($ac_try" in
109938   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
109939   *) ac_try_echo=$ac_try;;
109940 esac
109941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
109942   (eval "$ac_link") 2>conftest.er1
109943   ac_status=$?
109944   grep -v '^ *+' conftest.er1 >conftest.err
109945   rm -f conftest.er1
109946   cat conftest.err >&5
109947   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109948   (exit $ac_status); } && {
109949          test -z "$ac_c_werror_flag" ||
109950          test ! -s conftest.err
109951        } && test -s conftest$ac_exeext &&
109952        $as_test_x conftest$ac_exeext; then
109953   :
109954 else
109955   echo "$as_me: failed program was:" >&5
109956 sed 's/^/| /' conftest.$ac_ext >&5
109957
109958         { { echo "$as_me:$LINENO: error: SYS_gettid and SYS_futex required for --enable-linux-futex" >&5
109959 echo "$as_me: error: SYS_gettid and SYS_futex required for --enable-linux-futex" >&2;}
109960    { (exit 1); exit 1; }; }
109961 fi
109962
109963 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
109964       conftest$ac_exeext conftest.$ac_ext
109965         ;;
109966     esac
109967     ;;
109968   *)
109969     enable_linux_futex=no
109970     ;;
109971 esac
109972 if test x$enable_linux_futex = xyes; then
109973
109974 cat >>confdefs.h <<\_ACEOF
109975 #define HAVE_LINUX_FUTEX 1
109976 _ACEOF
109977
109978 fi
109979
109980
109981 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
109982
109983
109984  # Check whether --enable-symvers was given.
109985 if test "${enable_symvers+set}" = set; then
109986   enableval=$enable_symvers;
109987       case "$enableval" in
109988        yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export) ;;
109989        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable symvers" >&5
109990 echo "$as_me: error: Unknown argument to enable/disable symvers" >&2;}
109991    { (exit 1); exit 1; }; } ;;
109992                           esac
109993
109994 else
109995   enable_symvers=yes
109996 fi
109997
109998
109999
110000 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
110001 # don't know enough about $LD to do tricks...
110002
110003
110004 # Turn a 'yes' into a suitable default.
110005 if test x$enable_symvers = xyes ; then
110006   if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
110007     enable_symvers=no
110008   else
110009     if test $with_gnu_ld = yes ; then
110010       enable_symvers=gnu
110011     else
110012       case ${target_os} in
110013         darwin*)
110014           enable_symvers=darwin ;;
110015         *)
110016           enable_symvers=no ;;
110017       esac
110018     fi
110019   fi
110020 fi
110021
110022 # Check to see if 'darwin' or 'darwin-export' can win.
110023 if test x$enable_symvers = xdarwin-export ; then
110024     enable_symvers=darwin
110025 fi
110026
110027 # Check to see if 'gnu' can win.
110028 if test $enable_symvers = gnu || test $enable_symvers = gnu-versioned-namespace; then
110029   # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
110030   { echo "$as_me:$LINENO: checking for shared libgcc" >&5
110031 echo $ECHO_N "checking for shared libgcc... $ECHO_C" >&6; }
110032   ac_save_CFLAGS="$CFLAGS"
110033   CFLAGS=' -lgcc_s'
110034   if test x$gcc_no_link = xyes; then
110035   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110036 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110037    { (exit 1); exit 1; }; }
110038 fi
110039 cat >conftest.$ac_ext <<_ACEOF
110040 /* confdefs.h.  */
110041 _ACEOF
110042 cat confdefs.h >>conftest.$ac_ext
110043 cat >>conftest.$ac_ext <<_ACEOF
110044 /* end confdefs.h.  */
110045
110046 int
110047 main ()
110048 {
110049 return 0;
110050   ;
110051   return 0;
110052 }
110053 _ACEOF
110054 rm -f conftest.$ac_objext conftest$ac_exeext
110055 if { (ac_try="$ac_link"
110056 case "(($ac_try" in
110057   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
110058   *) ac_try_echo=$ac_try;;
110059 esac
110060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
110061   (eval "$ac_link") 2>conftest.er1
110062   ac_status=$?
110063   grep -v '^ *+' conftest.er1 >conftest.err
110064   rm -f conftest.er1
110065   cat conftest.err >&5
110066   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110067   (exit $ac_status); } && {
110068          test -z "$ac_c_werror_flag" ||
110069          test ! -s conftest.err
110070        } && test -s conftest$ac_exeext &&
110071        $as_test_x conftest$ac_exeext; then
110072   glibcxx_shared_libgcc=yes
110073 else
110074   echo "$as_me: failed program was:" >&5
110075 sed 's/^/| /' conftest.$ac_ext >&5
110076
110077         glibcxx_shared_libgcc=no
110078 fi
110079
110080 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
110081       conftest$ac_exeext conftest.$ac_ext
110082   CFLAGS="$ac_save_CFLAGS"
110083   if test $glibcxx_shared_libgcc = no; then
110084     cat > conftest.c <<EOF
110085 int main (void) { return 0; }
110086 EOF
110087     glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
110088                              -shared -shared-libgcc -o conftest.so \
110089                              conftest.c -v 2>&1 >/dev/null \
110090                              | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
110091     rm -f conftest.c conftest.so
110092     if test x${glibcxx_libgcc_s_suffix+set} = xset; then
110093       CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
110094       if test x$gcc_no_link = xyes; then
110095   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110096 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110097    { (exit 1); exit 1; }; }
110098 fi
110099 cat >conftest.$ac_ext <<_ACEOF
110100 /* confdefs.h.  */
110101 _ACEOF
110102 cat confdefs.h >>conftest.$ac_ext
110103 cat >>conftest.$ac_ext <<_ACEOF
110104 /* end confdefs.h.  */
110105
110106 int
110107 main ()
110108 {
110109 return 0;
110110   ;
110111   return 0;
110112 }
110113 _ACEOF
110114 rm -f conftest.$ac_objext conftest$ac_exeext
110115 if { (ac_try="$ac_link"
110116 case "(($ac_try" in
110117   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
110118   *) ac_try_echo=$ac_try;;
110119 esac
110120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
110121   (eval "$ac_link") 2>conftest.er1
110122   ac_status=$?
110123   grep -v '^ *+' conftest.er1 >conftest.err
110124   rm -f conftest.er1
110125   cat conftest.err >&5
110126   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110127   (exit $ac_status); } && {
110128          test -z "$ac_c_werror_flag" ||
110129          test ! -s conftest.err
110130        } && test -s conftest$ac_exeext &&
110131        $as_test_x conftest$ac_exeext; then
110132   glibcxx_shared_libgcc=yes
110133 else
110134   echo "$as_me: failed program was:" >&5
110135 sed 's/^/| /' conftest.$ac_ext >&5
110136
110137
110138 fi
110139
110140 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
110141       conftest$ac_exeext conftest.$ac_ext
110142       CFLAGS="$ac_save_CFLAGS"
110143     fi
110144   fi
110145   { echo "$as_me:$LINENO: result: $glibcxx_shared_libgcc" >&5
110146 echo "${ECHO_T}$glibcxx_shared_libgcc" >&6; }
110147
110148   # For GNU ld, we need at least this version.  The format is described in
110149   # GLIBCXX_CHECK_LINKER_FEATURES above.
110150   glibcxx_min_gnu_ld_version=21400
110151
110152   # If no shared libgcc, can't win.
110153   if test $glibcxx_shared_libgcc != yes; then
110154       { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
110155 echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
110156       { echo "$as_me:$LINENO: WARNING: === you are not building a shared libgcc_s." >&5
110157 echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
110158       { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
110159 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
110160       enable_symvers=no
110161   elif test $with_gnu_ld != yes ; then
110162     # just fail for now
110163     { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
110164 echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
110165     { echo "$as_me:$LINENO: WARNING: === you are not using the GNU linker." >&5
110166 echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
110167     { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
110168 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
110169     enable_symvers=no
110170   elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
110171     # The right tools, the right setup, but too old.  Fallbacks?
110172     { echo "$as_me:$LINENO: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
110173 echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
110174     { echo "$as_me:$LINENO: WARNING: === full symbol versioning support in this release of GCC." >&5
110175 echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
110176     { echo "$as_me:$LINENO: WARNING: === You would need to upgrade your binutils to version" >&5
110177 echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
110178     { echo "$as_me:$LINENO: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
110179 echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
110180     { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
110181 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
110182     enable_symvers=no
110183   fi
110184 fi
110185
110186 # Everything parsed; figure out what file to use.
110187 case $enable_symvers in
110188   no)
110189     SYMVER_FILE=config/abi/pre/none.ver
110190     ;;
110191   gnu)
110192     SYMVER_FILE=config/abi/pre/gnu.ver
110193
110194 cat >>confdefs.h <<\_ACEOF
110195 #define _GLIBCXX_SYMVER_GNU 1
110196 _ACEOF
110197
110198     ;;
110199   gnu-versioned-namespace)
110200     SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
110201
110202 cat >>confdefs.h <<\_ACEOF
110203 #define _GLIBCXX_SYMVER_GNU_NAMESPACE 1
110204 _ACEOF
110205
110206     ;;
110207   darwin)
110208     SYMVER_FILE=config/abi/pre/gnu.ver
110209
110210 cat >>confdefs.h <<\_ACEOF
110211 #define _GLIBCXX_SYMVER_DARWIN 1
110212 _ACEOF
110213
110214     ;;
110215 esac
110216
110217 if test x$enable_symvers != xno ; then
110218
110219 cat >>confdefs.h <<\_ACEOF
110220 #define _GLIBCXX_SYMVER 1
110221 _ACEOF
110222
110223 fi
110224
110225
110226
110227
110228
110229
110230
110231 { echo "$as_me:$LINENO: versioning on shared library symbols is $enable_symvers" >&5
110232 echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
110233
110234 # Now, set up compatibility support, if any.
110235 # In addition, need this to deal with std::size_t mangling in
110236 # src/compatibility.cc.  In a perfect world, could use
110237 # typeid(std::size_t).name()[0] to do direct substitution.
110238 { echo "$as_me:$LINENO: checking for size_t as unsigned int" >&5
110239 echo $ECHO_N "checking for size_t as unsigned int... $ECHO_C" >&6; }
110240 ac_save_CFLAGS="$CFLAGS"
110241 CFLAGS="-Werror"
110242 cat >conftest.$ac_ext <<_ACEOF
110243 /* confdefs.h.  */
110244 _ACEOF
110245 cat confdefs.h >>conftest.$ac_ext
110246 cat >>conftest.$ac_ext <<_ACEOF
110247 /* end confdefs.h.  */
110248
110249 int
110250 main ()
110251 {
110252 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
110253   ;
110254   return 0;
110255 }
110256 _ACEOF
110257 rm -f conftest.$ac_objext
110258 if { (ac_try="$ac_compile"
110259 case "(($ac_try" in
110260   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
110261   *) ac_try_echo=$ac_try;;
110262 esac
110263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
110264   (eval "$ac_compile") 2>conftest.er1
110265   ac_status=$?
110266   grep -v '^ *+' conftest.er1 >conftest.err
110267   rm -f conftest.er1
110268   cat conftest.err >&5
110269   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110270   (exit $ac_status); } && {
110271          test -z "$ac_c_werror_flag" ||
110272          test ! -s conftest.err
110273        } && test -s conftest.$ac_objext; then
110274   glibcxx_size_t_is_i=yes
110275 else
110276   echo "$as_me: failed program was:" >&5
110277 sed 's/^/| /' conftest.$ac_ext >&5
110278
110279         glibcxx_size_t_is_i=no
110280 fi
110281
110282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
110283 CFLAGS=$ac_save_CFLAGS
110284 if test "$glibcxx_size_t_is_i" = yes; then
110285
110286 cat >>confdefs.h <<\_ACEOF
110287 #define _GLIBCXX_SIZE_T_IS_UINT 1
110288 _ACEOF
110289
110290 fi
110291 { echo "$as_me:$LINENO: result: $glibcxx_size_t_is_i" >&5
110292 echo "${ECHO_T}$glibcxx_size_t_is_i" >&6; }
110293
110294 { echo "$as_me:$LINENO: checking for ptrdiff_t as int" >&5
110295 echo $ECHO_N "checking for ptrdiff_t as int... $ECHO_C" >&6; }
110296 ac_save_CFLAGS="$CFLAGS"
110297 CFLAGS="-Werror"
110298 cat >conftest.$ac_ext <<_ACEOF
110299 /* confdefs.h.  */
110300 _ACEOF
110301 cat confdefs.h >>conftest.$ac_ext
110302 cat >>conftest.$ac_ext <<_ACEOF
110303 /* end confdefs.h.  */
110304
110305 int
110306 main ()
110307 {
110308 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
110309   ;
110310   return 0;
110311 }
110312 _ACEOF
110313 rm -f conftest.$ac_objext
110314 if { (ac_try="$ac_compile"
110315 case "(($ac_try" in
110316   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
110317   *) ac_try_echo=$ac_try;;
110318 esac
110319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
110320   (eval "$ac_compile") 2>conftest.er1
110321   ac_status=$?
110322   grep -v '^ *+' conftest.er1 >conftest.err
110323   rm -f conftest.er1
110324   cat conftest.err >&5
110325   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110326   (exit $ac_status); } && {
110327          test -z "$ac_c_werror_flag" ||
110328          test ! -s conftest.err
110329        } && test -s conftest.$ac_objext; then
110330   glibcxx_ptrdiff_t_is_i=yes
110331 else
110332   echo "$as_me: failed program was:" >&5
110333 sed 's/^/| /' conftest.$ac_ext >&5
110334
110335         glibcxx_ptrdiff_t_is_i=no
110336 fi
110337
110338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
110339 CFLAGS=$ac_save_CFLAGS
110340 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
110341
110342 cat >>confdefs.h <<\_ACEOF
110343 #define _GLIBCXX_PTRDIFF_T_IS_INT 1
110344 _ACEOF
110345
110346 fi
110347 { echo "$as_me:$LINENO: result: $glibcxx_ptrdiff_t_is_i" >&5
110348 echo "${ECHO_T}$glibcxx_ptrdiff_t_is_i" >&6; }
110349
110350
110351  # Check whether --enable-visibility was given.
110352 if test "${enable_visibility+set}" = set; then
110353   enableval=$enable_visibility;
110354       case "$enableval" in
110355        yes|no) ;;
110356        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable visibility must be yes or no" >&5
110357 echo "$as_me: error: Argument to enable/disable visibility must be yes or no" >&2;}
110358    { (exit 1); exit 1; }; } ;;
110359       esac
110360
110361 else
110362   enable_visibility=yes
110363 fi
110364
110365
110366
110367 if test x$enable_visibility = xyes ; then
110368       { echo "$as_me:$LINENO: checking whether the target supports hidden visibility" >&5
110369 echo $ECHO_N "checking whether the target supports hidden visibility... $ECHO_C" >&6; }
110370 if test "${have_attribute_visibility+set}" = set; then
110371   echo $ECHO_N "(cached) $ECHO_C" >&6
110372 else
110373
110374   save_CFLAGS="$CFLAGS"
110375   CFLAGS="$CFLAGS -Werror"
110376   cat >conftest.$ac_ext <<_ACEOF
110377 /* confdefs.h.  */
110378 _ACEOF
110379 cat confdefs.h >>conftest.$ac_ext
110380 cat >>conftest.$ac_ext <<_ACEOF
110381 /* end confdefs.h.  */
110382 void __attribute__((visibility("hidden"))) foo(void) { }
110383 int
110384 main ()
110385 {
110386
110387   ;
110388   return 0;
110389 }
110390 _ACEOF
110391 rm -f conftest.$ac_objext
110392 if { (ac_try="$ac_compile"
110393 case "(($ac_try" in
110394   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
110395   *) ac_try_echo=$ac_try;;
110396 esac
110397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
110398   (eval "$ac_compile") 2>conftest.er1
110399   ac_status=$?
110400   grep -v '^ *+' conftest.er1 >conftest.err
110401   rm -f conftest.er1
110402   cat conftest.err >&5
110403   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110404   (exit $ac_status); } && {
110405          test -z "$ac_c_werror_flag" ||
110406          test ! -s conftest.err
110407        } && test -s conftest.$ac_objext; then
110408   have_attribute_visibility=yes
110409 else
110410   echo "$as_me: failed program was:" >&5
110411 sed 's/^/| /' conftest.$ac_ext >&5
110412
110413         have_attribute_visibility=no
110414 fi
110415
110416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
110417   CFLAGS="$save_CFLAGS"
110418 fi
110419 { echo "$as_me:$LINENO: result: $have_attribute_visibility" >&5
110420 echo "${ECHO_T}$have_attribute_visibility" >&6; }
110421   if test $have_attribute_visibility = no; then
110422     enable_visibility=no
110423   fi
110424 fi
110425
110426
110427 { echo "$as_me:$LINENO: visibility supported: $enable_visibility" >&5
110428 echo "$as_me: visibility supported: $enable_visibility" >&6;}
110429
110430
110431 ac_ldbl_compat=no
110432 case "$target" in
110433   powerpc*-*-linux* | \
110434   powerpc*-*-gnu* | \
110435   sparc*-*-linux* | \
110436   s390*-*-linux* | \
110437   alpha*-*-linux*)
110438   cat >conftest.$ac_ext <<_ACEOF
110439 /* confdefs.h.  */
110440 _ACEOF
110441 cat confdefs.h >>conftest.$ac_ext
110442 cat >>conftest.$ac_ext <<_ACEOF
110443 /* end confdefs.h.  */
110444
110445 int
110446 main ()
110447 {
110448
110449 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
110450 #error no need for long double compatibility
110451 #endif
110452
110453   ;
110454   return 0;
110455 }
110456 _ACEOF
110457 rm -f conftest.$ac_objext
110458 if { (ac_try="$ac_compile"
110459 case "(($ac_try" in
110460   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
110461   *) ac_try_echo=$ac_try;;
110462 esac
110463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
110464   (eval "$ac_compile") 2>conftest.er1
110465   ac_status=$?
110466   grep -v '^ *+' conftest.er1 >conftest.err
110467   rm -f conftest.er1
110468   cat conftest.err >&5
110469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110470   (exit $ac_status); } && {
110471          test -z "$ac_c_werror_flag" ||
110472          test ! -s conftest.err
110473        } && test -s conftest.$ac_objext; then
110474   ac_ldbl_compat=yes
110475 else
110476   echo "$as_me: failed program was:" >&5
110477 sed 's/^/| /' conftest.$ac_ext >&5
110478
110479         ac_ldbl_compat=no
110480 fi
110481
110482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
110483   if test "$ac_ldbl_compat" = yes; then
110484
110485 cat >>confdefs.h <<\_ACEOF
110486 #define _GLIBCXX_LONG_DOUBLE_COMPAT 1
110487 _ACEOF
110488
110489     port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
110490   fi
110491 esac
110492
110493
110494 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
110495
110496   if $GLIBCXX_IS_NATIVE ; then
110497     # Do checks for resource limit functions.
110498
110499   setrlimit_have_headers=yes
110500
110501
110502
110503 for ac_header in unistd.h sys/time.h sys/resource.h
110504 do
110505 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
110506 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
110507   { echo "$as_me:$LINENO: checking for $ac_header" >&5
110508 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
110509 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
110510   echo $ECHO_N "(cached) $ECHO_C" >&6
110511 fi
110512 ac_res=`eval echo '${'$as_ac_Header'}'`
110513                { echo "$as_me:$LINENO: result: $ac_res" >&5
110514 echo "${ECHO_T}$ac_res" >&6; }
110515 else
110516   # Is the header compilable?
110517 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
110518 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
110519 cat >conftest.$ac_ext <<_ACEOF
110520 /* confdefs.h.  */
110521 _ACEOF
110522 cat confdefs.h >>conftest.$ac_ext
110523 cat >>conftest.$ac_ext <<_ACEOF
110524 /* end confdefs.h.  */
110525 $ac_includes_default
110526 #include <$ac_header>
110527 _ACEOF
110528 rm -f conftest.$ac_objext
110529 if { (ac_try="$ac_compile"
110530 case "(($ac_try" in
110531   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
110532   *) ac_try_echo=$ac_try;;
110533 esac
110534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
110535   (eval "$ac_compile") 2>conftest.er1
110536   ac_status=$?
110537   grep -v '^ *+' conftest.er1 >conftest.err
110538   rm -f conftest.er1
110539   cat conftest.err >&5
110540   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110541   (exit $ac_status); } && {
110542          test -z "$ac_c_werror_flag" ||
110543          test ! -s conftest.err
110544        } && test -s conftest.$ac_objext; then
110545   ac_header_compiler=yes
110546 else
110547   echo "$as_me: failed program was:" >&5
110548 sed 's/^/| /' conftest.$ac_ext >&5
110549
110550         ac_header_compiler=no
110551 fi
110552
110553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
110554 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
110555 echo "${ECHO_T}$ac_header_compiler" >&6; }
110556
110557 # Is the header present?
110558 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
110559 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
110560 cat >conftest.$ac_ext <<_ACEOF
110561 /* confdefs.h.  */
110562 _ACEOF
110563 cat confdefs.h >>conftest.$ac_ext
110564 cat >>conftest.$ac_ext <<_ACEOF
110565 /* end confdefs.h.  */
110566 #include <$ac_header>
110567 _ACEOF
110568 if { (ac_try="$ac_cpp conftest.$ac_ext"
110569 case "(($ac_try" in
110570   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
110571   *) ac_try_echo=$ac_try;;
110572 esac
110573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
110574   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
110575   ac_status=$?
110576   grep -v '^ *+' conftest.er1 >conftest.err
110577   rm -f conftest.er1
110578   cat conftest.err >&5
110579   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110580   (exit $ac_status); } >/dev/null && {
110581          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
110582          test ! -s conftest.err
110583        }; then
110584   ac_header_preproc=yes
110585 else
110586   echo "$as_me: failed program was:" >&5
110587 sed 's/^/| /' conftest.$ac_ext >&5
110588
110589   ac_header_preproc=no
110590 fi
110591
110592 rm -f conftest.err conftest.$ac_ext
110593 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
110594 echo "${ECHO_T}$ac_header_preproc" >&6; }
110595
110596 # So?  What about this header?
110597 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
110598   yes:no: )
110599     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
110600 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
110601     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
110602 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
110603     ac_header_preproc=yes
110604     ;;
110605   no:yes:* )
110606     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
110607 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
110608     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
110609 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
110610     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
110611 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
110612     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
110613 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
110614     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
110615 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
110616     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
110617 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
110618
110619     ;;
110620 esac
110621 { echo "$as_me:$LINENO: checking for $ac_header" >&5
110622 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
110623 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
110624   echo $ECHO_N "(cached) $ECHO_C" >&6
110625 else
110626   eval "$as_ac_Header=\$ac_header_preproc"
110627 fi
110628 ac_res=`eval echo '${'$as_ac_Header'}'`
110629                { echo "$as_me:$LINENO: result: $ac_res" >&5
110630 echo "${ECHO_T}$ac_res" >&6; }
110631
110632 fi
110633 if test `eval echo '${'$as_ac_Header'}'` = yes; then
110634   cat >>confdefs.h <<_ACEOF
110635 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
110636 _ACEOF
110637
110638 else
110639   setrlimit_have_headers=no
110640 fi
110641
110642 done
110643
110644   # If don't have the headers, then we can't run the tests now, and we
110645   # won't be seeing any of these during testsuite compilation.
110646   if test $setrlimit_have_headers = yes; then
110647     # Can't do these in a loop, else the resulting syntax is wrong.
110648
110649   { echo "$as_me:$LINENO: checking for RLIMIT_DATA" >&5
110650 echo $ECHO_N "checking for RLIMIT_DATA... $ECHO_C" >&6; }
110651   cat >conftest.$ac_ext <<_ACEOF
110652 /* confdefs.h.  */
110653 _ACEOF
110654 cat confdefs.h >>conftest.$ac_ext
110655 cat >>conftest.$ac_ext <<_ACEOF
110656 /* end confdefs.h.  */
110657 #include <unistd.h>
110658      #include <sys/time.h>
110659      #include <sys/resource.h>
110660
110661 int
110662 main ()
110663 {
110664  int f = RLIMIT_DATA ;
110665   ;
110666   return 0;
110667 }
110668 _ACEOF
110669 rm -f conftest.$ac_objext
110670 if { (ac_try="$ac_compile"
110671 case "(($ac_try" in
110672   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
110673   *) ac_try_echo=$ac_try;;
110674 esac
110675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
110676   (eval "$ac_compile") 2>conftest.er1
110677   ac_status=$?
110678   grep -v '^ *+' conftest.er1 >conftest.err
110679   rm -f conftest.er1
110680   cat conftest.err >&5
110681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110682   (exit $ac_status); } && {
110683          test -z "$ac_c_werror_flag" ||
110684          test ! -s conftest.err
110685        } && test -s conftest.$ac_objext; then
110686   glibcxx_mresult=1
110687 else
110688   echo "$as_me: failed program was:" >&5
110689 sed 's/^/| /' conftest.$ac_ext >&5
110690
110691         glibcxx_mresult=0
110692 fi
110693
110694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
110695
110696 cat >>confdefs.h <<_ACEOF
110697 #define HAVE_LIMIT_DATA $glibcxx_mresult
110698 _ACEOF
110699
110700   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
110701   { echo "$as_me:$LINENO: result: $res" >&5
110702 echo "${ECHO_T}$res" >&6; }
110703
110704
110705   { echo "$as_me:$LINENO: checking for RLIMIT_RSS" >&5
110706 echo $ECHO_N "checking for RLIMIT_RSS... $ECHO_C" >&6; }
110707   cat >conftest.$ac_ext <<_ACEOF
110708 /* confdefs.h.  */
110709 _ACEOF
110710 cat confdefs.h >>conftest.$ac_ext
110711 cat >>conftest.$ac_ext <<_ACEOF
110712 /* end confdefs.h.  */
110713 #include <unistd.h>
110714      #include <sys/time.h>
110715      #include <sys/resource.h>
110716
110717 int
110718 main ()
110719 {
110720  int f = RLIMIT_RSS ;
110721   ;
110722   return 0;
110723 }
110724 _ACEOF
110725 rm -f conftest.$ac_objext
110726 if { (ac_try="$ac_compile"
110727 case "(($ac_try" in
110728   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
110729   *) ac_try_echo=$ac_try;;
110730 esac
110731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
110732   (eval "$ac_compile") 2>conftest.er1
110733   ac_status=$?
110734   grep -v '^ *+' conftest.er1 >conftest.err
110735   rm -f conftest.er1
110736   cat conftest.err >&5
110737   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110738   (exit $ac_status); } && {
110739          test -z "$ac_c_werror_flag" ||
110740          test ! -s conftest.err
110741        } && test -s conftest.$ac_objext; then
110742   glibcxx_mresult=1
110743 else
110744   echo "$as_me: failed program was:" >&5
110745 sed 's/^/| /' conftest.$ac_ext >&5
110746
110747         glibcxx_mresult=0
110748 fi
110749
110750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
110751
110752 cat >>confdefs.h <<_ACEOF
110753 #define HAVE_LIMIT_RSS $glibcxx_mresult
110754 _ACEOF
110755
110756   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
110757   { echo "$as_me:$LINENO: result: $res" >&5
110758 echo "${ECHO_T}$res" >&6; }
110759
110760
110761   { echo "$as_me:$LINENO: checking for RLIMIT_VMEM" >&5
110762 echo $ECHO_N "checking for RLIMIT_VMEM... $ECHO_C" >&6; }
110763   cat >conftest.$ac_ext <<_ACEOF
110764 /* confdefs.h.  */
110765 _ACEOF
110766 cat confdefs.h >>conftest.$ac_ext
110767 cat >>conftest.$ac_ext <<_ACEOF
110768 /* end confdefs.h.  */
110769 #include <unistd.h>
110770      #include <sys/time.h>
110771      #include <sys/resource.h>
110772
110773 int
110774 main ()
110775 {
110776  int f = RLIMIT_VMEM ;
110777   ;
110778   return 0;
110779 }
110780 _ACEOF
110781 rm -f conftest.$ac_objext
110782 if { (ac_try="$ac_compile"
110783 case "(($ac_try" in
110784   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
110785   *) ac_try_echo=$ac_try;;
110786 esac
110787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
110788   (eval "$ac_compile") 2>conftest.er1
110789   ac_status=$?
110790   grep -v '^ *+' conftest.er1 >conftest.err
110791   rm -f conftest.er1
110792   cat conftest.err >&5
110793   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110794   (exit $ac_status); } && {
110795          test -z "$ac_c_werror_flag" ||
110796          test ! -s conftest.err
110797        } && test -s conftest.$ac_objext; then
110798   glibcxx_mresult=1
110799 else
110800   echo "$as_me: failed program was:" >&5
110801 sed 's/^/| /' conftest.$ac_ext >&5
110802
110803         glibcxx_mresult=0
110804 fi
110805
110806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
110807
110808 cat >>confdefs.h <<_ACEOF
110809 #define HAVE_LIMIT_VMEM $glibcxx_mresult
110810 _ACEOF
110811
110812   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
110813   { echo "$as_me:$LINENO: result: $res" >&5
110814 echo "${ECHO_T}$res" >&6; }
110815
110816
110817   { echo "$as_me:$LINENO: checking for RLIMIT_AS" >&5
110818 echo $ECHO_N "checking for RLIMIT_AS... $ECHO_C" >&6; }
110819   cat >conftest.$ac_ext <<_ACEOF
110820 /* confdefs.h.  */
110821 _ACEOF
110822 cat confdefs.h >>conftest.$ac_ext
110823 cat >>conftest.$ac_ext <<_ACEOF
110824 /* end confdefs.h.  */
110825 #include <unistd.h>
110826      #include <sys/time.h>
110827      #include <sys/resource.h>
110828
110829 int
110830 main ()
110831 {
110832  int f = RLIMIT_AS ;
110833   ;
110834   return 0;
110835 }
110836 _ACEOF
110837 rm -f conftest.$ac_objext
110838 if { (ac_try="$ac_compile"
110839 case "(($ac_try" in
110840   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
110841   *) ac_try_echo=$ac_try;;
110842 esac
110843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
110844   (eval "$ac_compile") 2>conftest.er1
110845   ac_status=$?
110846   grep -v '^ *+' conftest.er1 >conftest.err
110847   rm -f conftest.er1
110848   cat conftest.err >&5
110849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110850   (exit $ac_status); } && {
110851          test -z "$ac_c_werror_flag" ||
110852          test ! -s conftest.err
110853        } && test -s conftest.$ac_objext; then
110854   glibcxx_mresult=1
110855 else
110856   echo "$as_me: failed program was:" >&5
110857 sed 's/^/| /' conftest.$ac_ext >&5
110858
110859         glibcxx_mresult=0
110860 fi
110861
110862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
110863
110864 cat >>confdefs.h <<_ACEOF
110865 #define HAVE_LIMIT_AS $glibcxx_mresult
110866 _ACEOF
110867
110868   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
110869   { echo "$as_me:$LINENO: result: $res" >&5
110870 echo "${ECHO_T}$res" >&6; }
110871
110872
110873   { echo "$as_me:$LINENO: checking for RLIMIT_FSIZE" >&5
110874 echo $ECHO_N "checking for RLIMIT_FSIZE... $ECHO_C" >&6; }
110875   cat >conftest.$ac_ext <<_ACEOF
110876 /* confdefs.h.  */
110877 _ACEOF
110878 cat confdefs.h >>conftest.$ac_ext
110879 cat >>conftest.$ac_ext <<_ACEOF
110880 /* end confdefs.h.  */
110881 #include <unistd.h>
110882      #include <sys/time.h>
110883      #include <sys/resource.h>
110884
110885 int
110886 main ()
110887 {
110888  int f = RLIMIT_FSIZE ;
110889   ;
110890   return 0;
110891 }
110892 _ACEOF
110893 rm -f conftest.$ac_objext
110894 if { (ac_try="$ac_compile"
110895 case "(($ac_try" in
110896   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
110897   *) ac_try_echo=$ac_try;;
110898 esac
110899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
110900   (eval "$ac_compile") 2>conftest.er1
110901   ac_status=$?
110902   grep -v '^ *+' conftest.er1 >conftest.err
110903   rm -f conftest.er1
110904   cat conftest.err >&5
110905   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110906   (exit $ac_status); } && {
110907          test -z "$ac_c_werror_flag" ||
110908          test ! -s conftest.err
110909        } && test -s conftest.$ac_objext; then
110910   glibcxx_mresult=1
110911 else
110912   echo "$as_me: failed program was:" >&5
110913 sed 's/^/| /' conftest.$ac_ext >&5
110914
110915         glibcxx_mresult=0
110916 fi
110917
110918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
110919
110920 cat >>confdefs.h <<_ACEOF
110921 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
110922 _ACEOF
110923
110924   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
110925   { echo "$as_me:$LINENO: result: $res" >&5
110926 echo "${ECHO_T}$res" >&6; }
110927
110928
110929     # Check for rlimit, setrlimit.
110930     if test "${ac_setrlimit+set}" = set; then
110931   echo $ECHO_N "(cached) $ECHO_C" >&6
110932 else
110933
110934       cat >conftest.$ac_ext <<_ACEOF
110935 /* confdefs.h.  */
110936 _ACEOF
110937 cat confdefs.h >>conftest.$ac_ext
110938 cat >>conftest.$ac_ext <<_ACEOF
110939 /* end confdefs.h.  */
110940 #include <unistd.h>
110941          #include <sys/time.h>
110942          #include <sys/resource.h>
110943
110944 int
110945 main ()
110946 {
110947 struct rlimit r;
110948          setrlimit(0, &r);
110949   ;
110950   return 0;
110951 }
110952 _ACEOF
110953 rm -f conftest.$ac_objext
110954 if { (ac_try="$ac_compile"
110955 case "(($ac_try" in
110956   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
110957   *) ac_try_echo=$ac_try;;
110958 esac
110959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
110960   (eval "$ac_compile") 2>conftest.er1
110961   ac_status=$?
110962   grep -v '^ *+' conftest.er1 >conftest.err
110963   rm -f conftest.er1
110964   cat conftest.err >&5
110965   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110966   (exit $ac_status); } && {
110967          test -z "$ac_c_werror_flag" ||
110968          test ! -s conftest.err
110969        } && test -s conftest.$ac_objext; then
110970   ac_setrlimit=yes
110971 else
110972   echo "$as_me: failed program was:" >&5
110973 sed 's/^/| /' conftest.$ac_ext >&5
110974
110975         ac_setrlimit=no
110976 fi
110977
110978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
110979
110980 fi
110981
110982   fi
110983
110984   { echo "$as_me:$LINENO: checking for testsuite resource limits support" >&5
110985 echo $ECHO_N "checking for testsuite resource limits support... $ECHO_C" >&6; }
110986   if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
110987     ac_res_limits=yes
110988
110989 cat >>confdefs.h <<\_ACEOF
110990 #define _GLIBCXX_RES_LIMITS 1
110991 _ACEOF
110992
110993   else
110994     ac_res_limits=no
110995   fi
110996   { echo "$as_me:$LINENO: result: $ac_res_limits" >&5
110997 echo "${ECHO_T}$ac_res_limits" >&6; }
110998
110999
111000     # Look for setenv, so that extended locale tests can be performed.
111001
111002   { echo "$as_me:$LINENO: checking for setenv declaration" >&5
111003 echo $ECHO_N "checking for setenv declaration... $ECHO_C" >&6; }
111004   if test x${glibcxx_cv_func_setenv_use+set} != xset; then
111005     if test "${glibcxx_cv_func_setenv_use+set}" = set; then
111006   echo $ECHO_N "(cached) $ECHO_C" >&6
111007 else
111008
111009
111010       ac_ext=cpp
111011 ac_cpp='$CXXCPP $CPPFLAGS'
111012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
111013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
111014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
111015
111016       cat >conftest.$ac_ext <<_ACEOF
111017 /* confdefs.h.  */
111018 _ACEOF
111019 cat confdefs.h >>conftest.$ac_ext
111020 cat >>conftest.$ac_ext <<_ACEOF
111021 /* end confdefs.h.  */
111022 #include <stdlib.h>
111023 int
111024 main ()
111025 {
111026  setenv(0, 0, 0);
111027   ;
111028   return 0;
111029 }
111030 _ACEOF
111031 rm -f conftest.$ac_objext
111032 if { (ac_try="$ac_compile"
111033 case "(($ac_try" in
111034   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
111035   *) ac_try_echo=$ac_try;;
111036 esac
111037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
111038   (eval "$ac_compile") 2>conftest.er1
111039   ac_status=$?
111040   grep -v '^ *+' conftest.er1 >conftest.err
111041   rm -f conftest.er1
111042   cat conftest.err >&5
111043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111044   (exit $ac_status); } && {
111045          test -z "$ac_cxx_werror_flag" ||
111046          test ! -s conftest.err
111047        } && test -s conftest.$ac_objext; then
111048   glibcxx_cv_func_setenv_use=yes
111049 else
111050   echo "$as_me: failed program was:" >&5
111051 sed 's/^/| /' conftest.$ac_ext >&5
111052
111053         glibcxx_cv_func_setenv_use=no
111054 fi
111055
111056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
111057       ac_ext=c
111058 ac_cpp='$CPP $CPPFLAGS'
111059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
111060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
111061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
111062
111063
111064 fi
111065
111066   fi
111067   { echo "$as_me:$LINENO: result: $glibcxx_cv_func_setenv_use" >&5
111068 echo "${ECHO_T}$glibcxx_cv_func_setenv_use" >&6; }
111069   if test x$glibcxx_cv_func_setenv_use = x"yes"; then
111070
111071 for ac_func in setenv
111072 do
111073 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
111074 { echo "$as_me:$LINENO: checking for $ac_func" >&5
111075 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
111076 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
111077   echo $ECHO_N "(cached) $ECHO_C" >&6
111078 else
111079   if test x$gcc_no_link = xyes; then
111080   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111081 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111082    { (exit 1); exit 1; }; }
111083 fi
111084 cat >conftest.$ac_ext <<_ACEOF
111085 /* confdefs.h.  */
111086 _ACEOF
111087 cat confdefs.h >>conftest.$ac_ext
111088 cat >>conftest.$ac_ext <<_ACEOF
111089 /* end confdefs.h.  */
111090 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
111091    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
111092 #define $ac_func innocuous_$ac_func
111093
111094 /* System header to define __stub macros and hopefully few prototypes,
111095     which can conflict with char $ac_func (); below.
111096     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
111097     <limits.h> exists even on freestanding compilers.  */
111098
111099 #ifdef __STDC__
111100 # include <limits.h>
111101 #else
111102 # include <assert.h>
111103 #endif
111104
111105 #undef $ac_func
111106
111107 /* Override any GCC internal prototype to avoid an error.
111108    Use char because int might match the return type of a GCC
111109    builtin and then its argument prototype would still apply.  */
111110 #ifdef __cplusplus
111111 extern "C"
111112 #endif
111113 char $ac_func ();
111114 /* The GNU C library defines this for functions which it implements
111115     to always fail with ENOSYS.  Some functions are actually named
111116     something starting with __ and the normal name is an alias.  */
111117 #if defined __stub_$ac_func || defined __stub___$ac_func
111118 choke me
111119 #endif
111120
111121 int
111122 main ()
111123 {
111124 return $ac_func ();
111125   ;
111126   return 0;
111127 }
111128 _ACEOF
111129 rm -f conftest.$ac_objext conftest$ac_exeext
111130 if { (ac_try="$ac_link"
111131 case "(($ac_try" in
111132   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
111133   *) ac_try_echo=$ac_try;;
111134 esac
111135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
111136   (eval "$ac_link") 2>conftest.er1
111137   ac_status=$?
111138   grep -v '^ *+' conftest.er1 >conftest.err
111139   rm -f conftest.er1
111140   cat conftest.err >&5
111141   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111142   (exit $ac_status); } && {
111143          test -z "$ac_c_werror_flag" ||
111144          test ! -s conftest.err
111145        } && test -s conftest$ac_exeext &&
111146        $as_test_x conftest$ac_exeext; then
111147   eval "$as_ac_var=yes"
111148 else
111149   echo "$as_me: failed program was:" >&5
111150 sed 's/^/| /' conftest.$ac_ext >&5
111151
111152         eval "$as_ac_var=no"
111153 fi
111154
111155 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
111156       conftest$ac_exeext conftest.$ac_ext
111157 fi
111158 ac_res=`eval echo '${'$as_ac_var'}'`
111159                { echo "$as_me:$LINENO: result: $ac_res" >&5
111160 echo "${ECHO_T}$ac_res" >&6; }
111161 if test `eval echo '${'$as_ac_var'}'` = yes; then
111162   cat >>confdefs.h <<_ACEOF
111163 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
111164 _ACEOF
111165
111166 fi
111167 done
111168
111169   fi
111170
111171   fi
111172
111173   if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
111174      test $enable_symvers != no; then
111175     case "$host" in
111176       *-*-cygwin*)
111177         enable_abi_check=no ;;
111178       *)
111179         enable_abi_check=yes ;;
111180     esac
111181   else
111182     # Only build this as native, since automake does not understand
111183     # CXX_FOR_BUILD.
111184     enable_abi_check=no
111185   fi
111186
111187   # Export file names for ABI checking.
111188   baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}\$(MULTISUBDIR)"
111189
111190
111191
111192 # Propagate the target-specific source directories through the build chain.
111193 ATOMICITY_SRCDIR=config/${atomicity_dir}
111194 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
111195 ATOMIC_FLAGS=${atomic_flags}
111196 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
111197 OS_INC_SRCDIR=config/${os_include_dir}
111198 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
111199 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
111200
111201
111202
111203
111204
111205
111206
111207
111208
111209 # Determine cross-compile flags and AM_CONDITIONALs.
111210 #AC_SUBST(GLIBCXX_IS_NATIVE)
111211 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
111212 # from GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT:
111213 #AM_CONDITIONAL(GLIBCXX_BUILD_LIBMATH,  test $need_libmath = yes)
111214     if test $is_hosted = yes; then
111215   GLIBCXX_HOSTED_TRUE=
111216   GLIBCXX_HOSTED_FALSE='#'
111217 else
111218   GLIBCXX_HOSTED_TRUE='#'
111219   GLIBCXX_HOSTED_FALSE=
111220 fi
111221
111222
111223     if test $enable_libstdcxx_pch = yes; then
111224   GLIBCXX_BUILD_PCH_TRUE=
111225   GLIBCXX_BUILD_PCH_FALSE='#'
111226 else
111227   GLIBCXX_BUILD_PCH_TRUE='#'
111228   GLIBCXX_BUILD_PCH_FALSE=
111229 fi
111230
111231
111232     if test $enable_cheaders = c; then
111233   GLIBCXX_C_HEADERS_C_TRUE=
111234   GLIBCXX_C_HEADERS_C_FALSE='#'
111235 else
111236   GLIBCXX_C_HEADERS_C_TRUE='#'
111237   GLIBCXX_C_HEADERS_C_FALSE=
111238 fi
111239
111240
111241     if test $enable_cheaders = c_std; then
111242   GLIBCXX_C_HEADERS_C_STD_TRUE=
111243   GLIBCXX_C_HEADERS_C_STD_FALSE='#'
111244 else
111245   GLIBCXX_C_HEADERS_C_STD_TRUE='#'
111246   GLIBCXX_C_HEADERS_C_STD_FALSE=
111247 fi
111248
111249
111250     if test $enable_cheaders = c_global; then
111251   GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
111252   GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
111253 else
111254   GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
111255   GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
111256 fi
111257
111258
111259     if test $c_compatibility = yes; then
111260   GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
111261   GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
111262 else
111263   GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
111264   GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
111265 fi
111266
111267
111268     if test $c_extra = yes; then
111269   GLIBCXX_C_HEADERS_EXTRA_TRUE=
111270   GLIBCXX_C_HEADERS_EXTRA_FALSE='#'
111271 else
111272   GLIBCXX_C_HEADERS_EXTRA_TRUE='#'
111273   GLIBCXX_C_HEADERS_EXTRA_FALSE=
111274 fi
111275
111276
111277     if test $enable_libstdcxx_debug = yes; then
111278   GLIBCXX_BUILD_DEBUG_TRUE=
111279   GLIBCXX_BUILD_DEBUG_FALSE='#'
111280 else
111281   GLIBCXX_BUILD_DEBUG_TRUE='#'
111282   GLIBCXX_BUILD_DEBUG_FALSE=
111283 fi
111284
111285
111286     if test $enable_parallel = yes; then
111287   ENABLE_PARALLEL_TRUE=
111288   ENABLE_PARALLEL_FALSE='#'
111289 else
111290   ENABLE_PARALLEL_TRUE='#'
111291   ENABLE_PARALLEL_FALSE=
111292 fi
111293
111294
111295     if test $enable_symvers != no; then
111296   ENABLE_SYMVERS_TRUE=
111297   ENABLE_SYMVERS_FALSE='#'
111298 else
111299   ENABLE_SYMVERS_TRUE='#'
111300   ENABLE_SYMVERS_FALSE=
111301 fi
111302
111303
111304     if test $enable_symvers = gnu; then
111305   ENABLE_SYMVERS_GNU_TRUE=
111306   ENABLE_SYMVERS_GNU_FALSE='#'
111307 else
111308   ENABLE_SYMVERS_GNU_TRUE='#'
111309   ENABLE_SYMVERS_GNU_FALSE=
111310 fi
111311
111312
111313     if test $enable_symvers = gnu-versioned-namespace; then
111314   ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
111315   ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
111316 else
111317   ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
111318   ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
111319 fi
111320
111321
111322     if test $enable_symvers = darwin; then
111323   ENABLE_SYMVERS_DARWIN_TRUE=
111324   ENABLE_SYMVERS_DARWIN_FALSE='#'
111325 else
111326   ENABLE_SYMVERS_DARWIN_TRUE='#'
111327   ENABLE_SYMVERS_DARWIN_FALSE=
111328 fi
111329
111330
111331     if test $enable_visibility = yes; then
111332   ENABLE_VISIBILITY_TRUE=
111333   ENABLE_VISIBILITY_FALSE='#'
111334 else
111335   ENABLE_VISIBILITY_TRUE='#'
111336   ENABLE_VISIBILITY_FALSE=
111337 fi
111338
111339
111340     if test $ac_ldbl_compat = yes; then
111341   GLIBCXX_LDBL_COMPAT_TRUE=
111342   GLIBCXX_LDBL_COMPAT_FALSE='#'
111343 else
111344   GLIBCXX_LDBL_COMPAT_TRUE='#'
111345   GLIBCXX_LDBL_COMPAT_FALSE=
111346 fi
111347
111348
111349
111350
111351 cat >confcache <<\_ACEOF
111352 # This file is a shell script that caches the results of configure
111353 # tests run on this system so they can be shared between configure
111354 # scripts and configure runs, see configure's option --config-cache.
111355 # It is not useful on other systems.  If it contains results you don't
111356 # want to keep, you may remove or edit it.
111357 #
111358 # config.status only pays attention to the cache file if you give it
111359 # the --recheck option to rerun configure.
111360 #
111361 # `ac_cv_env_foo' variables (set or unset) will be overridden when
111362 # loading this file, other *unset* `ac_cv_foo' will be assigned the
111363 # following values.
111364
111365 _ACEOF
111366
111367 # The following way of writing the cache mishandles newlines in values,
111368 # but we know of no workaround that is simple, portable, and efficient.
111369 # So, we kill variables containing newlines.
111370 # Ultrix sh set writes to stderr and can't be redirected directly,
111371 # and sets the high bit in the cache file unless we assign to the vars.
111372 (
111373   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
111374     eval ac_val=\$$ac_var
111375     case $ac_val in #(
111376     *${as_nl}*)
111377       case $ac_var in #(
111378       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
111379 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
111380       esac
111381       case $ac_var in #(
111382       _ | IFS | as_nl) ;; #(
111383       *) $as_unset $ac_var ;;
111384       esac ;;
111385     esac
111386   done
111387
111388   (set) 2>&1 |
111389     case $as_nl`(ac_space=' '; set) 2>&1` in #(
111390     *${as_nl}ac_space=\ *)
111391       # `set' does not quote correctly, so add quotes (double-quote
111392       # substitution turns \\\\ into \\, and sed turns \\ into \).
111393       sed -n \
111394         "s/'/'\\\\''/g;
111395           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
111396       ;; #(
111397     *)
111398       # `set' quotes correctly as required by POSIX, so do not add quotes.
111399       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
111400       ;;
111401     esac |
111402     sort
111403 ) |
111404   sed '
111405      /^ac_cv_env_/b end
111406      t clear
111407      :clear
111408      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
111409      t end
111410      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
111411      :end' >>confcache
111412 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
111413   if test -w "$cache_file"; then
111414     test "x$cache_file" != "x/dev/null" &&
111415       { echo "$as_me:$LINENO: updating cache $cache_file" >&5
111416 echo "$as_me: updating cache $cache_file" >&6;}
111417     cat confcache >$cache_file
111418   else
111419     { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
111420 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
111421   fi
111422 fi
111423 rm -f confcache
111424
111425 if test ${multilib} = yes; then
111426   multilib_arg="--enable-multilib"
111427 else
111428   multilib_arg=
111429 fi
111430
111431 # Export all the install information.
111432
111433   glibcxx_toolexecdir=no
111434   glibcxx_toolexeclibdir=no
111435   glibcxx_prefixdir=$prefix
111436
111437   { echo "$as_me:$LINENO: checking for gxx-include-dir" >&5
111438 echo $ECHO_N "checking for gxx-include-dir... $ECHO_C" >&6; }
111439
111440 # Check whether --with-gxx-include-dir was given.
111441 if test "${with_gxx_include_dir+set}" = set; then
111442   withval=$with_gxx_include_dir; case "$withval" in
111443       yes) { { echo "$as_me:$LINENO: error: Missing directory for --with-gxx-include-dir" >&5
111444 echo "$as_me: error: Missing directory for --with-gxx-include-dir" >&2;}
111445    { (exit 1); exit 1; }; } ;;
111446       no)  gxx_include_dir=no ;;
111447       *)   gxx_include_dir=$withval ;;
111448      esac
111449 else
111450   gxx_include_dir=no
111451 fi
111452
111453   { echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
111454 echo "${ECHO_T}$gxx_include_dir" >&6; }
111455
111456   { echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
111457 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6; }
111458   # Check whether --enable-version-specific-runtime-libs was given.
111459 if test "${enable_version_specific_runtime_libs+set}" = set; then
111460   enableval=$enable_version_specific_runtime_libs; case "$enableval" in
111461       yes) version_specific_libs=yes ;;
111462       no)  version_specific_libs=no ;;
111463       *)   { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
111464 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
111465    { (exit 1); exit 1; }; };;
111466      esac
111467 else
111468   version_specific_libs=no
111469 fi
111470
111471   { echo "$as_me:$LINENO: result: $version_specific_libs" >&5
111472 echo "${ECHO_T}$version_specific_libs" >&6; }
111473
111474   # Default case for install directory for include files.
111475   if test $version_specific_libs = no && test $gxx_include_dir = no; then
111476     gxx_include_dir='include/c++/${gcc_version}'
111477     if test -n "$with_cross_host" &&
111478        test x"$with_cross_host" != x"no"; then
111479       gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
111480     else
111481       gxx_include_dir='${prefix}/'"$gxx_include_dir"
111482     fi
111483   fi
111484
111485   # Version-specific runtime libs processing.
111486   if test $version_specific_libs = yes; then
111487     # Need the gcc compiler version to know where to install libraries
111488     # and header files if --enable-version-specific-runtime-libs option
111489     # is selected.  FIXME: these variables are misnamed, there are
111490     # no executables installed in _toolexecdir or _toolexeclibdir.
111491     if test x"$gxx_include_dir" = x"no"; then
111492       gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
111493     fi
111494     glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
111495     glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
111496   fi
111497
111498   # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
111499   # Install a library built with a cross compiler in tooldir, not libdir.
111500   if test x"$glibcxx_toolexecdir" = x"no"; then
111501     if test -n "$with_cross_host" &&
111502        test x"$with_cross_host" != x"no"; then
111503       glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
111504       glibcxx_toolexeclibdir='${toolexecdir}/lib'
111505     else
111506       glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
111507       glibcxx_toolexeclibdir='${libdir}'
111508     fi
111509     multi_os_directory=`$CXX -print-multi-os-directory`
111510     case $multi_os_directory in
111511       .) ;; # Avoid trailing /.
111512       *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
111513     esac
111514   fi
111515
111516   { echo "$as_me:$LINENO: checking for install location" >&5
111517 echo $ECHO_N "checking for install location... $ECHO_C" >&6; }
111518   { echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
111519 echo "${ECHO_T}$gxx_include_dir" >&6; }
111520
111521
111522
111523
111524
111525
111526
111527 # Export all the include and flag information to Makefiles.
111528
111529   # Used for every C++ compile we perform.
111530   GLIBCXX_INCLUDES="\
111531 -I$glibcxx_builddir/include/$host_alias \
111532 -I$glibcxx_builddir/include \
111533 -I$glibcxx_srcdir/libsupc++"
111534
111535   # For Canadian crosses, pick this up too.
111536   if test $CANADIAN = yes; then
111537     GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
111538   fi
111539
111540   # Stuff in the actual top level.  Currently only used by libsupc++ to
111541   # get unwind* headers from the gcc dir.
111542   #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
111543   TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
111544
111545   # Now, export this to all the little Makefiles....
111546
111547
111548
111549
111550   # Optimization flags that are probably a good idea for thrill-seekers. Just
111551   # uncomment the lines below and make, everything else is ready to go...
111552   # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
111553   # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
111554
111555
111556   WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
111557
111558
111559
111560 if test "$enable_shared" = yes; then
111561   LIBSUPCXX_PICFLAGS="-prefer-pic"
111562 else
111563   LIBSUPCXX_PICFLAGS=
111564 fi
111565
111566
111567 ac_config_files="$ac_config_files Makefile include/Makefile libmath/Makefile libsupc++/Makefile src/Makefile doc/Makefile po/Makefile testsuite/Makefile"
111568
111569 ac_config_files="$ac_config_files scripts/testsuite_flags"
111570
111571
111572 ac_config_commands="$ac_config_commands default"
111573
111574
111575 cat >confcache <<\_ACEOF
111576 # This file is a shell script that caches the results of configure
111577 # tests run on this system so they can be shared between configure
111578 # scripts and configure runs, see configure's option --config-cache.
111579 # It is not useful on other systems.  If it contains results you don't
111580 # want to keep, you may remove or edit it.
111581 #
111582 # config.status only pays attention to the cache file if you give it
111583 # the --recheck option to rerun configure.
111584 #
111585 # `ac_cv_env_foo' variables (set or unset) will be overridden when
111586 # loading this file, other *unset* `ac_cv_foo' will be assigned the
111587 # following values.
111588
111589 _ACEOF
111590
111591 # The following way of writing the cache mishandles newlines in values,
111592 # but we know of no workaround that is simple, portable, and efficient.
111593 # So, we kill variables containing newlines.
111594 # Ultrix sh set writes to stderr and can't be redirected directly,
111595 # and sets the high bit in the cache file unless we assign to the vars.
111596 (
111597   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
111598     eval ac_val=\$$ac_var
111599     case $ac_val in #(
111600     *${as_nl}*)
111601       case $ac_var in #(
111602       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
111603 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
111604       esac
111605       case $ac_var in #(
111606       _ | IFS | as_nl) ;; #(
111607       *) $as_unset $ac_var ;;
111608       esac ;;
111609     esac
111610   done
111611
111612   (set) 2>&1 |
111613     case $as_nl`(ac_space=' '; set) 2>&1` in #(
111614     *${as_nl}ac_space=\ *)
111615       # `set' does not quote correctly, so add quotes (double-quote
111616       # substitution turns \\\\ into \\, and sed turns \\ into \).
111617       sed -n \
111618         "s/'/'\\\\''/g;
111619           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
111620       ;; #(
111621     *)
111622       # `set' quotes correctly as required by POSIX, so do not add quotes.
111623       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
111624       ;;
111625     esac |
111626     sort
111627 ) |
111628   sed '
111629      /^ac_cv_env_/b end
111630      t clear
111631      :clear
111632      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
111633      t end
111634      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
111635      :end' >>confcache
111636 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
111637   if test -w "$cache_file"; then
111638     test "x$cache_file" != "x/dev/null" &&
111639       { echo "$as_me:$LINENO: updating cache $cache_file" >&5
111640 echo "$as_me: updating cache $cache_file" >&6;}
111641     cat confcache >$cache_file
111642   else
111643     { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
111644 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
111645   fi
111646 fi
111647 rm -f confcache
111648
111649 test "x$prefix" = xNONE && prefix=$ac_default_prefix
111650 # Let make expand exec_prefix.
111651 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
111652
111653 DEFS=-DHAVE_CONFIG_H
111654
111655 ac_libobjs=
111656 ac_ltlibobjs=
111657 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
111658   # 1. Remove the extension, and $U if already installed.
111659   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
111660   ac_i=`echo "$ac_i" | sed "$ac_script"`
111661   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
111662   #    will be set to the directory where LIBOBJS objects are built.
111663   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
111664   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
111665 done
111666 LIBOBJS=$ac_libobjs
111667
111668 LTLIBOBJS=$ac_ltlibobjs
111669
111670
111671 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
111672   { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
111673 Usually this means the macro was only invoked conditionally." >&5
111674 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
111675 Usually this means the macro was only invoked conditionally." >&2;}
111676    { (exit 1); exit 1; }; }
111677 fi
111678 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
111679   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_HOSTED\" was never defined.
111680 Usually this means the macro was only invoked conditionally." >&5
111681 echo "$as_me: error: conditional \"GLIBCXX_HOSTED\" was never defined.
111682 Usually this means the macro was only invoked conditionally." >&2;}
111683    { (exit 1); exit 1; }; }
111684 fi
111685 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
111686   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
111687 Usually this means the macro was only invoked conditionally." >&5
111688 echo "$as_me: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
111689 Usually this means the macro was only invoked conditionally." >&2;}
111690    { (exit 1); exit 1; }; }
111691 fi
111692 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
111693   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
111694 Usually this means the macro was only invoked conditionally." >&5
111695 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
111696 Usually this means the macro was only invoked conditionally." >&2;}
111697    { (exit 1); exit 1; }; }
111698 fi
111699 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
111700   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
111701 Usually this means the macro was only invoked conditionally." >&5
111702 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
111703 Usually this means the macro was only invoked conditionally." >&2;}
111704    { (exit 1); exit 1; }; }
111705 fi
111706 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
111707   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
111708 Usually this means the macro was only invoked conditionally." >&5
111709 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
111710 Usually this means the macro was only invoked conditionally." >&2;}
111711    { (exit 1); exit 1; }; }
111712 fi
111713 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
111714   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
111715 Usually this means the macro was only invoked conditionally." >&5
111716 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
111717 Usually this means the macro was only invoked conditionally." >&2;}
111718    { (exit 1); exit 1; }; }
111719 fi
111720 if test -z "${GLIBCXX_C_HEADERS_EXTRA_TRUE}" && test -z "${GLIBCXX_C_HEADERS_EXTRA_FALSE}"; then
111721   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_EXTRA\" was never defined.
111722 Usually this means the macro was only invoked conditionally." >&5
111723 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_EXTRA\" was never defined.
111724 Usually this means the macro was only invoked conditionally." >&2;}
111725    { (exit 1); exit 1; }; }
111726 fi
111727 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
111728   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
111729 Usually this means the macro was only invoked conditionally." >&5
111730 echo "$as_me: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
111731 Usually this means the macro was only invoked conditionally." >&2;}
111732    { (exit 1); exit 1; }; }
111733 fi
111734 if test -z "${ENABLE_PARALLEL_TRUE}" && test -z "${ENABLE_PARALLEL_FALSE}"; then
111735   { { echo "$as_me:$LINENO: error: conditional \"ENABLE_PARALLEL\" was never defined.
111736 Usually this means the macro was only invoked conditionally." >&5
111737 echo "$as_me: error: conditional \"ENABLE_PARALLEL\" was never defined.
111738 Usually this means the macro was only invoked conditionally." >&2;}
111739    { (exit 1); exit 1; }; }
111740 fi
111741 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
111742   { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS\" was never defined.
111743 Usually this means the macro was only invoked conditionally." >&5
111744 echo "$as_me: error: conditional \"ENABLE_SYMVERS\" was never defined.
111745 Usually this means the macro was only invoked conditionally." >&2;}
111746    { (exit 1); exit 1; }; }
111747 fi
111748 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
111749   { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
111750 Usually this means the macro was only invoked conditionally." >&5
111751 echo "$as_me: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
111752 Usually this means the macro was only invoked conditionally." >&2;}
111753    { (exit 1); exit 1; }; }
111754 fi
111755 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
111756   { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
111757 Usually this means the macro was only invoked conditionally." >&5
111758 echo "$as_me: error: conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
111759 Usually this means the macro was only invoked conditionally." >&2;}
111760    { (exit 1); exit 1; }; }
111761 fi
111762 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
111763   { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
111764 Usually this means the macro was only invoked conditionally." >&5
111765 echo "$as_me: error: conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
111766 Usually this means the macro was only invoked conditionally." >&2;}
111767    { (exit 1); exit 1; }; }
111768 fi
111769 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
111770   { { echo "$as_me:$LINENO: error: conditional \"ENABLE_VISIBILITY\" was never defined.
111771 Usually this means the macro was only invoked conditionally." >&5
111772 echo "$as_me: error: conditional \"ENABLE_VISIBILITY\" was never defined.
111773 Usually this means the macro was only invoked conditionally." >&2;}
111774    { (exit 1); exit 1; }; }
111775 fi
111776 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
111777   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
111778 Usually this means the macro was only invoked conditionally." >&5
111779 echo "$as_me: error: conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
111780 Usually this means the macro was only invoked conditionally." >&2;}
111781    { (exit 1); exit 1; }; }
111782 fi
111783
111784 : ${CONFIG_STATUS=./config.status}
111785 ac_clean_files_save=$ac_clean_files
111786 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
111787 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
111788 echo "$as_me: creating $CONFIG_STATUS" >&6;}
111789 cat >$CONFIG_STATUS <<_ACEOF
111790 #! $SHELL
111791 # Generated by $as_me.
111792 # Run this file to recreate the current configuration.
111793 # Compiler output produced by configure, useful for debugging
111794 # configure, is in config.log if it exists.
111795
111796 debug=false
111797 ac_cs_recheck=false
111798 ac_cs_silent=false
111799 SHELL=\${CONFIG_SHELL-$SHELL}
111800 _ACEOF
111801
111802 cat >>$CONFIG_STATUS <<\_ACEOF
111803 ## --------------------- ##
111804 ## M4sh Initialization.  ##
111805 ## --------------------- ##
111806
111807 # Be more Bourne compatible
111808 DUALCASE=1; export DUALCASE # for MKS sh
111809 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
111810   emulate sh
111811   NULLCMD=:
111812   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
111813   # is contrary to our usage.  Disable this feature.
111814   alias -g '${1+"$@"}'='"$@"'
111815   setopt NO_GLOB_SUBST
111816 else
111817   case `(set -o) 2>/dev/null` in
111818   *posix*) set -o posix ;;
111819 esac
111820
111821 fi
111822
111823
111824
111825
111826 # PATH needs CR
111827 # Avoid depending upon Character Ranges.
111828 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
111829 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
111830 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
111831 as_cr_digits='0123456789'
111832 as_cr_alnum=$as_cr_Letters$as_cr_digits
111833
111834 # The user is always right.
111835 if test "${PATH_SEPARATOR+set}" != set; then
111836   echo "#! /bin/sh" >conf$$.sh
111837   echo  "exit 0"   >>conf$$.sh
111838   chmod +x conf$$.sh
111839   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
111840     PATH_SEPARATOR=';'
111841   else
111842     PATH_SEPARATOR=:
111843   fi
111844   rm -f conf$$.sh
111845 fi
111846
111847 # Support unset when possible.
111848 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
111849   as_unset=unset
111850 else
111851   as_unset=false
111852 fi
111853
111854
111855 # IFS
111856 # We need space, tab and new line, in precisely that order.  Quoting is
111857 # there to prevent editors from complaining about space-tab.
111858 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
111859 # splitting by setting IFS to empty value.)
111860 as_nl='
111861 '
111862 IFS=" ""        $as_nl"
111863
111864 # Find who we are.  Look in the path if we contain no directory separator.
111865 case $0 in
111866   *[\\/]* ) as_myself=$0 ;;
111867   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
111868 for as_dir in $PATH
111869 do
111870   IFS=$as_save_IFS
111871   test -z "$as_dir" && as_dir=.
111872   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
111873 done
111874 IFS=$as_save_IFS
111875
111876      ;;
111877 esac
111878 # We did not find ourselves, most probably we were run as `sh COMMAND'
111879 # in which case we are not to be found in the path.
111880 if test "x$as_myself" = x; then
111881   as_myself=$0
111882 fi
111883 if test ! -f "$as_myself"; then
111884   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111885   { (exit 1); exit 1; }
111886 fi
111887
111888 # Work around bugs in pre-3.0 UWIN ksh.
111889 for as_var in ENV MAIL MAILPATH
111890 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
111891 done
111892 PS1='$ '
111893 PS2='> '
111894 PS4='+ '
111895
111896 # NLS nuisances.
111897 for as_var in \
111898   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
111899   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
111900   LC_TELEPHONE LC_TIME
111901 do
111902   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111903     eval $as_var=C; export $as_var
111904   else
111905     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
111906   fi
111907 done
111908
111909 # Required to use basename.
111910 if expr a : '\(a\)' >/dev/null 2>&1 &&
111911    test "X`expr 00001 : '.*\(...\)'`" = X001; then
111912   as_expr=expr
111913 else
111914   as_expr=false
111915 fi
111916
111917 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
111918   as_basename=basename
111919 else
111920   as_basename=false
111921 fi
111922
111923
111924 # Name of the executable.
111925 as_me=`$as_basename -- "$0" ||
111926 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
111927          X"$0" : 'X\(//\)$' \| \
111928          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
111929 echo X/"$0" |
111930     sed '/^.*\/\([^/][^/]*\)\/*$/{
111931             s//\1/
111932             q
111933           }
111934           /^X\/\(\/\/\)$/{
111935             s//\1/
111936             q
111937           }
111938           /^X\/\(\/\).*/{
111939             s//\1/
111940             q
111941           }
111942           s/.*/./; q'`
111943
111944 # CDPATH.
111945 $as_unset CDPATH
111946
111947
111948
111949   as_lineno_1=$LINENO
111950   as_lineno_2=$LINENO
111951   test "x$as_lineno_1" != "x$as_lineno_2" &&
111952   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
111953
111954   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
111955   # uniformly replaced by the line number.  The first 'sed' inserts a
111956   # line-number line after each line using $LINENO; the second 'sed'
111957   # does the real work.  The second script uses 'N' to pair each
111958   # line-number line with the line containing $LINENO, and appends
111959   # trailing '-' during substitution so that $LINENO is not a special
111960   # case at line end.
111961   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
111962   # scripts with optimization help from Paolo Bonzini.  Blame Lee
111963   # E. McMahon (1931-1989) for sed's syntax.  :-)
111964   sed -n '
111965     p
111966     /[$]LINENO/=
111967   ' <$as_myself |
111968     sed '
111969       s/[$]LINENO.*/&-/
111970       t lineno
111971       b
111972       :lineno
111973       N
111974       :loop
111975       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
111976       t loop
111977       s/-\n.*//
111978     ' >$as_me.lineno &&
111979   chmod +x "$as_me.lineno" ||
111980     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
111981    { (exit 1); exit 1; }; }
111982
111983   # Don't try to exec as it changes $[0], causing all sort of problems
111984   # (the dirname of $[0] is not the place where we might find the
111985   # original and so on.  Autoconf is especially sensitive to this).
111986   . "./$as_me.lineno"
111987   # Exit status is that of the last command.
111988   exit
111989 }
111990
111991
111992 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
111993   as_dirname=dirname
111994 else
111995   as_dirname=false
111996 fi
111997
111998 ECHO_C= ECHO_N= ECHO_T=
111999 case `echo -n x` in
112000 -n*)
112001   case `echo 'x\c'` in
112002   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
112003   *)   ECHO_C='\c';;
112004   esac;;
112005 *)
112006   ECHO_N='-n';;
112007 esac
112008
112009 if expr a : '\(a\)' >/dev/null 2>&1 &&
112010    test "X`expr 00001 : '.*\(...\)'`" = X001; then
112011   as_expr=expr
112012 else
112013   as_expr=false
112014 fi
112015
112016 rm -f conf$$ conf$$.exe conf$$.file
112017 if test -d conf$$.dir; then
112018   rm -f conf$$.dir/conf$$.file
112019 else
112020   rm -f conf$$.dir
112021   mkdir conf$$.dir
112022 fi
112023 echo >conf$$.file
112024 if ln -s conf$$.file conf$$ 2>/dev/null; then
112025   as_ln_s='ln -s'
112026   # ... but there are two gotchas:
112027   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
112028   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
112029   # In both cases, we have to default to `cp -p'.
112030   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
112031     as_ln_s='cp -p'
112032 elif ln conf$$.file conf$$ 2>/dev/null; then
112033   as_ln_s=ln
112034 else
112035   as_ln_s='cp -p'
112036 fi
112037 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
112038 rmdir conf$$.dir 2>/dev/null
112039
112040 if mkdir -p . 2>/dev/null; then
112041   as_mkdir_p=:
112042 else
112043   test -d ./-p && rmdir ./-p
112044   as_mkdir_p=false
112045 fi
112046
112047 if test -x / >/dev/null 2>&1; then
112048   as_test_x='test -x'
112049 else
112050   if ls -dL / >/dev/null 2>&1; then
112051     as_ls_L_option=L
112052   else
112053     as_ls_L_option=
112054   fi
112055   as_test_x='
112056     eval sh -c '\''
112057       if test -d "$1"; then
112058         test -d "$1/.";
112059       else
112060         case $1 in
112061         -*)set "./$1";;
112062         esac;
112063         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
112064         ???[sx]*):;;*)false;;esac;fi
112065     '\'' sh
112066   '
112067 fi
112068 as_executable_p=$as_test_x
112069
112070 # Sed expression to map a string onto a valid CPP name.
112071 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
112072
112073 # Sed expression to map a string onto a valid variable name.
112074 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
112075
112076
112077 exec 6>&1
112078
112079 # Save the log message, to keep $[0] and so on meaningful, and to
112080 # report actual input values of CONFIG_FILES etc. instead of their
112081 # values after options handling.
112082 ac_log="
112083 This file was extended by package-unused $as_me version-unused, which was
112084 generated by GNU Autoconf 2.61.  Invocation command line was
112085
112086   CONFIG_FILES    = $CONFIG_FILES
112087   CONFIG_HEADERS  = $CONFIG_HEADERS
112088   CONFIG_LINKS    = $CONFIG_LINKS
112089   CONFIG_COMMANDS = $CONFIG_COMMANDS
112090   $ $0 $@
112091
112092 on `(hostname || uname -n) 2>/dev/null | sed 1q`
112093 "
112094
112095 _ACEOF
112096
112097 cat >>$CONFIG_STATUS <<_ACEOF
112098 # Files that config.status was made for.
112099 config_files="$ac_config_files"
112100 config_headers="$ac_config_headers"
112101 config_commands="$ac_config_commands"
112102
112103 _ACEOF
112104
112105 cat >>$CONFIG_STATUS <<\_ACEOF
112106 ac_cs_usage="\
112107 \`$as_me' instantiates files from templates according to the
112108 current configuration.
112109
112110 Usage: $0 [OPTIONS] [FILE]...
112111
112112   -h, --help       print this help, then exit
112113   -V, --version    print version number and configuration settings, then exit
112114   -q, --quiet      do not print progress messages
112115   -d, --debug      don't remove temporary files
112116       --recheck    update $as_me by reconfiguring in the same conditions
112117   --file=FILE[:TEMPLATE]
112118                    instantiate the configuration file FILE
112119   --header=FILE[:TEMPLATE]
112120                    instantiate the configuration header FILE
112121
112122 Configuration files:
112123 $config_files
112124
112125 Configuration headers:
112126 $config_headers
112127
112128 Configuration commands:
112129 $config_commands
112130
112131 Report bugs to <bug-autoconf@gnu.org>."
112132
112133 _ACEOF
112134 cat >>$CONFIG_STATUS <<_ACEOF
112135 ac_cs_version="\\
112136 package-unused config.status version-unused
112137 configured by $0, generated by GNU Autoconf 2.61,
112138   with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
112139
112140 Copyright (C) 2006 Free Software Foundation, Inc.
112141 This config.status script is free software; the Free Software Foundation
112142 gives unlimited permission to copy, distribute and modify it."
112143
112144 ac_pwd='$ac_pwd'
112145 srcdir='$srcdir'
112146 INSTALL='$INSTALL'
112147 MKDIR_P='$MKDIR_P'
112148 _ACEOF
112149
112150 cat >>$CONFIG_STATUS <<\_ACEOF
112151 # If no file are specified by the user, then we need to provide default
112152 # value.  By we need to know if files were specified by the user.
112153 ac_need_defaults=:
112154 while test $# != 0
112155 do
112156   case $1 in
112157   --*=*)
112158     ac_option=`expr "X$1" : 'X\([^=]*\)='`
112159     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
112160     ac_shift=:
112161     ;;
112162   *)
112163     ac_option=$1
112164     ac_optarg=$2
112165     ac_shift=shift
112166     ;;
112167   esac
112168
112169   case $ac_option in
112170   # Handling of the options.
112171   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
112172     ac_cs_recheck=: ;;
112173   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
112174     echo "$ac_cs_version"; exit ;;
112175   --debug | --debu | --deb | --de | --d | -d )
112176     debug=: ;;
112177   --file | --fil | --fi | --f )
112178     $ac_shift
112179     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
112180     ac_need_defaults=false;;
112181   --header | --heade | --head | --hea )
112182     $ac_shift
112183     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
112184     ac_need_defaults=false;;
112185   --he | --h)
112186     # Conflict between --help and --header
112187     { echo "$as_me: error: ambiguous option: $1
112188 Try \`$0 --help' for more information." >&2
112189    { (exit 1); exit 1; }; };;
112190   --help | --hel | -h )
112191     echo "$ac_cs_usage"; exit ;;
112192   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
112193   | -silent | --silent | --silen | --sile | --sil | --si | --s)
112194     ac_cs_silent=: ;;
112195
112196   # This is an error.
112197   -*) { echo "$as_me: error: unrecognized option: $1
112198 Try \`$0 --help' for more information." >&2
112199    { (exit 1); exit 1; }; } ;;
112200
112201   *) ac_config_targets="$ac_config_targets $1"
112202      ac_need_defaults=false ;;
112203
112204   esac
112205   shift
112206 done
112207
112208 ac_configure_extra_args=
112209
112210 if $ac_cs_silent; then
112211   exec 6>/dev/null
112212   ac_configure_extra_args="$ac_configure_extra_args --silent"
112213 fi
112214
112215 _ACEOF
112216 cat >>$CONFIG_STATUS <<_ACEOF
112217 if \$ac_cs_recheck; then
112218   echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
112219   CONFIG_SHELL=$SHELL
112220   export CONFIG_SHELL
112221   exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
112222 fi
112223
112224 _ACEOF
112225 cat >>$CONFIG_STATUS <<\_ACEOF
112226 exec 5>>config.log
112227 {
112228   echo
112229   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
112230 ## Running $as_me. ##
112231 _ASBOX
112232   echo "$ac_log"
112233 } >&5
112234
112235 _ACEOF
112236 cat >>$CONFIG_STATUS <<_ACEOF
112237 #
112238 # INIT-COMMANDS
112239 #
112240
112241 srcdir="$srcdir"
112242 host="$host"
112243 target="$target"
112244 with_multisubdir="$with_multisubdir"
112245 with_multisrctop="$with_multisrctop"
112246 with_target_subdir="$with_target_subdir"
112247 ac_configure_args="${multilib_arg} ${ac_configure_args}"
112248 multi_basedir="$multi_basedir"
112249 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
112250 CC="$CC"
112251
112252
112253 # The HP-UX ksh and POSIX shell print the target directory to stdout
112254 # if CDPATH is set.
112255 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
112256
112257 sed_quote_subst='$sed_quote_subst'
112258 double_quote_subst='$double_quote_subst'
112259 delay_variable_subst='$delay_variable_subst'
112260 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
112261 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
112262 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
112263 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
112264 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
112265 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
112266 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
112267 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
112268 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
112269 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
112270 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
112271 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
112272 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
112273 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
112274 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
112275 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
112276 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
112277 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
112278 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
112279 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
112280 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
112281 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
112282 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
112283 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
112284 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
112285 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
112286 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
112287 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
112288 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
112289 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
112290 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
112291 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
112292 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
112293 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
112294 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
112295 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
112296 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
112297 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
112298 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
112299 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
112300 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
112301 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
112302 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
112303 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"`'
112304 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
112305 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
112306 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
112307 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
112308 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
112309 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
112310 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
112311 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
112312 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
112313 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
112314 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
112315 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
112316 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
112317 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
112318 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
112319 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
112320 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
112321 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
112322 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
112323 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
112324 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
112325 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
112326 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
112327 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
112328 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
112329 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
112330 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
112331 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
112332 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
112333 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
112334 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
112335 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
112336 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
112337 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
112338 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
112339 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
112340 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
112341 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
112342 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
112343 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
112344 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
112345 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
112346 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
112347 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
112348 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
112349 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
112350 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
112351 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
112352 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
112353 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
112354 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
112355 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
112356 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
112357 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
112358 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
112359 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
112360 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
112361 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
112362 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
112363 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
112364 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
112365 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
112366 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
112367 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
112368 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
112369 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
112370 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
112371 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
112372 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
112373 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
112374 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
112375 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
112376 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
112377 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
112378 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
112379 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
112380 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
112381 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
112382 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
112383 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
112384 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
112385 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
112386 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
112387 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
112388 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
112389 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
112390 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
112391 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
112392 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
112393 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
112394 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
112395 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
112396 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
112397 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
112398 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
112399 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
112400 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
112401 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
112402 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
112403 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
112404 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
112405 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
112406 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
112407 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
112408 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
112409 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
112410 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
112411 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
112412 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
112413 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
112414 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
112415 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
112416 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
112417 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
112418 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
112419 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
112420 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
112421 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
112422
112423 LTCC='$LTCC'
112424 LTCFLAGS='$LTCFLAGS'
112425 compiler='$compiler_DEFAULT'
112426
112427 # Quote evaled strings.
112428 for var in SED \
112429 GREP \
112430 EGREP \
112431 FGREP \
112432 LD \
112433 NM \
112434 LN_S \
112435 lt_SP2NL \
112436 lt_NL2SP \
112437 reload_flag \
112438 deplibs_check_method \
112439 file_magic_cmd \
112440 AR \
112441 AR_FLAGS \
112442 STRIP \
112443 RANLIB \
112444 CC \
112445 CFLAGS \
112446 compiler \
112447 lt_cv_sys_global_symbol_pipe \
112448 lt_cv_sys_global_symbol_to_cdecl \
112449 lt_cv_sys_global_symbol_to_c_name_address \
112450 SHELL \
112451 ECHO \
112452 lt_prog_compiler_no_builtin_flag \
112453 lt_prog_compiler_wl \
112454 lt_prog_compiler_pic \
112455 lt_prog_compiler_static \
112456 lt_cv_prog_compiler_c_o \
112457 need_locks \
112458 shrext_cmds \
112459 export_dynamic_flag_spec \
112460 whole_archive_flag_spec \
112461 compiler_needs_object \
112462 with_gnu_ld \
112463 allow_undefined_flag \
112464 no_undefined_flag \
112465 hardcode_libdir_flag_spec \
112466 hardcode_libdir_flag_spec_ld \
112467 hardcode_libdir_separator \
112468 fix_srcfile_path \
112469 exclude_expsyms \
112470 include_expsyms \
112471 file_list_spec \
112472 variables_saved_for_relink \
112473 libname_spec \
112474 library_names_spec \
112475 soname_spec \
112476 finish_eval \
112477 old_striplib \
112478 striplib \
112479 predep_objects \
112480 postdep_objects \
112481 predeps \
112482 postdeps \
112483 compiler_lib_search_path \
112484 LD_CXX \
112485 compiler_CXX \
112486 lt_prog_compiler_no_builtin_flag_CXX \
112487 lt_prog_compiler_wl_CXX \
112488 lt_prog_compiler_pic_CXX \
112489 lt_prog_compiler_static_CXX \
112490 lt_cv_prog_compiler_c_o_CXX \
112491 export_dynamic_flag_spec_CXX \
112492 whole_archive_flag_spec_CXX \
112493 compiler_needs_object_CXX \
112494 with_gnu_ld_CXX \
112495 allow_undefined_flag_CXX \
112496 no_undefined_flag_CXX \
112497 hardcode_libdir_flag_spec_CXX \
112498 hardcode_libdir_flag_spec_ld_CXX \
112499 hardcode_libdir_separator_CXX \
112500 fix_srcfile_path_CXX \
112501 exclude_expsyms_CXX \
112502 include_expsyms_CXX \
112503 file_list_spec_CXX \
112504 predep_objects_CXX \
112505 postdep_objects_CXX \
112506 predeps_CXX \
112507 postdeps_CXX \
112508 compiler_lib_search_path_CXX; do
112509     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
112510     *[\\\\\\\`\\"\\\$]*)
112511       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
112512       ;;
112513     *)
112514       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
112515       ;;
112516     esac
112517 done
112518
112519 # Double-quote double-evaled strings.
112520 for var in reload_cmds \
112521 old_postinstall_cmds \
112522 old_postuninstall_cmds \
112523 old_archive_cmds \
112524 extract_expsyms_cmds \
112525 old_archive_from_new_cmds \
112526 old_archive_from_expsyms_cmds \
112527 archive_cmds \
112528 archive_expsym_cmds \
112529 module_cmds \
112530 module_expsym_cmds \
112531 export_symbols_cmds \
112532 prelink_cmds \
112533 postinstall_cmds \
112534 postuninstall_cmds \
112535 finish_cmds \
112536 sys_lib_search_path_spec \
112537 sys_lib_dlsearch_path_spec \
112538 old_archive_cmds_CXX \
112539 old_archive_from_new_cmds_CXX \
112540 old_archive_from_expsyms_cmds_CXX \
112541 archive_cmds_CXX \
112542 archive_expsym_cmds_CXX \
112543 module_cmds_CXX \
112544 module_expsym_cmds_CXX \
112545 export_symbols_cmds_CXX \
112546 prelink_cmds_CXX; do
112547     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
112548     *[\\\\\\\`\\"\\\$]*)
112549       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
112550       ;;
112551     *)
112552       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
112553       ;;
112554     esac
112555 done
112556
112557 # Fix-up fallback echo if it was mangled by the above quoting rules.
112558 case \$lt_ECHO in
112559 *'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
112560   ;;
112561 esac
112562
112563 ac_aux_dir='$ac_aux_dir'
112564 xsi_shell='$xsi_shell'
112565 lt_shell_append='$lt_shell_append'
112566
112567 # See if we are running on zsh, and set the options which allow our
112568 # commands through without removal of \ escapes INIT.
112569 if test -n "\${ZSH_VERSION+set}" ; then
112570    setopt NO_GLOB_SUBST
112571 fi
112572
112573
112574     PACKAGE='$PACKAGE'
112575     VERSION='$VERSION'
112576     TIMESTAMP='$TIMESTAMP'
112577     RM='$RM'
112578     ofile='$ofile'
112579
112580
112581
112582
112583
112584
112585 # Variables needed in config.status (file generation) which aren't already
112586 # passed by autoconf.
112587 SUBDIRS="$SUBDIRS"
112588
112589
112590 _ACEOF
112591
112592 cat >>$CONFIG_STATUS <<\_ACEOF
112593
112594 # Handling of arguments.
112595 for ac_config_target in $ac_config_targets
112596 do
112597   case $ac_config_target in
112598     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
112599     "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
112600     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
112601     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
112602     "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
112603     "libmath/Makefile") CONFIG_FILES="$CONFIG_FILES libmath/Makefile" ;;
112604     "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
112605     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
112606     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
112607     "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
112608     "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
112609     "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
112610     "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
112611
112612   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
112613 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
112614    { (exit 1); exit 1; }; };;
112615   esac
112616 done
112617
112618
112619 # If the user did not use the arguments to specify the items to instantiate,
112620 # then the envvar interface is used.  Set only those that are not.
112621 # We use the long form for the default assignment because of an extremely
112622 # bizarre bug on SunOS 4.1.3.
112623 if $ac_need_defaults; then
112624   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
112625   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
112626   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
112627 fi
112628
112629 # Have a temporary directory for convenience.  Make it in the build tree
112630 # simply because there is no reason against having it here, and in addition,
112631 # creating and moving files from /tmp can sometimes cause problems.
112632 # Hook for its removal unless debugging.
112633 # Note that there is a small window in which the directory will not be cleaned:
112634 # after its creation but before its name has been assigned to `$tmp'.
112635 $debug ||
112636 {
112637   tmp=
112638   trap 'exit_status=$?
112639   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
112640 ' 0
112641   trap '{ (exit 1); exit 1; }' 1 2 13 15
112642 }
112643 # Create a (secure) tmp directory for tmp files.
112644
112645 {
112646   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
112647   test -n "$tmp" && test -d "$tmp"
112648 }  ||
112649 {
112650   tmp=./conf$$-$RANDOM
112651   (umask 077 && mkdir "$tmp")
112652 } ||
112653 {
112654    echo "$me: cannot create a temporary directory in ." >&2
112655    { (exit 1); exit 1; }
112656 }
112657
112658 #
112659 # Set up the sed scripts for CONFIG_FILES section.
112660 #
112661
112662 # No need to generate the scripts if there are no CONFIG_FILES.
112663 # This happens for instance when ./config.status config.h
112664 if test -n "$CONFIG_FILES"; then
112665
112666 _ACEOF
112667
112668
112669
112670 ac_delim='%!_!# '
112671 for ac_last_try in false false false false false :; do
112672   cat >conf$$subs.sed <<_ACEOF
112673 SHELL!$SHELL$ac_delim
112674 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
112675 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
112676 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
112677 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
112678 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
112679 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
112680 exec_prefix!$exec_prefix$ac_delim
112681 prefix!$prefix$ac_delim
112682 program_transform_name!$program_transform_name$ac_delim
112683 bindir!$bindir$ac_delim
112684 sbindir!$sbindir$ac_delim
112685 libexecdir!$libexecdir$ac_delim
112686 datarootdir!$datarootdir$ac_delim
112687 datadir!$datadir$ac_delim
112688 sysconfdir!$sysconfdir$ac_delim
112689 sharedstatedir!$sharedstatedir$ac_delim
112690 localstatedir!$localstatedir$ac_delim
112691 includedir!$includedir$ac_delim
112692 oldincludedir!$oldincludedir$ac_delim
112693 docdir!$docdir$ac_delim
112694 infodir!$infodir$ac_delim
112695 htmldir!$htmldir$ac_delim
112696 dvidir!$dvidir$ac_delim
112697 pdfdir!$pdfdir$ac_delim
112698 psdir!$psdir$ac_delim
112699 libdir!$libdir$ac_delim
112700 localedir!$localedir$ac_delim
112701 mandir!$mandir$ac_delim
112702 DEFS!$DEFS$ac_delim
112703 ECHO_C!$ECHO_C$ac_delim
112704 ECHO_N!$ECHO_N$ac_delim
112705 ECHO_T!$ECHO_T$ac_delim
112706 LIBS!$LIBS$ac_delim
112707 build_alias!$build_alias$ac_delim
112708 host_alias!$host_alias$ac_delim
112709 target_alias!$target_alias$ac_delim
112710 libtool_VERSION!$libtool_VERSION$ac_delim
112711 multi_basedir!$multi_basedir$ac_delim
112712 build!$build$ac_delim
112713 build_cpu!$build_cpu$ac_delim
112714 build_vendor!$build_vendor$ac_delim
112715 build_os!$build_os$ac_delim
112716 host!$host$ac_delim
112717 host_cpu!$host_cpu$ac_delim
112718 host_vendor!$host_vendor$ac_delim
112719 host_os!$host_os$ac_delim
112720 target!$target$ac_delim
112721 target_cpu!$target_cpu$ac_delim
112722 target_vendor!$target_vendor$ac_delim
112723 target_os!$target_os$ac_delim
112724 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
112725 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
112726 INSTALL_DATA!$INSTALL_DATA$ac_delim
112727 am__isrc!$am__isrc$ac_delim
112728 CYGPATH_W!$CYGPATH_W$ac_delim
112729 PACKAGE!$PACKAGE$ac_delim
112730 VERSION!$VERSION$ac_delim
112731 ACLOCAL!$ACLOCAL$ac_delim
112732 AUTOCONF!$AUTOCONF$ac_delim
112733 AUTOMAKE!$AUTOMAKE$ac_delim
112734 AUTOHEADER!$AUTOHEADER$ac_delim
112735 MAKEINFO!$MAKEINFO$ac_delim
112736 install_sh!$install_sh$ac_delim
112737 STRIP!$STRIP$ac_delim
112738 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
112739 mkdir_p!$mkdir_p$ac_delim
112740 AWK!$AWK$ac_delim
112741 SET_MAKE!$SET_MAKE$ac_delim
112742 am__leading_dot!$am__leading_dot$ac_delim
112743 AMTAR!$AMTAR$ac_delim
112744 am__tar!$am__tar$ac_delim
112745 am__untar!$am__untar$ac_delim
112746 glibcxx_builddir!$glibcxx_builddir$ac_delim
112747 glibcxx_srcdir!$glibcxx_srcdir$ac_delim
112748 toplevel_srcdir!$toplevel_srcdir$ac_delim
112749 CC!$CC$ac_delim
112750 CFLAGS!$CFLAGS$ac_delim
112751 LDFLAGS!$LDFLAGS$ac_delim
112752 CPPFLAGS!$CPPFLAGS$ac_delim
112753 ac_ct_CC!$ac_ct_CC$ac_delim
112754 EXEEXT!$EXEEXT$ac_delim
112755 OBJEXT!$OBJEXT$ac_delim
112756 CXX!$CXX$ac_delim
112757 CXXFLAGS!$CXXFLAGS$ac_delim
112758 ac_ct_CXX!$ac_ct_CXX$ac_delim
112759 LN_S!$LN_S$ac_delim
112760 AS!$AS$ac_delim
112761 AR!$AR$ac_delim
112762 RANLIB!$RANLIB$ac_delim
112763 MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
112764 MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
112765 MAINT!$MAINT$ac_delim
112766 CPP!$CPP$ac_delim
112767 GREP!$GREP$ac_delim
112768 EGREP!$EGREP$ac_delim
112769 LIBTOOL!$LIBTOOL$ac_delim
112770 _ACEOF
112771
112772   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
112773     break
112774   elif $ac_last_try; then
112775     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
112776 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
112777    { (exit 1); exit 1; }; }
112778   else
112779     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
112780   fi
112781 done
112782
112783 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
112784 if test -n "$ac_eof"; then
112785   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
112786   ac_eof=`expr $ac_eof + 1`
112787 fi
112788
112789 cat >>$CONFIG_STATUS <<_ACEOF
112790 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
112791 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
112792 _ACEOF
112793 sed '
112794 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
112795 s/^/s,@/; s/!/@,|#_!!_#|/
112796 :n
112797 t n
112798 s/'"$ac_delim"'$/,g/; t
112799 s/$/\\/; p
112800 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
112801 ' >>$CONFIG_STATUS <conf$$subs.sed
112802 rm -f conf$$subs.sed
112803 cat >>$CONFIG_STATUS <<_ACEOF
112804 CEOF$ac_eof
112805 _ACEOF
112806
112807
112808 ac_delim='%!_!# '
112809 for ac_last_try in false false false false false :; do
112810   cat >conf$$subs.sed <<_ACEOF
112811 SED!$SED$ac_delim
112812 FGREP!$FGREP$ac_delim
112813 LD!$LD$ac_delim
112814 DUMPBIN!$DUMPBIN$ac_delim
112815 ac_ct_DUMPBIN!$ac_ct_DUMPBIN$ac_delim
112816 NM!$NM$ac_delim
112817 lt_ECHO!$lt_ECHO$ac_delim
112818 CXXCPP!$CXXCPP$ac_delim
112819 enable_shared!$enable_shared$ac_delim
112820 enable_static!$enable_static$ac_delim
112821 GLIBCXX_HOSTED_TRUE!$GLIBCXX_HOSTED_TRUE$ac_delim
112822 GLIBCXX_HOSTED_FALSE!$GLIBCXX_HOSTED_FALSE$ac_delim
112823 GLIBCXX_BUILD_PCH_TRUE!$GLIBCXX_BUILD_PCH_TRUE$ac_delim
112824 GLIBCXX_BUILD_PCH_FALSE!$GLIBCXX_BUILD_PCH_FALSE$ac_delim
112825 glibcxx_PCHFLAGS!$glibcxx_PCHFLAGS$ac_delim
112826 CSTDIO_H!$CSTDIO_H$ac_delim
112827 BASIC_FILE_H!$BASIC_FILE_H$ac_delim
112828 BASIC_FILE_CC!$BASIC_FILE_CC$ac_delim
112829 check_msgfmt!$check_msgfmt$ac_delim
112830 glibcxx_MOFILES!$glibcxx_MOFILES$ac_delim
112831 glibcxx_POFILES!$glibcxx_POFILES$ac_delim
112832 glibcxx_localedir!$glibcxx_localedir$ac_delim
112833 USE_NLS!$USE_NLS$ac_delim
112834 CLOCALE_H!$CLOCALE_H$ac_delim
112835 CMESSAGES_H!$CMESSAGES_H$ac_delim
112836 CCODECVT_CC!$CCODECVT_CC$ac_delim
112837 CCOLLATE_CC!$CCOLLATE_CC$ac_delim
112838 CCTYPE_CC!$CCTYPE_CC$ac_delim
112839 CMESSAGES_CC!$CMESSAGES_CC$ac_delim
112840 CMONEY_CC!$CMONEY_CC$ac_delim
112841 CNUMERIC_CC!$CNUMERIC_CC$ac_delim
112842 CTIME_H!$CTIME_H$ac_delim
112843 CTIME_CC!$CTIME_CC$ac_delim
112844 CLOCALE_CC!$CLOCALE_CC$ac_delim
112845 CLOCALE_INTERNAL_H!$CLOCALE_INTERNAL_H$ac_delim
112846 ALLOCATOR_H!$ALLOCATOR_H$ac_delim
112847 ALLOCATOR_NAME!$ALLOCATOR_NAME$ac_delim
112848 C_INCLUDE_DIR!$C_INCLUDE_DIR$ac_delim
112849 GLIBCXX_C_HEADERS_C_TRUE!$GLIBCXX_C_HEADERS_C_TRUE$ac_delim
112850 GLIBCXX_C_HEADERS_C_FALSE!$GLIBCXX_C_HEADERS_C_FALSE$ac_delim
112851 GLIBCXX_C_HEADERS_C_STD_TRUE!$GLIBCXX_C_HEADERS_C_STD_TRUE$ac_delim
112852 GLIBCXX_C_HEADERS_C_STD_FALSE!$GLIBCXX_C_HEADERS_C_STD_FALSE$ac_delim
112853 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE!$GLIBCXX_C_HEADERS_C_GLOBAL_TRUE$ac_delim
112854 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE!$GLIBCXX_C_HEADERS_C_GLOBAL_FALSE$ac_delim
112855 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE!$GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE$ac_delim
112856 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE!$GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE$ac_delim
112857 GLIBCXX_C_HEADERS_EXTRA_TRUE!$GLIBCXX_C_HEADERS_EXTRA_TRUE$ac_delim
112858 GLIBCXX_C_HEADERS_EXTRA_FALSE!$GLIBCXX_C_HEADERS_EXTRA_FALSE$ac_delim
112859 DEBUG_FLAGS!$DEBUG_FLAGS$ac_delim
112860 GLIBCXX_BUILD_DEBUG_TRUE!$GLIBCXX_BUILD_DEBUG_TRUE$ac_delim
112861 GLIBCXX_BUILD_DEBUG_FALSE!$GLIBCXX_BUILD_DEBUG_FALSE$ac_delim
112862 ENABLE_PARALLEL_TRUE!$ENABLE_PARALLEL_TRUE$ac_delim
112863 ENABLE_PARALLEL_FALSE!$ENABLE_PARALLEL_FALSE$ac_delim
112864 EXTRA_CXX_FLAGS!$EXTRA_CXX_FLAGS$ac_delim
112865 glibcxx_thread_h!$glibcxx_thread_h$ac_delim
112866 WERROR!$WERROR$ac_delim
112867 SECTION_FLAGS!$SECTION_FLAGS$ac_delim
112868 SECTION_LDFLAGS!$SECTION_LDFLAGS$ac_delim
112869 OPT_LDFLAGS!$OPT_LDFLAGS$ac_delim
112870 LIBMATHOBJS!$LIBMATHOBJS$ac_delim
112871 LIBICONV!$LIBICONV$ac_delim
112872 LTLIBICONV!$LTLIBICONV$ac_delim
112873 SYMVER_FILE!$SYMVER_FILE$ac_delim
112874 port_specific_symbol_files!$port_specific_symbol_files$ac_delim
112875 ENABLE_SYMVERS_TRUE!$ENABLE_SYMVERS_TRUE$ac_delim
112876 ENABLE_SYMVERS_FALSE!$ENABLE_SYMVERS_FALSE$ac_delim
112877 ENABLE_SYMVERS_GNU_TRUE!$ENABLE_SYMVERS_GNU_TRUE$ac_delim
112878 ENABLE_SYMVERS_GNU_FALSE!$ENABLE_SYMVERS_GNU_FALSE$ac_delim
112879 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE!$ENABLE_SYMVERS_GNU_NAMESPACE_TRUE$ac_delim
112880 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE!$ENABLE_SYMVERS_GNU_NAMESPACE_FALSE$ac_delim
112881 ENABLE_SYMVERS_DARWIN_TRUE!$ENABLE_SYMVERS_DARWIN_TRUE$ac_delim
112882 ENABLE_SYMVERS_DARWIN_FALSE!$ENABLE_SYMVERS_DARWIN_FALSE$ac_delim
112883 ENABLE_VISIBILITY_TRUE!$ENABLE_VISIBILITY_TRUE$ac_delim
112884 ENABLE_VISIBILITY_FALSE!$ENABLE_VISIBILITY_FALSE$ac_delim
112885 GLIBCXX_LDBL_COMPAT_TRUE!$GLIBCXX_LDBL_COMPAT_TRUE$ac_delim
112886 GLIBCXX_LDBL_COMPAT_FALSE!$GLIBCXX_LDBL_COMPAT_FALSE$ac_delim
112887 baseline_dir!$baseline_dir$ac_delim
112888 ATOMICITY_SRCDIR!$ATOMICITY_SRCDIR$ac_delim
112889 ATOMIC_WORD_SRCDIR!$ATOMIC_WORD_SRCDIR$ac_delim
112890 ATOMIC_FLAGS!$ATOMIC_FLAGS$ac_delim
112891 CPU_DEFINES_SRCDIR!$CPU_DEFINES_SRCDIR$ac_delim
112892 ABI_TWEAKS_SRCDIR!$ABI_TWEAKS_SRCDIR$ac_delim
112893 OS_INC_SRCDIR!$OS_INC_SRCDIR$ac_delim
112894 ERROR_CONSTANTS_SRCDIR!$ERROR_CONSTANTS_SRCDIR$ac_delim
112895 glibcxx_prefixdir!$glibcxx_prefixdir$ac_delim
112896 gxx_include_dir!$gxx_include_dir$ac_delim
112897 glibcxx_toolexecdir!$glibcxx_toolexecdir$ac_delim
112898 glibcxx_toolexeclibdir!$glibcxx_toolexeclibdir$ac_delim
112899 GLIBCXX_INCLUDES!$GLIBCXX_INCLUDES$ac_delim
112900 TOPLEVEL_INCLUDES!$TOPLEVEL_INCLUDES$ac_delim
112901 OPTIMIZE_CXXFLAGS!$OPTIMIZE_CXXFLAGS$ac_delim
112902 WARN_FLAGS!$WARN_FLAGS$ac_delim
112903 LIBSUPCXX_PICFLAGS!$LIBSUPCXX_PICFLAGS$ac_delim
112904 LIBOBJS!$LIBOBJS$ac_delim
112905 LTLIBOBJS!$LTLIBOBJS$ac_delim
112906 _ACEOF
112907
112908   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 95; then
112909     break
112910   elif $ac_last_try; then
112911     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
112912 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
112913    { (exit 1); exit 1; }; }
112914   else
112915     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
112916   fi
112917 done
112918
112919 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
112920 if test -n "$ac_eof"; then
112921   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
112922   ac_eof=`expr $ac_eof + 1`
112923 fi
112924
112925 cat >>$CONFIG_STATUS <<_ACEOF
112926 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
112927 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
112928 _ACEOF
112929 sed '
112930 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
112931 s/^/s,@/; s/!/@,|#_!!_#|/
112932 :n
112933 t n
112934 s/'"$ac_delim"'$/,g/; t
112935 s/$/\\/; p
112936 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
112937 ' >>$CONFIG_STATUS <conf$$subs.sed
112938 rm -f conf$$subs.sed
112939 cat >>$CONFIG_STATUS <<_ACEOF
112940 :end
112941 s/|#_!!_#|//g
112942 CEOF$ac_eof
112943 _ACEOF
112944
112945
112946 # VPATH may cause trouble with some makes, so we remove $(srcdir),
112947 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
112948 # trailing colons and then remove the whole line if VPATH becomes empty
112949 # (actually we leave an empty line to preserve line numbers).
112950 if test "x$srcdir" = x.; then
112951   ac_vpsub='/^[  ]*VPATH[        ]*=/{
112952 s/:*\$(srcdir):*/:/
112953 s/:*\${srcdir}:*/:/
112954 s/:*@srcdir@:*/:/
112955 s/^\([^=]*=[     ]*\):*/\1/
112956 s/:*$//
112957 s/^[^=]*=[       ]*$//
112958 }'
112959 fi
112960
112961 cat >>$CONFIG_STATUS <<\_ACEOF
112962 fi # test -n "$CONFIG_FILES"
112963
112964
112965 for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
112966 do
112967   case $ac_tag in
112968   :[FHLC]) ac_mode=$ac_tag; continue;;
112969   esac
112970   case $ac_mode$ac_tag in
112971   :[FHL]*:*);;
112972   :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
112973 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
112974    { (exit 1); exit 1; }; };;
112975   :[FH]-) ac_tag=-:-;;
112976   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
112977   esac
112978   ac_save_IFS=$IFS
112979   IFS=:
112980   set x $ac_tag
112981   IFS=$ac_save_IFS
112982   shift
112983   ac_file=$1
112984   shift
112985
112986   case $ac_mode in
112987   :L) ac_source=$1;;
112988   :[FH])
112989     ac_file_inputs=
112990     for ac_f
112991     do
112992       case $ac_f in
112993       -) ac_f="$tmp/stdin";;
112994       *) # Look for the file first in the build tree, then in the source tree
112995          # (if the path is not absolute).  The absolute path cannot be DOS-style,
112996          # because $ac_f cannot contain `:'.
112997          test -f "$ac_f" ||
112998            case $ac_f in
112999            [\\/$]*) false;;
113000            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
113001            esac ||
113002            { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
113003 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
113004    { (exit 1); exit 1; }; };;
113005       esac
113006       ac_file_inputs="$ac_file_inputs $ac_f"
113007     done
113008
113009     # Let's still pretend it is `configure' which instantiates (i.e., don't
113010     # use $as_me), people would be surprised to read:
113011     #    /* config.h.  Generated by config.status.  */
113012     configure_input="Generated from "`IFS=:
113013           echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
113014     if test x"$ac_file" != x-; then
113015       configure_input="$ac_file.  $configure_input"
113016       { echo "$as_me:$LINENO: creating $ac_file" >&5
113017 echo "$as_me: creating $ac_file" >&6;}
113018     fi
113019
113020     case $ac_tag in
113021     *:-:* | *:-) cat >"$tmp/stdin";;
113022     esac
113023     ;;
113024   esac
113025
113026   ac_dir=`$as_dirname -- "$ac_file" ||
113027 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
113028          X"$ac_file" : 'X\(//\)[^/]' \| \
113029          X"$ac_file" : 'X\(//\)$' \| \
113030          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
113031 echo X"$ac_file" |
113032     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
113033             s//\1/
113034             q
113035           }
113036           /^X\(\/\/\)[^/].*/{
113037             s//\1/
113038             q
113039           }
113040           /^X\(\/\/\)$/{
113041             s//\1/
113042             q
113043           }
113044           /^X\(\/\).*/{
113045             s//\1/
113046             q
113047           }
113048           s/.*/./; q'`
113049   { as_dir="$ac_dir"
113050   case $as_dir in #(
113051   -*) as_dir=./$as_dir;;
113052   esac
113053   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
113054     as_dirs=
113055     while :; do
113056       case $as_dir in #(
113057       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
113058       *) as_qdir=$as_dir;;
113059       esac
113060       as_dirs="'$as_qdir' $as_dirs"
113061       as_dir=`$as_dirname -- "$as_dir" ||
113062 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
113063          X"$as_dir" : 'X\(//\)[^/]' \| \
113064          X"$as_dir" : 'X\(//\)$' \| \
113065          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
113066 echo X"$as_dir" |
113067     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
113068             s//\1/
113069             q
113070           }
113071           /^X\(\/\/\)[^/].*/{
113072             s//\1/
113073             q
113074           }
113075           /^X\(\/\/\)$/{
113076             s//\1/
113077             q
113078           }
113079           /^X\(\/\).*/{
113080             s//\1/
113081             q
113082           }
113083           s/.*/./; q'`
113084       test -d "$as_dir" && break
113085     done
113086     test -z "$as_dirs" || eval "mkdir $as_dirs"
113087   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
113088 echo "$as_me: error: cannot create directory $as_dir" >&2;}
113089    { (exit 1); exit 1; }; }; }
113090   ac_builddir=.
113091
113092 case "$ac_dir" in
113093 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
113094 *)
113095   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
113096   # A ".." for each directory in $ac_dir_suffix.
113097   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
113098   case $ac_top_builddir_sub in
113099   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
113100   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
113101   esac ;;
113102 esac
113103 ac_abs_top_builddir=$ac_pwd
113104 ac_abs_builddir=$ac_pwd$ac_dir_suffix
113105 # for backward compatibility:
113106 ac_top_builddir=$ac_top_build_prefix
113107
113108 case $srcdir in
113109   .)  # We are building in place.
113110     ac_srcdir=.
113111     ac_top_srcdir=$ac_top_builddir_sub
113112     ac_abs_top_srcdir=$ac_pwd ;;
113113   [\\/]* | ?:[\\/]* )  # Absolute name.
113114     ac_srcdir=$srcdir$ac_dir_suffix;
113115     ac_top_srcdir=$srcdir
113116     ac_abs_top_srcdir=$srcdir ;;
113117   *) # Relative name.
113118     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
113119     ac_top_srcdir=$ac_top_build_prefix$srcdir
113120     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
113121 esac
113122 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
113123
113124
113125   case $ac_mode in
113126   :F)
113127   #
113128   # CONFIG_FILE
113129   #
113130
113131   case $INSTALL in
113132   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
113133   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
113134   esac
113135   ac_MKDIR_P=$MKDIR_P
113136   case $MKDIR_P in
113137   [\\/$]* | ?:[\\/]* ) ;;
113138   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
113139   esac
113140 _ACEOF
113141
113142 cat >>$CONFIG_STATUS <<\_ACEOF
113143 # If the template does not know about datarootdir, expand it.
113144 # FIXME: This hack should be removed a few years after 2.60.
113145 ac_datarootdir_hack=; ac_datarootdir_seen=
113146
113147 case `sed -n '/datarootdir/ {
113148   p
113149   q
113150 }
113151 /@datadir@/p
113152 /@docdir@/p
113153 /@infodir@/p
113154 /@localedir@/p
113155 /@mandir@/p
113156 ' $ac_file_inputs` in
113157 *datarootdir*) ac_datarootdir_seen=yes;;
113158 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
113159   { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
113160 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
113161 _ACEOF
113162 cat >>$CONFIG_STATUS <<_ACEOF
113163   ac_datarootdir_hack='
113164   s&@datadir@&$datadir&g
113165   s&@docdir@&$docdir&g
113166   s&@infodir@&$infodir&g
113167   s&@localedir@&$localedir&g
113168   s&@mandir@&$mandir&g
113169     s&\\\${datarootdir}&$datarootdir&g' ;;
113170 esac
113171 _ACEOF
113172
113173 # Neutralize VPATH when `$srcdir' = `.'.
113174 # Shell code in configure.ac might set extrasub.
113175 # FIXME: do we really want to maintain this feature?
113176 cat >>$CONFIG_STATUS <<_ACEOF
113177   sed "$ac_vpsub
113178 $extrasub
113179 _ACEOF
113180 cat >>$CONFIG_STATUS <<\_ACEOF
113181 :t
113182 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
113183 s&@configure_input@&$configure_input&;t t
113184 s&@top_builddir@&$ac_top_builddir_sub&;t t
113185 s&@srcdir@&$ac_srcdir&;t t
113186 s&@abs_srcdir@&$ac_abs_srcdir&;t t
113187 s&@top_srcdir@&$ac_top_srcdir&;t t
113188 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
113189 s&@builddir@&$ac_builddir&;t t
113190 s&@abs_builddir@&$ac_abs_builddir&;t t
113191 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
113192 s&@INSTALL@&$ac_INSTALL&;t t
113193 s&@MKDIR_P@&$ac_MKDIR_P&;t t
113194 $ac_datarootdir_hack
113195 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
113196
113197 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
113198   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
113199   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
113200   { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
113201 which seems to be undefined.  Please make sure it is defined." >&5
113202 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
113203 which seems to be undefined.  Please make sure it is defined." >&2;}
113204
113205   rm -f "$tmp/stdin"
113206   case $ac_file in
113207   -) cat "$tmp/out"; rm -f "$tmp/out";;
113208   *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
113209   esac
113210  ;;
113211   :H)
113212   #
113213   # CONFIG_HEADER
113214   #
113215 _ACEOF
113216
113217 # Transform confdefs.h into a sed script `conftest.defines', that
113218 # substitutes the proper values into config.h.in to produce config.h.
113219 rm -f conftest.defines conftest.tail
113220 # First, append a space to every undef/define line, to ease matching.
113221 echo 's/$/ /' >conftest.defines
113222 # Then, protect against being on the right side of a sed subst, or in
113223 # an unquoted here document, in config.status.  If some macros were
113224 # called several times there might be several #defines for the same
113225 # symbol, which is useless.  But do not sort them, since the last
113226 # AC_DEFINE must be honored.
113227 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
113228 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
113229 # NAME is the cpp macro being defined, VALUE is the value it is being given.
113230 # PARAMS is the parameter list in the macro definition--in most cases, it's
113231 # just an empty string.
113232 ac_dA='s,^\\([   #]*\\)[^        ]*\\([  ]*'
113233 ac_dB='\\)[      (].*,\\1define\\2'
113234 ac_dC=' '
113235 ac_dD=' ,'
113236
113237 uniq confdefs.h |
113238   sed -n '
113239         t rset
113240         :rset
113241         s/^[     ]*#[    ]*define[       ][      ]*//
113242         t ok
113243         d
113244         :ok
113245         s/[\\&,]/\\&/g
113246         s/^\('"$ac_word_re"'\)\(([^()]*)\)[      ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
113247         s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
113248   ' >>conftest.defines
113249
113250 # Remove the space that was appended to ease matching.
113251 # Then replace #undef with comments.  This is necessary, for
113252 # example, in the case of _POSIX_SOURCE, which is predefined and required
113253 # on some systems where configure will not decide to define it.
113254 # (The regexp can be short, since the line contains either #define or #undef.)
113255 echo 's/ $//
113256 s,^[     #]*u.*,/* & */,' >>conftest.defines
113257
113258 # Break up conftest.defines:
113259 ac_max_sed_lines=50
113260
113261 # First sed command is:  sed -f defines.sed $ac_file_inputs >"$tmp/out1"
113262 # Second one is:         sed -f defines.sed "$tmp/out1" >"$tmp/out2"
113263 # Third one will be:     sed -f defines.sed "$tmp/out2" >"$tmp/out1"
113264 # et cetera.
113265 ac_in='$ac_file_inputs'
113266 ac_out='"$tmp/out1"'
113267 ac_nxt='"$tmp/out2"'
113268
113269 while :
113270 do
113271   # Write a here document:
113272     cat >>$CONFIG_STATUS <<_ACEOF
113273     # First, check the format of the line:
113274     cat >"\$tmp/defines.sed" <<\\CEOF
113275 /^[      ]*#[    ]*undef[        ][      ]*$ac_word_re[  ]*\$/b def
113276 /^[      ]*#[    ]*define[       ][      ]*$ac_word_re[(         ]/b def
113277 b
113278 :def
113279 _ACEOF
113280   sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
113281   echo 'CEOF
113282     sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
113283   ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
113284   sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
113285   grep . conftest.tail >/dev/null || break
113286   rm -f conftest.defines
113287   mv conftest.tail conftest.defines
113288 done
113289 rm -f conftest.defines conftest.tail
113290
113291 echo "ac_result=$ac_in" >>$CONFIG_STATUS
113292 cat >>$CONFIG_STATUS <<\_ACEOF
113293   if test x"$ac_file" != x-; then
113294     echo "/* $configure_input  */" >"$tmp/config.h"
113295     cat "$ac_result" >>"$tmp/config.h"
113296     if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
113297       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
113298 echo "$as_me: $ac_file is unchanged" >&6;}
113299     else
113300       rm -f $ac_file
113301       mv "$tmp/config.h" $ac_file
113302     fi
113303   else
113304     echo "/* $configure_input  */"
113305     cat "$ac_result"
113306   fi
113307   rm -f "$tmp/out12"
113308 # Compute $ac_file's index in $config_headers.
113309 _am_stamp_count=1
113310 for _am_header in $config_headers :; do
113311   case $_am_header in
113312     $ac_file | $ac_file:* )
113313       break ;;
113314     * )
113315       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
113316   esac
113317 done
113318 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
113319 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
113320          X$ac_file : 'X\(//\)[^/]' \| \
113321          X$ac_file : 'X\(//\)$' \| \
113322          X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
113323 echo X$ac_file |
113324     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
113325             s//\1/
113326             q
113327           }
113328           /^X\(\/\/\)[^/].*/{
113329             s//\1/
113330             q
113331           }
113332           /^X\(\/\/\)$/{
113333             s//\1/
113334             q
113335           }
113336           /^X\(\/\).*/{
113337             s//\1/
113338             q
113339           }
113340           s/.*/./; q'`/stamp-h$_am_stamp_count
113341  ;;
113342
113343   :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
113344 echo "$as_me: executing $ac_file commands" >&6;}
113345  ;;
113346   esac
113347
113348
113349   case $ac_file$ac_mode in
113350     "default-1":C)
113351 # Only add multilib support code if we just rebuilt the top-level
113352 # Makefile.
113353 case " $CONFIG_FILES " in
113354  *" Makefile "*)
113355    ac_file=Makefile . ${multi_basedir}/config-ml.in
113356    ;;
113357 esac ;;
113358     "libtool":C)
113359
113360     # See if we are running on zsh, and set the options which allow our
113361     # commands through without removal of \ escapes.
113362     if test -n "${ZSH_VERSION+set}" ; then
113363       setopt NO_GLOB_SUBST
113364     fi
113365
113366     cfgfile="${ofile}T"
113367     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
113368     $RM "$cfgfile"
113369
113370     cat <<_LT_EOF >> "$cfgfile"
113371 #! $SHELL
113372
113373 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
113374 # Generated automatically by $as_me (GNU $PACKAGE$TIMESTAMP) $VERSION
113375 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
113376 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
113377 #
113378 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
113379 # 2006, 2007 Free Software Foundation, Inc.
113380 #
113381 # This file is part of GNU Libtool:
113382 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
113383 #
113384 # This program is free software; you can redistribute it and/or modify
113385 # it under the terms of the GNU General Public License as published by
113386 # the Free Software Foundation; either version 2 of the License, or
113387 # (at your option) any later version.
113388 #
113389 # This program is distributed in the hope that it will be useful, but
113390 # WITHOUT ANY WARRANTY; without even the implied warranty of
113391 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
113392 # General Public License for more details.
113393 #
113394 # You should have received a copy of the GNU General Public License
113395 # along with this program; if not, a copy can be downloaded from
113396 # http://www.gnu.org/copyleft/gpl.html, or by writing to the Free
113397 # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
113398 # MA 02110-1301, USA.
113399 #
113400 # As a special exception to the GNU General Public License, if you
113401 # distribute this file as part of a program that contains a
113402 # configuration script generated by Autoconf, you may include it under
113403 # the same distribution terms that you use for the rest of that program.
113404
113405
113406 # The names of the tagged configurations supported by this script.
113407 available_tags="CXX "
113408
113409 # ### BEGIN LIBTOOL CONFIG
113410
113411 # Which release of libtool.m4 was used?
113412 macro_version=$macro_version
113413 macro_revision=$macro_revision
113414
113415 # Whether or not to build shared libraries.
113416 build_libtool_libs=$enable_shared
113417
113418 # Whether or not to build static libraries.
113419 build_old_libs=$enable_static
113420
113421 # What type of objects to build.
113422 pic_mode=$pic_mode
113423
113424 # Whether or not to optimize for fast installation.
113425 fast_install=$enable_fast_install
113426
113427 # The host system.
113428 host_alias=$host_alias
113429 host=$host
113430 host_os=$host_os
113431
113432 # The build system.
113433 build_alias=$build_alias
113434 build=$build
113435 build_os=$build_os
113436
113437 # A sed program that does not truncate output.
113438 SED=$lt_SED
113439
113440 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
113441 Xsed="\$SED -e 1s/^X//"
113442
113443 # A grep program that handles long lines.
113444 GREP=$lt_GREP
113445
113446 # An ERE matcher.
113447 EGREP=$lt_EGREP
113448
113449 # A literal string matcher.
113450 FGREP=$lt_FGREP
113451
113452 # A BSD- or MS-compatible name lister.
113453 NM=$lt_NM
113454
113455 # Whether we need soft or hard links.
113456 LN_S=$lt_LN_S
113457
113458 # What is the maximum length of a command?
113459 max_cmd_len=$max_cmd_len
113460
113461 # Object file suffix (normally "o").
113462 objext=$ac_objext
113463
113464 # Executable file suffix (normally "").
113465 exeext=$exeext
113466
113467 # whether the shell understands "unset".
113468 lt_unset=$lt_unset
113469
113470 # turn spaces into newlines.
113471 SP2NL=$lt_lt_SP2NL
113472
113473 # turn newlines into spaces.
113474 NL2SP=$lt_lt_NL2SP
113475
113476 # How to create reloadable object files.
113477 reload_flag=$lt_reload_flag
113478 reload_cmds=$lt_reload_cmds
113479
113480 # Method to check whether dependent libraries are shared objects.
113481 deplibs_check_method=$lt_deplibs_check_method
113482
113483 # Command to use when deplibs_check_method == "file_magic".
113484 file_magic_cmd=$lt_file_magic_cmd
113485
113486 # The archiver.
113487 AR=$lt_AR
113488 AR_FLAGS=$lt_AR_FLAGS
113489
113490 # A symbol stripping program.
113491 STRIP=$lt_STRIP
113492
113493 # Commands used to install an old-style archive.
113494 RANLIB=$lt_RANLIB
113495 old_postinstall_cmds=$lt_old_postinstall_cmds
113496 old_postuninstall_cmds=$lt_old_postuninstall_cmds
113497
113498 # A C compiler.
113499 LTCC=$lt_CC
113500
113501 # LTCC compiler flags.
113502 LTCFLAGS=$lt_CFLAGS
113503
113504 # Take the output of nm and produce a listing of raw symbols and C names.
113505 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
113506
113507 # Transform the output of nm in a proper C declaration.
113508 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
113509
113510 # Transform the output of nm in a C name address pair.
113511 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
113512
113513 # The name of the directory that contains temporary libtool files.
113514 objdir=$objdir
113515
113516 # Shell to use when invoking shell scripts.
113517 SHELL=$lt_SHELL
113518
113519 # An echo program that does not interpret backslashes.
113520 ECHO=$lt_ECHO
113521
113522 # Used to examine libraries when file_magic_cmd begins with "file".
113523 MAGIC_CMD=$MAGIC_CMD
113524
113525 # Must we lock files when doing compilation?
113526 need_locks=$lt_need_locks
113527
113528 # Old archive suffix (normally "a").
113529 libext=$libext
113530
113531 # Shared library suffix (normally ".so").
113532 shrext_cmds=$lt_shrext_cmds
113533
113534 # The commands to extract the exported symbol list from a shared archive.
113535 extract_expsyms_cmds=$lt_extract_expsyms_cmds
113536
113537 # Variables whose values should be saved in libtool wrapper scripts and
113538 # restored at link time.
113539 variables_saved_for_relink=$lt_variables_saved_for_relink
113540
113541 # Do we need the "lib" prefix for modules?
113542 need_lib_prefix=$need_lib_prefix
113543
113544 # Do we need a version for libraries?
113545 need_version=$need_version
113546
113547 # Library versioning type.
113548 version_type=$version_type
113549
113550 # Shared library runtime path variable.
113551 runpath_var=$runpath_var
113552
113553 # Shared library path variable.
113554 shlibpath_var=$shlibpath_var
113555
113556 # Is shlibpath searched before the hard-coded library search path?
113557 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
113558
113559 # Format of library name prefix.
113560 libname_spec=$lt_libname_spec
113561
113562 # List of archive names.  First name is the real one, the rest are links.
113563 # The last name is the one that the linker finds with -lNAME
113564 library_names_spec=$lt_library_names_spec
113565
113566 # The coded name of the library, if different from the real name.
113567 soname_spec=$lt_soname_spec
113568
113569 # Command to use after installation of a shared archive.
113570 postinstall_cmds=$lt_postinstall_cmds
113571
113572 # Command to use after uninstallation of a shared archive.
113573 postuninstall_cmds=$lt_postuninstall_cmds
113574
113575 # Commands used to finish a libtool library installation in a directory.
113576 finish_cmds=$lt_finish_cmds
113577
113578 # As "finish_cmds", except a single script fragment to be evaled but
113579 # not shown.
113580 finish_eval=$lt_finish_eval
113581
113582 # Whether we should hardcode library paths into libraries.
113583 hardcode_into_libs=$hardcode_into_libs
113584
113585 # Compile-time system search path for libraries.
113586 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
113587
113588 # Run-time system search path for libraries.
113589 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
113590
113591 # Whether dlopen is supported.
113592 dlopen_support=$enable_dlopen
113593
113594 # Whether dlopen of programs is supported.
113595 dlopen_self=$enable_dlopen_self
113596
113597 # Whether dlopen of statically linked programs is supported.
113598 dlopen_self_static=$enable_dlopen_self_static
113599
113600 # Commands to strip libraries.
113601 old_striplib=$lt_old_striplib
113602 striplib=$lt_striplib
113603
113604
113605 # The linker used to build libraries.
113606 LD=$lt_LD
113607
113608 # Commands used to build an old-style archive.
113609 old_archive_cmds=$lt_old_archive_cmds
113610
113611 # A language specific compiler.
113612 CC=$lt_compiler
113613
113614 # Is the compiler the GNU compiler?
113615 with_gcc=$GCC
113616
113617 # Compiler flag to turn off builtin functions.
113618 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
113619
113620 # How to pass a linker flag through the compiler.
113621 wl=$lt_lt_prog_compiler_wl
113622
113623 # Additional compiler flags for building library objects.
113624 pic_flag=$lt_lt_prog_compiler_pic
113625
113626 # Compiler flag to prevent dynamic linking.
113627 link_static_flag=$lt_lt_prog_compiler_static
113628
113629 # Does compiler simultaneously support -c and -o options?
113630 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
113631
113632 # Whether or not to add -lc for building shared libraries.
113633 build_libtool_need_lc=$archive_cmds_need_lc
113634
113635 # Whether or not to disallow shared libs when runtime libs are static.
113636 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
113637
113638 # Compiler flag to allow reflexive dlopens.
113639 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
113640
113641 # Compiler flag to generate shared objects directly from archives.
113642 whole_archive_flag_spec=$lt_whole_archive_flag_spec
113643
113644 # Whether the compiler copes with passing no objects directly.
113645 compiler_needs_object=$lt_compiler_needs_object
113646
113647 # Create an old-style archive from a shared archive.
113648 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
113649
113650 # Create a temporary old-style archive to link instead of a shared archive.
113651 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
113652
113653 # Commands used to build a shared archive.
113654 archive_cmds=$lt_archive_cmds
113655 archive_expsym_cmds=$lt_archive_expsym_cmds
113656
113657 # Commands used to build a loadable module if different from building
113658 # a shared archive.
113659 module_cmds=$lt_module_cmds
113660 module_expsym_cmds=$lt_module_expsym_cmds
113661
113662 # Whether we are building with GNU ld or not.
113663 with_gnu_ld=$lt_with_gnu_ld
113664
113665 # Flag that allows shared libraries with undefined symbols to be built.
113666 allow_undefined_flag=$lt_allow_undefined_flag
113667
113668 # Flag that enforces no undefined symbols.
113669 no_undefined_flag=$lt_no_undefined_flag
113670
113671 # Flag to hardcode \$libdir into a binary during linking.
113672 # This must work even if \$libdir does not exist
113673 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
113674
113675 # If ld is used when linking, flag to hardcode \$libdir into a binary
113676 # during linking.  This must work even if \$libdir does not exist.
113677 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
113678
113679 # Whether we need a single "-rpath" flag with a separated argument.
113680 hardcode_libdir_separator=$lt_hardcode_libdir_separator
113681
113682 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
113683 # DIR into the resulting binary.
113684 hardcode_direct=$hardcode_direct
113685
113686 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
113687 # DIR into the resulting binary and the resulting library dependency is
113688 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
113689 # library is relocated.
113690 hardcode_direct_absolute=$hardcode_direct_absolute
113691
113692 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
113693 # into the resulting binary.
113694 hardcode_minus_L=$hardcode_minus_L
113695
113696 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
113697 # into the resulting binary.
113698 hardcode_shlibpath_var=$hardcode_shlibpath_var
113699
113700 # Set to "yes" if building a shared library automatically hardcodes DIR
113701 # into the library and all subsequent libraries and executables linked
113702 # against it.
113703 hardcode_automatic=$hardcode_automatic
113704
113705 # Set to yes if linker adds runtime paths of dependent libraries
113706 # to runtime path list.
113707 inherit_rpath=$inherit_rpath
113708
113709 # Whether libtool must link a program against all its dependency libraries.
113710 link_all_deplibs=$link_all_deplibs
113711
113712 # Fix the shell variable \$srcfile for the compiler.
113713 fix_srcfile_path=$lt_fix_srcfile_path
113714
113715 # Set to "yes" if exported symbols are required.
113716 always_export_symbols=$always_export_symbols
113717
113718 # The commands to list exported symbols.
113719 export_symbols_cmds=$lt_export_symbols_cmds
113720
113721 # Symbols that should not be listed in the preloaded symbols.
113722 exclude_expsyms=$lt_exclude_expsyms
113723
113724 # Symbols that must always be exported.
113725 include_expsyms=$lt_include_expsyms
113726
113727 # Commands necessary for linking programs (against libraries) with templates.
113728 prelink_cmds=$lt_prelink_cmds
113729
113730 # Specify filename containing input files.
113731 file_list_spec=$lt_file_list_spec
113732
113733 # How to hardcode a shared library path into an executable.
113734 hardcode_action=$hardcode_action
113735
113736 # Dependencies to place before and after the objects being linked to
113737 # create a shared library.
113738 predep_objects=$lt_predep_objects
113739 postdep_objects=$lt_postdep_objects
113740 predeps=$lt_predeps
113741 postdeps=$lt_postdeps
113742
113743 # The library search path used internally by the compiler when linking
113744 # a shared library.
113745 compiler_lib_search_path=$lt_compiler_lib_search_path
113746
113747 # ### END LIBTOOL CONFIG
113748
113749 _LT_EOF
113750
113751   case $host_os in
113752   aix3*)
113753     cat <<\_LT_EOF >> "$cfgfile"
113754 # AIX sometimes has problems with the GCC collect2 program.  For some
113755 # reason, if we set the COLLECT_NAMES environment variable, the problems
113756 # vanish in a puff of smoke.
113757 if test "X${COLLECT_NAMES+set}" != Xset; then
113758   COLLECT_NAMES=
113759   export COLLECT_NAMES
113760 fi
113761 _LT_EOF
113762     ;;
113763   esac
113764
113765
113766 ltmain="$ac_aux_dir/ltmain.sh"
113767
113768
113769   # We use sed instead of cat because bash on DJGPP gets confused if
113770   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
113771   # text mode, it properly converts lines to CR/LF.  This bash problem
113772   # is reportedly fixed, but why not run on old versions too?
113773   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
113774     || (rm -f "$cfgfile"; exit 1)
113775
113776   case $xsi_shell in
113777   yes)
113778     cat << \_LT_EOF >> "$cfgfile"
113779 # func_dirname file append nondir_replacement
113780 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
113781 # otherwise set result to NONDIR_REPLACEMENT.
113782 func_dirname ()
113783 {
113784   case ${1} in
113785     */*) func_dirname_result="${1%/*}${2}" ;;
113786     *  ) func_dirname_result="${3}" ;;
113787   esac
113788 }
113789
113790 # func_basename file
113791 func_basename ()
113792 {
113793   func_basename_result="${1##*/}"
113794 }
113795
113796 # func_stripname prefix suffix name
113797 # strip PREFIX and SUFFIX off of NAME.
113798 # PREFIX and SUFFIX must not contain globbing or regex special
113799 # characters, hashes, percent signs, but SUFFIX may contain a leading
113800 # dot (in which case that matches only a dot).
113801 func_stripname ()
113802 {
113803   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
113804   # positional parameters, so assign one to ordinary parameter first.
113805   func_stripname_result=${3}
113806   func_stripname_result=${func_stripname_result#"${1}"}
113807   func_stripname_result=${func_stripname_result%"${2}"}
113808 }
113809
113810 # func_opt_split
113811 func_opt_split ()
113812 {
113813   func_opt_split_opt=${1%%=*}
113814   func_opt_split_arg=${1#*=}
113815 }
113816
113817 # func_lo2o object
113818 func_lo2o ()
113819 {
113820   case ${1} in
113821     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
113822     *)    func_lo2o_result=${1} ;;
113823   esac
113824 }
113825 _LT_EOF
113826     ;;
113827   *) # Bourne compatible functions.
113828     cat << \_LT_EOF >> "$cfgfile"
113829 # func_dirname file append nondir_replacement
113830 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
113831 # otherwise set result to NONDIR_REPLACEMENT.
113832 func_dirname ()
113833 {
113834   # Extract subdirectory from the argument.
113835   func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
113836   if test "X$func_dirname_result" = "X${1}"; then
113837     func_dirname_result="${3}"
113838   else
113839     func_dirname_result="$func_dirname_result${2}"
113840   fi
113841 }
113842
113843 # func_basename file
113844 func_basename ()
113845 {
113846   func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
113847 }
113848
113849 # func_stripname prefix suffix name
113850 # strip PREFIX and SUFFIX off of NAME.
113851 # PREFIX and SUFFIX must not contain globbing or regex special
113852 # characters, hashes, percent signs, but SUFFIX may contain a leading
113853 # dot (in which case that matches only a dot).
113854 # func_strip_suffix prefix name
113855 func_stripname ()
113856 {
113857   case ${2} in
113858     .*) func_stripname_result=`$ECHO "X${3}" \
113859            | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
113860     *)  func_stripname_result=`$ECHO "X${3}" \
113861            | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
113862   esac
113863 }
113864
113865 # sed scripts:
113866 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
113867 my_sed_long_arg='1s/^-[^=]*=//'
113868
113869 # func_opt_split
113870 func_opt_split ()
113871 {
113872   func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
113873   func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
113874 }
113875
113876 # func_lo2o object
113877 func_lo2o ()
113878 {
113879   func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
113880 }
113881 _LT_EOF
113882 esac
113883
113884 case $lt_shell_append in
113885   yes)
113886     cat << \_LT_EOF >> "$cfgfile"
113887
113888 # func_append var value
113889 # Append VALUE to the end of shell variable VAR.
113890 func_append ()
113891 {
113892   eval "$1+=\$2"
113893 }
113894 _LT_EOF
113895     ;;
113896   *)
113897     cat << \_LT_EOF >> "$cfgfile"
113898
113899 # func_append var value
113900 # Append VALUE to the end of shell variable VAR.
113901 func_append ()
113902 {
113903   eval "$1=\$$1\$2"
113904 }
113905 _LT_EOF
113906     ;;
113907   esac
113908
113909
113910   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
113911     || (rm -f "$cfgfile"; exit 1)
113912
113913   mv -f "$cfgfile" "$ofile" ||
113914     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
113915   chmod +x "$ofile"
113916
113917
113918     cat <<_LT_EOF >> "$ofile"
113919
113920 # ### BEGIN LIBTOOL TAG CONFIG: CXX
113921
113922 # The linker used to build libraries.
113923 LD=$lt_LD_CXX
113924
113925 # Commands used to build an old-style archive.
113926 old_archive_cmds=$lt_old_archive_cmds_CXX
113927
113928 # A language specific compiler.
113929 CC=$lt_compiler_CXX
113930
113931 # Is the compiler the GNU compiler?
113932 with_gcc=$GCC_CXX
113933
113934 # Compiler flag to turn off builtin functions.
113935 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
113936
113937 # How to pass a linker flag through the compiler.
113938 wl=$lt_lt_prog_compiler_wl_CXX
113939
113940 # Additional compiler flags for building library objects.
113941 pic_flag=$lt_lt_prog_compiler_pic_CXX
113942
113943 # Compiler flag to prevent dynamic linking.
113944 link_static_flag=$lt_lt_prog_compiler_static_CXX
113945
113946 # Does compiler simultaneously support -c and -o options?
113947 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
113948
113949 # Whether or not to add -lc for building shared libraries.
113950 build_libtool_need_lc=$archive_cmds_need_lc_CXX
113951
113952 # Whether or not to disallow shared libs when runtime libs are static.
113953 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
113954
113955 # Compiler flag to allow reflexive dlopens.
113956 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
113957
113958 # Compiler flag to generate shared objects directly from archives.
113959 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
113960
113961 # Whether the compiler copes with passing no objects directly.
113962 compiler_needs_object=$lt_compiler_needs_object_CXX
113963
113964 # Create an old-style archive from a shared archive.
113965 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
113966
113967 # Create a temporary old-style archive to link instead of a shared archive.
113968 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
113969
113970 # Commands used to build a shared archive.
113971 archive_cmds=$lt_archive_cmds_CXX
113972 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
113973
113974 # Commands used to build a loadable module if different from building
113975 # a shared archive.
113976 module_cmds=$lt_module_cmds_CXX
113977 module_expsym_cmds=$lt_module_expsym_cmds_CXX
113978
113979 # Whether we are building with GNU ld or not.
113980 with_gnu_ld=$lt_with_gnu_ld_CXX
113981
113982 # Flag that allows shared libraries with undefined symbols to be built.
113983 allow_undefined_flag=$lt_allow_undefined_flag_CXX
113984
113985 # Flag that enforces no undefined symbols.
113986 no_undefined_flag=$lt_no_undefined_flag_CXX
113987
113988 # Flag to hardcode \$libdir into a binary during linking.
113989 # This must work even if \$libdir does not exist
113990 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
113991
113992 # If ld is used when linking, flag to hardcode \$libdir into a binary
113993 # during linking.  This must work even if \$libdir does not exist.
113994 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
113995
113996 # Whether we need a single "-rpath" flag with a separated argument.
113997 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
113998
113999 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
114000 # DIR into the resulting binary.
114001 hardcode_direct=$hardcode_direct_CXX
114002
114003 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
114004 # DIR into the resulting binary and the resulting library dependency is
114005 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
114006 # library is relocated.
114007 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
114008
114009 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
114010 # into the resulting binary.
114011 hardcode_minus_L=$hardcode_minus_L_CXX
114012
114013 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
114014 # into the resulting binary.
114015 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
114016
114017 # Set to "yes" if building a shared library automatically hardcodes DIR
114018 # into the library and all subsequent libraries and executables linked
114019 # against it.
114020 hardcode_automatic=$hardcode_automatic_CXX
114021
114022 # Set to yes if linker adds runtime paths of dependent libraries
114023 # to runtime path list.
114024 inherit_rpath=$inherit_rpath_CXX
114025
114026 # Whether libtool must link a program against all its dependency libraries.
114027 link_all_deplibs=$link_all_deplibs_CXX
114028
114029 # Fix the shell variable \$srcfile for the compiler.
114030 fix_srcfile_path=$lt_fix_srcfile_path_CXX
114031
114032 # Set to "yes" if exported symbols are required.
114033 always_export_symbols=$always_export_symbols_CXX
114034
114035 # The commands to list exported symbols.
114036 export_symbols_cmds=$lt_export_symbols_cmds_CXX
114037
114038 # Symbols that should not be listed in the preloaded symbols.
114039 exclude_expsyms=$lt_exclude_expsyms_CXX
114040
114041 # Symbols that must always be exported.
114042 include_expsyms=$lt_include_expsyms_CXX
114043
114044 # Commands necessary for linking programs (against libraries) with templates.
114045 prelink_cmds=$lt_prelink_cmds_CXX
114046
114047 # Specify filename containing input files.
114048 file_list_spec=$lt_file_list_spec_CXX
114049
114050 # How to hardcode a shared library path into an executable.
114051 hardcode_action=$hardcode_action_CXX
114052
114053 # Dependencies to place before and after the objects being linked to
114054 # create a shared library.
114055 predep_objects=$lt_predep_objects_CXX
114056 postdep_objects=$lt_postdep_objects_CXX
114057 predeps=$lt_predeps_CXX
114058 postdeps=$lt_postdeps_CXX
114059
114060 # The library search path used internally by the compiler when linking
114061 # a shared library.
114062 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
114063
114064 # ### END LIBTOOL TAG CONFIG: CXX
114065 _LT_EOF
114066
114067  ;;
114068     "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
114069     "default":C) if test -n "$CONFIG_FILES"; then
114070    # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
114071    # that multilib installs will end up installed in the correct place.
114072    # The testsuite needs it for multilib-aware ABI baseline files.
114073    # To work around this not being passed down from config-ml.in ->
114074    # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
114075    # append it here.  Only modify Makefiles that have just been created.
114076    #
114077    # Also, get rid of this simulated-VPATH thing that automake does.
114078    cat > vpsed << \_EOF
114079 s!`test -f '$<' || echo '$(srcdir)/'`!!
114080 _EOF
114081    for i in $SUBDIRS; do
114082     case $CONFIG_FILES in
114083      *${i}/Makefile*)
114084        #echo "Adding MULTISUBDIR to $i/Makefile"
114085        sed -f vpsed $i/Makefile > tmp
114086        grep '^MULTISUBDIR =' Makefile >> tmp
114087        mv tmp $i/Makefile
114088        ;;
114089     esac
114090    done
114091    rm vpsed
114092  fi
114093  (cd include && ${MAKE-make})
114094  ;;
114095
114096   esac
114097 done # for ac_tag
114098
114099
114100 { (exit 0); exit 0; }
114101 _ACEOF
114102 chmod +x $CONFIG_STATUS
114103 ac_clean_files=$ac_clean_files_save
114104
114105
114106 # configure is writing to config.log, and then calls config.status.
114107 # config.status does its own redirection, appending to config.log.
114108 # Unfortunately, on DOS this fails, as config.log is still kept open
114109 # by configure, so config.status won't be able to write to it; its
114110 # output is simply discarded.  So we exec the FD to /dev/null,
114111 # effectively closing config.log, so it can be properly (re)opened and
114112 # appended to by config.status.  When coming back to configure, we
114113 # need to make the FD available again.
114114 if test "$no_create" != yes; then
114115   ac_cs_success=:
114116   ac_config_status_args=
114117   test "$silent" = yes &&
114118     ac_config_status_args="$ac_config_status_args --quiet"
114119   exec 5>/dev/null
114120   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
114121   exec 5>>config.log
114122   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
114123   # would make configure fail if this is the last instruction.
114124   $ac_cs_success || { (exit 1); exit 1; }
114125 fi
114126