OSDN Git Service

Daily bump.
[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.64 for package-unused version-unused.
4 #
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
7 # Foundation, Inc.
8 #
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
14
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18   emulate sh
19   NULLCMD=:
20   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21   # is contrary to our usage.  Disable this feature.
22   alias -g '${1+"$@"}'='"$@"'
23   setopt NO_GLOB_SUBST
24 else
25   case `(set -o) 2>/dev/null` in #(
26   *posix*) :
27     set -o posix ;; #(
28   *) :
29      ;;
30 esac
31 fi
32
33
34 as_nl='
35 '
36 export as_nl
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45   as_echo='print -r --'
46   as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48   as_echo='printf %s\n'
49   as_echo_n='printf %s'
50 else
51   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53     as_echo_n='/usr/ucb/echo -n'
54   else
55     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56     as_echo_n_body='eval
57       arg=$1;
58       case $arg in #(
59       *"$as_nl"*)
60         expr "X$arg" : "X\\(.*\\)$as_nl";
61         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62       esac;
63       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
64     '
65     export as_echo_n_body
66     as_echo_n='sh -c $as_echo_n_body as_echo'
67   fi
68   export as_echo_body
69   as_echo='sh -c $as_echo_body as_echo'
70 fi
71
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74   PATH_SEPARATOR=:
75   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77       PATH_SEPARATOR=';'
78   }
79 fi
80
81
82 # IFS
83 # We need space, tab and new line, in precisely that order.  Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
87 IFS=" ""        $as_nl"
88
89 # Find who we are.  Look in the path if we contain no directory separator.
90 case $0 in #((
91   *[\\/]* ) as_myself=$0 ;;
92   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
93 for as_dir in $PATH
94 do
95   IFS=$as_save_IFS
96   test -z "$as_dir" && as_dir=.
97     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
98   done
99 IFS=$as_save_IFS
100
101      ;;
102 esac
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x; then
106   as_myself=$0
107 fi
108 if test ! -f "$as_myself"; then
109   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
110   exit 1
111 fi
112
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there.  '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\${$as_var+set} = xset \
119   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
120 done
121 PS1='$ '
122 PS2='> '
123 PS4='+ '
124
125 # NLS nuisances.
126 LC_ALL=C
127 export LC_ALL
128 LANGUAGE=C
129 export LANGUAGE
130
131 # CDPATH.
132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
133
134 if test "x$CONFIG_SHELL" = x; then
135   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
136   emulate sh
137   NULLCMD=:
138   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139   # is contrary to our usage.  Disable this feature.
140   alias -g '\${1+\"\$@\"}'='\"\$@\"'
141   setopt NO_GLOB_SUBST
142 else
143   case \`(set -o) 2>/dev/null\` in #(
144   *posix*) :
145     set -o posix ;; #(
146   *) :
147      ;;
148 esac
149 fi
150 "
151   as_required="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
156
157 exitcode=0
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
163
164 else
165   exitcode=1; echo positional parameters were not saved.
166 fi
167 test x\$exitcode = x0 || exit 1"
168   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
169   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
170   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1"
173   if (eval "$as_required") 2>/dev/null; then :
174   as_have_required=yes
175 else
176   as_have_required=no
177 fi
178   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
179
180 else
181   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
182 as_found=false
183 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
184 do
185   IFS=$as_save_IFS
186   test -z "$as_dir" && as_dir=.
187   as_found=:
188   case $as_dir in #(
189          /*)
190            for as_base in sh bash ksh sh5; do
191              # Try only shells that exist, to save several forks.
192              as_shell=$as_dir/$as_base
193              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
194                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
195   CONFIG_SHELL=$as_shell as_have_required=yes
196                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
197   break 2
198 fi
199 fi
200            done;;
201        esac
202   as_found=false
203 done
204 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
205               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
206   CONFIG_SHELL=$SHELL as_have_required=yes
207 fi; }
208 IFS=$as_save_IFS
209
210
211       if test "x$CONFIG_SHELL" != x; then :
212   # We cannot yet assume a decent shell, so we have to provide a
213         # neutralization value for shells without unset; and this also
214         # works around shells that cannot unset nonexistent variables.
215         BASH_ENV=/dev/null
216         ENV=/dev/null
217         (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
218         export CONFIG_SHELL
219         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
220 fi
221
222     if test x$as_have_required = xno; then :
223   $as_echo "$0: This script requires a shell more modern than all"
224   $as_echo "$0: the shells that I found on your system."
225   if test x${ZSH_VERSION+set} = xset ; then
226     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
227     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
228   else
229     $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
230 $0: including any error possibly output before this
231 $0: message. Then install a modern shell, or manually run
232 $0: the script under such a shell if you do have one."
233   fi
234   exit 1
235 fi
236 fi
237 fi
238 SHELL=${CONFIG_SHELL-/bin/sh}
239 export SHELL
240 # Unset more variables known to interfere with behavior of common tools.
241 CLICOLOR_FORCE= GREP_OPTIONS=
242 unset CLICOLOR_FORCE GREP_OPTIONS
243
244 ## --------------------- ##
245 ## M4sh Shell Functions. ##
246 ## --------------------- ##
247 # as_fn_unset VAR
248 # ---------------
249 # Portably unset VAR.
250 as_fn_unset ()
251 {
252   { eval $1=; unset $1;}
253 }
254 as_unset=as_fn_unset
255
256 # as_fn_set_status STATUS
257 # -----------------------
258 # Set $? to STATUS, without forking.
259 as_fn_set_status ()
260 {
261   return $1
262 } # as_fn_set_status
263
264 # as_fn_exit STATUS
265 # -----------------
266 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
267 as_fn_exit ()
268 {
269   set +e
270   as_fn_set_status $1
271   exit $1
272 } # as_fn_exit
273
274 # as_fn_mkdir_p
275 # -------------
276 # Create "$as_dir" as a directory, including parents if necessary.
277 as_fn_mkdir_p ()
278 {
279
280   case $as_dir in #(
281   -*) as_dir=./$as_dir;;
282   esac
283   test -d "$as_dir" || eval $as_mkdir_p || {
284     as_dirs=
285     while :; do
286       case $as_dir in #(
287       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
288       *) as_qdir=$as_dir;;
289       esac
290       as_dirs="'$as_qdir' $as_dirs"
291       as_dir=`$as_dirname -- "$as_dir" ||
292 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
293          X"$as_dir" : 'X\(//\)[^/]' \| \
294          X"$as_dir" : 'X\(//\)$' \| \
295          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
296 $as_echo X"$as_dir" |
297     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
298             s//\1/
299             q
300           }
301           /^X\(\/\/\)[^/].*/{
302             s//\1/
303             q
304           }
305           /^X\(\/\/\)$/{
306             s//\1/
307             q
308           }
309           /^X\(\/\).*/{
310             s//\1/
311             q
312           }
313           s/.*/./; q'`
314       test -d "$as_dir" && break
315     done
316     test -z "$as_dirs" || eval "mkdir $as_dirs"
317   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
318
319
320 } # as_fn_mkdir_p
321 # as_fn_append VAR VALUE
322 # ----------------------
323 # Append the text in VALUE to the end of the definition contained in VAR. Take
324 # advantage of any shell optimizations that allow amortized linear growth over
325 # repeated appends, instead of the typical quadratic growth present in naive
326 # implementations.
327 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
328   eval 'as_fn_append ()
329   {
330     eval $1+=\$2
331   }'
332 else
333   as_fn_append ()
334   {
335     eval $1=\$$1\$2
336   }
337 fi # as_fn_append
338
339 # as_fn_arith ARG...
340 # ------------------
341 # Perform arithmetic evaluation on the ARGs, and store the result in the
342 # global $as_val. Take advantage of shells that can avoid forks. The arguments
343 # must be portable across $(()) and expr.
344 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
345   eval 'as_fn_arith ()
346   {
347     as_val=$(( $* ))
348   }'
349 else
350   as_fn_arith ()
351   {
352     as_val=`expr "$@" || test $? -eq 1`
353   }
354 fi # as_fn_arith
355
356
357 # as_fn_error ERROR [LINENO LOG_FD]
358 # ---------------------------------
359 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
360 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
361 # script with status $?, using 1 if that was 0.
362 as_fn_error ()
363 {
364   as_status=$?; test $as_status -eq 0 && as_status=1
365   if test "$3"; then
366     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
367     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
368   fi
369   $as_echo "$as_me: error: $1" >&2
370   as_fn_exit $as_status
371 } # as_fn_error
372
373 if expr a : '\(a\)' >/dev/null 2>&1 &&
374    test "X`expr 00001 : '.*\(...\)'`" = X001; then
375   as_expr=expr
376 else
377   as_expr=false
378 fi
379
380 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
381   as_basename=basename
382 else
383   as_basename=false
384 fi
385
386 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
387   as_dirname=dirname
388 else
389   as_dirname=false
390 fi
391
392 as_me=`$as_basename -- "$0" ||
393 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
394          X"$0" : 'X\(//\)$' \| \
395          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
396 $as_echo X/"$0" |
397     sed '/^.*\/\([^/][^/]*\)\/*$/{
398             s//\1/
399             q
400           }
401           /^X\/\(\/\/\)$/{
402             s//\1/
403             q
404           }
405           /^X\/\(\/\).*/{
406             s//\1/
407             q
408           }
409           s/.*/./; q'`
410
411 # Avoid depending upon Character Ranges.
412 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
413 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
414 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
415 as_cr_digits='0123456789'
416 as_cr_alnum=$as_cr_Letters$as_cr_digits
417
418
419   as_lineno_1=$LINENO as_lineno_1a=$LINENO
420   as_lineno_2=$LINENO as_lineno_2a=$LINENO
421   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
422   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
423   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
424   sed -n '
425     p
426     /[$]LINENO/=
427   ' <$as_myself |
428     sed '
429       s/[$]LINENO.*/&-/
430       t lineno
431       b
432       :lineno
433       N
434       :loop
435       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
436       t loop
437       s/-\n.*//
438     ' >$as_me.lineno &&
439   chmod +x "$as_me.lineno" ||
440     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
441
442   # Don't try to exec as it changes $[0], causing all sort of problems
443   # (the dirname of $[0] is not the place where we might find the
444   # original and so on.  Autoconf is especially sensitive to this).
445   . "./$as_me.lineno"
446   # Exit status is that of the last command.
447   exit
448 }
449
450 ECHO_C= ECHO_N= ECHO_T=
451 case `echo -n x` in #(((((
452 -n*)
453   case `echo 'xy\c'` in
454   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
455   xy)  ECHO_C='\c';;
456   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
457        ECHO_T=' ';;
458   esac;;
459 *)
460   ECHO_N='-n';;
461 esac
462
463 rm -f conf$$ conf$$.exe conf$$.file
464 if test -d conf$$.dir; then
465   rm -f conf$$.dir/conf$$.file
466 else
467   rm -f conf$$.dir
468   mkdir conf$$.dir 2>/dev/null
469 fi
470 if (echo >conf$$.file) 2>/dev/null; then
471   if ln -s conf$$.file conf$$ 2>/dev/null; then
472     as_ln_s='ln -s'
473     # ... but there are two gotchas:
474     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
475     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
476     # In both cases, we have to default to `cp -p'.
477     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
478       as_ln_s='cp -p'
479   elif ln conf$$.file conf$$ 2>/dev/null; then
480     as_ln_s=ln
481   else
482     as_ln_s='cp -p'
483   fi
484 else
485   as_ln_s='cp -p'
486 fi
487 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
488 rmdir conf$$.dir 2>/dev/null
489
490 if mkdir -p . 2>/dev/null; then
491   as_mkdir_p='mkdir -p "$as_dir"'
492 else
493   test -d ./-p && rmdir ./-p
494   as_mkdir_p=false
495 fi
496
497 if test -x / >/dev/null 2>&1; then
498   as_test_x='test -x'
499 else
500   if ls -dL / >/dev/null 2>&1; then
501     as_ls_L_option=L
502   else
503     as_ls_L_option=
504   fi
505   as_test_x='
506     eval sh -c '\''
507       if test -d "$1"; then
508         test -d "$1/.";
509       else
510         case $1 in #(
511         -*)set "./$1";;
512         esac;
513         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
514         ???[sx]*):;;*)false;;esac;fi
515     '\'' sh
516   '
517 fi
518 as_executable_p=$as_test_x
519
520 # Sed expression to map a string onto a valid CPP name.
521 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
522
523 # Sed expression to map a string onto a valid variable name.
524 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
525
526
527
528 # Check that we are running under the correct shell.
529 SHELL=${CONFIG_SHELL-/bin/sh}
530
531 case X$lt_ECHO in
532 X*--fallback-echo)
533   # Remove one level of quotation (which was required for Make).
534   ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
535   ;;
536 esac
537
538 ECHO=${lt_ECHO-echo}
539 if test "X$1" = X--no-reexec; then
540   # Discard the --no-reexec flag, and continue.
541   shift
542 elif test "X$1" = X--fallback-echo; then
543   # Avoid inline document here, it may be left over
544   :
545 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
546   # Yippee, $ECHO works!
547   :
548 else
549   # Restart under the correct shell.
550   exec $SHELL "$0" --no-reexec ${1+"$@"}
551 fi
552
553 if test "X$1" = X--fallback-echo; then
554   # used as fallback echo
555   shift
556   cat <<_LT_EOF
557 $*
558 _LT_EOF
559   exit 0
560 fi
561
562 # The HP-UX ksh and POSIX shell print the target directory to stdout
563 # if CDPATH is set.
564 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
565
566 if test -z "$lt_ECHO"; then
567   if test "X${echo_test_string+set}" != Xset; then
568     # find a string as large as possible, as long as the shell can cope with it
569     for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
570       # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
571       if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
572          { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
573       then
574         break
575       fi
576     done
577   fi
578
579   if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
580      echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
581      test "X$echo_testing_string" = "X$echo_test_string"; then
582     :
583   else
584     # The Solaris, AIX, and Digital Unix default echo programs unquote
585     # backslashes.  This makes it impossible to quote backslashes using
586     #   echo "$something" | sed 's/\\/\\\\/g'
587     #
588     # So, first we look for a working echo in the user's PATH.
589
590     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
591     for dir in $PATH /usr/ucb; do
592       IFS="$lt_save_ifs"
593       if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
594          test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
595          echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
596          test "X$echo_testing_string" = "X$echo_test_string"; then
597         ECHO="$dir/echo"
598         break
599       fi
600     done
601     IFS="$lt_save_ifs"
602
603     if test "X$ECHO" = Xecho; then
604       # We didn't find a better echo, so look for alternatives.
605       if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
606          echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
607          test "X$echo_testing_string" = "X$echo_test_string"; then
608         # This shell has a builtin print -r that does the trick.
609         ECHO='print -r'
610       elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
611            test "X$CONFIG_SHELL" != X/bin/ksh; then
612         # If we have ksh, try running configure again with it.
613         ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
614         export ORIGINAL_CONFIG_SHELL
615         CONFIG_SHELL=/bin/ksh
616         export CONFIG_SHELL
617         exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
618       else
619         # Try using printf.
620         ECHO='printf %s\n'
621         if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
622            echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
623            test "X$echo_testing_string" = "X$echo_test_string"; then
624           # Cool, printf works
625           :
626         elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
627              test "X$echo_testing_string" = 'X\t' &&
628              echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
629              test "X$echo_testing_string" = "X$echo_test_string"; then
630           CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
631           export CONFIG_SHELL
632           SHELL="$CONFIG_SHELL"
633           export SHELL
634           ECHO="$CONFIG_SHELL $0 --fallback-echo"
635         elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
636              test "X$echo_testing_string" = 'X\t' &&
637              echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
638              test "X$echo_testing_string" = "X$echo_test_string"; then
639           ECHO="$CONFIG_SHELL $0 --fallback-echo"
640         else
641           # maybe with a smaller string...
642           prev=:
643
644           for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
645             if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
646             then
647               break
648             fi
649             prev="$cmd"
650           done
651
652           if test "$prev" != 'sed 50q "$0"'; then
653             echo_test_string=`eval $prev`
654             export echo_test_string
655             exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
656           else
657             # Oops.  We lost completely, so just stick with echo.
658             ECHO=echo
659           fi
660         fi
661       fi
662     fi
663   fi
664 fi
665
666 # Copy echo and quote the copy suitably for passing to libtool from
667 # the Makefile, instead of quoting the original, which is used later.
668 lt_ECHO=$ECHO
669 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
670    lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
671 fi
672
673
674
675
676 exec 7<&0 </dev/null 6>&1
677
678 # Name of the host.
679 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
680 # so uname gets run too.
681 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
682
683 #
684 # Initializations.
685 #
686 ac_default_prefix=/usr/local
687 ac_clean_files=
688 ac_config_libobj_dir=.
689 LIBOBJS=
690 cross_compiling=no
691 subdirs=
692 MFLAGS=
693 MAKEFLAGS=
694
695 # Identity of this package.
696 PACKAGE_NAME='package-unused'
697 PACKAGE_TARNAME='libstdc++'
698 PACKAGE_VERSION='version-unused'
699 PACKAGE_STRING='package-unused version-unused'
700 PACKAGE_BUGREPORT=''
701 PACKAGE_URL=''
702
703 ac_unique_file="src/ios.cc"
704 # Factoring default headers for most tests.
705 ac_includes_default="\
706 #include <stdio.h>
707 #ifdef HAVE_SYS_TYPES_H
708 # include <sys/types.h>
709 #endif
710 #ifdef HAVE_SYS_STAT_H
711 # include <sys/stat.h>
712 #endif
713 #ifdef STDC_HEADERS
714 # include <stdlib.h>
715 # include <stddef.h>
716 #else
717 # ifdef HAVE_STDLIB_H
718 #  include <stdlib.h>
719 # endif
720 #endif
721 #ifdef HAVE_STRING_H
722 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
723 #  include <memory.h>
724 # endif
725 # include <string.h>
726 #endif
727 #ifdef HAVE_STRINGS_H
728 # include <strings.h>
729 #endif
730 #ifdef HAVE_INTTYPES_H
731 # include <inttypes.h>
732 #endif
733 #ifdef HAVE_STDINT_H
734 # include <stdint.h>
735 #endif
736 #ifdef HAVE_UNISTD_H
737 # include <unistd.h>
738 #endif"
739
740 ac_subst_vars='am__EXEEXT_FALSE
741 am__EXEEXT_TRUE
742 LTLIBOBJS
743 LIBOBJS
744 LIBSUPCXX_PICFLAGS
745 WARN_FLAGS
746 OPTIMIZE_CXXFLAGS
747 TOPLEVEL_INCLUDES
748 GLIBCXX_INCLUDES
749 glibcxx_toolexeclibdir
750 glibcxx_toolexecdir
751 gxx_include_dir
752 glibcxx_prefixdir
753 ERROR_CONSTANTS_SRCDIR
754 OS_INC_SRCDIR
755 ABI_TWEAKS_SRCDIR
756 CPU_DEFINES_SRCDIR
757 ATOMIC_FLAGS
758 ATOMIC_WORD_SRCDIR
759 ATOMICITY_SRCDIR
760 baseline_dir
761 GLIBCXX_LDBL_COMPAT_FALSE
762 GLIBCXX_LDBL_COMPAT_TRUE
763 ENABLE_VISIBILITY_FALSE
764 ENABLE_VISIBILITY_TRUE
765 ENABLE_SYMVERS_DARWIN_FALSE
766 ENABLE_SYMVERS_DARWIN_TRUE
767 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
768 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
769 ENABLE_SYMVERS_GNU_FALSE
770 ENABLE_SYMVERS_GNU_TRUE
771 ENABLE_SYMVERS_FALSE
772 ENABLE_SYMVERS_TRUE
773 port_specific_symbol_files
774 SYMVER_FILE
775 LTLIBICONV
776 LIBICONV
777 OPT_LDFLAGS
778 SECTION_LDFLAGS
779 GLIBCXX_LIBS
780 EXTRA_CXX_FLAGS
781 ENABLE_PARALLEL_FALSE
782 ENABLE_PARALLEL_TRUE
783 GLIBCXX_BUILD_DEBUG_FALSE
784 GLIBCXX_BUILD_DEBUG_TRUE
785 DEBUG_FLAGS
786 GLIBCXX_C_HEADERS_EXTRA_FALSE
787 GLIBCXX_C_HEADERS_EXTRA_TRUE
788 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
789 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
790 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
791 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
792 GLIBCXX_C_HEADERS_C_STD_FALSE
793 GLIBCXX_C_HEADERS_C_STD_TRUE
794 GLIBCXX_C_HEADERS_C_FALSE
795 GLIBCXX_C_HEADERS_C_TRUE
796 C_INCLUDE_DIR
797 ALLOCATOR_NAME
798 ALLOCATOR_H
799 CLOCALE_INTERNAL_H
800 CLOCALE_CC
801 CTIME_CC
802 CTIME_H
803 CNUMERIC_CC
804 CMONEY_CC
805 CMESSAGES_CC
806 CCTYPE_CC
807 CCOLLATE_CC
808 CCODECVT_CC
809 CMESSAGES_H
810 CLOCALE_H
811 USE_NLS
812 glibcxx_localedir
813 glibcxx_POFILES
814 glibcxx_MOFILES
815 check_msgfmt
816 BASIC_FILE_CC
817 BASIC_FILE_H
818 CSTDIO_H
819 SECTION_FLAGS
820 WERROR
821 glibcxx_thread_h
822 glibcxx_PCHFLAGS
823 GLIBCXX_BUILD_PCH_FALSE
824 GLIBCXX_BUILD_PCH_TRUE
825 GLIBCXX_HOSTED_FALSE
826 GLIBCXX_HOSTED_TRUE
827 enable_static
828 enable_shared
829 CXXCPP
830 OTOOL64
831 OTOOL
832 LIPO
833 NMEDIT
834 DSYMUTIL
835 lt_ECHO
836 OBJDUMP
837 NM
838 ac_ct_DUMPBIN
839 DUMPBIN
840 LD
841 FGREP
842 SED
843 LIBTOOL
844 EGREP
845 GREP
846 CPP
847 MAINT
848 MAINTAINER_MODE_FALSE
849 MAINTAINER_MODE_TRUE
850 RANLIB
851 AR
852 AS
853 LN_S
854 toplevel_srcdir
855 glibcxx_srcdir
856 glibcxx_builddir
857 ac_ct_CXX
858 CXXFLAGS
859 CXX
860 OBJEXT
861 EXEEXT
862 ac_ct_CC
863 CPPFLAGS
864 LDFLAGS
865 CFLAGS
866 CC
867 am__untar
868 am__tar
869 AMTAR
870 am__leading_dot
871 SET_MAKE
872 AWK
873 mkdir_p
874 MKDIR_P
875 INSTALL_STRIP_PROGRAM
876 STRIP
877 install_sh
878 MAKEINFO
879 AUTOHEADER
880 AUTOMAKE
881 AUTOCONF
882 ACLOCAL
883 VERSION
884 PACKAGE
885 CYGPATH_W
886 am__isrc
887 INSTALL_DATA
888 INSTALL_SCRIPT
889 INSTALL_PROGRAM
890 target_os
891 target_vendor
892 target_cpu
893 target
894 host_os
895 host_vendor
896 host_cpu
897 host
898 build_os
899 build_vendor
900 build_cpu
901 build
902 multi_basedir
903 libtool_VERSION
904 target_alias
905 host_alias
906 build_alias
907 LIBS
908 ECHO_T
909 ECHO_N
910 ECHO_C
911 DEFS
912 mandir
913 localedir
914 libdir
915 psdir
916 pdfdir
917 dvidir
918 htmldir
919 infodir
920 docdir
921 oldincludedir
922 includedir
923 localstatedir
924 sharedstatedir
925 sysconfdir
926 datadir
927 datarootdir
928 libexecdir
929 sbindir
930 bindir
931 program_transform_name
932 prefix
933 exec_prefix
934 PACKAGE_URL
935 PACKAGE_BUGREPORT
936 PACKAGE_STRING
937 PACKAGE_VERSION
938 PACKAGE_TARNAME
939 PACKAGE_NAME
940 PATH_SEPARATOR
941 SHELL'
942 ac_subst_files=''
943 ac_user_opts='
944 enable_option_checking
945 enable_multilib
946 with_target_subdir
947 with_cross_host
948 with_newlib
949 enable_maintainer_mode
950 enable_shared
951 enable_static
952 with_pic
953 enable_fast_install
954 with_gnu_ld
955 enable_libtool_lock
956 enable_hosted_libstdcxx
957 enable_sjlj_exceptions
958 enable_libstdcxx_pch
959 enable_cstdio
960 enable_clocale
961 enable_nls
962 enable_libstdcxx_allocator
963 enable_cheaders
964 enable_long_long
965 enable_wchar_t
966 enable_c99
967 enable_concept_checks
968 enable_libstdcxx_debug_flags
969 enable_libstdcxx_debug
970 enable_cxx_flags
971 enable_fully_dynamic_string
972 enable_libstdcxx_time
973 enable_tls
974 enable_rpath
975 with_libiconv_prefix
976 with_system_libunwind
977 enable_linux_futex
978 enable_symvers
979 enable_visibility
980 with_gxx_include_dir
981 enable_version_specific_runtime_libs
982 '
983       ac_precious_vars='build_alias
984 host_alias
985 target_alias
986 CPP
987 CPPFLAGS
988 CXX
989 CXXFLAGS
990 LDFLAGS
991 LIBS
992 CCC
993 CXXCPP'
994
995
996 # Initialize some variables set by options.
997 ac_init_help=
998 ac_init_version=false
999 ac_unrecognized_opts=
1000 ac_unrecognized_sep=
1001 # The variables have the same names as the options, with
1002 # dashes changed to underlines.
1003 cache_file=/dev/null
1004 exec_prefix=NONE
1005 no_create=
1006 no_recursion=
1007 prefix=NONE
1008 program_prefix=NONE
1009 program_suffix=NONE
1010 program_transform_name=s,x,x,
1011 silent=
1012 site=
1013 srcdir=
1014 verbose=
1015 x_includes=NONE
1016 x_libraries=NONE
1017
1018 # Installation directory options.
1019 # These are left unexpanded so users can "make install exec_prefix=/foo"
1020 # and all the variables that are supposed to be based on exec_prefix
1021 # by default will actually change.
1022 # Use braces instead of parens because sh, perl, etc. also accept them.
1023 # (The list follows the same order as the GNU Coding Standards.)
1024 bindir='${exec_prefix}/bin'
1025 sbindir='${exec_prefix}/sbin'
1026 libexecdir='${exec_prefix}/libexec'
1027 datarootdir='${prefix}/share'
1028 datadir='${datarootdir}'
1029 sysconfdir='${prefix}/etc'
1030 sharedstatedir='${prefix}/com'
1031 localstatedir='${prefix}/var'
1032 includedir='${prefix}/include'
1033 oldincludedir='/usr/include'
1034 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1035 infodir='${datarootdir}/info'
1036 htmldir='${docdir}'
1037 dvidir='${docdir}'
1038 pdfdir='${docdir}'
1039 psdir='${docdir}'
1040 libdir='${exec_prefix}/lib'
1041 localedir='${datarootdir}/locale'
1042 mandir='${datarootdir}/man'
1043
1044 ac_prev=
1045 ac_dashdash=
1046 for ac_option
1047 do
1048   # If the previous option needs an argument, assign it.
1049   if test -n "$ac_prev"; then
1050     eval $ac_prev=\$ac_option
1051     ac_prev=
1052     continue
1053   fi
1054
1055   case $ac_option in
1056   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1057   *)    ac_optarg=yes ;;
1058   esac
1059
1060   # Accept the important Cygnus configure options, so we can diagnose typos.
1061
1062   case $ac_dashdash$ac_option in
1063   --)
1064     ac_dashdash=yes ;;
1065
1066   -bindir | --bindir | --bindi | --bind | --bin | --bi)
1067     ac_prev=bindir ;;
1068   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1069     bindir=$ac_optarg ;;
1070
1071   -build | --build | --buil | --bui | --bu)
1072     ac_prev=build_alias ;;
1073   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1074     build_alias=$ac_optarg ;;
1075
1076   -cache-file | --cache-file | --cache-fil | --cache-fi \
1077   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1078     ac_prev=cache_file ;;
1079   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1080   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1081     cache_file=$ac_optarg ;;
1082
1083   --config-cache | -C)
1084     cache_file=config.cache ;;
1085
1086   -datadir | --datadir | --datadi | --datad)
1087     ac_prev=datadir ;;
1088   -datadir=* | --datadir=* | --datadi=* | --datad=*)
1089     datadir=$ac_optarg ;;
1090
1091   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1092   | --dataroo | --dataro | --datar)
1093     ac_prev=datarootdir ;;
1094   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1095   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1096     datarootdir=$ac_optarg ;;
1097
1098   -disable-* | --disable-*)
1099     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1100     # Reject names that are not valid shell variable names.
1101     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1102       as_fn_error "invalid feature name: $ac_useropt"
1103     ac_useropt_orig=$ac_useropt
1104     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1105     case $ac_user_opts in
1106       *"
1107 "enable_$ac_useropt"
1108 "*) ;;
1109       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1110          ac_unrecognized_sep=', ';;
1111     esac
1112     eval enable_$ac_useropt=no ;;
1113
1114   -docdir | --docdir | --docdi | --doc | --do)
1115     ac_prev=docdir ;;
1116   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1117     docdir=$ac_optarg ;;
1118
1119   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1120     ac_prev=dvidir ;;
1121   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1122     dvidir=$ac_optarg ;;
1123
1124   -enable-* | --enable-*)
1125     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1126     # Reject names that are not valid shell variable names.
1127     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1128       as_fn_error "invalid feature name: $ac_useropt"
1129     ac_useropt_orig=$ac_useropt
1130     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1131     case $ac_user_opts in
1132       *"
1133 "enable_$ac_useropt"
1134 "*) ;;
1135       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1136          ac_unrecognized_sep=', ';;
1137     esac
1138     eval enable_$ac_useropt=\$ac_optarg ;;
1139
1140   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1141   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1142   | --exec | --exe | --ex)
1143     ac_prev=exec_prefix ;;
1144   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1145   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1146   | --exec=* | --exe=* | --ex=*)
1147     exec_prefix=$ac_optarg ;;
1148
1149   -gas | --gas | --ga | --g)
1150     # Obsolete; use --with-gas.
1151     with_gas=yes ;;
1152
1153   -help | --help | --hel | --he | -h)
1154     ac_init_help=long ;;
1155   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1156     ac_init_help=recursive ;;
1157   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1158     ac_init_help=short ;;
1159
1160   -host | --host | --hos | --ho)
1161     ac_prev=host_alias ;;
1162   -host=* | --host=* | --hos=* | --ho=*)
1163     host_alias=$ac_optarg ;;
1164
1165   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1166     ac_prev=htmldir ;;
1167   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1168   | --ht=*)
1169     htmldir=$ac_optarg ;;
1170
1171   -includedir | --includedir | --includedi | --included | --include \
1172   | --includ | --inclu | --incl | --inc)
1173     ac_prev=includedir ;;
1174   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1175   | --includ=* | --inclu=* | --incl=* | --inc=*)
1176     includedir=$ac_optarg ;;
1177
1178   -infodir | --infodir | --infodi | --infod | --info | --inf)
1179     ac_prev=infodir ;;
1180   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1181     infodir=$ac_optarg ;;
1182
1183   -libdir | --libdir | --libdi | --libd)
1184     ac_prev=libdir ;;
1185   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1186     libdir=$ac_optarg ;;
1187
1188   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1189   | --libexe | --libex | --libe)
1190     ac_prev=libexecdir ;;
1191   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1192   | --libexe=* | --libex=* | --libe=*)
1193     libexecdir=$ac_optarg ;;
1194
1195   -localedir | --localedir | --localedi | --localed | --locale)
1196     ac_prev=localedir ;;
1197   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1198     localedir=$ac_optarg ;;
1199
1200   -localstatedir | --localstatedir | --localstatedi | --localstated \
1201   | --localstate | --localstat | --localsta | --localst | --locals)
1202     ac_prev=localstatedir ;;
1203   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1204   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1205     localstatedir=$ac_optarg ;;
1206
1207   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1208     ac_prev=mandir ;;
1209   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1210     mandir=$ac_optarg ;;
1211
1212   -nfp | --nfp | --nf)
1213     # Obsolete; use --without-fp.
1214     with_fp=no ;;
1215
1216   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1217   | --no-cr | --no-c | -n)
1218     no_create=yes ;;
1219
1220   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1221   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1222     no_recursion=yes ;;
1223
1224   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1225   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1226   | --oldin | --oldi | --old | --ol | --o)
1227     ac_prev=oldincludedir ;;
1228   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1229   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1230   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1231     oldincludedir=$ac_optarg ;;
1232
1233   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1234     ac_prev=prefix ;;
1235   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1236     prefix=$ac_optarg ;;
1237
1238   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1239   | --program-pre | --program-pr | --program-p)
1240     ac_prev=program_prefix ;;
1241   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1242   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1243     program_prefix=$ac_optarg ;;
1244
1245   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1246   | --program-suf | --program-su | --program-s)
1247     ac_prev=program_suffix ;;
1248   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1249   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1250     program_suffix=$ac_optarg ;;
1251
1252   -program-transform-name | --program-transform-name \
1253   | --program-transform-nam | --program-transform-na \
1254   | --program-transform-n | --program-transform- \
1255   | --program-transform | --program-transfor \
1256   | --program-transfo | --program-transf \
1257   | --program-trans | --program-tran \
1258   | --progr-tra | --program-tr | --program-t)
1259     ac_prev=program_transform_name ;;
1260   -program-transform-name=* | --program-transform-name=* \
1261   | --program-transform-nam=* | --program-transform-na=* \
1262   | --program-transform-n=* | --program-transform-=* \
1263   | --program-transform=* | --program-transfor=* \
1264   | --program-transfo=* | --program-transf=* \
1265   | --program-trans=* | --program-tran=* \
1266   | --progr-tra=* | --program-tr=* | --program-t=*)
1267     program_transform_name=$ac_optarg ;;
1268
1269   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1270     ac_prev=pdfdir ;;
1271   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1272     pdfdir=$ac_optarg ;;
1273
1274   -psdir | --psdir | --psdi | --psd | --ps)
1275     ac_prev=psdir ;;
1276   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1277     psdir=$ac_optarg ;;
1278
1279   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1280   | -silent | --silent | --silen | --sile | --sil)
1281     silent=yes ;;
1282
1283   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1284     ac_prev=sbindir ;;
1285   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1286   | --sbi=* | --sb=*)
1287     sbindir=$ac_optarg ;;
1288
1289   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1290   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1291   | --sharedst | --shareds | --shared | --share | --shar \
1292   | --sha | --sh)
1293     ac_prev=sharedstatedir ;;
1294   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1295   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1296   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1297   | --sha=* | --sh=*)
1298     sharedstatedir=$ac_optarg ;;
1299
1300   -site | --site | --sit)
1301     ac_prev=site ;;
1302   -site=* | --site=* | --sit=*)
1303     site=$ac_optarg ;;
1304
1305   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1306     ac_prev=srcdir ;;
1307   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1308     srcdir=$ac_optarg ;;
1309
1310   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1311   | --syscon | --sysco | --sysc | --sys | --sy)
1312     ac_prev=sysconfdir ;;
1313   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1314   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1315     sysconfdir=$ac_optarg ;;
1316
1317   -target | --target | --targe | --targ | --tar | --ta | --t)
1318     ac_prev=target_alias ;;
1319   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1320     target_alias=$ac_optarg ;;
1321
1322   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1323     verbose=yes ;;
1324
1325   -version | --version | --versio | --versi | --vers | -V)
1326     ac_init_version=: ;;
1327
1328   -with-* | --with-*)
1329     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1330     # Reject names that are not valid shell variable names.
1331     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1332       as_fn_error "invalid package name: $ac_useropt"
1333     ac_useropt_orig=$ac_useropt
1334     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1335     case $ac_user_opts in
1336       *"
1337 "with_$ac_useropt"
1338 "*) ;;
1339       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1340          ac_unrecognized_sep=', ';;
1341     esac
1342     eval with_$ac_useropt=\$ac_optarg ;;
1343
1344   -without-* | --without-*)
1345     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1346     # Reject names that are not valid shell variable names.
1347     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1348       as_fn_error "invalid package name: $ac_useropt"
1349     ac_useropt_orig=$ac_useropt
1350     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1351     case $ac_user_opts in
1352       *"
1353 "with_$ac_useropt"
1354 "*) ;;
1355       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1356          ac_unrecognized_sep=', ';;
1357     esac
1358     eval with_$ac_useropt=no ;;
1359
1360   --x)
1361     # Obsolete; use --with-x.
1362     with_x=yes ;;
1363
1364   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1365   | --x-incl | --x-inc | --x-in | --x-i)
1366     ac_prev=x_includes ;;
1367   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1368   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1369     x_includes=$ac_optarg ;;
1370
1371   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1372   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1373     ac_prev=x_libraries ;;
1374   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1375   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1376     x_libraries=$ac_optarg ;;
1377
1378   -*) as_fn_error "unrecognized option: \`$ac_option'
1379 Try \`$0 --help' for more information."
1380     ;;
1381
1382   *=*)
1383     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1384     # Reject names that are not valid shell variable names.
1385     case $ac_envvar in #(
1386       '' | [0-9]* | *[!_$as_cr_alnum]* )
1387       as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1388     esac
1389     eval $ac_envvar=\$ac_optarg
1390     export $ac_envvar ;;
1391
1392   *)
1393     # FIXME: should be removed in autoconf 3.0.
1394     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1395     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1396       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1397     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1398     ;;
1399
1400   esac
1401 done
1402
1403 if test -n "$ac_prev"; then
1404   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1405   as_fn_error "missing argument to $ac_option"
1406 fi
1407
1408 if test -n "$ac_unrecognized_opts"; then
1409   case $enable_option_checking in
1410     no) ;;
1411     fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1412     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1413   esac
1414 fi
1415
1416 # Check all directory arguments for consistency.
1417 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1418                 datadir sysconfdir sharedstatedir localstatedir includedir \
1419                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1420                 libdir localedir mandir
1421 do
1422   eval ac_val=\$$ac_var
1423   # Remove trailing slashes.
1424   case $ac_val in
1425     */ )
1426       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1427       eval $ac_var=\$ac_val;;
1428   esac
1429   # Be sure to have absolute directory names.
1430   case $ac_val in
1431     [\\/$]* | ?:[\\/]* )  continue;;
1432     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1433   esac
1434   as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1435 done
1436
1437 # There might be people who depend on the old broken behavior: `$host'
1438 # used to hold the argument of --host etc.
1439 # FIXME: To remove some day.
1440 build=$build_alias
1441 host=$host_alias
1442 target=$target_alias
1443
1444 # FIXME: To remove some day.
1445 if test "x$host_alias" != x; then
1446   if test "x$build_alias" = x; then
1447     cross_compiling=maybe
1448     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1449     If a cross compiler is detected then cross compile mode will be used." >&2
1450   elif test "x$build_alias" != "x$host_alias"; then
1451     cross_compiling=yes
1452   fi
1453 fi
1454
1455 ac_tool_prefix=
1456 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1457
1458 test "$silent" = yes && exec 6>/dev/null
1459
1460
1461 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1462 ac_ls_di=`ls -di .` &&
1463 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1464   as_fn_error "working directory cannot be determined"
1465 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1466   as_fn_error "pwd does not report name of working directory"
1467
1468
1469 # Find the source files, if location was not specified.
1470 if test -z "$srcdir"; then
1471   ac_srcdir_defaulted=yes
1472   # Try the directory containing this script, then the parent directory.
1473   ac_confdir=`$as_dirname -- "$as_myself" ||
1474 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1475          X"$as_myself" : 'X\(//\)[^/]' \| \
1476          X"$as_myself" : 'X\(//\)$' \| \
1477          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1478 $as_echo X"$as_myself" |
1479     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1480             s//\1/
1481             q
1482           }
1483           /^X\(\/\/\)[^/].*/{
1484             s//\1/
1485             q
1486           }
1487           /^X\(\/\/\)$/{
1488             s//\1/
1489             q
1490           }
1491           /^X\(\/\).*/{
1492             s//\1/
1493             q
1494           }
1495           s/.*/./; q'`
1496   srcdir=$ac_confdir
1497   if test ! -r "$srcdir/$ac_unique_file"; then
1498     srcdir=..
1499   fi
1500 else
1501   ac_srcdir_defaulted=no
1502 fi
1503 if test ! -r "$srcdir/$ac_unique_file"; then
1504   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1505   as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1506 fi
1507 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1508 ac_abs_confdir=`(
1509         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1510         pwd)`
1511 # When building in place, set srcdir=.
1512 if test "$ac_abs_confdir" = "$ac_pwd"; then
1513   srcdir=.
1514 fi
1515 # Remove unnecessary trailing slashes from srcdir.
1516 # Double slashes in file names in object file debugging info
1517 # mess up M-x gdb in Emacs.
1518 case $srcdir in
1519 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1520 esac
1521 for ac_var in $ac_precious_vars; do
1522   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1523   eval ac_env_${ac_var}_value=\$${ac_var}
1524   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1525   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1526 done
1527
1528 #
1529 # Report the --help message.
1530 #
1531 if test "$ac_init_help" = "long"; then
1532   # Omit some internal or obsolete options to make the list less imposing.
1533   # This message is too long to be a string in the A/UX 3.1 sh.
1534   cat <<_ACEOF
1535 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1536
1537 Usage: $0 [OPTION]... [VAR=VALUE]...
1538
1539 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1540 VAR=VALUE.  See below for descriptions of some of the useful variables.
1541
1542 Defaults for the options are specified in brackets.
1543
1544 Configuration:
1545   -h, --help              display this help and exit
1546       --help=short        display options specific to this package
1547       --help=recursive    display the short help of all the included packages
1548   -V, --version           display version information and exit
1549   -q, --quiet, --silent   do not print \`checking...' messages
1550       --cache-file=FILE   cache test results in FILE [disabled]
1551   -C, --config-cache      alias for \`--cache-file=config.cache'
1552   -n, --no-create         do not create output files
1553       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1554
1555 Installation directories:
1556   --prefix=PREFIX         install architecture-independent files in PREFIX
1557                           [$ac_default_prefix]
1558   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1559                           [PREFIX]
1560
1561 By default, \`make install' will install all the files in
1562 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1563 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1564 for instance \`--prefix=\$HOME'.
1565
1566 For better control, use the options below.
1567
1568 Fine tuning of the installation directories:
1569   --bindir=DIR            user executables [EPREFIX/bin]
1570   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1571   --libexecdir=DIR        program executables [EPREFIX/libexec]
1572   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1573   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1574   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1575   --libdir=DIR            object code libraries [EPREFIX/lib]
1576   --includedir=DIR        C header files [PREFIX/include]
1577   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1578   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1579   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1580   --infodir=DIR           info documentation [DATAROOTDIR/info]
1581   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1582   --mandir=DIR            man documentation [DATAROOTDIR/man]
1583   --docdir=DIR            documentation root [DATAROOTDIR/doc/libstdc++]
1584   --htmldir=DIR           html documentation [DOCDIR]
1585   --dvidir=DIR            dvi documentation [DOCDIR]
1586   --pdfdir=DIR            pdf documentation [DOCDIR]
1587   --psdir=DIR             ps documentation [DOCDIR]
1588 _ACEOF
1589
1590   cat <<\_ACEOF
1591
1592 Program names:
1593   --program-prefix=PREFIX            prepend PREFIX to installed program names
1594   --program-suffix=SUFFIX            append SUFFIX to installed program names
1595   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1596
1597 System types:
1598   --build=BUILD     configure for building on BUILD [guessed]
1599   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1600   --target=TARGET   configure for building compilers for TARGET [HOST]
1601 _ACEOF
1602 fi
1603
1604 if test -n "$ac_init_help"; then
1605   case $ac_init_help in
1606      short | recursive ) echo "Configuration of package-unused version-unused:";;
1607    esac
1608   cat <<\_ACEOF
1609
1610 Optional Features:
1611   --disable-option-checking  ignore unrecognized --enable/--with options
1612   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1613   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1614   --enable-multilib       build many library versions (default)
1615   --enable-maintainer-mode  enable make rules and dependencies not useful
1616                           (and sometimes confusing) to the casual installer
1617   --enable-shared[=PKGS]  build shared libraries [default=yes]
1618   --enable-static[=PKGS]  build static libraries [default=yes]
1619   --enable-fast-install[=PKGS]
1620                           optimize for fast installation [default=yes]
1621   --disable-libtool-lock  avoid locking (might break parallel builds)
1622   --disable-hosted-libstdcxx
1623                           only build freestanding C++ runtime support
1624   --enable-sjlj-exceptions
1625                           force use of builtin_setjmp for exceptions
1626                           [default=auto]
1627   --enable-libstdcxx-pch  build pre-compiled libstdc++ headers
1628                           [default=$is_hosted]
1629   --enable-cstdio=PACKAGE use target-specific I/O package [default=stdio]
1630   --enable-clocale[=MODEL]
1631                           use MODEL for target locale package [default=auto]
1632   --enable-nls            use Native Language Support (default)
1633   --enable-libstdcxx-allocator=KIND
1634                           use KIND for target std::allocator base
1635                           [default=auto]
1636   --enable-cheaders=KIND  construct "C" headers for g++ [default=$c_model]
1637   --enable-long-long      enable template specializations for 'long long'
1638                           [default=yes]
1639   --enable-wchar_t        enable template specializations for 'wchar_t'
1640                           [default=yes]
1641   --enable-c99            turns on ISO/IEC 9899:1999 support [default=yes]
1642   --enable-concept-checks use Boost-derived template checks [default=no]
1643   --enable-libstdcxx-debug-flags=FLAGS
1644                           pass compiler FLAGS when building debug library
1645                           [default="-g3 -O0"]
1646   --enable-libstdcxx-debug
1647                           build extra debug library [default=no]
1648   --enable-cxx-flags=FLAGS
1649                           pass compiler FLAGS when building library [default=]
1650   --enable-fully-dynamic-string
1651                           do not put empty strings in per-process static
1652                           memory [default=no]
1653   --enable-libstdcxx-time=KIND
1654                           use KIND for check type [default=no]
1655   --enable-tls            Use thread-local storage [default=yes]
1656   --disable-rpath         do not hardcode runtime library paths
1657   --enable-linux-futex    use the Linux futex system call [default=default]
1658   --enable-symvers=STYLE  enables symbol versioning of the shared library
1659                           [default=yes]
1660   --enable-visibility     enables visibility safe usage [default=yes]
1661   --enable-version-specific-runtime-libs
1662                           Specify that runtime libraries should be installed
1663                           in a compiler-specific directory
1664
1665 Optional Packages:
1666   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1667   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1668   --with-target-subdir=SUBDIR
1669                           configuring in a subdirectory
1670   --with-cross-host=HOST  configuring with a cross compiler
1671   --with-newlib           assume newlib as a system C library
1672   --with-pic              try to use only PIC/non-PIC objects [default=use
1673                           both]
1674   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1675   --with-gnu-ld           assume the C compiler uses GNU ld default=no
1676   --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
1677   --without-libiconv-prefix     don't search for libiconv in includedir and libdir
1678   --with-system-libunwind use installed libunwind
1679   --with-gxx-include-dir=DIR
1680                           installation directory for include files
1681
1682 Some influential environment variables:
1683   CC          C compiler command
1684   CFLAGS      C compiler flags
1685   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1686               nonstandard directory <lib dir>
1687   LIBS        libraries to pass to the linker, e.g. -l<library>
1688   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1689               you have headers in a nonstandard directory <include dir>
1690   CXX         C++ compiler command
1691   CXXFLAGS    C++ compiler flags
1692   CPP         C preprocessor
1693   CXXCPP      C++ preprocessor
1694
1695 Use these variables to override the choices made by `configure' or to help
1696 it to find libraries and programs with nonstandard names/locations.
1697
1698 Report bugs to the package provider.
1699 _ACEOF
1700 ac_status=$?
1701 fi
1702
1703 if test "$ac_init_help" = "recursive"; then
1704   # If there are subdirs, report their specific --help.
1705   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1706     test -d "$ac_dir" ||
1707       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1708       continue
1709     ac_builddir=.
1710
1711 case "$ac_dir" in
1712 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1713 *)
1714   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1715   # A ".." for each directory in $ac_dir_suffix.
1716   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1717   case $ac_top_builddir_sub in
1718   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1719   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1720   esac ;;
1721 esac
1722 ac_abs_top_builddir=$ac_pwd
1723 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1724 # for backward compatibility:
1725 ac_top_builddir=$ac_top_build_prefix
1726
1727 case $srcdir in
1728   .)  # We are building in place.
1729     ac_srcdir=.
1730     ac_top_srcdir=$ac_top_builddir_sub
1731     ac_abs_top_srcdir=$ac_pwd ;;
1732   [\\/]* | ?:[\\/]* )  # Absolute name.
1733     ac_srcdir=$srcdir$ac_dir_suffix;
1734     ac_top_srcdir=$srcdir
1735     ac_abs_top_srcdir=$srcdir ;;
1736   *) # Relative name.
1737     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1738     ac_top_srcdir=$ac_top_build_prefix$srcdir
1739     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1740 esac
1741 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1742
1743     cd "$ac_dir" || { ac_status=$?; continue; }
1744     # Check for guested configure.
1745     if test -f "$ac_srcdir/configure.gnu"; then
1746       echo &&
1747       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1748     elif test -f "$ac_srcdir/configure"; then
1749       echo &&
1750       $SHELL "$ac_srcdir/configure" --help=recursive
1751     else
1752       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1753     fi || ac_status=$?
1754     cd "$ac_pwd" || { ac_status=$?; break; }
1755   done
1756 fi
1757
1758 test -n "$ac_init_help" && exit $ac_status
1759 if $ac_init_version; then
1760   cat <<\_ACEOF
1761 package-unused configure version-unused
1762 generated by GNU Autoconf 2.64
1763
1764 Copyright (C) 2009 Free Software Foundation, Inc.
1765 This configure script is free software; the Free Software Foundation
1766 gives unlimited permission to copy, distribute and modify it.
1767 _ACEOF
1768   exit
1769 fi
1770
1771 ## ------------------------ ##
1772 ## Autoconf initialization. ##
1773 ## ------------------------ ##
1774
1775 # ac_fn_c_try_compile LINENO
1776 # --------------------------
1777 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1778 ac_fn_c_try_compile ()
1779 {
1780   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1781   rm -f conftest.$ac_objext
1782   if { { ac_try="$ac_compile"
1783 case "(($ac_try" in
1784   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1785   *) ac_try_echo=$ac_try;;
1786 esac
1787 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1788 $as_echo "$ac_try_echo"; } >&5
1789   (eval "$ac_compile") 2>conftest.err
1790   ac_status=$?
1791   if test -s conftest.err; then
1792     grep -v '^ *+' conftest.err >conftest.er1
1793     cat conftest.er1 >&5
1794     mv -f conftest.er1 conftest.err
1795   fi
1796   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1797   test $ac_status = 0; } && {
1798          test -z "$ac_c_werror_flag" ||
1799          test ! -s conftest.err
1800        } && test -s conftest.$ac_objext; then :
1801   ac_retval=0
1802 else
1803   $as_echo "$as_me: failed program was:" >&5
1804 sed 's/^/| /' conftest.$ac_ext >&5
1805
1806         ac_retval=1
1807 fi
1808   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1809   return $ac_retval
1810
1811 } # ac_fn_c_try_compile
1812
1813 # ac_fn_cxx_try_compile LINENO
1814 # ----------------------------
1815 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1816 ac_fn_cxx_try_compile ()
1817 {
1818   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1819   rm -f conftest.$ac_objext
1820   if { { ac_try="$ac_compile"
1821 case "(($ac_try" in
1822   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1823   *) ac_try_echo=$ac_try;;
1824 esac
1825 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1826 $as_echo "$ac_try_echo"; } >&5
1827   (eval "$ac_compile") 2>conftest.err
1828   ac_status=$?
1829   if test -s conftest.err; then
1830     grep -v '^ *+' conftest.err >conftest.er1
1831     cat conftest.er1 >&5
1832     mv -f conftest.er1 conftest.err
1833   fi
1834   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1835   test $ac_status = 0; } && {
1836          test -z "$ac_cxx_werror_flag" ||
1837          test ! -s conftest.err
1838        } && test -s conftest.$ac_objext; then :
1839   ac_retval=0
1840 else
1841   $as_echo "$as_me: failed program was:" >&5
1842 sed 's/^/| /' conftest.$ac_ext >&5
1843
1844         ac_retval=1
1845 fi
1846   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1847   return $ac_retval
1848
1849 } # ac_fn_cxx_try_compile
1850
1851 # ac_fn_c_try_cpp LINENO
1852 # ----------------------
1853 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1854 ac_fn_c_try_cpp ()
1855 {
1856   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1857   if { { ac_try="$ac_cpp conftest.$ac_ext"
1858 case "(($ac_try" in
1859   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1860   *) ac_try_echo=$ac_try;;
1861 esac
1862 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1863 $as_echo "$ac_try_echo"; } >&5
1864   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1865   ac_status=$?
1866   if test -s conftest.err; then
1867     grep -v '^ *+' conftest.err >conftest.er1
1868     cat conftest.er1 >&5
1869     mv -f conftest.er1 conftest.err
1870   fi
1871   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1872   test $ac_status = 0; } >/dev/null && {
1873          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1874          test ! -s conftest.err
1875        }; then :
1876   ac_retval=0
1877 else
1878   $as_echo "$as_me: failed program was:" >&5
1879 sed 's/^/| /' conftest.$ac_ext >&5
1880
1881     ac_retval=1
1882 fi
1883   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1884   return $ac_retval
1885
1886 } # ac_fn_c_try_cpp
1887
1888 # ac_fn_c_try_link LINENO
1889 # -----------------------
1890 # Try to link conftest.$ac_ext, and return whether this succeeded.
1891 ac_fn_c_try_link ()
1892 {
1893   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1894   rm -f conftest.$ac_objext conftest$ac_exeext
1895   if { { ac_try="$ac_link"
1896 case "(($ac_try" in
1897   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1898   *) ac_try_echo=$ac_try;;
1899 esac
1900 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1901 $as_echo "$ac_try_echo"; } >&5
1902   (eval "$ac_link") 2>conftest.err
1903   ac_status=$?
1904   if test -s conftest.err; then
1905     grep -v '^ *+' conftest.err >conftest.er1
1906     cat conftest.er1 >&5
1907     mv -f conftest.er1 conftest.err
1908   fi
1909   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1910   test $ac_status = 0; } && {
1911          test -z "$ac_c_werror_flag" ||
1912          test ! -s conftest.err
1913        } && test -s conftest$ac_exeext && {
1914          test "$cross_compiling" = yes ||
1915          $as_test_x conftest$ac_exeext
1916        }; then :
1917   ac_retval=0
1918 else
1919   $as_echo "$as_me: failed program was:" >&5
1920 sed 's/^/| /' conftest.$ac_ext >&5
1921
1922         ac_retval=1
1923 fi
1924   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1925   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1926   # interfere with the next link command; also delete a directory that is
1927   # left behind by Apple's compiler.  We do this before executing the actions.
1928   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1929   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1930   return $ac_retval
1931
1932 } # ac_fn_c_try_link
1933
1934 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1935 # -------------------------------------------------------
1936 # Tests whether HEADER exists and can be compiled using the include files in
1937 # INCLUDES, setting the cache variable VAR accordingly.
1938 ac_fn_c_check_header_compile ()
1939 {
1940   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1941   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1942 $as_echo_n "checking for $2... " >&6; }
1943 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1944   $as_echo_n "(cached) " >&6
1945 else
1946   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1947 /* end confdefs.h.  */
1948 $4
1949 #include <$2>
1950 _ACEOF
1951 if ac_fn_c_try_compile "$LINENO"; then :
1952   eval "$3=yes"
1953 else
1954   eval "$3=no"
1955 fi
1956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1957 fi
1958 eval ac_res=\$$3
1959                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1960 $as_echo "$ac_res" >&6; }
1961   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1962
1963 } # ac_fn_c_check_header_compile
1964
1965 # ac_fn_c_try_run LINENO
1966 # ----------------------
1967 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1968 # that executables *can* be run.
1969 ac_fn_c_try_run ()
1970 {
1971   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1972   if { { ac_try="$ac_link"
1973 case "(($ac_try" in
1974   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1975   *) ac_try_echo=$ac_try;;
1976 esac
1977 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1978 $as_echo "$ac_try_echo"; } >&5
1979   (eval "$ac_link") 2>&5
1980   ac_status=$?
1981   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1982   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1983   { { case "(($ac_try" in
1984   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1985   *) ac_try_echo=$ac_try;;
1986 esac
1987 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1988 $as_echo "$ac_try_echo"; } >&5
1989   (eval "$ac_try") 2>&5
1990   ac_status=$?
1991   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1992   test $ac_status = 0; }; }; then :
1993   ac_retval=0
1994 else
1995   $as_echo "$as_me: program exited with status $ac_status" >&5
1996        $as_echo "$as_me: failed program was:" >&5
1997 sed 's/^/| /' conftest.$ac_ext >&5
1998
1999        ac_retval=$ac_status
2000 fi
2001   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2002   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2003   return $ac_retval
2004
2005 } # ac_fn_c_try_run
2006
2007 # ac_fn_c_check_func LINENO FUNC VAR
2008 # ----------------------------------
2009 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2010 ac_fn_c_check_func ()
2011 {
2012   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2013   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2014 $as_echo_n "checking for $2... " >&6; }
2015 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2016   $as_echo_n "(cached) " >&6
2017 else
2018   if test x$gcc_no_link = xyes; then
2019   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
2020 fi
2021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2022 /* end confdefs.h.  */
2023 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2024    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
2025 #define $2 innocuous_$2
2026
2027 /* System header to define __stub macros and hopefully few prototypes,
2028     which can conflict with char $2 (); below.
2029     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2030     <limits.h> exists even on freestanding compilers.  */
2031
2032 #ifdef __STDC__
2033 # include <limits.h>
2034 #else
2035 # include <assert.h>
2036 #endif
2037
2038 #undef $2
2039
2040 /* Override any GCC internal prototype to avoid an error.
2041    Use char because int might match the return type of a GCC
2042    builtin and then its argument prototype would still apply.  */
2043 #ifdef __cplusplus
2044 extern "C"
2045 #endif
2046 char $2 ();
2047 /* The GNU C library defines this for functions which it implements
2048     to always fail with ENOSYS.  Some functions are actually named
2049     something starting with __ and the normal name is an alias.  */
2050 #if defined __stub_$2 || defined __stub___$2
2051 choke me
2052 #endif
2053
2054 int
2055 main ()
2056 {
2057 return $2 ();
2058   ;
2059   return 0;
2060 }
2061 _ACEOF
2062 if ac_fn_c_try_link "$LINENO"; then :
2063   eval "$3=yes"
2064 else
2065   eval "$3=no"
2066 fi
2067 rm -f core conftest.err conftest.$ac_objext \
2068     conftest$ac_exeext conftest.$ac_ext
2069 fi
2070 eval ac_res=\$$3
2071                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2072 $as_echo "$ac_res" >&6; }
2073   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2074
2075 } # ac_fn_c_check_func
2076
2077 # ac_fn_cxx_try_cpp LINENO
2078 # ------------------------
2079 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2080 ac_fn_cxx_try_cpp ()
2081 {
2082   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2083   if { { ac_try="$ac_cpp conftest.$ac_ext"
2084 case "(($ac_try" in
2085   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2086   *) ac_try_echo=$ac_try;;
2087 esac
2088 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2089 $as_echo "$ac_try_echo"; } >&5
2090   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2091   ac_status=$?
2092   if test -s conftest.err; then
2093     grep -v '^ *+' conftest.err >conftest.er1
2094     cat conftest.er1 >&5
2095     mv -f conftest.er1 conftest.err
2096   fi
2097   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2098   test $ac_status = 0; } >/dev/null && {
2099          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2100          test ! -s conftest.err
2101        }; then :
2102   ac_retval=0
2103 else
2104   $as_echo "$as_me: failed program was:" >&5
2105 sed 's/^/| /' conftest.$ac_ext >&5
2106
2107     ac_retval=1
2108 fi
2109   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2110   return $ac_retval
2111
2112 } # ac_fn_cxx_try_cpp
2113
2114 # ac_fn_cxx_try_link LINENO
2115 # -------------------------
2116 # Try to link conftest.$ac_ext, and return whether this succeeded.
2117 ac_fn_cxx_try_link ()
2118 {
2119   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2120   rm -f conftest.$ac_objext conftest$ac_exeext
2121   if { { ac_try="$ac_link"
2122 case "(($ac_try" in
2123   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2124   *) ac_try_echo=$ac_try;;
2125 esac
2126 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2127 $as_echo "$ac_try_echo"; } >&5
2128   (eval "$ac_link") 2>conftest.err
2129   ac_status=$?
2130   if test -s conftest.err; then
2131     grep -v '^ *+' conftest.err >conftest.er1
2132     cat conftest.er1 >&5
2133     mv -f conftest.er1 conftest.err
2134   fi
2135   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2136   test $ac_status = 0; } && {
2137          test -z "$ac_cxx_werror_flag" ||
2138          test ! -s conftest.err
2139        } && test -s conftest$ac_exeext && {
2140          test "$cross_compiling" = yes ||
2141          $as_test_x conftest$ac_exeext
2142        }; then :
2143   ac_retval=0
2144 else
2145   $as_echo "$as_me: failed program was:" >&5
2146 sed 's/^/| /' conftest.$ac_ext >&5
2147
2148         ac_retval=1
2149 fi
2150   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2151   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2152   # interfere with the next link command; also delete a directory that is
2153   # left behind by Apple's compiler.  We do this before executing the actions.
2154   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2155   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2156   return $ac_retval
2157
2158 } # ac_fn_cxx_try_link
2159
2160 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2161 # -------------------------------------------------------
2162 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2163 # the include files in INCLUDES and setting the cache variable VAR
2164 # accordingly.
2165 ac_fn_c_check_header_mongrel ()
2166 {
2167   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2168   if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2169   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2170 $as_echo_n "checking for $2... " >&6; }
2171 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2172   $as_echo_n "(cached) " >&6
2173 fi
2174 eval ac_res=\$$3
2175                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2176 $as_echo "$ac_res" >&6; }
2177 else
2178   # Is the header compilable?
2179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2180 $as_echo_n "checking $2 usability... " >&6; }
2181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2182 /* end confdefs.h.  */
2183 $4
2184 #include <$2>
2185 _ACEOF
2186 if ac_fn_c_try_compile "$LINENO"; then :
2187   ac_header_compiler=yes
2188 else
2189   ac_header_compiler=no
2190 fi
2191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2193 $as_echo "$ac_header_compiler" >&6; }
2194
2195 # Is the header present?
2196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2197 $as_echo_n "checking $2 presence... " >&6; }
2198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2199 /* end confdefs.h.  */
2200 #include <$2>
2201 _ACEOF
2202 if ac_fn_c_try_cpp "$LINENO"; then :
2203   ac_header_preproc=yes
2204 else
2205   ac_header_preproc=no
2206 fi
2207 rm -f conftest.err conftest.$ac_ext
2208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2209 $as_echo "$ac_header_preproc" >&6; }
2210
2211 # So?  What about this header?
2212 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2213   yes:no: )
2214     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2215 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2216     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2217 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2218     ;;
2219   no:yes:* )
2220     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2221 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2222     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2223 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2224     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2225 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2226     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2227 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2228     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2229 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2230     ;;
2231 esac
2232   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2233 $as_echo_n "checking for $2... " >&6; }
2234 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2235   $as_echo_n "(cached) " >&6
2236 else
2237   eval "$3=\$ac_header_compiler"
2238 fi
2239 eval ac_res=\$$3
2240                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2241 $as_echo "$ac_res" >&6; }
2242 fi
2243   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2244
2245 } # ac_fn_c_check_header_mongrel
2246
2247 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2248 # ---------------------------------------------------------
2249 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2250 # the include files in INCLUDES and setting the cache variable VAR
2251 # accordingly.
2252 ac_fn_cxx_check_header_mongrel ()
2253 {
2254   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2255   if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2256   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2257 $as_echo_n "checking for $2... " >&6; }
2258 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2259   $as_echo_n "(cached) " >&6
2260 fi
2261 eval ac_res=\$$3
2262                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2263 $as_echo "$ac_res" >&6; }
2264 else
2265   # Is the header compilable?
2266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2267 $as_echo_n "checking $2 usability... " >&6; }
2268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2269 /* end confdefs.h.  */
2270 $4
2271 #include <$2>
2272 _ACEOF
2273 if ac_fn_cxx_try_compile "$LINENO"; then :
2274   ac_header_compiler=yes
2275 else
2276   ac_header_compiler=no
2277 fi
2278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2280 $as_echo "$ac_header_compiler" >&6; }
2281
2282 # Is the header present?
2283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2284 $as_echo_n "checking $2 presence... " >&6; }
2285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2286 /* end confdefs.h.  */
2287 #include <$2>
2288 _ACEOF
2289 if ac_fn_cxx_try_cpp "$LINENO"; then :
2290   ac_header_preproc=yes
2291 else
2292   ac_header_preproc=no
2293 fi
2294 rm -f conftest.err conftest.$ac_ext
2295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2296 $as_echo "$ac_header_preproc" >&6; }
2297
2298 # So?  What about this header?
2299 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2300   yes:no: )
2301     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2302 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2303     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2304 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2305     ;;
2306   no:yes:* )
2307     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2308 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2309     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2310 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2311     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2312 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2313     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2314 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2315     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2316 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2317     ;;
2318 esac
2319   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2320 $as_echo_n "checking for $2... " >&6; }
2321 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2322   $as_echo_n "(cached) " >&6
2323 else
2324   eval "$3=\$ac_header_compiler"
2325 fi
2326 eval ac_res=\$$3
2327                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2328 $as_echo "$ac_res" >&6; }
2329 fi
2330   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2331
2332 } # ac_fn_cxx_check_header_mongrel
2333
2334 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2335 # -------------------------------------------
2336 # Tests whether TYPE exists after having included INCLUDES, setting cache
2337 # variable VAR accordingly.
2338 ac_fn_c_check_type ()
2339 {
2340   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2341   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2342 $as_echo_n "checking for $2... " >&6; }
2343 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2344   $as_echo_n "(cached) " >&6
2345 else
2346   eval "$3=no"
2347   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2348 /* end confdefs.h.  */
2349 $4
2350 int
2351 main ()
2352 {
2353 if (sizeof ($2))
2354          return 0;
2355   ;
2356   return 0;
2357 }
2358 _ACEOF
2359 if ac_fn_c_try_compile "$LINENO"; then :
2360   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2361 /* end confdefs.h.  */
2362 $4
2363 int
2364 main ()
2365 {
2366 if (sizeof (($2)))
2367             return 0;
2368   ;
2369   return 0;
2370 }
2371 _ACEOF
2372 if ac_fn_c_try_compile "$LINENO"; then :
2373
2374 else
2375   eval "$3=yes"
2376 fi
2377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2378 fi
2379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2380 fi
2381 eval ac_res=\$$3
2382                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2383 $as_echo "$ac_res" >&6; }
2384   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2385
2386 } # ac_fn_c_check_type
2387
2388 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2389 # --------------------------------------------
2390 # Tries to find the compile-time value of EXPR in a program that includes
2391 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2392 # computed
2393 ac_fn_c_compute_int ()
2394 {
2395   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2396   if test "$cross_compiling" = yes; then
2397     # Depending upon the size, compute the lo and hi bounds.
2398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2399 /* end confdefs.h.  */
2400 $4
2401 int
2402 main ()
2403 {
2404 static int test_array [1 - 2 * !(($2) >= 0)];
2405 test_array [0] = 0
2406
2407   ;
2408   return 0;
2409 }
2410 _ACEOF
2411 if ac_fn_c_try_compile "$LINENO"; then :
2412   ac_lo=0 ac_mid=0
2413   while :; do
2414     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2415 /* end confdefs.h.  */
2416 $4
2417 int
2418 main ()
2419 {
2420 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2421 test_array [0] = 0
2422
2423   ;
2424   return 0;
2425 }
2426 _ACEOF
2427 if ac_fn_c_try_compile "$LINENO"; then :
2428   ac_hi=$ac_mid; break
2429 else
2430   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2431                         if test $ac_lo -le $ac_mid; then
2432                           ac_lo= ac_hi=
2433                           break
2434                         fi
2435                         as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2436 fi
2437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2438   done
2439 else
2440   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2441 /* end confdefs.h.  */
2442 $4
2443 int
2444 main ()
2445 {
2446 static int test_array [1 - 2 * !(($2) < 0)];
2447 test_array [0] = 0
2448
2449   ;
2450   return 0;
2451 }
2452 _ACEOF
2453 if ac_fn_c_try_compile "$LINENO"; then :
2454   ac_hi=-1 ac_mid=-1
2455   while :; do
2456     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2457 /* end confdefs.h.  */
2458 $4
2459 int
2460 main ()
2461 {
2462 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2463 test_array [0] = 0
2464
2465   ;
2466   return 0;
2467 }
2468 _ACEOF
2469 if ac_fn_c_try_compile "$LINENO"; then :
2470   ac_lo=$ac_mid; break
2471 else
2472   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2473                         if test $ac_mid -le $ac_hi; then
2474                           ac_lo= ac_hi=
2475                           break
2476                         fi
2477                         as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2478 fi
2479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2480   done
2481 else
2482   ac_lo= ac_hi=
2483 fi
2484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2485 fi
2486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2487 # Binary search between lo and hi bounds.
2488 while test "x$ac_lo" != "x$ac_hi"; do
2489   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2490   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2491 /* end confdefs.h.  */
2492 $4
2493 int
2494 main ()
2495 {
2496 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2497 test_array [0] = 0
2498
2499   ;
2500   return 0;
2501 }
2502 _ACEOF
2503 if ac_fn_c_try_compile "$LINENO"; then :
2504   ac_hi=$ac_mid
2505 else
2506   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2507 fi
2508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2509 done
2510 case $ac_lo in #((
2511 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2512 '') ac_retval=1 ;;
2513 esac
2514   else
2515     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2516 /* end confdefs.h.  */
2517 $4
2518 static long int longval () { return $2; }
2519 static unsigned long int ulongval () { return $2; }
2520 #include <stdio.h>
2521 #include <stdlib.h>
2522 int
2523 main ()
2524 {
2525
2526   FILE *f = fopen ("conftest.val", "w");
2527   if (! f)
2528     return 1;
2529   if (($2) < 0)
2530     {
2531       long int i = longval ();
2532       if (i != ($2))
2533         return 1;
2534       fprintf (f, "%ld", i);
2535     }
2536   else
2537     {
2538       unsigned long int i = ulongval ();
2539       if (i != ($2))
2540         return 1;
2541       fprintf (f, "%lu", i);
2542     }
2543   /* Do not output a trailing newline, as this causes \r\n confusion
2544      on some platforms.  */
2545   return ferror (f) || fclose (f) != 0;
2546
2547   ;
2548   return 0;
2549 }
2550 _ACEOF
2551 if ac_fn_c_try_run "$LINENO"; then :
2552   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2553 else
2554   ac_retval=1
2555 fi
2556 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2557   conftest.$ac_objext conftest.beam conftest.$ac_ext
2558 rm -f conftest.val
2559
2560   fi
2561   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2562   return $ac_retval
2563
2564 } # ac_fn_c_compute_int
2565 cat >config.log <<_ACEOF
2566 This file contains any messages produced by compilers while
2567 running configure, to aid debugging if configure makes a mistake.
2568
2569 It was created by package-unused $as_me version-unused, which was
2570 generated by GNU Autoconf 2.64.  Invocation command line was
2571
2572   $ $0 $@
2573
2574 _ACEOF
2575 exec 5>>config.log
2576 {
2577 cat <<_ASUNAME
2578 ## --------- ##
2579 ## Platform. ##
2580 ## --------- ##
2581
2582 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2583 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2584 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2585 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2586 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2587
2588 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2589 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2590
2591 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2592 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2593 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2594 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2595 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2596 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2597 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2598
2599 _ASUNAME
2600
2601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2602 for as_dir in $PATH
2603 do
2604   IFS=$as_save_IFS
2605   test -z "$as_dir" && as_dir=.
2606     $as_echo "PATH: $as_dir"
2607   done
2608 IFS=$as_save_IFS
2609
2610 } >&5
2611
2612 cat >&5 <<_ACEOF
2613
2614
2615 ## ----------- ##
2616 ## Core tests. ##
2617 ## ----------- ##
2618
2619 _ACEOF
2620
2621
2622 # Keep a trace of the command line.
2623 # Strip out --no-create and --no-recursion so they do not pile up.
2624 # Strip out --silent because we don't want to record it for future runs.
2625 # Also quote any args containing shell meta-characters.
2626 # Make two passes to allow for proper duplicate-argument suppression.
2627 ac_configure_args=
2628 ac_configure_args0=
2629 ac_configure_args1=
2630 ac_must_keep_next=false
2631 for ac_pass in 1 2
2632 do
2633   for ac_arg
2634   do
2635     case $ac_arg in
2636     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2637     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2638     | -silent | --silent | --silen | --sile | --sil)
2639       continue ;;
2640     *\'*)
2641       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2642     esac
2643     case $ac_pass in
2644     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2645     2)
2646       as_fn_append ac_configure_args1 " '$ac_arg'"
2647       if test $ac_must_keep_next = true; then
2648         ac_must_keep_next=false # Got value, back to normal.
2649       else
2650         case $ac_arg in
2651           *=* | --config-cache | -C | -disable-* | --disable-* \
2652           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2653           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2654           | -with-* | --with-* | -without-* | --without-* | --x)
2655             case "$ac_configure_args0 " in
2656               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2657             esac
2658             ;;
2659           -* ) ac_must_keep_next=true ;;
2660         esac
2661       fi
2662       as_fn_append ac_configure_args " '$ac_arg'"
2663       ;;
2664     esac
2665   done
2666 done
2667 { ac_configure_args0=; unset ac_configure_args0;}
2668 { ac_configure_args1=; unset ac_configure_args1;}
2669
2670 # When interrupted or exit'd, cleanup temporary files, and complete
2671 # config.log.  We remove comments because anyway the quotes in there
2672 # would cause problems or look ugly.
2673 # WARNING: Use '\'' to represent an apostrophe within the trap.
2674 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2675 trap 'exit_status=$?
2676   # Save into config.log some information that might help in debugging.
2677   {
2678     echo
2679
2680     cat <<\_ASBOX
2681 ## ---------------- ##
2682 ## Cache variables. ##
2683 ## ---------------- ##
2684 _ASBOX
2685     echo
2686     # The following way of writing the cache mishandles newlines in values,
2687 (
2688   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2689     eval ac_val=\$$ac_var
2690     case $ac_val in #(
2691     *${as_nl}*)
2692       case $ac_var in #(
2693       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2694 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2695       esac
2696       case $ac_var in #(
2697       _ | IFS | as_nl) ;; #(
2698       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2699       *) { eval $ac_var=; unset $ac_var;} ;;
2700       esac ;;
2701     esac
2702   done
2703   (set) 2>&1 |
2704     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2705     *${as_nl}ac_space=\ *)
2706       sed -n \
2707         "s/'\''/'\''\\\\'\'''\''/g;
2708           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2709       ;; #(
2710     *)
2711       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2712       ;;
2713     esac |
2714     sort
2715 )
2716     echo
2717
2718     cat <<\_ASBOX
2719 ## ----------------- ##
2720 ## Output variables. ##
2721 ## ----------------- ##
2722 _ASBOX
2723     echo
2724     for ac_var in $ac_subst_vars
2725     do
2726       eval ac_val=\$$ac_var
2727       case $ac_val in
2728       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2729       esac
2730       $as_echo "$ac_var='\''$ac_val'\''"
2731     done | sort
2732     echo
2733
2734     if test -n "$ac_subst_files"; then
2735       cat <<\_ASBOX
2736 ## ------------------- ##
2737 ## File substitutions. ##
2738 ## ------------------- ##
2739 _ASBOX
2740       echo
2741       for ac_var in $ac_subst_files
2742       do
2743         eval ac_val=\$$ac_var
2744         case $ac_val in
2745         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2746         esac
2747         $as_echo "$ac_var='\''$ac_val'\''"
2748       done | sort
2749       echo
2750     fi
2751
2752     if test -s confdefs.h; then
2753       cat <<\_ASBOX
2754 ## ----------- ##
2755 ## confdefs.h. ##
2756 ## ----------- ##
2757 _ASBOX
2758       echo
2759       cat confdefs.h
2760       echo
2761     fi
2762     test "$ac_signal" != 0 &&
2763       $as_echo "$as_me: caught signal $ac_signal"
2764     $as_echo "$as_me: exit $exit_status"
2765   } >&5
2766   rm -f core *.core core.conftest.* &&
2767     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2768     exit $exit_status
2769 ' 0
2770 for ac_signal in 1 2 13 15; do
2771   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2772 done
2773 ac_signal=0
2774
2775 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2776 rm -f -r conftest* confdefs.h
2777
2778 $as_echo "/* confdefs.h */" > confdefs.h
2779
2780 # Predefined preprocessor variables.
2781
2782 cat >>confdefs.h <<_ACEOF
2783 #define PACKAGE_NAME "$PACKAGE_NAME"
2784 _ACEOF
2785
2786 cat >>confdefs.h <<_ACEOF
2787 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2788 _ACEOF
2789
2790 cat >>confdefs.h <<_ACEOF
2791 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2792 _ACEOF
2793
2794 cat >>confdefs.h <<_ACEOF
2795 #define PACKAGE_STRING "$PACKAGE_STRING"
2796 _ACEOF
2797
2798 cat >>confdefs.h <<_ACEOF
2799 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2800 _ACEOF
2801
2802 cat >>confdefs.h <<_ACEOF
2803 #define PACKAGE_URL "$PACKAGE_URL"
2804 _ACEOF
2805
2806
2807 # Let the site file select an alternate cache file if it wants to.
2808 # Prefer an explicitly selected file to automatically selected ones.
2809 ac_site_file1=NONE
2810 ac_site_file2=NONE
2811 if test -n "$CONFIG_SITE"; then
2812   ac_site_file1=$CONFIG_SITE
2813 elif test "x$prefix" != xNONE; then
2814   ac_site_file1=$prefix/share/config.site
2815   ac_site_file2=$prefix/etc/config.site
2816 else
2817   ac_site_file1=$ac_default_prefix/share/config.site
2818   ac_site_file2=$ac_default_prefix/etc/config.site
2819 fi
2820 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2821 do
2822   test "x$ac_site_file" = xNONE && continue
2823   if test -r "$ac_site_file"; then
2824     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2825 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2826     sed 's/^/| /' "$ac_site_file" >&5
2827     . "$ac_site_file"
2828   fi
2829 done
2830
2831 if test -r "$cache_file"; then
2832   # Some versions of bash will fail to source /dev/null (special
2833   # files actually), so we avoid doing that.
2834   if test -f "$cache_file"; then
2835     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2836 $as_echo "$as_me: loading cache $cache_file" >&6;}
2837     case $cache_file in
2838       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2839       *)                      . "./$cache_file";;
2840     esac
2841   fi
2842 else
2843   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2844 $as_echo "$as_me: creating cache $cache_file" >&6;}
2845   >$cache_file
2846 fi
2847
2848 # Check that the precious variables saved in the cache have kept the same
2849 # value.
2850 ac_cache_corrupted=false
2851 for ac_var in $ac_precious_vars; do
2852   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2853   eval ac_new_set=\$ac_env_${ac_var}_set
2854   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2855   eval ac_new_val=\$ac_env_${ac_var}_value
2856   case $ac_old_set,$ac_new_set in
2857     set,)
2858       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2859 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2860       ac_cache_corrupted=: ;;
2861     ,set)
2862       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2863 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2864       ac_cache_corrupted=: ;;
2865     ,);;
2866     *)
2867       if test "x$ac_old_val" != "x$ac_new_val"; then
2868         # differences in whitespace do not lead to failure.
2869         ac_old_val_w=`echo x $ac_old_val`
2870         ac_new_val_w=`echo x $ac_new_val`
2871         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2872           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2873 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2874           ac_cache_corrupted=:
2875         else
2876           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2877 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2878           eval $ac_var=\$ac_old_val
2879         fi
2880         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2881 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2882         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2883 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2884       fi;;
2885   esac
2886   # Pass precious variables to config.status.
2887   if test "$ac_new_set" = set; then
2888     case $ac_new_val in
2889     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2890     *) ac_arg=$ac_var=$ac_new_val ;;
2891     esac
2892     case " $ac_configure_args " in
2893       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2894       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2895     esac
2896   fi
2897 done
2898 if $ac_cache_corrupted; then
2899   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2900 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2901   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2902 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2903   as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2904 fi
2905 ## -------------------- ##
2906 ## Main body of script. ##
2907 ## -------------------- ##
2908
2909 ac_ext=c
2910 ac_cpp='$CPP $CPPFLAGS'
2911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2914
2915
2916
2917
2918
2919
2920 ac_config_headers="$ac_config_headers config.h"
2921
2922
2923 # This works around the fact that libtool configuration may change LD
2924 # for this particular configuration, but some shells, instead of
2925 # keeping the changes in LD private, export them just because LD is
2926 # exported.  Only used at the end of this file.
2927 ### am handles this now?  ORIGINAL_LD_FOR_MULTILIBS=$LD
2928
2929 # For libtool versioning info, format is CURRENT:REVISION:AGE
2930 libtool_VERSION=6:14:0
2931
2932
2933 # Find the rest of the source tree framework.
2934 # Default to --enable-multilib
2935 # Check whether --enable-multilib was given.
2936 if test "${enable_multilib+set}" = set; then :
2937   enableval=$enable_multilib; case "$enableval" in
2938   yes) multilib=yes ;;
2939   no)  multilib=no ;;
2940   *)   as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2941  esac
2942 else
2943   multilib=yes
2944 fi
2945
2946
2947 # We may get other options which we leave undocumented:
2948 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2949 # See config-ml.in if you want the gory details.
2950
2951 if test "$srcdir" = "."; then
2952   if test "$with_target_subdir" != "."; then
2953     multi_basedir="$srcdir/$with_multisrctop../.."
2954   else
2955     multi_basedir="$srcdir/$with_multisrctop.."
2956   fi
2957 else
2958   multi_basedir="$srcdir/.."
2959 fi
2960
2961
2962 # Even if the default multilib is not a cross compilation,
2963 # it may be that some of the other multilibs are.
2964 if test $cross_compiling = no && test $multilib = yes \
2965    && test "x${with_multisubdir}" != x ; then
2966    cross_compiling=maybe
2967 fi
2968
2969 ac_config_commands="$ac_config_commands default-1"
2970
2971
2972 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2973 #
2974 # You will slowly go insane if you do not grok the following fact:  when
2975 # building v3 as part of the compiler, the top-level /target/ becomes the
2976 # library's /host/.  configure then causes --target to default to --host,
2977 # exactly like any other package using autoconf.  Therefore, 'target' and
2978 # 'host' will always be the same.  This makes sense both for native and
2979 # cross compilers, just think about it for a little while.  :-)
2980 #
2981 # Also, if v3 is being configured as part of a cross compiler, the top-level
2982 # configure script will pass the "real" host as $with_cross_host.
2983 #
2984 # Do not delete or change the following two lines.  For why, see
2985 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2986 ac_aux_dir=
2987 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2988   for ac_t in install-sh install.sh shtool; do
2989     if test -f "$ac_dir/$ac_t"; then
2990       ac_aux_dir=$ac_dir
2991       ac_install_sh="$ac_aux_dir/$ac_t -c"
2992       break 2
2993     fi
2994   done
2995 done
2996 if test -z "$ac_aux_dir"; then
2997   as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2998 fi
2999
3000 # These three variables are undocumented and unsupported,
3001 # and are intended to be withdrawn in a future Autoconf release.
3002 # They can cause serious problems if a builder's source tree is in a directory
3003 # whose full name contains unusual characters.
3004 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
3005 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
3006 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
3007
3008
3009 # Make sure we can run config.sub.
3010 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3011   as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3012
3013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3014 $as_echo_n "checking build system type... " >&6; }
3015 if test "${ac_cv_build+set}" = set; then :
3016   $as_echo_n "(cached) " >&6
3017 else
3018   ac_build_alias=$build_alias
3019 test "x$ac_build_alias" = x &&
3020   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3021 test "x$ac_build_alias" = x &&
3022   as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
3023 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3024   as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3025
3026 fi
3027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3028 $as_echo "$ac_cv_build" >&6; }
3029 case $ac_cv_build in
3030 *-*-*) ;;
3031 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
3032 esac
3033 build=$ac_cv_build
3034 ac_save_IFS=$IFS; IFS='-'
3035 set x $ac_cv_build
3036 shift
3037 build_cpu=$1
3038 build_vendor=$2
3039 shift; shift
3040 # Remember, the first character of IFS is used to create $*,
3041 # except with old shells:
3042 build_os=$*
3043 IFS=$ac_save_IFS
3044 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3045
3046
3047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3048 $as_echo_n "checking host system type... " >&6; }
3049 if test "${ac_cv_host+set}" = set; then :
3050   $as_echo_n "(cached) " >&6
3051 else
3052   if test "x$host_alias" = x; then
3053   ac_cv_host=$ac_cv_build
3054 else
3055   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3056     as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3057 fi
3058
3059 fi
3060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3061 $as_echo "$ac_cv_host" >&6; }
3062 case $ac_cv_host in
3063 *-*-*) ;;
3064 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
3065 esac
3066 host=$ac_cv_host
3067 ac_save_IFS=$IFS; IFS='-'
3068 set x $ac_cv_host
3069 shift
3070 host_cpu=$1
3071 host_vendor=$2
3072 shift; shift
3073 # Remember, the first character of IFS is used to create $*,
3074 # except with old shells:
3075 host_os=$*
3076 IFS=$ac_save_IFS
3077 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3078
3079
3080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3081 $as_echo_n "checking target system type... " >&6; }
3082 if test "${ac_cv_target+set}" = set; then :
3083   $as_echo_n "(cached) " >&6
3084 else
3085   if test "x$target_alias" = x; then
3086   ac_cv_target=$ac_cv_host
3087 else
3088   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3089     as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3090 fi
3091
3092 fi
3093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3094 $as_echo "$ac_cv_target" >&6; }
3095 case $ac_cv_target in
3096 *-*-*) ;;
3097 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
3098 esac
3099 target=$ac_cv_target
3100 ac_save_IFS=$IFS; IFS='-'
3101 set x $ac_cv_target
3102 shift
3103 target_cpu=$1
3104 target_vendor=$2
3105 shift; shift
3106 # Remember, the first character of IFS is used to create $*,
3107 # except with old shells:
3108 target_os=$*
3109 IFS=$ac_save_IFS
3110 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3111
3112
3113 # The aliases save the names the user supplied, while $host etc.
3114 # will get canonicalized.
3115 test -n "$target_alias" &&
3116   test "$program_prefix$program_suffix$program_transform_name" = \
3117     NONENONEs,x,x, &&
3118   program_prefix=${target_alias}-
3119
3120 target_alias=${target_alias-$host_alias}
3121
3122 # Handy for debugging:
3123 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3124
3125 if test "$build" != "$host"; then
3126   # We are being configured with some form of cross compiler.
3127   GLIBCXX_IS_NATIVE=false
3128   case "$host","$target" in
3129     # Darwin crosses can use the host system's libraries and headers,
3130     # because of the fat library support.  Of course, it must be the
3131     # same version of Darwin on both sides.  Allow the user to
3132     # just say --target=foo-darwin without a version number to mean
3133     # "the version on this system".
3134       *-*-darwin*,*-*-darwin*)
3135         hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3136         targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3137         if test $hostos = $targetos -o $targetos = darwin ; then
3138           GLIBCXX_IS_NATIVE=true
3139         fi
3140         ;;
3141
3142       *)
3143
3144         ;;
3145   esac
3146 else
3147   GLIBCXX_IS_NATIVE=true
3148 fi
3149
3150 # Sets up automake.  Must come after AC_CANONICAL_SYSTEM.  Each of the
3151 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3152 #  1.x:  minimum required version
3153 #  no-define:  PACKAGE and VERSION will not be #define'd in config.h (a bunch
3154 #              of other PACKAGE_* variables will, however, and there's nothing
3155 #              we can do about that; they come from AC_INIT).
3156 #  foreign:  we don't follow the normal rules for GNU packages (no COPYING
3157 #            file in the top srcdir, etc, etc), so stop complaining.
3158 #  no-dependencies:  turns off auto dependency generation (just for now)
3159 #  -Wall:  turns on all automake warnings...
3160 #  -Wno-portability:  ...except this one, since GNU make is now required.
3161 am__api_version='1.11'
3162
3163 # Find a good install program.  We prefer a C program (faster),
3164 # so one script is as good as another.  But avoid the broken or
3165 # incompatible versions:
3166 # SysV /etc/install, /usr/sbin/install
3167 # SunOS /usr/etc/install
3168 # IRIX /sbin/install
3169 # AIX /bin/install
3170 # AmigaOS /C/install, which installs bootblocks on floppy discs
3171 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3172 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3173 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3174 # OS/2's system install, which has a completely different semantic
3175 # ./install, which can be erroneously created by make from ./install.sh.
3176 # Reject install programs that cannot install multiple files.
3177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3178 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3179 if test -z "$INSTALL"; then
3180 if test "${ac_cv_path_install+set}" = set; then :
3181   $as_echo_n "(cached) " >&6
3182 else
3183   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3184 for as_dir in $PATH
3185 do
3186   IFS=$as_save_IFS
3187   test -z "$as_dir" && as_dir=.
3188     # Account for people who put trailing slashes in PATH elements.
3189 case $as_dir/ in #((
3190   ./ | .// | /[cC]/* | \
3191   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3192   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3193   /usr/ucb/* ) ;;
3194   *)
3195     # OSF1 and SCO ODT 3.0 have their own names for install.
3196     # Don't use installbsd from OSF since it installs stuff as root
3197     # by default.
3198     for ac_prog in ginstall scoinst install; do
3199       for ac_exec_ext in '' $ac_executable_extensions; do
3200         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3201           if test $ac_prog = install &&
3202             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3203             # AIX install.  It has an incompatible calling convention.
3204             :
3205           elif test $ac_prog = install &&
3206             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3207             # program-specific install script used by HP pwplus--don't use.
3208             :
3209           else
3210             rm -rf conftest.one conftest.two conftest.dir
3211             echo one > conftest.one
3212             echo two > conftest.two
3213             mkdir conftest.dir
3214             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3215               test -s conftest.one && test -s conftest.two &&
3216               test -s conftest.dir/conftest.one &&
3217               test -s conftest.dir/conftest.two
3218             then
3219               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3220               break 3
3221             fi
3222           fi
3223         fi
3224       done
3225     done
3226     ;;
3227 esac
3228
3229   done
3230 IFS=$as_save_IFS
3231
3232 rm -rf conftest.one conftest.two conftest.dir
3233
3234 fi
3235   if test "${ac_cv_path_install+set}" = set; then
3236     INSTALL=$ac_cv_path_install
3237   else
3238     # As a last resort, use the slow shell script.  Don't cache a
3239     # value for INSTALL within a source directory, because that will
3240     # break other packages using the cache if that directory is
3241     # removed, or if the value is a relative name.
3242     INSTALL=$ac_install_sh
3243   fi
3244 fi
3245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3246 $as_echo "$INSTALL" >&6; }
3247
3248 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3249 # It thinks the first close brace ends the variable substitution.
3250 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3251
3252 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3253
3254 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3255
3256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3257 $as_echo_n "checking whether build environment is sane... " >&6; }
3258 # Just in case
3259 sleep 1
3260 echo timestamp > conftest.file
3261 # Reject unsafe characters in $srcdir or the absolute working directory
3262 # name.  Accept space and tab only in the latter.
3263 am_lf='
3264 '
3265 case `pwd` in
3266   *[\\\"\#\$\&\'\`$am_lf]*)
3267     as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3268 esac
3269 case $srcdir in
3270   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
3271     as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3272 esac
3273
3274 # Do `set' in a subshell so we don't clobber the current shell's
3275 # arguments.  Must try -L first in case configure is actually a
3276 # symlink; some systems play weird games with the mod time of symlinks
3277 # (eg FreeBSD returns the mod time of the symlink's containing
3278 # directory).
3279 if (
3280    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3281    if test "$*" = "X"; then
3282       # -L didn't work.
3283       set X `ls -t "$srcdir/configure" conftest.file`
3284    fi
3285    rm -f conftest.file
3286    if test "$*" != "X $srcdir/configure conftest.file" \
3287       && test "$*" != "X conftest.file $srcdir/configure"; then
3288
3289       # If neither matched, then we have a broken ls.  This can happen
3290       # if, for instance, CONFIG_SHELL is bash and it inherits a
3291       # broken ls alias from the environment.  This has actually
3292       # happened.  Such a system could not be considered "sane".
3293       as_fn_error "ls -t appears to fail.  Make sure there is not a broken
3294 alias in your environment" "$LINENO" 5
3295    fi
3296
3297    test "$2" = conftest.file
3298    )
3299 then
3300    # Ok.
3301    :
3302 else
3303    as_fn_error "newly created file is older than distributed files!
3304 Check your system clock" "$LINENO" 5
3305 fi
3306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3307 $as_echo "yes" >&6; }
3308 test "$program_prefix" != NONE &&
3309   program_transform_name="s&^&$program_prefix&;$program_transform_name"
3310 # Use a double $ so make ignores it.
3311 test "$program_suffix" != NONE &&
3312   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3313 # Double any \ or $.
3314 # By default was `s,x,x', remove it if useless.
3315 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3316 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3317
3318 # expand $ac_aux_dir to an absolute path
3319 am_aux_dir=`cd $ac_aux_dir && pwd`
3320
3321 if test x"${MISSING+set}" != xset; then
3322   case $am_aux_dir in
3323   *\ * | *\     *)
3324     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3325   *)
3326     MISSING="\${SHELL} $am_aux_dir/missing" ;;
3327   esac
3328 fi
3329 # Use eval to expand $SHELL
3330 if eval "$MISSING --run true"; then
3331   am_missing_run="$MISSING --run "
3332 else
3333   am_missing_run=
3334   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3335 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3336 fi
3337
3338 if test x"${install_sh}" != xset; then
3339   case $am_aux_dir in
3340   *\ * | *\     *)
3341     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3342   *)
3343     install_sh="\${SHELL} $am_aux_dir/install-sh"
3344   esac
3345 fi
3346
3347 # Installed binaries are usually stripped using `strip' when the user
3348 # run `make install-strip'.  However `strip' might not be the right
3349 # tool to use in cross-compilation environments, therefore Automake
3350 # will honor the `STRIP' environment variable to overrule this program.
3351 if test "$cross_compiling" != no; then
3352   if test -n "$ac_tool_prefix"; then
3353   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3354 set dummy ${ac_tool_prefix}strip; ac_word=$2
3355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3356 $as_echo_n "checking for $ac_word... " >&6; }
3357 if test "${ac_cv_prog_STRIP+set}" = set; then :
3358   $as_echo_n "(cached) " >&6
3359 else
3360   if test -n "$STRIP"; then
3361   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3362 else
3363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3364 for as_dir in $PATH
3365 do
3366   IFS=$as_save_IFS
3367   test -z "$as_dir" && as_dir=.
3368     for ac_exec_ext in '' $ac_executable_extensions; do
3369   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3370     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3371     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3372     break 2
3373   fi
3374 done
3375   done
3376 IFS=$as_save_IFS
3377
3378 fi
3379 fi
3380 STRIP=$ac_cv_prog_STRIP
3381 if test -n "$STRIP"; then
3382   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3383 $as_echo "$STRIP" >&6; }
3384 else
3385   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3386 $as_echo "no" >&6; }
3387 fi
3388
3389
3390 fi
3391 if test -z "$ac_cv_prog_STRIP"; then
3392   ac_ct_STRIP=$STRIP
3393   # Extract the first word of "strip", so it can be a program name with args.
3394 set dummy strip; ac_word=$2
3395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3396 $as_echo_n "checking for $ac_word... " >&6; }
3397 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3398   $as_echo_n "(cached) " >&6
3399 else
3400   if test -n "$ac_ct_STRIP"; then
3401   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3402 else
3403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3404 for as_dir in $PATH
3405 do
3406   IFS=$as_save_IFS
3407   test -z "$as_dir" && as_dir=.
3408     for ac_exec_ext in '' $ac_executable_extensions; do
3409   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3410     ac_cv_prog_ac_ct_STRIP="strip"
3411     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3412     break 2
3413   fi
3414 done
3415   done
3416 IFS=$as_save_IFS
3417
3418 fi
3419 fi
3420 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3421 if test -n "$ac_ct_STRIP"; then
3422   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3423 $as_echo "$ac_ct_STRIP" >&6; }
3424 else
3425   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3426 $as_echo "no" >&6; }
3427 fi
3428
3429   if test "x$ac_ct_STRIP" = x; then
3430     STRIP=":"
3431   else
3432     case $cross_compiling:$ac_tool_warned in
3433 yes:)
3434 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3435 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3436 ac_tool_warned=yes ;;
3437 esac
3438     STRIP=$ac_ct_STRIP
3439   fi
3440 else
3441   STRIP="$ac_cv_prog_STRIP"
3442 fi
3443
3444 fi
3445 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3446
3447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3448 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3449 if test -z "$MKDIR_P"; then
3450   if test "${ac_cv_path_mkdir+set}" = set; then :
3451   $as_echo_n "(cached) " >&6
3452 else
3453   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3454 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3455 do
3456   IFS=$as_save_IFS
3457   test -z "$as_dir" && as_dir=.
3458     for ac_prog in mkdir gmkdir; do
3459          for ac_exec_ext in '' $ac_executable_extensions; do
3460            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3461            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3462              'mkdir (GNU coreutils) '* | \
3463              'mkdir (coreutils) '* | \
3464              'mkdir (fileutils) '4.1*)
3465                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3466                break 3;;
3467            esac
3468          done
3469        done
3470   done
3471 IFS=$as_save_IFS
3472
3473 fi
3474
3475   if test "${ac_cv_path_mkdir+set}" = set; then
3476     MKDIR_P="$ac_cv_path_mkdir -p"
3477   else
3478     # As a last resort, use the slow shell script.  Don't cache a
3479     # value for MKDIR_P within a source directory, because that will
3480     # break other packages using the cache if that directory is
3481     # removed, or if the value is a relative name.
3482     test -d ./--version && rmdir ./--version
3483     MKDIR_P="$ac_install_sh -d"
3484   fi
3485 fi
3486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3487 $as_echo "$MKDIR_P" >&6; }
3488
3489 mkdir_p="$MKDIR_P"
3490 case $mkdir_p in
3491   [\\/$]* | ?:[\\/]*) ;;
3492   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3493 esac
3494
3495 for ac_prog in gawk mawk nawk awk
3496 do
3497   # Extract the first word of "$ac_prog", so it can be a program name with args.
3498 set dummy $ac_prog; ac_word=$2
3499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3500 $as_echo_n "checking for $ac_word... " >&6; }
3501 if test "${ac_cv_prog_AWK+set}" = set; then :
3502   $as_echo_n "(cached) " >&6
3503 else
3504   if test -n "$AWK"; then
3505   ac_cv_prog_AWK="$AWK" # Let the user override the test.
3506 else
3507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3508 for as_dir in $PATH
3509 do
3510   IFS=$as_save_IFS
3511   test -z "$as_dir" && as_dir=.
3512     for ac_exec_ext in '' $ac_executable_extensions; do
3513   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3514     ac_cv_prog_AWK="$ac_prog"
3515     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3516     break 2
3517   fi
3518 done
3519   done
3520 IFS=$as_save_IFS
3521
3522 fi
3523 fi
3524 AWK=$ac_cv_prog_AWK
3525 if test -n "$AWK"; then
3526   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3527 $as_echo "$AWK" >&6; }
3528 else
3529   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3530 $as_echo "no" >&6; }
3531 fi
3532
3533
3534   test -n "$AWK" && break
3535 done
3536
3537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3538 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3539 set x ${MAKE-make}
3540 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3541 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3542   $as_echo_n "(cached) " >&6
3543 else
3544   cat >conftest.make <<\_ACEOF
3545 SHELL = /bin/sh
3546 all:
3547         @echo '@@@%%%=$(MAKE)=@@@%%%'
3548 _ACEOF
3549 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3550 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3551   *@@@%%%=?*=@@@%%%*)
3552     eval ac_cv_prog_make_${ac_make}_set=yes;;
3553   *)
3554     eval ac_cv_prog_make_${ac_make}_set=no;;
3555 esac
3556 rm -f conftest.make
3557 fi
3558 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3559   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3560 $as_echo "yes" >&6; }
3561   SET_MAKE=
3562 else
3563   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3564 $as_echo "no" >&6; }
3565   SET_MAKE="MAKE=${MAKE-make}"
3566 fi
3567
3568 rm -rf .tst 2>/dev/null
3569 mkdir .tst 2>/dev/null
3570 if test -d .tst; then
3571   am__leading_dot=.
3572 else
3573   am__leading_dot=_
3574 fi
3575 rmdir .tst 2>/dev/null
3576
3577 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3578   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3579   # is not polluted with repeated "-I."
3580   am__isrc=' -I$(srcdir)'
3581   # test to see if srcdir already configured
3582   if test -f $srcdir/config.status; then
3583     as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3584   fi
3585 fi
3586
3587 # test whether we have cygpath
3588 if test -z "$CYGPATH_W"; then
3589   if (cygpath --version) >/dev/null 2>/dev/null; then
3590     CYGPATH_W='cygpath -w'
3591   else
3592     CYGPATH_W=echo
3593   fi
3594 fi
3595
3596
3597 # Define the identity of the package.
3598  PACKAGE='libstdc++'
3599  VERSION='version-unused'
3600
3601
3602 # Some tools Automake needs.
3603
3604 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3605
3606
3607 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3608
3609
3610 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3611
3612
3613 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3614
3615
3616 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3617
3618 # We need awk for the "check" target.  The system "awk" is bad on
3619 # some platforms.
3620 # Always define AMTAR for backward compatibility.
3621
3622 AMTAR=${AMTAR-"${am_missing_run}tar"}
3623
3624 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3625
3626
3627
3628
3629
3630
3631
3632
3633 # We're almost certainly being configured before anything else which uses
3634 # C++, so all of our AC_PROG_* discoveries will be cached.  It's vital that
3635 # we not cache the value of CXX that we "discover" here, because it's set
3636 # to something unique for us and libjava.  Other target libraries need to
3637 # find CXX for themselves.  We yank the rug out from under the normal AC_*
3638 # process by sneakily renaming the cache variable.  This also lets us debug
3639 # the value of "our" CXX in postmortems.
3640 #
3641 # We must also force CXX to /not/ be a precious variable, otherwise the
3642 # wrong (non-multilib-adjusted) value will be used in multilibs.  This
3643 # little trick also affects CPPFLAGS, CXXFLAGS, and LDFLAGS.  And as a side
3644 # effect, CXXFLAGS is no longer automagically subst'd, so we have to do
3645 # that ourselves.  Un-preciousing AC_PROG_CC also affects CC and CFLAGS.
3646 #
3647 # -fno-builtin must be present here so that a non-conflicting form of
3648 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3649
3650
3651
3652
3653 save_CXXFLAGS="$CXXFLAGS"
3654 CXXFLAGS="$CXXFLAGS -fno-builtin"
3655 ac_ext=c
3656 ac_cpp='$CPP $CPPFLAGS'
3657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3660 if test -n "$ac_tool_prefix"; then
3661   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3662 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3664 $as_echo_n "checking for $ac_word... " >&6; }
3665 if test "${ac_cv_prog_CC+set}" = set; then :
3666   $as_echo_n "(cached) " >&6
3667 else
3668   if test -n "$CC"; then
3669   ac_cv_prog_CC="$CC" # Let the user override the test.
3670 else
3671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3672 for as_dir in $PATH
3673 do
3674   IFS=$as_save_IFS
3675   test -z "$as_dir" && as_dir=.
3676     for ac_exec_ext in '' $ac_executable_extensions; do
3677   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3678     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3679     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3680     break 2
3681   fi
3682 done
3683   done
3684 IFS=$as_save_IFS
3685
3686 fi
3687 fi
3688 CC=$ac_cv_prog_CC
3689 if test -n "$CC"; then
3690   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3691 $as_echo "$CC" >&6; }
3692 else
3693   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3694 $as_echo "no" >&6; }
3695 fi
3696
3697
3698 fi
3699 if test -z "$ac_cv_prog_CC"; then
3700   ac_ct_CC=$CC
3701   # Extract the first word of "gcc", so it can be a program name with args.
3702 set dummy gcc; ac_word=$2
3703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3704 $as_echo_n "checking for $ac_word... " >&6; }
3705 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3706   $as_echo_n "(cached) " >&6
3707 else
3708   if test -n "$ac_ct_CC"; then
3709   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3710 else
3711 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3712 for as_dir in $PATH
3713 do
3714   IFS=$as_save_IFS
3715   test -z "$as_dir" && as_dir=.
3716     for ac_exec_ext in '' $ac_executable_extensions; do
3717   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3718     ac_cv_prog_ac_ct_CC="gcc"
3719     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3720     break 2
3721   fi
3722 done
3723   done
3724 IFS=$as_save_IFS
3725
3726 fi
3727 fi
3728 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3729 if test -n "$ac_ct_CC"; then
3730   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3731 $as_echo "$ac_ct_CC" >&6; }
3732 else
3733   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3734 $as_echo "no" >&6; }
3735 fi
3736
3737   if test "x$ac_ct_CC" = x; then
3738     CC=""
3739   else
3740     case $cross_compiling:$ac_tool_warned in
3741 yes:)
3742 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3743 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3744 ac_tool_warned=yes ;;
3745 esac
3746     CC=$ac_ct_CC
3747   fi
3748 else
3749   CC="$ac_cv_prog_CC"
3750 fi
3751
3752 if test -z "$CC"; then
3753           if test -n "$ac_tool_prefix"; then
3754     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3755 set dummy ${ac_tool_prefix}cc; ac_word=$2
3756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3757 $as_echo_n "checking for $ac_word... " >&6; }
3758 if test "${ac_cv_prog_CC+set}" = set; then :
3759   $as_echo_n "(cached) " >&6
3760 else
3761   if test -n "$CC"; then
3762   ac_cv_prog_CC="$CC" # Let the user override the test.
3763 else
3764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3765 for as_dir in $PATH
3766 do
3767   IFS=$as_save_IFS
3768   test -z "$as_dir" && as_dir=.
3769     for ac_exec_ext in '' $ac_executable_extensions; do
3770   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3771     ac_cv_prog_CC="${ac_tool_prefix}cc"
3772     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3773     break 2
3774   fi
3775 done
3776   done
3777 IFS=$as_save_IFS
3778
3779 fi
3780 fi
3781 CC=$ac_cv_prog_CC
3782 if test -n "$CC"; then
3783   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3784 $as_echo "$CC" >&6; }
3785 else
3786   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3787 $as_echo "no" >&6; }
3788 fi
3789
3790
3791   fi
3792 fi
3793 if test -z "$CC"; then
3794   # Extract the first word of "cc", so it can be a program name with args.
3795 set dummy cc; ac_word=$2
3796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3797 $as_echo_n "checking for $ac_word... " >&6; }
3798 if test "${ac_cv_prog_CC+set}" = set; then :
3799   $as_echo_n "(cached) " >&6
3800 else
3801   if test -n "$CC"; then
3802   ac_cv_prog_CC="$CC" # Let the user override the test.
3803 else
3804   ac_prog_rejected=no
3805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3806 for as_dir in $PATH
3807 do
3808   IFS=$as_save_IFS
3809   test -z "$as_dir" && as_dir=.
3810     for ac_exec_ext in '' $ac_executable_extensions; do
3811   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3812     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3813        ac_prog_rejected=yes
3814        continue
3815      fi
3816     ac_cv_prog_CC="cc"
3817     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3818     break 2
3819   fi
3820 done
3821   done
3822 IFS=$as_save_IFS
3823
3824 if test $ac_prog_rejected = yes; then
3825   # We found a bogon in the path, so make sure we never use it.
3826   set dummy $ac_cv_prog_CC
3827   shift
3828   if test $# != 0; then
3829     # We chose a different compiler from the bogus one.
3830     # However, it has the same basename, so the bogon will be chosen
3831     # first if we set CC to just the basename; use the full file name.
3832     shift
3833     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3834   fi
3835 fi
3836 fi
3837 fi
3838 CC=$ac_cv_prog_CC
3839 if test -n "$CC"; then
3840   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3841 $as_echo "$CC" >&6; }
3842 else
3843   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3844 $as_echo "no" >&6; }
3845 fi
3846
3847
3848 fi
3849 if test -z "$CC"; then
3850   if test -n "$ac_tool_prefix"; then
3851   for ac_prog in cl.exe
3852   do
3853     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3854 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3856 $as_echo_n "checking for $ac_word... " >&6; }
3857 if test "${ac_cv_prog_CC+set}" = set; then :
3858   $as_echo_n "(cached) " >&6
3859 else
3860   if test -n "$CC"; then
3861   ac_cv_prog_CC="$CC" # Let the user override the test.
3862 else
3863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3864 for as_dir in $PATH
3865 do
3866   IFS=$as_save_IFS
3867   test -z "$as_dir" && as_dir=.
3868     for ac_exec_ext in '' $ac_executable_extensions; do
3869   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3870     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3871     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3872     break 2
3873   fi
3874 done
3875   done
3876 IFS=$as_save_IFS
3877
3878 fi
3879 fi
3880 CC=$ac_cv_prog_CC
3881 if test -n "$CC"; then
3882   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3883 $as_echo "$CC" >&6; }
3884 else
3885   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3886 $as_echo "no" >&6; }
3887 fi
3888
3889
3890     test -n "$CC" && break
3891   done
3892 fi
3893 if test -z "$CC"; then
3894   ac_ct_CC=$CC
3895   for ac_prog in cl.exe
3896 do
3897   # Extract the first word of "$ac_prog", so it can be a program name with args.
3898 set dummy $ac_prog; ac_word=$2
3899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3900 $as_echo_n "checking for $ac_word... " >&6; }
3901 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3902   $as_echo_n "(cached) " >&6
3903 else
3904   if test -n "$ac_ct_CC"; then
3905   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3906 else
3907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3908 for as_dir in $PATH
3909 do
3910   IFS=$as_save_IFS
3911   test -z "$as_dir" && as_dir=.
3912     for ac_exec_ext in '' $ac_executable_extensions; do
3913   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3914     ac_cv_prog_ac_ct_CC="$ac_prog"
3915     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3916     break 2
3917   fi
3918 done
3919   done
3920 IFS=$as_save_IFS
3921
3922 fi
3923 fi
3924 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3925 if test -n "$ac_ct_CC"; then
3926   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3927 $as_echo "$ac_ct_CC" >&6; }
3928 else
3929   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3930 $as_echo "no" >&6; }
3931 fi
3932
3933
3934   test -n "$ac_ct_CC" && break
3935 done
3936
3937   if test "x$ac_ct_CC" = x; then
3938     CC=""
3939   else
3940     case $cross_compiling:$ac_tool_warned in
3941 yes:)
3942 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3943 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3944 ac_tool_warned=yes ;;
3945 esac
3946     CC=$ac_ct_CC
3947   fi
3948 fi
3949
3950 fi
3951
3952
3953 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3954 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3955 as_fn_error "no acceptable C compiler found in \$PATH
3956 See \`config.log' for more details." "$LINENO" 5; }
3957
3958 # Provide some information about the compiler.
3959 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3960 set X $ac_compile
3961 ac_compiler=$2
3962 for ac_option in --version -v -V -qversion; do
3963   { { ac_try="$ac_compiler $ac_option >&5"
3964 case "(($ac_try" in
3965   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3966   *) ac_try_echo=$ac_try;;
3967 esac
3968 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3969 $as_echo "$ac_try_echo"; } >&5
3970   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3971   ac_status=$?
3972   if test -s conftest.err; then
3973     sed '10a\
3974 ... rest of stderr output deleted ...
3975          10q' conftest.err >conftest.er1
3976     cat conftest.er1 >&5
3977     rm -f conftest.er1 conftest.err
3978   fi
3979   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3980   test $ac_status = 0; }
3981 done
3982
3983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3984 /* end confdefs.h.  */
3985
3986 int
3987 main ()
3988 {
3989
3990   ;
3991   return 0;
3992 }
3993 _ACEOF
3994 # FIXME: Cleanup?
3995 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3996   (eval $ac_link) 2>&5
3997   ac_status=$?
3998   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3999   test $ac_status = 0; }; then :
4000   gcc_no_link=no
4001 else
4002   gcc_no_link=yes
4003 fi
4004 if test x$gcc_no_link = xyes; then
4005   # Setting cross_compile will disable run tests; it will
4006   # also disable AC_CHECK_FILE but that's generally
4007   # correct if we can't link.
4008   cross_compiling=yes
4009   EXEEXT=
4010 else
4011   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4012 /* end confdefs.h.  */
4013
4014 int
4015 main ()
4016 {
4017
4018   ;
4019   return 0;
4020 }
4021 _ACEOF
4022 ac_clean_files_save=$ac_clean_files
4023 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
4024 # Try to create an executable without -o first, disregard a.out.
4025 # It will help us diagnose broken compilers, and finding out an intuition
4026 # of exeext.
4027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4028 $as_echo_n "checking for C compiler default output file name... " >&6; }
4029 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4030
4031 # The possible output files:
4032 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4033
4034 ac_rmfiles=
4035 for ac_file in $ac_files
4036 do
4037   case $ac_file in
4038     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4039     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4040   esac
4041 done
4042 rm -f $ac_rmfiles
4043
4044 if { { ac_try="$ac_link_default"
4045 case "(($ac_try" in
4046   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4047   *) ac_try_echo=$ac_try;;
4048 esac
4049 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4050 $as_echo "$ac_try_echo"; } >&5
4051   (eval "$ac_link_default") 2>&5
4052   ac_status=$?
4053   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4054   test $ac_status = 0; }; then :
4055   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4056 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4057 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
4058 # so that the user can short-circuit this test for compilers unknown to
4059 # Autoconf.
4060 for ac_file in $ac_files ''
4061 do
4062   test -f "$ac_file" || continue
4063   case $ac_file in
4064     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4065         ;;
4066     [ab].out )
4067         # We found the default executable, but exeext='' is most
4068         # certainly right.
4069         break;;
4070     *.* )
4071         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4072         then :; else
4073            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4074         fi
4075         # We set ac_cv_exeext here because the later test for it is not
4076         # safe: cross compilers may not add the suffix if given an `-o'
4077         # argument, so we may need to know it at that point already.
4078         # Even if this section looks crufty: it has the advantage of
4079         # actually working.
4080         break;;
4081     * )
4082         break;;
4083   esac
4084 done
4085 test "$ac_cv_exeext" = no && ac_cv_exeext=
4086
4087 else
4088   ac_file=''
4089 fi
4090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4091 $as_echo "$ac_file" >&6; }
4092 if test -z "$ac_file"; then :
4093   $as_echo "$as_me: failed program was:" >&5
4094 sed 's/^/| /' conftest.$ac_ext >&5
4095
4096 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4097 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4098 { as_fn_set_status 77
4099 as_fn_error "C compiler cannot create executables
4100 See \`config.log' for more details." "$LINENO" 5; }; }
4101 fi
4102 ac_exeext=$ac_cv_exeext
4103
4104 # Check that the compiler produces executables we can run.  If not, either
4105 # the compiler is broken, or we cross compile.
4106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4107 $as_echo_n "checking whether the C compiler works... " >&6; }
4108 # If not cross compiling, check that we can run a simple program.
4109 if test "$cross_compiling" != yes; then
4110   if { ac_try='./$ac_file'
4111   { { case "(($ac_try" in
4112   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4113   *) ac_try_echo=$ac_try;;
4114 esac
4115 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4116 $as_echo "$ac_try_echo"; } >&5
4117   (eval "$ac_try") 2>&5
4118   ac_status=$?
4119   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4120   test $ac_status = 0; }; }; then
4121     cross_compiling=no
4122   else
4123     if test "$cross_compiling" = maybe; then
4124         cross_compiling=yes
4125     else
4126         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4127 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4128 as_fn_error "cannot run C compiled programs.
4129 If you meant to cross compile, use \`--host'.
4130 See \`config.log' for more details." "$LINENO" 5; }
4131     fi
4132   fi
4133 fi
4134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4135 $as_echo "yes" >&6; }
4136
4137 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4138 ac_clean_files=$ac_clean_files_save
4139 # Check that the compiler produces executables we can run.  If not, either
4140 # the compiler is broken, or we cross compile.
4141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4142 $as_echo_n "checking whether we are cross compiling... " >&6; }
4143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4144 $as_echo "$cross_compiling" >&6; }
4145
4146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4147 $as_echo_n "checking for suffix of executables... " >&6; }
4148 if { { ac_try="$ac_link"
4149 case "(($ac_try" in
4150   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4151   *) ac_try_echo=$ac_try;;
4152 esac
4153 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4154 $as_echo "$ac_try_echo"; } >&5
4155   (eval "$ac_link") 2>&5
4156   ac_status=$?
4157   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4158   test $ac_status = 0; }; then :
4159   # If both `conftest.exe' and `conftest' are `present' (well, observable)
4160 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
4161 # work properly (i.e., refer to `conftest.exe'), while it won't with
4162 # `rm'.
4163 for ac_file in conftest.exe conftest conftest.*; do
4164   test -f "$ac_file" || continue
4165   case $ac_file in
4166     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4167     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4168           break;;
4169     * ) break;;
4170   esac
4171 done
4172 else
4173   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4174 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4175 as_fn_error "cannot compute suffix of executables: cannot compile and link
4176 See \`config.log' for more details." "$LINENO" 5; }
4177 fi
4178 rm -f conftest$ac_cv_exeext
4179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4180 $as_echo "$ac_cv_exeext" >&6; }
4181
4182 rm -f conftest.$ac_ext
4183 EXEEXT=$ac_cv_exeext
4184 ac_exeext=$EXEEXT
4185 fi
4186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4187 $as_echo_n "checking for suffix of object files... " >&6; }
4188 if test "${ac_cv_objext+set}" = set; then :
4189   $as_echo_n "(cached) " >&6
4190 else
4191   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4192 /* end confdefs.h.  */
4193
4194 int
4195 main ()
4196 {
4197
4198   ;
4199   return 0;
4200 }
4201 _ACEOF
4202 rm -f conftest.o conftest.obj
4203 if { { ac_try="$ac_compile"
4204 case "(($ac_try" in
4205   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4206   *) ac_try_echo=$ac_try;;
4207 esac
4208 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4209 $as_echo "$ac_try_echo"; } >&5
4210   (eval "$ac_compile") 2>&5
4211   ac_status=$?
4212   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4213   test $ac_status = 0; }; then :
4214   for ac_file in conftest.o conftest.obj conftest.*; do
4215   test -f "$ac_file" || continue;
4216   case $ac_file in
4217     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4218     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4219        break;;
4220   esac
4221 done
4222 else
4223   $as_echo "$as_me: failed program was:" >&5
4224 sed 's/^/| /' conftest.$ac_ext >&5
4225
4226 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4227 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4228 as_fn_error "cannot compute suffix of object files: cannot compile
4229 See \`config.log' for more details." "$LINENO" 5; }
4230 fi
4231 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4232 fi
4233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4234 $as_echo "$ac_cv_objext" >&6; }
4235 OBJEXT=$ac_cv_objext
4236 ac_objext=$OBJEXT
4237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4238 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4239 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4240   $as_echo_n "(cached) " >&6
4241 else
4242   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4243 /* end confdefs.h.  */
4244
4245 int
4246 main ()
4247 {
4248 #ifndef __GNUC__
4249        choke me
4250 #endif
4251
4252   ;
4253   return 0;
4254 }
4255 _ACEOF
4256 if ac_fn_c_try_compile "$LINENO"; then :
4257   ac_compiler_gnu=yes
4258 else
4259   ac_compiler_gnu=no
4260 fi
4261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4262 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4263
4264 fi
4265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4266 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4267 if test $ac_compiler_gnu = yes; then
4268   GCC=yes
4269 else
4270   GCC=
4271 fi
4272 ac_test_CFLAGS=${CFLAGS+set}
4273 ac_save_CFLAGS=$CFLAGS
4274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4275 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4276 if test "${ac_cv_prog_cc_g+set}" = set; then :
4277   $as_echo_n "(cached) " >&6
4278 else
4279   ac_save_c_werror_flag=$ac_c_werror_flag
4280    ac_c_werror_flag=yes
4281    ac_cv_prog_cc_g=no
4282    CFLAGS="-g"
4283    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4284 /* end confdefs.h.  */
4285
4286 int
4287 main ()
4288 {
4289
4290   ;
4291   return 0;
4292 }
4293 _ACEOF
4294 if ac_fn_c_try_compile "$LINENO"; then :
4295   ac_cv_prog_cc_g=yes
4296 else
4297   CFLAGS=""
4298       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4299 /* end confdefs.h.  */
4300
4301 int
4302 main ()
4303 {
4304
4305   ;
4306   return 0;
4307 }
4308 _ACEOF
4309 if ac_fn_c_try_compile "$LINENO"; then :
4310
4311 else
4312   ac_c_werror_flag=$ac_save_c_werror_flag
4313          CFLAGS="-g"
4314          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4315 /* end confdefs.h.  */
4316
4317 int
4318 main ()
4319 {
4320
4321   ;
4322   return 0;
4323 }
4324 _ACEOF
4325 if ac_fn_c_try_compile "$LINENO"; then :
4326   ac_cv_prog_cc_g=yes
4327 fi
4328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4329 fi
4330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4331 fi
4332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4333    ac_c_werror_flag=$ac_save_c_werror_flag
4334 fi
4335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4336 $as_echo "$ac_cv_prog_cc_g" >&6; }
4337 if test "$ac_test_CFLAGS" = set; then
4338   CFLAGS=$ac_save_CFLAGS
4339 elif test $ac_cv_prog_cc_g = yes; then
4340   if test "$GCC" = yes; then
4341     CFLAGS="-g -O2"
4342   else
4343     CFLAGS="-g"
4344   fi
4345 else
4346   if test "$GCC" = yes; then
4347     CFLAGS="-O2"
4348   else
4349     CFLAGS=
4350   fi
4351 fi
4352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4353 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4354 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4355   $as_echo_n "(cached) " >&6
4356 else
4357   ac_cv_prog_cc_c89=no
4358 ac_save_CC=$CC
4359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4360 /* end confdefs.h.  */
4361 #include <stdarg.h>
4362 #include <stdio.h>
4363 #include <sys/types.h>
4364 #include <sys/stat.h>
4365 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4366 struct buf { int x; };
4367 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4368 static char *e (p, i)
4369      char **p;
4370      int i;
4371 {
4372   return p[i];
4373 }
4374 static char *f (char * (*g) (char **, int), char **p, ...)
4375 {
4376   char *s;
4377   va_list v;
4378   va_start (v,p);
4379   s = g (p, va_arg (v,int));
4380   va_end (v);
4381   return s;
4382 }
4383
4384 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4385    function prototypes and stuff, but not '\xHH' hex character constants.
4386    These don't provoke an error unfortunately, instead are silently treated
4387    as 'x'.  The following induces an error, until -std is added to get
4388    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4389    array size at least.  It's necessary to write '\x00'==0 to get something
4390    that's true only with -std.  */
4391 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4392
4393 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4394    inside strings and character constants.  */
4395 #define FOO(x) 'x'
4396 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4397
4398 int test (int i, double x);
4399 struct s1 {int (*f) (int a);};
4400 struct s2 {int (*f) (double a);};
4401 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4402 int argc;
4403 char **argv;
4404 int
4405 main ()
4406 {
4407 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4408   ;
4409   return 0;
4410 }
4411 _ACEOF
4412 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4413         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4414 do
4415   CC="$ac_save_CC $ac_arg"
4416   if ac_fn_c_try_compile "$LINENO"; then :
4417   ac_cv_prog_cc_c89=$ac_arg
4418 fi
4419 rm -f core conftest.err conftest.$ac_objext
4420   test "x$ac_cv_prog_cc_c89" != "xno" && break
4421 done
4422 rm -f conftest.$ac_ext
4423 CC=$ac_save_CC
4424
4425 fi
4426 # AC_CACHE_VAL
4427 case "x$ac_cv_prog_cc_c89" in
4428   x)
4429     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4430 $as_echo "none needed" >&6; } ;;
4431   xno)
4432     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4433 $as_echo "unsupported" >&6; } ;;
4434   *)
4435     CC="$CC $ac_cv_prog_cc_c89"
4436     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4437 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4438 esac
4439 if test "x$ac_cv_prog_cc_c89" != xno; then :
4440
4441 fi
4442
4443 ac_ext=c
4444 ac_cpp='$CPP $CPPFLAGS'
4445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4448
4449 ac_ext=cpp
4450 ac_cpp='$CXXCPP $CPPFLAGS'
4451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4454 if test -z "$CXX"; then
4455   if test -n "$CCC"; then
4456     CXX=$CCC
4457   else
4458     if test -n "$ac_tool_prefix"; then
4459   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4460   do
4461     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4462 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4464 $as_echo_n "checking for $ac_word... " >&6; }
4465 if test "${glibcxx_cv_prog_CXX+set}" = set; then :
4466   $as_echo_n "(cached) " >&6
4467 else
4468   if test -n "$CXX"; then
4469   glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
4470 else
4471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4472 for as_dir in $PATH
4473 do
4474   IFS=$as_save_IFS
4475   test -z "$as_dir" && as_dir=.
4476     for ac_exec_ext in '' $ac_executable_extensions; do
4477   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4478     glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4479     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4480     break 2
4481   fi
4482 done
4483   done
4484 IFS=$as_save_IFS
4485
4486 fi
4487 fi
4488 CXX=$glibcxx_cv_prog_CXX
4489 if test -n "$CXX"; then
4490   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4491 $as_echo "$CXX" >&6; }
4492 else
4493   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4494 $as_echo "no" >&6; }
4495 fi
4496
4497
4498     test -n "$CXX" && break
4499   done
4500 fi
4501 if test -z "$CXX"; then
4502   ac_ct_CXX=$CXX
4503   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4504 do
4505   # Extract the first word of "$ac_prog", so it can be a program name with args.
4506 set dummy $ac_prog; ac_word=$2
4507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4508 $as_echo_n "checking for $ac_word... " >&6; }
4509 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4510   $as_echo_n "(cached) " >&6
4511 else
4512   if test -n "$ac_ct_CXX"; then
4513   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4514 else
4515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4516 for as_dir in $PATH
4517 do
4518   IFS=$as_save_IFS
4519   test -z "$as_dir" && as_dir=.
4520     for ac_exec_ext in '' $ac_executable_extensions; do
4521   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4522     ac_cv_prog_ac_ct_CXX="$ac_prog"
4523     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4524     break 2
4525   fi
4526 done
4527   done
4528 IFS=$as_save_IFS
4529
4530 fi
4531 fi
4532 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4533 if test -n "$ac_ct_CXX"; then
4534   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4535 $as_echo "$ac_ct_CXX" >&6; }
4536 else
4537   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4538 $as_echo "no" >&6; }
4539 fi
4540
4541
4542   test -n "$ac_ct_CXX" && break
4543 done
4544
4545   if test "x$ac_ct_CXX" = x; then
4546     CXX="g++"
4547   else
4548     case $cross_compiling:$ac_tool_warned in
4549 yes:)
4550 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4551 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4552 ac_tool_warned=yes ;;
4553 esac
4554     CXX=$ac_ct_CXX
4555   fi
4556 fi
4557
4558   fi
4559 fi
4560 # Provide some information about the compiler.
4561 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4562 set X $ac_compile
4563 ac_compiler=$2
4564 for ac_option in --version -v -V -qversion; do
4565   { { ac_try="$ac_compiler $ac_option >&5"
4566 case "(($ac_try" in
4567   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4568   *) ac_try_echo=$ac_try;;
4569 esac
4570 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4571 $as_echo "$ac_try_echo"; } >&5
4572   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4573   ac_status=$?
4574   if test -s conftest.err; then
4575     sed '10a\
4576 ... rest of stderr output deleted ...
4577          10q' conftest.err >conftest.er1
4578     cat conftest.er1 >&5
4579     rm -f conftest.er1 conftest.err
4580   fi
4581   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4582   test $ac_status = 0; }
4583 done
4584
4585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4586 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4587 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4588   $as_echo_n "(cached) " >&6
4589 else
4590   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4591 /* end confdefs.h.  */
4592
4593 int
4594 main ()
4595 {
4596 #ifndef __GNUC__
4597        choke me
4598 #endif
4599
4600   ;
4601   return 0;
4602 }
4603 _ACEOF
4604 if ac_fn_cxx_try_compile "$LINENO"; then :
4605   ac_compiler_gnu=yes
4606 else
4607   ac_compiler_gnu=no
4608 fi
4609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4610 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4611
4612 fi
4613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4614 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4615 if test $ac_compiler_gnu = yes; then
4616   GXX=yes
4617 else
4618   GXX=
4619 fi
4620 ac_test_CXXFLAGS=${CXXFLAGS+set}
4621 ac_save_CXXFLAGS=$CXXFLAGS
4622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4623 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4624 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4625   $as_echo_n "(cached) " >&6
4626 else
4627   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4628    ac_cxx_werror_flag=yes
4629    ac_cv_prog_cxx_g=no
4630    CXXFLAGS="-g"
4631    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4632 /* end confdefs.h.  */
4633
4634 int
4635 main ()
4636 {
4637
4638   ;
4639   return 0;
4640 }
4641 _ACEOF
4642 if ac_fn_cxx_try_compile "$LINENO"; then :
4643   ac_cv_prog_cxx_g=yes
4644 else
4645   CXXFLAGS=""
4646       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4647 /* end confdefs.h.  */
4648
4649 int
4650 main ()
4651 {
4652
4653   ;
4654   return 0;
4655 }
4656 _ACEOF
4657 if ac_fn_cxx_try_compile "$LINENO"; then :
4658
4659 else
4660   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4661          CXXFLAGS="-g"
4662          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4663 /* end confdefs.h.  */
4664
4665 int
4666 main ()
4667 {
4668
4669   ;
4670   return 0;
4671 }
4672 _ACEOF
4673 if ac_fn_cxx_try_compile "$LINENO"; then :
4674   ac_cv_prog_cxx_g=yes
4675 fi
4676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4677 fi
4678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4679 fi
4680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4681    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4682 fi
4683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4684 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4685 if test "$ac_test_CXXFLAGS" = set; then
4686   CXXFLAGS=$ac_save_CXXFLAGS
4687 elif test $ac_cv_prog_cxx_g = yes; then
4688   if test "$GXX" = yes; then
4689     CXXFLAGS="-g -O2"
4690   else
4691     CXXFLAGS="-g"
4692   fi
4693 else
4694   if test "$GXX" = yes; then
4695     CXXFLAGS="-O2"
4696   else
4697     CXXFLAGS=
4698   fi
4699 fi
4700 ac_ext=c
4701 ac_cpp='$CPP $CPPFLAGS'
4702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4705
4706 CXXFLAGS="$save_CXXFLAGS"
4707
4708
4709
4710
4711 # Runs configure.host, and assorted other critical bits.  Sets
4712 # up critical shell variables.
4713
4714 ac_ext=c
4715 ac_cpp='$CPP $CPPFLAGS'
4716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4720 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4721 # On Suns, sometimes $CPP names a directory.
4722 if test -n "$CPP" && test -d "$CPP"; then
4723   CPP=
4724 fi
4725 if test -z "$CPP"; then
4726   if test "${ac_cv_prog_CPP+set}" = set; then :
4727   $as_echo_n "(cached) " >&6
4728 else
4729       # Double quotes because CPP needs to be expanded
4730     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4731     do
4732       ac_preproc_ok=false
4733 for ac_c_preproc_warn_flag in '' yes
4734 do
4735   # Use a header file that comes with gcc, so configuring glibc
4736   # with a fresh cross-compiler works.
4737   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4738   # <limits.h> exists even on freestanding compilers.
4739   # On the NeXT, cc -E runs the code through the compiler's parser,
4740   # not just through cpp. "Syntax error" is here to catch this case.
4741   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4742 /* end confdefs.h.  */
4743 #ifdef __STDC__
4744 # include <limits.h>
4745 #else
4746 # include <assert.h>
4747 #endif
4748                      Syntax error
4749 _ACEOF
4750 if ac_fn_c_try_cpp "$LINENO"; then :
4751
4752 else
4753   # Broken: fails on valid input.
4754 continue
4755 fi
4756 rm -f conftest.err conftest.$ac_ext
4757
4758   # OK, works on sane cases.  Now check whether nonexistent headers
4759   # can be detected and how.
4760   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4761 /* end confdefs.h.  */
4762 #include <ac_nonexistent.h>
4763 _ACEOF
4764 if ac_fn_c_try_cpp "$LINENO"; then :
4765   # Broken: success on invalid input.
4766 continue
4767 else
4768   # Passes both tests.
4769 ac_preproc_ok=:
4770 break
4771 fi
4772 rm -f conftest.err conftest.$ac_ext
4773
4774 done
4775 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4776 rm -f conftest.err conftest.$ac_ext
4777 if $ac_preproc_ok; then :
4778   break
4779 fi
4780
4781     done
4782     ac_cv_prog_CPP=$CPP
4783
4784 fi
4785   CPP=$ac_cv_prog_CPP
4786 else
4787   ac_cv_prog_CPP=$CPP
4788 fi
4789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4790 $as_echo "$CPP" >&6; }
4791 ac_preproc_ok=false
4792 for ac_c_preproc_warn_flag in '' yes
4793 do
4794   # Use a header file that comes with gcc, so configuring glibc
4795   # with a fresh cross-compiler works.
4796   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4797   # <limits.h> exists even on freestanding compilers.
4798   # On the NeXT, cc -E runs the code through the compiler's parser,
4799   # not just through cpp. "Syntax error" is here to catch this case.
4800   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4801 /* end confdefs.h.  */
4802 #ifdef __STDC__
4803 # include <limits.h>
4804 #else
4805 # include <assert.h>
4806 #endif
4807                      Syntax error
4808 _ACEOF
4809 if ac_fn_c_try_cpp "$LINENO"; then :
4810
4811 else
4812   # Broken: fails on valid input.
4813 continue
4814 fi
4815 rm -f conftest.err conftest.$ac_ext
4816
4817   # OK, works on sane cases.  Now check whether nonexistent headers
4818   # can be detected and how.
4819   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4820 /* end confdefs.h.  */
4821 #include <ac_nonexistent.h>
4822 _ACEOF
4823 if ac_fn_c_try_cpp "$LINENO"; then :
4824   # Broken: success on invalid input.
4825 continue
4826 else
4827   # Passes both tests.
4828 ac_preproc_ok=:
4829 break
4830 fi
4831 rm -f conftest.err conftest.$ac_ext
4832
4833 done
4834 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4835 rm -f conftest.err conftest.$ac_ext
4836 if $ac_preproc_ok; then :
4837
4838 else
4839   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4840 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4841 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4842 See \`config.log' for more details." "$LINENO" 5; }
4843 fi
4844
4845 ac_ext=c
4846 ac_cpp='$CPP $CPPFLAGS'
4847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4850
4851
4852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4853 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4854 if test "${ac_cv_path_GREP+set}" = set; then :
4855   $as_echo_n "(cached) " >&6
4856 else
4857   if test -z "$GREP"; then
4858   ac_path_GREP_found=false
4859   # Loop through the user's path and test for each of PROGNAME-LIST
4860   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4861 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4862 do
4863   IFS=$as_save_IFS
4864   test -z "$as_dir" && as_dir=.
4865     for ac_prog in grep ggrep; do
4866     for ac_exec_ext in '' $ac_executable_extensions; do
4867       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4868       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4869 # Check for GNU ac_path_GREP and select it if it is found.
4870   # Check for GNU $ac_path_GREP
4871 case `"$ac_path_GREP" --version 2>&1` in
4872 *GNU*)
4873   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4874 *)
4875   ac_count=0
4876   $as_echo_n 0123456789 >"conftest.in"
4877   while :
4878   do
4879     cat "conftest.in" "conftest.in" >"conftest.tmp"
4880     mv "conftest.tmp" "conftest.in"
4881     cp "conftest.in" "conftest.nl"
4882     $as_echo 'GREP' >> "conftest.nl"
4883     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4884     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4885     as_fn_arith $ac_count + 1 && ac_count=$as_val
4886     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4887       # Best one so far, save it but keep looking for a better one
4888       ac_cv_path_GREP="$ac_path_GREP"
4889       ac_path_GREP_max=$ac_count
4890     fi
4891     # 10*(2^10) chars as input seems more than enough
4892     test $ac_count -gt 10 && break
4893   done
4894   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4895 esac
4896
4897       $ac_path_GREP_found && break 3
4898     done
4899   done
4900   done
4901 IFS=$as_save_IFS
4902   if test -z "$ac_cv_path_GREP"; then
4903     as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4904   fi
4905 else
4906   ac_cv_path_GREP=$GREP
4907 fi
4908
4909 fi
4910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4911 $as_echo "$ac_cv_path_GREP" >&6; }
4912  GREP="$ac_cv_path_GREP"
4913
4914
4915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4916 $as_echo_n "checking for egrep... " >&6; }
4917 if test "${ac_cv_path_EGREP+set}" = set; then :
4918   $as_echo_n "(cached) " >&6
4919 else
4920   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4921    then ac_cv_path_EGREP="$GREP -E"
4922    else
4923      if test -z "$EGREP"; then
4924   ac_path_EGREP_found=false
4925   # Loop through the user's path and test for each of PROGNAME-LIST
4926   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4927 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4928 do
4929   IFS=$as_save_IFS
4930   test -z "$as_dir" && as_dir=.
4931     for ac_prog in egrep; do
4932     for ac_exec_ext in '' $ac_executable_extensions; do
4933       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4934       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4935 # Check for GNU ac_path_EGREP and select it if it is found.
4936   # Check for GNU $ac_path_EGREP
4937 case `"$ac_path_EGREP" --version 2>&1` in
4938 *GNU*)
4939   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4940 *)
4941   ac_count=0
4942   $as_echo_n 0123456789 >"conftest.in"
4943   while :
4944   do
4945     cat "conftest.in" "conftest.in" >"conftest.tmp"
4946     mv "conftest.tmp" "conftest.in"
4947     cp "conftest.in" "conftest.nl"
4948     $as_echo 'EGREP' >> "conftest.nl"
4949     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4950     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4951     as_fn_arith $ac_count + 1 && ac_count=$as_val
4952     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4953       # Best one so far, save it but keep looking for a better one
4954       ac_cv_path_EGREP="$ac_path_EGREP"
4955       ac_path_EGREP_max=$ac_count
4956     fi
4957     # 10*(2^10) chars as input seems more than enough
4958     test $ac_count -gt 10 && break
4959   done
4960   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4961 esac
4962
4963       $ac_path_EGREP_found && break 3
4964     done
4965   done
4966   done
4967 IFS=$as_save_IFS
4968   if test -z "$ac_cv_path_EGREP"; then
4969     as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4970   fi
4971 else
4972   ac_cv_path_EGREP=$EGREP
4973 fi
4974
4975    fi
4976 fi
4977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4978 $as_echo "$ac_cv_path_EGREP" >&6; }
4979  EGREP="$ac_cv_path_EGREP"
4980
4981
4982
4983   # Keep these sync'd with the list in Makefile.am.  The first provides an
4984   # expandable list at autoconf time; the second provides an expandable list
4985   # (i.e., shell variable) at configure time.
4986
4987   SUBDIRS='include libsupc++ python src doc po testsuite'
4988
4989   # These need to be absolute paths, yet at the same time need to
4990   # canonicalize only relative paths, because then amd will not unmount
4991   # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4992   glibcxx_builddir=`${PWDCMD-pwd}`
4993   case $srcdir in
4994     \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
4995     *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4996   esac
4997   toplevel_srcdir=${glibcxx_srcdir}/..
4998
4999
5000
5001
5002   # We use these options to decide which functions to include.  They are
5003   # set from the top level.
5004
5005 # Check whether --with-target-subdir was given.
5006 if test "${with_target_subdir+set}" = set; then :
5007   withval=$with_target_subdir;
5008 fi
5009
5010
5011
5012 # Check whether --with-cross-host was given.
5013 if test "${with_cross_host+set}" = set; then :
5014   withval=$with_cross_host;
5015 fi
5016
5017
5018
5019 # Check whether --with-newlib was given.
5020 if test "${with_newlib+set}" = set; then :
5021   withval=$with_newlib;
5022 fi
5023
5024
5025   # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
5026   # available).  Uncomment the next line to force a particular method.
5027   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5028 $as_echo_n "checking whether ln -s works... " >&6; }
5029 LN_S=$as_ln_s
5030 if test "$LN_S" = "ln -s"; then
5031   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5032 $as_echo "yes" >&6; }
5033 else
5034   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5035 $as_echo "no, using $LN_S" >&6; }
5036 fi
5037
5038   #LN_S='cp -p'
5039
5040   if test -n "$ac_tool_prefix"; then
5041   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5042 set dummy ${ac_tool_prefix}as; ac_word=$2
5043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5044 $as_echo_n "checking for $ac_word... " >&6; }
5045 if test "${ac_cv_prog_AS+set}" = set; then :
5046   $as_echo_n "(cached) " >&6
5047 else
5048   if test -n "$AS"; then
5049   ac_cv_prog_AS="$AS" # Let the user override the test.
5050 else
5051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5052 for as_dir in $PATH
5053 do
5054   IFS=$as_save_IFS
5055   test -z "$as_dir" && as_dir=.
5056     for ac_exec_ext in '' $ac_executable_extensions; do
5057   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5058     ac_cv_prog_AS="${ac_tool_prefix}as"
5059     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5060     break 2
5061   fi
5062 done
5063   done
5064 IFS=$as_save_IFS
5065
5066 fi
5067 fi
5068 AS=$ac_cv_prog_AS
5069 if test -n "$AS"; then
5070   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5071 $as_echo "$AS" >&6; }
5072 else
5073   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5074 $as_echo "no" >&6; }
5075 fi
5076
5077
5078 fi
5079 if test -z "$ac_cv_prog_AS"; then
5080   ac_ct_AS=$AS
5081   # Extract the first word of "as", so it can be a program name with args.
5082 set dummy as; ac_word=$2
5083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5084 $as_echo_n "checking for $ac_word... " >&6; }
5085 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
5086   $as_echo_n "(cached) " >&6
5087 else
5088   if test -n "$ac_ct_AS"; then
5089   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5090 else
5091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5092 for as_dir in $PATH
5093 do
5094   IFS=$as_save_IFS
5095   test -z "$as_dir" && as_dir=.
5096     for ac_exec_ext in '' $ac_executable_extensions; do
5097   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5098     ac_cv_prog_ac_ct_AS="as"
5099     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5100     break 2
5101   fi
5102 done
5103   done
5104 IFS=$as_save_IFS
5105
5106 fi
5107 fi
5108 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5109 if test -n "$ac_ct_AS"; then
5110   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5111 $as_echo "$ac_ct_AS" >&6; }
5112 else
5113   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5114 $as_echo "no" >&6; }
5115 fi
5116
5117   if test "x$ac_ct_AS" = x; then
5118     AS=""
5119   else
5120     case $cross_compiling:$ac_tool_warned in
5121 yes:)
5122 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5123 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5124 ac_tool_warned=yes ;;
5125 esac
5126     AS=$ac_ct_AS
5127   fi
5128 else
5129   AS="$ac_cv_prog_AS"
5130 fi
5131
5132   if test -n "$ac_tool_prefix"; then
5133   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5134 set dummy ${ac_tool_prefix}ar; ac_word=$2
5135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5136 $as_echo_n "checking for $ac_word... " >&6; }
5137 if test "${ac_cv_prog_AR+set}" = set; then :
5138   $as_echo_n "(cached) " >&6
5139 else
5140   if test -n "$AR"; then
5141   ac_cv_prog_AR="$AR" # Let the user override the test.
5142 else
5143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5144 for as_dir in $PATH
5145 do
5146   IFS=$as_save_IFS
5147   test -z "$as_dir" && as_dir=.
5148     for ac_exec_ext in '' $ac_executable_extensions; do
5149   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5150     ac_cv_prog_AR="${ac_tool_prefix}ar"
5151     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5152     break 2
5153   fi
5154 done
5155   done
5156 IFS=$as_save_IFS
5157
5158 fi
5159 fi
5160 AR=$ac_cv_prog_AR
5161 if test -n "$AR"; then
5162   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5163 $as_echo "$AR" >&6; }
5164 else
5165   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5166 $as_echo "no" >&6; }
5167 fi
5168
5169
5170 fi
5171 if test -z "$ac_cv_prog_AR"; then
5172   ac_ct_AR=$AR
5173   # Extract the first word of "ar", so it can be a program name with args.
5174 set dummy ar; ac_word=$2
5175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5176 $as_echo_n "checking for $ac_word... " >&6; }
5177 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5178   $as_echo_n "(cached) " >&6
5179 else
5180   if test -n "$ac_ct_AR"; then
5181   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5182 else
5183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5184 for as_dir in $PATH
5185 do
5186   IFS=$as_save_IFS
5187   test -z "$as_dir" && as_dir=.
5188     for ac_exec_ext in '' $ac_executable_extensions; do
5189   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5190     ac_cv_prog_ac_ct_AR="ar"
5191     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5192     break 2
5193   fi
5194 done
5195   done
5196 IFS=$as_save_IFS
5197
5198 fi
5199 fi
5200 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5201 if test -n "$ac_ct_AR"; then
5202   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5203 $as_echo "$ac_ct_AR" >&6; }
5204 else
5205   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5206 $as_echo "no" >&6; }
5207 fi
5208
5209   if test "x$ac_ct_AR" = x; then
5210     AR=""
5211   else
5212     case $cross_compiling:$ac_tool_warned in
5213 yes:)
5214 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5215 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5216 ac_tool_warned=yes ;;
5217 esac
5218     AR=$ac_ct_AR
5219   fi
5220 else
5221   AR="$ac_cv_prog_AR"
5222 fi
5223
5224   if test -n "$ac_tool_prefix"; then
5225   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5226 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5228 $as_echo_n "checking for $ac_word... " >&6; }
5229 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5230   $as_echo_n "(cached) " >&6
5231 else
5232   if test -n "$RANLIB"; then
5233   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5234 else
5235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5236 for as_dir in $PATH
5237 do
5238   IFS=$as_save_IFS
5239   test -z "$as_dir" && as_dir=.
5240     for ac_exec_ext in '' $ac_executable_extensions; do
5241   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5242     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5243     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5244     break 2
5245   fi
5246 done
5247   done
5248 IFS=$as_save_IFS
5249
5250 fi
5251 fi
5252 RANLIB=$ac_cv_prog_RANLIB
5253 if test -n "$RANLIB"; then
5254   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5255 $as_echo "$RANLIB" >&6; }
5256 else
5257   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5258 $as_echo "no" >&6; }
5259 fi
5260
5261
5262 fi
5263 if test -z "$ac_cv_prog_RANLIB"; then
5264   ac_ct_RANLIB=$RANLIB
5265   # Extract the first word of "ranlib", so it can be a program name with args.
5266 set dummy ranlib; ac_word=$2
5267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5268 $as_echo_n "checking for $ac_word... " >&6; }
5269 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5270   $as_echo_n "(cached) " >&6
5271 else
5272   if test -n "$ac_ct_RANLIB"; then
5273   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5274 else
5275 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5276 for as_dir in $PATH
5277 do
5278   IFS=$as_save_IFS
5279   test -z "$as_dir" && as_dir=.
5280     for ac_exec_ext in '' $ac_executable_extensions; do
5281   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5282     ac_cv_prog_ac_ct_RANLIB="ranlib"
5283     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5284     break 2
5285   fi
5286 done
5287   done
5288 IFS=$as_save_IFS
5289
5290 fi
5291 fi
5292 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5293 if test -n "$ac_ct_RANLIB"; then
5294   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5295 $as_echo "$ac_ct_RANLIB" >&6; }
5296 else
5297   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5298 $as_echo "no" >&6; }
5299 fi
5300
5301   if test "x$ac_ct_RANLIB" = x; then
5302     RANLIB="ranlib-not-found-in-path-error"
5303   else
5304     case $cross_compiling:$ac_tool_warned in
5305 yes:)
5306 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5307 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5308 ac_tool_warned=yes ;;
5309 esac
5310     RANLIB=$ac_ct_RANLIB
5311   fi
5312 else
5313   RANLIB="$ac_cv_prog_RANLIB"
5314 fi
5315
5316
5317
5318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5319 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5320     # Check whether --enable-maintainer-mode was given.
5321 if test "${enable_maintainer_mode+set}" = set; then :
5322   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5323 else
5324   USE_MAINTAINER_MODE=no
5325 fi
5326
5327   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5328 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5329    if test $USE_MAINTAINER_MODE = yes; then
5330   MAINTAINER_MODE_TRUE=
5331   MAINTAINER_MODE_FALSE='#'
5332 else
5333   MAINTAINER_MODE_TRUE='#'
5334   MAINTAINER_MODE_FALSE=
5335 fi
5336
5337   MAINT=$MAINTAINER_MODE_TRUE
5338
5339
5340
5341   # Set up safe default values for all subsequent AM_CONDITIONAL tests
5342   # which are themselves conditionally expanded.
5343   ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5344   ## other macros from doing the same.  This should be automated.)  -pme
5345
5346   # Check for uClibc since Linux platforms use different configuration
5347   # directories depending on the C library in use.
5348   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5349 /* end confdefs.h.  */
5350
5351   #include <stdio.h>
5352   #if __UCLIBC__
5353     _using_uclibc
5354   #endif
5355
5356 _ACEOF
5357 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5358   $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5359   uclibc=yes
5360 else
5361   uclibc=no
5362 fi
5363 rm -f conftest*
5364
5365
5366   # Find platform-specific directories containing configuration info.
5367   # Also possibly modify flags used elsewhere, as needed by the platform.
5368
5369   . $glibcxx_srcdir/configure.host
5370   { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5371 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5372   { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5373 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5374
5375
5376
5377 if test "x${with_newlib}" != "xyes"; then
5378   enable_dlopen=yes
5379
5380
5381
5382 fi
5383 case `pwd` in
5384   *\ * | *\     *)
5385     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5386 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5387 esac
5388
5389
5390
5391 macro_version='2.2.6'
5392 macro_revision='1.3012'
5393
5394
5395
5396
5397
5398
5399
5400
5401
5402
5403
5404
5405
5406 ltmain="$ac_aux_dir/ltmain.sh"
5407
5408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5409 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5410 if test "${ac_cv_path_SED+set}" = set; then :
5411   $as_echo_n "(cached) " >&6
5412 else
5413             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5414      for ac_i in 1 2 3 4 5 6 7; do
5415        ac_script="$ac_script$as_nl$ac_script"
5416      done
5417      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5418      { ac_script=; unset ac_script;}
5419      if test -z "$SED"; then
5420   ac_path_SED_found=false
5421   # Loop through the user's path and test for each of PROGNAME-LIST
5422   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5423 for as_dir in $PATH
5424 do
5425   IFS=$as_save_IFS
5426   test -z "$as_dir" && as_dir=.
5427     for ac_prog in sed gsed; do
5428     for ac_exec_ext in '' $ac_executable_extensions; do
5429       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5430       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5431 # Check for GNU ac_path_SED and select it if it is found.
5432   # Check for GNU $ac_path_SED
5433 case `"$ac_path_SED" --version 2>&1` in
5434 *GNU*)
5435   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5436 *)
5437   ac_count=0
5438   $as_echo_n 0123456789 >"conftest.in"
5439   while :
5440   do
5441     cat "conftest.in" "conftest.in" >"conftest.tmp"
5442     mv "conftest.tmp" "conftest.in"
5443     cp "conftest.in" "conftest.nl"
5444     $as_echo '' >> "conftest.nl"
5445     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5446     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5447     as_fn_arith $ac_count + 1 && ac_count=$as_val
5448     if test $ac_count -gt ${ac_path_SED_max-0}; then
5449       # Best one so far, save it but keep looking for a better one
5450       ac_cv_path_SED="$ac_path_SED"
5451       ac_path_SED_max=$ac_count
5452     fi
5453     # 10*(2^10) chars as input seems more than enough
5454     test $ac_count -gt 10 && break
5455   done
5456   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5457 esac
5458
5459       $ac_path_SED_found && break 3
5460     done
5461   done
5462   done
5463 IFS=$as_save_IFS
5464   if test -z "$ac_cv_path_SED"; then
5465     as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5466   fi
5467 else
5468   ac_cv_path_SED=$SED
5469 fi
5470
5471 fi
5472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5473 $as_echo "$ac_cv_path_SED" >&6; }
5474  SED="$ac_cv_path_SED"
5475   rm -f conftest.sed
5476
5477 test -z "$SED" && SED=sed
5478 Xsed="$SED -e 1s/^X//"
5479
5480
5481
5482
5483
5484
5485
5486
5487
5488
5489
5490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5491 $as_echo_n "checking for fgrep... " >&6; }
5492 if test "${ac_cv_path_FGREP+set}" = set; then :
5493   $as_echo_n "(cached) " >&6
5494 else
5495   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5496    then ac_cv_path_FGREP="$GREP -F"
5497    else
5498      if test -z "$FGREP"; then
5499   ac_path_FGREP_found=false
5500   # Loop through the user's path and test for each of PROGNAME-LIST
5501   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5502 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5503 do
5504   IFS=$as_save_IFS
5505   test -z "$as_dir" && as_dir=.
5506     for ac_prog in fgrep; do
5507     for ac_exec_ext in '' $ac_executable_extensions; do
5508       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5509       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5510 # Check for GNU ac_path_FGREP and select it if it is found.
5511   # Check for GNU $ac_path_FGREP
5512 case `"$ac_path_FGREP" --version 2>&1` in
5513 *GNU*)
5514   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5515 *)
5516   ac_count=0
5517   $as_echo_n 0123456789 >"conftest.in"
5518   while :
5519   do
5520     cat "conftest.in" "conftest.in" >"conftest.tmp"
5521     mv "conftest.tmp" "conftest.in"
5522     cp "conftest.in" "conftest.nl"
5523     $as_echo 'FGREP' >> "conftest.nl"
5524     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5525     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5526     as_fn_arith $ac_count + 1 && ac_count=$as_val
5527     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5528       # Best one so far, save it but keep looking for a better one
5529       ac_cv_path_FGREP="$ac_path_FGREP"
5530       ac_path_FGREP_max=$ac_count
5531     fi
5532     # 10*(2^10) chars as input seems more than enough
5533     test $ac_count -gt 10 && break
5534   done
5535   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5536 esac
5537
5538       $ac_path_FGREP_found && break 3
5539     done
5540   done
5541   done
5542 IFS=$as_save_IFS
5543   if test -z "$ac_cv_path_FGREP"; then
5544     as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5545   fi
5546 else
5547   ac_cv_path_FGREP=$FGREP
5548 fi
5549
5550    fi
5551 fi
5552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5553 $as_echo "$ac_cv_path_FGREP" >&6; }
5554  FGREP="$ac_cv_path_FGREP"
5555
5556
5557 test -z "$GREP" && GREP=grep
5558
5559
5560
5561
5562
5563
5564
5565
5566
5567
5568
5569
5570
5571
5572
5573
5574
5575
5576
5577 # Check whether --with-gnu-ld was given.
5578 if test "${with_gnu_ld+set}" = set; then :
5579   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5580 else
5581   with_gnu_ld=no
5582 fi
5583
5584 ac_prog=ld
5585 if test "$GCC" = yes; then
5586   # Check if gcc -print-prog-name=ld gives a path.
5587   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5588 $as_echo_n "checking for ld used by $CC... " >&6; }
5589   case $host in
5590   *-*-mingw*)
5591     # gcc leaves a trailing carriage return which upsets mingw
5592     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5593   *)
5594     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5595   esac
5596   case $ac_prog in
5597     # Accept absolute paths.
5598     [\\/]* | ?:[\\/]*)
5599       re_direlt='/[^/][^/]*/\.\./'
5600       # Canonicalize the pathname of ld
5601       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5602       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5603         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5604       done
5605       test -z "$LD" && LD="$ac_prog"
5606       ;;
5607   "")
5608     # If it fails, then pretend we aren't using GCC.
5609     ac_prog=ld
5610     ;;
5611   *)
5612     # If it is relative, then search for the first ld in PATH.
5613     with_gnu_ld=unknown
5614     ;;
5615   esac
5616 elif test "$with_gnu_ld" = yes; then
5617   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5618 $as_echo_n "checking for GNU ld... " >&6; }
5619 else
5620   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5621 $as_echo_n "checking for non-GNU ld... " >&6; }
5622 fi
5623 if test "${lt_cv_path_LD+set}" = set; then :
5624   $as_echo_n "(cached) " >&6
5625 else
5626   if test -z "$LD"; then
5627   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5628   for ac_dir in $PATH; do
5629     IFS="$lt_save_ifs"
5630     test -z "$ac_dir" && ac_dir=.
5631     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5632       lt_cv_path_LD="$ac_dir/$ac_prog"
5633       # Check to see if the program is GNU ld.  I'd rather use --version,
5634       # but apparently some variants of GNU ld only accept -v.
5635       # Break only if it was the GNU/non-GNU ld that we prefer.
5636       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5637       *GNU* | *'with BFD'*)
5638         test "$with_gnu_ld" != no && break
5639         ;;
5640       *)
5641         test "$with_gnu_ld" != yes && break
5642         ;;
5643       esac
5644     fi
5645   done
5646   IFS="$lt_save_ifs"
5647 else
5648   lt_cv_path_LD="$LD" # Let the user override the test with a path.
5649 fi
5650 fi
5651
5652 LD="$lt_cv_path_LD"
5653 if test -n "$LD"; then
5654   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5655 $as_echo "$LD" >&6; }
5656 else
5657   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5658 $as_echo "no" >&6; }
5659 fi
5660 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5662 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5663 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5664   $as_echo_n "(cached) " >&6
5665 else
5666   # I'd rather use --version here, but apparently some GNU lds only accept -v.
5667 case `$LD -v 2>&1 </dev/null` in
5668 *GNU* | *'with BFD'*)
5669   lt_cv_prog_gnu_ld=yes
5670   ;;
5671 *)
5672   lt_cv_prog_gnu_ld=no
5673   ;;
5674 esac
5675 fi
5676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5677 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5678 with_gnu_ld=$lt_cv_prog_gnu_ld
5679
5680
5681
5682
5683
5684
5685
5686
5687
5688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5689 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5690 if test "${lt_cv_path_NM+set}" = set; then :
5691   $as_echo_n "(cached) " >&6
5692 else
5693   if test -n "$NM"; then
5694   # Let the user override the test.
5695   lt_cv_path_NM="$NM"
5696 else
5697   lt_nm_to_check="${ac_tool_prefix}nm"
5698   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5699     lt_nm_to_check="$lt_nm_to_check nm"
5700   fi
5701   for lt_tmp_nm in $lt_nm_to_check; do
5702     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5703     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5704       IFS="$lt_save_ifs"
5705       test -z "$ac_dir" && ac_dir=.
5706       tmp_nm="$ac_dir/$lt_tmp_nm"
5707       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5708         # Check to see if the nm accepts a BSD-compat flag.
5709         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5710         #   nm: unknown option "B" ignored
5711         # Tru64's nm complains that /dev/null is an invalid object file
5712         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5713         */dev/null* | *'Invalid file or object type'*)
5714           lt_cv_path_NM="$tmp_nm -B"
5715           break
5716           ;;
5717         *)
5718           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5719           */dev/null*)
5720             lt_cv_path_NM="$tmp_nm -p"
5721             break
5722             ;;
5723           *)
5724             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5725             continue # so that we can try to find one that supports BSD flags
5726             ;;
5727           esac
5728           ;;
5729         esac
5730       fi
5731     done
5732     IFS="$lt_save_ifs"
5733   done
5734   : ${lt_cv_path_NM=no}
5735 fi
5736 fi
5737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5738 $as_echo "$lt_cv_path_NM" >&6; }
5739 if test "$lt_cv_path_NM" != "no"; then
5740   NM="$lt_cv_path_NM"
5741 else
5742   # Didn't find any BSD compatible name lister, look for dumpbin.
5743   if test -n "$ac_tool_prefix"; then
5744   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5745   do
5746     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5747 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5749 $as_echo_n "checking for $ac_word... " >&6; }
5750 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5751   $as_echo_n "(cached) " >&6
5752 else
5753   if test -n "$DUMPBIN"; then
5754   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5755 else
5756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5757 for as_dir in $PATH
5758 do
5759   IFS=$as_save_IFS
5760   test -z "$as_dir" && as_dir=.
5761     for ac_exec_ext in '' $ac_executable_extensions; do
5762   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5763     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5764     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5765     break 2
5766   fi
5767 done
5768   done
5769 IFS=$as_save_IFS
5770
5771 fi
5772 fi
5773 DUMPBIN=$ac_cv_prog_DUMPBIN
5774 if test -n "$DUMPBIN"; then
5775   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5776 $as_echo "$DUMPBIN" >&6; }
5777 else
5778   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5779 $as_echo "no" >&6; }
5780 fi
5781
5782
5783     test -n "$DUMPBIN" && break
5784   done
5785 fi
5786 if test -z "$DUMPBIN"; then
5787   ac_ct_DUMPBIN=$DUMPBIN
5788   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5789 do
5790   # Extract the first word of "$ac_prog", so it can be a program name with args.
5791 set dummy $ac_prog; ac_word=$2
5792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5793 $as_echo_n "checking for $ac_word... " >&6; }
5794 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5795   $as_echo_n "(cached) " >&6
5796 else
5797   if test -n "$ac_ct_DUMPBIN"; then
5798   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5799 else
5800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5801 for as_dir in $PATH
5802 do
5803   IFS=$as_save_IFS
5804   test -z "$as_dir" && as_dir=.
5805     for ac_exec_ext in '' $ac_executable_extensions; do
5806   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5807     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5808     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5809     break 2
5810   fi
5811 done
5812   done
5813 IFS=$as_save_IFS
5814
5815 fi
5816 fi
5817 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5818 if test -n "$ac_ct_DUMPBIN"; then
5819   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5820 $as_echo "$ac_ct_DUMPBIN" >&6; }
5821 else
5822   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5823 $as_echo "no" >&6; }
5824 fi
5825
5826
5827   test -n "$ac_ct_DUMPBIN" && break
5828 done
5829
5830   if test "x$ac_ct_DUMPBIN" = x; then
5831     DUMPBIN=":"
5832   else
5833     case $cross_compiling:$ac_tool_warned in
5834 yes:)
5835 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5836 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5837 ac_tool_warned=yes ;;
5838 esac
5839     DUMPBIN=$ac_ct_DUMPBIN
5840   fi
5841 fi
5842
5843
5844   if test "$DUMPBIN" != ":"; then
5845     NM="$DUMPBIN"
5846   fi
5847 fi
5848 test -z "$NM" && NM=nm
5849
5850
5851
5852
5853
5854
5855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5856 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5857 if test "${lt_cv_nm_interface+set}" = set; then :
5858   $as_echo_n "(cached) " >&6
5859 else
5860   lt_cv_nm_interface="BSD nm"
5861   echo "int some_variable = 0;" > conftest.$ac_ext
5862   (eval echo "\"\$as_me:5862: $ac_compile\"" >&5)
5863   (eval "$ac_compile" 2>conftest.err)
5864   cat conftest.err >&5
5865   (eval echo "\"\$as_me:5865: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5866   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5867   cat conftest.err >&5
5868   (eval echo "\"\$as_me:5868: output\"" >&5)
5869   cat conftest.out >&5
5870   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5871     lt_cv_nm_interface="MS dumpbin"
5872   fi
5873   rm -f conftest*
5874 fi
5875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5876 $as_echo "$lt_cv_nm_interface" >&6; }
5877
5878 # find the maximum length of command line arguments
5879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5880 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5881 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5882   $as_echo_n "(cached) " >&6
5883 else
5884     i=0
5885   teststring="ABCD"
5886
5887   case $build_os in
5888   msdosdjgpp*)
5889     # On DJGPP, this test can blow up pretty badly due to problems in libc
5890     # (any single argument exceeding 2000 bytes causes a buffer overrun
5891     # during glob expansion).  Even if it were fixed, the result of this
5892     # check would be larger than it should be.
5893     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5894     ;;
5895
5896   gnu*)
5897     # Under GNU Hurd, this test is not required because there is
5898     # no limit to the length of command line arguments.
5899     # Libtool will interpret -1 as no limit whatsoever
5900     lt_cv_sys_max_cmd_len=-1;
5901     ;;
5902
5903   cygwin* | mingw* | cegcc*)
5904     # On Win9x/ME, this test blows up -- it succeeds, but takes
5905     # about 5 minutes as the teststring grows exponentially.
5906     # Worse, since 9x/ME are not pre-emptively multitasking,
5907     # you end up with a "frozen" computer, even though with patience
5908     # the test eventually succeeds (with a max line length of 256k).
5909     # Instead, let's just punt: use the minimum linelength reported by
5910     # all of the supported platforms: 8192 (on NT/2K/XP).
5911     lt_cv_sys_max_cmd_len=8192;
5912     ;;
5913
5914   amigaos*)
5915     # On AmigaOS with pdksh, this test takes hours, literally.
5916     # So we just punt and use a minimum line length of 8192.
5917     lt_cv_sys_max_cmd_len=8192;
5918     ;;
5919
5920   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5921     # This has been around since 386BSD, at least.  Likely further.
5922     if test -x /sbin/sysctl; then
5923       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5924     elif test -x /usr/sbin/sysctl; then
5925       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5926     else
5927       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
5928     fi
5929     # And add a safety zone
5930     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5931     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5932     ;;
5933
5934   interix*)
5935     # We know the value 262144 and hardcode it with a safety zone (like BSD)
5936     lt_cv_sys_max_cmd_len=196608
5937     ;;
5938
5939   osf*)
5940     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5941     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5942     # nice to cause kernel panics so lets avoid the loop below.
5943     # First set a reasonable default.
5944     lt_cv_sys_max_cmd_len=16384
5945     #
5946     if test -x /sbin/sysconfig; then
5947       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5948         *1*) lt_cv_sys_max_cmd_len=-1 ;;
5949       esac
5950     fi
5951     ;;
5952   sco3.2v5*)
5953     lt_cv_sys_max_cmd_len=102400
5954     ;;
5955   sysv5* | sco5v6* | sysv4.2uw2*)
5956     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5957     if test -n "$kargmax"; then
5958       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
5959     else
5960       lt_cv_sys_max_cmd_len=32768
5961     fi
5962     ;;
5963   *)
5964     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5965     if test -n "$lt_cv_sys_max_cmd_len"; then
5966       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5967       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5968     else
5969       # Make teststring a little bigger before we do anything with it.
5970       # a 1K string should be a reasonable start.
5971       for i in 1 2 3 4 5 6 7 8 ; do
5972         teststring=$teststring$teststring
5973       done
5974       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5975       # If test is not a shell built-in, we'll probably end up computing a
5976       # maximum length that is only half of the actual maximum length, but
5977       # we can't tell.
5978       while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5979                  = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5980               test $i != 17 # 1/2 MB should be enough
5981       do
5982         i=`expr $i + 1`
5983         teststring=$teststring$teststring
5984       done
5985       # Only check the string length outside the loop.
5986       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5987       teststring=
5988       # Add a significant safety factor because C++ compilers can tack on
5989       # massive amounts of additional arguments before passing them to the
5990       # linker.  It appears as though 1/2 is a usable value.
5991       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5992     fi
5993     ;;
5994   esac
5995
5996 fi
5997
5998 if test -n $lt_cv_sys_max_cmd_len ; then
5999   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6000 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6001 else
6002   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6003 $as_echo "none" >&6; }
6004 fi
6005 max_cmd_len=$lt_cv_sys_max_cmd_len
6006
6007
6008
6009
6010
6011
6012 : ${CP="cp -f"}
6013 : ${MV="mv -f"}
6014 : ${RM="rm -f"}
6015
6016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6017 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6018 # Try some XSI features
6019 xsi_shell=no
6020 ( _lt_dummy="a/b/c"
6021   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6022       = c,a/b,, \
6023     && eval 'test $(( 1 + 1 )) -eq 2 \
6024     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6025   && xsi_shell=yes
6026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6027 $as_echo "$xsi_shell" >&6; }
6028
6029
6030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6031 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6032 lt_shell_append=no
6033 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6034     >/dev/null 2>&1 \
6035   && lt_shell_append=yes
6036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6037 $as_echo "$lt_shell_append" >&6; }
6038
6039
6040 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6041   lt_unset=unset
6042 else
6043   lt_unset=false
6044 fi
6045
6046
6047
6048
6049
6050 # test EBCDIC or ASCII
6051 case `echo X|tr X '\101'` in
6052  A) # ASCII based system
6053     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6054   lt_SP2NL='tr \040 \012'
6055   lt_NL2SP='tr \015\012 \040\040'
6056   ;;
6057  *) # EBCDIC based system
6058   lt_SP2NL='tr \100 \n'
6059   lt_NL2SP='tr \r\n \100\100'
6060   ;;
6061 esac
6062
6063
6064
6065
6066
6067
6068
6069
6070
6071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6072 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6073 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6074   $as_echo_n "(cached) " >&6
6075 else
6076   lt_cv_ld_reload_flag='-r'
6077 fi
6078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6079 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6080 reload_flag=$lt_cv_ld_reload_flag
6081 case $reload_flag in
6082 "" | " "*) ;;
6083 *) reload_flag=" $reload_flag" ;;
6084 esac
6085 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6086 case $host_os in
6087   darwin*)
6088     if test "$GCC" = yes; then
6089       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6090     else
6091       reload_cmds='$LD$reload_flag -o $output$reload_objs'
6092     fi
6093     ;;
6094 esac
6095
6096
6097
6098
6099
6100
6101
6102
6103
6104 if test -n "$ac_tool_prefix"; then
6105   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6106 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6108 $as_echo_n "checking for $ac_word... " >&6; }
6109 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6110   $as_echo_n "(cached) " >&6
6111 else
6112   if test -n "$OBJDUMP"; then
6113   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6114 else
6115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6116 for as_dir in $PATH
6117 do
6118   IFS=$as_save_IFS
6119   test -z "$as_dir" && as_dir=.
6120     for ac_exec_ext in '' $ac_executable_extensions; do
6121   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6122     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6123     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6124     break 2
6125   fi
6126 done
6127   done
6128 IFS=$as_save_IFS
6129
6130 fi
6131 fi
6132 OBJDUMP=$ac_cv_prog_OBJDUMP
6133 if test -n "$OBJDUMP"; then
6134   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6135 $as_echo "$OBJDUMP" >&6; }
6136 else
6137   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6138 $as_echo "no" >&6; }
6139 fi
6140
6141
6142 fi
6143 if test -z "$ac_cv_prog_OBJDUMP"; then
6144   ac_ct_OBJDUMP=$OBJDUMP
6145   # Extract the first word of "objdump", so it can be a program name with args.
6146 set dummy objdump; ac_word=$2
6147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6148 $as_echo_n "checking for $ac_word... " >&6; }
6149 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6150   $as_echo_n "(cached) " >&6
6151 else
6152   if test -n "$ac_ct_OBJDUMP"; then
6153   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6154 else
6155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6156 for as_dir in $PATH
6157 do
6158   IFS=$as_save_IFS
6159   test -z "$as_dir" && as_dir=.
6160     for ac_exec_ext in '' $ac_executable_extensions; do
6161   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6162     ac_cv_prog_ac_ct_OBJDUMP="objdump"
6163     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6164     break 2
6165   fi
6166 done
6167   done
6168 IFS=$as_save_IFS
6169
6170 fi
6171 fi
6172 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6173 if test -n "$ac_ct_OBJDUMP"; then
6174   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6175 $as_echo "$ac_ct_OBJDUMP" >&6; }
6176 else
6177   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6178 $as_echo "no" >&6; }
6179 fi
6180
6181   if test "x$ac_ct_OBJDUMP" = x; then
6182     OBJDUMP="false"
6183   else
6184     case $cross_compiling:$ac_tool_warned in
6185 yes:)
6186 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6187 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6188 ac_tool_warned=yes ;;
6189 esac
6190     OBJDUMP=$ac_ct_OBJDUMP
6191   fi
6192 else
6193   OBJDUMP="$ac_cv_prog_OBJDUMP"
6194 fi
6195
6196 test -z "$OBJDUMP" && OBJDUMP=objdump
6197
6198
6199
6200
6201
6202
6203
6204
6205
6206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6207 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6208 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6209   $as_echo_n "(cached) " >&6
6210 else
6211   lt_cv_file_magic_cmd='$MAGIC_CMD'
6212 lt_cv_file_magic_test_file=
6213 lt_cv_deplibs_check_method='unknown'
6214 # Need to set the preceding variable on all platforms that support
6215 # interlibrary dependencies.
6216 # 'none' -- dependencies not supported.
6217 # `unknown' -- same as none, but documents that we really don't know.
6218 # 'pass_all' -- all dependencies passed with no checks.
6219 # 'test_compile' -- check by making test program.
6220 # 'file_magic [[regex]]' -- check by looking for files in library path
6221 # which responds to the $file_magic_cmd with a given extended regex.
6222 # If you have `file' or equivalent on your system and you're not sure
6223 # whether `pass_all' will *always* work, you probably want this one.
6224
6225 case $host_os in
6226 aix[4-9]*)
6227   lt_cv_deplibs_check_method=pass_all
6228   ;;
6229
6230 beos*)
6231   lt_cv_deplibs_check_method=pass_all
6232   ;;
6233
6234 bsdi[45]*)
6235   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6236   lt_cv_file_magic_cmd='/usr/bin/file -L'
6237   lt_cv_file_magic_test_file=/shlib/libc.so
6238   ;;
6239
6240 cygwin*)
6241   # func_win32_libid is a shell function defined in ltmain.sh
6242   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6243   lt_cv_file_magic_cmd='func_win32_libid'
6244   ;;
6245
6246 mingw* | pw32*)
6247   # Base MSYS/MinGW do not provide the 'file' command needed by
6248   # func_win32_libid shell function, so use a weaker test based on 'objdump',
6249   # unless we find 'file', for example because we are cross-compiling.
6250   if ( file / ) >/dev/null 2>&1; then
6251     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6252     lt_cv_file_magic_cmd='func_win32_libid'
6253   else
6254     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6255     lt_cv_file_magic_cmd='$OBJDUMP -f'
6256   fi
6257   ;;
6258
6259 cegcc)
6260   # use the weaker test based on 'objdump'. See mingw*.
6261   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6262   lt_cv_file_magic_cmd='$OBJDUMP -f'
6263   ;;
6264
6265 darwin* | rhapsody*)
6266   lt_cv_deplibs_check_method=pass_all
6267   ;;
6268
6269 freebsd* | dragonfly*)
6270   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6271     case $host_cpu in
6272     i*86 )
6273       # Not sure whether the presence of OpenBSD here was a mistake.
6274       # Let's accept both of them until this is cleared up.
6275       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6276       lt_cv_file_magic_cmd=/usr/bin/file
6277       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6278       ;;
6279     esac
6280   else
6281     lt_cv_deplibs_check_method=pass_all
6282   fi
6283   ;;
6284
6285 gnu*)
6286   lt_cv_deplibs_check_method=pass_all
6287   ;;
6288
6289 hpux10.20* | hpux11*)
6290   lt_cv_file_magic_cmd=/usr/bin/file
6291   case $host_cpu in
6292   ia64*)
6293     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6294     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6295     ;;
6296   hppa*64*)
6297     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]'
6298     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6299     ;;
6300   *)
6301     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
6302     lt_cv_file_magic_test_file=/usr/lib/libc.sl
6303     ;;
6304   esac
6305   ;;
6306
6307 interix[3-9]*)
6308   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6309   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6310   ;;
6311
6312 irix5* | irix6* | nonstopux*)
6313   case $LD in
6314   *-32|*"-32 ") libmagic=32-bit;;
6315   *-n32|*"-n32 ") libmagic=N32;;
6316   *-64|*"-64 ") libmagic=64-bit;;
6317   *) libmagic=never-match;;
6318   esac
6319   lt_cv_deplibs_check_method=pass_all
6320   ;;
6321
6322 # This must be Linux ELF.
6323 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6324   lt_cv_deplibs_check_method=pass_all
6325   ;;
6326
6327 netbsd*)
6328   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6329     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6330   else
6331     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6332   fi
6333   ;;
6334
6335 newos6*)
6336   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6337   lt_cv_file_magic_cmd=/usr/bin/file
6338   lt_cv_file_magic_test_file=/usr/lib/libnls.so
6339   ;;
6340
6341 *nto* | *qnx*)
6342   lt_cv_deplibs_check_method=pass_all
6343   ;;
6344
6345 openbsd*)
6346   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6347     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6348   else
6349     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6350   fi
6351   ;;
6352
6353 osf3* | osf4* | osf5*)
6354   lt_cv_deplibs_check_method=pass_all
6355   ;;
6356
6357 rdos*)
6358   lt_cv_deplibs_check_method=pass_all
6359   ;;
6360
6361 solaris*)
6362   lt_cv_deplibs_check_method=pass_all
6363   ;;
6364
6365 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6366   lt_cv_deplibs_check_method=pass_all
6367   ;;
6368
6369 sysv4 | sysv4.3*)
6370   case $host_vendor in
6371   motorola)
6372     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]'
6373     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6374     ;;
6375   ncr)
6376     lt_cv_deplibs_check_method=pass_all
6377     ;;
6378   sequent)
6379     lt_cv_file_magic_cmd='/bin/file'
6380     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6381     ;;
6382   sni)
6383     lt_cv_file_magic_cmd='/bin/file'
6384     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6385     lt_cv_file_magic_test_file=/lib/libc.so
6386     ;;
6387   siemens)
6388     lt_cv_deplibs_check_method=pass_all
6389     ;;
6390   pc)
6391     lt_cv_deplibs_check_method=pass_all
6392     ;;
6393   esac
6394   ;;
6395
6396 tpf*)
6397   lt_cv_deplibs_check_method=pass_all
6398   ;;
6399 esac
6400
6401 fi
6402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6403 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6404 file_magic_cmd=$lt_cv_file_magic_cmd
6405 deplibs_check_method=$lt_cv_deplibs_check_method
6406 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6407
6408
6409
6410
6411
6412
6413
6414
6415
6416
6417
6418
6419 if test -n "$ac_tool_prefix"; then
6420   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6421 set dummy ${ac_tool_prefix}ar; ac_word=$2
6422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6423 $as_echo_n "checking for $ac_word... " >&6; }
6424 if test "${ac_cv_prog_AR+set}" = set; then :
6425   $as_echo_n "(cached) " >&6
6426 else
6427   if test -n "$AR"; then
6428   ac_cv_prog_AR="$AR" # Let the user override the test.
6429 else
6430 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6431 for as_dir in $PATH
6432 do
6433   IFS=$as_save_IFS
6434   test -z "$as_dir" && as_dir=.
6435     for ac_exec_ext in '' $ac_executable_extensions; do
6436   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6437     ac_cv_prog_AR="${ac_tool_prefix}ar"
6438     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6439     break 2
6440   fi
6441 done
6442   done
6443 IFS=$as_save_IFS
6444
6445 fi
6446 fi
6447 AR=$ac_cv_prog_AR
6448 if test -n "$AR"; then
6449   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6450 $as_echo "$AR" >&6; }
6451 else
6452   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6453 $as_echo "no" >&6; }
6454 fi
6455
6456
6457 fi
6458 if test -z "$ac_cv_prog_AR"; then
6459   ac_ct_AR=$AR
6460   # Extract the first word of "ar", so it can be a program name with args.
6461 set dummy ar; ac_word=$2
6462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6463 $as_echo_n "checking for $ac_word... " >&6; }
6464 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6465   $as_echo_n "(cached) " >&6
6466 else
6467   if test -n "$ac_ct_AR"; then
6468   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6469 else
6470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6471 for as_dir in $PATH
6472 do
6473   IFS=$as_save_IFS
6474   test -z "$as_dir" && as_dir=.
6475     for ac_exec_ext in '' $ac_executable_extensions; do
6476   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6477     ac_cv_prog_ac_ct_AR="ar"
6478     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6479     break 2
6480   fi
6481 done
6482   done
6483 IFS=$as_save_IFS
6484
6485 fi
6486 fi
6487 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6488 if test -n "$ac_ct_AR"; then
6489   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6490 $as_echo "$ac_ct_AR" >&6; }
6491 else
6492   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6493 $as_echo "no" >&6; }
6494 fi
6495
6496   if test "x$ac_ct_AR" = x; then
6497     AR="false"
6498   else
6499     case $cross_compiling:$ac_tool_warned in
6500 yes:)
6501 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6502 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6503 ac_tool_warned=yes ;;
6504 esac
6505     AR=$ac_ct_AR
6506   fi
6507 else
6508   AR="$ac_cv_prog_AR"
6509 fi
6510
6511 test -z "$AR" && AR=ar
6512 test -z "$AR_FLAGS" && AR_FLAGS=cru
6513
6514
6515
6516
6517
6518
6519
6520
6521
6522
6523
6524 if test -n "$ac_tool_prefix"; then
6525   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6526 set dummy ${ac_tool_prefix}strip; ac_word=$2
6527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6528 $as_echo_n "checking for $ac_word... " >&6; }
6529 if test "${ac_cv_prog_STRIP+set}" = set; then :
6530   $as_echo_n "(cached) " >&6
6531 else
6532   if test -n "$STRIP"; then
6533   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6534 else
6535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6536 for as_dir in $PATH
6537 do
6538   IFS=$as_save_IFS
6539   test -z "$as_dir" && as_dir=.
6540     for ac_exec_ext in '' $ac_executable_extensions; do
6541   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6542     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6543     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6544     break 2
6545   fi
6546 done
6547   done
6548 IFS=$as_save_IFS
6549
6550 fi
6551 fi
6552 STRIP=$ac_cv_prog_STRIP
6553 if test -n "$STRIP"; then
6554   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6555 $as_echo "$STRIP" >&6; }
6556 else
6557   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6558 $as_echo "no" >&6; }
6559 fi
6560
6561
6562 fi
6563 if test -z "$ac_cv_prog_STRIP"; then
6564   ac_ct_STRIP=$STRIP
6565   # Extract the first word of "strip", so it can be a program name with args.
6566 set dummy strip; ac_word=$2
6567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6568 $as_echo_n "checking for $ac_word... " >&6; }
6569 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6570   $as_echo_n "(cached) " >&6
6571 else
6572   if test -n "$ac_ct_STRIP"; then
6573   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6574 else
6575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6576 for as_dir in $PATH
6577 do
6578   IFS=$as_save_IFS
6579   test -z "$as_dir" && as_dir=.
6580     for ac_exec_ext in '' $ac_executable_extensions; do
6581   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6582     ac_cv_prog_ac_ct_STRIP="strip"
6583     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6584     break 2
6585   fi
6586 done
6587   done
6588 IFS=$as_save_IFS
6589
6590 fi
6591 fi
6592 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6593 if test -n "$ac_ct_STRIP"; then
6594   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6595 $as_echo "$ac_ct_STRIP" >&6; }
6596 else
6597   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6598 $as_echo "no" >&6; }
6599 fi
6600
6601   if test "x$ac_ct_STRIP" = x; then
6602     STRIP=":"
6603   else
6604     case $cross_compiling:$ac_tool_warned in
6605 yes:)
6606 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6607 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6608 ac_tool_warned=yes ;;
6609 esac
6610     STRIP=$ac_ct_STRIP
6611   fi
6612 else
6613   STRIP="$ac_cv_prog_STRIP"
6614 fi
6615
6616 test -z "$STRIP" && STRIP=:
6617
6618
6619
6620
6621
6622
6623 if test -n "$ac_tool_prefix"; then
6624   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6625 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6627 $as_echo_n "checking for $ac_word... " >&6; }
6628 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6629   $as_echo_n "(cached) " >&6
6630 else
6631   if test -n "$RANLIB"; then
6632   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6633 else
6634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6635 for as_dir in $PATH
6636 do
6637   IFS=$as_save_IFS
6638   test -z "$as_dir" && as_dir=.
6639     for ac_exec_ext in '' $ac_executable_extensions; do
6640   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6641     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6642     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6643     break 2
6644   fi
6645 done
6646   done
6647 IFS=$as_save_IFS
6648
6649 fi
6650 fi
6651 RANLIB=$ac_cv_prog_RANLIB
6652 if test -n "$RANLIB"; then
6653   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6654 $as_echo "$RANLIB" >&6; }
6655 else
6656   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6657 $as_echo "no" >&6; }
6658 fi
6659
6660
6661 fi
6662 if test -z "$ac_cv_prog_RANLIB"; then
6663   ac_ct_RANLIB=$RANLIB
6664   # Extract the first word of "ranlib", so it can be a program name with args.
6665 set dummy ranlib; ac_word=$2
6666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6667 $as_echo_n "checking for $ac_word... " >&6; }
6668 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6669   $as_echo_n "(cached) " >&6
6670 else
6671   if test -n "$ac_ct_RANLIB"; then
6672   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6673 else
6674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6675 for as_dir in $PATH
6676 do
6677   IFS=$as_save_IFS
6678   test -z "$as_dir" && as_dir=.
6679     for ac_exec_ext in '' $ac_executable_extensions; do
6680   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6681     ac_cv_prog_ac_ct_RANLIB="ranlib"
6682     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6683     break 2
6684   fi
6685 done
6686   done
6687 IFS=$as_save_IFS
6688
6689 fi
6690 fi
6691 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6692 if test -n "$ac_ct_RANLIB"; then
6693   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6694 $as_echo "$ac_ct_RANLIB" >&6; }
6695 else
6696   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6697 $as_echo "no" >&6; }
6698 fi
6699
6700   if test "x$ac_ct_RANLIB" = x; then
6701     RANLIB=":"
6702   else
6703     case $cross_compiling:$ac_tool_warned in
6704 yes:)
6705 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6706 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6707 ac_tool_warned=yes ;;
6708 esac
6709     RANLIB=$ac_ct_RANLIB
6710   fi
6711 else
6712   RANLIB="$ac_cv_prog_RANLIB"
6713 fi
6714
6715 test -z "$RANLIB" && RANLIB=:
6716
6717
6718
6719
6720
6721
6722 # Determine commands to create old-style static archives.
6723 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6724 old_postinstall_cmds='chmod 644 $oldlib'
6725 old_postuninstall_cmds=
6726
6727 if test -n "$RANLIB"; then
6728   case $host_os in
6729   openbsd*)
6730     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6731     ;;
6732   *)
6733     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6734     ;;
6735   esac
6736   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6737 fi
6738
6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
6767
6768
6769
6770
6771
6772 # If no C compiler was specified, use CC.
6773 LTCC=${LTCC-"$CC"}
6774
6775 # If no C compiler flags were specified, use CFLAGS.
6776 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6777
6778 # Allow CC to be a program name with arguments.
6779 compiler=$CC
6780
6781
6782 # Check for command to grab the raw symbol name followed by C symbol from nm.
6783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6784 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6785 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6786   $as_echo_n "(cached) " >&6
6787 else
6788
6789 # These are sane defaults that work on at least a few old systems.
6790 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6791
6792 # Character class describing NM global symbol codes.
6793 symcode='[BCDEGRST]'
6794
6795 # Regexp to match symbols that can be accessed directly from C.
6796 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6797
6798 # Define system-specific variables.
6799 case $host_os in
6800 aix*)
6801   symcode='[BCDT]'
6802   ;;
6803 cygwin* | mingw* | pw32* | cegcc*)
6804   symcode='[ABCDGISTW]'
6805   ;;
6806 hpux*)
6807   if test "$host_cpu" = ia64; then
6808     symcode='[ABCDEGRST]'
6809   fi
6810   ;;
6811 irix* | nonstopux*)
6812   symcode='[BCDEGRST]'
6813   ;;
6814 osf*)
6815   symcode='[BCDEGQRST]'
6816   ;;
6817 solaris*)
6818   symcode='[BDRT]'
6819   ;;
6820 sco3.2v5*)
6821   symcode='[DT]'
6822   ;;
6823 sysv4.2uw2*)
6824   symcode='[DT]'
6825   ;;
6826 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6827   symcode='[ABDT]'
6828   ;;
6829 sysv4)
6830   symcode='[DFNSTU]'
6831   ;;
6832 esac
6833
6834 # If we're using GNU nm, then use its standard symbol codes.
6835 case `$NM -V 2>&1` in
6836 *GNU* | *'with BFD'*)
6837   symcode='[ABCDGIRSTW]' ;;
6838 esac
6839
6840 # Transform an extracted symbol line into a proper C declaration.
6841 # Some systems (esp. on ia64) link data and code symbols differently,
6842 # so use this general approach.
6843 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6844
6845 # Transform an extracted symbol line into symbol name and symbol address
6846 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6847 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
6848
6849 # Handle CRLF in mingw tool chain
6850 opt_cr=
6851 case $build_os in
6852 mingw*)
6853   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6854   ;;
6855 esac
6856
6857 # Try without a prefix underscore, then with it.
6858 for ac_symprfx in "" "_"; do
6859
6860   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6861   symxfrm="\\1 $ac_symprfx\\2 \\2"
6862
6863   # Write the raw and C identifiers.
6864   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6865     # Fake it for dumpbin and say T for any non-static function
6866     # and D for any global variable.
6867     # Also find C++ and __fastcall symbols from MSVC++,
6868     # which start with @ or ?.
6869     lt_cv_sys_global_symbol_pipe="$AWK '"\
6870 "     {last_section=section; section=\$ 3};"\
6871 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6872 "     \$ 0!~/External *\|/{next};"\
6873 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6874 "     {if(hide[section]) next};"\
6875 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6876 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6877 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6878 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6879 "     ' prfx=^$ac_symprfx"
6880   else
6881     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6882   fi
6883
6884   # Check to see that the pipe works correctly.
6885   pipe_works=no
6886
6887   rm -f conftest*
6888   cat > conftest.$ac_ext <<_LT_EOF
6889 #ifdef __cplusplus
6890 extern "C" {
6891 #endif
6892 char nm_test_var;
6893 void nm_test_func(void);
6894 void nm_test_func(void){}
6895 #ifdef __cplusplus
6896 }
6897 #endif
6898 int main(){nm_test_var='a';nm_test_func();return(0);}
6899 _LT_EOF
6900
6901   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6902   (eval $ac_compile) 2>&5
6903   ac_status=$?
6904   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6905   test $ac_status = 0; }; then
6906     # Now try to grab the symbols.
6907     nlist=conftest.nm
6908     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
6909   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6910   ac_status=$?
6911   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6912   test $ac_status = 0; } && test -s "$nlist"; then
6913       # Try sorting and uniquifying the output.
6914       if sort "$nlist" | uniq > "$nlist"T; then
6915         mv -f "$nlist"T "$nlist"
6916       else
6917         rm -f "$nlist"T
6918       fi
6919
6920       # Make sure that we snagged all the symbols we need.
6921       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6922         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6923           cat <<_LT_EOF > conftest.$ac_ext
6924 #ifdef __cplusplus
6925 extern "C" {
6926 #endif
6927
6928 _LT_EOF
6929           # Now generate the symbol file.
6930           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6931
6932           cat <<_LT_EOF >> conftest.$ac_ext
6933
6934 /* The mapping between symbol names and symbols.  */
6935 const struct {
6936   const char *name;
6937   void       *address;
6938 }
6939 lt__PROGRAM__LTX_preloaded_symbols[] =
6940 {
6941   { "@PROGRAM@", (void *) 0 },
6942 _LT_EOF
6943           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6944           cat <<\_LT_EOF >> conftest.$ac_ext
6945   {0, (void *) 0}
6946 };
6947
6948 /* This works around a problem in FreeBSD linker */
6949 #ifdef FREEBSD_WORKAROUND
6950 static const void *lt_preloaded_setup() {
6951   return lt__PROGRAM__LTX_preloaded_symbols;
6952 }
6953 #endif
6954
6955 #ifdef __cplusplus
6956 }
6957 #endif
6958 _LT_EOF
6959           # Now try linking the two files.
6960           mv conftest.$ac_objext conftstm.$ac_objext
6961           lt_save_LIBS="$LIBS"
6962           lt_save_CFLAGS="$CFLAGS"
6963           LIBS="conftstm.$ac_objext"
6964           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6965           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6966   (eval $ac_link) 2>&5
6967   ac_status=$?
6968   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6969   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6970             pipe_works=yes
6971           fi
6972           LIBS="$lt_save_LIBS"
6973           CFLAGS="$lt_save_CFLAGS"
6974         else
6975           echo "cannot find nm_test_func in $nlist" >&5
6976         fi
6977       else
6978         echo "cannot find nm_test_var in $nlist" >&5
6979       fi
6980     else
6981       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6982     fi
6983   else
6984     echo "$progname: failed program was:" >&5
6985     cat conftest.$ac_ext >&5
6986   fi
6987   rm -rf conftest* conftst*
6988
6989   # Do not use the global_symbol_pipe unless it works.
6990   if test "$pipe_works" = yes; then
6991     break
6992   else
6993     lt_cv_sys_global_symbol_pipe=
6994   fi
6995 done
6996
6997 fi
6998
6999 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7000   lt_cv_sys_global_symbol_to_cdecl=
7001 fi
7002 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7003   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7004 $as_echo "failed" >&6; }
7005 else
7006   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7007 $as_echo "ok" >&6; }
7008 fi
7009
7010
7011
7012
7013
7014
7015
7016
7017
7018
7019
7020
7021
7022
7023
7024
7025
7026
7027
7028
7029
7030
7031 # Check whether --enable-libtool-lock was given.
7032 if test "${enable_libtool_lock+set}" = set; then :
7033   enableval=$enable_libtool_lock;
7034 fi
7035
7036 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7037
7038 # Some flags need to be propagated to the compiler or linker for good
7039 # libtool support.
7040 case $host in
7041 ia64-*-hpux*)
7042   # Find out which ABI we are using.
7043   echo 'int i;' > conftest.$ac_ext
7044   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7045   (eval $ac_compile) 2>&5
7046   ac_status=$?
7047   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7048   test $ac_status = 0; }; then
7049     case `/usr/bin/file conftest.$ac_objext` in
7050       *ELF-32*)
7051         HPUX_IA64_MODE="32"
7052         ;;
7053       *ELF-64*)
7054         HPUX_IA64_MODE="64"
7055         ;;
7056     esac
7057   fi
7058   rm -rf conftest*
7059   ;;
7060 *-*-irix6*)
7061   # Find out which ABI we are using.
7062   echo '#line 7062 "configure"' > conftest.$ac_ext
7063   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7064   (eval $ac_compile) 2>&5
7065   ac_status=$?
7066   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7067   test $ac_status = 0; }; then
7068     if test "$lt_cv_prog_gnu_ld" = yes; then
7069       case `/usr/bin/file conftest.$ac_objext` in
7070         *32-bit*)
7071           LD="${LD-ld} -melf32bsmip"
7072           ;;
7073         *N32*)
7074           LD="${LD-ld} -melf32bmipn32"
7075           ;;
7076         *64-bit*)
7077           LD="${LD-ld} -melf64bmip"
7078         ;;
7079       esac
7080     else
7081       case `/usr/bin/file conftest.$ac_objext` in
7082         *32-bit*)
7083           LD="${LD-ld} -32"
7084           ;;
7085         *N32*)
7086           LD="${LD-ld} -n32"
7087           ;;
7088         *64-bit*)
7089           LD="${LD-ld} -64"
7090           ;;
7091       esac
7092     fi
7093   fi
7094   rm -rf conftest*
7095   ;;
7096
7097 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7098 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7099   # Find out which ABI we are using.
7100   echo 'int i;' > conftest.$ac_ext
7101   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7102   (eval $ac_compile) 2>&5
7103   ac_status=$?
7104   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7105   test $ac_status = 0; }; then
7106     case `/usr/bin/file conftest.o` in
7107       *32-bit*)
7108         case $host in
7109           x86_64-*kfreebsd*-gnu)
7110             LD="${LD-ld} -m elf_i386_fbsd"
7111             ;;
7112           x86_64-*linux*)
7113             LD="${LD-ld} -m elf_i386"
7114             ;;
7115           ppc64-*linux*|powerpc64-*linux*)
7116             LD="${LD-ld} -m elf32ppclinux"
7117             ;;
7118           s390x-*linux*)
7119             LD="${LD-ld} -m elf_s390"
7120             ;;
7121           sparc64-*linux*)
7122             LD="${LD-ld} -m elf32_sparc"
7123             ;;
7124         esac
7125         ;;
7126       *64-bit*)
7127         case $host in
7128           x86_64-*kfreebsd*-gnu)
7129             LD="${LD-ld} -m elf_x86_64_fbsd"
7130             ;;
7131           x86_64-*linux*)
7132             LD="${LD-ld} -m elf_x86_64"
7133             ;;
7134           ppc*-*linux*|powerpc*-*linux*)
7135             LD="${LD-ld} -m elf64ppc"
7136             ;;
7137           s390*-*linux*|s390*-*tpf*)
7138             LD="${LD-ld} -m elf64_s390"
7139             ;;
7140           sparc*-*linux*)
7141             LD="${LD-ld} -m elf64_sparc"
7142             ;;
7143         esac
7144         ;;
7145     esac
7146   fi
7147   rm -rf conftest*
7148   ;;
7149
7150 *-*-sco3.2v5*)
7151   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7152   SAVE_CFLAGS="$CFLAGS"
7153   CFLAGS="$CFLAGS -belf"
7154   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7155 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7156 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7157   $as_echo_n "(cached) " >&6
7158 else
7159   ac_ext=c
7160 ac_cpp='$CPP $CPPFLAGS'
7161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7164
7165      if test x$gcc_no_link = xyes; then
7166   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7167 fi
7168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7169 /* end confdefs.h.  */
7170
7171 int
7172 main ()
7173 {
7174
7175   ;
7176   return 0;
7177 }
7178 _ACEOF
7179 if ac_fn_c_try_link "$LINENO"; then :
7180   lt_cv_cc_needs_belf=yes
7181 else
7182   lt_cv_cc_needs_belf=no
7183 fi
7184 rm -f core conftest.err conftest.$ac_objext \
7185     conftest$ac_exeext conftest.$ac_ext
7186      ac_ext=c
7187 ac_cpp='$CPP $CPPFLAGS'
7188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7191
7192 fi
7193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7194 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7195   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7196     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7197     CFLAGS="$SAVE_CFLAGS"
7198   fi
7199   ;;
7200 sparc*-*solaris*)
7201   # Find out which ABI we are using.
7202   echo 'int i;' > conftest.$ac_ext
7203   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7204   (eval $ac_compile) 2>&5
7205   ac_status=$?
7206   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7207   test $ac_status = 0; }; then
7208     case `/usr/bin/file conftest.o` in
7209     *64-bit*)
7210       case $lt_cv_prog_gnu_ld in
7211       yes*) LD="${LD-ld} -m elf64_sparc" ;;
7212       *)
7213         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7214           LD="${LD-ld} -64"
7215         fi
7216         ;;
7217       esac
7218       ;;
7219     esac
7220   fi
7221   rm -rf conftest*
7222   ;;
7223 esac
7224
7225 need_locks="$enable_libtool_lock"
7226
7227
7228   case $host_os in
7229     rhapsody* | darwin*)
7230     if test -n "$ac_tool_prefix"; then
7231   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7232 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7234 $as_echo_n "checking for $ac_word... " >&6; }
7235 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7236   $as_echo_n "(cached) " >&6
7237 else
7238   if test -n "$DSYMUTIL"; then
7239   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7240 else
7241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7242 for as_dir in $PATH
7243 do
7244   IFS=$as_save_IFS
7245   test -z "$as_dir" && as_dir=.
7246     for ac_exec_ext in '' $ac_executable_extensions; do
7247   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7248     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7249     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7250     break 2
7251   fi
7252 done
7253   done
7254 IFS=$as_save_IFS
7255
7256 fi
7257 fi
7258 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7259 if test -n "$DSYMUTIL"; then
7260   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7261 $as_echo "$DSYMUTIL" >&6; }
7262 else
7263   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7264 $as_echo "no" >&6; }
7265 fi
7266
7267
7268 fi
7269 if test -z "$ac_cv_prog_DSYMUTIL"; then
7270   ac_ct_DSYMUTIL=$DSYMUTIL
7271   # Extract the first word of "dsymutil", so it can be a program name with args.
7272 set dummy dsymutil; ac_word=$2
7273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7274 $as_echo_n "checking for $ac_word... " >&6; }
7275 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7276   $as_echo_n "(cached) " >&6
7277 else
7278   if test -n "$ac_ct_DSYMUTIL"; then
7279   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7280 else
7281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7282 for as_dir in $PATH
7283 do
7284   IFS=$as_save_IFS
7285   test -z "$as_dir" && as_dir=.
7286     for ac_exec_ext in '' $ac_executable_extensions; do
7287   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7288     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7289     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7290     break 2
7291   fi
7292 done
7293   done
7294 IFS=$as_save_IFS
7295
7296 fi
7297 fi
7298 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7299 if test -n "$ac_ct_DSYMUTIL"; then
7300   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7301 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7302 else
7303   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7304 $as_echo "no" >&6; }
7305 fi
7306
7307   if test "x$ac_ct_DSYMUTIL" = x; then
7308     DSYMUTIL=":"
7309   else
7310     case $cross_compiling:$ac_tool_warned in
7311 yes:)
7312 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7313 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7314 ac_tool_warned=yes ;;
7315 esac
7316     DSYMUTIL=$ac_ct_DSYMUTIL
7317   fi
7318 else
7319   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7320 fi
7321
7322     if test -n "$ac_tool_prefix"; then
7323   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7324 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7326 $as_echo_n "checking for $ac_word... " >&6; }
7327 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7328   $as_echo_n "(cached) " >&6
7329 else
7330   if test -n "$NMEDIT"; then
7331   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7332 else
7333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7334 for as_dir in $PATH
7335 do
7336   IFS=$as_save_IFS
7337   test -z "$as_dir" && as_dir=.
7338     for ac_exec_ext in '' $ac_executable_extensions; do
7339   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7340     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7341     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7342     break 2
7343   fi
7344 done
7345   done
7346 IFS=$as_save_IFS
7347
7348 fi
7349 fi
7350 NMEDIT=$ac_cv_prog_NMEDIT
7351 if test -n "$NMEDIT"; then
7352   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7353 $as_echo "$NMEDIT" >&6; }
7354 else
7355   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7356 $as_echo "no" >&6; }
7357 fi
7358
7359
7360 fi
7361 if test -z "$ac_cv_prog_NMEDIT"; then
7362   ac_ct_NMEDIT=$NMEDIT
7363   # Extract the first word of "nmedit", so it can be a program name with args.
7364 set dummy nmedit; ac_word=$2
7365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7366 $as_echo_n "checking for $ac_word... " >&6; }
7367 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7368   $as_echo_n "(cached) " >&6
7369 else
7370   if test -n "$ac_ct_NMEDIT"; then
7371   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7372 else
7373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7374 for as_dir in $PATH
7375 do
7376   IFS=$as_save_IFS
7377   test -z "$as_dir" && as_dir=.
7378     for ac_exec_ext in '' $ac_executable_extensions; do
7379   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7380     ac_cv_prog_ac_ct_NMEDIT="nmedit"
7381     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7382     break 2
7383   fi
7384 done
7385   done
7386 IFS=$as_save_IFS
7387
7388 fi
7389 fi
7390 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7391 if test -n "$ac_ct_NMEDIT"; then
7392   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7393 $as_echo "$ac_ct_NMEDIT" >&6; }
7394 else
7395   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7396 $as_echo "no" >&6; }
7397 fi
7398
7399   if test "x$ac_ct_NMEDIT" = x; then
7400     NMEDIT=":"
7401   else
7402     case $cross_compiling:$ac_tool_warned in
7403 yes:)
7404 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7405 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7406 ac_tool_warned=yes ;;
7407 esac
7408     NMEDIT=$ac_ct_NMEDIT
7409   fi
7410 else
7411   NMEDIT="$ac_cv_prog_NMEDIT"
7412 fi
7413
7414     if test -n "$ac_tool_prefix"; then
7415   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7416 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7418 $as_echo_n "checking for $ac_word... " >&6; }
7419 if test "${ac_cv_prog_LIPO+set}" = set; then :
7420   $as_echo_n "(cached) " >&6
7421 else
7422   if test -n "$LIPO"; then
7423   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7424 else
7425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7426 for as_dir in $PATH
7427 do
7428   IFS=$as_save_IFS
7429   test -z "$as_dir" && as_dir=.
7430     for ac_exec_ext in '' $ac_executable_extensions; do
7431   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7432     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7433     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7434     break 2
7435   fi
7436 done
7437   done
7438 IFS=$as_save_IFS
7439
7440 fi
7441 fi
7442 LIPO=$ac_cv_prog_LIPO
7443 if test -n "$LIPO"; then
7444   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7445 $as_echo "$LIPO" >&6; }
7446 else
7447   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7448 $as_echo "no" >&6; }
7449 fi
7450
7451
7452 fi
7453 if test -z "$ac_cv_prog_LIPO"; then
7454   ac_ct_LIPO=$LIPO
7455   # Extract the first word of "lipo", so it can be a program name with args.
7456 set dummy lipo; ac_word=$2
7457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7458 $as_echo_n "checking for $ac_word... " >&6; }
7459 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7460   $as_echo_n "(cached) " >&6
7461 else
7462   if test -n "$ac_ct_LIPO"; then
7463   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7464 else
7465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7466 for as_dir in $PATH
7467 do
7468   IFS=$as_save_IFS
7469   test -z "$as_dir" && as_dir=.
7470     for ac_exec_ext in '' $ac_executable_extensions; do
7471   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7472     ac_cv_prog_ac_ct_LIPO="lipo"
7473     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7474     break 2
7475   fi
7476 done
7477   done
7478 IFS=$as_save_IFS
7479
7480 fi
7481 fi
7482 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7483 if test -n "$ac_ct_LIPO"; then
7484   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7485 $as_echo "$ac_ct_LIPO" >&6; }
7486 else
7487   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7488 $as_echo "no" >&6; }
7489 fi
7490
7491   if test "x$ac_ct_LIPO" = x; then
7492     LIPO=":"
7493   else
7494     case $cross_compiling:$ac_tool_warned in
7495 yes:)
7496 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7497 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7498 ac_tool_warned=yes ;;
7499 esac
7500     LIPO=$ac_ct_LIPO
7501   fi
7502 else
7503   LIPO="$ac_cv_prog_LIPO"
7504 fi
7505
7506     if test -n "$ac_tool_prefix"; then
7507   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7508 set dummy ${ac_tool_prefix}otool; ac_word=$2
7509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7510 $as_echo_n "checking for $ac_word... " >&6; }
7511 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7512   $as_echo_n "(cached) " >&6
7513 else
7514   if test -n "$OTOOL"; then
7515   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7516 else
7517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7518 for as_dir in $PATH
7519 do
7520   IFS=$as_save_IFS
7521   test -z "$as_dir" && as_dir=.
7522     for ac_exec_ext in '' $ac_executable_extensions; do
7523   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7524     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7525     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7526     break 2
7527   fi
7528 done
7529   done
7530 IFS=$as_save_IFS
7531
7532 fi
7533 fi
7534 OTOOL=$ac_cv_prog_OTOOL
7535 if test -n "$OTOOL"; then
7536   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7537 $as_echo "$OTOOL" >&6; }
7538 else
7539   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7540 $as_echo "no" >&6; }
7541 fi
7542
7543
7544 fi
7545 if test -z "$ac_cv_prog_OTOOL"; then
7546   ac_ct_OTOOL=$OTOOL
7547   # Extract the first word of "otool", so it can be a program name with args.
7548 set dummy otool; ac_word=$2
7549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7550 $as_echo_n "checking for $ac_word... " >&6; }
7551 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7552   $as_echo_n "(cached) " >&6
7553 else
7554   if test -n "$ac_ct_OTOOL"; then
7555   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7556 else
7557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7558 for as_dir in $PATH
7559 do
7560   IFS=$as_save_IFS
7561   test -z "$as_dir" && as_dir=.
7562     for ac_exec_ext in '' $ac_executable_extensions; do
7563   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7564     ac_cv_prog_ac_ct_OTOOL="otool"
7565     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7566     break 2
7567   fi
7568 done
7569   done
7570 IFS=$as_save_IFS
7571
7572 fi
7573 fi
7574 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7575 if test -n "$ac_ct_OTOOL"; then
7576   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7577 $as_echo "$ac_ct_OTOOL" >&6; }
7578 else
7579   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7580 $as_echo "no" >&6; }
7581 fi
7582
7583   if test "x$ac_ct_OTOOL" = x; then
7584     OTOOL=":"
7585   else
7586     case $cross_compiling:$ac_tool_warned in
7587 yes:)
7588 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7589 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7590 ac_tool_warned=yes ;;
7591 esac
7592     OTOOL=$ac_ct_OTOOL
7593   fi
7594 else
7595   OTOOL="$ac_cv_prog_OTOOL"
7596 fi
7597
7598     if test -n "$ac_tool_prefix"; then
7599   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7600 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7602 $as_echo_n "checking for $ac_word... " >&6; }
7603 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7604   $as_echo_n "(cached) " >&6
7605 else
7606   if test -n "$OTOOL64"; then
7607   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7608 else
7609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7610 for as_dir in $PATH
7611 do
7612   IFS=$as_save_IFS
7613   test -z "$as_dir" && as_dir=.
7614     for ac_exec_ext in '' $ac_executable_extensions; do
7615   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7616     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7617     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7618     break 2
7619   fi
7620 done
7621   done
7622 IFS=$as_save_IFS
7623
7624 fi
7625 fi
7626 OTOOL64=$ac_cv_prog_OTOOL64
7627 if test -n "$OTOOL64"; then
7628   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7629 $as_echo "$OTOOL64" >&6; }
7630 else
7631   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7632 $as_echo "no" >&6; }
7633 fi
7634
7635
7636 fi
7637 if test -z "$ac_cv_prog_OTOOL64"; then
7638   ac_ct_OTOOL64=$OTOOL64
7639   # Extract the first word of "otool64", so it can be a program name with args.
7640 set dummy otool64; ac_word=$2
7641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7642 $as_echo_n "checking for $ac_word... " >&6; }
7643 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7644   $as_echo_n "(cached) " >&6
7645 else
7646   if test -n "$ac_ct_OTOOL64"; then
7647   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7648 else
7649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7650 for as_dir in $PATH
7651 do
7652   IFS=$as_save_IFS
7653   test -z "$as_dir" && as_dir=.
7654     for ac_exec_ext in '' $ac_executable_extensions; do
7655   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7656     ac_cv_prog_ac_ct_OTOOL64="otool64"
7657     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7658     break 2
7659   fi
7660 done
7661   done
7662 IFS=$as_save_IFS
7663
7664 fi
7665 fi
7666 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7667 if test -n "$ac_ct_OTOOL64"; then
7668   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7669 $as_echo "$ac_ct_OTOOL64" >&6; }
7670 else
7671   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7672 $as_echo "no" >&6; }
7673 fi
7674
7675   if test "x$ac_ct_OTOOL64" = x; then
7676     OTOOL64=":"
7677   else
7678     case $cross_compiling:$ac_tool_warned in
7679 yes:)
7680 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7681 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7682 ac_tool_warned=yes ;;
7683 esac
7684     OTOOL64=$ac_ct_OTOOL64
7685   fi
7686 else
7687   OTOOL64="$ac_cv_prog_OTOOL64"
7688 fi
7689
7690
7691
7692
7693
7694
7695
7696
7697
7698
7699
7700
7701
7702
7703
7704
7705
7706
7707
7708
7709
7710
7711
7712
7713
7714
7715
7716     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7717 $as_echo_n "checking for -single_module linker flag... " >&6; }
7718 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7719   $as_echo_n "(cached) " >&6
7720 else
7721   lt_cv_apple_cc_single_mod=no
7722       if test -z "${LT_MULTI_MODULE}"; then
7723         # By default we will add the -single_module flag. You can override
7724         # by either setting the environment variable LT_MULTI_MODULE
7725         # non-empty at configure time, or by adding -multi_module to the
7726         # link flags.
7727         rm -rf libconftest.dylib*
7728         echo "int foo(void){return 1;}" > conftest.c
7729         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7730 -dynamiclib -Wl,-single_module conftest.c" >&5
7731         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7732           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7733         _lt_result=$?
7734         if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7735           lt_cv_apple_cc_single_mod=yes
7736         else
7737           cat conftest.err >&5
7738         fi
7739         rm -rf libconftest.dylib*
7740         rm -f conftest.*
7741       fi
7742 fi
7743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7744 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7745     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7746 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7747 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7748   $as_echo_n "(cached) " >&6
7749 else
7750   lt_cv_ld_exported_symbols_list=no
7751       save_LDFLAGS=$LDFLAGS
7752       echo "_main" > conftest.sym
7753       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7754       if test x$gcc_no_link = xyes; then
7755   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7756 fi
7757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7758 /* end confdefs.h.  */
7759
7760 int
7761 main ()
7762 {
7763
7764   ;
7765   return 0;
7766 }
7767 _ACEOF
7768 if ac_fn_c_try_link "$LINENO"; then :
7769   lt_cv_ld_exported_symbols_list=yes
7770 else
7771   lt_cv_ld_exported_symbols_list=no
7772 fi
7773 rm -f core conftest.err conftest.$ac_objext \
7774     conftest$ac_exeext conftest.$ac_ext
7775         LDFLAGS="$save_LDFLAGS"
7776
7777 fi
7778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7779 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7780     case $host_os in
7781     rhapsody* | darwin1.[012])
7782       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7783     darwin1.*)
7784       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7785     darwin*) # darwin 5.x on
7786       # if running on 10.5 or later, the deployment target defaults
7787       # to the OS version, if on x86, and 10.4, the deployment
7788       # target defaults to 10.4. Don't you love it?
7789       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7790         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7791           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7792         10.[012]*)
7793           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7794         10.*)
7795           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7796       esac
7797     ;;
7798   esac
7799     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7800       _lt_dar_single_mod='$single_module'
7801     fi
7802     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7803       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7804     else
7805       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7806     fi
7807     if test "$DSYMUTIL" != ":"; then
7808       _lt_dsymutil='~$DSYMUTIL $lib || :'
7809     else
7810       _lt_dsymutil=
7811     fi
7812     ;;
7813   esac
7814
7815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7816 $as_echo_n "checking for ANSI C header files... " >&6; }
7817 if test "${ac_cv_header_stdc+set}" = set; then :
7818   $as_echo_n "(cached) " >&6
7819 else
7820   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7821 /* end confdefs.h.  */
7822 #include <stdlib.h>
7823 #include <stdarg.h>
7824 #include <string.h>
7825 #include <float.h>
7826
7827 int
7828 main ()
7829 {
7830
7831   ;
7832   return 0;
7833 }
7834 _ACEOF
7835 if ac_fn_c_try_compile "$LINENO"; then :
7836   ac_cv_header_stdc=yes
7837 else
7838   ac_cv_header_stdc=no
7839 fi
7840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7841
7842 if test $ac_cv_header_stdc = yes; then
7843   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7844   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7845 /* end confdefs.h.  */
7846 #include <string.h>
7847
7848 _ACEOF
7849 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7850   $EGREP "memchr" >/dev/null 2>&1; then :
7851
7852 else
7853   ac_cv_header_stdc=no
7854 fi
7855 rm -f conftest*
7856
7857 fi
7858
7859 if test $ac_cv_header_stdc = yes; then
7860   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7861   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7862 /* end confdefs.h.  */
7863 #include <stdlib.h>
7864
7865 _ACEOF
7866 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7867   $EGREP "free" >/dev/null 2>&1; then :
7868
7869 else
7870   ac_cv_header_stdc=no
7871 fi
7872 rm -f conftest*
7873
7874 fi
7875
7876 if test $ac_cv_header_stdc = yes; then
7877   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7878   if test "$cross_compiling" = yes; then :
7879   :
7880 else
7881   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7882 /* end confdefs.h.  */
7883 #include <ctype.h>
7884 #include <stdlib.h>
7885 #if ((' ' & 0x0FF) == 0x020)
7886 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7887 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7888 #else
7889 # define ISLOWER(c) \
7890                    (('a' <= (c) && (c) <= 'i') \
7891                      || ('j' <= (c) && (c) <= 'r') \
7892                      || ('s' <= (c) && (c) <= 'z'))
7893 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7894 #endif
7895
7896 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7897 int
7898 main ()
7899 {
7900   int i;
7901   for (i = 0; i < 256; i++)
7902     if (XOR (islower (i), ISLOWER (i))
7903         || toupper (i) != TOUPPER (i))
7904       return 2;
7905   return 0;
7906 }
7907 _ACEOF
7908 if ac_fn_c_try_run "$LINENO"; then :
7909
7910 else
7911   ac_cv_header_stdc=no
7912 fi
7913 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7914   conftest.$ac_objext conftest.beam conftest.$ac_ext
7915 fi
7916
7917 fi
7918 fi
7919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7920 $as_echo "$ac_cv_header_stdc" >&6; }
7921 if test $ac_cv_header_stdc = yes; then
7922
7923 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7924
7925 fi
7926
7927 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7928 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7929                   inttypes.h stdint.h unistd.h
7930 do :
7931   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7932 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7933 "
7934 eval as_val=\$$as_ac_Header
7935    if test "x$as_val" = x""yes; then :
7936   cat >>confdefs.h <<_ACEOF
7937 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7938 _ACEOF
7939
7940 fi
7941
7942 done
7943
7944
7945 for ac_header in dlfcn.h
7946 do :
7947   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7948 "
7949 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7950   cat >>confdefs.h <<_ACEOF
7951 #define HAVE_DLFCN_H 1
7952 _ACEOF
7953
7954 fi
7955
7956 done
7957
7958
7959
7960 ac_ext=cpp
7961 ac_cpp='$CXXCPP $CPPFLAGS'
7962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7965 if test -z "$CXX"; then
7966   if test -n "$CCC"; then
7967     CXX=$CCC
7968   else
7969     if test -n "$ac_tool_prefix"; then
7970   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
7971   do
7972     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7973 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7975 $as_echo_n "checking for $ac_word... " >&6; }
7976 if test "${glibcxx_cv_prog_CXX+set}" = set; then :
7977   $as_echo_n "(cached) " >&6
7978 else
7979   if test -n "$CXX"; then
7980   glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
7981 else
7982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7983 for as_dir in $PATH
7984 do
7985   IFS=$as_save_IFS
7986   test -z "$as_dir" && as_dir=.
7987     for ac_exec_ext in '' $ac_executable_extensions; do
7988   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7989     glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
7990     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7991     break 2
7992   fi
7993 done
7994   done
7995 IFS=$as_save_IFS
7996
7997 fi
7998 fi
7999 CXX=$glibcxx_cv_prog_CXX
8000 if test -n "$CXX"; then
8001   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
8002 $as_echo "$CXX" >&6; }
8003 else
8004   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8005 $as_echo "no" >&6; }
8006 fi
8007
8008
8009     test -n "$CXX" && break
8010   done
8011 fi
8012 if test -z "$CXX"; then
8013   ac_ct_CXX=$CXX
8014   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
8015 do
8016   # Extract the first word of "$ac_prog", so it can be a program name with args.
8017 set dummy $ac_prog; ac_word=$2
8018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8019 $as_echo_n "checking for $ac_word... " >&6; }
8020 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
8021   $as_echo_n "(cached) " >&6
8022 else
8023   if test -n "$ac_ct_CXX"; then
8024   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
8025 else
8026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8027 for as_dir in $PATH
8028 do
8029   IFS=$as_save_IFS
8030   test -z "$as_dir" && as_dir=.
8031     for ac_exec_ext in '' $ac_executable_extensions; do
8032   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8033     ac_cv_prog_ac_ct_CXX="$ac_prog"
8034     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8035     break 2
8036   fi
8037 done
8038   done
8039 IFS=$as_save_IFS
8040
8041 fi
8042 fi
8043 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
8044 if test -n "$ac_ct_CXX"; then
8045   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
8046 $as_echo "$ac_ct_CXX" >&6; }
8047 else
8048   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8049 $as_echo "no" >&6; }
8050 fi
8051
8052
8053   test -n "$ac_ct_CXX" && break
8054 done
8055
8056   if test "x$ac_ct_CXX" = x; then
8057     CXX="g++"
8058   else
8059     case $cross_compiling:$ac_tool_warned in
8060 yes:)
8061 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8062 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8063 ac_tool_warned=yes ;;
8064 esac
8065     CXX=$ac_ct_CXX
8066   fi
8067 fi
8068
8069   fi
8070 fi
8071 # Provide some information about the compiler.
8072 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
8073 set X $ac_compile
8074 ac_compiler=$2
8075 for ac_option in --version -v -V -qversion; do
8076   { { ac_try="$ac_compiler $ac_option >&5"
8077 case "(($ac_try" in
8078   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8079   *) ac_try_echo=$ac_try;;
8080 esac
8081 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8082 $as_echo "$ac_try_echo"; } >&5
8083   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8084   ac_status=$?
8085   if test -s conftest.err; then
8086     sed '10a\
8087 ... rest of stderr output deleted ...
8088          10q' conftest.err >conftest.er1
8089     cat conftest.er1 >&5
8090     rm -f conftest.er1 conftest.err
8091   fi
8092   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8093   test $ac_status = 0; }
8094 done
8095
8096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
8097 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
8098 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
8099   $as_echo_n "(cached) " >&6
8100 else
8101   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8102 /* end confdefs.h.  */
8103
8104 int
8105 main ()
8106 {
8107 #ifndef __GNUC__
8108        choke me
8109 #endif
8110
8111   ;
8112   return 0;
8113 }
8114 _ACEOF
8115 if ac_fn_cxx_try_compile "$LINENO"; then :
8116   ac_compiler_gnu=yes
8117 else
8118   ac_compiler_gnu=no
8119 fi
8120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8121 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
8122
8123 fi
8124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
8125 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
8126 if test $ac_compiler_gnu = yes; then
8127   GXX=yes
8128 else
8129   GXX=
8130 fi
8131 ac_test_CXXFLAGS=${CXXFLAGS+set}
8132 ac_save_CXXFLAGS=$CXXFLAGS
8133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
8134 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
8135 if test "${ac_cv_prog_cxx_g+set}" = set; then :
8136   $as_echo_n "(cached) " >&6
8137 else
8138   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
8139    ac_cxx_werror_flag=yes
8140    ac_cv_prog_cxx_g=no
8141    CXXFLAGS="-g"
8142    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8143 /* end confdefs.h.  */
8144
8145 int
8146 main ()
8147 {
8148
8149   ;
8150   return 0;
8151 }
8152 _ACEOF
8153 if ac_fn_cxx_try_compile "$LINENO"; then :
8154   ac_cv_prog_cxx_g=yes
8155 else
8156   CXXFLAGS=""
8157       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8158 /* end confdefs.h.  */
8159
8160 int
8161 main ()
8162 {
8163
8164   ;
8165   return 0;
8166 }
8167 _ACEOF
8168 if ac_fn_cxx_try_compile "$LINENO"; then :
8169
8170 else
8171   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
8172          CXXFLAGS="-g"
8173          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8174 /* end confdefs.h.  */
8175
8176 int
8177 main ()
8178 {
8179
8180   ;
8181   return 0;
8182 }
8183 _ACEOF
8184 if ac_fn_cxx_try_compile "$LINENO"; then :
8185   ac_cv_prog_cxx_g=yes
8186 fi
8187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8188 fi
8189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8190 fi
8191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8192    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
8193 fi
8194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
8195 $as_echo "$ac_cv_prog_cxx_g" >&6; }
8196 if test "$ac_test_CXXFLAGS" = set; then
8197   CXXFLAGS=$ac_save_CXXFLAGS
8198 elif test $ac_cv_prog_cxx_g = yes; then
8199   if test "$GXX" = yes; then
8200     CXXFLAGS="-g -O2"
8201   else
8202     CXXFLAGS="-g"
8203   fi
8204 else
8205   if test "$GXX" = yes; then
8206     CXXFLAGS="-O2"
8207   else
8208     CXXFLAGS=
8209   fi
8210 fi
8211 ac_ext=c
8212 ac_cpp='$CPP $CPPFLAGS'
8213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8216
8217 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
8218     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
8219     (test "X$CXX" != "Xg++"))) ; then
8220   ac_ext=cpp
8221 ac_cpp='$CXXCPP $CPPFLAGS'
8222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
8226 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
8227 if test -z "$CXXCPP"; then
8228   if test "${ac_cv_prog_CXXCPP+set}" = set; then :
8229   $as_echo_n "(cached) " >&6
8230 else
8231       # Double quotes because CXXCPP needs to be expanded
8232     for CXXCPP in "$CXX -E" "/lib/cpp"
8233     do
8234       ac_preproc_ok=false
8235 for ac_cxx_preproc_warn_flag in '' yes
8236 do
8237   # Use a header file that comes with gcc, so configuring glibc
8238   # with a fresh cross-compiler works.
8239   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8240   # <limits.h> exists even on freestanding compilers.
8241   # On the NeXT, cc -E runs the code through the compiler's parser,
8242   # not just through cpp. "Syntax error" is here to catch this case.
8243   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8244 /* end confdefs.h.  */
8245 #ifdef __STDC__
8246 # include <limits.h>
8247 #else
8248 # include <assert.h>
8249 #endif
8250                      Syntax error
8251 _ACEOF
8252 if ac_fn_cxx_try_cpp "$LINENO"; then :
8253
8254 else
8255   # Broken: fails on valid input.
8256 continue
8257 fi
8258 rm -f conftest.err conftest.$ac_ext
8259
8260   # OK, works on sane cases.  Now check whether nonexistent headers
8261   # can be detected and how.
8262   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8263 /* end confdefs.h.  */
8264 #include <ac_nonexistent.h>
8265 _ACEOF
8266 if ac_fn_cxx_try_cpp "$LINENO"; then :
8267   # Broken: success on invalid input.
8268 continue
8269 else
8270   # Passes both tests.
8271 ac_preproc_ok=:
8272 break
8273 fi
8274 rm -f conftest.err conftest.$ac_ext
8275
8276 done
8277 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8278 rm -f conftest.err conftest.$ac_ext
8279 if $ac_preproc_ok; then :
8280   break
8281 fi
8282
8283     done
8284     ac_cv_prog_CXXCPP=$CXXCPP
8285
8286 fi
8287   CXXCPP=$ac_cv_prog_CXXCPP
8288 else
8289   ac_cv_prog_CXXCPP=$CXXCPP
8290 fi
8291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
8292 $as_echo "$CXXCPP" >&6; }
8293 ac_preproc_ok=false
8294 for ac_cxx_preproc_warn_flag in '' yes
8295 do
8296   # Use a header file that comes with gcc, so configuring glibc
8297   # with a fresh cross-compiler works.
8298   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8299   # <limits.h> exists even on freestanding compilers.
8300   # On the NeXT, cc -E runs the code through the compiler's parser,
8301   # not just through cpp. "Syntax error" is here to catch this case.
8302   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8303 /* end confdefs.h.  */
8304 #ifdef __STDC__
8305 # include <limits.h>
8306 #else
8307 # include <assert.h>
8308 #endif
8309                      Syntax error
8310 _ACEOF
8311 if ac_fn_cxx_try_cpp "$LINENO"; then :
8312
8313 else
8314   # Broken: fails on valid input.
8315 continue
8316 fi
8317 rm -f conftest.err conftest.$ac_ext
8318
8319   # OK, works on sane cases.  Now check whether nonexistent headers
8320   # can be detected and how.
8321   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8322 /* end confdefs.h.  */
8323 #include <ac_nonexistent.h>
8324 _ACEOF
8325 if ac_fn_cxx_try_cpp "$LINENO"; then :
8326   # Broken: success on invalid input.
8327 continue
8328 else
8329   # Passes both tests.
8330 ac_preproc_ok=:
8331 break
8332 fi
8333 rm -f conftest.err conftest.$ac_ext
8334
8335 done
8336 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8337 rm -f conftest.err conftest.$ac_ext
8338 if $ac_preproc_ok; then :
8339
8340 else
8341   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8342 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8343 _lt_caught_CXX_error=yes; }
8344 fi
8345
8346 ac_ext=c
8347 ac_cpp='$CPP $CPPFLAGS'
8348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8351
8352 else
8353   _lt_caught_CXX_error=yes
8354 fi
8355
8356
8357
8358
8359
8360 # Set options
8361
8362
8363
8364
8365   enable_win32_dll=no
8366
8367
8368             # Check whether --enable-shared was given.
8369 if test "${enable_shared+set}" = set; then :
8370   enableval=$enable_shared; p=${PACKAGE-default}
8371     case $enableval in
8372     yes) enable_shared=yes ;;
8373     no) enable_shared=no ;;
8374     *)
8375       enable_shared=no
8376       # Look at the argument we got.  We use all the common list separators.
8377       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8378       for pkg in $enableval; do
8379         IFS="$lt_save_ifs"
8380         if test "X$pkg" = "X$p"; then
8381           enable_shared=yes
8382         fi
8383       done
8384       IFS="$lt_save_ifs"
8385       ;;
8386     esac
8387 else
8388   enable_shared=yes
8389 fi
8390
8391
8392
8393
8394
8395
8396
8397
8398
8399   # Check whether --enable-static was given.
8400 if test "${enable_static+set}" = set; then :
8401   enableval=$enable_static; p=${PACKAGE-default}
8402     case $enableval in
8403     yes) enable_static=yes ;;
8404     no) enable_static=no ;;
8405     *)
8406      enable_static=no
8407       # Look at the argument we got.  We use all the common list separators.
8408       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8409       for pkg in $enableval; do
8410         IFS="$lt_save_ifs"
8411         if test "X$pkg" = "X$p"; then
8412           enable_static=yes
8413         fi
8414       done
8415       IFS="$lt_save_ifs"
8416       ;;
8417     esac
8418 else
8419   enable_static=yes
8420 fi
8421
8422
8423
8424
8425
8426
8427
8428
8429
8430
8431 # Check whether --with-pic was given.
8432 if test "${with_pic+set}" = set; then :
8433   withval=$with_pic; pic_mode="$withval"
8434 else
8435   pic_mode=default
8436 fi
8437
8438
8439 test -z "$pic_mode" && pic_mode=default
8440
8441
8442
8443
8444
8445
8446
8447   # Check whether --enable-fast-install was given.
8448 if test "${enable_fast_install+set}" = set; then :
8449   enableval=$enable_fast_install; p=${PACKAGE-default}
8450     case $enableval in
8451     yes) enable_fast_install=yes ;;
8452     no) enable_fast_install=no ;;
8453     *)
8454       enable_fast_install=no
8455       # Look at the argument we got.  We use all the common list separators.
8456       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8457       for pkg in $enableval; do
8458         IFS="$lt_save_ifs"
8459         if test "X$pkg" = "X$p"; then
8460           enable_fast_install=yes
8461         fi
8462       done
8463       IFS="$lt_save_ifs"
8464       ;;
8465     esac
8466 else
8467   enable_fast_install=yes
8468 fi
8469
8470
8471
8472
8473
8474
8475
8476
8477
8478
8479
8480 # This can be used to rebuild libtool when needed
8481 LIBTOOL_DEPS="$ltmain"
8482
8483 # Always use our own libtool.
8484 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8485
8486
8487
8488
8489
8490
8491
8492
8493
8494
8495
8496
8497
8498
8499
8500
8501
8502
8503
8504
8505
8506
8507
8508
8509
8510 test -z "$LN_S" && LN_S="ln -s"
8511
8512
8513
8514
8515
8516
8517
8518
8519
8520
8521
8522
8523
8524
8525 if test -n "${ZSH_VERSION+set}" ; then
8526    setopt NO_GLOB_SUBST
8527 fi
8528
8529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8530 $as_echo_n "checking for objdir... " >&6; }
8531 if test "${lt_cv_objdir+set}" = set; then :
8532   $as_echo_n "(cached) " >&6
8533 else
8534   rm -f .libs 2>/dev/null
8535 mkdir .libs 2>/dev/null
8536 if test -d .libs; then
8537   lt_cv_objdir=.libs
8538 else
8539   # MS-DOS does not allow filenames that begin with a dot.
8540   lt_cv_objdir=_libs
8541 fi
8542 rmdir .libs 2>/dev/null
8543 fi
8544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8545 $as_echo "$lt_cv_objdir" >&6; }
8546 objdir=$lt_cv_objdir
8547
8548
8549
8550
8551
8552 cat >>confdefs.h <<_ACEOF
8553 #define LT_OBJDIR "$lt_cv_objdir/"
8554 _ACEOF
8555
8556
8557
8558
8559
8560
8561
8562
8563
8564
8565
8566
8567
8568
8569
8570
8571
8572 case $host_os in
8573 aix3*)
8574   # AIX sometimes has problems with the GCC collect2 program.  For some
8575   # reason, if we set the COLLECT_NAMES environment variable, the problems
8576   # vanish in a puff of smoke.
8577   if test "X${COLLECT_NAMES+set}" != Xset; then
8578     COLLECT_NAMES=
8579     export COLLECT_NAMES
8580   fi
8581   ;;
8582 esac
8583
8584 # Sed substitution that helps us do robust quoting.  It backslashifies
8585 # metacharacters that are still active within double-quoted strings.
8586 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
8587
8588 # Same as above, but do not quote variable references.
8589 double_quote_subst='s/\(["`\\]\)/\\\1/g'
8590
8591 # Sed substitution to delay expansion of an escaped shell variable in a
8592 # double_quote_subst'ed string.
8593 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
8594
8595 # Sed substitution to delay expansion of an escaped single quote.
8596 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
8597
8598 # Sed substitution to avoid accidental globbing in evaled expressions
8599 no_glob_subst='s/\*/\\\*/g'
8600
8601 # Global variables:
8602 ofile=libtool
8603 can_build_shared=yes
8604
8605 # All known linkers require a `.a' archive for static linking (except MSVC,
8606 # which needs '.lib').
8607 libext=a
8608
8609 with_gnu_ld="$lt_cv_prog_gnu_ld"
8610
8611 old_CC="$CC"
8612 old_CFLAGS="$CFLAGS"
8613
8614 # Set sane defaults for various variables
8615 test -z "$CC" && CC=cc
8616 test -z "$LTCC" && LTCC=$CC
8617 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8618 test -z "$LD" && LD=ld
8619 test -z "$ac_objext" && ac_objext=o
8620
8621 for cc_temp in $compiler""; do
8622   case $cc_temp in
8623     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8624     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8625     \-*) ;;
8626     *) break;;
8627   esac
8628 done
8629 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8630
8631
8632 # Only perform the check for file, if the check method requires it
8633 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8634 case $deplibs_check_method in
8635 file_magic*)
8636   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8637     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8638 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8639 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8640   $as_echo_n "(cached) " >&6
8641 else
8642   case $MAGIC_CMD in
8643 [\\/*] |  ?:[\\/]*)
8644   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8645   ;;
8646 *)
8647   lt_save_MAGIC_CMD="$MAGIC_CMD"
8648   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8649   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8650   for ac_dir in $ac_dummy; do
8651     IFS="$lt_save_ifs"
8652     test -z "$ac_dir" && ac_dir=.
8653     if test -f $ac_dir/${ac_tool_prefix}file; then
8654       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8655       if test -n "$file_magic_test_file"; then
8656         case $deplibs_check_method in
8657         "file_magic "*)
8658           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8659           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8660           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8661             $EGREP "$file_magic_regex" > /dev/null; then
8662             :
8663           else
8664             cat <<_LT_EOF 1>&2
8665
8666 *** Warning: the command libtool uses to detect shared libraries,
8667 *** $file_magic_cmd, produces output that libtool cannot recognize.
8668 *** The result is that libtool may fail to recognize shared libraries
8669 *** as such.  This will affect the creation of libtool libraries that
8670 *** depend on shared libraries, but programs linked with such libtool
8671 *** libraries will work regardless of this problem.  Nevertheless, you
8672 *** may want to report the problem to your system manager and/or to
8673 *** bug-libtool@gnu.org
8674
8675 _LT_EOF
8676           fi ;;
8677         esac
8678       fi
8679       break
8680     fi
8681   done
8682   IFS="$lt_save_ifs"
8683   MAGIC_CMD="$lt_save_MAGIC_CMD"
8684   ;;
8685 esac
8686 fi
8687
8688 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8689 if test -n "$MAGIC_CMD"; then
8690   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8691 $as_echo "$MAGIC_CMD" >&6; }
8692 else
8693   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8694 $as_echo "no" >&6; }
8695 fi
8696
8697
8698
8699
8700
8701 if test -z "$lt_cv_path_MAGIC_CMD"; then
8702   if test -n "$ac_tool_prefix"; then
8703     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8704 $as_echo_n "checking for file... " >&6; }
8705 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8706   $as_echo_n "(cached) " >&6
8707 else
8708   case $MAGIC_CMD in
8709 [\\/*] |  ?:[\\/]*)
8710   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8711   ;;
8712 *)
8713   lt_save_MAGIC_CMD="$MAGIC_CMD"
8714   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8715   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8716   for ac_dir in $ac_dummy; do
8717     IFS="$lt_save_ifs"
8718     test -z "$ac_dir" && ac_dir=.
8719     if test -f $ac_dir/file; then
8720       lt_cv_path_MAGIC_CMD="$ac_dir/file"
8721       if test -n "$file_magic_test_file"; then
8722         case $deplibs_check_method in
8723         "file_magic "*)
8724           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8725           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8726           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8727             $EGREP "$file_magic_regex" > /dev/null; then
8728             :
8729           else
8730             cat <<_LT_EOF 1>&2
8731
8732 *** Warning: the command libtool uses to detect shared libraries,
8733 *** $file_magic_cmd, produces output that libtool cannot recognize.
8734 *** The result is that libtool may fail to recognize shared libraries
8735 *** as such.  This will affect the creation of libtool libraries that
8736 *** depend on shared libraries, but programs linked with such libtool
8737 *** libraries will work regardless of this problem.  Nevertheless, you
8738 *** may want to report the problem to your system manager and/or to
8739 *** bug-libtool@gnu.org
8740
8741 _LT_EOF
8742           fi ;;
8743         esac
8744       fi
8745       break
8746     fi
8747   done
8748   IFS="$lt_save_ifs"
8749   MAGIC_CMD="$lt_save_MAGIC_CMD"
8750   ;;
8751 esac
8752 fi
8753
8754 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8755 if test -n "$MAGIC_CMD"; then
8756   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8757 $as_echo "$MAGIC_CMD" >&6; }
8758 else
8759   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8760 $as_echo "no" >&6; }
8761 fi
8762
8763
8764   else
8765     MAGIC_CMD=:
8766   fi
8767 fi
8768
8769   fi
8770   ;;
8771 esac
8772
8773 # Use C for the default configuration in the libtool script
8774
8775 lt_save_CC="$CC"
8776 ac_ext=c
8777 ac_cpp='$CPP $CPPFLAGS'
8778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8781
8782
8783 # Source file extension for C test sources.
8784 ac_ext=c
8785
8786 # Object file extension for compiled C test sources.
8787 objext=o
8788 objext=$objext
8789
8790 # Code to be used in simple compile tests
8791 lt_simple_compile_test_code="int some_variable = 0;"
8792
8793 # Code to be used in simple link tests
8794 lt_simple_link_test_code='int main(){return(0);}'
8795
8796
8797
8798
8799
8800
8801
8802 # If no C compiler was specified, use CC.
8803 LTCC=${LTCC-"$CC"}
8804
8805 # If no C compiler flags were specified, use CFLAGS.
8806 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8807
8808 # Allow CC to be a program name with arguments.
8809 compiler=$CC
8810
8811 # Save the default compiler, since it gets overwritten when the other
8812 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8813 compiler_DEFAULT=$CC
8814
8815 # save warnings/boilerplate of simple test code
8816 ac_outfile=conftest.$ac_objext
8817 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8818 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8819 _lt_compiler_boilerplate=`cat conftest.err`
8820 $RM conftest*
8821
8822 ac_outfile=conftest.$ac_objext
8823 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8824 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8825 _lt_linker_boilerplate=`cat conftest.err`
8826 $RM -r conftest*
8827
8828
8829 ## CAVEAT EMPTOR:
8830 ## There is no encapsulation within the following macros, do not change
8831 ## the running order or otherwise move them around unless you know exactly
8832 ## what you are doing...
8833 if test -n "$compiler"; then
8834
8835 lt_prog_compiler_no_builtin_flag=
8836
8837 if test "$GCC" = yes; then
8838   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8839
8840   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8841 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8842 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8843   $as_echo_n "(cached) " >&6
8844 else
8845   lt_cv_prog_compiler_rtti_exceptions=no
8846    ac_outfile=conftest.$ac_objext
8847    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8848    lt_compiler_flag="-fno-rtti -fno-exceptions"
8849    # Insert the option either (1) after the last *FLAGS variable, or
8850    # (2) before a word containing "conftest.", or (3) at the end.
8851    # Note that $ac_compile itself does not contain backslashes and begins
8852    # with a dollar sign (not a hyphen), so the echo should work correctly.
8853    # The option is referenced via a variable to avoid confusing sed.
8854    lt_compile=`echo "$ac_compile" | $SED \
8855    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8856    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8857    -e 's:$: $lt_compiler_flag:'`
8858    (eval echo "\"\$as_me:8858: $lt_compile\"" >&5)
8859    (eval "$lt_compile" 2>conftest.err)
8860    ac_status=$?
8861    cat conftest.err >&5
8862    echo "$as_me:8862: \$? = $ac_status" >&5
8863    if (exit $ac_status) && test -s "$ac_outfile"; then
8864      # The compiler can only warn and ignore the option if not recognized
8865      # So say no if there are warnings other than the usual output.
8866      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8867      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8868      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8869        lt_cv_prog_compiler_rtti_exceptions=yes
8870      fi
8871    fi
8872    $RM conftest*
8873
8874 fi
8875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8876 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8877
8878 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8879     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8880 else
8881     :
8882 fi
8883
8884 fi
8885
8886
8887
8888
8889
8890
8891   lt_prog_compiler_wl=
8892 lt_prog_compiler_pic=
8893 lt_prog_compiler_static=
8894
8895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8896 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8897
8898   if test "$GCC" = yes; then
8899     lt_prog_compiler_wl='-Wl,'
8900     lt_prog_compiler_static='-static'
8901
8902     case $host_os in
8903       aix*)
8904       # All AIX code is PIC.
8905       if test "$host_cpu" = ia64; then
8906         # AIX 5 now supports IA64 processor
8907         lt_prog_compiler_static='-Bstatic'
8908       fi
8909       ;;
8910
8911     amigaos*)
8912       case $host_cpu in
8913       powerpc)
8914             # see comment about AmigaOS4 .so support
8915             lt_prog_compiler_pic='-fPIC'
8916         ;;
8917       m68k)
8918             # FIXME: we need at least 68020 code to build shared libraries, but
8919             # adding the `-m68020' flag to GCC prevents building anything better,
8920             # like `-m68040'.
8921             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8922         ;;
8923       esac
8924       ;;
8925
8926     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8927       # PIC is the default for these OSes.
8928       ;;
8929
8930     mingw* | cygwin* | pw32* | os2* | cegcc*)
8931       # This hack is so that the source file can tell whether it is being
8932       # built for inclusion in a dll (and should export symbols for example).
8933       # Although the cygwin gcc ignores -fPIC, still need this for old-style
8934       # (--disable-auto-import) libraries
8935       lt_prog_compiler_pic='-DDLL_EXPORT'
8936       ;;
8937
8938     darwin* | rhapsody*)
8939       # PIC is the default on this platform
8940       # Common symbols not allowed in MH_DYLIB files
8941       lt_prog_compiler_pic='-fno-common'
8942       ;;
8943
8944     hpux*)
8945       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8946       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8947       # sets the default TLS model and affects inlining.
8948       case $host_cpu in
8949       hppa*64*)
8950         # +Z the default
8951         ;;
8952       *)
8953         lt_prog_compiler_pic='-fPIC'
8954         ;;
8955       esac
8956       ;;
8957
8958     interix[3-9]*)
8959       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8960       # Instead, we relocate shared libraries at runtime.
8961       ;;
8962
8963     msdosdjgpp*)
8964       # Just because we use GCC doesn't mean we suddenly get shared libraries
8965       # on systems that don't support them.
8966       lt_prog_compiler_can_build_shared=no
8967       enable_shared=no
8968       ;;
8969
8970     *nto* | *qnx*)
8971       # QNX uses GNU C++, but need to define -shared option too, otherwise
8972       # it will coredump.
8973       lt_prog_compiler_pic='-fPIC -shared'
8974       ;;
8975
8976     sysv4*MP*)
8977       if test -d /usr/nec; then
8978         lt_prog_compiler_pic=-Kconform_pic
8979       fi
8980       ;;
8981
8982     *)
8983       lt_prog_compiler_pic='-fPIC'
8984       ;;
8985     esac
8986   else
8987     # PORTME Check for flag to pass linker flags through the system compiler.
8988     case $host_os in
8989     aix*)
8990       lt_prog_compiler_wl='-Wl,'
8991       if test "$host_cpu" = ia64; then
8992         # AIX 5 now supports IA64 processor
8993         lt_prog_compiler_static='-Bstatic'
8994       else
8995         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8996       fi
8997       ;;
8998
8999     mingw* | cygwin* | pw32* | os2* | cegcc*)
9000       # This hack is so that the source file can tell whether it is being
9001       # built for inclusion in a dll (and should export symbols for example).
9002       lt_prog_compiler_pic='-DDLL_EXPORT'
9003       ;;
9004
9005     hpux9* | hpux10* | hpux11*)
9006       lt_prog_compiler_wl='-Wl,'
9007       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9008       # not for PA HP-UX.
9009       case $host_cpu in
9010       hppa*64*|ia64*)
9011         # +Z the default
9012         ;;
9013       *)
9014         lt_prog_compiler_pic='+Z'
9015         ;;
9016       esac
9017       # Is there a better lt_prog_compiler_static that works with the bundled CC?
9018       lt_prog_compiler_static='${wl}-a ${wl}archive'
9019       ;;
9020
9021     irix5* | irix6* | nonstopux*)
9022       lt_prog_compiler_wl='-Wl,'
9023       # PIC (with -KPIC) is the default.
9024       lt_prog_compiler_static='-non_shared'
9025       ;;
9026
9027     linux* | k*bsd*-gnu | kopensolaris*-gnu)
9028       case $cc_basename in
9029       # old Intel for x86_64 which still supported -KPIC.
9030       ecc*)
9031         lt_prog_compiler_wl='-Wl,'
9032         lt_prog_compiler_pic='-KPIC'
9033         lt_prog_compiler_static='-static'
9034         ;;
9035       # icc used to be incompatible with GCC.
9036       # ICC 10 doesn't accept -KPIC any more.
9037       icc* | ifort*)
9038         lt_prog_compiler_wl='-Wl,'
9039         lt_prog_compiler_pic='-fPIC'
9040         lt_prog_compiler_static='-static'
9041         ;;
9042       # Lahey Fortran 8.1.
9043       lf95*)
9044         lt_prog_compiler_wl='-Wl,'
9045         lt_prog_compiler_pic='--shared'
9046         lt_prog_compiler_static='--static'
9047         ;;
9048       pgcc* | pgf77* | pgf90* | pgf95*)
9049         # Portland Group compilers (*not* the Pentium gcc compiler,
9050         # which looks to be a dead project)
9051         lt_prog_compiler_wl='-Wl,'
9052         lt_prog_compiler_pic='-fpic'
9053         lt_prog_compiler_static='-Bstatic'
9054         ;;
9055       ccc*)
9056         lt_prog_compiler_wl='-Wl,'
9057         # All Alpha code is PIC.
9058         lt_prog_compiler_static='-non_shared'
9059         ;;
9060       xl*)
9061         # IBM XL C 8.0/Fortran 10.1 on PPC
9062         lt_prog_compiler_wl='-Wl,'
9063         lt_prog_compiler_pic='-qpic'
9064         lt_prog_compiler_static='-qstaticlink'
9065         ;;
9066       *)
9067         case `$CC -V 2>&1 | sed 5q` in
9068         *Sun\ C*)
9069           # Sun C 5.9
9070           lt_prog_compiler_pic='-KPIC'
9071           lt_prog_compiler_static='-Bstatic'
9072           lt_prog_compiler_wl='-Wl,'
9073           ;;
9074         *Sun\ F*)
9075           # Sun Fortran 8.3 passes all unrecognized flags to the linker
9076           lt_prog_compiler_pic='-KPIC'
9077           lt_prog_compiler_static='-Bstatic'
9078           lt_prog_compiler_wl=''
9079           ;;
9080         esac
9081         ;;
9082       esac
9083       ;;
9084
9085     newsos6)
9086       lt_prog_compiler_pic='-KPIC'
9087       lt_prog_compiler_static='-Bstatic'
9088       ;;
9089
9090     *nto* | *qnx*)
9091       # QNX uses GNU C++, but need to define -shared option too, otherwise
9092       # it will coredump.
9093       lt_prog_compiler_pic='-fPIC -shared'
9094       ;;
9095
9096     osf3* | osf4* | osf5*)
9097       lt_prog_compiler_wl='-Wl,'
9098       # All OSF/1 code is PIC.
9099       lt_prog_compiler_static='-non_shared'
9100       ;;
9101
9102     rdos*)
9103       lt_prog_compiler_static='-non_shared'
9104       ;;
9105
9106     solaris*)
9107       lt_prog_compiler_pic='-KPIC'
9108       lt_prog_compiler_static='-Bstatic'
9109       case $cc_basename in
9110       f77* | f90* | f95*)
9111         lt_prog_compiler_wl='-Qoption ld ';;
9112       *)
9113         lt_prog_compiler_wl='-Wl,';;
9114       esac
9115       ;;
9116
9117     sunos4*)
9118       lt_prog_compiler_wl='-Qoption ld '
9119       lt_prog_compiler_pic='-PIC'
9120       lt_prog_compiler_static='-Bstatic'
9121       ;;
9122
9123     sysv4 | sysv4.2uw2* | sysv4.3*)
9124       lt_prog_compiler_wl='-Wl,'
9125       lt_prog_compiler_pic='-KPIC'
9126       lt_prog_compiler_static='-Bstatic'
9127       ;;
9128
9129     sysv4*MP*)
9130       if test -d /usr/nec ;then
9131         lt_prog_compiler_pic='-Kconform_pic'
9132         lt_prog_compiler_static='-Bstatic'
9133       fi
9134       ;;
9135
9136     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9137       lt_prog_compiler_wl='-Wl,'
9138       lt_prog_compiler_pic='-KPIC'
9139       lt_prog_compiler_static='-Bstatic'
9140       ;;
9141
9142     unicos*)
9143       lt_prog_compiler_wl='-Wl,'
9144       lt_prog_compiler_can_build_shared=no
9145       ;;
9146
9147     uts4*)
9148       lt_prog_compiler_pic='-pic'
9149       lt_prog_compiler_static='-Bstatic'
9150       ;;
9151
9152     *)
9153       lt_prog_compiler_can_build_shared=no
9154       ;;
9155     esac
9156   fi
9157
9158 case $host_os in
9159   # For platforms which do not support PIC, -DPIC is meaningless:
9160   *djgpp*)
9161     lt_prog_compiler_pic=
9162     ;;
9163   *)
9164     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9165     ;;
9166 esac
9167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9168 $as_echo "$lt_prog_compiler_pic" >&6; }
9169
9170
9171
9172
9173
9174
9175 #
9176 # Check to make sure the PIC flag actually works.
9177 #
9178 if test -n "$lt_prog_compiler_pic"; then
9179   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9180 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9181 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
9182   $as_echo_n "(cached) " >&6
9183 else
9184   lt_cv_prog_compiler_pic_works=no
9185    ac_outfile=conftest.$ac_objext
9186    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9187    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9188    # Insert the option either (1) after the last *FLAGS variable, or
9189    # (2) before a word containing "conftest.", or (3) at the end.
9190    # Note that $ac_compile itself does not contain backslashes and begins
9191    # with a dollar sign (not a hyphen), so the echo should work correctly.
9192    # The option is referenced via a variable to avoid confusing sed.
9193    lt_compile=`echo "$ac_compile" | $SED \
9194    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9195    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9196    -e 's:$: $lt_compiler_flag:'`
9197    (eval echo "\"\$as_me:9197: $lt_compile\"" >&5)
9198    (eval "$lt_compile" 2>conftest.err)
9199    ac_status=$?
9200    cat conftest.err >&5
9201    echo "$as_me:9201: \$? = $ac_status" >&5
9202    if (exit $ac_status) && test -s "$ac_outfile"; then
9203      # The compiler can only warn and ignore the option if not recognized
9204      # So say no if there are warnings other than the usual output.
9205      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
9206      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9207      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9208        lt_cv_prog_compiler_pic_works=yes
9209      fi
9210    fi
9211    $RM conftest*
9212
9213 fi
9214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9215 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9216
9217 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9218     case $lt_prog_compiler_pic in
9219      "" | " "*) ;;
9220      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9221      esac
9222 else
9223     lt_prog_compiler_pic=
9224      lt_prog_compiler_can_build_shared=no
9225 fi
9226
9227 fi
9228
9229
9230
9231
9232
9233
9234 #
9235 # Check to make sure the static flag actually works.
9236 #
9237 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9239 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9240 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
9241   $as_echo_n "(cached) " >&6
9242 else
9243   lt_cv_prog_compiler_static_works=no
9244    save_LDFLAGS="$LDFLAGS"
9245    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9246    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9247    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9248      # The linker can only warn and ignore the option if not recognized
9249      # So say no if there are warnings
9250      if test -s conftest.err; then
9251        # Append any errors to the config.log.
9252        cat conftest.err 1>&5
9253        $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
9254        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9255        if diff conftest.exp conftest.er2 >/dev/null; then
9256          lt_cv_prog_compiler_static_works=yes
9257        fi
9258      else
9259        lt_cv_prog_compiler_static_works=yes
9260      fi
9261    fi
9262    $RM -r conftest*
9263    LDFLAGS="$save_LDFLAGS"
9264
9265 fi
9266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9267 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9268
9269 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9270     :
9271 else
9272     lt_prog_compiler_static=
9273 fi
9274
9275
9276
9277
9278
9279
9280
9281   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9282 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9283 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9284   $as_echo_n "(cached) " >&6
9285 else
9286   lt_cv_prog_compiler_c_o=no
9287    $RM -r conftest 2>/dev/null
9288    mkdir conftest
9289    cd conftest
9290    mkdir out
9291    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9292
9293    lt_compiler_flag="-o out/conftest2.$ac_objext"
9294    # Insert the option either (1) after the last *FLAGS variable, or
9295    # (2) before a word containing "conftest.", or (3) at the end.
9296    # Note that $ac_compile itself does not contain backslashes and begins
9297    # with a dollar sign (not a hyphen), so the echo should work correctly.
9298    lt_compile=`echo "$ac_compile" | $SED \
9299    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9300    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9301    -e 's:$: $lt_compiler_flag:'`
9302    (eval echo "\"\$as_me:9302: $lt_compile\"" >&5)
9303    (eval "$lt_compile" 2>out/conftest.err)
9304    ac_status=$?
9305    cat out/conftest.err >&5
9306    echo "$as_me:9306: \$? = $ac_status" >&5
9307    if (exit $ac_status) && test -s out/conftest2.$ac_objext
9308    then
9309      # The compiler can only warn and ignore the option if not recognized
9310      # So say no if there are warnings
9311      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9312      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9313      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9314        lt_cv_prog_compiler_c_o=yes
9315      fi
9316    fi
9317    chmod u+w . 2>&5
9318    $RM conftest*
9319    # SGI C++ compiler will create directory out/ii_files/ for
9320    # template instantiation
9321    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9322    $RM out/* && rmdir out
9323    cd ..
9324    $RM -r conftest
9325    $RM conftest*
9326
9327 fi
9328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9329 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9330
9331
9332
9333
9334
9335
9336   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9337 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9338 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9339   $as_echo_n "(cached) " >&6
9340 else
9341   lt_cv_prog_compiler_c_o=no
9342    $RM -r conftest 2>/dev/null
9343    mkdir conftest
9344    cd conftest
9345    mkdir out
9346    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9347
9348    lt_compiler_flag="-o out/conftest2.$ac_objext"
9349    # Insert the option either (1) after the last *FLAGS variable, or
9350    # (2) before a word containing "conftest.", or (3) at the end.
9351    # Note that $ac_compile itself does not contain backslashes and begins
9352    # with a dollar sign (not a hyphen), so the echo should work correctly.
9353    lt_compile=`echo "$ac_compile" | $SED \
9354    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9355    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9356    -e 's:$: $lt_compiler_flag:'`
9357    (eval echo "\"\$as_me:9357: $lt_compile\"" >&5)
9358    (eval "$lt_compile" 2>out/conftest.err)
9359    ac_status=$?
9360    cat out/conftest.err >&5
9361    echo "$as_me:9361: \$? = $ac_status" >&5
9362    if (exit $ac_status) && test -s out/conftest2.$ac_objext
9363    then
9364      # The compiler can only warn and ignore the option if not recognized
9365      # So say no if there are warnings
9366      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9367      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9368      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9369        lt_cv_prog_compiler_c_o=yes
9370      fi
9371    fi
9372    chmod u+w . 2>&5
9373    $RM conftest*
9374    # SGI C++ compiler will create directory out/ii_files/ for
9375    # template instantiation
9376    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9377    $RM out/* && rmdir out
9378    cd ..
9379    $RM -r conftest
9380    $RM conftest*
9381
9382 fi
9383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9384 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9385
9386
9387
9388
9389 hard_links="nottested"
9390 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9391   # do not overwrite the value of need_locks provided by the user
9392   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9393 $as_echo_n "checking if we can lock with hard links... " >&6; }
9394   hard_links=yes
9395   $RM conftest*
9396   ln conftest.a conftest.b 2>/dev/null && hard_links=no
9397   touch conftest.a
9398   ln conftest.a conftest.b 2>&5 || hard_links=no
9399   ln conftest.a conftest.b 2>/dev/null && hard_links=no
9400   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9401 $as_echo "$hard_links" >&6; }
9402   if test "$hard_links" = no; then
9403     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9404 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9405     need_locks=warn
9406   fi
9407 else
9408   need_locks=no
9409 fi
9410
9411
9412
9413
9414
9415
9416   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9417 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9418
9419   runpath_var=
9420   allow_undefined_flag=
9421   always_export_symbols=no
9422   archive_cmds=
9423   archive_expsym_cmds=
9424   compiler_needs_object=no
9425   enable_shared_with_static_runtimes=no
9426   export_dynamic_flag_spec=
9427   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9428   hardcode_automatic=no
9429   hardcode_direct=no
9430   hardcode_direct_absolute=no
9431   hardcode_libdir_flag_spec=
9432   hardcode_libdir_flag_spec_ld=
9433   hardcode_libdir_separator=
9434   hardcode_minus_L=no
9435   hardcode_shlibpath_var=unsupported
9436   inherit_rpath=no
9437   link_all_deplibs=unknown
9438   module_cmds=
9439   module_expsym_cmds=
9440   old_archive_from_new_cmds=
9441   old_archive_from_expsyms_cmds=
9442   thread_safe_flag_spec=
9443   whole_archive_flag_spec=
9444   # include_expsyms should be a list of space-separated symbols to be *always*
9445   # included in the symbol list
9446   include_expsyms=
9447   # exclude_expsyms can be an extended regexp of symbols to exclude
9448   # it will be wrapped by ` (' and `)$', so one must not match beginning or
9449   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9450   # as well as any symbol that contains `d'.
9451   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9452   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9453   # platforms (ab)use it in PIC code, but their linkers get confused if
9454   # the symbol is explicitly referenced.  Since portable code cannot
9455   # rely on this symbol name, it's probably fine to never include it in
9456   # preloaded symbol tables.
9457   # Exclude shared library initialization/finalization symbols.
9458   extract_expsyms_cmds=
9459
9460   case $host_os in
9461   cygwin* | mingw* | pw32* | cegcc*)
9462     # FIXME: the MSVC++ port hasn't been tested in a loooong time
9463     # When not using gcc, we currently assume that we are using
9464     # Microsoft Visual C++.
9465     if test "$GCC" != yes; then
9466       with_gnu_ld=no
9467     fi
9468     ;;
9469   interix*)
9470     # we just hope/assume this is gcc and not c89 (= MSVC++)
9471     with_gnu_ld=yes
9472     ;;
9473   openbsd*)
9474     with_gnu_ld=no
9475     ;;
9476   esac
9477
9478   ld_shlibs=yes
9479   if test "$with_gnu_ld" = yes; then
9480     # If archive_cmds runs LD, not CC, wlarc should be empty
9481     wlarc='${wl}'
9482
9483     # Set some defaults for GNU ld with shared library support. These
9484     # are reset later if shared libraries are not supported. Putting them
9485     # here allows them to be overridden if necessary.
9486     runpath_var=LD_RUN_PATH
9487     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9488     export_dynamic_flag_spec='${wl}--export-dynamic'
9489     # ancient GNU ld didn't support --whole-archive et. al.
9490     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9491       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9492     else
9493       whole_archive_flag_spec=
9494     fi
9495     supports_anon_versioning=no
9496     case `$LD -v 2>&1` in
9497       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9498       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9499       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9500       *\ 2.11.*) ;; # other 2.11 versions
9501       *) supports_anon_versioning=yes ;;
9502     esac
9503
9504     # See if GNU ld supports shared libraries.
9505     case $host_os in
9506     aix[3-9]*)
9507       # On AIX/PPC, the GNU linker is very broken
9508       if test "$host_cpu" != ia64; then
9509         ld_shlibs=no
9510         cat <<_LT_EOF 1>&2
9511
9512 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
9513 *** to be unable to reliably create shared libraries on AIX.
9514 *** Therefore, libtool is disabling shared libraries support.  If you
9515 *** really care for shared libraries, you may want to modify your PATH
9516 *** so that a non-GNU linker is found, and then restart.
9517
9518 _LT_EOF
9519       fi
9520       ;;
9521
9522     amigaos*)
9523       case $host_cpu in
9524       powerpc)
9525             # see comment about AmigaOS4 .so support
9526             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9527             archive_expsym_cmds=''
9528         ;;
9529       m68k)
9530             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)'
9531             hardcode_libdir_flag_spec='-L$libdir'
9532             hardcode_minus_L=yes
9533         ;;
9534       esac
9535       ;;
9536
9537     beos*)
9538       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9539         allow_undefined_flag=unsupported
9540         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9541         # support --undefined.  This deserves some investigation.  FIXME
9542         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9543       else
9544         ld_shlibs=no
9545       fi
9546       ;;
9547
9548     cygwin* | mingw* | pw32* | cegcc*)
9549       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9550       # as there is no search path for DLLs.
9551       hardcode_libdir_flag_spec='-L$libdir'
9552       allow_undefined_flag=unsupported
9553       always_export_symbols=no
9554       enable_shared_with_static_runtimes=yes
9555       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9556
9557       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9558         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9559         # If the export-symbols file already is a .def file (1st line
9560         # is EXPORTS), use it as is; otherwise, prepend...
9561         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9562           cp $export_symbols $output_objdir/$soname.def;
9563         else
9564           echo EXPORTS > $output_objdir/$soname.def;
9565           cat $export_symbols >> $output_objdir/$soname.def;
9566         fi~
9567         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9568       else
9569         ld_shlibs=no
9570       fi
9571       ;;
9572
9573     interix[3-9]*)
9574       hardcode_direct=no
9575       hardcode_shlibpath_var=no
9576       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9577       export_dynamic_flag_spec='${wl}-E'
9578       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9579       # Instead, shared libraries are loaded at an image base (0x10000000 by
9580       # default) and relocated if they conflict, which is a slow very memory
9581       # consuming and fragmenting process.  To avoid this, we pick a random,
9582       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9583       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9584       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9585       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'
9586       ;;
9587
9588     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9589       tmp_diet=no
9590       if test "$host_os" = linux-dietlibc; then
9591         case $cc_basename in
9592           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9593         esac
9594       fi
9595       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9596          && test "$tmp_diet" = no
9597       then
9598         tmp_addflag=
9599         tmp_sharedflag='-shared'
9600         case $cc_basename,$host_cpu in
9601         pgcc*)                          # Portland Group C compiler
9602           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'
9603           tmp_addflag=' $pic_flag'
9604           ;;
9605         pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
9606           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'
9607           tmp_addflag=' $pic_flag -Mnomain' ;;
9608         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9609           tmp_addflag=' -i_dynamic' ;;
9610         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9611           tmp_addflag=' -i_dynamic -nofor_main' ;;
9612         ifc* | ifort*)                  # Intel Fortran compiler
9613           tmp_addflag=' -nofor_main' ;;
9614         lf95*)                          # Lahey Fortran 8.1
9615           whole_archive_flag_spec=
9616           tmp_sharedflag='--shared' ;;
9617         xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
9618           tmp_sharedflag='-qmkshrobj'
9619           tmp_addflag= ;;
9620         esac
9621         case `$CC -V 2>&1 | sed 5q` in
9622         *Sun\ C*)                       # Sun C 5.9
9623           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'
9624           compiler_needs_object=yes
9625           tmp_sharedflag='-G' ;;
9626         *Sun\ F*)                       # Sun Fortran 8.3
9627           tmp_sharedflag='-G' ;;
9628         esac
9629         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9630
9631         if test "x$supports_anon_versioning" = xyes; then
9632           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9633             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9634             echo "local: *; };" >> $output_objdir/$libname.ver~
9635             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9636         fi
9637
9638         case $cc_basename in
9639         xlf*)
9640           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9641           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9642           hardcode_libdir_flag_spec=
9643           hardcode_libdir_flag_spec_ld='-rpath $libdir'
9644           archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9645           if test "x$supports_anon_versioning" = xyes; then
9646             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9647               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9648               echo "local: *; };" >> $output_objdir/$libname.ver~
9649               $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9650           fi
9651           ;;
9652         esac
9653       else
9654         ld_shlibs=no
9655       fi
9656       ;;
9657
9658     netbsd*)
9659       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9660         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9661         wlarc=
9662       else
9663         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9664         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9665       fi
9666       ;;
9667
9668     solaris*)
9669       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9670         ld_shlibs=no
9671         cat <<_LT_EOF 1>&2
9672
9673 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9674 *** create shared libraries on Solaris systems.  Therefore, libtool
9675 *** is disabling shared libraries support.  We urge you to upgrade GNU
9676 *** binutils to release 2.9.1 or newer.  Another option is to modify
9677 *** your PATH or compiler configuration so that the native linker is
9678 *** used, and then restart.
9679
9680 _LT_EOF
9681       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9682         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9683         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9684       else
9685         ld_shlibs=no
9686       fi
9687       ;;
9688
9689     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9690       case `$LD -v 2>&1` in
9691         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9692         ld_shlibs=no
9693         cat <<_LT_EOF 1>&2
9694
9695 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9696 *** reliably create shared libraries on SCO systems.  Therefore, libtool
9697 *** is disabling shared libraries support.  We urge you to upgrade GNU
9698 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9699 *** your PATH or compiler configuration so that the native linker is
9700 *** used, and then restart.
9701
9702 _LT_EOF
9703         ;;
9704         *)
9705           # For security reasons, it is highly recommended that you always
9706           # use absolute paths for naming shared libraries, and exclude the
9707           # DT_RUNPATH tag from executables and libraries.  But doing so
9708           # requires that you compile everything twice, which is a pain.
9709           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9710             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9711             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9712             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9713           else
9714             ld_shlibs=no
9715           fi
9716         ;;
9717       esac
9718       ;;
9719
9720     sunos4*)
9721       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9722       wlarc=
9723       hardcode_direct=yes
9724       hardcode_shlibpath_var=no
9725       ;;
9726
9727     *)
9728       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9729         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9730         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9731       else
9732         ld_shlibs=no
9733       fi
9734       ;;
9735     esac
9736
9737     if test "$ld_shlibs" = no; then
9738       runpath_var=
9739       hardcode_libdir_flag_spec=
9740       export_dynamic_flag_spec=
9741       whole_archive_flag_spec=
9742     fi
9743   else
9744     # PORTME fill in a description of your system's linker (not GNU ld)
9745     case $host_os in
9746     aix3*)
9747       allow_undefined_flag=unsupported
9748       always_export_symbols=yes
9749       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'
9750       # Note: this linker hardcodes the directories in LIBPATH if there
9751       # are no directories specified by -L.
9752       hardcode_minus_L=yes
9753       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9754         # Neither direct hardcoding nor static linking is supported with a
9755         # broken collect2.
9756         hardcode_direct=unsupported
9757       fi
9758       ;;
9759
9760     aix[4-9]*)
9761       if test "$host_cpu" = ia64; then
9762         # On IA64, the linker does run time linking by default, so we don't
9763         # have to do anything special.
9764         aix_use_runtimelinking=no
9765         exp_sym_flag='-Bexport'
9766         no_entry_flag=""
9767       else
9768         # If we're using GNU nm, then we don't want the "-C" option.
9769         # -C means demangle to AIX nm, but means don't demangle with GNU nm
9770         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9771           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'
9772         else
9773           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'
9774         fi
9775         aix_use_runtimelinking=no
9776
9777         # Test if we are trying to use run time linking or normal
9778         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9779         # need to do runtime linking.
9780         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9781           for ld_flag in $LDFLAGS; do
9782           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9783             aix_use_runtimelinking=yes
9784             break
9785           fi
9786           done
9787           ;;
9788         esac
9789
9790         exp_sym_flag='-bexport'
9791         no_entry_flag='-bnoentry'
9792       fi
9793
9794       # When large executables or shared objects are built, AIX ld can
9795       # have problems creating the table of contents.  If linking a library
9796       # or program results in "error TOC overflow" add -mminimal-toc to
9797       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9798       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9799
9800       archive_cmds=''
9801       hardcode_direct=yes
9802       hardcode_direct_absolute=yes
9803       hardcode_libdir_separator=':'
9804       link_all_deplibs=yes
9805       file_list_spec='${wl}-f,'
9806
9807       if test "$GCC" = yes; then
9808         case $host_os in aix4.[012]|aix4.[012].*)
9809         # We only want to do this on AIX 4.2 and lower, the check
9810         # below for broken collect2 doesn't work under 4.3+
9811           collect2name=`${CC} -print-prog-name=collect2`
9812           if test -f "$collect2name" &&
9813            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9814           then
9815           # We have reworked collect2
9816           :
9817           else
9818           # We have old collect2
9819           hardcode_direct=unsupported
9820           # It fails to find uninstalled libraries when the uninstalled
9821           # path is not listed in the libpath.  Setting hardcode_minus_L
9822           # to unsupported forces relinking
9823           hardcode_minus_L=yes
9824           hardcode_libdir_flag_spec='-L$libdir'
9825           hardcode_libdir_separator=
9826           fi
9827           ;;
9828         esac
9829         shared_flag='-shared'
9830         if test "$aix_use_runtimelinking" = yes; then
9831           shared_flag="$shared_flag "'${wl}-G'
9832         fi
9833       else
9834         # not using gcc
9835         if test "$host_cpu" = ia64; then
9836         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9837         # chokes on -Wl,-G. The following line is correct:
9838           shared_flag='-G'
9839         else
9840           if test "$aix_use_runtimelinking" = yes; then
9841             shared_flag='${wl}-G'
9842           else
9843             shared_flag='${wl}-bM:SRE'
9844           fi
9845         fi
9846       fi
9847
9848       export_dynamic_flag_spec='${wl}-bexpall'
9849       # It seems that -bexpall does not export symbols beginning with
9850       # underscore (_), so it is better to generate a list of symbols to export.
9851       always_export_symbols=yes
9852       if test "$aix_use_runtimelinking" = yes; then
9853         # Warning - without using the other runtime loading flags (-brtl),
9854         # -berok will link without error, but may produce a broken library.
9855         allow_undefined_flag='-berok'
9856         # Determine the default libpath from the value encoded in an
9857         # empty executable.
9858         if test x$gcc_no_link = xyes; then
9859   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9860 fi
9861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9862 /* end confdefs.h.  */
9863
9864 int
9865 main ()
9866 {
9867
9868   ;
9869   return 0;
9870 }
9871 _ACEOF
9872 if ac_fn_c_try_link "$LINENO"; then :
9873
9874 lt_aix_libpath_sed='
9875     /Import File Strings/,/^$/ {
9876         /^0/ {
9877             s/^0  *\(.*\)$/\1/
9878             p
9879         }
9880     }'
9881 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9882 # Check for a 64-bit object if we didn't find anything.
9883 if test -z "$aix_libpath"; then
9884   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9885 fi
9886 fi
9887 rm -f core conftest.err conftest.$ac_objext \
9888     conftest$ac_exeext conftest.$ac_ext
9889 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9890
9891         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9892         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"
9893       else
9894         if test "$host_cpu" = ia64; then
9895           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9896           allow_undefined_flag="-z nodefs"
9897           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"
9898         else
9899          # Determine the default libpath from the value encoded in an
9900          # empty executable.
9901          if test x$gcc_no_link = xyes; then
9902   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9903 fi
9904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9905 /* end confdefs.h.  */
9906
9907 int
9908 main ()
9909 {
9910
9911   ;
9912   return 0;
9913 }
9914 _ACEOF
9915 if ac_fn_c_try_link "$LINENO"; then :
9916
9917 lt_aix_libpath_sed='
9918     /Import File Strings/,/^$/ {
9919         /^0/ {
9920             s/^0  *\(.*\)$/\1/
9921             p
9922         }
9923     }'
9924 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9925 # Check for a 64-bit object if we didn't find anything.
9926 if test -z "$aix_libpath"; then
9927   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9928 fi
9929 fi
9930 rm -f core conftest.err conftest.$ac_objext \
9931     conftest$ac_exeext conftest.$ac_ext
9932 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9933
9934          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9935           # Warning - without using the other run time loading flags,
9936           # -berok will link without error, but may produce a broken library.
9937           no_undefined_flag=' ${wl}-bernotok'
9938           allow_undefined_flag=' ${wl}-berok'
9939           # Exported symbols can be pulled into shared objects from archives
9940           whole_archive_flag_spec='$convenience'
9941           archive_cmds_need_lc=yes
9942           # This is similar to how AIX traditionally builds its shared libraries.
9943           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'
9944         fi
9945       fi
9946       ;;
9947
9948     amigaos*)
9949       case $host_cpu in
9950       powerpc)
9951             # see comment about AmigaOS4 .so support
9952             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9953             archive_expsym_cmds=''
9954         ;;
9955       m68k)
9956             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)'
9957             hardcode_libdir_flag_spec='-L$libdir'
9958             hardcode_minus_L=yes
9959         ;;
9960       esac
9961       ;;
9962
9963     bsdi[45]*)
9964       export_dynamic_flag_spec=-rdynamic
9965       ;;
9966
9967     cygwin* | mingw* | pw32* | cegcc*)
9968       # When not using gcc, we currently assume that we are using
9969       # Microsoft Visual C++.
9970       # hardcode_libdir_flag_spec is actually meaningless, as there is
9971       # no search path for DLLs.
9972       hardcode_libdir_flag_spec=' '
9973       allow_undefined_flag=unsupported
9974       # Tell ltmain to make .lib files, not .a files.
9975       libext=lib
9976       # Tell ltmain to make .dll files, not .so files.
9977       shrext_cmds=".dll"
9978       # FIXME: Setting linknames here is a bad hack.
9979       archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9980       # The linker will automatically build a .lib file if we build a DLL.
9981       old_archive_from_new_cmds='true'
9982       # FIXME: Should let the user specify the lib program.
9983       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9984       fix_srcfile_path='`cygpath -w "$srcfile"`'
9985       enable_shared_with_static_runtimes=yes
9986       ;;
9987
9988     darwin* | rhapsody*)
9989
9990
9991   archive_cmds_need_lc=no
9992   hardcode_direct=no
9993   hardcode_automatic=yes
9994   hardcode_shlibpath_var=unsupported
9995   whole_archive_flag_spec=''
9996   link_all_deplibs=yes
9997   allow_undefined_flag="$_lt_dar_allow_undefined"
9998   case $cc_basename in
9999      ifort*) _lt_dar_can_shared=yes ;;
10000      *) _lt_dar_can_shared=$GCC ;;
10001   esac
10002   if test "$_lt_dar_can_shared" = "yes"; then
10003     output_verbose_link_cmd=echo
10004     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10005     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10006     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 ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
10007     module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
10008
10009   else
10010   ld_shlibs=no
10011   fi
10012
10013       ;;
10014
10015     dgux*)
10016       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10017       hardcode_libdir_flag_spec='-L$libdir'
10018       hardcode_shlibpath_var=no
10019       ;;
10020
10021     freebsd1*)
10022       ld_shlibs=no
10023       ;;
10024
10025     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10026     # support.  Future versions do this automatically, but an explicit c++rt0.o
10027     # does not break anything, and helps significantly (at the cost of a little
10028     # extra space).
10029     freebsd2.2*)
10030       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10031       hardcode_libdir_flag_spec='-R$libdir'
10032       hardcode_direct=yes
10033       hardcode_shlibpath_var=no
10034       ;;
10035
10036     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10037     freebsd2*)
10038       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10039       hardcode_direct=yes
10040       hardcode_minus_L=yes
10041       hardcode_shlibpath_var=no
10042       ;;
10043
10044     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10045     freebsd* | dragonfly*)
10046       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10047       hardcode_libdir_flag_spec='-R$libdir'
10048       hardcode_direct=yes
10049       hardcode_shlibpath_var=no
10050       ;;
10051
10052     hpux9*)
10053       if test "$GCC" = yes; then
10054         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'
10055       else
10056         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'
10057       fi
10058       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10059       hardcode_libdir_separator=:
10060       hardcode_direct=yes
10061
10062       # hardcode_minus_L: Not really in the search PATH,
10063       # but as the default location of the library.
10064       hardcode_minus_L=yes
10065       export_dynamic_flag_spec='${wl}-E'
10066       ;;
10067
10068     hpux10*)
10069       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
10070         archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10071       else
10072         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10073       fi
10074       if test "$with_gnu_ld" = no; then
10075         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10076         hardcode_libdir_flag_spec_ld='+b $libdir'
10077         hardcode_libdir_separator=:
10078         hardcode_direct=yes
10079         hardcode_direct_absolute=yes
10080         export_dynamic_flag_spec='${wl}-E'
10081         # hardcode_minus_L: Not really in the search PATH,
10082         # but as the default location of the library.
10083         hardcode_minus_L=yes
10084       fi
10085       ;;
10086
10087     hpux11*)
10088       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
10089         case $host_cpu in
10090         hppa*64*)
10091           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10092           ;;
10093         ia64*)
10094           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10095           ;;
10096         *)
10097           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10098           ;;
10099         esac
10100       else
10101         case $host_cpu in
10102         hppa*64*)
10103           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10104           ;;
10105         ia64*)
10106           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10107           ;;
10108         *)
10109           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10110           ;;
10111         esac
10112       fi
10113       if test "$with_gnu_ld" = no; then
10114         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10115         hardcode_libdir_separator=:
10116
10117         case $host_cpu in
10118         hppa*64*|ia64*)
10119           hardcode_direct=no
10120           hardcode_shlibpath_var=no
10121           ;;
10122         *)
10123           hardcode_direct=yes
10124           hardcode_direct_absolute=yes
10125           export_dynamic_flag_spec='${wl}-E'
10126
10127           # hardcode_minus_L: Not really in the search PATH,
10128           # but as the default location of the library.
10129           hardcode_minus_L=yes
10130           ;;
10131         esac
10132       fi
10133       ;;
10134
10135     irix5* | irix6* | nonstopux*)
10136       if test "$GCC" = yes; then
10137         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'
10138         # Try to use the -exported_symbol ld option, if it does not
10139         # work, assume that -exports_file does not work either and
10140         # implicitly export all symbols.
10141         save_LDFLAGS="$LDFLAGS"
10142         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10143         if test x$gcc_no_link = xyes; then
10144   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10145 fi
10146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10147 /* end confdefs.h.  */
10148 int foo(void) {}
10149 _ACEOF
10150 if ac_fn_c_try_link "$LINENO"; then :
10151   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'
10152
10153 fi
10154 rm -f core conftest.err conftest.$ac_objext \
10155     conftest$ac_exeext conftest.$ac_ext
10156         LDFLAGS="$save_LDFLAGS"
10157       else
10158         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'
10159         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'
10160       fi
10161       archive_cmds_need_lc='no'
10162       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10163       hardcode_libdir_separator=:
10164       inherit_rpath=yes
10165       link_all_deplibs=yes
10166       ;;
10167
10168     netbsd*)
10169       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10170         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10171       else
10172         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
10173       fi
10174       hardcode_libdir_flag_spec='-R$libdir'
10175       hardcode_direct=yes
10176       hardcode_shlibpath_var=no
10177       ;;
10178
10179     newsos6)
10180       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10181       hardcode_direct=yes
10182       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10183       hardcode_libdir_separator=:
10184       hardcode_shlibpath_var=no
10185       ;;
10186
10187     *nto* | *qnx*)
10188       ;;
10189
10190     openbsd*)
10191       if test -f /usr/libexec/ld.so; then
10192         hardcode_direct=yes
10193         hardcode_shlibpath_var=no
10194         hardcode_direct_absolute=yes
10195         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10196           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10197           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10198           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10199           export_dynamic_flag_spec='${wl}-E'
10200         else
10201           case $host_os in
10202            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10203              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10204              hardcode_libdir_flag_spec='-R$libdir'
10205              ;;
10206            *)
10207              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10208              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10209              ;;
10210           esac
10211         fi
10212       else
10213         ld_shlibs=no
10214       fi
10215       ;;
10216
10217     os2*)
10218       hardcode_libdir_flag_spec='-L$libdir'
10219       hardcode_minus_L=yes
10220       allow_undefined_flag=unsupported
10221       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'
10222       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10223       ;;
10224
10225     osf3*)
10226       if test "$GCC" = yes; then
10227         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10228         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'
10229       else
10230         allow_undefined_flag=' -expect_unresolved \*'
10231         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'
10232       fi
10233       archive_cmds_need_lc='no'
10234       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10235       hardcode_libdir_separator=:
10236       ;;
10237
10238     osf4* | osf5*)      # as osf3* with the addition of -msym flag
10239       if test "$GCC" = yes; then
10240         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10241         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'
10242         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10243       else
10244         allow_undefined_flag=' -expect_unresolved \*'
10245         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'
10246         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~
10247         $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'
10248
10249         # Both c and cxx compiler support -rpath directly
10250         hardcode_libdir_flag_spec='-rpath $libdir'
10251       fi
10252       archive_cmds_need_lc='no'
10253       hardcode_libdir_separator=:
10254       ;;
10255
10256     solaris*)
10257       no_undefined_flag=' -z defs'
10258       if test "$GCC" = yes; then
10259         wlarc='${wl}'
10260         archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10261         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10262           $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10263       else
10264         case `$CC -V 2>&1` in
10265         *"Compilers 5.0"*)
10266           wlarc=''
10267           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10268           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10269           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10270           ;;
10271         *)
10272           wlarc='${wl}'
10273           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10274           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10275           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10276           ;;
10277         esac
10278       fi
10279       hardcode_libdir_flag_spec='-R$libdir'
10280       hardcode_shlibpath_var=no
10281       case $host_os in
10282       solaris2.[0-5] | solaris2.[0-5].*) ;;
10283       *)
10284         # The compiler driver will combine and reorder linker options,
10285         # but understands `-z linker_flag'.  GCC discards it without `$wl',
10286         # but is careful enough not to reorder.
10287         # Supported since Solaris 2.6 (maybe 2.5.1?)
10288         if test "$GCC" = yes; then
10289           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10290         else
10291           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10292         fi
10293         ;;
10294       esac
10295       link_all_deplibs=yes
10296       ;;
10297
10298     sunos4*)
10299       if test "x$host_vendor" = xsequent; then
10300         # Use $CC to link under sequent, because it throws in some extra .o
10301         # files that make .init and .fini sections work.
10302         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10303       else
10304         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10305       fi
10306       hardcode_libdir_flag_spec='-L$libdir'
10307       hardcode_direct=yes
10308       hardcode_minus_L=yes
10309       hardcode_shlibpath_var=no
10310       ;;
10311
10312     sysv4)
10313       case $host_vendor in
10314         sni)
10315           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10316           hardcode_direct=yes # is this really true???
10317         ;;
10318         siemens)
10319           ## LD is ld it makes a PLAMLIB
10320           ## CC just makes a GrossModule.
10321           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10322           reload_cmds='$CC -r -o $output$reload_objs'
10323           hardcode_direct=no
10324         ;;
10325         motorola)
10326           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10327           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10328         ;;
10329       esac
10330       runpath_var='LD_RUN_PATH'
10331       hardcode_shlibpath_var=no
10332       ;;
10333
10334     sysv4.3*)
10335       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10336       hardcode_shlibpath_var=no
10337       export_dynamic_flag_spec='-Bexport'
10338       ;;
10339
10340     sysv4*MP*)
10341       if test -d /usr/nec; then
10342         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10343         hardcode_shlibpath_var=no
10344         runpath_var=LD_RUN_PATH
10345         hardcode_runpath_var=yes
10346         ld_shlibs=yes
10347       fi
10348       ;;
10349
10350     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10351       no_undefined_flag='${wl}-z,text'
10352       archive_cmds_need_lc=no
10353       hardcode_shlibpath_var=no
10354       runpath_var='LD_RUN_PATH'
10355
10356       if test "$GCC" = yes; then
10357         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10358         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10359       else
10360         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10361         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10362       fi
10363       ;;
10364
10365     sysv5* | sco3.2v5* | sco5v6*)
10366       # Note: We can NOT use -z defs as we might desire, because we do not
10367       # link with -lc, and that would cause any symbols used from libc to
10368       # always be unresolved, which means just about no library would
10369       # ever link correctly.  If we're not using GNU ld we use -z text
10370       # though, which does catch some bad symbols but isn't as heavy-handed
10371       # as -z defs.
10372       no_undefined_flag='${wl}-z,text'
10373       allow_undefined_flag='${wl}-z,nodefs'
10374       archive_cmds_need_lc=no
10375       hardcode_shlibpath_var=no
10376       hardcode_libdir_flag_spec='${wl}-R,$libdir'
10377       hardcode_libdir_separator=':'
10378       link_all_deplibs=yes
10379       export_dynamic_flag_spec='${wl}-Bexport'
10380       runpath_var='LD_RUN_PATH'
10381
10382       if test "$GCC" = yes; then
10383         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10384         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10385       else
10386         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10387         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10388       fi
10389       ;;
10390
10391     uts4*)
10392       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10393       hardcode_libdir_flag_spec='-L$libdir'
10394       hardcode_shlibpath_var=no
10395       ;;
10396
10397     *)
10398       ld_shlibs=no
10399       ;;
10400     esac
10401
10402     if test x$host_vendor = xsni; then
10403       case $host in
10404       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10405         export_dynamic_flag_spec='${wl}-Blargedynsym'
10406         ;;
10407       esac
10408     fi
10409   fi
10410
10411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10412 $as_echo "$ld_shlibs" >&6; }
10413 test "$ld_shlibs" = no && can_build_shared=no
10414
10415 with_gnu_ld=$with_gnu_ld
10416
10417
10418
10419
10420
10421
10422
10423
10424
10425
10426
10427
10428
10429
10430
10431 #
10432 # Do we need to explicitly link libc?
10433 #
10434 case "x$archive_cmds_need_lc" in
10435 x|xyes)
10436   # Assume -lc should be added
10437   archive_cmds_need_lc=yes
10438
10439   if test "$enable_shared" = yes && test "$GCC" = yes; then
10440     case $archive_cmds in
10441     *'~'*)
10442       # FIXME: we may have to deal with multi-command sequences.
10443       ;;
10444     '$CC '*)
10445       # Test whether the compiler implicitly links with -lc since on some
10446       # systems, -lgcc has to come before -lc. If gcc already passes -lc
10447       # to ld, don't add -lc before -lgcc.
10448       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10449 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10450 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10451   $as_echo_n "(cached) " >&6
10452 else
10453   $RM conftest*
10454         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10455
10456         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10457   (eval $ac_compile) 2>&5
10458   ac_status=$?
10459   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10460   test $ac_status = 0; } 2>conftest.err; then
10461           soname=conftest
10462           lib=conftest
10463           libobjs=conftest.$ac_objext
10464           deplibs=
10465           wl=$lt_prog_compiler_wl
10466           pic_flag=$lt_prog_compiler_pic
10467           compiler_flags=-v
10468           linker_flags=-v
10469           verstring=
10470           output_objdir=.
10471           libname=conftest
10472           lt_save_allow_undefined_flag=$allow_undefined_flag
10473           allow_undefined_flag=
10474           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10475   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10476   ac_status=$?
10477   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10478   test $ac_status = 0; }
10479           then
10480             lt_cv_archive_cmds_need_lc=no
10481           else
10482             lt_cv_archive_cmds_need_lc=yes
10483           fi
10484           allow_undefined_flag=$lt_save_allow_undefined_flag
10485         else
10486           cat conftest.err 1>&5
10487         fi
10488         $RM conftest*
10489
10490 fi
10491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10492 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10493       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10494       ;;
10495     esac
10496   fi
10497   ;;
10498 esac
10499
10500
10501
10502
10503
10504
10505
10506
10507
10508
10509
10510
10511
10512
10513
10514
10515
10516
10517
10518
10519
10520
10521
10522
10523
10524
10525
10526
10527
10528
10529
10530
10531
10532
10533
10534
10535
10536
10537
10538
10539
10540
10541
10542
10543
10544
10545
10546
10547
10548
10549
10550
10551
10552
10553
10554
10555
10556
10557
10558
10559
10560
10561
10562
10563
10564
10565
10566
10567
10568
10569
10570
10571
10572
10573
10574
10575
10576
10577
10578
10579
10580
10581
10582
10583
10584
10585
10586
10587
10588
10589
10590
10591
10592
10593
10594
10595
10596
10597
10598
10599
10600
10601
10602
10603
10604
10605
10606
10607
10608
10609
10610
10611
10612
10613
10614
10615
10616
10617
10618
10619
10620
10621
10622
10623
10624
10625
10626
10627
10628
10629
10630
10631
10632
10633
10634
10635
10636
10637
10638
10639
10640
10641
10642
10643
10644
10645
10646
10647
10648
10649
10650
10651
10652
10653
10654
10655
10656   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10657 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10658
10659 if test "$GCC" = yes; then
10660   case $host_os in
10661     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10662     *) lt_awk_arg="/^libraries:/" ;;
10663   esac
10664   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10665   if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
10666     # if the path contains ";" then we assume it to be the separator
10667     # otherwise default to the standard path separator (i.e. ":") - it is
10668     # assumed that no part of a normal pathname contains ";" but that should
10669     # okay in the real world where ";" in dirpaths is itself problematic.
10670     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10671   else
10672     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
10673   fi
10674   # Ok, now we have the path, separated by spaces, we can step through it
10675   # and add multilib dir if necessary.
10676   lt_tmp_lt_search_path_spec=
10677   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10678   for lt_sys_path in $lt_search_path_spec; do
10679     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10680       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10681     else
10682       test -d "$lt_sys_path" && \
10683         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10684     fi
10685   done
10686   lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10687 BEGIN {RS=" "; FS="/|\n";} {
10688   lt_foo="";
10689   lt_count=0;
10690   for (lt_i = NF; lt_i > 0; lt_i--) {
10691     if ($lt_i != "" && $lt_i != ".") {
10692       if ($lt_i == "..") {
10693         lt_count++;
10694       } else {
10695         if (lt_count == 0) {
10696           lt_foo="/" $lt_i lt_foo;
10697         } else {
10698           lt_count--;
10699         }
10700       }
10701     }
10702   }
10703   if (lt_foo != "") { lt_freq[lt_foo]++; }
10704   if (lt_freq[lt_foo] == 1) { print lt_foo; }
10705 }'`
10706   sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
10707 else
10708   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10709 fi
10710 library_names_spec=
10711 libname_spec='lib$name'
10712 soname_spec=
10713 shrext_cmds=".so"
10714 postinstall_cmds=
10715 postuninstall_cmds=
10716 finish_cmds=
10717 finish_eval=
10718 shlibpath_var=
10719 shlibpath_overrides_runpath=unknown
10720 version_type=none
10721 dynamic_linker="$host_os ld.so"
10722 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10723 need_lib_prefix=unknown
10724 hardcode_into_libs=no
10725
10726 # when you set need_version to no, make sure it does not cause -set_version
10727 # flags to be left without arguments
10728 need_version=unknown
10729
10730 case $host_os in
10731 aix3*)
10732   version_type=linux
10733   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10734   shlibpath_var=LIBPATH
10735
10736   # AIX 3 has no versioning support, so we append a major version to the name.
10737   soname_spec='${libname}${release}${shared_ext}$major'
10738   ;;
10739
10740 aix[4-9]*)
10741   version_type=linux
10742   need_lib_prefix=no
10743   need_version=no
10744   hardcode_into_libs=yes
10745   if test "$host_cpu" = ia64; then
10746     # AIX 5 supports IA64
10747     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10748     shlibpath_var=LD_LIBRARY_PATH
10749   else
10750     # With GCC up to 2.95.x, collect2 would create an import file
10751     # for dependence libraries.  The import file would start with
10752     # the line `#! .'.  This would cause the generated library to
10753     # depend on `.', always an invalid library.  This was fixed in
10754     # development snapshots of GCC prior to 3.0.
10755     case $host_os in
10756       aix4 | aix4.[01] | aix4.[01].*)
10757       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10758            echo ' yes '
10759            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10760         :
10761       else
10762         can_build_shared=no
10763       fi
10764       ;;
10765     esac
10766     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10767     # soname into executable. Probably we can add versioning support to
10768     # collect2, so additional links can be useful in future.
10769     if test "$aix_use_runtimelinking" = yes; then
10770       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10771       # instead of lib<name>.a to let people know that these are not
10772       # typical AIX shared libraries.
10773       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10774     else
10775       # We preserve .a as extension for shared libraries through AIX4.2
10776       # and later when we are not doing run time linking.
10777       library_names_spec='${libname}${release}.a $libname.a'
10778       soname_spec='${libname}${release}${shared_ext}$major'
10779     fi
10780     shlibpath_var=LIBPATH
10781   fi
10782   ;;
10783
10784 amigaos*)
10785   case $host_cpu in
10786   powerpc)
10787     # Since July 2007 AmigaOS4 officially supports .so libraries.
10788     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10789     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10790     ;;
10791   m68k)
10792     library_names_spec='$libname.ixlibrary $libname.a'
10793     # Create ${libname}_ixlibrary.a entries in /sys/libs.
10794     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'
10795     ;;
10796   esac
10797   ;;
10798
10799 beos*)
10800   library_names_spec='${libname}${shared_ext}'
10801   dynamic_linker="$host_os ld.so"
10802   shlibpath_var=LIBRARY_PATH
10803   ;;
10804
10805 bsdi[45]*)
10806   version_type=linux
10807   need_version=no
10808   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10809   soname_spec='${libname}${release}${shared_ext}$major'
10810   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10811   shlibpath_var=LD_LIBRARY_PATH
10812   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10813   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10814   # the default ld.so.conf also contains /usr/contrib/lib and
10815   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10816   # libtool to hard-code these into programs
10817   ;;
10818
10819 cygwin* | mingw* | pw32* | cegcc*)
10820   version_type=windows
10821   shrext_cmds=".dll"
10822   need_version=no
10823   need_lib_prefix=no
10824
10825   case $GCC,$host_os in
10826   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10827     library_names_spec='$libname.dll.a'
10828     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10829     postinstall_cmds='base_file=`basename \${file}`~
10830       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10831       dldir=$destdir/`dirname \$dlpath`~
10832       test -d \$dldir || mkdir -p \$dldir~
10833       $install_prog $dir/$dlname \$dldir/$dlname~
10834       chmod a+x \$dldir/$dlname~
10835       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10836         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10837       fi'
10838     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10839       dlpath=$dir/\$dldll~
10840        $RM \$dlpath'
10841     shlibpath_overrides_runpath=yes
10842
10843     case $host_os in
10844     cygwin*)
10845       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10846       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10847       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
10848       ;;
10849     mingw* | cegcc*)
10850       # MinGW DLLs use traditional 'lib' prefix
10851       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10852       sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10853       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10854         # It is most probably a Windows format PATH printed by
10855         # mingw gcc, but we are running on Cygwin. Gcc prints its search
10856         # path with ; separators, and with drive letters. We can handle the
10857         # drive letters (cygwin fileutils understands them), so leave them,
10858         # especially as we might pass files found there to a mingw objdump,
10859         # which wouldn't understand a cygwinified path. Ahh.
10860         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10861       else
10862         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
10863       fi
10864       ;;
10865     pw32*)
10866       # pw32 DLLs use 'pw' prefix rather than 'lib'
10867       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10868       ;;
10869     esac
10870     ;;
10871
10872   *)
10873     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10874     ;;
10875   esac
10876   dynamic_linker='Win32 ld.exe'
10877   # FIXME: first we should search . and the directory the executable is in
10878   shlibpath_var=PATH
10879   ;;
10880
10881 darwin* | rhapsody*)
10882   dynamic_linker="$host_os dyld"
10883   version_type=darwin
10884   need_lib_prefix=no
10885   need_version=no
10886   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10887   soname_spec='${libname}${release}${major}$shared_ext'
10888   shlibpath_overrides_runpath=yes
10889   shlibpath_var=DYLD_LIBRARY_PATH
10890   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10891
10892   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10893   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10894   ;;
10895
10896 dgux*)
10897   version_type=linux
10898   need_lib_prefix=no
10899   need_version=no
10900   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10901   soname_spec='${libname}${release}${shared_ext}$major'
10902   shlibpath_var=LD_LIBRARY_PATH
10903   ;;
10904
10905 freebsd1*)
10906   dynamic_linker=no
10907   ;;
10908
10909 freebsd* | dragonfly*)
10910   # DragonFly does not have aout.  When/if they implement a new
10911   # versioning mechanism, adjust this.
10912   if test -x /usr/bin/objformat; then
10913     objformat=`/usr/bin/objformat`
10914   else
10915     case $host_os in
10916     freebsd[123]*) objformat=aout ;;
10917     *) objformat=elf ;;
10918     esac
10919   fi
10920   version_type=freebsd-$objformat
10921   case $version_type in
10922     freebsd-elf*)
10923       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10924       need_version=no
10925       need_lib_prefix=no
10926       ;;
10927     freebsd-*)
10928       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10929       need_version=yes
10930       ;;
10931   esac
10932   shlibpath_var=LD_LIBRARY_PATH
10933   case $host_os in
10934   freebsd2*)
10935     shlibpath_overrides_runpath=yes
10936     ;;
10937   freebsd3.[01]* | freebsdelf3.[01]*)
10938     shlibpath_overrides_runpath=yes
10939     hardcode_into_libs=yes
10940     ;;
10941   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10942   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10943     shlibpath_overrides_runpath=no
10944     hardcode_into_libs=yes
10945     ;;
10946   *) # from 4.6 on, and DragonFly
10947     shlibpath_overrides_runpath=yes
10948     hardcode_into_libs=yes
10949     ;;
10950   esac
10951   ;;
10952
10953 gnu*)
10954   version_type=linux
10955   need_lib_prefix=no
10956   need_version=no
10957   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10958   soname_spec='${libname}${release}${shared_ext}$major'
10959   shlibpath_var=LD_LIBRARY_PATH
10960   hardcode_into_libs=yes
10961   ;;
10962
10963 hpux9* | hpux10* | hpux11*)
10964   # Give a soname corresponding to the major version so that dld.sl refuses to
10965   # link against other versions.
10966   version_type=sunos
10967   need_lib_prefix=no
10968   need_version=no
10969   case $host_cpu in
10970   ia64*)
10971     shrext_cmds='.so'
10972     hardcode_into_libs=yes
10973     dynamic_linker="$host_os dld.so"
10974     shlibpath_var=LD_LIBRARY_PATH
10975     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10976     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10977     soname_spec='${libname}${release}${shared_ext}$major'
10978     if test "X$HPUX_IA64_MODE" = X32; then
10979       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10980     else
10981       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10982     fi
10983     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10984     ;;
10985   hppa*64*)
10986     shrext_cmds='.sl'
10987     hardcode_into_libs=yes
10988     dynamic_linker="$host_os dld.sl"
10989     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10990     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10991     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10992     soname_spec='${libname}${release}${shared_ext}$major'
10993     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10994     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10995     ;;
10996   *)
10997     shrext_cmds='.sl'
10998     dynamic_linker="$host_os dld.sl"
10999     shlibpath_var=SHLIB_PATH
11000     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11001     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11002     soname_spec='${libname}${release}${shared_ext}$major'
11003     ;;
11004   esac
11005   # HP-UX runs *really* slowly unless shared libraries are mode 555.
11006   postinstall_cmds='chmod 555 $lib'
11007   ;;
11008
11009 interix[3-9]*)
11010   version_type=linux
11011   need_lib_prefix=no
11012   need_version=no
11013   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11014   soname_spec='${libname}${release}${shared_ext}$major'
11015   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11016   shlibpath_var=LD_LIBRARY_PATH
11017   shlibpath_overrides_runpath=no
11018   hardcode_into_libs=yes
11019   ;;
11020
11021 irix5* | irix6* | nonstopux*)
11022   case $host_os in
11023     nonstopux*) version_type=nonstopux ;;
11024     *)
11025         if test "$lt_cv_prog_gnu_ld" = yes; then
11026                 version_type=linux
11027         else
11028                 version_type=irix
11029         fi ;;
11030   esac
11031   need_lib_prefix=no
11032   need_version=no
11033   soname_spec='${libname}${release}${shared_ext}$major'
11034   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11035   case $host_os in
11036   irix5* | nonstopux*)
11037     libsuff= shlibsuff=
11038     ;;
11039   *)
11040     case $LD in # libtool.m4 will add one of these switches to LD
11041     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11042       libsuff= shlibsuff= libmagic=32-bit;;
11043     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11044       libsuff=32 shlibsuff=N32 libmagic=N32;;
11045     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11046       libsuff=64 shlibsuff=64 libmagic=64-bit;;
11047     *) libsuff= shlibsuff= libmagic=never-match;;
11048     esac
11049     ;;
11050   esac
11051   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11052   shlibpath_overrides_runpath=no
11053   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11054   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11055   hardcode_into_libs=yes
11056   ;;
11057
11058 # No shared lib support for Linux oldld, aout, or coff.
11059 linux*oldld* | linux*aout* | linux*coff*)
11060   dynamic_linker=no
11061   ;;
11062
11063 # This must be Linux ELF.
11064 linux* | k*bsd*-gnu | kopensolaris*-gnu)
11065   version_type=linux
11066   need_lib_prefix=no
11067   need_version=no
11068   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11069   soname_spec='${libname}${release}${shared_ext}$major'
11070   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11071   shlibpath_var=LD_LIBRARY_PATH
11072   shlibpath_overrides_runpath=no
11073
11074   # Some binutils ld are patched to set DT_RUNPATH
11075   if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
11076   $as_echo_n "(cached) " >&6
11077 else
11078   lt_cv_shlibpath_overrides_runpath=no
11079     save_LDFLAGS=$LDFLAGS
11080     save_libdir=$libdir
11081     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11082          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11083     if test x$gcc_no_link = xyes; then
11084   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11085 fi
11086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11087 /* end confdefs.h.  */
11088
11089 int
11090 main ()
11091 {
11092
11093   ;
11094   return 0;
11095 }
11096 _ACEOF
11097 if ac_fn_c_try_link "$LINENO"; then :
11098   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11099   lt_cv_shlibpath_overrides_runpath=yes
11100 fi
11101 fi
11102 rm -f core conftest.err conftest.$ac_objext \
11103     conftest$ac_exeext conftest.$ac_ext
11104     LDFLAGS=$save_LDFLAGS
11105     libdir=$save_libdir
11106
11107 fi
11108
11109   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11110
11111   # This implies no fast_install, which is unacceptable.
11112   # Some rework will be needed to allow for fast_install
11113   # before this can be enabled.
11114   hardcode_into_libs=yes
11115
11116   # Append ld.so.conf contents to the search path
11117   if test -f /etc/ld.so.conf; then
11118     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/#.*//;/^[       ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
11119     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11120   fi
11121
11122   # We used to test for /lib/ld.so.1 and disable shared libraries on
11123   # powerpc, because MkLinux only supported shared libraries with the
11124   # GNU dynamic linker.  Since this was broken with cross compilers,
11125   # most powerpc-linux boxes support dynamic linking these days and
11126   # people can always --disable-shared, the test was removed, and we
11127   # assume the GNU/Linux dynamic linker is in use.
11128   dynamic_linker='GNU/Linux ld.so'
11129   ;;
11130
11131 netbsd*)
11132   version_type=sunos
11133   need_lib_prefix=no
11134   need_version=no
11135   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11136     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11137     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11138     dynamic_linker='NetBSD (a.out) ld.so'
11139   else
11140     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11141     soname_spec='${libname}${release}${shared_ext}$major'
11142     dynamic_linker='NetBSD ld.elf_so'
11143   fi
11144   shlibpath_var=LD_LIBRARY_PATH
11145   shlibpath_overrides_runpath=yes
11146   hardcode_into_libs=yes
11147   ;;
11148
11149 newsos6)
11150   version_type=linux
11151   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11152   shlibpath_var=LD_LIBRARY_PATH
11153   shlibpath_overrides_runpath=yes
11154   ;;
11155
11156 *nto* | *qnx*)
11157   version_type=qnx
11158   need_lib_prefix=no
11159   need_version=no
11160   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11161   soname_spec='${libname}${release}${shared_ext}$major'
11162   shlibpath_var=LD_LIBRARY_PATH
11163   shlibpath_overrides_runpath=no
11164   hardcode_into_libs=yes
11165   dynamic_linker='ldqnx.so'
11166   ;;
11167
11168 openbsd*)
11169   version_type=sunos
11170   sys_lib_dlsearch_path_spec="/usr/lib"
11171   need_lib_prefix=no
11172   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11173   case $host_os in
11174     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
11175     *)                          need_version=no  ;;
11176   esac
11177   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11178   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11179   shlibpath_var=LD_LIBRARY_PATH
11180   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11181     case $host_os in
11182       openbsd2.[89] | openbsd2.[89].*)
11183         shlibpath_overrides_runpath=no
11184         ;;
11185       *)
11186         shlibpath_overrides_runpath=yes
11187         ;;
11188       esac
11189   else
11190     shlibpath_overrides_runpath=yes
11191   fi
11192   ;;
11193
11194 os2*)
11195   libname_spec='$name'
11196   shrext_cmds=".dll"
11197   need_lib_prefix=no
11198   library_names_spec='$libname${shared_ext} $libname.a'
11199   dynamic_linker='OS/2 ld.exe'
11200   shlibpath_var=LIBPATH
11201   ;;
11202
11203 osf3* | osf4* | osf5*)
11204   version_type=osf
11205   need_lib_prefix=no
11206   need_version=no
11207   soname_spec='${libname}${release}${shared_ext}$major'
11208   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11209   shlibpath_var=LD_LIBRARY_PATH
11210   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11211   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11212   ;;
11213
11214 rdos*)
11215   dynamic_linker=no
11216   ;;
11217
11218 solaris*)
11219   version_type=linux
11220   need_lib_prefix=no
11221   need_version=no
11222   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11223   soname_spec='${libname}${release}${shared_ext}$major'
11224   shlibpath_var=LD_LIBRARY_PATH
11225   shlibpath_overrides_runpath=yes
11226   hardcode_into_libs=yes
11227   # ldd complains unless libraries are executable
11228   postinstall_cmds='chmod +x $lib'
11229   ;;
11230
11231 sunos4*)
11232   version_type=sunos
11233   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11234   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11235   shlibpath_var=LD_LIBRARY_PATH
11236   shlibpath_overrides_runpath=yes
11237   if test "$with_gnu_ld" = yes; then
11238     need_lib_prefix=no
11239   fi
11240   need_version=yes
11241   ;;
11242
11243 sysv4 | sysv4.3*)
11244   version_type=linux
11245   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11246   soname_spec='${libname}${release}${shared_ext}$major'
11247   shlibpath_var=LD_LIBRARY_PATH
11248   case $host_vendor in
11249     sni)
11250       shlibpath_overrides_runpath=no
11251       need_lib_prefix=no
11252       runpath_var=LD_RUN_PATH
11253       ;;
11254     siemens)
11255       need_lib_prefix=no
11256       ;;
11257     motorola)
11258       need_lib_prefix=no
11259       need_version=no
11260       shlibpath_overrides_runpath=no
11261       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11262       ;;
11263   esac
11264   ;;
11265
11266 sysv4*MP*)
11267   if test -d /usr/nec ;then
11268     version_type=linux
11269     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11270     soname_spec='$libname${shared_ext}.$major'
11271     shlibpath_var=LD_LIBRARY_PATH
11272   fi
11273   ;;
11274
11275 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11276   version_type=freebsd-elf
11277   need_lib_prefix=no
11278   need_version=no
11279   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11280   soname_spec='${libname}${release}${shared_ext}$major'
11281   shlibpath_var=LD_LIBRARY_PATH
11282   shlibpath_overrides_runpath=yes
11283   hardcode_into_libs=yes
11284   if test "$with_gnu_ld" = yes; then
11285     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11286   else
11287     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11288     case $host_os in
11289       sco3.2v5*)
11290         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11291         ;;
11292     esac
11293   fi
11294   sys_lib_dlsearch_path_spec='/usr/lib'
11295   ;;
11296
11297 tpf*)
11298   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11299   version_type=linux
11300   need_lib_prefix=no
11301   need_version=no
11302   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11303   shlibpath_var=LD_LIBRARY_PATH
11304   shlibpath_overrides_runpath=no
11305   hardcode_into_libs=yes
11306   ;;
11307
11308 uts4*)
11309   version_type=linux
11310   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11311   soname_spec='${libname}${release}${shared_ext}$major'
11312   shlibpath_var=LD_LIBRARY_PATH
11313   ;;
11314
11315 *)
11316   dynamic_linker=no
11317   ;;
11318 esac
11319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11320 $as_echo "$dynamic_linker" >&6; }
11321 test "$dynamic_linker" = no && can_build_shared=no
11322
11323 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11324 if test "$GCC" = yes; then
11325   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11326 fi
11327
11328 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11329   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11330 fi
11331 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11332   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11333 fi
11334
11335
11336
11337
11338
11339
11340
11341
11342
11343
11344
11345
11346
11347
11348
11349
11350
11351
11352
11353
11354
11355
11356
11357
11358
11359
11360
11361
11362
11363
11364
11365
11366
11367
11368
11369
11370
11371
11372
11373
11374
11375
11376
11377
11378
11379
11380
11381
11382
11383
11384
11385
11386
11387
11388
11389
11390
11391
11392
11393
11394
11395
11396
11397
11398
11399
11400
11401
11402
11403
11404
11405
11406
11407
11408
11409
11410
11411
11412
11413
11414
11415
11416
11417
11418
11419
11420
11421   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11422 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11423 hardcode_action=
11424 if test -n "$hardcode_libdir_flag_spec" ||
11425    test -n "$runpath_var" ||
11426    test "X$hardcode_automatic" = "Xyes" ; then
11427
11428   # We can hardcode non-existent directories.
11429   if test "$hardcode_direct" != no &&
11430      # If the only mechanism to avoid hardcoding is shlibpath_var, we
11431      # have to relink, otherwise we might link with an installed library
11432      # when we should be linking with a yet-to-be-installed one
11433      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11434      test "$hardcode_minus_L" != no; then
11435     # Linking always hardcodes the temporary library directory.
11436     hardcode_action=relink
11437   else
11438     # We can link without hardcoding, and we can hardcode nonexisting dirs.
11439     hardcode_action=immediate
11440   fi
11441 else
11442   # We cannot hardcode anything, or else we can only hardcode existing
11443   # directories.
11444   hardcode_action=unsupported
11445 fi
11446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11447 $as_echo "$hardcode_action" >&6; }
11448
11449 if test "$hardcode_action" = relink ||
11450    test "$inherit_rpath" = yes; then
11451   # Fast installation is not supported
11452   enable_fast_install=no
11453 elif test "$shlibpath_overrides_runpath" = yes ||
11454      test "$enable_shared" = no; then
11455   # Fast installation is not necessary
11456   enable_fast_install=needless
11457 fi
11458
11459
11460
11461
11462
11463
11464   if test "x$enable_dlopen" != xyes; then
11465   enable_dlopen=unknown
11466   enable_dlopen_self=unknown
11467   enable_dlopen_self_static=unknown
11468 else
11469   lt_cv_dlopen=no
11470   lt_cv_dlopen_libs=
11471
11472   case $host_os in
11473   beos*)
11474     lt_cv_dlopen="load_add_on"
11475     lt_cv_dlopen_libs=
11476     lt_cv_dlopen_self=yes
11477     ;;
11478
11479   mingw* | pw32* | cegcc*)
11480     lt_cv_dlopen="LoadLibrary"
11481     lt_cv_dlopen_libs=
11482     ;;
11483
11484   cygwin*)
11485     lt_cv_dlopen="dlopen"
11486     lt_cv_dlopen_libs=
11487     ;;
11488
11489   darwin*)
11490   # if libdl is installed we need to link against it
11491     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11492 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11493 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11494   $as_echo_n "(cached) " >&6
11495 else
11496   ac_check_lib_save_LIBS=$LIBS
11497 LIBS="-ldl  $LIBS"
11498 if test x$gcc_no_link = xyes; then
11499   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11500 fi
11501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11502 /* end confdefs.h.  */
11503
11504 /* Override any GCC internal prototype to avoid an error.
11505    Use char because int might match the return type of a GCC
11506    builtin and then its argument prototype would still apply.  */
11507 #ifdef __cplusplus
11508 extern "C"
11509 #endif
11510 char dlopen ();
11511 int
11512 main ()
11513 {
11514 return dlopen ();
11515   ;
11516   return 0;
11517 }
11518 _ACEOF
11519 if ac_fn_c_try_link "$LINENO"; then :
11520   ac_cv_lib_dl_dlopen=yes
11521 else
11522   ac_cv_lib_dl_dlopen=no
11523 fi
11524 rm -f core conftest.err conftest.$ac_objext \
11525     conftest$ac_exeext conftest.$ac_ext
11526 LIBS=$ac_check_lib_save_LIBS
11527 fi
11528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11529 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11530 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11531   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11532 else
11533
11534     lt_cv_dlopen="dyld"
11535     lt_cv_dlopen_libs=
11536     lt_cv_dlopen_self=yes
11537
11538 fi
11539
11540     ;;
11541
11542   *)
11543     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11544 if test "x$ac_cv_func_shl_load" = x""yes; then :
11545   lt_cv_dlopen="shl_load"
11546 else
11547   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11548 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11549 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11550   $as_echo_n "(cached) " >&6
11551 else
11552   ac_check_lib_save_LIBS=$LIBS
11553 LIBS="-ldld  $LIBS"
11554 if test x$gcc_no_link = xyes; then
11555   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11556 fi
11557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11558 /* end confdefs.h.  */
11559
11560 /* Override any GCC internal prototype to avoid an error.
11561    Use char because int might match the return type of a GCC
11562    builtin and then its argument prototype would still apply.  */
11563 #ifdef __cplusplus
11564 extern "C"
11565 #endif
11566 char shl_load ();
11567 int
11568 main ()
11569 {
11570 return shl_load ();
11571   ;
11572   return 0;
11573 }
11574 _ACEOF
11575 if ac_fn_c_try_link "$LINENO"; then :
11576   ac_cv_lib_dld_shl_load=yes
11577 else
11578   ac_cv_lib_dld_shl_load=no
11579 fi
11580 rm -f core conftest.err conftest.$ac_objext \
11581     conftest$ac_exeext conftest.$ac_ext
11582 LIBS=$ac_check_lib_save_LIBS
11583 fi
11584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11585 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11586 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11587   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11588 else
11589   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11590 if test "x$ac_cv_func_dlopen" = x""yes; then :
11591   lt_cv_dlopen="dlopen"
11592 else
11593   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11594 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11595 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11596   $as_echo_n "(cached) " >&6
11597 else
11598   ac_check_lib_save_LIBS=$LIBS
11599 LIBS="-ldl  $LIBS"
11600 if test x$gcc_no_link = xyes; then
11601   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11602 fi
11603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11604 /* end confdefs.h.  */
11605
11606 /* Override any GCC internal prototype to avoid an error.
11607    Use char because int might match the return type of a GCC
11608    builtin and then its argument prototype would still apply.  */
11609 #ifdef __cplusplus
11610 extern "C"
11611 #endif
11612 char dlopen ();
11613 int
11614 main ()
11615 {
11616 return dlopen ();
11617   ;
11618   return 0;
11619 }
11620 _ACEOF
11621 if ac_fn_c_try_link "$LINENO"; then :
11622   ac_cv_lib_dl_dlopen=yes
11623 else
11624   ac_cv_lib_dl_dlopen=no
11625 fi
11626 rm -f core conftest.err conftest.$ac_objext \
11627     conftest$ac_exeext conftest.$ac_ext
11628 LIBS=$ac_check_lib_save_LIBS
11629 fi
11630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11631 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11632 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11633   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11634 else
11635   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11636 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11637 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11638   $as_echo_n "(cached) " >&6
11639 else
11640   ac_check_lib_save_LIBS=$LIBS
11641 LIBS="-lsvld  $LIBS"
11642 if test x$gcc_no_link = xyes; then
11643   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11644 fi
11645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11646 /* end confdefs.h.  */
11647
11648 /* Override any GCC internal prototype to avoid an error.
11649    Use char because int might match the return type of a GCC
11650    builtin and then its argument prototype would still apply.  */
11651 #ifdef __cplusplus
11652 extern "C"
11653 #endif
11654 char dlopen ();
11655 int
11656 main ()
11657 {
11658 return dlopen ();
11659   ;
11660   return 0;
11661 }
11662 _ACEOF
11663 if ac_fn_c_try_link "$LINENO"; then :
11664   ac_cv_lib_svld_dlopen=yes
11665 else
11666   ac_cv_lib_svld_dlopen=no
11667 fi
11668 rm -f core conftest.err conftest.$ac_objext \
11669     conftest$ac_exeext conftest.$ac_ext
11670 LIBS=$ac_check_lib_save_LIBS
11671 fi
11672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11673 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11674 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11675   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11676 else
11677   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11678 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11679 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11680   $as_echo_n "(cached) " >&6
11681 else
11682   ac_check_lib_save_LIBS=$LIBS
11683 LIBS="-ldld  $LIBS"
11684 if test x$gcc_no_link = xyes; then
11685   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11686 fi
11687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11688 /* end confdefs.h.  */
11689
11690 /* Override any GCC internal prototype to avoid an error.
11691    Use char because int might match the return type of a GCC
11692    builtin and then its argument prototype would still apply.  */
11693 #ifdef __cplusplus
11694 extern "C"
11695 #endif
11696 char dld_link ();
11697 int
11698 main ()
11699 {
11700 return dld_link ();
11701   ;
11702   return 0;
11703 }
11704 _ACEOF
11705 if ac_fn_c_try_link "$LINENO"; then :
11706   ac_cv_lib_dld_dld_link=yes
11707 else
11708   ac_cv_lib_dld_dld_link=no
11709 fi
11710 rm -f core conftest.err conftest.$ac_objext \
11711     conftest$ac_exeext conftest.$ac_ext
11712 LIBS=$ac_check_lib_save_LIBS
11713 fi
11714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11715 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11716 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11717   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11718 fi
11719
11720
11721 fi
11722
11723
11724 fi
11725
11726
11727 fi
11728
11729
11730 fi
11731
11732
11733 fi
11734
11735     ;;
11736   esac
11737
11738   if test "x$lt_cv_dlopen" != xno; then
11739     enable_dlopen=yes
11740   else
11741     enable_dlopen=no
11742   fi
11743
11744   case $lt_cv_dlopen in
11745   dlopen)
11746     save_CPPFLAGS="$CPPFLAGS"
11747     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11748
11749     save_LDFLAGS="$LDFLAGS"
11750     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11751
11752     save_LIBS="$LIBS"
11753     LIBS="$lt_cv_dlopen_libs $LIBS"
11754
11755     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11756 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11757 if test "${lt_cv_dlopen_self+set}" = set; then :
11758   $as_echo_n "(cached) " >&6
11759 else
11760           if test "$cross_compiling" = yes; then :
11761   lt_cv_dlopen_self=cross
11762 else
11763   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11764   lt_status=$lt_dlunknown
11765   cat > conftest.$ac_ext <<_LT_EOF
11766 #line 11766 "configure"
11767 #include "confdefs.h"
11768
11769 #if HAVE_DLFCN_H
11770 #include <dlfcn.h>
11771 #endif
11772
11773 #include <stdio.h>
11774
11775 #ifdef RTLD_GLOBAL
11776 #  define LT_DLGLOBAL           RTLD_GLOBAL
11777 #else
11778 #  ifdef DL_GLOBAL
11779 #    define LT_DLGLOBAL         DL_GLOBAL
11780 #  else
11781 #    define LT_DLGLOBAL         0
11782 #  endif
11783 #endif
11784
11785 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11786    find out it does not work in some platform. */
11787 #ifndef LT_DLLAZY_OR_NOW
11788 #  ifdef RTLD_LAZY
11789 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11790 #  else
11791 #    ifdef DL_LAZY
11792 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11793 #    else
11794 #      ifdef RTLD_NOW
11795 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11796 #      else
11797 #        ifdef DL_NOW
11798 #          define LT_DLLAZY_OR_NOW      DL_NOW
11799 #        else
11800 #          define LT_DLLAZY_OR_NOW      0
11801 #        endif
11802 #      endif
11803 #    endif
11804 #  endif
11805 #endif
11806
11807 void fnord() { int i=42;}
11808 int main ()
11809 {
11810   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11811   int status = $lt_dlunknown;
11812
11813   if (self)
11814     {
11815       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11816       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11817       /* dlclose (self); */
11818     }
11819   else
11820     puts (dlerror ());
11821
11822   return status;
11823 }
11824 _LT_EOF
11825   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11826   (eval $ac_link) 2>&5
11827   ac_status=$?
11828   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11829   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11830     (./conftest; exit; ) >&5 2>/dev/null
11831     lt_status=$?
11832     case x$lt_status in
11833       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11834       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11835       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11836     esac
11837   else :
11838     # compilation failed
11839     lt_cv_dlopen_self=no
11840   fi
11841 fi
11842 rm -fr conftest*
11843
11844
11845 fi
11846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11847 $as_echo "$lt_cv_dlopen_self" >&6; }
11848
11849     if test "x$lt_cv_dlopen_self" = xyes; then
11850       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11851       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11852 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11853 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11854   $as_echo_n "(cached) " >&6
11855 else
11856           if test "$cross_compiling" = yes; then :
11857   lt_cv_dlopen_self_static=cross
11858 else
11859   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11860   lt_status=$lt_dlunknown
11861   cat > conftest.$ac_ext <<_LT_EOF
11862 #line 11862 "configure"
11863 #include "confdefs.h"
11864
11865 #if HAVE_DLFCN_H
11866 #include <dlfcn.h>
11867 #endif
11868
11869 #include <stdio.h>
11870
11871 #ifdef RTLD_GLOBAL
11872 #  define LT_DLGLOBAL           RTLD_GLOBAL
11873 #else
11874 #  ifdef DL_GLOBAL
11875 #    define LT_DLGLOBAL         DL_GLOBAL
11876 #  else
11877 #    define LT_DLGLOBAL         0
11878 #  endif
11879 #endif
11880
11881 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11882    find out it does not work in some platform. */
11883 #ifndef LT_DLLAZY_OR_NOW
11884 #  ifdef RTLD_LAZY
11885 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11886 #  else
11887 #    ifdef DL_LAZY
11888 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11889 #    else
11890 #      ifdef RTLD_NOW
11891 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11892 #      else
11893 #        ifdef DL_NOW
11894 #          define LT_DLLAZY_OR_NOW      DL_NOW
11895 #        else
11896 #          define LT_DLLAZY_OR_NOW      0
11897 #        endif
11898 #      endif
11899 #    endif
11900 #  endif
11901 #endif
11902
11903 void fnord() { int i=42;}
11904 int main ()
11905 {
11906   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11907   int status = $lt_dlunknown;
11908
11909   if (self)
11910     {
11911       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11912       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11913       /* dlclose (self); */
11914     }
11915   else
11916     puts (dlerror ());
11917
11918   return status;
11919 }
11920 _LT_EOF
11921   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11922   (eval $ac_link) 2>&5
11923   ac_status=$?
11924   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11925   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11926     (./conftest; exit; ) >&5 2>/dev/null
11927     lt_status=$?
11928     case x$lt_status in
11929       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11930       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11931       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11932     esac
11933   else :
11934     # compilation failed
11935     lt_cv_dlopen_self_static=no
11936   fi
11937 fi
11938 rm -fr conftest*
11939
11940
11941 fi
11942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11943 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11944     fi
11945
11946     CPPFLAGS="$save_CPPFLAGS"
11947     LDFLAGS="$save_LDFLAGS"
11948     LIBS="$save_LIBS"
11949     ;;
11950   esac
11951
11952   case $lt_cv_dlopen_self in
11953   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11954   *) enable_dlopen_self=unknown ;;
11955   esac
11956
11957   case $lt_cv_dlopen_self_static in
11958   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11959   *) enable_dlopen_self_static=unknown ;;
11960   esac
11961 fi
11962
11963
11964
11965
11966
11967
11968
11969
11970
11971
11972
11973
11974
11975
11976
11977
11978
11979 striplib=
11980 old_striplib=
11981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11982 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11983 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11984   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11985   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11986   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11987 $as_echo "yes" >&6; }
11988 else
11989 # FIXME - insert some real tests, host_os isn't really good enough
11990   case $host_os in
11991   darwin*)
11992     if test -n "$STRIP" ; then
11993       striplib="$STRIP -x"
11994       old_striplib="$STRIP -S"
11995       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11996 $as_echo "yes" >&6; }
11997     else
11998       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11999 $as_echo "no" >&6; }
12000     fi
12001     ;;
12002   *)
12003     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12004 $as_echo "no" >&6; }
12005     ;;
12006   esac
12007 fi
12008
12009
12010
12011
12012
12013
12014
12015
12016
12017
12018
12019
12020   # Report which library types will actually be built
12021   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12022 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12023   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12024 $as_echo "$can_build_shared" >&6; }
12025
12026   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12027 $as_echo_n "checking whether to build shared libraries... " >&6; }
12028   test "$can_build_shared" = "no" && enable_shared=no
12029
12030   # On AIX, shared libraries and static libraries use the same namespace, and
12031   # are all built from PIC.
12032   case $host_os in
12033   aix3*)
12034     test "$enable_shared" = yes && enable_static=no
12035     if test -n "$RANLIB"; then
12036       archive_cmds="$archive_cmds~\$RANLIB \$lib"
12037       postinstall_cmds='$RANLIB $lib'
12038     fi
12039     ;;
12040
12041   aix[4-9]*)
12042     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12043       test "$enable_shared" = yes && enable_static=no
12044     fi
12045     ;;
12046   esac
12047   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12048 $as_echo "$enable_shared" >&6; }
12049
12050   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12051 $as_echo_n "checking whether to build static libraries... " >&6; }
12052   # Make sure either enable_shared or enable_static is yes.
12053   test "$enable_shared" = yes || enable_static=yes
12054   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12055 $as_echo "$enable_static" >&6; }
12056
12057
12058
12059
12060 fi
12061 ac_ext=c
12062 ac_cpp='$CPP $CPPFLAGS'
12063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12066
12067 CC="$lt_save_CC"
12068
12069
12070 ac_ext=cpp
12071 ac_cpp='$CXXCPP $CPPFLAGS'
12072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12075
12076 archive_cmds_need_lc_CXX=no
12077 allow_undefined_flag_CXX=
12078 always_export_symbols_CXX=no
12079 archive_expsym_cmds_CXX=
12080 compiler_needs_object_CXX=no
12081 export_dynamic_flag_spec_CXX=
12082 hardcode_direct_CXX=no
12083 hardcode_direct_absolute_CXX=no
12084 hardcode_libdir_flag_spec_CXX=
12085 hardcode_libdir_flag_spec_ld_CXX=
12086 hardcode_libdir_separator_CXX=
12087 hardcode_minus_L_CXX=no
12088 hardcode_shlibpath_var_CXX=unsupported
12089 hardcode_automatic_CXX=no
12090 inherit_rpath_CXX=no
12091 module_cmds_CXX=
12092 module_expsym_cmds_CXX=
12093 link_all_deplibs_CXX=unknown
12094 old_archive_cmds_CXX=$old_archive_cmds
12095 no_undefined_flag_CXX=
12096 whole_archive_flag_spec_CXX=
12097 enable_shared_with_static_runtimes_CXX=no
12098
12099 # Source file extension for C++ test sources.
12100 ac_ext=cpp
12101
12102 # Object file extension for compiled C++ test sources.
12103 objext=o
12104 objext_CXX=$objext
12105
12106 # No sense in running all these tests if we already determined that
12107 # the CXX compiler isn't working.  Some variables (like enable_shared)
12108 # are currently assumed to apply to all compilers on this platform,
12109 # and will be corrupted by setting them based on a non-working compiler.
12110 if test "$_lt_caught_CXX_error" != yes; then
12111   # Code to be used in simple compile tests
12112   lt_simple_compile_test_code="int some_variable = 0;"
12113
12114   # Code to be used in simple link tests
12115   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12116
12117   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12118
12119
12120
12121
12122
12123
12124 # If no C compiler was specified, use CC.
12125 LTCC=${LTCC-"$CC"}
12126
12127 # If no C compiler flags were specified, use CFLAGS.
12128 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12129
12130 # Allow CC to be a program name with arguments.
12131 compiler=$CC
12132
12133
12134   # save warnings/boilerplate of simple test code
12135   ac_outfile=conftest.$ac_objext
12136 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12137 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12138 _lt_compiler_boilerplate=`cat conftest.err`
12139 $RM conftest*
12140
12141   ac_outfile=conftest.$ac_objext
12142 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12143 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12144 _lt_linker_boilerplate=`cat conftest.err`
12145 $RM -r conftest*
12146
12147
12148   # Allow CC to be a program name with arguments.
12149   lt_save_CC=$CC
12150   lt_save_LD=$LD
12151   lt_save_GCC=$GCC
12152   GCC=$GXX
12153   lt_save_with_gnu_ld=$with_gnu_ld
12154   lt_save_path_LD=$lt_cv_path_LD
12155   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12156     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12157   else
12158     $as_unset lt_cv_prog_gnu_ld
12159   fi
12160   if test -n "${lt_cv_path_LDCXX+set}"; then
12161     lt_cv_path_LD=$lt_cv_path_LDCXX
12162   else
12163     $as_unset lt_cv_path_LD
12164   fi
12165   test -z "${LDCXX+set}" || LD=$LDCXX
12166   CC=${CXX-"c++"}
12167   compiler=$CC
12168   compiler_CXX=$CC
12169   for cc_temp in $compiler""; do
12170   case $cc_temp in
12171     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12172     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12173     \-*) ;;
12174     *) break;;
12175   esac
12176 done
12177 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
12178
12179
12180   if test -n "$compiler"; then
12181     # We don't want -fno-exception when compiling C++ code, so set the
12182     # no_builtin_flag separately
12183     if test "$GXX" = yes; then
12184       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12185     else
12186       lt_prog_compiler_no_builtin_flag_CXX=
12187     fi
12188
12189     if test "$GXX" = yes; then
12190       # Set up default GNU C++ configuration
12191
12192
12193
12194 # Check whether --with-gnu-ld was given.
12195 if test "${with_gnu_ld+set}" = set; then :
12196   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12197 else
12198   with_gnu_ld=no
12199 fi
12200
12201 ac_prog=ld
12202 if test "$GCC" = yes; then
12203   # Check if gcc -print-prog-name=ld gives a path.
12204   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12205 $as_echo_n "checking for ld used by $CC... " >&6; }
12206   case $host in
12207   *-*-mingw*)
12208     # gcc leaves a trailing carriage return which upsets mingw
12209     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12210   *)
12211     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12212   esac
12213   case $ac_prog in
12214     # Accept absolute paths.
12215     [\\/]* | ?:[\\/]*)
12216       re_direlt='/[^/][^/]*/\.\./'
12217       # Canonicalize the pathname of ld
12218       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12219       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12220         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12221       done
12222       test -z "$LD" && LD="$ac_prog"
12223       ;;
12224   "")
12225     # If it fails, then pretend we aren't using GCC.
12226     ac_prog=ld
12227     ;;
12228   *)
12229     # If it is relative, then search for the first ld in PATH.
12230     with_gnu_ld=unknown
12231     ;;
12232   esac
12233 elif test "$with_gnu_ld" = yes; then
12234   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12235 $as_echo_n "checking for GNU ld... " >&6; }
12236 else
12237   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12238 $as_echo_n "checking for non-GNU ld... " >&6; }
12239 fi
12240 if test "${lt_cv_path_LD+set}" = set; then :
12241   $as_echo_n "(cached) " >&6
12242 else
12243   if test -z "$LD"; then
12244   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12245   for ac_dir in $PATH; do
12246     IFS="$lt_save_ifs"
12247     test -z "$ac_dir" && ac_dir=.
12248     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12249       lt_cv_path_LD="$ac_dir/$ac_prog"
12250       # Check to see if the program is GNU ld.  I'd rather use --version,
12251       # but apparently some variants of GNU ld only accept -v.
12252       # Break only if it was the GNU/non-GNU ld that we prefer.
12253       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12254       *GNU* | *'with BFD'*)
12255         test "$with_gnu_ld" != no && break
12256         ;;
12257       *)
12258         test "$with_gnu_ld" != yes && break
12259         ;;
12260       esac
12261     fi
12262   done
12263   IFS="$lt_save_ifs"
12264 else
12265   lt_cv_path_LD="$LD" # Let the user override the test with a path.
12266 fi
12267 fi
12268
12269 LD="$lt_cv_path_LD"
12270 if test -n "$LD"; then
12271   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12272 $as_echo "$LD" >&6; }
12273 else
12274   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12275 $as_echo "no" >&6; }
12276 fi
12277 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12279 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12280 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12281   $as_echo_n "(cached) " >&6
12282 else
12283   # I'd rather use --version here, but apparently some GNU lds only accept -v.
12284 case `$LD -v 2>&1 </dev/null` in
12285 *GNU* | *'with BFD'*)
12286   lt_cv_prog_gnu_ld=yes
12287   ;;
12288 *)
12289   lt_cv_prog_gnu_ld=no
12290   ;;
12291 esac
12292 fi
12293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12294 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12295 with_gnu_ld=$lt_cv_prog_gnu_ld
12296
12297
12298
12299
12300
12301
12302
12303       # Check if GNU C++ uses GNU ld as the underlying linker, since the
12304       # archiving commands below assume that GNU ld is being used.
12305       if test "$with_gnu_ld" = yes; then
12306         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12307         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'
12308
12309         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12310         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12311
12312         # If archive_cmds runs LD, not CC, wlarc should be empty
12313         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12314         #     investigate it a little bit more. (MM)
12315         wlarc='${wl}'
12316
12317         # ancient GNU ld didn't support --whole-archive et. al.
12318         if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12319           $GREP 'no-whole-archive' > /dev/null; then
12320           whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12321         else
12322           whole_archive_flag_spec_CXX=
12323         fi
12324       else
12325         with_gnu_ld=no
12326         wlarc=
12327
12328         # A generic and very simple default shared library creation
12329         # command for GNU C++ for the case where it uses the native
12330         # linker, instead of GNU ld.  If possible, this setting should
12331         # overridden to take advantage of the native linker features on
12332         # the platform it is being used on.
12333         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12334       fi
12335
12336       # Commands to make compiler produce verbose output that lists
12337       # what "hidden" libraries, object files and flags are used when
12338       # linking a shared library.
12339       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "^ .* -L"'
12340
12341     else
12342       GXX=no
12343       with_gnu_ld=no
12344       wlarc=
12345     fi
12346
12347     # PORTME: fill in a description of your system's C++ link characteristics
12348     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12349 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12350     ld_shlibs_CXX=yes
12351     case $host_os in
12352       aix3*)
12353         # FIXME: insert proper C++ library support
12354         ld_shlibs_CXX=no
12355         ;;
12356       aix[4-9]*)
12357         if test "$host_cpu" = ia64; then
12358           # On IA64, the linker does run time linking by default, so we don't
12359           # have to do anything special.
12360           aix_use_runtimelinking=no
12361           exp_sym_flag='-Bexport'
12362           no_entry_flag=""
12363         else
12364           aix_use_runtimelinking=no
12365
12366           # Test if we are trying to use run time linking or normal
12367           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12368           # need to do runtime linking.
12369           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12370             for ld_flag in $LDFLAGS; do
12371               case $ld_flag in
12372               *-brtl*)
12373                 aix_use_runtimelinking=yes
12374                 break
12375                 ;;
12376               esac
12377             done
12378             ;;
12379           esac
12380
12381           exp_sym_flag='-bexport'
12382           no_entry_flag='-bnoentry'
12383         fi
12384
12385         # When large executables or shared objects are built, AIX ld can
12386         # have problems creating the table of contents.  If linking a library
12387         # or program results in "error TOC overflow" add -mminimal-toc to
12388         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
12389         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12390
12391         archive_cmds_CXX=''
12392         hardcode_direct_CXX=yes
12393         hardcode_direct_absolute_CXX=yes
12394         hardcode_libdir_separator_CXX=':'
12395         link_all_deplibs_CXX=yes
12396         file_list_spec_CXX='${wl}-f,'
12397
12398         if test "$GXX" = yes; then
12399           case $host_os in aix4.[012]|aix4.[012].*)
12400           # We only want to do this on AIX 4.2 and lower, the check
12401           # below for broken collect2 doesn't work under 4.3+
12402           collect2name=`${CC} -print-prog-name=collect2`
12403           if test -f "$collect2name" &&
12404              strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12405           then
12406             # We have reworked collect2
12407             :
12408           else
12409             # We have old collect2
12410             hardcode_direct_CXX=unsupported
12411             # It fails to find uninstalled libraries when the uninstalled
12412             # path is not listed in the libpath.  Setting hardcode_minus_L
12413             # to unsupported forces relinking
12414             hardcode_minus_L_CXX=yes
12415             hardcode_libdir_flag_spec_CXX='-L$libdir'
12416             hardcode_libdir_separator_CXX=
12417           fi
12418           esac
12419           shared_flag='-shared'
12420           if test "$aix_use_runtimelinking" = yes; then
12421             shared_flag="$shared_flag "'${wl}-G'
12422           fi
12423         else
12424           # not using gcc
12425           if test "$host_cpu" = ia64; then
12426           # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12427           # chokes on -Wl,-G. The following line is correct:
12428           shared_flag='-G'
12429           else
12430             if test "$aix_use_runtimelinking" = yes; then
12431               shared_flag='${wl}-G'
12432             else
12433               shared_flag='${wl}-bM:SRE'
12434             fi
12435           fi
12436         fi
12437
12438         export_dynamic_flag_spec_CXX='${wl}-bexpall'
12439         # It seems that -bexpall does not export symbols beginning with
12440         # underscore (_), so it is better to generate a list of symbols to
12441         # export.
12442         always_export_symbols_CXX=yes
12443         if test "$aix_use_runtimelinking" = yes; then
12444           # Warning - without using the other runtime loading flags (-brtl),
12445           # -berok will link without error, but may produce a broken library.
12446           allow_undefined_flag_CXX='-berok'
12447           # Determine the default libpath from the value encoded in an empty
12448           # executable.
12449           if test x$gcc_no_link = xyes; then
12450   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12451 fi
12452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12453 /* end confdefs.h.  */
12454
12455 int
12456 main ()
12457 {
12458
12459   ;
12460   return 0;
12461 }
12462 _ACEOF
12463 if ac_fn_cxx_try_link "$LINENO"; then :
12464
12465 lt_aix_libpath_sed='
12466     /Import File Strings/,/^$/ {
12467         /^0/ {
12468             s/^0  *\(.*\)$/\1/
12469             p
12470         }
12471     }'
12472 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12473 # Check for a 64-bit object if we didn't find anything.
12474 if test -z "$aix_libpath"; then
12475   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12476 fi
12477 fi
12478 rm -f core conftest.err conftest.$ac_objext \
12479     conftest$ac_exeext conftest.$ac_ext
12480 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12481
12482           hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12483
12484           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"
12485         else
12486           if test "$host_cpu" = ia64; then
12487             hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12488             allow_undefined_flag_CXX="-z nodefs"
12489             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"
12490           else
12491             # Determine the default libpath from the value encoded in an
12492             # empty executable.
12493             if test x$gcc_no_link = xyes; then
12494   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12495 fi
12496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12497 /* end confdefs.h.  */
12498
12499 int
12500 main ()
12501 {
12502
12503   ;
12504   return 0;
12505 }
12506 _ACEOF
12507 if ac_fn_cxx_try_link "$LINENO"; then :
12508
12509 lt_aix_libpath_sed='
12510     /Import File Strings/,/^$/ {
12511         /^0/ {
12512             s/^0  *\(.*\)$/\1/
12513             p
12514         }
12515     }'
12516 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12517 # Check for a 64-bit object if we didn't find anything.
12518 if test -z "$aix_libpath"; then
12519   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12520 fi
12521 fi
12522 rm -f core conftest.err conftest.$ac_objext \
12523     conftest$ac_exeext conftest.$ac_ext
12524 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12525
12526             hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12527             # Warning - without using the other run time loading flags,
12528             # -berok will link without error, but may produce a broken library.
12529             no_undefined_flag_CXX=' ${wl}-bernotok'
12530             allow_undefined_flag_CXX=' ${wl}-berok'
12531             # Exported symbols can be pulled into shared objects from archives
12532             whole_archive_flag_spec_CXX='$convenience'
12533             archive_cmds_need_lc_CXX=yes
12534             # This is similar to how AIX traditionally builds its shared
12535             # libraries.
12536             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'
12537           fi
12538         fi
12539         ;;
12540
12541       beos*)
12542         if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12543           allow_undefined_flag_CXX=unsupported
12544           # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12545           # support --undefined.  This deserves some investigation.  FIXME
12546           archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12547         else
12548           ld_shlibs_CXX=no
12549         fi
12550         ;;
12551
12552       chorus*)
12553         case $cc_basename in
12554           *)
12555           # FIXME: insert proper C++ library support
12556           ld_shlibs_CXX=no
12557           ;;
12558         esac
12559         ;;
12560
12561       cygwin* | mingw* | pw32* | cegcc*)
12562         # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12563         # as there is no search path for DLLs.
12564         hardcode_libdir_flag_spec_CXX='-L$libdir'
12565         allow_undefined_flag_CXX=unsupported
12566         always_export_symbols_CXX=no
12567         enable_shared_with_static_runtimes_CXX=yes
12568
12569         if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12570           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'
12571           # If the export-symbols file already is a .def file (1st line
12572           # is EXPORTS), use it as is; otherwise, prepend...
12573           archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12574             cp $export_symbols $output_objdir/$soname.def;
12575           else
12576             echo EXPORTS > $output_objdir/$soname.def;
12577             cat $export_symbols >> $output_objdir/$soname.def;
12578           fi~
12579           $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'
12580         else
12581           ld_shlibs_CXX=no
12582         fi
12583         ;;
12584       darwin* | rhapsody*)
12585
12586
12587   archive_cmds_need_lc_CXX=no
12588   hardcode_direct_CXX=no
12589   hardcode_automatic_CXX=yes
12590   hardcode_shlibpath_var_CXX=unsupported
12591   whole_archive_flag_spec_CXX=''
12592   link_all_deplibs_CXX=yes
12593   allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12594   case $cc_basename in
12595      ifort*) _lt_dar_can_shared=yes ;;
12596      *) _lt_dar_can_shared=$GCC ;;
12597   esac
12598   if test "$_lt_dar_can_shared" = "yes"; then
12599     output_verbose_link_cmd=echo
12600     archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
12601     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12602     archive_expsym_cmds_CXX="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 ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
12603     module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
12604        if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12605       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${_lt_dsymutil}"
12606       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${_lt_dar_export_syms}${_lt_dsymutil}"
12607     fi
12608
12609   else
12610   ld_shlibs_CXX=no
12611   fi
12612
12613         ;;
12614
12615       dgux*)
12616         case $cc_basename in
12617           ec++*)
12618             # FIXME: insert proper C++ library support
12619             ld_shlibs_CXX=no
12620             ;;
12621           ghcx*)
12622             # Green Hills C++ Compiler
12623             # FIXME: insert proper C++ library support
12624             ld_shlibs_CXX=no
12625             ;;
12626           *)
12627             # FIXME: insert proper C++ library support
12628             ld_shlibs_CXX=no
12629             ;;
12630         esac
12631         ;;
12632
12633       freebsd[12]*)
12634         # C++ shared libraries reported to be fairly broken before
12635         # switch to ELF
12636         ld_shlibs_CXX=no
12637         ;;
12638
12639       freebsd-elf*)
12640         archive_cmds_need_lc_CXX=no
12641         ;;
12642
12643       freebsd* | dragonfly*)
12644         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12645         # conventions
12646         ld_shlibs_CXX=yes
12647         ;;
12648
12649       gnu*)
12650         ;;
12651
12652       hpux9*)
12653         hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12654         hardcode_libdir_separator_CXX=:
12655         export_dynamic_flag_spec_CXX='${wl}-E'
12656         hardcode_direct_CXX=yes
12657         hardcode_minus_L_CXX=yes # Not in the search PATH,
12658                                              # but as the default
12659                                              # location of the library.
12660
12661         case $cc_basename in
12662           CC*)
12663             # FIXME: insert proper C++ library support
12664             ld_shlibs_CXX=no
12665             ;;
12666           aCC*)
12667             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'
12668             # Commands to make compiler produce verbose output that lists
12669             # what "hidden" libraries, object files and flags are used when
12670             # linking a shared library.
12671             #
12672             # There doesn't appear to be a way to prevent this compiler from
12673             # explicitly linking system object files so we need to strip them
12674             # from the output so that they don't get included in the library
12675             # dependencies.
12676             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'
12677             ;;
12678           *)
12679             if test "$GXX" = yes; then
12680               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'
12681             else
12682               # FIXME: insert proper C++ library support
12683               ld_shlibs_CXX=no
12684             fi
12685             ;;
12686         esac
12687         ;;
12688
12689       hpux10*|hpux11*)
12690         if test $with_gnu_ld = no; then
12691           hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12692           hardcode_libdir_separator_CXX=:
12693
12694           case $host_cpu in
12695             hppa*64*|ia64*)
12696               ;;
12697             *)
12698               export_dynamic_flag_spec_CXX='${wl}-E'
12699               ;;
12700           esac
12701         fi
12702         case $host_cpu in
12703           hppa*64*|ia64*)
12704             hardcode_direct_CXX=no
12705             hardcode_shlibpath_var_CXX=no
12706             ;;
12707           *)
12708             hardcode_direct_CXX=yes
12709             hardcode_direct_absolute_CXX=yes
12710             hardcode_minus_L_CXX=yes # Not in the search PATH,
12711                                                  # but as the default
12712                                                  # location of the library.
12713             ;;
12714         esac
12715
12716         case $cc_basename in
12717           CC*)
12718             # FIXME: insert proper C++ library support
12719             ld_shlibs_CXX=no
12720             ;;
12721           aCC*)
12722             case $host_cpu in
12723               hppa*64*)
12724                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12725                 ;;
12726               ia64*)
12727                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12728                 ;;
12729               *)
12730                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12731                 ;;
12732             esac
12733             # Commands to make compiler produce verbose output that lists
12734             # what "hidden" libraries, object files and flags are used when
12735             # linking a shared library.
12736             #
12737             # There doesn't appear to be a way to prevent this compiler from
12738             # explicitly linking system object files so we need to strip them
12739             # from the output so that they don't get included in the library
12740             # dependencies.
12741             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'
12742             ;;
12743           *)
12744             if test "$GXX" = yes; then
12745               if test $with_gnu_ld = no; then
12746                 case $host_cpu in
12747                   hppa*64*)
12748                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12749                     ;;
12750                   ia64*)
12751                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12752                     ;;
12753                   *)
12754                     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'
12755                     ;;
12756                 esac
12757               fi
12758             else
12759               # FIXME: insert proper C++ library support
12760               ld_shlibs_CXX=no
12761             fi
12762             ;;
12763         esac
12764         ;;
12765
12766       interix[3-9]*)
12767         hardcode_direct_CXX=no
12768         hardcode_shlibpath_var_CXX=no
12769         hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12770         export_dynamic_flag_spec_CXX='${wl}-E'
12771         # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12772         # Instead, shared libraries are loaded at an image base (0x10000000 by
12773         # default) and relocated if they conflict, which is a slow very memory
12774         # consuming and fragmenting process.  To avoid this, we pick a random,
12775         # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12776         # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
12777         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'
12778         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'
12779         ;;
12780       irix5* | irix6*)
12781         case $cc_basename in
12782           CC*)
12783             # SGI C++
12784             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'
12785
12786             # Archives containing C++ object files must be created using
12787             # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
12788             # necessary to make sure instantiated templates are included
12789             # in the archive.
12790             old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12791             ;;
12792           *)
12793             if test "$GXX" = yes; then
12794               if test "$with_gnu_ld" = no; then
12795                 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'
12796               else
12797                 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'
12798               fi
12799             fi
12800             link_all_deplibs_CXX=yes
12801             ;;
12802         esac
12803         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12804         hardcode_libdir_separator_CXX=:
12805         inherit_rpath_CXX=yes
12806         ;;
12807
12808       linux* | k*bsd*-gnu | kopensolaris*-gnu)
12809         case $cc_basename in
12810           KCC*)
12811             # Kuck and Associates, Inc. (KAI) C++ Compiler
12812
12813             # KCC will only create a shared library if the output file
12814             # ends with ".so" (or ".sl" for HP-UX), so rename the library
12815             # to its proper name (with version) after linking.
12816             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'
12817             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'
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             #
12822             # There doesn't appear to be a way to prevent this compiler from
12823             # explicitly linking system object files so we need to strip them
12824             # from the output so that they don't get included in the library
12825             # dependencies.
12826             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'
12827
12828             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12829             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12830
12831             # Archives containing C++ object files must be created using
12832             # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12833             old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12834             ;;
12835           icpc* | ecpc* )
12836             # Intel C++
12837             with_gnu_ld=yes
12838             # version 8.0 and above of icpc choke on multiply defined symbols
12839             # if we add $predep_objects and $postdep_objects, however 7.1 and
12840             # earlier do not add the objects themselves.
12841             case `$CC -V 2>&1` in
12842               *"Version 7."*)
12843                 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12844                 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'
12845                 ;;
12846               *)  # Version 8.0 or newer
12847                 tmp_idyn=
12848                 case $host_cpu in
12849                   ia64*) tmp_idyn=' -i_dynamic';;
12850                 esac
12851                 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12852                 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'
12853                 ;;
12854             esac
12855             archive_cmds_need_lc_CXX=no
12856             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12857             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12858             whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12859             ;;
12860           pgCC* | pgcpp*)
12861             # Portland Group C++ compiler
12862             case `$CC -V` in
12863             *pgCC\ [1-5]* | *pgcpp\ [1-5]*)
12864               prelink_cmds_CXX='tpldir=Template.dir~
12865                 rm -rf $tpldir~
12866                 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12867                 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12868               old_archive_cmds_CXX='tpldir=Template.dir~
12869                 rm -rf $tpldir~
12870                 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12871                 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12872                 $RANLIB $oldlib'
12873               archive_cmds_CXX='tpldir=Template.dir~
12874                 rm -rf $tpldir~
12875                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12876                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12877               archive_expsym_cmds_CXX='tpldir=Template.dir~
12878                 rm -rf $tpldir~
12879                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12880                 $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'
12881               ;;
12882             *) # Version 6 will use weak symbols
12883               archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12884               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'
12885               ;;
12886             esac
12887
12888             hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12889             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12890             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'
12891             ;;
12892           cxx*)
12893             # Compaq C++
12894             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12895             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'
12896
12897             runpath_var=LD_RUN_PATH
12898             hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12899             hardcode_libdir_separator_CXX=:
12900
12901             # Commands to make compiler produce verbose output that lists
12902             # what "hidden" libraries, object files and flags are used when
12903             # linking a shared library.
12904             #
12905             # There doesn't appear to be a way to prevent this compiler from
12906             # explicitly linking system object files so we need to strip them
12907             # from the output so that they don't get included in the library
12908             # dependencies.
12909             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'
12910             ;;
12911           xl*)
12912             # IBM XL 8.0 on PPC, with GNU ld
12913             hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12914             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12915             archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12916             if test "x$supports_anon_versioning" = xyes; then
12917               archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12918                 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12919                 echo "local: *; };" >> $output_objdir/$libname.ver~
12920                 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12921             fi
12922             ;;
12923           *)
12924             case `$CC -V 2>&1 | sed 5q` in
12925             *Sun\ C*)
12926               # Sun C++ 5.9
12927               no_undefined_flag_CXX=' -zdefs'
12928               archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12929               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'
12930               hardcode_libdir_flag_spec_CXX='-R$libdir'
12931               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'
12932               compiler_needs_object_CXX=yes
12933
12934               # Not sure whether something based on
12935               # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12936               # would be better.
12937               output_verbose_link_cmd='echo'
12938
12939               # Archives containing C++ object files must be created using
12940               # "CC -xar", where "CC" is the Sun C++ compiler.  This is
12941               # necessary to make sure instantiated templates are included
12942               # in the archive.
12943               old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12944               ;;
12945             esac
12946             ;;
12947         esac
12948         ;;
12949
12950       lynxos*)
12951         # FIXME: insert proper C++ library support
12952         ld_shlibs_CXX=no
12953         ;;
12954
12955       m88k*)
12956         # FIXME: insert proper C++ library support
12957         ld_shlibs_CXX=no
12958         ;;
12959
12960       mvs*)
12961         case $cc_basename in
12962           cxx*)
12963             # FIXME: insert proper C++ library support
12964             ld_shlibs_CXX=no
12965             ;;
12966           *)
12967             # FIXME: insert proper C++ library support
12968             ld_shlibs_CXX=no
12969             ;;
12970         esac
12971         ;;
12972
12973       netbsd*)
12974         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12975           archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12976           wlarc=
12977           hardcode_libdir_flag_spec_CXX='-R$libdir'
12978           hardcode_direct_CXX=yes
12979           hardcode_shlibpath_var_CXX=no
12980         fi
12981         # Workaround some broken pre-1.5 toolchains
12982         output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12983         ;;
12984
12985       *nto* | *qnx*)
12986         ld_shlibs_CXX=yes
12987         ;;
12988
12989       openbsd2*)
12990         # C++ shared libraries are fairly broken
12991         ld_shlibs_CXX=no
12992         ;;
12993
12994       openbsd*)
12995         if test -f /usr/libexec/ld.so; then
12996           hardcode_direct_CXX=yes
12997           hardcode_shlibpath_var_CXX=no
12998           hardcode_direct_absolute_CXX=yes
12999           archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13000           hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13001           if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13002             archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13003             export_dynamic_flag_spec_CXX='${wl}-E'
13004             whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13005           fi
13006           output_verbose_link_cmd=echo
13007         else
13008           ld_shlibs_CXX=no
13009         fi
13010         ;;
13011
13012       osf3* | osf4* | osf5*)
13013         case $cc_basename in
13014           KCC*)
13015             # Kuck and Associates, Inc. (KAI) C++ Compiler
13016
13017             # KCC will only create a shared library if the output file
13018             # ends with ".so" (or ".sl" for HP-UX), so rename the library
13019             # to its proper name (with version) after linking.
13020             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'
13021
13022             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13023             hardcode_libdir_separator_CXX=:
13024
13025             # Archives containing C++ object files must be created using
13026             # the KAI C++ compiler.
13027             case $host in
13028               osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13029               *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13030             esac
13031             ;;
13032           RCC*)
13033             # Rational C++ 2.4.1
13034             # FIXME: insert proper C++ library support
13035             ld_shlibs_CXX=no
13036             ;;
13037           cxx*)
13038             case $host in
13039               osf3*)
13040                 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13041                 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'
13042                 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13043                 ;;
13044               *)
13045                 allow_undefined_flag_CXX=' -expect_unresolved \*'
13046                 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'
13047                 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13048                   echo "-hidden">> $lib.exp~
13049                   $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~
13050                   $RM $lib.exp'
13051                 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13052                 ;;
13053             esac
13054
13055             hardcode_libdir_separator_CXX=:
13056
13057             # Commands to make compiler produce verbose output that lists
13058             # what "hidden" libraries, object files and flags are used when
13059             # linking a shared library.
13060             #
13061             # There doesn't appear to be a way to prevent this compiler from
13062             # explicitly linking system object files so we need to strip them
13063             # from the output so that they don't get included in the library
13064             # dependencies.
13065             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'
13066             ;;
13067           *)
13068             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13069               allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13070               case $host in
13071                 osf3*)
13072                   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'
13073                   ;;
13074                 *)
13075                   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'
13076                   ;;
13077               esac
13078
13079               hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13080               hardcode_libdir_separator_CXX=:
13081
13082               # Commands to make compiler produce verbose output that lists
13083               # what "hidden" libraries, object files and flags are used when
13084               # linking a shared library.
13085               output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "^ .* -L"'
13086
13087             else
13088               # FIXME: insert proper C++ library support
13089               ld_shlibs_CXX=no
13090             fi
13091             ;;
13092         esac
13093         ;;
13094
13095       psos*)
13096         # FIXME: insert proper C++ library support
13097         ld_shlibs_CXX=no
13098         ;;
13099
13100       sunos4*)
13101         case $cc_basename in
13102           CC*)
13103             # Sun C++ 4.x
13104             # FIXME: insert proper C++ library support
13105             ld_shlibs_CXX=no
13106             ;;
13107           lcc*)
13108             # Lucid
13109             # FIXME: insert proper C++ library support
13110             ld_shlibs_CXX=no
13111             ;;
13112           *)
13113             # FIXME: insert proper C++ library support
13114             ld_shlibs_CXX=no
13115             ;;
13116         esac
13117         ;;
13118
13119       solaris*)
13120         case $cc_basename in
13121           CC*)
13122             # Sun C++ 4.2, 5.x and Centerline C++
13123             archive_cmds_need_lc_CXX=yes
13124             no_undefined_flag_CXX=' -zdefs'
13125             archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13126             archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13127               $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'
13128
13129             hardcode_libdir_flag_spec_CXX='-R$libdir'
13130             hardcode_shlibpath_var_CXX=no
13131             case $host_os in
13132               solaris2.[0-5] | solaris2.[0-5].*) ;;
13133               *)
13134                 # The compiler driver will combine and reorder linker options,
13135                 # but understands `-z linker_flag'.
13136                 # Supported since Solaris 2.6 (maybe 2.5.1?)
13137                 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13138                 ;;
13139             esac
13140             link_all_deplibs_CXX=yes
13141
13142             output_verbose_link_cmd='echo'
13143
13144             # Archives containing C++ object files must be created using
13145             # "CC -xar", where "CC" is the Sun C++ compiler.  This is
13146             # necessary to make sure instantiated templates are included
13147             # in the archive.
13148             old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13149             ;;
13150           gcx*)
13151             # Green Hills C++ Compiler
13152             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13153
13154             # The C++ compiler must be used to create the archive.
13155             old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13156             ;;
13157           *)
13158             # GNU C++ compiler with Solaris linker
13159             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13160               no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13161               if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13162                 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13163                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13164                   $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13165
13166                 # Commands to make compiler produce verbose output that lists
13167                 # what "hidden" libraries, object files and flags are used when
13168                 # linking a shared library.
13169                 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "^ .* -L"'
13170               else
13171                 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13172                 # platform.
13173                 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13174                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13175                   $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13176
13177                 # Commands to make compiler produce verbose output that lists
13178                 # what "hidden" libraries, object files and flags are used when
13179                 # linking a shared library.
13180                 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "^ .* -L"'
13181               fi
13182
13183               hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13184               case $host_os in
13185                 solaris2.[0-5] | solaris2.[0-5].*) ;;
13186                 *)
13187                   whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13188                   ;;
13189               esac
13190             fi
13191             ;;
13192         esac
13193         ;;
13194
13195     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13196       no_undefined_flag_CXX='${wl}-z,text'
13197       archive_cmds_need_lc_CXX=no
13198       hardcode_shlibpath_var_CXX=no
13199       runpath_var='LD_RUN_PATH'
13200
13201       case $cc_basename in
13202         CC*)
13203           archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13204           archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13205           ;;
13206         *)
13207           archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13208           archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13209           ;;
13210       esac
13211       ;;
13212
13213       sysv5* | sco3.2v5* | sco5v6*)
13214         # Note: We can NOT use -z defs as we might desire, because we do not
13215         # link with -lc, and that would cause any symbols used from libc to
13216         # always be unresolved, which means just about no library would
13217         # ever link correctly.  If we're not using GNU ld we use -z text
13218         # though, which does catch some bad symbols but isn't as heavy-handed
13219         # as -z defs.
13220         no_undefined_flag_CXX='${wl}-z,text'
13221         allow_undefined_flag_CXX='${wl}-z,nodefs'
13222         archive_cmds_need_lc_CXX=no
13223         hardcode_shlibpath_var_CXX=no
13224         hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13225         hardcode_libdir_separator_CXX=':'
13226         link_all_deplibs_CXX=yes
13227         export_dynamic_flag_spec_CXX='${wl}-Bexport'
13228         runpath_var='LD_RUN_PATH'
13229
13230         case $cc_basename in
13231           CC*)
13232             archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13233             archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13234             ;;
13235           *)
13236             archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13237             archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13238             ;;
13239         esac
13240       ;;
13241
13242       tandem*)
13243         case $cc_basename in
13244           NCC*)
13245             # NonStop-UX NCC 3.20
13246             # FIXME: insert proper C++ library support
13247             ld_shlibs_CXX=no
13248             ;;
13249           *)
13250             # FIXME: insert proper C++ library support
13251             ld_shlibs_CXX=no
13252             ;;
13253         esac
13254         ;;
13255
13256       vxworks*)
13257         # FIXME: insert proper C++ library support
13258         ld_shlibs_CXX=no
13259         ;;
13260
13261       *)
13262         # FIXME: insert proper C++ library support
13263         ld_shlibs_CXX=no
13264         ;;
13265     esac
13266
13267     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13268 $as_echo "$ld_shlibs_CXX" >&6; }
13269     test "$ld_shlibs_CXX" = no && can_build_shared=no
13270
13271     GCC_CXX="$GXX"
13272     LD_CXX="$LD"
13273
13274     ## CAVEAT EMPTOR:
13275     ## There is no encapsulation within the following macros, do not change
13276     ## the running order or otherwise move them around unless you know exactly
13277     ## what you are doing...
13278     # Dependencies to place before and after the object being linked:
13279 predep_objects_CXX=
13280 postdep_objects_CXX=
13281 predeps_CXX=
13282 postdeps_CXX=
13283 compiler_lib_search_path_CXX=
13284
13285 cat > conftest.$ac_ext <<_LT_EOF
13286 class Foo
13287 {
13288 public:
13289   Foo (void) { a = 0; }
13290 private:
13291   int a;
13292 };
13293 _LT_EOF
13294
13295 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13296   (eval $ac_compile) 2>&5
13297   ac_status=$?
13298   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13299   test $ac_status = 0; }; then
13300   # Parse the compiler output and extract the necessary
13301   # objects, libraries and library flags.
13302
13303   # Sentinel used to keep track of whether or not we are before
13304   # the conftest object file.
13305   pre_test_object_deps_done=no
13306
13307   for p in `eval "$output_verbose_link_cmd"`; do
13308     case $p in
13309
13310     -L* | -R* | -l*)
13311        # Some compilers place space between "-{L,R}" and the path.
13312        # Remove the space.
13313        if test $p = "-L" ||
13314           test $p = "-R"; then
13315          prev=$p
13316          continue
13317        else
13318          prev=
13319        fi
13320
13321        if test "$pre_test_object_deps_done" = no; then
13322          case $p in
13323          -L* | -R*)
13324            # Internal compiler library paths should come after those
13325            # provided the user.  The postdeps already come after the
13326            # user supplied libs so there is no need to process them.
13327            if test -z "$compiler_lib_search_path_CXX"; then
13328              compiler_lib_search_path_CXX="${prev}${p}"
13329            else
13330              compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13331            fi
13332            ;;
13333          # The "-l" case would never come before the object being
13334          # linked, so don't bother handling this case.
13335          esac
13336        else
13337          if test -z "$postdeps_CXX"; then
13338            postdeps_CXX="${prev}${p}"
13339          else
13340            postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13341          fi
13342        fi
13343        ;;
13344
13345     *.$objext)
13346        # This assumes that the test object file only shows up
13347        # once in the compiler output.
13348        if test "$p" = "conftest.$objext"; then
13349          pre_test_object_deps_done=yes
13350          continue
13351        fi
13352
13353        if test "$pre_test_object_deps_done" = no; then
13354          if test -z "$predep_objects_CXX"; then
13355            predep_objects_CXX="$p"
13356          else
13357            predep_objects_CXX="$predep_objects_CXX $p"
13358          fi
13359        else
13360          if test -z "$postdep_objects_CXX"; then
13361            postdep_objects_CXX="$p"
13362          else
13363            postdep_objects_CXX="$postdep_objects_CXX $p"
13364          fi
13365        fi
13366        ;;
13367
13368     *) ;; # Ignore the rest.
13369
13370     esac
13371   done
13372
13373   # Clean up.
13374   rm -f a.out a.exe
13375 else
13376   echo "libtool.m4: error: problem compiling CXX test program"
13377 fi
13378
13379 $RM -f confest.$objext
13380
13381 # PORTME: override above test on systems where it is broken
13382 case $host_os in
13383 interix[3-9]*)
13384   # Interix 3.5 installs completely hosed .la files for C++, so rather than
13385   # hack all around it, let's just trust "g++" to DTRT.
13386   predep_objects_CXX=
13387   postdep_objects_CXX=
13388   postdeps_CXX=
13389   ;;
13390
13391 linux*)
13392   case `$CC -V 2>&1 | sed 5q` in
13393   *Sun\ C*)
13394     # Sun C++ 5.9
13395
13396     # The more standards-conforming stlport4 library is
13397     # incompatible with the Cstd library. Avoid specifying
13398     # it if it's in CXXFLAGS. Ignore libCrun as
13399     # -library=stlport4 depends on it.
13400     case " $CXX $CXXFLAGS " in
13401     *" -library=stlport4 "*)
13402       solaris_use_stlport4=yes
13403       ;;
13404     esac
13405
13406     if test "$solaris_use_stlport4" != yes; then
13407       postdeps_CXX='-library=Cstd -library=Crun'
13408     fi
13409     ;;
13410   esac
13411   ;;
13412
13413 solaris*)
13414   case $cc_basename in
13415   CC*)
13416     # The more standards-conforming stlport4 library is
13417     # incompatible with the Cstd library. Avoid specifying
13418     # it if it's in CXXFLAGS. Ignore libCrun as
13419     # -library=stlport4 depends on it.
13420     case " $CXX $CXXFLAGS " in
13421     *" -library=stlport4 "*)
13422       solaris_use_stlport4=yes
13423       ;;
13424     esac
13425
13426     # Adding this requires a known-good setup of shared libraries for
13427     # Sun compiler versions before 5.6, else PIC objects from an old
13428     # archive will be linked into the output, leading to subtle bugs.
13429     if test "$solaris_use_stlport4" != yes; then
13430       postdeps_CXX='-library=Cstd -library=Crun'
13431     fi
13432     ;;
13433   esac
13434   ;;
13435 esac
13436
13437
13438 case " $postdeps_CXX " in
13439 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13440 esac
13441  compiler_lib_search_dirs_CXX=
13442 if test -n "${compiler_lib_search_path_CXX}"; then
13443  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13444 fi
13445
13446
13447
13448
13449
13450
13451
13452
13453
13454
13455
13456
13457
13458
13459
13460
13461
13462
13463
13464
13465
13466
13467
13468
13469
13470
13471
13472
13473
13474
13475
13476     lt_prog_compiler_wl_CXX=
13477 lt_prog_compiler_pic_CXX=
13478 lt_prog_compiler_static_CXX=
13479
13480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13481 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13482
13483   # C++ specific cases for pic, static, wl, etc.
13484   if test "$GXX" = yes; then
13485     lt_prog_compiler_wl_CXX='-Wl,'
13486     lt_prog_compiler_static_CXX='-static'
13487
13488     case $host_os in
13489     aix*)
13490       # All AIX code is PIC.
13491       if test "$host_cpu" = ia64; then
13492         # AIX 5 now supports IA64 processor
13493         lt_prog_compiler_static_CXX='-Bstatic'
13494       fi
13495       ;;
13496
13497     amigaos*)
13498       case $host_cpu in
13499       powerpc)
13500             # see comment about AmigaOS4 .so support
13501             lt_prog_compiler_pic_CXX='-fPIC'
13502         ;;
13503       m68k)
13504             # FIXME: we need at least 68020 code to build shared libraries, but
13505             # adding the `-m68020' flag to GCC prevents building anything better,
13506             # like `-m68040'.
13507             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13508         ;;
13509       esac
13510       ;;
13511
13512     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13513       # PIC is the default for these OSes.
13514       ;;
13515     mingw* | cygwin* | os2* | pw32* | cegcc*)
13516       # This hack is so that the source file can tell whether it is being
13517       # built for inclusion in a dll (and should export symbols for example).
13518       # Although the cygwin gcc ignores -fPIC, still need this for old-style
13519       # (--disable-auto-import) libraries
13520       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13521       ;;
13522     darwin* | rhapsody*)
13523       # PIC is the default on this platform
13524       # Common symbols not allowed in MH_DYLIB files
13525       lt_prog_compiler_pic_CXX='-fno-common'
13526       ;;
13527     *djgpp*)
13528       # DJGPP does not support shared libraries at all
13529       lt_prog_compiler_pic_CXX=
13530       ;;
13531     interix[3-9]*)
13532       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13533       # Instead, we relocate shared libraries at runtime.
13534       ;;
13535     sysv4*MP*)
13536       if test -d /usr/nec; then
13537         lt_prog_compiler_pic_CXX=-Kconform_pic
13538       fi
13539       ;;
13540     hpux*)
13541       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13542       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
13543       # sets the default TLS model and affects inlining.
13544       case $host_cpu in
13545       hppa*64*)
13546         ;;
13547       *)
13548         lt_prog_compiler_pic_CXX='-fPIC'
13549         ;;
13550       esac
13551       ;;
13552     *qnx* | *nto*)
13553       # QNX uses GNU C++, but need to define -shared option too, otherwise
13554       # it will coredump.
13555       lt_prog_compiler_pic_CXX='-fPIC -shared'
13556       ;;
13557     *)
13558       lt_prog_compiler_pic_CXX='-fPIC'
13559       ;;
13560     esac
13561   else
13562     case $host_os in
13563       aix[4-9]*)
13564         # All AIX code is PIC.
13565         if test "$host_cpu" = ia64; then
13566           # AIX 5 now supports IA64 processor
13567           lt_prog_compiler_static_CXX='-Bstatic'
13568         else
13569           lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13570         fi
13571         ;;
13572       chorus*)
13573         case $cc_basename in
13574         cxch68*)
13575           # Green Hills C++ Compiler
13576           # _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"
13577           ;;
13578         esac
13579         ;;
13580       dgux*)
13581         case $cc_basename in
13582           ec++*)
13583             lt_prog_compiler_pic_CXX='-KPIC'
13584             ;;
13585           ghcx*)
13586             # Green Hills C++ Compiler
13587             lt_prog_compiler_pic_CXX='-pic'
13588             ;;
13589           *)
13590             ;;
13591         esac
13592         ;;
13593       freebsd* | dragonfly*)
13594         # FreeBSD uses GNU C++
13595         ;;
13596       hpux9* | hpux10* | hpux11*)
13597         case $cc_basename in
13598           CC*)
13599             lt_prog_compiler_wl_CXX='-Wl,'
13600             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13601             if test "$host_cpu" != ia64; then
13602               lt_prog_compiler_pic_CXX='+Z'
13603             fi
13604             ;;
13605           aCC*)
13606             lt_prog_compiler_wl_CXX='-Wl,'
13607             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13608             case $host_cpu in
13609             hppa*64*|ia64*)
13610               # +Z the default
13611               ;;
13612             *)
13613               lt_prog_compiler_pic_CXX='+Z'
13614               ;;
13615             esac
13616             ;;
13617           *)
13618             ;;
13619         esac
13620         ;;
13621       interix*)
13622         # This is c89, which is MS Visual C++ (no shared libs)
13623         # Anyone wants to do a port?
13624         ;;
13625       irix5* | irix6* | nonstopux*)
13626         case $cc_basename in
13627           CC*)
13628             lt_prog_compiler_wl_CXX='-Wl,'
13629             lt_prog_compiler_static_CXX='-non_shared'
13630             # CC pic flag -KPIC is the default.
13631             ;;
13632           *)
13633             ;;
13634         esac
13635         ;;
13636       linux* | k*bsd*-gnu | kopensolaris*-gnu)
13637         case $cc_basename in
13638           KCC*)
13639             # KAI C++ Compiler
13640             lt_prog_compiler_wl_CXX='--backend -Wl,'
13641             lt_prog_compiler_pic_CXX='-fPIC'
13642             ;;
13643           ecpc* )
13644             # old Intel C++ for x86_64 which still supported -KPIC.
13645             lt_prog_compiler_wl_CXX='-Wl,'
13646             lt_prog_compiler_pic_CXX='-KPIC'
13647             lt_prog_compiler_static_CXX='-static'
13648             ;;
13649           icpc* )
13650             # Intel C++, used to be incompatible with GCC.
13651             # ICC 10 doesn't accept -KPIC any more.
13652             lt_prog_compiler_wl_CXX='-Wl,'
13653             lt_prog_compiler_pic_CXX='-fPIC'
13654             lt_prog_compiler_static_CXX='-static'
13655             ;;
13656           pgCC* | pgcpp*)
13657             # Portland Group C++ compiler
13658             lt_prog_compiler_wl_CXX='-Wl,'
13659             lt_prog_compiler_pic_CXX='-fpic'
13660             lt_prog_compiler_static_CXX='-Bstatic'
13661             ;;
13662           cxx*)
13663             # Compaq C++
13664             # Make sure the PIC flag is empty.  It appears that all Alpha
13665             # Linux and Compaq Tru64 Unix objects are PIC.
13666             lt_prog_compiler_pic_CXX=
13667             lt_prog_compiler_static_CXX='-non_shared'
13668             ;;
13669           xlc* | xlC*)
13670             # IBM XL 8.0 on PPC
13671             lt_prog_compiler_wl_CXX='-Wl,'
13672             lt_prog_compiler_pic_CXX='-qpic'
13673             lt_prog_compiler_static_CXX='-qstaticlink'
13674             ;;
13675           *)
13676             case `$CC -V 2>&1 | sed 5q` in
13677             *Sun\ C*)
13678               # Sun C++ 5.9
13679               lt_prog_compiler_pic_CXX='-KPIC'
13680               lt_prog_compiler_static_CXX='-Bstatic'
13681               lt_prog_compiler_wl_CXX='-Qoption ld '
13682               ;;
13683             esac
13684             ;;
13685         esac
13686         ;;
13687       lynxos*)
13688         ;;
13689       m88k*)
13690         ;;
13691       mvs*)
13692         case $cc_basename in
13693           cxx*)
13694             lt_prog_compiler_pic_CXX='-W c,exportall'
13695             ;;
13696           *)
13697             ;;
13698         esac
13699         ;;
13700       netbsd*)
13701         ;;
13702       *qnx* | *nto*)
13703         # QNX uses GNU C++, but need to define -shared option too, otherwise
13704         # it will coredump.
13705         lt_prog_compiler_pic_CXX='-fPIC -shared'
13706         ;;
13707       osf3* | osf4* | osf5*)
13708         case $cc_basename in
13709           KCC*)
13710             lt_prog_compiler_wl_CXX='--backend -Wl,'
13711             ;;
13712           RCC*)
13713             # Rational C++ 2.4.1
13714             lt_prog_compiler_pic_CXX='-pic'
13715             ;;
13716           cxx*)
13717             # Digital/Compaq C++
13718             lt_prog_compiler_wl_CXX='-Wl,'
13719             # Make sure the PIC flag is empty.  It appears that all Alpha
13720             # Linux and Compaq Tru64 Unix objects are PIC.
13721             lt_prog_compiler_pic_CXX=
13722             lt_prog_compiler_static_CXX='-non_shared'
13723             ;;
13724           *)
13725             ;;
13726         esac
13727         ;;
13728       psos*)
13729         ;;
13730       solaris*)
13731         case $cc_basename in
13732           CC*)
13733             # Sun C++ 4.2, 5.x and Centerline C++
13734             lt_prog_compiler_pic_CXX='-KPIC'
13735             lt_prog_compiler_static_CXX='-Bstatic'
13736             lt_prog_compiler_wl_CXX='-Qoption ld '
13737             ;;
13738           gcx*)
13739             # Green Hills C++ Compiler
13740             lt_prog_compiler_pic_CXX='-PIC'
13741             ;;
13742           *)
13743             ;;
13744         esac
13745         ;;
13746       sunos4*)
13747         case $cc_basename in
13748           CC*)
13749             # Sun C++ 4.x
13750             lt_prog_compiler_pic_CXX='-pic'
13751             lt_prog_compiler_static_CXX='-Bstatic'
13752             ;;
13753           lcc*)
13754             # Lucid
13755             lt_prog_compiler_pic_CXX='-pic'
13756             ;;
13757           *)
13758             ;;
13759         esac
13760         ;;
13761       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13762         case $cc_basename in
13763           CC*)
13764             lt_prog_compiler_wl_CXX='-Wl,'
13765             lt_prog_compiler_pic_CXX='-KPIC'
13766             lt_prog_compiler_static_CXX='-Bstatic'
13767             ;;
13768         esac
13769         ;;
13770       tandem*)
13771         case $cc_basename in
13772           NCC*)
13773             # NonStop-UX NCC 3.20
13774             lt_prog_compiler_pic_CXX='-KPIC'
13775             ;;
13776           *)
13777             ;;
13778         esac
13779         ;;
13780       vxworks*)
13781         ;;
13782       *)
13783         lt_prog_compiler_can_build_shared_CXX=no
13784         ;;
13785     esac
13786   fi
13787
13788 case $host_os in
13789   # For platforms which do not support PIC, -DPIC is meaningless:
13790   *djgpp*)
13791     lt_prog_compiler_pic_CXX=
13792     ;;
13793   *)
13794     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13795     ;;
13796 esac
13797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13798 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13799
13800
13801
13802 #
13803 # Check to make sure the PIC flag actually works.
13804 #
13805 if test -n "$lt_prog_compiler_pic_CXX"; then
13806   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13807 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13808 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13809   $as_echo_n "(cached) " >&6
13810 else
13811   lt_cv_prog_compiler_pic_works_CXX=no
13812    ac_outfile=conftest.$ac_objext
13813    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13814    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13815    # Insert the option either (1) after the last *FLAGS variable, or
13816    # (2) before a word containing "conftest.", or (3) at the end.
13817    # Note that $ac_compile itself does not contain backslashes and begins
13818    # with a dollar sign (not a hyphen), so the echo should work correctly.
13819    # The option is referenced via a variable to avoid confusing sed.
13820    lt_compile=`echo "$ac_compile" | $SED \
13821    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13822    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13823    -e 's:$: $lt_compiler_flag:'`
13824    (eval echo "\"\$as_me:13824: $lt_compile\"" >&5)
13825    (eval "$lt_compile" 2>conftest.err)
13826    ac_status=$?
13827    cat conftest.err >&5
13828    echo "$as_me:13828: \$? = $ac_status" >&5
13829    if (exit $ac_status) && test -s "$ac_outfile"; then
13830      # The compiler can only warn and ignore the option if not recognized
13831      # So say no if there are warnings other than the usual output.
13832      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
13833      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13834      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13835        lt_cv_prog_compiler_pic_works_CXX=yes
13836      fi
13837    fi
13838    $RM conftest*
13839
13840 fi
13841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13842 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13843
13844 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13845     case $lt_prog_compiler_pic_CXX in
13846      "" | " "*) ;;
13847      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13848      esac
13849 else
13850     lt_prog_compiler_pic_CXX=
13851      lt_prog_compiler_can_build_shared_CXX=no
13852 fi
13853
13854 fi
13855
13856
13857
13858 #
13859 # Check to make sure the static flag actually works.
13860 #
13861 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13863 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13864 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13865   $as_echo_n "(cached) " >&6
13866 else
13867   lt_cv_prog_compiler_static_works_CXX=no
13868    save_LDFLAGS="$LDFLAGS"
13869    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13870    echo "$lt_simple_link_test_code" > conftest.$ac_ext
13871    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13872      # The linker can only warn and ignore the option if not recognized
13873      # So say no if there are warnings
13874      if test -s conftest.err; then
13875        # Append any errors to the config.log.
13876        cat conftest.err 1>&5
13877        $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
13878        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13879        if diff conftest.exp conftest.er2 >/dev/null; then
13880          lt_cv_prog_compiler_static_works_CXX=yes
13881        fi
13882      else
13883        lt_cv_prog_compiler_static_works_CXX=yes
13884      fi
13885    fi
13886    $RM -r conftest*
13887    LDFLAGS="$save_LDFLAGS"
13888
13889 fi
13890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13891 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13892
13893 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13894     :
13895 else
13896     lt_prog_compiler_static_CXX=
13897 fi
13898
13899
13900
13901
13902     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13903 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13904 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13905   $as_echo_n "(cached) " >&6
13906 else
13907   lt_cv_prog_compiler_c_o_CXX=no
13908    $RM -r conftest 2>/dev/null
13909    mkdir conftest
13910    cd conftest
13911    mkdir out
13912    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13913
13914    lt_compiler_flag="-o out/conftest2.$ac_objext"
13915    # Insert the option either (1) after the last *FLAGS variable, or
13916    # (2) before a word containing "conftest.", or (3) at the end.
13917    # Note that $ac_compile itself does not contain backslashes and begins
13918    # with a dollar sign (not a hyphen), so the echo should work correctly.
13919    lt_compile=`echo "$ac_compile" | $SED \
13920    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13921    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13922    -e 's:$: $lt_compiler_flag:'`
13923    (eval echo "\"\$as_me:13923: $lt_compile\"" >&5)
13924    (eval "$lt_compile" 2>out/conftest.err)
13925    ac_status=$?
13926    cat out/conftest.err >&5
13927    echo "$as_me:13927: \$? = $ac_status" >&5
13928    if (exit $ac_status) && test -s out/conftest2.$ac_objext
13929    then
13930      # The compiler can only warn and ignore the option if not recognized
13931      # So say no if there are warnings
13932      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
13933      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13934      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13935        lt_cv_prog_compiler_c_o_CXX=yes
13936      fi
13937    fi
13938    chmod u+w . 2>&5
13939    $RM conftest*
13940    # SGI C++ compiler will create directory out/ii_files/ for
13941    # template instantiation
13942    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13943    $RM out/* && rmdir out
13944    cd ..
13945    $RM -r conftest
13946    $RM conftest*
13947
13948 fi
13949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13950 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13951
13952
13953
13954     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13955 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13956 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13957   $as_echo_n "(cached) " >&6
13958 else
13959   lt_cv_prog_compiler_c_o_CXX=no
13960    $RM -r conftest 2>/dev/null
13961    mkdir conftest
13962    cd conftest
13963    mkdir out
13964    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13965
13966    lt_compiler_flag="-o out/conftest2.$ac_objext"
13967    # Insert the option either (1) after the last *FLAGS variable, or
13968    # (2) before a word containing "conftest.", or (3) at the end.
13969    # Note that $ac_compile itself does not contain backslashes and begins
13970    # with a dollar sign (not a hyphen), so the echo should work correctly.
13971    lt_compile=`echo "$ac_compile" | $SED \
13972    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13973    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13974    -e 's:$: $lt_compiler_flag:'`
13975    (eval echo "\"\$as_me:13975: $lt_compile\"" >&5)
13976    (eval "$lt_compile" 2>out/conftest.err)
13977    ac_status=$?
13978    cat out/conftest.err >&5
13979    echo "$as_me:13979: \$? = $ac_status" >&5
13980    if (exit $ac_status) && test -s out/conftest2.$ac_objext
13981    then
13982      # The compiler can only warn and ignore the option if not recognized
13983      # So say no if there are warnings
13984      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
13985      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13986      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13987        lt_cv_prog_compiler_c_o_CXX=yes
13988      fi
13989    fi
13990    chmod u+w . 2>&5
13991    $RM conftest*
13992    # SGI C++ compiler will create directory out/ii_files/ for
13993    # template instantiation
13994    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13995    $RM out/* && rmdir out
13996    cd ..
13997    $RM -r conftest
13998    $RM conftest*
13999
14000 fi
14001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14002 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14003
14004
14005
14006
14007 hard_links="nottested"
14008 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14009   # do not overwrite the value of need_locks provided by the user
14010   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14011 $as_echo_n "checking if we can lock with hard links... " >&6; }
14012   hard_links=yes
14013   $RM conftest*
14014   ln conftest.a conftest.b 2>/dev/null && hard_links=no
14015   touch conftest.a
14016   ln conftest.a conftest.b 2>&5 || hard_links=no
14017   ln conftest.a conftest.b 2>/dev/null && hard_links=no
14018   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14019 $as_echo "$hard_links" >&6; }
14020   if test "$hard_links" = no; then
14021     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14022 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14023     need_locks=warn
14024   fi
14025 else
14026   need_locks=no
14027 fi
14028
14029
14030
14031     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14032 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14033
14034   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14035   case $host_os in
14036   aix[4-9]*)
14037     # If we're using GNU nm, then we don't want the "-C" option.
14038     # -C means demangle to AIX nm, but means don't demangle with GNU nm
14039     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14040       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'
14041     else
14042       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'
14043     fi
14044     ;;
14045   pw32*)
14046     export_symbols_cmds_CXX="$ltdll_cmds"
14047   ;;
14048   cygwin* | mingw* | cegcc*)
14049     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'
14050   ;;
14051   *)
14052     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14053   ;;
14054   esac
14055   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14056
14057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14058 $as_echo "$ld_shlibs_CXX" >&6; }
14059 test "$ld_shlibs_CXX" = no && can_build_shared=no
14060
14061 with_gnu_ld_CXX=$with_gnu_ld
14062
14063
14064
14065
14066
14067
14068 #
14069 # Do we need to explicitly link libc?
14070 #
14071 case "x$archive_cmds_need_lc_CXX" in
14072 x|xyes)
14073   # Assume -lc should be added
14074   archive_cmds_need_lc_CXX=yes
14075
14076   if test "$enable_shared" = yes && test "$GCC" = yes; then
14077     case $archive_cmds_CXX in
14078     *'~'*)
14079       # FIXME: we may have to deal with multi-command sequences.
14080       ;;
14081     '$CC '*)
14082       # Test whether the compiler implicitly links with -lc since on some
14083       # systems, -lgcc has to come before -lc. If gcc already passes -lc
14084       # to ld, don't add -lc before -lgcc.
14085       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14086 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14087 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14088   $as_echo_n "(cached) " >&6
14089 else
14090   $RM conftest*
14091         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14092
14093         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14094   (eval $ac_compile) 2>&5
14095   ac_status=$?
14096   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14097   test $ac_status = 0; } 2>conftest.err; then
14098           soname=conftest
14099           lib=conftest
14100           libobjs=conftest.$ac_objext
14101           deplibs=
14102           wl=$lt_prog_compiler_wl_CXX
14103           pic_flag=$lt_prog_compiler_pic_CXX
14104           compiler_flags=-v
14105           linker_flags=-v
14106           verstring=
14107           output_objdir=.
14108           libname=conftest
14109           lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14110           allow_undefined_flag_CXX=
14111           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14112   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14113   ac_status=$?
14114   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14115   test $ac_status = 0; }
14116           then
14117             lt_cv_archive_cmds_need_lc_CXX=no
14118           else
14119             lt_cv_archive_cmds_need_lc_CXX=yes
14120           fi
14121           allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14122         else
14123           cat conftest.err 1>&5
14124         fi
14125         $RM conftest*
14126
14127 fi
14128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14129 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14130       archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14131       ;;
14132     esac
14133   fi
14134   ;;
14135 esac
14136
14137
14138
14139
14140
14141
14142
14143
14144
14145
14146
14147
14148
14149
14150
14151
14152
14153
14154
14155
14156
14157
14158
14159
14160
14161
14162
14163
14164
14165
14166
14167
14168
14169
14170
14171
14172
14173
14174
14175
14176
14177
14178
14179
14180
14181
14182
14183
14184
14185
14186
14187
14188
14189
14190
14191
14192
14193
14194
14195
14196
14197
14198
14199
14200     { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14201 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14202
14203 library_names_spec=
14204 libname_spec='lib$name'
14205 soname_spec=
14206 shrext_cmds=".so"
14207 postinstall_cmds=
14208 postuninstall_cmds=
14209 finish_cmds=
14210 finish_eval=
14211 shlibpath_var=
14212 shlibpath_overrides_runpath=unknown
14213 version_type=none
14214 dynamic_linker="$host_os ld.so"
14215 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14216 need_lib_prefix=unknown
14217 hardcode_into_libs=no
14218
14219 # when you set need_version to no, make sure it does not cause -set_version
14220 # flags to be left without arguments
14221 need_version=unknown
14222
14223 case $host_os in
14224 aix3*)
14225   version_type=linux
14226   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14227   shlibpath_var=LIBPATH
14228
14229   # AIX 3 has no versioning support, so we append a major version to the name.
14230   soname_spec='${libname}${release}${shared_ext}$major'
14231   ;;
14232
14233 aix[4-9]*)
14234   version_type=linux
14235   need_lib_prefix=no
14236   need_version=no
14237   hardcode_into_libs=yes
14238   if test "$host_cpu" = ia64; then
14239     # AIX 5 supports IA64
14240     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14241     shlibpath_var=LD_LIBRARY_PATH
14242   else
14243     # With GCC up to 2.95.x, collect2 would create an import file
14244     # for dependence libraries.  The import file would start with
14245     # the line `#! .'.  This would cause the generated library to
14246     # depend on `.', always an invalid library.  This was fixed in
14247     # development snapshots of GCC prior to 3.0.
14248     case $host_os in
14249       aix4 | aix4.[01] | aix4.[01].*)
14250       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14251            echo ' yes '
14252            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14253         :
14254       else
14255         can_build_shared=no
14256       fi
14257       ;;
14258     esac
14259     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14260     # soname into executable. Probably we can add versioning support to
14261     # collect2, so additional links can be useful in future.
14262     if test "$aix_use_runtimelinking" = yes; then
14263       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14264       # instead of lib<name>.a to let people know that these are not
14265       # typical AIX shared libraries.
14266       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14267     else
14268       # We preserve .a as extension for shared libraries through AIX4.2
14269       # and later when we are not doing run time linking.
14270       library_names_spec='${libname}${release}.a $libname.a'
14271       soname_spec='${libname}${release}${shared_ext}$major'
14272     fi
14273     shlibpath_var=LIBPATH
14274   fi
14275   ;;
14276
14277 amigaos*)
14278   case $host_cpu in
14279   powerpc)
14280     # Since July 2007 AmigaOS4 officially supports .so libraries.
14281     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14282     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14283     ;;
14284   m68k)
14285     library_names_spec='$libname.ixlibrary $libname.a'
14286     # Create ${libname}_ixlibrary.a entries in /sys/libs.
14287     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'
14288     ;;
14289   esac
14290   ;;
14291
14292 beos*)
14293   library_names_spec='${libname}${shared_ext}'
14294   dynamic_linker="$host_os ld.so"
14295   shlibpath_var=LIBRARY_PATH
14296   ;;
14297
14298 bsdi[45]*)
14299   version_type=linux
14300   need_version=no
14301   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14302   soname_spec='${libname}${release}${shared_ext}$major'
14303   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14304   shlibpath_var=LD_LIBRARY_PATH
14305   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14306   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14307   # the default ld.so.conf also contains /usr/contrib/lib and
14308   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14309   # libtool to hard-code these into programs
14310   ;;
14311
14312 cygwin* | mingw* | pw32* | cegcc*)
14313   version_type=windows
14314   shrext_cmds=".dll"
14315   need_version=no
14316   need_lib_prefix=no
14317
14318   case $GCC,$host_os in
14319   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14320     library_names_spec='$libname.dll.a'
14321     # DLL is installed to $(libdir)/../bin by postinstall_cmds
14322     postinstall_cmds='base_file=`basename \${file}`~
14323       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14324       dldir=$destdir/`dirname \$dlpath`~
14325       test -d \$dldir || mkdir -p \$dldir~
14326       $install_prog $dir/$dlname \$dldir/$dlname~
14327       chmod a+x \$dldir/$dlname~
14328       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14329         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14330       fi'
14331     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14332       dlpath=$dir/\$dldll~
14333        $RM \$dlpath'
14334     shlibpath_overrides_runpath=yes
14335
14336     case $host_os in
14337     cygwin*)
14338       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14339       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14340       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
14341       ;;
14342     mingw* | cegcc*)
14343       # MinGW DLLs use traditional 'lib' prefix
14344       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14345       sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14346       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
14347         # It is most probably a Windows format PATH printed by
14348         # mingw gcc, but we are running on Cygwin. Gcc prints its search
14349         # path with ; separators, and with drive letters. We can handle the
14350         # drive letters (cygwin fileutils understands them), so leave them,
14351         # especially as we might pass files found there to a mingw objdump,
14352         # which wouldn't understand a cygwinified path. Ahh.
14353         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14354       else
14355         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
14356       fi
14357       ;;
14358     pw32*)
14359       # pw32 DLLs use 'pw' prefix rather than 'lib'
14360       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14361       ;;
14362     esac
14363     ;;
14364
14365   *)
14366     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14367     ;;
14368   esac
14369   dynamic_linker='Win32 ld.exe'
14370   # FIXME: first we should search . and the directory the executable is in
14371   shlibpath_var=PATH
14372   ;;
14373
14374 darwin* | rhapsody*)
14375   dynamic_linker="$host_os dyld"
14376   version_type=darwin
14377   need_lib_prefix=no
14378   need_version=no
14379   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14380   soname_spec='${libname}${release}${major}$shared_ext'
14381   shlibpath_overrides_runpath=yes
14382   shlibpath_var=DYLD_LIBRARY_PATH
14383   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14384
14385   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14386   ;;
14387
14388 dgux*)
14389   version_type=linux
14390   need_lib_prefix=no
14391   need_version=no
14392   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14393   soname_spec='${libname}${release}${shared_ext}$major'
14394   shlibpath_var=LD_LIBRARY_PATH
14395   ;;
14396
14397 freebsd1*)
14398   dynamic_linker=no
14399   ;;
14400
14401 freebsd* | dragonfly*)
14402   # DragonFly does not have aout.  When/if they implement a new
14403   # versioning mechanism, adjust this.
14404   if test -x /usr/bin/objformat; then
14405     objformat=`/usr/bin/objformat`
14406   else
14407     case $host_os in
14408     freebsd[123]*) objformat=aout ;;
14409     *) objformat=elf ;;
14410     esac
14411   fi
14412   version_type=freebsd-$objformat
14413   case $version_type in
14414     freebsd-elf*)
14415       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14416       need_version=no
14417       need_lib_prefix=no
14418       ;;
14419     freebsd-*)
14420       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14421       need_version=yes
14422       ;;
14423   esac
14424   shlibpath_var=LD_LIBRARY_PATH
14425   case $host_os in
14426   freebsd2*)
14427     shlibpath_overrides_runpath=yes
14428     ;;
14429   freebsd3.[01]* | freebsdelf3.[01]*)
14430     shlibpath_overrides_runpath=yes
14431     hardcode_into_libs=yes
14432     ;;
14433   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14434   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14435     shlibpath_overrides_runpath=no
14436     hardcode_into_libs=yes
14437     ;;
14438   *) # from 4.6 on, and DragonFly
14439     shlibpath_overrides_runpath=yes
14440     hardcode_into_libs=yes
14441     ;;
14442   esac
14443   ;;
14444
14445 gnu*)
14446   version_type=linux
14447   need_lib_prefix=no
14448   need_version=no
14449   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14450   soname_spec='${libname}${release}${shared_ext}$major'
14451   shlibpath_var=LD_LIBRARY_PATH
14452   hardcode_into_libs=yes
14453   ;;
14454
14455 hpux9* | hpux10* | hpux11*)
14456   # Give a soname corresponding to the major version so that dld.sl refuses to
14457   # link against other versions.
14458   version_type=sunos
14459   need_lib_prefix=no
14460   need_version=no
14461   case $host_cpu in
14462   ia64*)
14463     shrext_cmds='.so'
14464     hardcode_into_libs=yes
14465     dynamic_linker="$host_os dld.so"
14466     shlibpath_var=LD_LIBRARY_PATH
14467     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14468     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14469     soname_spec='${libname}${release}${shared_ext}$major'
14470     if test "X$HPUX_IA64_MODE" = X32; then
14471       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14472     else
14473       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14474     fi
14475     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14476     ;;
14477   hppa*64*)
14478     shrext_cmds='.sl'
14479     hardcode_into_libs=yes
14480     dynamic_linker="$host_os dld.sl"
14481     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14482     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14483     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14484     soname_spec='${libname}${release}${shared_ext}$major'
14485     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14486     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14487     ;;
14488   *)
14489     shrext_cmds='.sl'
14490     dynamic_linker="$host_os dld.sl"
14491     shlibpath_var=SHLIB_PATH
14492     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14493     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14494     soname_spec='${libname}${release}${shared_ext}$major'
14495     ;;
14496   esac
14497   # HP-UX runs *really* slowly unless shared libraries are mode 555.
14498   postinstall_cmds='chmod 555 $lib'
14499   ;;
14500
14501 interix[3-9]*)
14502   version_type=linux
14503   need_lib_prefix=no
14504   need_version=no
14505   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14506   soname_spec='${libname}${release}${shared_ext}$major'
14507   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14508   shlibpath_var=LD_LIBRARY_PATH
14509   shlibpath_overrides_runpath=no
14510   hardcode_into_libs=yes
14511   ;;
14512
14513 irix5* | irix6* | nonstopux*)
14514   case $host_os in
14515     nonstopux*) version_type=nonstopux ;;
14516     *)
14517         if test "$lt_cv_prog_gnu_ld" = yes; then
14518                 version_type=linux
14519         else
14520                 version_type=irix
14521         fi ;;
14522   esac
14523   need_lib_prefix=no
14524   need_version=no
14525   soname_spec='${libname}${release}${shared_ext}$major'
14526   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14527   case $host_os in
14528   irix5* | nonstopux*)
14529     libsuff= shlibsuff=
14530     ;;
14531   *)
14532     case $LD in # libtool.m4 will add one of these switches to LD
14533     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14534       libsuff= shlibsuff= libmagic=32-bit;;
14535     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14536       libsuff=32 shlibsuff=N32 libmagic=N32;;
14537     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14538       libsuff=64 shlibsuff=64 libmagic=64-bit;;
14539     *) libsuff= shlibsuff= libmagic=never-match;;
14540     esac
14541     ;;
14542   esac
14543   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14544   shlibpath_overrides_runpath=no
14545   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14546   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14547   hardcode_into_libs=yes
14548   ;;
14549
14550 # No shared lib support for Linux oldld, aout, or coff.
14551 linux*oldld* | linux*aout* | linux*coff*)
14552   dynamic_linker=no
14553   ;;
14554
14555 # This must be Linux ELF.
14556 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14557   version_type=linux
14558   need_lib_prefix=no
14559   need_version=no
14560   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14561   soname_spec='${libname}${release}${shared_ext}$major'
14562   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14563   shlibpath_var=LD_LIBRARY_PATH
14564   shlibpath_overrides_runpath=no
14565
14566   # Some binutils ld are patched to set DT_RUNPATH
14567   if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14568   $as_echo_n "(cached) " >&6
14569 else
14570   lt_cv_shlibpath_overrides_runpath=no
14571     save_LDFLAGS=$LDFLAGS
14572     save_libdir=$libdir
14573     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14574          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14575     if test x$gcc_no_link = xyes; then
14576   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14577 fi
14578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14579 /* end confdefs.h.  */
14580
14581 int
14582 main ()
14583 {
14584
14585   ;
14586   return 0;
14587 }
14588 _ACEOF
14589 if ac_fn_cxx_try_link "$LINENO"; then :
14590   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14591   lt_cv_shlibpath_overrides_runpath=yes
14592 fi
14593 fi
14594 rm -f core conftest.err conftest.$ac_objext \
14595     conftest$ac_exeext conftest.$ac_ext
14596     LDFLAGS=$save_LDFLAGS
14597     libdir=$save_libdir
14598
14599 fi
14600
14601   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14602
14603   # This implies no fast_install, which is unacceptable.
14604   # Some rework will be needed to allow for fast_install
14605   # before this can be enabled.
14606   hardcode_into_libs=yes
14607
14608   # Append ld.so.conf contents to the search path
14609   if test -f /etc/ld.so.conf; then
14610     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/#.*//;/^[       ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
14611     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14612   fi
14613
14614   # We used to test for /lib/ld.so.1 and disable shared libraries on
14615   # powerpc, because MkLinux only supported shared libraries with the
14616   # GNU dynamic linker.  Since this was broken with cross compilers,
14617   # most powerpc-linux boxes support dynamic linking these days and
14618   # people can always --disable-shared, the test was removed, and we
14619   # assume the GNU/Linux dynamic linker is in use.
14620   dynamic_linker='GNU/Linux ld.so'
14621   ;;
14622
14623 netbsd*)
14624   version_type=sunos
14625   need_lib_prefix=no
14626   need_version=no
14627   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14628     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14629     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14630     dynamic_linker='NetBSD (a.out) ld.so'
14631   else
14632     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14633     soname_spec='${libname}${release}${shared_ext}$major'
14634     dynamic_linker='NetBSD ld.elf_so'
14635   fi
14636   shlibpath_var=LD_LIBRARY_PATH
14637   shlibpath_overrides_runpath=yes
14638   hardcode_into_libs=yes
14639   ;;
14640
14641 newsos6)
14642   version_type=linux
14643   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14644   shlibpath_var=LD_LIBRARY_PATH
14645   shlibpath_overrides_runpath=yes
14646   ;;
14647
14648 *nto* | *qnx*)
14649   version_type=qnx
14650   need_lib_prefix=no
14651   need_version=no
14652   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14653   soname_spec='${libname}${release}${shared_ext}$major'
14654   shlibpath_var=LD_LIBRARY_PATH
14655   shlibpath_overrides_runpath=no
14656   hardcode_into_libs=yes
14657   dynamic_linker='ldqnx.so'
14658   ;;
14659
14660 openbsd*)
14661   version_type=sunos
14662   sys_lib_dlsearch_path_spec="/usr/lib"
14663   need_lib_prefix=no
14664   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14665   case $host_os in
14666     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
14667     *)                          need_version=no  ;;
14668   esac
14669   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14670   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14671   shlibpath_var=LD_LIBRARY_PATH
14672   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14673     case $host_os in
14674       openbsd2.[89] | openbsd2.[89].*)
14675         shlibpath_overrides_runpath=no
14676         ;;
14677       *)
14678         shlibpath_overrides_runpath=yes
14679         ;;
14680       esac
14681   else
14682     shlibpath_overrides_runpath=yes
14683   fi
14684   ;;
14685
14686 os2*)
14687   libname_spec='$name'
14688   shrext_cmds=".dll"
14689   need_lib_prefix=no
14690   library_names_spec='$libname${shared_ext} $libname.a'
14691   dynamic_linker='OS/2 ld.exe'
14692   shlibpath_var=LIBPATH
14693   ;;
14694
14695 osf3* | osf4* | osf5*)
14696   version_type=osf
14697   need_lib_prefix=no
14698   need_version=no
14699   soname_spec='${libname}${release}${shared_ext}$major'
14700   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14701   shlibpath_var=LD_LIBRARY_PATH
14702   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14703   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14704   ;;
14705
14706 rdos*)
14707   dynamic_linker=no
14708   ;;
14709
14710 solaris*)
14711   version_type=linux
14712   need_lib_prefix=no
14713   need_version=no
14714   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14715   soname_spec='${libname}${release}${shared_ext}$major'
14716   shlibpath_var=LD_LIBRARY_PATH
14717   shlibpath_overrides_runpath=yes
14718   hardcode_into_libs=yes
14719   # ldd complains unless libraries are executable
14720   postinstall_cmds='chmod +x $lib'
14721   ;;
14722
14723 sunos4*)
14724   version_type=sunos
14725   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14726   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14727   shlibpath_var=LD_LIBRARY_PATH
14728   shlibpath_overrides_runpath=yes
14729   if test "$with_gnu_ld" = yes; then
14730     need_lib_prefix=no
14731   fi
14732   need_version=yes
14733   ;;
14734
14735 sysv4 | sysv4.3*)
14736   version_type=linux
14737   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14738   soname_spec='${libname}${release}${shared_ext}$major'
14739   shlibpath_var=LD_LIBRARY_PATH
14740   case $host_vendor in
14741     sni)
14742       shlibpath_overrides_runpath=no
14743       need_lib_prefix=no
14744       runpath_var=LD_RUN_PATH
14745       ;;
14746     siemens)
14747       need_lib_prefix=no
14748       ;;
14749     motorola)
14750       need_lib_prefix=no
14751       need_version=no
14752       shlibpath_overrides_runpath=no
14753       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14754       ;;
14755   esac
14756   ;;
14757
14758 sysv4*MP*)
14759   if test -d /usr/nec ;then
14760     version_type=linux
14761     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14762     soname_spec='$libname${shared_ext}.$major'
14763     shlibpath_var=LD_LIBRARY_PATH
14764   fi
14765   ;;
14766
14767 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14768   version_type=freebsd-elf
14769   need_lib_prefix=no
14770   need_version=no
14771   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14772   soname_spec='${libname}${release}${shared_ext}$major'
14773   shlibpath_var=LD_LIBRARY_PATH
14774   shlibpath_overrides_runpath=yes
14775   hardcode_into_libs=yes
14776   if test "$with_gnu_ld" = yes; then
14777     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14778   else
14779     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14780     case $host_os in
14781       sco3.2v5*)
14782         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14783         ;;
14784     esac
14785   fi
14786   sys_lib_dlsearch_path_spec='/usr/lib'
14787   ;;
14788
14789 tpf*)
14790   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
14791   version_type=linux
14792   need_lib_prefix=no
14793   need_version=no
14794   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14795   shlibpath_var=LD_LIBRARY_PATH
14796   shlibpath_overrides_runpath=no
14797   hardcode_into_libs=yes
14798   ;;
14799
14800 uts4*)
14801   version_type=linux
14802   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14803   soname_spec='${libname}${release}${shared_ext}$major'
14804   shlibpath_var=LD_LIBRARY_PATH
14805   ;;
14806
14807 *)
14808   dynamic_linker=no
14809   ;;
14810 esac
14811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14812 $as_echo "$dynamic_linker" >&6; }
14813 test "$dynamic_linker" = no && can_build_shared=no
14814
14815 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14816 if test "$GCC" = yes; then
14817   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14818 fi
14819
14820 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14821   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14822 fi
14823 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14824   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14825 fi
14826
14827
14828
14829
14830
14831
14832
14833
14834
14835
14836
14837
14838
14839
14840
14841
14842
14843
14844
14845
14846
14847
14848
14849
14850
14851
14852
14853
14854
14855
14856
14857
14858
14859
14860
14861
14862     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14863 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14864 hardcode_action_CXX=
14865 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14866    test -n "$runpath_var_CXX" ||
14867    test "X$hardcode_automatic_CXX" = "Xyes" ; then
14868
14869   # We can hardcode non-existent directories.
14870   if test "$hardcode_direct_CXX" != no &&
14871      # If the only mechanism to avoid hardcoding is shlibpath_var, we
14872      # have to relink, otherwise we might link with an installed library
14873      # when we should be linking with a yet-to-be-installed one
14874      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14875      test "$hardcode_minus_L_CXX" != no; then
14876     # Linking always hardcodes the temporary library directory.
14877     hardcode_action_CXX=relink
14878   else
14879     # We can link without hardcoding, and we can hardcode nonexisting dirs.
14880     hardcode_action_CXX=immediate
14881   fi
14882 else
14883   # We cannot hardcode anything, or else we can only hardcode existing
14884   # directories.
14885   hardcode_action_CXX=unsupported
14886 fi
14887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14888 $as_echo "$hardcode_action_CXX" >&6; }
14889
14890 if test "$hardcode_action_CXX" = relink ||
14891    test "$inherit_rpath_CXX" = yes; then
14892   # Fast installation is not supported
14893   enable_fast_install=no
14894 elif test "$shlibpath_overrides_runpath" = yes ||
14895      test "$enable_shared" = no; then
14896   # Fast installation is not necessary
14897   enable_fast_install=needless
14898 fi
14899
14900
14901
14902
14903
14904
14905
14906   fi # test -n "$compiler"
14907
14908   CC=$lt_save_CC
14909   LDCXX=$LD
14910   LD=$lt_save_LD
14911   GCC=$lt_save_GCC
14912   with_gnu_ld=$lt_save_with_gnu_ld
14913   lt_cv_path_LDCXX=$lt_cv_path_LD
14914   lt_cv_path_LD=$lt_save_path_LD
14915   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14916   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14917 fi # test "$_lt_caught_CXX_error" != yes
14918
14919 ac_ext=c
14920 ac_cpp='$CPP $CPPFLAGS'
14921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14924
14925
14926
14927
14928
14929
14930
14931
14932
14933
14934
14935
14936
14937         ac_config_commands="$ac_config_commands libtool"
14938
14939
14940
14941
14942 # Only expand once:
14943
14944
14945
14946
14947
14948 # Possibly disable most of the library.
14949 ## TODO: Consider skipping unncessary tests altogether in this case, rather
14950 ## than just ignoring the results.  Faster /and/ more correct, win win.
14951
14952   # Check whether --enable-hosted-libstdcxx was given.
14953 if test "${enable_hosted_libstdcxx+set}" = set; then :
14954   enableval=$enable_hosted_libstdcxx;
14955 else
14956   case "$host" in
14957         arm*-*-symbianelf*)
14958             enable_hosted_libstdcxx=no
14959             ;;
14960         *)
14961             enable_hosted_libstdcxx=yes
14962             ;;
14963      esac
14964 fi
14965
14966   if test "$enable_hosted_libstdcxx" = no; then
14967     { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
14968 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
14969     is_hosted=no
14970     hosted_define=0
14971     enable_abi_check=no
14972     enable_libstdcxx_pch=no
14973   else
14974     is_hosted=yes
14975     hosted_define=1
14976   fi
14977
14978
14979 cat >>confdefs.h <<_ACEOF
14980 #define _GLIBCXX_HOSTED $hosted_define
14981 _ACEOF
14982
14983
14984
14985 # Enable compiler support that doesn't require linking.
14986
14987   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exception model to use" >&5
14988 $as_echo_n "checking for exception model to use... " >&6; }
14989
14990   ac_ext=cpp
14991 ac_cpp='$CXXCPP $CPPFLAGS'
14992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14995
14996    # Check whether --enable-sjlj-exceptions was given.
14997 if test "${enable_sjlj_exceptions+set}" = set; then :
14998   enableval=$enable_sjlj_exceptions;
14999       case "$enableval" in
15000        yes|no|auto) ;;
15001        *) as_fn_error "Unknown argument to enable/disable sjlj-exceptions" "$LINENO" 5 ;;
15002                           esac
15003
15004 else
15005   enable_sjlj_exceptions=auto
15006 fi
15007
15008
15009
15010   if test $enable_sjlj_exceptions = auto; then
15011     # Botheration.  Now we've got to detect the exception model.  Link tests
15012     # against libgcc.a are problematic since we've not been given proper -L
15013     # bits for single-tree newlib and libgloss.
15014     #
15015     # Fake what AC_TRY_COMPILE does.  XXX Look at redoing this new-style.
15016     cat > conftest.$ac_ext << EOF
15017 #line 15017 "configure"
15018 struct S { ~S(); };
15019 void bar();
15020 void foo()
15021 {
15022   S s;
15023   bar();
15024 }
15025 EOF
15026     old_CXXFLAGS="$CXXFLAGS"
15027     CXXFLAGS=-S
15028     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15029   (eval $ac_compile) 2>&5
15030   ac_status=$?
15031   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15032   test $ac_status = 0; }; then
15033       if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
15034         enable_sjlj_exceptions=yes
15035       elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
15036         enable_sjlj_exceptions=no
15037       elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
15038         enable_sjlj_exceptions=no
15039       fi
15040     fi
15041     CXXFLAGS="$old_CXXFLAGS"
15042     rm -f conftest*
15043   fi
15044
15045   # This is a tad weird, for hysterical raisins.  We have to map
15046   # enable/disable to two different models.
15047   case $enable_sjlj_exceptions in
15048     yes)
15049
15050 $as_echo "#define _GLIBCXX_SJLJ_EXCEPTIONS 1" >>confdefs.h
15051
15052       ac_exception_model_name=sjlj
15053       ;;
15054     no)
15055       ac_exception_model_name="call frame"
15056       ;;
15057     *)
15058       as_fn_error "unable to detect exception model" "$LINENO" 5
15059       ;;
15060   esac
15061  ac_ext=c
15062 ac_cpp='$CPP $CPPFLAGS'
15063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15066
15067  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_exception_model_name" >&5
15068 $as_echo "$ac_exception_model_name" >&6; }
15069
15070
15071    # Check whether --enable-libstdcxx-pch was given.
15072 if test "${enable_libstdcxx_pch+set}" = set; then :
15073   enableval=$enable_libstdcxx_pch;
15074       case "$enableval" in
15075        yes|no) ;;
15076        *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15077       esac
15078
15079 else
15080   enable_libstdcxx_pch=$is_hosted
15081 fi
15082
15083
15084   if test $enable_libstdcxx_pch = yes; then
15085     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15086 $as_echo_n "checking for compiler with PCH support... " >&6; }
15087 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
15088   $as_echo_n "(cached) " >&6
15089 else
15090   ac_save_CXXFLAGS="$CXXFLAGS"
15091        CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15092
15093        ac_ext=cpp
15094 ac_cpp='$CXXCPP $CPPFLAGS'
15095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15098
15099        echo '#include <math.h>' > conftest.h
15100        if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15101                           -o conftest.h.gch 1>&5 2>&1 &&
15102                 echo '#error "pch failed"' > conftest.h &&
15103           echo '#include "conftest.h"' > conftest.cc &&
15104                $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15105        then
15106          glibcxx_cv_prog_CXX_pch=yes
15107        else
15108          glibcxx_cv_prog_CXX_pch=no
15109        fi
15110        rm -f conftest*
15111        CXXFLAGS=$ac_save_CXXFLAGS
15112        ac_ext=c
15113 ac_cpp='$CPP $CPPFLAGS'
15114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15117
15118
15119 fi
15120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15121 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15122     enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15123   fi
15124
15125   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15126 $as_echo_n "checking for enabled PCH... " >&6; }
15127   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15128 $as_echo "$enable_libstdcxx_pch" >&6; }
15129
15130
15131   if test $enable_libstdcxx_pch = yes; then
15132     glibcxx_PCHFLAGS="-include bits/stdc++.h"
15133   else
15134     glibcxx_PCHFLAGS=""
15135   fi
15136
15137
15138
15139   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15140 $as_echo_n "checking for thread model used by GCC... " >&6; }
15141   target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15142   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15143 $as_echo "$target_thread_file" >&6; }
15144
15145   if test $target_thread_file != single; then
15146
15147 $as_echo "#define HAVE_GTHR_DEFAULT 1" >>confdefs.h
15148
15149   fi
15150
15151   glibcxx_thread_h=gthr-$target_thread_file.h
15152
15153     gthread_file=${toplevel_srcdir}/gcc/${glibcxx_thread_h}
15154   if grep __GTHREADS $gthread_file >/dev/null 2>&1 ; then
15155     enable_thread=yes
15156   else
15157    enable_thread=no
15158   fi
15159
15160
15161
15162
15163
15164   ac_ext=cpp
15165 ac_cpp='$CXXCPP $CPPFLAGS'
15166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15169
15170   old_CXXFLAGS="$CXXFLAGS"
15171
15172   # Compile unoptimized.
15173   CXXFLAGS='-O0 -S'
15174
15175   # Fake what AC_TRY_COMPILE does, without linking as this is
15176   # unnecessary for a builtins test.
15177
15178     cat > conftest.$ac_ext << EOF
15179 #line 15179 "configure"
15180 int main()
15181 {
15182   typedef bool atomic_type;
15183   atomic_type c1;
15184   atomic_type c2;
15185   const atomic_type c3(0);
15186   __sync_fetch_and_add(&c1, c2);
15187   __sync_val_compare_and_swap(&c1, c3, c2);
15188   __sync_lock_test_and_set(&c1, c3);
15189   __sync_lock_release(&c1);
15190   __sync_synchronize();
15191   return 0;
15192 }
15193 EOF
15194
15195     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15196 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15197     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15198   (eval $ac_compile) 2>&5
15199   ac_status=$?
15200   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15201   test $ac_status = 0; }; then
15202       if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15203         enable_atomic_builtinsb=no
15204       else
15205
15206 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_1 1" >>confdefs.h
15207
15208         enable_atomic_builtinsb=yes
15209       fi
15210     fi
15211     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_atomic_builtinsb" >&5
15212 $as_echo "$enable_atomic_builtinsb" >&6; }
15213     rm -f conftest*
15214
15215     cat > conftest.$ac_ext << EOF
15216 #line 15216 "configure"
15217 int main()
15218 {
15219   typedef short atomic_type;
15220   atomic_type c1;
15221   atomic_type c2;
15222   const atomic_type c3(0);
15223   __sync_fetch_and_add(&c1, c2);
15224   __sync_val_compare_and_swap(&c1, c3, c2);
15225   __sync_lock_test_and_set(&c1, c3);
15226   __sync_lock_release(&c1);
15227   __sync_synchronize();
15228   return 0;
15229 }
15230 EOF
15231
15232     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15233 $as_echo_n "checking for atomic builtins for short... " >&6; }
15234     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15235   (eval $ac_compile) 2>&5
15236   ac_status=$?
15237   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15238   test $ac_status = 0; }; then
15239       if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15240         enable_atomic_builtinss=no
15241       else
15242
15243 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_2 1" >>confdefs.h
15244
15245         enable_atomic_builtinss=yes
15246       fi
15247     fi
15248     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_atomic_builtinss" >&5
15249 $as_echo "$enable_atomic_builtinss" >&6; }
15250     rm -f conftest*
15251
15252     cat > conftest.$ac_ext << EOF
15253 #line 15253 "configure"
15254 int main()
15255 {
15256   // NB: _Atomic_word not necessarily int.
15257   typedef int atomic_type;
15258   atomic_type c1;
15259   atomic_type c2;
15260   const atomic_type c3(0);
15261   __sync_fetch_and_add(&c1, c2);
15262   __sync_val_compare_and_swap(&c1, c3, c2);
15263   __sync_lock_test_and_set(&c1, c3);
15264   __sync_lock_release(&c1);
15265   __sync_synchronize();
15266   return 0;
15267 }
15268 EOF
15269
15270     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15271 $as_echo_n "checking for atomic builtins for int... " >&6; }
15272     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15273   (eval $ac_compile) 2>&5
15274   ac_status=$?
15275   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15276   test $ac_status = 0; }; then
15277       if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15278         enable_atomic_builtinsi=no
15279       else
15280
15281 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_4 1" >>confdefs.h
15282
15283         enable_atomic_builtinsi=yes
15284       fi
15285     fi
15286     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_atomic_builtinsi" >&5
15287 $as_echo "$enable_atomic_builtinsi" >&6; }
15288     rm -f conftest*
15289
15290     cat > conftest.$ac_ext << EOF
15291 #line 15291 "configure"
15292 int main()
15293 {
15294   typedef long long atomic_type;
15295   atomic_type c1;
15296   atomic_type c2;
15297   const atomic_type c3(0);
15298   __sync_fetch_and_add(&c1, c2);
15299   __sync_val_compare_and_swap(&c1, c3, c2);
15300   __sync_lock_test_and_set(&c1, c3);
15301   __sync_lock_release(&c1);
15302   __sync_synchronize();
15303   return 0;
15304 }
15305 EOF
15306
15307     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15308 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15309     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15310   (eval $ac_compile) 2>&5
15311   ac_status=$?
15312   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15313   test $ac_status = 0; }; then
15314       if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15315         enable_atomic_builtinsll=no
15316       else
15317
15318 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_8 1" >>confdefs.h
15319
15320         enable_atomic_builtinsll=yes
15321       fi
15322     fi
15323     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_atomic_builtinsll" >&5
15324 $as_echo "$enable_atomic_builtinsll" >&6; }
15325     rm -f conftest*
15326
15327
15328   CXXFLAGS="$old_CXXFLAGS"
15329   ac_ext=c
15330 ac_cpp='$CPP $CPPFLAGS'
15331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15334
15335
15336   # Set atomicity_dir to builtins if either of above tests pass.
15337   if test $enable_atomic_builtinsi = yes || test $enable_atomic_builtinsb = yes ; then
15338     atomicity_dir=cpu/generic/atomicity_builtins
15339   fi
15340
15341   # If still generic, set to mutex.
15342   if test $atomicity_dir = "cpu/generic" ; then
15343     atomicity_dir=cpu/generic/atomicity_mutex
15344     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15345 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15346       if test "x$target_thread_file" = xsingle; then
15347         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15348 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15349         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15350 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15351       else
15352         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15353 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15354         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15355 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15356       fi
15357   fi
15358
15359
15360
15361 # Checks for compiler support that doesn't require linking.
15362
15363   # All these tests are for C++; save the language and the compiler flags.
15364   # The CXXFLAGS thing is suspicious, but based on similar bits previously
15365   # found in GLIBCXX_CONFIGURE.
15366
15367   ac_ext=cpp
15368 ac_cpp='$CXXCPP $CPPFLAGS'
15369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15372
15373   ac_test_CXXFLAGS="${CXXFLAGS+set}"
15374   ac_save_CXXFLAGS="$CXXFLAGS"
15375
15376   # Check for maintainer-mode bits.
15377   if test x"$USE_MAINTAINER_MODE" = xno; then
15378     WERROR=''
15379   else
15380     WERROR='-Werror'
15381   fi
15382
15383   # Check for -ffunction-sections -fdata-sections
15384   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15385 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15386   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15387   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15388 /* end confdefs.h.  */
15389 int foo; void bar() { };
15390 int
15391 main ()
15392 {
15393
15394   ;
15395   return 0;
15396 }
15397 _ACEOF
15398 if ac_fn_cxx_try_compile "$LINENO"; then :
15399   ac_fdsections=yes
15400 else
15401   ac_fdsections=no
15402 fi
15403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15404   if test "$ac_test_CXXFLAGS" = set; then
15405     CXXFLAGS="$ac_save_CXXFLAGS"
15406   else
15407     # this is the suspicious part
15408     CXXFLAGS=''
15409   fi
15410   if test x"$ac_fdsections" = x"yes"; then
15411     SECTION_FLAGS='-ffunction-sections -fdata-sections'
15412   fi
15413   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15414 $as_echo "$ac_fdsections" >&6; }
15415
15416   ac_ext=c
15417 ac_cpp='$CPP $CPPFLAGS'
15418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15421
15422
15423
15424
15425
15426 # Enable all the variable C++ runtime options that don't require linking.
15427
15428   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15429 $as_echo_n "checking for underlying I/O to use... " >&6; }
15430    # Check whether --enable-cstdio was given.
15431 if test "${enable_cstdio+set}" = set; then :
15432   enableval=$enable_cstdio;
15433       case "$enableval" in
15434        stdio) ;;
15435        *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15436                           esac
15437
15438 else
15439   enable_cstdio=stdio
15440 fi
15441
15442
15443
15444   # Now that libio has been removed, you can have any color you want as long
15445   # as it's black.  This is one big no-op until other packages are added, but
15446   # showing the framework never hurts.
15447   case ${enable_cstdio} in
15448     stdio)
15449       CSTDIO_H=config/io/c_io_stdio.h
15450       BASIC_FILE_H=config/io/basic_file_stdio.h
15451       BASIC_FILE_CC=config/io/basic_file_stdio.cc
15452       { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15453 $as_echo "stdio" >&6; }
15454       ;;
15455   esac
15456
15457
15458
15459
15460
15461
15462    # Check whether --enable-clocale was given.
15463 if test "${enable_clocale+set}" = set; then :
15464   enableval=$enable_clocale;
15465       case "$enableval" in
15466        generic|gnu|ieee_1003.1-2001|yes|no|auto) ;;
15467        *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15468                           esac
15469
15470 else
15471   enable_clocale=auto
15472 fi
15473
15474
15475
15476   # Deal with gettext issues.  Default to not using it (=no) until we detect
15477   # support for it later.  Let the user turn it off via --e/d, but let that
15478   # default to on for easier handling.
15479   USE_NLS=no
15480   # Check whether --enable-nls was given.
15481 if test "${enable_nls+set}" = set; then :
15482   enableval=$enable_nls;
15483 else
15484   enable_nls=yes
15485 fi
15486
15487
15488   # Either a known packaage, or "auto"
15489   if test $enable_clocale = no || test $enable_clocale = yes; then
15490      enable_clocale=auto
15491   fi
15492   enable_clocale_flag=$enable_clocale
15493
15494   # Probe for locale model to use if none specified.
15495   # Default to "generic".
15496   if test $enable_clocale_flag = auto; then
15497     case ${target_os} in
15498       linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15499         enable_clocale_flag=gnu
15500         ;;
15501       darwin* | freebsd*)
15502         enable_clocale_flag=darwin
15503         ;;
15504       *)
15505         enable_clocale_flag=generic
15506         ;;
15507     esac
15508   fi
15509
15510   # Sanity check model, and test for special functionality.
15511   if test $enable_clocale_flag = gnu; then
15512     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15513 /* end confdefs.h.  */
15514
15515     #include <features.h>
15516     #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
15517       _GLIBCXX_ok
15518     #endif
15519
15520 _ACEOF
15521 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15522   $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15523   enable_clocale_flag=gnu
15524 else
15525   enable_clocale_flag=generic
15526 fi
15527 rm -f conftest*
15528
15529
15530     if test $enable_clocale = auto; then
15531       # Test for bugs early in glibc-2.2.x series
15532       if test "$cross_compiling" = yes; then :
15533   enable_clocale_flag=generic
15534 else
15535   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15536 /* end confdefs.h.  */
15537
15538       #define _GNU_SOURCE 1
15539       #include <locale.h>
15540       #include <string.h>
15541       #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
15542       extern __typeof(newlocale) __newlocale;
15543       extern __typeof(duplocale) __duplocale;
15544       extern __typeof(strcoll_l) __strcoll_l;
15545       #endif
15546       int main()
15547       {
15548         const char __one[] = "Äuglein Augmen";
15549         const char __two[] = "Äuglein";
15550         int i;
15551         int j;
15552         __locale_t        loc;
15553         __locale_t        loc_dup;
15554         loc = __newlocale(1 << LC_ALL, "de_DE", 0);
15555         loc_dup = __duplocale(loc);
15556         i = __strcoll_l(__one, __two, loc);
15557         j = __strcoll_l(__one, __two, loc_dup);
15558         return 0;
15559       }
15560
15561 _ACEOF
15562 if ac_fn_c_try_run "$LINENO"; then :
15563   enable_clocale_flag=gnu
15564 else
15565   enable_clocale_flag=generic
15566 fi
15567 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15568   conftest.$ac_objext conftest.beam conftest.$ac_ext
15569 fi
15570
15571     fi
15572
15573     # Set it to scream when it hurts.
15574     ac_save_CFLAGS="$CFLAGS"
15575     CFLAGS="-Wimplicit-function-declaration -Werror"
15576
15577     # Use strxfrm_l if available.
15578     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15579 /* end confdefs.h.  */
15580 #define _GNU_SOURCE 1
15581                     #include <string.h>
15582                     #include <locale.h>
15583 int
15584 main ()
15585 {
15586 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15587   ;
15588   return 0;
15589 }
15590 _ACEOF
15591 if ac_fn_c_try_compile "$LINENO"; then :
15592
15593 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15594
15595 fi
15596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15597
15598     # Use strerror_l if available.
15599     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15600 /* end confdefs.h.  */
15601 #define _GNU_SOURCE 1
15602                     #include <string.h>
15603                     #include <locale.h>
15604 int
15605 main ()
15606 {
15607 __locale_t loc; strerror_l(5, loc);
15608   ;
15609   return 0;
15610 }
15611 _ACEOF
15612 if ac_fn_c_try_compile "$LINENO"; then :
15613
15614 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15615
15616 fi
15617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15618
15619     CFLAGS="$ac_save_CFLAGS"
15620   fi
15621
15622   # Perhaps use strerror_r if available, and strerror_l isn't.
15623   ac_save_CFLAGS="$CFLAGS"
15624   CFLAGS="-Wimplicit-function-declaration -Werror"
15625   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15626 /* end confdefs.h.  */
15627 #define _GNU_SOURCE 1
15628                   #include <string.h>
15629                   #include <locale.h>
15630 int
15631 main ()
15632 {
15633 char s[128]; strerror_r(5, s, 128);
15634   ;
15635   return 0;
15636 }
15637 _ACEOF
15638 if ac_fn_c_try_compile "$LINENO"; then :
15639
15640 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15641
15642 fi
15643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15644   CFLAGS="$ac_save_CFLAGS"
15645
15646   # Set configure bits for specified locale package
15647   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15648 $as_echo_n "checking for C locale to use... " >&6; }
15649   case ${enable_clocale_flag} in
15650     generic)
15651       { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15652 $as_echo "generic" >&6; }
15653
15654       CLOCALE_H=config/locale/generic/c_locale.h
15655       CLOCALE_CC=config/locale/generic/c_locale.cc
15656       CCODECVT_CC=config/locale/generic/codecvt_members.cc
15657       CCOLLATE_CC=config/locale/generic/collate_members.cc
15658       CCTYPE_CC=config/locale/generic/ctype_members.cc
15659       CMESSAGES_H=config/locale/generic/messages_members.h
15660       CMESSAGES_CC=config/locale/generic/messages_members.cc
15661       CMONEY_CC=config/locale/generic/monetary_members.cc
15662       CNUMERIC_CC=config/locale/generic/numeric_members.cc
15663       CTIME_H=config/locale/generic/time_members.h
15664       CTIME_CC=config/locale/generic/time_members.cc
15665       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15666       ;;
15667     darwin)
15668       { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin or freebsd" >&5
15669 $as_echo "darwin or freebsd" >&6; }
15670
15671       CLOCALE_H=config/locale/generic/c_locale.h
15672       CLOCALE_CC=config/locale/generic/c_locale.cc
15673       CCODECVT_CC=config/locale/generic/codecvt_members.cc
15674       CCOLLATE_CC=config/locale/generic/collate_members.cc
15675       CCTYPE_CC=config/locale/darwin/ctype_members.cc
15676       CMESSAGES_H=config/locale/generic/messages_members.h
15677       CMESSAGES_CC=config/locale/generic/messages_members.cc
15678       CMONEY_CC=config/locale/generic/monetary_members.cc
15679       CNUMERIC_CC=config/locale/generic/numeric_members.cc
15680       CTIME_H=config/locale/generic/time_members.h
15681       CTIME_CC=config/locale/generic/time_members.cc
15682       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15683       ;;
15684
15685     gnu)
15686       { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
15687 $as_echo "gnu" >&6; }
15688
15689       # Declare intention to use gettext, and add support for specific
15690       # languages.
15691       # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
15692       ALL_LINGUAS="de fr"
15693
15694       # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
15695       # Extract the first word of "msgfmt", so it can be a program name with args.
15696 set dummy msgfmt; ac_word=$2
15697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15698 $as_echo_n "checking for $ac_word... " >&6; }
15699 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
15700   $as_echo_n "(cached) " >&6
15701 else
15702   if test -n "$check_msgfmt"; then
15703   ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
15704 else
15705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15706 for as_dir in $PATH
15707 do
15708   IFS=$as_save_IFS
15709   test -z "$as_dir" && as_dir=.
15710     for ac_exec_ext in '' $ac_executable_extensions; do
15711   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15712     ac_cv_prog_check_msgfmt="yes"
15713     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15714     break 2
15715   fi
15716 done
15717   done
15718 IFS=$as_save_IFS
15719
15720   test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
15721 fi
15722 fi
15723 check_msgfmt=$ac_cv_prog_check_msgfmt
15724 if test -n "$check_msgfmt"; then
15725   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
15726 $as_echo "$check_msgfmt" >&6; }
15727 else
15728   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15729 $as_echo "no" >&6; }
15730 fi
15731
15732
15733       if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
15734         USE_NLS=yes
15735       fi
15736       # Export the build objects.
15737       for ling in $ALL_LINGUAS; do \
15738         glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
15739         glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
15740       done
15741
15742
15743
15744       CLOCALE_H=config/locale/gnu/c_locale.h
15745       CLOCALE_CC=config/locale/gnu/c_locale.cc
15746       CCODECVT_CC=config/locale/gnu/codecvt_members.cc
15747       CCOLLATE_CC=config/locale/gnu/collate_members.cc
15748       CCTYPE_CC=config/locale/gnu/ctype_members.cc
15749       CMESSAGES_H=config/locale/gnu/messages_members.h
15750       CMESSAGES_CC=config/locale/gnu/messages_members.cc
15751       CMONEY_CC=config/locale/gnu/monetary_members.cc
15752       CNUMERIC_CC=config/locale/gnu/numeric_members.cc
15753       CTIME_H=config/locale/gnu/time_members.h
15754       CTIME_CC=config/locale/gnu/time_members.cc
15755       CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
15756       ;;
15757     ieee_1003.1-2001)
15758       { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
15759 $as_echo "IEEE 1003.1" >&6; }
15760
15761       CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
15762       CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
15763       CCODECVT_CC=config/locale/generic/codecvt_members.cc
15764       CCOLLATE_CC=config/locale/generic/collate_members.cc
15765       CCTYPE_CC=config/locale/generic/ctype_members.cc
15766       CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
15767       CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
15768       CMONEY_CC=config/locale/generic/monetary_members.cc
15769       CNUMERIC_CC=config/locale/generic/numeric_members.cc
15770       CTIME_H=config/locale/generic/time_members.h
15771       CTIME_CC=config/locale/generic/time_members.cc
15772       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15773       ;;
15774   esac
15775
15776   # This is where the testsuite looks for locale catalogs, using the
15777   # -DLOCALEDIR define during testsuite compilation.
15778   glibcxx_localedir=${glibcxx_builddir}/po/share/locale
15779
15780
15781   # A standalone libintl (e.g., GNU libintl) may be in use.
15782   if test $USE_NLS = yes; then
15783     for ac_header in libintl.h
15784 do :
15785   ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
15786 if test "x$ac_cv_header_libintl_h" = x""yes; then :
15787   cat >>confdefs.h <<_ACEOF
15788 #define HAVE_LIBINTL_H 1
15789 _ACEOF
15790
15791 else
15792   USE_NLS=no
15793 fi
15794
15795 done
15796
15797     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
15798 $as_echo_n "checking for library containing gettext... " >&6; }
15799 if test "${ac_cv_search_gettext+set}" = set; then :
15800   $as_echo_n "(cached) " >&6
15801 else
15802   ac_func_search_save_LIBS=$LIBS
15803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15804 /* end confdefs.h.  */
15805
15806 /* Override any GCC internal prototype to avoid an error.
15807    Use char because int might match the return type of a GCC
15808    builtin and then its argument prototype would still apply.  */
15809 #ifdef __cplusplus
15810 extern "C"
15811 #endif
15812 char gettext ();
15813 int
15814 main ()
15815 {
15816 return gettext ();
15817   ;
15818   return 0;
15819 }
15820 _ACEOF
15821 for ac_lib in '' intl; do
15822   if test -z "$ac_lib"; then
15823     ac_res="none required"
15824   else
15825     ac_res=-l$ac_lib
15826     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
15827   fi
15828   if test x$gcc_no_link = xyes; then
15829   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15830 fi
15831 if ac_fn_c_try_link "$LINENO"; then :
15832   ac_cv_search_gettext=$ac_res
15833 fi
15834 rm -f core conftest.err conftest.$ac_objext \
15835     conftest$ac_exeext
15836   if test "${ac_cv_search_gettext+set}" = set; then :
15837   break
15838 fi
15839 done
15840 if test "${ac_cv_search_gettext+set}" = set; then :
15841
15842 else
15843   ac_cv_search_gettext=no
15844 fi
15845 rm conftest.$ac_ext
15846 LIBS=$ac_func_search_save_LIBS
15847 fi
15848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
15849 $as_echo "$ac_cv_search_gettext" >&6; }
15850 ac_res=$ac_cv_search_gettext
15851 if test "$ac_res" != no; then :
15852   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15853
15854 else
15855   USE_NLS=no
15856 fi
15857
15858   fi
15859   if test $USE_NLS = yes; then
15860
15861 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
15862
15863   fi
15864
15865
15866
15867
15868
15869
15870
15871
15872
15873
15874
15875
15876
15877
15878
15879
15880   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
15881 $as_echo_n "checking for std::allocator base class... " >&6; }
15882    # Check whether --enable-libstdcxx-allocator was given.
15883 if test "${enable_libstdcxx_allocator+set}" = set; then :
15884   enableval=$enable_libstdcxx_allocator;
15885       case "$enableval" in
15886        new|malloc|mt|bitmap|pool|yes|no|auto) ;;
15887        *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
15888                           esac
15889
15890 else
15891   enable_libstdcxx_allocator=auto
15892 fi
15893
15894
15895
15896   # If they didn't use this option switch, or if they specified --enable
15897   # with no specific model, we'll have to look for one.  If they
15898   # specified --disable (???), do likewise.
15899   if test $enable_libstdcxx_allocator = no ||
15900      test $enable_libstdcxx_allocator = yes;
15901   then
15902      enable_libstdcxx_allocator=auto
15903   fi
15904
15905   # Either a known package, or "auto". Auto implies the default choice
15906   # for a particular platform.
15907   enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
15908
15909   # Probe for host-specific support if no specific model is specified.
15910   # Default to "new".
15911   if test $enable_libstdcxx_allocator_flag = auto; then
15912     case ${target_os} in
15913       linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15914         enable_libstdcxx_allocator_flag=new
15915         ;;
15916       *)
15917         enable_libstdcxx_allocator_flag=new
15918         ;;
15919     esac
15920   fi
15921   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
15922 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
15923
15924
15925   # Set configure bits for specified locale package
15926   case ${enable_libstdcxx_allocator_flag} in
15927     bitmap)
15928       ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
15929       ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
15930       ;;
15931     malloc)
15932       ALLOCATOR_H=config/allocator/malloc_allocator_base.h
15933       ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
15934       ;;
15935     mt)
15936       ALLOCATOR_H=config/allocator/mt_allocator_base.h
15937       ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
15938       ;;
15939     new)
15940       ALLOCATOR_H=config/allocator/new_allocator_base.h
15941       ALLOCATOR_NAME=__gnu_cxx::new_allocator
15942       ;;
15943     pool)
15944       ALLOCATOR_H=config/allocator/pool_allocator_base.h
15945       ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
15946       ;;
15947   esac
15948
15949
15950
15951
15952
15953    # Check whether --enable-cheaders was given.
15954 if test "${enable_cheaders+set}" = set; then :
15955   enableval=$enable_cheaders;
15956       case "$enableval" in
15957        c|c_std|c_global) ;;
15958        *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
15959                           esac
15960
15961 else
15962   enable_cheaders=$c_model
15963 fi
15964
15965
15966   { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
15967 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
15968
15969   C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
15970
15971   # Allow overrides to configure.host here.
15972   if test $enable_cheaders = c_global; then
15973      c_compatibility=yes
15974   fi
15975
15976   if test $enable_cheaders = c_global || test $enable_cheaders = c_std; then
15977      c_extra=yes
15978   fi
15979
15980
15981
15982
15983
15984
15985
15986
15987    # Check whether --enable-long-long was given.
15988 if test "${enable_long_long+set}" = set; then :
15989   enableval=$enable_long_long;
15990       case "$enableval" in
15991        yes|no) ;;
15992        *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
15993       esac
15994
15995 else
15996   enable_long_long=yes
15997 fi
15998
15999
16000   if test $enable_long_long = yes; then
16001
16002 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16003
16004   fi
16005   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16006 $as_echo_n "checking for enabled long long specializations... " >&6; }
16007   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16008 $as_echo "$enable_long_long" >&6; }
16009
16010
16011    # Check whether --enable-wchar_t was given.
16012 if test "${enable_wchar_t+set}" = set; then :
16013   enableval=$enable_wchar_t;
16014       case "$enableval" in
16015        yes|no) ;;
16016        *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16017       esac
16018
16019 else
16020   enable_wchar_t=yes
16021 fi
16022
16023
16024
16025   # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16026   for ac_header in wchar.h
16027 do :
16028   ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16029 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16030   cat >>confdefs.h <<_ACEOF
16031 #define HAVE_WCHAR_H 1
16032 _ACEOF
16033  ac_has_wchar_h=yes
16034 else
16035   ac_has_wchar_h=no
16036 fi
16037
16038 done
16039
16040   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16041 $as_echo_n "checking for mbstate_t... " >&6; }
16042   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16043 /* end confdefs.h.  */
16044 #include <wchar.h>
16045 int
16046 main ()
16047 {
16048 mbstate_t teststate;
16049   ;
16050   return 0;
16051 }
16052 _ACEOF
16053 if ac_fn_c_try_compile "$LINENO"; then :
16054   have_mbstate_t=yes
16055 else
16056   have_mbstate_t=no
16057 fi
16058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16059   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16060 $as_echo "$have_mbstate_t" >&6; }
16061   if test x"$have_mbstate_t" = xyes; then
16062
16063 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16064
16065   fi
16066
16067   # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16068   # ac_has_wchar_h.
16069   for ac_header in wctype.h
16070 do :
16071   ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16072 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16073   cat >>confdefs.h <<_ACEOF
16074 #define HAVE_WCTYPE_H 1
16075 _ACEOF
16076  ac_has_wctype_h=yes
16077 else
16078   ac_has_wctype_h=no
16079 fi
16080
16081 done
16082
16083
16084   if test x"$enable_wchar_t" = x"yes"; then
16085
16086
16087     ac_ext=cpp
16088 ac_cpp='$CXXCPP $CPPFLAGS'
16089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16092
16093
16094     if test x"$ac_has_wchar_h" = xyes &&
16095        test x"$ac_has_wctype_h" = xyes; then
16096       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16097 /* end confdefs.h.  */
16098 #include <wchar.h>
16099                       #include <stddef.h>
16100                       wint_t i;
16101                       long l = WEOF;
16102                       long j = WCHAR_MIN;
16103                       long k = WCHAR_MAX;
16104                       namespace test
16105                       {
16106                         using ::btowc;
16107                         using ::fgetwc;
16108                         using ::fgetws;
16109                         using ::fputwc;
16110                         using ::fputws;
16111                         using ::fwide;
16112                         using ::fwprintf;
16113                         using ::fwscanf;
16114                         using ::getwc;
16115                         using ::getwchar;
16116                         using ::mbrlen;
16117                         using ::mbrtowc;
16118                         using ::mbsinit;
16119                         using ::mbsrtowcs;
16120                         using ::putwc;
16121                         using ::putwchar;
16122                         using ::swprintf;
16123                         using ::swscanf;
16124                         using ::ungetwc;
16125                         using ::vfwprintf;
16126                         using ::vswprintf;
16127                         using ::vwprintf;
16128                         using ::wcrtomb;
16129                         using ::wcscat;
16130                         using ::wcschr;
16131                         using ::wcscmp;
16132                         using ::wcscoll;
16133                         using ::wcscpy;
16134                         using ::wcscspn;
16135                         using ::wcsftime;
16136                         using ::wcslen;
16137                         using ::wcsncat;
16138                         using ::wcsncmp;
16139                         using ::wcsncpy;
16140                         using ::wcspbrk;
16141                         using ::wcsrchr;
16142                         using ::wcsrtombs;
16143                         using ::wcsspn;
16144                         using ::wcsstr;
16145                         using ::wcstod;
16146                         using ::wcstok;
16147                         using ::wcstol;
16148                         using ::wcstoul;
16149                         using ::wcsxfrm;
16150                         using ::wctob;
16151                         using ::wmemchr;
16152                         using ::wmemcmp;
16153                         using ::wmemcpy;
16154                         using ::wmemmove;
16155                         using ::wmemset;
16156                         using ::wprintf;
16157                         using ::wscanf;
16158                       }
16159
16160 int
16161 main ()
16162 {
16163
16164   ;
16165   return 0;
16166 }
16167 _ACEOF
16168 if ac_fn_cxx_try_compile "$LINENO"; then :
16169
16170 else
16171   enable_wchar_t=no
16172 fi
16173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16174     else
16175       enable_wchar_t=no
16176     fi
16177
16178     ac_ext=c
16179 ac_cpp='$CPP $CPPFLAGS'
16180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16183
16184   fi
16185
16186   if test x"$enable_wchar_t" = x"yes"; then
16187
16188 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16189
16190   fi
16191
16192   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16193 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16194   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16195 $as_echo "$enable_wchar_t" >&6; }
16196
16197
16198
16199    # Check whether --enable-c99 was given.
16200 if test "${enable_c99+set}" = set; then :
16201   enableval=$enable_c99;
16202       case "$enableval" in
16203        yes|no) ;;
16204        *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16205       esac
16206
16207 else
16208   enable_c99=yes
16209 fi
16210
16211
16212
16213   if test x"$enable_c99" = x"yes"; then
16214
16215
16216   ac_ext=cpp
16217 ac_cpp='$CXXCPP $CPPFLAGS'
16218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16221
16222
16223   # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
16224   # undefined and fake C99 facilities - like pre-standard snprintf - may be
16225   # spuriously enabled.
16226   # Long term, -std=c++0x could be even better, could manage to explicitely
16227   # request C99 facilities to the underlying C headers.
16228   ac_save_CXXFLAGS="$CXXFLAGS"
16229   CXXFLAGS="$CXXFLAGS -std=c++98"
16230   ac_save_LIBS="$LIBS"
16231   ac_save_gcc_no_link="$gcc_no_link"
16232
16233   if test x$gcc_no_link != xyes; then
16234     # Use -fno-exceptions to that the C driver can link these tests without
16235     # hitting undefined references to personality routines.
16236     CXXFLAGS="$CXXFLAGS -fno-exceptions"
16237     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16238 $as_echo_n "checking for sin in -lm... " >&6; }
16239 if test "${ac_cv_lib_m_sin+set}" = set; then :
16240   $as_echo_n "(cached) " >&6
16241 else
16242   ac_check_lib_save_LIBS=$LIBS
16243 LIBS="-lm  $LIBS"
16244 if test x$gcc_no_link = xyes; then
16245   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16246 fi
16247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16248 /* end confdefs.h.  */
16249
16250 /* Override any GCC internal prototype to avoid an error.
16251    Use char because int might match the return type of a GCC
16252    builtin and then its argument prototype would still apply.  */
16253 #ifdef __cplusplus
16254 extern "C"
16255 #endif
16256 char sin ();
16257 int
16258 main ()
16259 {
16260 return sin ();
16261   ;
16262   return 0;
16263 }
16264 _ACEOF
16265 if ac_fn_cxx_try_link "$LINENO"; then :
16266   ac_cv_lib_m_sin=yes
16267 else
16268   ac_cv_lib_m_sin=no
16269 fi
16270 rm -f core conftest.err conftest.$ac_objext \
16271     conftest$ac_exeext conftest.$ac_ext
16272 LIBS=$ac_check_lib_save_LIBS
16273 fi
16274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16275 $as_echo "$ac_cv_lib_m_sin" >&6; }
16276 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16277
16278       LIBS="$LIBS -lm"
16279
16280 else
16281
16282       # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16283       gcc_no_link=yes
16284
16285 fi
16286
16287   fi
16288
16289   # Check for the existence of <math.h> functions used if C99 is enabled.
16290   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h>" >&5
16291 $as_echo_n "checking for ISO C99 support in <math.h>... " >&6; }
16292   if test "${glibcxx_cv_c99_math+set}" = set; then :
16293   $as_echo_n "(cached) " >&6
16294 else
16295
16296   if test x$gcc_no_link = xyes; then
16297   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16298 /* end confdefs.h.  */
16299 #include <math.h>
16300       volatile double d1, d2;
16301       volatile int i;
16302 int
16303 main ()
16304 {
16305 i = fpclassify(d1);
16306       i = isfinite(d1);
16307       i = isinf(d1);
16308       i = isnan(d1);
16309       i = isnormal(d1);
16310       i = signbit(d1);
16311       i = isgreater(d1, d2);
16312       i = isgreaterequal(d1, d2);
16313       i = isless(d1, d2);
16314       i = islessequal(d1, d2);
16315       i = islessgreater(d1, d2);
16316       i = islessgreater(d1, d2);
16317       i = isunordered(d1, d2);
16318
16319   ;
16320   return 0;
16321 }
16322 _ACEOF
16323 if ac_fn_cxx_try_compile "$LINENO"; then :
16324   glibcxx_cv_c99_math=yes
16325 else
16326   glibcxx_cv_c99_math=no
16327 fi
16328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16329 else
16330   if test x$gcc_no_link = xyes; then
16331   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16332 fi
16333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16334 /* end confdefs.h.  */
16335 #include <math.h>
16336       volatile double d1, d2;
16337       volatile int i;
16338 int
16339 main ()
16340 {
16341 i = fpclassify(d1);
16342       i = isfinite(d1);
16343       i = isinf(d1);
16344       i = isnan(d1);
16345       i = isnormal(d1);
16346       i = signbit(d1);
16347       i = isgreater(d1, d2);
16348       i = isgreaterequal(d1, d2);
16349       i = isless(d1, d2);
16350       i = islessequal(d1, d2);
16351       i = islessgreater(d1, d2);
16352       i = islessgreater(d1, d2);
16353       i = isunordered(d1, d2);
16354
16355   ;
16356   return 0;
16357 }
16358 _ACEOF
16359 if ac_fn_cxx_try_link "$LINENO"; then :
16360   glibcxx_cv_c99_math=yes
16361 else
16362   glibcxx_cv_c99_math=no
16363 fi
16364 rm -f core conftest.err conftest.$ac_objext \
16365     conftest$ac_exeext conftest.$ac_ext
16366 fi
16367
16368 fi
16369
16370   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math" >&5
16371 $as_echo "$glibcxx_cv_c99_math" >&6; }
16372   if test x"$glibcxx_cv_c99_math" = x"yes"; then
16373
16374 $as_echo "#define _GLIBCXX_USE_C99_MATH 1" >>confdefs.h
16375
16376   fi
16377
16378   # Check for the existence of <complex.h> complex math functions.
16379   # This is necessary even though libstdc++ uses the builtin versions
16380   # of these functions, because if the builtin cannot be used, a reference
16381   # to the library function is emitted.
16382   for ac_header in tgmath.h
16383 do :
16384   ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16385 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16386   cat >>confdefs.h <<_ACEOF
16387 #define HAVE_TGMATH_H 1
16388 _ACEOF
16389  ac_has_tgmath_h=yes
16390 else
16391   ac_has_tgmath_h=no
16392 fi
16393
16394 done
16395
16396   for ac_header in complex.h
16397 do :
16398   ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16399 if test "x$ac_cv_header_complex_h" = x""yes; then :
16400   cat >>confdefs.h <<_ACEOF
16401 #define HAVE_COMPLEX_H 1
16402 _ACEOF
16403  ac_has_complex_h=yes
16404 else
16405   ac_has_complex_h=no
16406 fi
16407
16408 done
16409
16410   glibcxx_cv_c99_complex=no;
16411   if test x"$ac_has_complex_h" = x"yes"; then
16412     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h>" >&5
16413 $as_echo_n "checking for ISO C99 support in <complex.h>... " >&6; }
16414     if test x$gcc_no_link = xyes; then
16415   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16416 /* end confdefs.h.  */
16417 #include <complex.h>
16418         typedef __complex__ float float_type;
16419         typedef __complex__ double double_type;
16420         typedef __complex__ long double ld_type;
16421         volatile float_type tmpf;
16422         volatile double_type tmpd;
16423         volatile ld_type tmpld;
16424         volatile float f;
16425         volatile double d;
16426         volatile long double ld;
16427 int
16428 main ()
16429 {
16430 f = cabsf(tmpf);
16431         f = cargf(tmpf);
16432         tmpf = ccosf(tmpf);
16433         tmpf = ccoshf(tmpf);
16434         tmpf = cexpf(tmpf);
16435         tmpf = clogf(tmpf);
16436         tmpf = csinf(tmpf);
16437         tmpf = csinhf(tmpf);
16438         tmpf = csqrtf(tmpf);
16439         tmpf = ctanf(tmpf);
16440         tmpf = ctanhf(tmpf);
16441         tmpf = cpowf(tmpf, tmpf);
16442         tmpf = cprojf(tmpf);
16443         d = cabs(tmpd);
16444         d = carg(tmpd);
16445         tmpd = ccos(tmpd);
16446         tmpd = ccosh(tmpd);
16447         tmpd = cexp(tmpd);
16448         tmpd = clog(tmpd);
16449         tmpd = csin(tmpd);
16450         tmpd = csinh(tmpd);
16451         tmpd = csqrt(tmpd);
16452         tmpd = ctan(tmpd);
16453         tmpd = ctanh(tmpd);
16454         tmpd = cpow(tmpd, tmpd);
16455         tmpd = cproj(tmpd);
16456         ld = cabsl(tmpld);
16457         ld = cargl(tmpld);
16458         tmpld = ccosl(tmpld);
16459         tmpld = ccoshl(tmpld);
16460         tmpld = cexpl(tmpld);
16461         tmpld = clogl(tmpld);
16462         tmpld = csinl(tmpld);
16463         tmpld = csinhl(tmpld);
16464         tmpld = csqrtl(tmpld);
16465         tmpld = ctanl(tmpld);
16466         tmpld = ctanhl(tmpld);
16467         tmpld = cpowl(tmpld, tmpld);
16468         tmpld = cprojl(tmpld);
16469
16470   ;
16471   return 0;
16472 }
16473 _ACEOF
16474 if ac_fn_cxx_try_compile "$LINENO"; then :
16475   glibcxx_cv_c99_complex=yes
16476 else
16477   glibcxx_cv_c99_complex=no
16478 fi
16479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16480 else
16481   if test x$gcc_no_link = xyes; then
16482   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16483 fi
16484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16485 /* end confdefs.h.  */
16486 #include <complex.h>
16487         typedef __complex__ float float_type;
16488         typedef __complex__ double double_type;
16489         typedef __complex__ long double ld_type;
16490         volatile float_type tmpf;
16491         volatile double_type tmpd;
16492         volatile ld_type tmpld;
16493         volatile float f;
16494         volatile double d;
16495         volatile long double ld;
16496 int
16497 main ()
16498 {
16499 f = cabsf(tmpf);
16500         f = cargf(tmpf);
16501         tmpf = ccosf(tmpf);
16502         tmpf = ccoshf(tmpf);
16503         tmpf = cexpf(tmpf);
16504         tmpf = clogf(tmpf);
16505         tmpf = csinf(tmpf);
16506         tmpf = csinhf(tmpf);
16507         tmpf = csqrtf(tmpf);
16508         tmpf = ctanf(tmpf);
16509         tmpf = ctanhf(tmpf);
16510         tmpf = cpowf(tmpf, tmpf);
16511         tmpf = cprojf(tmpf);
16512         d = cabs(tmpd);
16513         d = carg(tmpd);
16514         tmpd = ccos(tmpd);
16515         tmpd = ccosh(tmpd);
16516         tmpd = cexp(tmpd);
16517         tmpd = clog(tmpd);
16518         tmpd = csin(tmpd);
16519         tmpd = csinh(tmpd);
16520         tmpd = csqrt(tmpd);
16521         tmpd = ctan(tmpd);
16522         tmpd = ctanh(tmpd);
16523         tmpd = cpow(tmpd, tmpd);
16524         tmpd = cproj(tmpd);
16525         ld = cabsl(tmpld);
16526         ld = cargl(tmpld);
16527         tmpld = ccosl(tmpld);
16528         tmpld = ccoshl(tmpld);
16529         tmpld = cexpl(tmpld);
16530         tmpld = clogl(tmpld);
16531         tmpld = csinl(tmpld);
16532         tmpld = csinhl(tmpld);
16533         tmpld = csqrtl(tmpld);
16534         tmpld = ctanl(tmpld);
16535         tmpld = ctanhl(tmpld);
16536         tmpld = cpowl(tmpld, tmpld);
16537         tmpld = cprojl(tmpld);
16538
16539   ;
16540   return 0;
16541 }
16542 _ACEOF
16543 if ac_fn_cxx_try_link "$LINENO"; then :
16544   glibcxx_cv_c99_complex=yes
16545 else
16546   glibcxx_cv_c99_complex=no
16547 fi
16548 rm -f core conftest.err conftest.$ac_objext \
16549     conftest$ac_exeext conftest.$ac_ext
16550 fi
16551   fi
16552   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex" >&5
16553 $as_echo "$glibcxx_cv_c99_complex" >&6; }
16554   if test x"$glibcxx_cv_c99_complex" = x"yes"; then
16555
16556 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX 1" >>confdefs.h
16557
16558   fi
16559
16560   # Check for the existence in <stdio.h> of vscanf, et. al.
16561   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h>" >&5
16562 $as_echo_n "checking for ISO C99 support in <stdio.h>... " >&6; }
16563   if test "${glibcxx_cv_c99_stdio+set}" = set; then :
16564   $as_echo_n "(cached) " >&6
16565 else
16566
16567   if test x$gcc_no_link = xyes; then
16568   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16569 /* end confdefs.h.  */
16570 #include <stdio.h>
16571       #include <stdarg.h>
16572       void foo(char* fmt, ...)
16573       {
16574         va_list args; va_start(args, fmt);
16575         vfscanf(stderr, "%i", args);
16576         vscanf("%i", args);
16577         vsnprintf(fmt, 0, "%i", args);
16578         vsscanf(fmt, "%i", args);
16579       }
16580 int
16581 main ()
16582 {
16583 snprintf("12", 0, "%i");
16584   ;
16585   return 0;
16586 }
16587 _ACEOF
16588 if ac_fn_cxx_try_compile "$LINENO"; then :
16589   glibcxx_cv_c99_stdio=yes
16590 else
16591   glibcxx_cv_c99_stdio=no
16592 fi
16593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16594 else
16595   if test x$gcc_no_link = xyes; then
16596   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16597 fi
16598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16599 /* end confdefs.h.  */
16600 #include <stdio.h>
16601       #include <stdarg.h>
16602       void foo(char* fmt, ...)
16603       {
16604         va_list args; va_start(args, fmt);
16605         vfscanf(stderr, "%i", args);
16606         vscanf("%i", args);
16607         vsnprintf(fmt, 0, "%i", args);
16608         vsscanf(fmt, "%i", args);
16609       }
16610 int
16611 main ()
16612 {
16613 snprintf("12", 0, "%i");
16614   ;
16615   return 0;
16616 }
16617 _ACEOF
16618 if ac_fn_cxx_try_link "$LINENO"; then :
16619   glibcxx_cv_c99_stdio=yes
16620 else
16621   glibcxx_cv_c99_stdio=no
16622 fi
16623 rm -f core conftest.err conftest.$ac_objext \
16624     conftest$ac_exeext conftest.$ac_ext
16625 fi
16626
16627 fi
16628
16629   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio" >&5
16630 $as_echo "$glibcxx_cv_c99_stdio" >&6; }
16631
16632   # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16633   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h>" >&5
16634 $as_echo_n "checking for ISO C99 support in <stdlib.h>... " >&6; }
16635   if test "${glibcxx_cv_c99_stdlib+set}" = set; then :
16636   $as_echo_n "(cached) " >&6
16637 else
16638
16639   if test x$gcc_no_link = xyes; then
16640   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16641 /* end confdefs.h.  */
16642 #include <stdlib.h>
16643       volatile float f;
16644       volatile long double ld;
16645       volatile unsigned long long ll;
16646       lldiv_t mydivt;
16647 int
16648 main ()
16649 {
16650 char* tmp;
16651       f = strtof("gnu", &tmp);
16652       ld = strtold("gnu", &tmp);
16653       ll = strtoll("gnu", &tmp, 10);
16654       ll = strtoull("gnu", &tmp, 10);
16655       ll = llabs(10);
16656       mydivt = lldiv(10,1);
16657       ll = mydivt.quot;
16658       ll = mydivt.rem;
16659       ll = atoll("10");
16660       _Exit(0);
16661
16662   ;
16663   return 0;
16664 }
16665 _ACEOF
16666 if ac_fn_cxx_try_compile "$LINENO"; then :
16667   glibcxx_cv_c99_stdlib=yes
16668 else
16669   glibcxx_cv_c99_stdlib=no
16670 fi
16671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16672 else
16673   if test x$gcc_no_link = xyes; then
16674   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16675 fi
16676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16677 /* end confdefs.h.  */
16678 #include <stdlib.h>
16679       volatile float f;
16680       volatile long double ld;
16681       volatile unsigned long long ll;
16682       lldiv_t mydivt;
16683 int
16684 main ()
16685 {
16686 char* tmp;
16687       f = strtof("gnu", &tmp);
16688       ld = strtold("gnu", &tmp);
16689       ll = strtoll("gnu", &tmp, 10);
16690       ll = strtoull("gnu", &tmp, 10);
16691       ll = llabs(10);
16692       mydivt = lldiv(10,1);
16693       ll = mydivt.quot;
16694       ll = mydivt.rem;
16695       ll = atoll("10");
16696       _Exit(0);
16697
16698   ;
16699   return 0;
16700 }
16701 _ACEOF
16702 if ac_fn_cxx_try_link "$LINENO"; then :
16703   glibcxx_cv_c99_stdlib=yes
16704 else
16705   glibcxx_cv_c99_stdlib=no
16706 fi
16707 rm -f core conftest.err conftest.$ac_objext \
16708     conftest$ac_exeext conftest.$ac_ext
16709 fi
16710
16711 fi
16712
16713   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib" >&5
16714 $as_echo "$glibcxx_cv_c99_stdlib" >&6; }
16715
16716   # Check for the existence in <wchar.h> of wcstold, etc.
16717   glibcxx_cv_c99_wchar=no;
16718   if test x"$ac_has_wchar_h" = xyes &&
16719      test x"$ac_has_wctype_h" = xyes; then
16720     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h>" >&5
16721 $as_echo_n "checking for ISO C99 support in <wchar.h>... " >&6; }
16722     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16723 /* end confdefs.h.  */
16724 #include <wchar.h>
16725                     namespace test
16726                     {
16727                       using ::wcstold;
16728                       using ::wcstoll;
16729                       using ::wcstoull;
16730                     }
16731
16732 int
16733 main ()
16734 {
16735
16736   ;
16737   return 0;
16738 }
16739 _ACEOF
16740 if ac_fn_cxx_try_compile "$LINENO"; then :
16741   glibcxx_cv_c99_wchar=yes
16742 else
16743   glibcxx_cv_c99_wchar=no
16744 fi
16745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16746
16747     # Checks for wide character functions that may not be present.
16748     # Injection of these is wrapped with guard macros.
16749     # NB: only put functions here, instead of immediately above, if
16750     # absolutely necessary.
16751     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16752 /* end confdefs.h.  */
16753 #include <wchar.h>
16754                     namespace test { using ::vfwscanf; }
16755 int
16756 main ()
16757 {
16758
16759   ;
16760   return 0;
16761 }
16762 _ACEOF
16763 if ac_fn_cxx_try_compile "$LINENO"; then :
16764
16765 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
16766
16767 fi
16768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16769
16770     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16771 /* end confdefs.h.  */
16772 #include <wchar.h>
16773                     namespace test { using ::vswscanf; }
16774 int
16775 main ()
16776 {
16777
16778   ;
16779   return 0;
16780 }
16781 _ACEOF
16782 if ac_fn_cxx_try_compile "$LINENO"; then :
16783
16784 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
16785
16786 fi
16787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16788
16789     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16790 /* end confdefs.h.  */
16791 #include <wchar.h>
16792                     namespace test { using ::vwscanf; }
16793 int
16794 main ()
16795 {
16796
16797   ;
16798   return 0;
16799 }
16800 _ACEOF
16801 if ac_fn_cxx_try_compile "$LINENO"; then :
16802
16803 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
16804
16805 fi
16806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16807
16808     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16809 /* end confdefs.h.  */
16810 #include <wchar.h>
16811                     namespace test { using ::wcstof; }
16812 int
16813 main ()
16814 {
16815
16816   ;
16817   return 0;
16818 }
16819 _ACEOF
16820 if ac_fn_cxx_try_compile "$LINENO"; then :
16821
16822 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
16823
16824 fi
16825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16826
16827     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16828 /* end confdefs.h.  */
16829 #include <wctype.h>
16830 int
16831 main ()
16832 {
16833  wint_t t; int i = iswblank(t);
16834   ;
16835   return 0;
16836 }
16837 _ACEOF
16838 if ac_fn_cxx_try_compile "$LINENO"; then :
16839
16840 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
16841
16842 fi
16843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16844
16845     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar" >&5
16846 $as_echo "$glibcxx_cv_c99_wchar" >&6; }
16847   fi
16848
16849   # Option parsed, now set things appropriately.
16850   if test x"$glibcxx_cv_c99_math" = x"no" ||
16851      test x"$glibcxx_cv_c99_complex" = x"no" ||
16852      test x"$glibcxx_cv_c99_stdio" = x"no" ||
16853      test x"$glibcxx_cv_c99_stdlib" = x"no" ||
16854      test x"$glibcxx_cv_c99_wchar" = x"no"; then
16855     enable_c99=no;
16856   else
16857
16858 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
16859
16860   fi
16861
16862   gcc_no_link="$ac_save_gcc_no_link"
16863   LIBS="$ac_save_LIBS"
16864   CXXFLAGS="$ac_save_CXXFLAGS"
16865   ac_ext=c
16866 ac_cpp='$CPP $CPPFLAGS'
16867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16870
16871   fi
16872
16873   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
16874 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
16875   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
16876 $as_echo "$enable_c99" >&6; }
16877
16878
16879    # Check whether --enable-concept-checks was given.
16880 if test "${enable_concept_checks+set}" = set; then :
16881   enableval=$enable_concept_checks;
16882       case "$enableval" in
16883        yes|no) ;;
16884        *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
16885       esac
16886
16887 else
16888   enable_concept_checks=no
16889 fi
16890
16891
16892   if test $enable_concept_checks = yes; then
16893
16894 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
16895
16896   fi
16897
16898
16899    # Check whether --enable-libstdcxx-debug-flags was given.
16900 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
16901   enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
16902       xno | x)    enable_libstdcxx_debug_flags= ;;
16903       x-*)        ;;
16904       *)          as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
16905      esac
16906 else
16907   enable_libstdcxx_debug_flags="-g3 -O0"
16908 fi
16909
16910
16911
16912   # Option parsed, now set things appropriately
16913   DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
16914
16915
16916   { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
16917 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
16918
16919
16920   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
16921 $as_echo_n "checking for additional debug build... " >&6; }
16922    # Check whether --enable-libstdcxx-debug was given.
16923 if test "${enable_libstdcxx_debug+set}" = set; then :
16924   enableval=$enable_libstdcxx_debug;
16925       case "$enableval" in
16926        yes|no) ;;
16927        *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
16928       esac
16929
16930 else
16931   enable_libstdcxx_debug=no
16932 fi
16933
16934
16935   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
16936 $as_echo "$enable_libstdcxx_debug" >&6; }
16937
16938
16939
16940
16941   enable_parallel=no;
16942
16943   # See if configured libgomp/omp.h exists. (libgomp may be in
16944   # noconfigdirs but not explicitly disabled.)
16945   if test -f $glibcxx_builddir/../libgomp/omp.h; then
16946     enable_parallel=yes;
16947   else
16948     { $as_echo "$as_me:${as_lineno-$LINENO}: $glibcxx_builddir/../libgomp/omp.h not found" >&5
16949 $as_echo "$as_me: $glibcxx_builddir/../libgomp/omp.h not found" >&6;}
16950   fi
16951
16952   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
16953 $as_echo_n "checking for parallel mode support... " >&6; }
16954   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
16955 $as_echo "$enable_parallel" >&6; }
16956
16957
16958   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
16959 $as_echo_n "checking for extra compiler flags for building... " >&6; }
16960    # Check whether --enable-cxx-flags was given.
16961 if test "${enable_cxx_flags+set}" = set; then :
16962   enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
16963       xno | x)   enable_cxx_flags= ;;
16964       x-*)       ;;
16965       *)         as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
16966      esac
16967 else
16968   enable_cxx_flags=
16969 fi
16970
16971
16972
16973   # Run through flags (either default or command-line) and set anything
16974   # extra (e.g., #defines) that must accompany particular g++ options.
16975   if test -n "$enable_cxx_flags"; then
16976     for f in $enable_cxx_flags; do
16977       case "$f" in
16978         -fhonor-std)  ;;
16979         -*)  ;;
16980         *)   # and we're trying to pass /what/ exactly?
16981              as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
16982       esac
16983     done
16984   fi
16985
16986   EXTRA_CXX_FLAGS="$enable_cxx_flags"
16987   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
16988 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
16989
16990
16991
16992    # Check whether --enable-fully-dynamic-string was given.
16993 if test "${enable_fully_dynamic_string+set}" = set; then :
16994   enableval=$enable_fully_dynamic_string;
16995       case "$enableval" in
16996        yes|no) ;;
16997        *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
16998       esac
16999
17000 else
17001   enable_fully_dynamic_string=no
17002 fi
17003
17004
17005   if test $enable_fully_dynamic_string = yes; then
17006
17007 $as_echo "#define _GLIBCXX_FULLY_DYNAMIC_STRING 1" >>confdefs.h
17008
17009   fi
17010
17011
17012 # Checks for operating systems support that doesn't require linking.
17013
17014
17015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
17016 $as_echo_n "checking for EOWNERDEAD... " >&6; }
17017 if test "${glibcxx_cv_system_error1+set}" = set; then :
17018   $as_echo_n "(cached) " >&6
17019 else
17020
17021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17022 /* end confdefs.h.  */
17023 #include <errno.h>
17024 int
17025 main ()
17026 {
17027 int i = EOWNERDEAD;
17028   ;
17029   return 0;
17030 }
17031 _ACEOF
17032 if ac_fn_c_try_compile "$LINENO"; then :
17033   glibcxx_cv_system_error1=yes
17034 else
17035   glibcxx_cv_system_error1=no
17036 fi
17037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17038
17039 fi
17040
17041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
17042 $as_echo "$glibcxx_cv_system_error1" >&6; }
17043 if test x"$glibcxx_cv_system_error1" = x"yes"; then
17044
17045 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
17046
17047 fi
17048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
17049 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
17050 if test "${glibcxx_cv_system_error2+set}" = set; then :
17051   $as_echo_n "(cached) " >&6
17052 else
17053
17054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17055 /* end confdefs.h.  */
17056 #include <errno.h>
17057 int
17058 main ()
17059 {
17060 int i = ENOTRECOVERABLE;
17061   ;
17062   return 0;
17063 }
17064 _ACEOF
17065 if ac_fn_c_try_compile "$LINENO"; then :
17066   glibcxx_cv_system_error2=yes
17067 else
17068   glibcxx_cv_system_error2=no
17069 fi
17070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17071
17072 fi
17073
17074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
17075 $as_echo "$glibcxx_cv_system_error2" >&6; }
17076 if test x"$glibcxx_cv_system_error2" = x"yes"; then
17077
17078 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
17079
17080 fi
17081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
17082 $as_echo_n "checking for ENOLINK... " >&6; }
17083 if test "${glibcxx_cv_system_error3+set}" = set; then :
17084   $as_echo_n "(cached) " >&6
17085 else
17086
17087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17088 /* end confdefs.h.  */
17089 #include <errno.h>
17090 int
17091 main ()
17092 {
17093 int i = ENOLINK;
17094   ;
17095   return 0;
17096 }
17097 _ACEOF
17098 if ac_fn_c_try_compile "$LINENO"; then :
17099   glibcxx_cv_system_error3=yes
17100 else
17101   glibcxx_cv_system_error3=no
17102 fi
17103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17104
17105 fi
17106
17107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
17108 $as_echo "$glibcxx_cv_system_error3" >&6; }
17109 if test x"$glibcxx_cv_system_error3" = x"yes"; then
17110
17111 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
17112
17113 fi
17114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
17115 $as_echo_n "checking for EPROTO... " >&6; }
17116 if test "${glibcxx_cv_system_error4+set}" = set; then :
17117   $as_echo_n "(cached) " >&6
17118 else
17119
17120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17121 /* end confdefs.h.  */
17122 #include <errno.h>
17123 int
17124 main ()
17125 {
17126 int i = EPROTO;
17127   ;
17128   return 0;
17129 }
17130 _ACEOF
17131 if ac_fn_c_try_compile "$LINENO"; then :
17132   glibcxx_cv_system_error4=yes
17133 else
17134   glibcxx_cv_system_error4=no
17135 fi
17136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17137
17138 fi
17139
17140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
17141 $as_echo "$glibcxx_cv_system_error4" >&6; }
17142 if test x"$glibcxx_cv_system_error4" = x"yes"; then
17143
17144 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
17145
17146 fi
17147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
17148 $as_echo_n "checking for ENODATA... " >&6; }
17149 if test "${glibcxx_cv_system_error5+set}" = set; then :
17150   $as_echo_n "(cached) " >&6
17151 else
17152
17153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17154 /* end confdefs.h.  */
17155 #include <errno.h>
17156 int
17157 main ()
17158 {
17159 int i = ENODATA;
17160   ;
17161   return 0;
17162 }
17163 _ACEOF
17164 if ac_fn_c_try_compile "$LINENO"; then :
17165   glibcxx_cv_system_error5=yes
17166 else
17167   glibcxx_cv_system_error5=no
17168 fi
17169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17170
17171 fi
17172
17173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
17174 $as_echo "$glibcxx_cv_system_error5" >&6; }
17175 if test x"$glibcxx_cv_system_error5" = x"yes"; then
17176
17177 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
17178
17179 fi
17180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
17181 $as_echo_n "checking for ENOSR... " >&6; }
17182 if test "${glibcxx_cv_system_error6+set}" = set; then :
17183   $as_echo_n "(cached) " >&6
17184 else
17185
17186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17187 /* end confdefs.h.  */
17188 #include <errno.h>
17189 int
17190 main ()
17191 {
17192 int i = ENOSR;
17193   ;
17194   return 0;
17195 }
17196 _ACEOF
17197 if ac_fn_c_try_compile "$LINENO"; then :
17198   glibcxx_cv_system_error6=yes
17199 else
17200   glibcxx_cv_system_error6=no
17201 fi
17202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17203
17204 fi
17205
17206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
17207 $as_echo "$glibcxx_cv_system_error6" >&6; }
17208 if test x"$glibcxx_cv_system_error6" = x"yes"; then
17209
17210 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
17211
17212 fi
17213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
17214 $as_echo_n "checking for ENOSTR... " >&6; }
17215 if test "${glibcxx_cv_system_error7+set}" = set; then :
17216   $as_echo_n "(cached) " >&6
17217 else
17218
17219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17220 /* end confdefs.h.  */
17221 #include <errno.h>
17222 int
17223 main ()
17224 {
17225 int i = ENOSTR;
17226   ;
17227   return 0;
17228 }
17229 _ACEOF
17230 if ac_fn_c_try_compile "$LINENO"; then :
17231   glibcxx_cv_system_error7=yes
17232 else
17233   glibcxx_cv_system_error7=no
17234 fi
17235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17236
17237 fi
17238
17239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
17240 $as_echo "$glibcxx_cv_system_error7" >&6; }
17241 if test x"$glibcxx_cv_system_error7" = x"yes"; then
17242
17243 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
17244
17245 fi
17246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
17247 $as_echo_n "checking for ETIME... " >&6; }
17248 if test "${glibcxx_cv_system_error8+set}" = set; then :
17249   $as_echo_n "(cached) " >&6
17250 else
17251
17252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17253 /* end confdefs.h.  */
17254 #include <errno.h>
17255 int
17256 main ()
17257 {
17258 int i = ETIME;
17259   ;
17260   return 0;
17261 }
17262 _ACEOF
17263 if ac_fn_c_try_compile "$LINENO"; then :
17264   glibcxx_cv_system_error8=yes
17265 else
17266   glibcxx_cv_system_error8=no
17267 fi
17268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17269
17270 fi
17271
17272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
17273 $as_echo "$glibcxx_cv_system_error8" >&6; }
17274 if test x"$glibcxx_cv_system_error8" = x"yes"; then
17275
17276 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
17277
17278 fi
17279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
17280 $as_echo_n "checking for EBADMSG... " >&6; }
17281 if test "${glibcxx_cv_system_error9+set}" = set; then :
17282   $as_echo_n "(cached) " >&6
17283 else
17284
17285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17286 /* end confdefs.h.  */
17287 #include <errno.h>
17288 int
17289 main ()
17290 {
17291 int i = EBADMSG;
17292   ;
17293   return 0;
17294 }
17295 _ACEOF
17296 if ac_fn_c_try_compile "$LINENO"; then :
17297   glibcxx_cv_system_error9=yes
17298 else
17299   glibcxx_cv_system_error9=no
17300 fi
17301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17302
17303 fi
17304
17305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
17306 $as_echo "$glibcxx_cv_system_error9" >&6; }
17307 if test x"$glibcxx_cv_system_error9" = x"yes"; then
17308
17309 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
17310
17311 fi
17312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
17313 $as_echo_n "checking for ECANCELED... " >&6; }
17314 if test "${glibcxx_cv_system_error10+set}" = set; then :
17315   $as_echo_n "(cached) " >&6
17316 else
17317
17318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17319 /* end confdefs.h.  */
17320 #include <errno.h>
17321 int
17322 main ()
17323 {
17324 int i = ECANCELED;
17325   ;
17326   return 0;
17327 }
17328 _ACEOF
17329 if ac_fn_c_try_compile "$LINENO"; then :
17330   glibcxx_cv_system_error10=yes
17331 else
17332   glibcxx_cv_system_error10=no
17333 fi
17334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17335
17336 fi
17337
17338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
17339 $as_echo "$glibcxx_cv_system_error10" >&6; }
17340 if test x"$glibcxx_cv_system_error10" = x"yes"; then
17341
17342 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
17343
17344 fi
17345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
17346 $as_echo_n "checking for EOVERFLOW... " >&6; }
17347 if test "${glibcxx_cv_system_error11+set}" = set; then :
17348   $as_echo_n "(cached) " >&6
17349 else
17350
17351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17352 /* end confdefs.h.  */
17353 #include <errno.h>
17354 int
17355 main ()
17356 {
17357 int i = EOVERFLOW;
17358   ;
17359   return 0;
17360 }
17361 _ACEOF
17362 if ac_fn_c_try_compile "$LINENO"; then :
17363   glibcxx_cv_system_error11=yes
17364 else
17365   glibcxx_cv_system_error11=no
17366 fi
17367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17368
17369 fi
17370
17371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
17372 $as_echo "$glibcxx_cv_system_error11" >&6; }
17373 if test x"$glibcxx_cv_system_error11" = x"yes"; then
17374
17375 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
17376
17377 fi
17378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
17379 $as_echo_n "checking for ENOTSUP... " >&6; }
17380 if test "${glibcxx_cv_system_error12+set}" = set; then :
17381   $as_echo_n "(cached) " >&6
17382 else
17383
17384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17385 /* end confdefs.h.  */
17386 #include <errno.h>
17387 int
17388 main ()
17389 {
17390 int i = ENOTSUP;
17391   ;
17392   return 0;
17393 }
17394 _ACEOF
17395 if ac_fn_c_try_compile "$LINENO"; then :
17396   glibcxx_cv_system_error12=yes
17397 else
17398   glibcxx_cv_system_error12=no
17399 fi
17400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17401
17402 fi
17403
17404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
17405 $as_echo "$glibcxx_cv_system_error12" >&6; }
17406 if test x"$glibcxx_cv_system_error12" = x"yes"; then
17407
17408 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
17409
17410 fi
17411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
17412 $as_echo_n "checking for EIDRM... " >&6; }
17413 if test "${glibcxx_cv_system_error13+set}" = set; then :
17414   $as_echo_n "(cached) " >&6
17415 else
17416
17417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17418 /* end confdefs.h.  */
17419 #include <errno.h>
17420 int
17421 main ()
17422 {
17423 int i = EIDRM;
17424   ;
17425   return 0;
17426 }
17427 _ACEOF
17428 if ac_fn_c_try_compile "$LINENO"; then :
17429   glibcxx_cv_system_error13=yes
17430 else
17431   glibcxx_cv_system_error13=no
17432 fi
17433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17434
17435 fi
17436
17437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
17438 $as_echo "$glibcxx_cv_system_error13" >&6; }
17439 if test x"$glibcxx_cv_system_error13" = x"yes"; then
17440
17441 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
17442
17443 fi
17444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
17445 $as_echo_n "checking for ETXTBSY... " >&6; }
17446 if test "${glibcxx_cv_system_error14+set}" = set; then :
17447   $as_echo_n "(cached) " >&6
17448 else
17449
17450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17451 /* end confdefs.h.  */
17452 #include <errno.h>
17453 int
17454 main ()
17455 {
17456 int i = ETXTBSY;
17457   ;
17458   return 0;
17459 }
17460 _ACEOF
17461 if ac_fn_c_try_compile "$LINENO"; then :
17462   glibcxx_cv_system_error14=yes
17463 else
17464   glibcxx_cv_system_error14=no
17465 fi
17466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17467
17468 fi
17469
17470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
17471 $as_echo "$glibcxx_cv_system_error14" >&6; }
17472 if test x"$glibcxx_cv_system_error14" = x"yes"; then
17473
17474 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
17475
17476 fi
17477
17478
17479
17480 # For the streamoff typedef.
17481
17482
17483
17484   ac_ext=cpp
17485 ac_cpp='$CXXCPP $CPPFLAGS'
17486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17489
17490
17491   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
17492 $as_echo_n "checking for int64_t... " >&6; }
17493   if test "${glibcxx_cv_INT64_T+set}" = set; then :
17494   $as_echo_n "(cached) " >&6
17495 else
17496
17497     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17498 /* end confdefs.h.  */
17499 #include <stdint.h>
17500 int
17501 main ()
17502 {
17503 int64_t var;
17504   ;
17505   return 0;
17506 }
17507 _ACEOF
17508 if ac_fn_cxx_try_compile "$LINENO"; then :
17509   glibcxx_cv_INT64_T=yes
17510 else
17511   glibcxx_cv_INT64_T=no
17512 fi
17513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17514
17515 fi
17516
17517
17518   if test $glibcxx_cv_INT64_T = yes; then
17519
17520 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
17521
17522     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
17523 $as_echo "$glibcxx_cv_INT64_T" >&6; }
17524
17525     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
17526 $as_echo_n "checking for int64_t as long... " >&6; }
17527     if test "${glibcxx_cv_int64_t_long+set}" = set; then :
17528   $as_echo_n "(cached) " >&6
17529 else
17530
17531       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17532 /* end confdefs.h.  */
17533 #include <stdint.h>
17534         template<typename, typename> struct same { enum { value = -1 }; };
17535         template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
17536         int array[same<int64_t, long>::value];
17537 int
17538 main ()
17539 {
17540
17541   ;
17542   return 0;
17543 }
17544 _ACEOF
17545 if ac_fn_cxx_try_compile "$LINENO"; then :
17546   glibcxx_cv_int64_t_long=yes
17547 else
17548   glibcxx_cv_int64_t_long=no
17549 fi
17550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17551
17552 fi
17553
17554
17555     if test $glibcxx_cv_int64_t_long = yes; then
17556
17557 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
17558
17559       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
17560 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
17561     fi
17562
17563     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
17564 $as_echo_n "checking for int64_t as long long... " >&6; }
17565     if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
17566   $as_echo_n "(cached) " >&6
17567 else
17568
17569       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17570 /* end confdefs.h.  */
17571 #include <stdint.h>
17572         template<typename, typename> struct same { enum { value = -1 }; };
17573         template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
17574         int array[same<int64_t, long long>::value];
17575 int
17576 main ()
17577 {
17578
17579   ;
17580   return 0;
17581 }
17582 _ACEOF
17583 if ac_fn_cxx_try_compile "$LINENO"; then :
17584   glibcxx_cv_int64_t_long_long=yes
17585 else
17586   glibcxx_cv_int64_t_long_long=no
17587 fi
17588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17589
17590 fi
17591
17592
17593     if test $glibcxx_cv_int64_t_long_long = yes; then
17594
17595 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
17596
17597       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
17598 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
17599     fi
17600   fi
17601
17602   ac_ext=c
17603 ac_cpp='$CPP $CPPFLAGS'
17604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17607
17608
17609
17610 # For LFS support.
17611
17612
17613   ac_ext=cpp
17614 ac_cpp='$CXXCPP $CPPFLAGS'
17615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17618
17619   ac_save_CXXFLAGS="$CXXFLAGS"
17620   CXXFLAGS="$CXXFLAGS -fno-exceptions"
17621   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
17622 $as_echo_n "checking for LFS support... " >&6; }
17623   if test "${glibcxx_cv_LFS+set}" = set; then :
17624   $as_echo_n "(cached) " >&6
17625 else
17626
17627     if test x$gcc_no_link = xyes; then
17628   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17629 /* end confdefs.h.  */
17630 #include <unistd.h>
17631        #include <stdio.h>
17632        #include <sys/stat.h>
17633
17634 int
17635 main ()
17636 {
17637 FILE* fp;
17638        fopen64("t", "w");
17639        fseeko64(fp, 0, SEEK_CUR);
17640        ftello64(fp);
17641        lseek64(1, 0, SEEK_CUR);
17642        struct stat64 buf;
17643        fstat64(1, &buf);
17644   ;
17645   return 0;
17646 }
17647 _ACEOF
17648 if ac_fn_cxx_try_compile "$LINENO"; then :
17649   glibcxx_cv_LFS=yes
17650 else
17651   glibcxx_cv_LFS=no
17652 fi
17653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17654 else
17655   if test x$gcc_no_link = xyes; then
17656   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17657 fi
17658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17659 /* end confdefs.h.  */
17660 #include <unistd.h>
17661        #include <stdio.h>
17662        #include <sys/stat.h>
17663
17664 int
17665 main ()
17666 {
17667 FILE* fp;
17668        fopen64("t", "w");
17669        fseeko64(fp, 0, SEEK_CUR);
17670        ftello64(fp);
17671        lseek64(1, 0, SEEK_CUR);
17672        struct stat64 buf;
17673        fstat64(1, &buf);
17674   ;
17675   return 0;
17676 }
17677 _ACEOF
17678 if ac_fn_cxx_try_link "$LINENO"; then :
17679   glibcxx_cv_LFS=yes
17680 else
17681   glibcxx_cv_LFS=no
17682 fi
17683 rm -f core conftest.err conftest.$ac_objext \
17684     conftest$ac_exeext conftest.$ac_ext
17685 fi
17686
17687 fi
17688
17689   if test $glibcxx_cv_LFS = yes; then
17690
17691 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
17692
17693   fi
17694   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
17695 $as_echo "$glibcxx_cv_LFS" >&6; }
17696   CXXFLAGS="$ac_save_CXXFLAGS"
17697   ac_ext=c
17698 ac_cpp='$CPP $CPPFLAGS'
17699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17702
17703
17704
17705 # For showmanyc_helper().
17706 for ac_header in sys/ioctl.h sys/filio.h
17707 do :
17708   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17709 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
17710 eval as_val=\$$as_ac_Header
17711    if test "x$as_val" = x""yes; then :
17712   cat >>confdefs.h <<_ACEOF
17713 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17714 _ACEOF
17715
17716 fi
17717
17718 done
17719
17720
17721
17722
17723   ac_ext=cpp
17724 ac_cpp='$CXXCPP $CPPFLAGS'
17725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17728
17729   ac_save_CXXFLAGS="$CXXFLAGS"
17730   CXXFLAGS="$CXXFLAGS -fno-exceptions"
17731
17732   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
17733 $as_echo_n "checking for poll... " >&6; }
17734   if test "${glibcxx_cv_POLL+set}" = set; then :
17735   $as_echo_n "(cached) " >&6
17736 else
17737
17738     if test x$gcc_no_link = xyes; then
17739   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17740 /* end confdefs.h.  */
17741 #include <poll.h>
17742 int
17743 main ()
17744 {
17745 struct pollfd pfd[1];
17746        pfd[0].events = POLLIN;
17747        poll(pfd, 1, 0);
17748   ;
17749   return 0;
17750 }
17751 _ACEOF
17752 if ac_fn_cxx_try_compile "$LINENO"; then :
17753   glibcxx_cv_POLL=yes
17754 else
17755   glibcxx_cv_POLL=no
17756 fi
17757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17758 else
17759   if test x$gcc_no_link = xyes; then
17760   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17761 fi
17762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17763 /* end confdefs.h.  */
17764 #include <poll.h>
17765 int
17766 main ()
17767 {
17768 struct pollfd pfd[1];
17769        pfd[0].events = POLLIN;
17770        poll(pfd, 1, 0);
17771   ;
17772   return 0;
17773 }
17774 _ACEOF
17775 if ac_fn_cxx_try_link "$LINENO"; then :
17776   glibcxx_cv_POLL=yes
17777 else
17778   glibcxx_cv_POLL=no
17779 fi
17780 rm -f core conftest.err conftest.$ac_objext \
17781     conftest$ac_exeext conftest.$ac_ext
17782 fi
17783
17784 fi
17785
17786   if test $glibcxx_cv_POLL = yes; then
17787
17788 $as_echo "#define HAVE_POLL 1" >>confdefs.h
17789
17790   fi
17791   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
17792 $as_echo "$glibcxx_cv_POLL" >&6; }
17793
17794   CXXFLAGS="$ac_save_CXXFLAGS"
17795   ac_ext=c
17796 ac_cpp='$CPP $CPPFLAGS'
17797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17800
17801
17802
17803
17804
17805   ac_ext=cpp
17806 ac_cpp='$CXXCPP $CPPFLAGS'
17807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17810
17811   ac_save_CXXFLAGS="$CXXFLAGS"
17812   CXXFLAGS="$CXXFLAGS -fno-exceptions"
17813
17814   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
17815 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
17816   if test "${glibcxx_cv_S_ISREG+set}" = set; then :
17817   $as_echo_n "(cached) " >&6
17818 else
17819
17820     if test x$gcc_no_link = xyes; then
17821   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17822 /* end confdefs.h.  */
17823 #include <sys/stat.h>
17824 int
17825 main ()
17826 {
17827 struct stat buffer;
17828        fstat(0, &buffer);
17829        S_ISREG(buffer.st_mode);
17830   ;
17831   return 0;
17832 }
17833 _ACEOF
17834 if ac_fn_cxx_try_compile "$LINENO"; then :
17835   glibcxx_cv_S_ISREG=yes
17836 else
17837   glibcxx_cv_S_ISREG=no
17838 fi
17839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17840 else
17841   if test x$gcc_no_link = xyes; then
17842   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17843 fi
17844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17845 /* end confdefs.h.  */
17846 #include <sys/stat.h>
17847 int
17848 main ()
17849 {
17850 struct stat buffer;
17851        fstat(0, &buffer);
17852        S_ISREG(buffer.st_mode);
17853   ;
17854   return 0;
17855 }
17856 _ACEOF
17857 if ac_fn_cxx_try_link "$LINENO"; then :
17858   glibcxx_cv_S_ISREG=yes
17859 else
17860   glibcxx_cv_S_ISREG=no
17861 fi
17862 rm -f core conftest.err conftest.$ac_objext \
17863     conftest$ac_exeext conftest.$ac_ext
17864 fi
17865
17866 fi
17867
17868   if test "${glibcxx_cv_S_IFREG+set}" = set; then :
17869   $as_echo_n "(cached) " >&6
17870 else
17871
17872     if test x$gcc_no_link = xyes; then
17873   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17874 /* end confdefs.h.  */
17875 #include <sys/stat.h>
17876 int
17877 main ()
17878 {
17879 struct stat buffer;
17880        fstat(0, &buffer);
17881        S_IFREG & buffer.st_mode;
17882   ;
17883   return 0;
17884 }
17885 _ACEOF
17886 if ac_fn_cxx_try_compile "$LINENO"; then :
17887   glibcxx_cv_S_IFREG=yes
17888 else
17889   glibcxx_cv_S_IFREG=no
17890 fi
17891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17892 else
17893   if test x$gcc_no_link = xyes; then
17894   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17895 fi
17896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17897 /* end confdefs.h.  */
17898 #include <sys/stat.h>
17899 int
17900 main ()
17901 {
17902 struct stat buffer;
17903        fstat(0, &buffer);
17904        S_IFREG & buffer.st_mode;
17905   ;
17906   return 0;
17907 }
17908 _ACEOF
17909 if ac_fn_cxx_try_link "$LINENO"; then :
17910   glibcxx_cv_S_IFREG=yes
17911 else
17912   glibcxx_cv_S_IFREG=no
17913 fi
17914 rm -f core conftest.err conftest.$ac_objext \
17915     conftest$ac_exeext conftest.$ac_ext
17916 fi
17917
17918 fi
17919
17920   res=no
17921   if test $glibcxx_cv_S_ISREG = yes; then
17922
17923 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
17924
17925     res=S_ISREG
17926   elif test $glibcxx_cv_S_IFREG = yes; then
17927
17928 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
17929
17930     res=S_IFREG
17931   fi
17932   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
17933 $as_echo "$res" >&6; }
17934
17935   CXXFLAGS="$ac_save_CXXFLAGS"
17936   ac_ext=c
17937 ac_cpp='$CPP $CPPFLAGS'
17938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17941
17942
17943
17944 # For xsputn_2().
17945 for ac_header in sys/uio.h
17946 do :
17947   ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
17948 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
17949   cat >>confdefs.h <<_ACEOF
17950 #define HAVE_SYS_UIO_H 1
17951 _ACEOF
17952
17953 fi
17954
17955 done
17956
17957
17958
17959
17960   ac_ext=cpp
17961 ac_cpp='$CXXCPP $CPPFLAGS'
17962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17965
17966   ac_save_CXXFLAGS="$CXXFLAGS"
17967   CXXFLAGS="$CXXFLAGS -fno-exceptions"
17968
17969   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
17970 $as_echo_n "checking for writev... " >&6; }
17971   if test "${glibcxx_cv_WRITEV+set}" = set; then :
17972   $as_echo_n "(cached) " >&6
17973 else
17974
17975     if test x$gcc_no_link = xyes; then
17976   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17977 /* end confdefs.h.  */
17978 #include <sys/uio.h>
17979 int
17980 main ()
17981 {
17982 struct iovec iov[2];
17983        writev(0, iov, 0);
17984   ;
17985   return 0;
17986 }
17987 _ACEOF
17988 if ac_fn_cxx_try_compile "$LINENO"; then :
17989   glibcxx_cv_WRITEV=yes
17990 else
17991   glibcxx_cv_WRITEV=no
17992 fi
17993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17994 else
17995   if test x$gcc_no_link = xyes; then
17996   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17997 fi
17998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17999 /* end confdefs.h.  */
18000 #include <sys/uio.h>
18001 int
18002 main ()
18003 {
18004 struct iovec iov[2];
18005        writev(0, iov, 0);
18006   ;
18007   return 0;
18008 }
18009 _ACEOF
18010 if ac_fn_cxx_try_link "$LINENO"; then :
18011   glibcxx_cv_WRITEV=yes
18012 else
18013   glibcxx_cv_WRITEV=no
18014 fi
18015 rm -f core conftest.err conftest.$ac_objext \
18016     conftest$ac_exeext conftest.$ac_ext
18017 fi
18018
18019 fi
18020
18021   if test $glibcxx_cv_WRITEV = yes; then
18022
18023 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
18024
18025   fi
18026   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
18027 $as_echo "$glibcxx_cv_WRITEV" >&6; }
18028
18029   CXXFLAGS="$ac_save_CXXFLAGS"
18030   ac_ext=c
18031 ac_cpp='$CPP $CPPFLAGS'
18032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18035
18036
18037
18038 # For C99 support to TR1.
18039
18040
18041
18042   ac_ext=cpp
18043 ac_cpp='$CXXCPP $CPPFLAGS'
18044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18047
18048
18049   # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
18050   # undefined and fake C99 facilities may be spuriously enabled.
18051   ac_save_CXXFLAGS="$CXXFLAGS"
18052   CXXFLAGS="$CXXFLAGS -std=c++98"
18053
18054   # Check for the existence of <complex.h> complex math functions used
18055   # by tr1/complex.
18056   for ac_header in complex.h
18057 do :
18058   ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18059 if test "x$ac_cv_header_complex_h" = x""yes; then :
18060   cat >>confdefs.h <<_ACEOF
18061 #define HAVE_COMPLEX_H 1
18062 _ACEOF
18063  ac_has_complex_h=yes
18064 else
18065   ac_has_complex_h=no
18066 fi
18067
18068 done
18069
18070   ac_c99_complex_tr1=no;
18071   if test x"$ac_has_complex_h" = x"yes"; then
18072     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
18073 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
18074     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18075 /* end confdefs.h.  */
18076 #include <complex.h>
18077 int
18078 main ()
18079 {
18080 typedef __complex__ float float_type; float_type tmpf;
18081                     cacosf(tmpf);
18082                     casinf(tmpf);
18083                     catanf(tmpf);
18084                     cacoshf(tmpf);
18085                     casinhf(tmpf);
18086                     catanhf(tmpf);
18087                     typedef __complex__ double double_type; double_type tmpd;
18088                     cacos(tmpd);
18089                     casin(tmpd);
18090                     catan(tmpd);
18091                     cacosh(tmpd);
18092                     casinh(tmpd);
18093                     catanh(tmpd);
18094                     typedef __complex__ long double ld_type; ld_type tmpld;
18095                     cacosl(tmpld);
18096                     casinl(tmpld);
18097                     catanl(tmpld);
18098                     cacoshl(tmpld);
18099                     casinhl(tmpld);
18100                     catanhl(tmpld);
18101
18102   ;
18103   return 0;
18104 }
18105 _ACEOF
18106 if ac_fn_cxx_try_compile "$LINENO"; then :
18107   ac_c99_complex_tr1=yes
18108 else
18109   ac_c99_complex_tr1=no
18110 fi
18111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18112   fi
18113   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
18114 $as_echo "$ac_c99_complex_tr1" >&6; }
18115   if test x"$ac_c99_complex_tr1" = x"yes"; then
18116
18117 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
18118
18119   fi
18120
18121   # Check for the existence of <ctype.h> functions.
18122   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
18123 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
18124   if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
18125   $as_echo_n "(cached) " >&6
18126 else
18127
18128   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18129 /* end confdefs.h.  */
18130 #include <ctype.h>
18131 int
18132 main ()
18133 {
18134 int ch;
18135                   int ret;
18136                   ret = isblank(ch);
18137
18138   ;
18139   return 0;
18140 }
18141 _ACEOF
18142 if ac_fn_cxx_try_compile "$LINENO"; then :
18143   glibcxx_cv_c99_ctype_tr1=yes
18144 else
18145   glibcxx_cv_c99_ctype_tr1=no
18146 fi
18147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18148
18149 fi
18150
18151   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
18152 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
18153   if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
18154
18155 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
18156
18157   fi
18158
18159   # Check for the existence of <fenv.h> functions.
18160   for ac_header in fenv.h
18161 do :
18162   ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
18163 if test "x$ac_cv_header_fenv_h" = x""yes; then :
18164   cat >>confdefs.h <<_ACEOF
18165 #define HAVE_FENV_H 1
18166 _ACEOF
18167  ac_has_fenv_h=yes
18168 else
18169   ac_has_fenv_h=no
18170 fi
18171
18172 done
18173
18174   ac_c99_fenv_tr1=no;
18175   if test x"$ac_has_fenv_h" = x"yes"; then
18176     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
18177 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
18178     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18179 /* end confdefs.h.  */
18180 #include <fenv.h>
18181 int
18182 main ()
18183 {
18184 int except, mode;
18185                     fexcept_t* pflag;
18186                     fenv_t* penv;
18187                     int ret;
18188                     ret = feclearexcept(except);
18189                     ret = fegetexceptflag(pflag, except);
18190                     ret = feraiseexcept(except);
18191                     ret = fesetexceptflag(pflag, except);
18192                     ret = fetestexcept(except);
18193                     ret = fegetround();
18194                     ret = fesetround(mode);
18195                     ret = fegetenv(penv);
18196                     ret = feholdexcept(penv);
18197                     ret = fesetenv(penv);
18198                     ret = feupdateenv(penv);
18199
18200   ;
18201   return 0;
18202 }
18203 _ACEOF
18204 if ac_fn_cxx_try_compile "$LINENO"; then :
18205   ac_c99_fenv_tr1=yes
18206 else
18207   ac_c99_fenv_tr1=no
18208 fi
18209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18210   fi
18211   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
18212 $as_echo "$ac_c99_fenv_tr1" >&6; }
18213   if test x"$ac_c99_fenv_tr1" = x"yes"; then
18214
18215 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
18216
18217   fi
18218
18219   # Check for the existence of <stdint.h> types.
18220   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
18221 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
18222   if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
18223   $as_echo_n "(cached) " >&6
18224 else
18225
18226   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18227 /* end confdefs.h.  */
18228 #define __STDC_LIMIT_MACROS
18229                   #define __STDC_CONSTANT_MACROS
18230                   #include <stdint.h>
18231 int
18232 main ()
18233 {
18234 typedef int8_t          my_int8_t;
18235                   my_int8_t               i8 = INT8_MIN;
18236                   i8 = INT8_MAX;
18237                   typedef int16_t         my_int16_t;
18238                   my_int16_t              i16 = INT16_MIN;
18239                   i16 = INT16_MAX;
18240                   typedef int32_t         my_int32_t;
18241                   my_int32_t              i32 = INT32_MIN;
18242                   i32 = INT32_MAX;
18243                   typedef int64_t         my_int64_t;
18244                   my_int64_t              i64 = INT64_MIN;
18245                   i64 = INT64_MAX;
18246                   typedef int_fast8_t     my_int_fast8_t;
18247                   my_int_fast8_t          if8 = INT_FAST8_MIN;
18248                   if8 = INT_FAST8_MAX;
18249                   typedef int_fast16_t    my_int_fast16_t;
18250                   my_int_fast16_t         if16 = INT_FAST16_MIN;
18251                   if16 = INT_FAST16_MAX;
18252                   typedef int_fast32_t    my_int_fast32_t;
18253                   my_int_fast32_t         if32 = INT_FAST32_MIN;
18254                   if32 = INT_FAST32_MAX;
18255                   typedef int_fast64_t    my_int_fast64_t;
18256                   my_int_fast64_t         if64 = INT_FAST64_MIN;
18257                   if64 = INT_FAST64_MAX;
18258                   typedef int_least8_t    my_int_least8_t;
18259                   my_int_least8_t         il8 = INT_LEAST8_MIN;
18260                   il8 = INT_LEAST8_MAX;
18261                   typedef int_least16_t   my_int_least16_t;
18262                   my_int_least16_t        il16 = INT_LEAST16_MIN;
18263                   il16 = INT_LEAST16_MAX;
18264                   typedef int_least32_t   my_int_least32_t;
18265                   my_int_least32_t        il32 = INT_LEAST32_MIN;
18266                   il32 = INT_LEAST32_MAX;
18267                   typedef int_least64_t   my_int_least64_t;
18268                   my_int_least64_t        il64 = INT_LEAST64_MIN;
18269                   il64 = INT_LEAST64_MAX;
18270                   typedef intmax_t        my_intmax_t;
18271                   my_intmax_t             im = INTMAX_MAX;
18272                   im = INTMAX_MIN;
18273                   typedef intptr_t        my_intptr_t;
18274                   my_intptr_t             ip = INTPTR_MAX;
18275                   ip = INTPTR_MIN;
18276                   typedef uint8_t         my_uint8_t;
18277                   my_uint8_t              ui8 = UINT8_MAX;
18278                   ui8 = UINT8_MAX;
18279                   typedef uint16_t        my_uint16_t;
18280                   my_uint16_t             ui16 = UINT16_MAX;
18281                   ui16 = UINT16_MAX;
18282                   typedef uint32_t        my_uint32_t;
18283                   my_uint32_t             ui32 = UINT32_MAX;
18284                   ui32 = UINT32_MAX;
18285                   typedef uint64_t        my_uint64_t;
18286                   my_uint64_t             ui64 = UINT64_MAX;
18287                   ui64 = UINT64_MAX;
18288                   typedef uint_fast8_t    my_uint_fast8_t;
18289                   my_uint_fast8_t         uif8 = UINT_FAST8_MAX;
18290                   uif8 = UINT_FAST8_MAX;
18291                   typedef uint_fast16_t   my_uint_fast16_t;
18292                   my_uint_fast16_t        uif16 = UINT_FAST16_MAX;
18293                   uif16 = UINT_FAST16_MAX;
18294                   typedef uint_fast32_t   my_uint_fast32_t;
18295                   my_uint_fast32_t        uif32 = UINT_FAST32_MAX;
18296                   uif32 = UINT_FAST32_MAX;
18297                   typedef uint_fast64_t   my_uint_fast64_t;
18298                   my_uint_fast64_t        uif64 = UINT_FAST64_MAX;
18299                   uif64 = UINT_FAST64_MAX;
18300                   typedef uint_least8_t   my_uint_least8_t;
18301                   my_uint_least8_t        uil8 = UINT_LEAST8_MAX;
18302                   uil8 = UINT_LEAST8_MAX;
18303                   typedef uint_least16_t  my_uint_least16_t;
18304                   my_uint_least16_t       uil16 = UINT_LEAST16_MAX;
18305                   uil16 = UINT_LEAST16_MAX;
18306                   typedef uint_least32_t  my_uint_least32_t;
18307                   my_uint_least32_t       uil32 = UINT_LEAST32_MAX;
18308                   uil32 = UINT_LEAST32_MAX;
18309                   typedef uint_least64_t  my_uint_least64_t;
18310                   my_uint_least64_t       uil64 = UINT_LEAST64_MAX;
18311                   uil64 = UINT_LEAST64_MAX;
18312                   typedef uintmax_t       my_uintmax_t;
18313                   my_uintmax_t            uim = UINTMAX_MAX;
18314                   uim = UINTMAX_MAX;
18315                   typedef uintptr_t       my_uintptr_t;
18316                   my_uintptr_t            uip = UINTPTR_MAX;
18317                   uip = UINTPTR_MAX;
18318
18319   ;
18320   return 0;
18321 }
18322 _ACEOF
18323 if ac_fn_cxx_try_compile "$LINENO"; then :
18324   glibcxx_cv_c99_stdint_tr1=yes
18325 else
18326   glibcxx_cv_c99_stdint_tr1=no
18327 fi
18328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18329
18330 fi
18331
18332   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
18333 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
18334   if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18335
18336 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
18337
18338   fi
18339
18340   # Check for the existence of <math.h> functions.
18341   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
18342 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
18343   if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
18344   $as_echo_n "(cached) " >&6
18345 else
18346
18347   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18348 /* end confdefs.h.  */
18349 #include <math.h>
18350 int
18351 main ()
18352 {
18353 typedef double_t  my_double_t;
18354                   typedef float_t   my_float_t;
18355                   acosh(0.0);
18356                   acoshf(0.0f);
18357                   acoshl(0.0l);
18358                   asinh(0.0);
18359                   asinhf(0.0f);
18360                   asinhl(0.0l);
18361                   atanh(0.0);
18362                   atanhf(0.0f);
18363                   atanhl(0.0l);
18364                   cbrt(0.0);
18365                   cbrtf(0.0f);
18366                   cbrtl(0.0l);
18367                   copysign(0.0, 0.0);
18368                   copysignf(0.0f, 0.0f);
18369                   copysignl(0.0l, 0.0l);
18370                   erf(0.0);
18371                   erff(0.0f);
18372                   erfl(0.0l);
18373                   erfc(0.0);
18374                   erfcf(0.0f);
18375                   erfcl(0.0l);
18376                   exp2(0.0);
18377                   exp2f(0.0f);
18378                   exp2l(0.0l);
18379                   expm1(0.0);
18380                   expm1f(0.0f);
18381                   expm1l(0.0l);
18382                   fdim(0.0, 0.0);
18383                   fdimf(0.0f, 0.0f);
18384                   fdiml(0.0l, 0.0l);
18385                   fma(0.0, 0.0, 0.0);
18386                   fmaf(0.0f, 0.0f, 0.0f);
18387                   fmal(0.0l, 0.0l, 0.0l);
18388                   fmax(0.0, 0.0);
18389                   fmaxf(0.0f, 0.0f);
18390                   fmaxl(0.0l, 0.0l);
18391                   fmin(0.0, 0.0);
18392                   fminf(0.0f, 0.0f);
18393                   fminl(0.0l, 0.0l);
18394                   hypot(0.0, 0.0);
18395                   hypotf(0.0f, 0.0f);
18396                   hypotl(0.0l, 0.0l);
18397                   ilogb(0.0);
18398                   ilogbf(0.0f);
18399                   ilogbl(0.0l);
18400                   lgamma(0.0);
18401                   lgammaf(0.0f);
18402                   lgammal(0.0l);
18403                   llrint(0.0);
18404                   llrintf(0.0f);
18405                   llrintl(0.0l);
18406                   llround(0.0);
18407                   llroundf(0.0f);
18408                   llroundl(0.0l);
18409                   log1p(0.0);
18410                   log1pf(0.0f);
18411                   log1pl(0.0l);
18412                   log2(0.0);
18413                   log2f(0.0f);
18414                   log2l(0.0l);
18415                   logb(0.0);
18416                   logbf(0.0f);
18417                   logbl(0.0l);
18418                   lrint(0.0);
18419                   lrintf(0.0f);
18420                   lrintl(0.0l);
18421                   lround(0.0);
18422                   lroundf(0.0f);
18423                   lroundl(0.0l);
18424                   nan(0);
18425                   nanf(0);
18426                   nanl(0);
18427                   nearbyint(0.0);
18428                   nearbyintf(0.0f);
18429                   nearbyintl(0.0l);
18430                   nextafter(0.0, 0.0);
18431                   nextafterf(0.0f, 0.0f);
18432                   nextafterl(0.0l, 0.0l);
18433                   nexttoward(0.0, 0.0);
18434                   nexttowardf(0.0f, 0.0f);
18435                   nexttowardl(0.0l, 0.0l);
18436                   remainder(0.0, 0.0);
18437                   remainderf(0.0f, 0.0f);
18438                   remainderl(0.0l, 0.0l);
18439                   remquo(0.0, 0.0, 0);
18440                   remquof(0.0f, 0.0f, 0);
18441                   remquol(0.0l, 0.0l, 0);
18442                   rint(0.0);
18443                   rintf(0.0f);
18444                   rintl(0.0l);
18445                   round(0.0);
18446                   roundf(0.0f);
18447                   roundl(0.0l);
18448                   scalbln(0.0, 0l);
18449                   scalblnf(0.0f, 0l);
18450                   scalblnl(0.0l, 0l);
18451                   scalbn(0.0, 0);
18452                   scalbnf(0.0f, 0);
18453                   scalbnl(0.0l, 0);
18454                   tgamma(0.0);
18455                   tgammaf(0.0f);
18456                   tgammal(0.0l);
18457                   trunc(0.0);
18458                   truncf(0.0f);
18459                   truncl(0.0l);
18460
18461   ;
18462   return 0;
18463 }
18464 _ACEOF
18465 if ac_fn_cxx_try_compile "$LINENO"; then :
18466   glibcxx_cv_c99_math_tr1=yes
18467 else
18468   glibcxx_cv_c99_math_tr1=no
18469 fi
18470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18471
18472 fi
18473
18474   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
18475 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
18476   if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
18477
18478 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
18479
18480   fi
18481
18482   # Check for the existence of <inttypes.h> functions (NB: doesn't make
18483   # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
18484   ac_c99_inttypes_tr1=no;
18485   if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18486     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
18487 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
18488     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18489 /* end confdefs.h.  */
18490 #include <inttypes.h>
18491 int
18492 main ()
18493 {
18494 intmax_t i, numer, denom, base;
18495                     const char* s;
18496                     char** endptr;
18497                     intmax_t ret = imaxabs(i);
18498                     imaxdiv_t dret = imaxdiv(numer, denom);
18499                     ret = strtoimax(s, endptr, base);
18500                     uintmax_t uret = strtoumax(s, endptr, base);
18501
18502   ;
18503   return 0;
18504 }
18505 _ACEOF
18506 if ac_fn_cxx_try_compile "$LINENO"; then :
18507   ac_c99_inttypes_tr1=yes
18508 else
18509   ac_c99_inttypes_tr1=no
18510 fi
18511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18512   fi
18513   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
18514 $as_echo "$ac_c99_inttypes_tr1" >&6; }
18515   if test x"$ac_c99_inttypes_tr1" = x"yes"; then
18516
18517 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
18518
18519   fi
18520
18521   # Check for the existence of whcar_t <inttypes.h> functions (NB: doesn't
18522   # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
18523   ac_c99_inttypes_wchar_t_tr1=no;
18524   if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18525     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
18526 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
18527     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18528 /* end confdefs.h.  */
18529 #include <inttypes.h>
18530 int
18531 main ()
18532 {
18533 intmax_t base;
18534                     const wchar_t* s;
18535                     wchar_t** endptr;
18536                     intmax_t ret = wcstoimax(s, endptr, base);
18537                     uintmax_t uret = wcstoumax(s, endptr, base);
18538
18539   ;
18540   return 0;
18541 }
18542 _ACEOF
18543 if ac_fn_cxx_try_compile "$LINENO"; then :
18544   ac_c99_inttypes_wchar_t_tr1=yes
18545 else
18546   ac_c99_inttypes_wchar_t_tr1=no
18547 fi
18548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18549   fi
18550   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
18551 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
18552   if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
18553
18554 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
18555
18556   fi
18557
18558   # Check for the existence of the <stdbool.h> header.
18559   for ac_header in stdbool.h
18560 do :
18561   ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
18562 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
18563   cat >>confdefs.h <<_ACEOF
18564 #define HAVE_STDBOOL_H 1
18565 _ACEOF
18566
18567 fi
18568
18569 done
18570
18571
18572   CXXFLAGS="$ac_save_CXXFLAGS"
18573   ac_ext=c
18574 ac_cpp='$CPP $CPPFLAGS'
18575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18578
18579
18580
18581 # For common values of EOF, SEEK_CUR, SEEK_END.
18582
18583
18584   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOF == -1, SEEK_CUR == 1, SEEK_END == 2" >&5
18585 $as_echo_n "checking for EOF == -1, SEEK_CUR == 1, SEEK_END == 2... " >&6; }
18586   if test "${glibcxx_cv_stdio_macros+set}" = set; then :
18587   $as_echo_n "(cached) " >&6
18588 else
18589
18590   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18591 /* end confdefs.h.  */
18592 #include <stdio.h>
18593 int
18594 main ()
18595 {
18596 #if ((EOF != -1) || (SEEK_CUR != 1) || (SEEK_END != 2))
18597                     unusual values...
18598                   #endif
18599
18600   ;
18601   return 0;
18602 }
18603 _ACEOF
18604 if ac_fn_c_try_compile "$LINENO"; then :
18605   glibcxx_cv_stdio_macros=yes
18606 else
18607   glibcxx_cv_stdio_macros=no
18608 fi
18609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18610
18611 fi
18612
18613   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_macros" >&5
18614 $as_echo "$glibcxx_cv_stdio_macros" >&6; }
18615   if test x"$glibcxx_cv_stdio_macros" = x"yes"; then
18616
18617 $as_echo "#define _GLIBCXX_STDIO_MACROS 1" >>confdefs.h
18618
18619   fi
18620
18621
18622
18623 # For gettimeofday support.
18624
18625
18626   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
18627 $as_echo_n "checking for gettimeofday... " >&6; }
18628
18629
18630   ac_ext=cpp
18631 ac_cpp='$CXXCPP $CPPFLAGS'
18632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18635
18636   ac_save_CXXFLAGS="$CXXFLAGS"
18637   CXXFLAGS="$CXXFLAGS -fno-exceptions"
18638
18639   ac_has_gettimeofday=no;
18640   for ac_header in sys/time.h
18641 do :
18642   ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
18643 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
18644   cat >>confdefs.h <<_ACEOF
18645 #define HAVE_SYS_TIME_H 1
18646 _ACEOF
18647  ac_has_sys_time_h=yes
18648 else
18649   ac_has_sys_time_h=no
18650 fi
18651
18652 done
18653
18654   if test x"$ac_has_sys_time_h" = x"yes"; then
18655     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
18656 $as_echo_n "checking for gettimeofday... " >&6; }
18657     if test x$gcc_no_link = xyes; then
18658   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18659 /* end confdefs.h.  */
18660 #include <sys/time.h>
18661 int
18662 main ()
18663 {
18664 timeval tv; gettimeofday(&tv, 0);
18665   ;
18666   return 0;
18667 }
18668 _ACEOF
18669 if ac_fn_cxx_try_compile "$LINENO"; then :
18670   ac_has_gettimeofday=yes
18671 else
18672   ac_has_gettimeofday=no
18673 fi
18674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18675 else
18676   if test x$gcc_no_link = xyes; then
18677   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18678 fi
18679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18680 /* end confdefs.h.  */
18681 #include <sys/time.h>
18682 int
18683 main ()
18684 {
18685 timeval tv; gettimeofday(&tv, 0);
18686   ;
18687   return 0;
18688 }
18689 _ACEOF
18690 if ac_fn_cxx_try_link "$LINENO"; then :
18691   ac_has_gettimeofday=yes
18692 else
18693   ac_has_gettimeofday=no
18694 fi
18695 rm -f core conftest.err conftest.$ac_objext \
18696     conftest$ac_exeext conftest.$ac_ext
18697 fi
18698
18699     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
18700 $as_echo "$ac_has_gettimeofday" >&6; }
18701   fi
18702
18703   if test x"$ac_has_gettimeofday" = x"yes"; then
18704
18705 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
18706
18707   fi
18708
18709   CXXFLAGS="$ac_save_CXXFLAGS"
18710   ac_ext=c
18711 ac_cpp='$CPP $CPPFLAGS'
18712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18715
18716
18717
18718 # For clock_gettime, nanosleep and sched_yield support.
18719 # NB: The default is [no], because otherwise it requires linking.
18720
18721
18722   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime, nanosleep and sched_yield" >&5
18723 $as_echo_n "checking for clock_gettime, nanosleep and sched_yield... " >&6; }
18724    # Check whether --enable-libstdcxx-time was given.
18725 if test "${enable_libstdcxx_time+set}" = set; then :
18726   enableval=$enable_libstdcxx_time;
18727       case "$enableval" in
18728        yes|no|rt) ;;
18729        *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
18730                           esac
18731
18732 else
18733   enable_libstdcxx_time=no
18734 fi
18735
18736
18737
18738
18739   ac_ext=cpp
18740 ac_cpp='$CXXCPP $CPPFLAGS'
18741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18744
18745   ac_save_CXXFLAGS="$CXXFLAGS"
18746   CXXFLAGS="$CXXFLAGS -fno-exceptions"
18747   ac_save_LIBS="$LIBS"
18748
18749   ac_has_clock_monotonic=no;
18750   ac_has_clock_realtime=no;
18751
18752   if test x"$enable_libstdcxx_time" != x"no"; then
18753
18754     if test x"$enable_libstdcxx_time" = x"rt"; then
18755       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18756 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18757 if test "${ac_cv_search_clock_gettime+set}" = set; then :
18758   $as_echo_n "(cached) " >&6
18759 else
18760   ac_func_search_save_LIBS=$LIBS
18761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18762 /* end confdefs.h.  */
18763
18764 /* Override any GCC internal prototype to avoid an error.
18765    Use char because int might match the return type of a GCC
18766    builtin and then its argument prototype would still apply.  */
18767 #ifdef __cplusplus
18768 extern "C"
18769 #endif
18770 char clock_gettime ();
18771 int
18772 main ()
18773 {
18774 return clock_gettime ();
18775   ;
18776   return 0;
18777 }
18778 _ACEOF
18779 for ac_lib in '' rt posix4; do
18780   if test -z "$ac_lib"; then
18781     ac_res="none required"
18782   else
18783     ac_res=-l$ac_lib
18784     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
18785   fi
18786   if test x$gcc_no_link = xyes; then
18787   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18788 fi
18789 if ac_fn_cxx_try_link "$LINENO"; then :
18790   ac_cv_search_clock_gettime=$ac_res
18791 fi
18792 rm -f core conftest.err conftest.$ac_objext \
18793     conftest$ac_exeext
18794   if test "${ac_cv_search_clock_gettime+set}" = set; then :
18795   break
18796 fi
18797 done
18798 if test "${ac_cv_search_clock_gettime+set}" = set; then :
18799
18800 else
18801   ac_cv_search_clock_gettime=no
18802 fi
18803 rm conftest.$ac_ext
18804 LIBS=$ac_func_search_save_LIBS
18805 fi
18806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18807 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18808 ac_res=$ac_cv_search_clock_gettime
18809 if test "$ac_res" != no; then :
18810   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18811
18812 fi
18813
18814       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
18815 $as_echo_n "checking for library containing nanosleep... " >&6; }
18816 if test "${ac_cv_search_nanosleep+set}" = set; then :
18817   $as_echo_n "(cached) " >&6
18818 else
18819   ac_func_search_save_LIBS=$LIBS
18820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18821 /* end confdefs.h.  */
18822
18823 /* Override any GCC internal prototype to avoid an error.
18824    Use char because int might match the return type of a GCC
18825    builtin and then its argument prototype would still apply.  */
18826 #ifdef __cplusplus
18827 extern "C"
18828 #endif
18829 char nanosleep ();
18830 int
18831 main ()
18832 {
18833 return nanosleep ();
18834   ;
18835   return 0;
18836 }
18837 _ACEOF
18838 for ac_lib in '' rt posix4; do
18839   if test -z "$ac_lib"; then
18840     ac_res="none required"
18841   else
18842     ac_res=-l$ac_lib
18843     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
18844   fi
18845   if test x$gcc_no_link = xyes; then
18846   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18847 fi
18848 if ac_fn_cxx_try_link "$LINENO"; then :
18849   ac_cv_search_nanosleep=$ac_res
18850 fi
18851 rm -f core conftest.err conftest.$ac_objext \
18852     conftest$ac_exeext
18853   if test "${ac_cv_search_nanosleep+set}" = set; then :
18854   break
18855 fi
18856 done
18857 if test "${ac_cv_search_nanosleep+set}" = set; then :
18858
18859 else
18860   ac_cv_search_nanosleep=no
18861 fi
18862 rm conftest.$ac_ext
18863 LIBS=$ac_func_search_save_LIBS
18864 fi
18865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
18866 $as_echo "$ac_cv_search_nanosleep" >&6; }
18867 ac_res=$ac_cv_search_nanosleep
18868 if test "$ac_res" != no; then :
18869   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18870
18871 fi
18872
18873     else
18874       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18875 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18876 if test "${ac_cv_search_clock_gettime+set}" = set; then :
18877   $as_echo_n "(cached) " >&6
18878 else
18879   ac_func_search_save_LIBS=$LIBS
18880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18881 /* end confdefs.h.  */
18882
18883 /* Override any GCC internal prototype to avoid an error.
18884    Use char because int might match the return type of a GCC
18885    builtin and then its argument prototype would still apply.  */
18886 #ifdef __cplusplus
18887 extern "C"
18888 #endif
18889 char clock_gettime ();
18890 int
18891 main ()
18892 {
18893 return clock_gettime ();
18894   ;
18895   return 0;
18896 }
18897 _ACEOF
18898 for ac_lib in '' posix4; do
18899   if test -z "$ac_lib"; then
18900     ac_res="none required"
18901   else
18902     ac_res=-l$ac_lib
18903     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
18904   fi
18905   if test x$gcc_no_link = xyes; then
18906   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18907 fi
18908 if ac_fn_cxx_try_link "$LINENO"; then :
18909   ac_cv_search_clock_gettime=$ac_res
18910 fi
18911 rm -f core conftest.err conftest.$ac_objext \
18912     conftest$ac_exeext
18913   if test "${ac_cv_search_clock_gettime+set}" = set; then :
18914   break
18915 fi
18916 done
18917 if test "${ac_cv_search_clock_gettime+set}" = set; then :
18918
18919 else
18920   ac_cv_search_clock_gettime=no
18921 fi
18922 rm conftest.$ac_ext
18923 LIBS=$ac_func_search_save_LIBS
18924 fi
18925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18926 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18927 ac_res=$ac_cv_search_clock_gettime
18928 if test "$ac_res" != no; then :
18929   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18930
18931 fi
18932
18933       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
18934 $as_echo_n "checking for library containing nanosleep... " >&6; }
18935 if test "${ac_cv_search_nanosleep+set}" = set; then :
18936   $as_echo_n "(cached) " >&6
18937 else
18938   ac_func_search_save_LIBS=$LIBS
18939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18940 /* end confdefs.h.  */
18941
18942 /* Override any GCC internal prototype to avoid an error.
18943    Use char because int might match the return type of a GCC
18944    builtin and then its argument prototype would still apply.  */
18945 #ifdef __cplusplus
18946 extern "C"
18947 #endif
18948 char nanosleep ();
18949 int
18950 main ()
18951 {
18952 return nanosleep ();
18953   ;
18954   return 0;
18955 }
18956 _ACEOF
18957 for ac_lib in '' posix4; do
18958   if test -z "$ac_lib"; then
18959     ac_res="none required"
18960   else
18961     ac_res=-l$ac_lib
18962     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
18963   fi
18964   if test x$gcc_no_link = xyes; then
18965   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18966 fi
18967 if ac_fn_cxx_try_link "$LINENO"; then :
18968   ac_cv_search_nanosleep=$ac_res
18969 fi
18970 rm -f core conftest.err conftest.$ac_objext \
18971     conftest$ac_exeext
18972   if test "${ac_cv_search_nanosleep+set}" = set; then :
18973   break
18974 fi
18975 done
18976 if test "${ac_cv_search_nanosleep+set}" = set; then :
18977
18978 else
18979   ac_cv_search_nanosleep=no
18980 fi
18981 rm conftest.$ac_ext
18982 LIBS=$ac_func_search_save_LIBS
18983 fi
18984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
18985 $as_echo "$ac_cv_search_nanosleep" >&6; }
18986 ac_res=$ac_cv_search_nanosleep
18987 if test "$ac_res" != no; then :
18988   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18989
18990 fi
18991
18992     fi
18993
18994     case "$ac_cv_search_clock_gettime" in
18995       -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
18996       ;;
18997     esac
18998     case "$ac_cv_search_nanosleep" in
18999       -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
19000       ;;
19001     esac
19002
19003     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
19004 $as_echo_n "checking for library containing sched_yield... " >&6; }
19005 if test "${ac_cv_search_sched_yield+set}" = set; then :
19006   $as_echo_n "(cached) " >&6
19007 else
19008   ac_func_search_save_LIBS=$LIBS
19009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19010 /* end confdefs.h.  */
19011
19012 /* Override any GCC internal prototype to avoid an error.
19013    Use char because int might match the return type of a GCC
19014    builtin and then its argument prototype would still apply.  */
19015 #ifdef __cplusplus
19016 extern "C"
19017 #endif
19018 char sched_yield ();
19019 int
19020 main ()
19021 {
19022 return sched_yield ();
19023   ;
19024   return 0;
19025 }
19026 _ACEOF
19027 for ac_lib in '' rt posix4; do
19028   if test -z "$ac_lib"; then
19029     ac_res="none required"
19030   else
19031     ac_res=-l$ac_lib
19032     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
19033   fi
19034   if test x$gcc_no_link = xyes; then
19035   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19036 fi
19037 if ac_fn_cxx_try_link "$LINENO"; then :
19038   ac_cv_search_sched_yield=$ac_res
19039 fi
19040 rm -f core conftest.err conftest.$ac_objext \
19041     conftest$ac_exeext
19042   if test "${ac_cv_search_sched_yield+set}" = set; then :
19043   break
19044 fi
19045 done
19046 if test "${ac_cv_search_sched_yield+set}" = set; then :
19047
19048 else
19049   ac_cv_search_sched_yield=no
19050 fi
19051 rm conftest.$ac_ext
19052 LIBS=$ac_func_search_save_LIBS
19053 fi
19054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
19055 $as_echo "$ac_cv_search_sched_yield" >&6; }
19056 ac_res=$ac_cv_search_sched_yield
19057 if test "$ac_res" != no; then :
19058   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19059
19060 fi
19061
19062
19063     case "$ac_cv_search_sched_yield" in
19064       -lposix4*)
19065       GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19066
19067 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19068
19069       ;;
19070       -lrt*)
19071       if test x"$enable_libstdcxx_time" = x"rt"; then
19072         GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19073
19074 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19075
19076       fi
19077       ;;
19078       *)
19079
19080 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19081
19082       ;;
19083     esac
19084
19085     for ac_header in unistd.h
19086 do :
19087   ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19088 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19089   cat >>confdefs.h <<_ACEOF
19090 #define HAVE_UNISTD_H 1
19091 _ACEOF
19092  ac_has_unistd_h=yes
19093 else
19094   ac_has_unistd_h=no
19095 fi
19096
19097 done
19098
19099
19100     if test x"$ac_has_unistd_h" = x"yes"; then
19101       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
19102 $as_echo_n "checking for monotonic clock... " >&6; }
19103       if test x$gcc_no_link = xyes; then
19104   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19105 fi
19106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19107 /* end confdefs.h.  */
19108 #include <unistd.h>
19109          #include <time.h>
19110
19111 int
19112 main ()
19113 {
19114 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
19115           timespec tp;
19116          #endif
19117           clock_gettime(CLOCK_MONOTONIC, &tp);
19118
19119   ;
19120   return 0;
19121 }
19122 _ACEOF
19123 if ac_fn_cxx_try_link "$LINENO"; then :
19124   ac_has_clock_monotonic=yes
19125 else
19126   ac_has_clock_monotonic=no
19127 fi
19128 rm -f core conftest.err conftest.$ac_objext \
19129     conftest$ac_exeext conftest.$ac_ext
19130
19131       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
19132 $as_echo "$ac_has_clock_monotonic" >&6; }
19133
19134       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
19135 $as_echo_n "checking for realtime clock... " >&6; }
19136       if test x$gcc_no_link = xyes; then
19137   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19138 fi
19139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19140 /* end confdefs.h.  */
19141 #include <unistd.h>
19142          #include <time.h>
19143
19144 int
19145 main ()
19146 {
19147 #if _POSIX_TIMERS > 0
19148           timespec tp;
19149          #endif
19150           clock_gettime(CLOCK_REALTIME, &tp);
19151
19152   ;
19153   return 0;
19154 }
19155 _ACEOF
19156 if ac_fn_cxx_try_link "$LINENO"; then :
19157   ac_has_clock_realtime=yes
19158 else
19159   ac_has_clock_realtime=no
19160 fi
19161 rm -f core conftest.err conftest.$ac_objext \
19162     conftest$ac_exeext conftest.$ac_ext
19163
19164       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
19165 $as_echo "$ac_has_clock_realtime" >&6; }
19166
19167       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
19168 $as_echo_n "checking for nanosleep... " >&6; }
19169       if test x$gcc_no_link = xyes; then
19170   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19171 fi
19172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19173 /* end confdefs.h.  */
19174 #include <unistd.h>
19175          #include <time.h>
19176
19177 int
19178 main ()
19179 {
19180 #if _POSIX_TIMERS > 0
19181           timespec tp;
19182          #endif
19183           nanosleep(&tp, 0);
19184
19185   ;
19186   return 0;
19187 }
19188 _ACEOF
19189 if ac_fn_cxx_try_link "$LINENO"; then :
19190   ac_has_nanosleep=yes
19191 else
19192   ac_has_nanosleep=no
19193 fi
19194 rm -f core conftest.err conftest.$ac_objext \
19195     conftest$ac_exeext conftest.$ac_ext
19196
19197       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
19198 $as_echo "$ac_has_nanosleep" >&6; }
19199     fi
19200   fi
19201
19202   if test x"$ac_has_clock_monotonic" = x"yes"; then
19203
19204 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
19205
19206   fi
19207
19208   if test x"$ac_has_clock_realtime" = x"yes"; then
19209
19210 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
19211
19212   fi
19213
19214   if test x"$ac_has_nanosleep" = x"yes"; then
19215
19216 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
19217
19218   fi
19219
19220
19221
19222   CXXFLAGS="$ac_save_CXXFLAGS"
19223   LIBS="$ac_save_LIBS"
19224   ac_ext=c
19225 ac_cpp='$CPP $CPPFLAGS'
19226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19229
19230
19231
19232 # For gthread support
19233
19234
19235   ac_ext=cpp
19236 ac_cpp='$CXXCPP $CPPFLAGS'
19237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19240
19241
19242   ac_save_CXXFLAGS="$CXXFLAGS"
19243   CXXFLAGS="$CXXFLAGS -fno-exceptions -I${toplevel_srcdir}/gcc"
19244
19245   target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
19246   case $target_thread_file in
19247     posix)
19248       CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
19249   esac
19250
19251   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
19252 $as_echo_n "checking for gthreads library... " >&6; }
19253
19254   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19255 /* end confdefs.h.  */
19256 #include "gthr.h"
19257 int
19258 main ()
19259 {
19260
19261       #ifndef __GTHREADS_CXX0X
19262       #error
19263       #endif
19264
19265       // In case of POSIX threads check _POSIX_TIMEOUTS too.
19266       #if (defined(_PTHREADS) \
19267            && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
19268       #error
19269       #endif
19270
19271   ;
19272   return 0;
19273 }
19274 _ACEOF
19275 if ac_fn_cxx_try_compile "$LINENO"; then :
19276   ac_has_gthreads=yes
19277 else
19278   ac_has_gthreads=no
19279 fi
19280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19281
19282   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
19283 $as_echo "$ac_has_gthreads" >&6; }
19284
19285   if test x"$ac_has_gthreads" = x"yes"; then
19286
19287 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
19288
19289   fi
19290
19291   CXXFLAGS="$ac_save_CXXFLAGS"
19292   ac_ext=c
19293 ac_cpp='$CPP $CPPFLAGS'
19294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19297
19298
19299
19300
19301   ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
19302 if test "x$ac_cv_header_locale_h" = x""yes; then :
19303
19304     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
19305 $as_echo_n "checking for LC_MESSAGES... " >&6; }
19306 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
19307   $as_echo_n "(cached) " >&6
19308 else
19309   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19310 /* end confdefs.h.  */
19311 #include <locale.h>
19312 int
19313 main ()
19314 {
19315 return LC_MESSAGES
19316   ;
19317   return 0;
19318 }
19319 _ACEOF
19320 if ac_fn_c_try_compile "$LINENO"; then :
19321   ac_cv_val_LC_MESSAGES=yes
19322 else
19323   ac_cv_val_LC_MESSAGES=no
19324 fi
19325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19326 fi
19327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
19328 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
19329     if test $ac_cv_val_LC_MESSAGES = yes; then
19330
19331 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
19332
19333     fi
19334
19335 fi
19336
19337
19338
19339
19340 # Check for available headers.
19341 for ac_header in endian.h float.h fp.h ieeefp.h inttypes.h locale.h \
19342 machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
19343 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
19344 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
19345 wchar.h wctype.h
19346 do :
19347   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19348 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19349 eval as_val=\$$as_ac_Header
19350    if test "x$as_val" = x""yes; then :
19351   cat >>confdefs.h <<_ACEOF
19352 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19353 _ACEOF
19354
19355 fi
19356
19357 done
19358
19359
19360 # Only do link tests if native. Else, hardcode.
19361 if $GLIBCXX_IS_NATIVE; then
19362
19363   # We can do more elaborate tests that assume a working linker.
19364   CANADIAN=no
19365
19366
19367
19368 # Check whether --with-gnu-ld was given.
19369 if test "${with_gnu_ld+set}" = set; then :
19370   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
19371 else
19372   with_gnu_ld=no
19373 fi
19374
19375 ac_prog=ld
19376 if test "$GCC" = yes; then
19377   # Check if gcc -print-prog-name=ld gives a path.
19378   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
19379 $as_echo_n "checking for ld used by $CC... " >&6; }
19380   case $host in
19381   *-*-mingw*)
19382     # gcc leaves a trailing carriage return which upsets mingw
19383     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
19384   *)
19385     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
19386   esac
19387   case $ac_prog in
19388     # Accept absolute paths.
19389     [\\/]* | ?:[\\/]*)
19390       re_direlt='/[^/][^/]*/\.\./'
19391       # Canonicalize the pathname of ld
19392       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
19393       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
19394         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
19395       done
19396       test -z "$LD" && LD="$ac_prog"
19397       ;;
19398   "")
19399     # If it fails, then pretend we aren't using GCC.
19400     ac_prog=ld
19401     ;;
19402   *)
19403     # If it is relative, then search for the first ld in PATH.
19404     with_gnu_ld=unknown
19405     ;;
19406   esac
19407 elif test "$with_gnu_ld" = yes; then
19408   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
19409 $as_echo_n "checking for GNU ld... " >&6; }
19410 else
19411   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
19412 $as_echo_n "checking for non-GNU ld... " >&6; }
19413 fi
19414 if test "${lt_cv_path_LD+set}" = set; then :
19415   $as_echo_n "(cached) " >&6
19416 else
19417   if test -z "$LD"; then
19418   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
19419   for ac_dir in $PATH; do
19420     IFS="$lt_save_ifs"
19421     test -z "$ac_dir" && ac_dir=.
19422     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
19423       lt_cv_path_LD="$ac_dir/$ac_prog"
19424       # Check to see if the program is GNU ld.  I'd rather use --version,
19425       # but apparently some variants of GNU ld only accept -v.
19426       # Break only if it was the GNU/non-GNU ld that we prefer.
19427       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
19428       *GNU* | *'with BFD'*)
19429         test "$with_gnu_ld" != no && break
19430         ;;
19431       *)
19432         test "$with_gnu_ld" != yes && break
19433         ;;
19434       esac
19435     fi
19436   done
19437   IFS="$lt_save_ifs"
19438 else
19439   lt_cv_path_LD="$LD" # Let the user override the test with a path.
19440 fi
19441 fi
19442
19443 LD="$lt_cv_path_LD"
19444 if test -n "$LD"; then
19445   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
19446 $as_echo "$LD" >&6; }
19447 else
19448   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19449 $as_echo "no" >&6; }
19450 fi
19451 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
19452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
19453 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
19454 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
19455   $as_echo_n "(cached) " >&6
19456 else
19457   # I'd rather use --version here, but apparently some GNU lds only accept -v.
19458 case `$LD -v 2>&1 </dev/null` in
19459 *GNU* | *'with BFD'*)
19460   lt_cv_prog_gnu_ld=yes
19461   ;;
19462 *)
19463   lt_cv_prog_gnu_ld=no
19464   ;;
19465 esac
19466 fi
19467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
19468 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
19469 with_gnu_ld=$lt_cv_prog_gnu_ld
19470
19471
19472
19473
19474
19475
19476
19477   # If we're not using GNU ld, then there's no point in even trying these
19478   # tests.  Check for that first.  We should have already tested for gld
19479   # by now (in libtool), but require it now just to be safe...
19480   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
19481   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
19482
19483
19484
19485   # The name set by libtool depends on the version of libtool.  Shame on us
19486   # for depending on an impl detail, but c'est la vie.  Older versions used
19487   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
19488   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
19489   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
19490   # set (hence we're using an older libtool), then set it.
19491   if test x${with_gnu_ld+set} != xset; then
19492     if test x${ac_cv_prog_gnu_ld+set} != xset; then
19493       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
19494       with_gnu_ld=no
19495     else
19496       with_gnu_ld=$ac_cv_prog_gnu_ld
19497     fi
19498   fi
19499
19500   # Start by getting the version number.  I think the libtool test already
19501   # does some of this, but throws away the result.
19502   glibcxx_ld_is_gold=no
19503   if test x"$with_gnu_ld" = x"yes"; then
19504     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
19505 $as_echo_n "checking for ld version... " >&6; }
19506
19507     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
19508       glibcxx_ld_is_gold=yes
19509     fi
19510     ldver=`$LD --version 2>/dev/null | head -1 | \
19511            sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
19512
19513     glibcxx_gnu_ld_version=`echo $ldver | \
19514            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
19515     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
19516 $as_echo "$glibcxx_gnu_ld_version" >&6; }
19517   fi
19518
19519   # Set --gc-sections.
19520   glibcxx_have_gc_sections=no
19521   if test "$glibcxx_ld_is_gold" = "yes"; then
19522     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
19523       glibcxx_have_gc_sections=yes
19524     fi
19525   else
19526     glibcxx_gcsections_min_ld=21602
19527     if test x"$with_gnu_ld" = x"yes" &&
19528         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
19529       glibcxx_have_gc_sections=yes
19530     fi
19531   fi
19532   if test "$glibcxx_have_gc_sections" = "yes"; then
19533     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
19534     # NB: This flag only works reliably after 2.16.1. Configure tests
19535     # for this are difficult, so hard wire a value that should work.
19536
19537     ac_test_CFLAGS="${CFLAGS+set}"
19538     ac_save_CFLAGS="$CFLAGS"
19539     CFLAGS='-Wl,--gc-sections'
19540
19541     # Check for -Wl,--gc-sections
19542     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
19543 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
19544     if test x$gcc_no_link = xyes; then
19545   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19546 fi
19547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19548 /* end confdefs.h.  */
19549  int one(void) { return 1; }
19550      int two(void) { return 2; }
19551
19552 int
19553 main ()
19554 {
19555  two();
19556   ;
19557   return 0;
19558 }
19559 _ACEOF
19560 if ac_fn_c_try_link "$LINENO"; then :
19561   ac_gcsections=yes
19562 else
19563   ac_gcsections=no
19564 fi
19565 rm -f core conftest.err conftest.$ac_objext \
19566     conftest$ac_exeext conftest.$ac_ext
19567     if test "$ac_gcsections" = "yes"; then
19568       rm -f conftest.c
19569       touch conftest.c
19570       if $CC -c conftest.c; then
19571         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
19572            grep "Warning: gc-sections option ignored" > /dev/null; then
19573           ac_gcsections=no
19574         fi
19575       fi
19576       rm -f conftest.c conftest.o conftest
19577     fi
19578     if test "$ac_gcsections" = "yes"; then
19579       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
19580     fi
19581     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
19582 $as_echo "$ac_gcsections" >&6; }
19583
19584     if test "$ac_test_CFLAGS" = set; then
19585       CFLAGS="$ac_save_CFLAGS"
19586     else
19587       # this is the suspicious part
19588       CFLAGS=''
19589     fi
19590   fi
19591
19592   # Set -z,relro.
19593   # Note this is only for shared objects.
19594   ac_ld_relro=no
19595   if test x"$with_gnu_ld" = x"yes"; then
19596     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
19597 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
19598     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
19599     if test -n "$cxx_z_relo"; then
19600       OPT_LDFLAGS="-Wl,-z,relro"
19601       ac_ld_relro=yes
19602     fi
19603     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
19604 $as_echo "$ac_ld_relro" >&6; }
19605   fi
19606
19607   # Set linker optimization flags.
19608   if test x"$with_gnu_ld" = x"yes"; then
19609     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
19610   fi
19611
19612
19613
19614
19615
19616   ac_test_CXXFLAGS="${CXXFLAGS+set}"
19617   ac_save_CXXFLAGS="$CXXFLAGS"
19618   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
19619
19620     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
19621 $as_echo_n "checking for sin in -lm... " >&6; }
19622 if test "${ac_cv_lib_m_sin+set}" = set; then :
19623   $as_echo_n "(cached) " >&6
19624 else
19625   ac_check_lib_save_LIBS=$LIBS
19626 LIBS="-lm  $LIBS"
19627 if test x$gcc_no_link = xyes; then
19628   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19629 fi
19630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19631 /* end confdefs.h.  */
19632
19633 /* Override any GCC internal prototype to avoid an error.
19634    Use char because int might match the return type of a GCC
19635    builtin and then its argument prototype would still apply.  */
19636 #ifdef __cplusplus
19637 extern "C"
19638 #endif
19639 char sin ();
19640 int
19641 main ()
19642 {
19643 return sin ();
19644   ;
19645   return 0;
19646 }
19647 _ACEOF
19648 if ac_fn_c_try_link "$LINENO"; then :
19649   ac_cv_lib_m_sin=yes
19650 else
19651   ac_cv_lib_m_sin=no
19652 fi
19653 rm -f core conftest.err conftest.$ac_objext \
19654     conftest$ac_exeext conftest.$ac_ext
19655 LIBS=$ac_check_lib_save_LIBS
19656 fi
19657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
19658 $as_echo "$ac_cv_lib_m_sin" >&6; }
19659 if test "x$ac_cv_lib_m_sin" = x""yes; then :
19660   libm="-lm"
19661 fi
19662
19663   ac_save_LIBS="$LIBS"
19664   LIBS="$LIBS $libm"
19665
19666
19667
19668   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
19669 $as_echo_n "checking for isinf declaration... " >&6; }
19670   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
19671     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
19672   $as_echo_n "(cached) " >&6
19673 else
19674
19675
19676       ac_ext=cpp
19677 ac_cpp='$CXXCPP $CPPFLAGS'
19678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19681
19682       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19683 /* end confdefs.h.  */
19684 #include <math.h>
19685                       #ifdef HAVE_IEEEFP_H
19686                       #include <ieeefp.h>
19687                       #endif
19688
19689 int
19690 main ()
19691 {
19692  isinf(0);
19693   ;
19694   return 0;
19695 }
19696 _ACEOF
19697 if ac_fn_cxx_try_compile "$LINENO"; then :
19698   glibcxx_cv_func_isinf_use=yes
19699 else
19700   glibcxx_cv_func_isinf_use=no
19701 fi
19702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19703       ac_ext=c
19704 ac_cpp='$CPP $CPPFLAGS'
19705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19708
19709
19710 fi
19711
19712   fi
19713   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
19714 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
19715
19716   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
19717     for ac_func in isinf
19718 do :
19719   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
19720 if test "x$ac_cv_func_isinf" = x""yes; then :
19721   cat >>confdefs.h <<_ACEOF
19722 #define HAVE_ISINF 1
19723 _ACEOF
19724
19725 fi
19726 done
19727
19728   else
19729
19730   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
19731 $as_echo_n "checking for _isinf declaration... " >&6; }
19732   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
19733     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
19734   $as_echo_n "(cached) " >&6
19735 else
19736
19737
19738       ac_ext=cpp
19739 ac_cpp='$CXXCPP $CPPFLAGS'
19740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19743
19744       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19745 /* end confdefs.h.  */
19746 #include <math.h>
19747                       #ifdef HAVE_IEEEFP_H
19748                       #include <ieeefp.h>
19749                       #endif
19750
19751 int
19752 main ()
19753 {
19754  _isinf(0);
19755   ;
19756   return 0;
19757 }
19758 _ACEOF
19759 if ac_fn_cxx_try_compile "$LINENO"; then :
19760   glibcxx_cv_func__isinf_use=yes
19761 else
19762   glibcxx_cv_func__isinf_use=no
19763 fi
19764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19765       ac_ext=c
19766 ac_cpp='$CPP $CPPFLAGS'
19767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19770
19771
19772 fi
19773
19774   fi
19775   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
19776 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
19777
19778     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
19779       for ac_func in _isinf
19780 do :
19781   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
19782 if test "x$ac_cv_func__isinf" = x""yes; then :
19783   cat >>confdefs.h <<_ACEOF
19784 #define HAVE__ISINF 1
19785 _ACEOF
19786
19787 fi
19788 done
19789
19790     fi
19791   fi
19792
19793
19794
19795
19796
19797   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
19798 $as_echo_n "checking for isnan declaration... " >&6; }
19799   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
19800     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
19801   $as_echo_n "(cached) " >&6
19802 else
19803
19804
19805       ac_ext=cpp
19806 ac_cpp='$CXXCPP $CPPFLAGS'
19807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19810
19811       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19812 /* end confdefs.h.  */
19813 #include <math.h>
19814                       #ifdef HAVE_IEEEFP_H
19815                       #include <ieeefp.h>
19816                       #endif
19817
19818 int
19819 main ()
19820 {
19821  isnan(0);
19822   ;
19823   return 0;
19824 }
19825 _ACEOF
19826 if ac_fn_cxx_try_compile "$LINENO"; then :
19827   glibcxx_cv_func_isnan_use=yes
19828 else
19829   glibcxx_cv_func_isnan_use=no
19830 fi
19831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19832       ac_ext=c
19833 ac_cpp='$CPP $CPPFLAGS'
19834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19837
19838
19839 fi
19840
19841   fi
19842   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
19843 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
19844
19845   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
19846     for ac_func in isnan
19847 do :
19848   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
19849 if test "x$ac_cv_func_isnan" = x""yes; then :
19850   cat >>confdefs.h <<_ACEOF
19851 #define HAVE_ISNAN 1
19852 _ACEOF
19853
19854 fi
19855 done
19856
19857   else
19858
19859   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
19860 $as_echo_n "checking for _isnan declaration... " >&6; }
19861   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
19862     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
19863   $as_echo_n "(cached) " >&6
19864 else
19865
19866
19867       ac_ext=cpp
19868 ac_cpp='$CXXCPP $CPPFLAGS'
19869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19872
19873       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19874 /* end confdefs.h.  */
19875 #include <math.h>
19876                       #ifdef HAVE_IEEEFP_H
19877                       #include <ieeefp.h>
19878                       #endif
19879
19880 int
19881 main ()
19882 {
19883  _isnan(0);
19884   ;
19885   return 0;
19886 }
19887 _ACEOF
19888 if ac_fn_cxx_try_compile "$LINENO"; then :
19889   glibcxx_cv_func__isnan_use=yes
19890 else
19891   glibcxx_cv_func__isnan_use=no
19892 fi
19893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19894       ac_ext=c
19895 ac_cpp='$CPP $CPPFLAGS'
19896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19899
19900
19901 fi
19902
19903   fi
19904   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
19905 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
19906
19907     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
19908       for ac_func in _isnan
19909 do :
19910   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
19911 if test "x$ac_cv_func__isnan" = x""yes; then :
19912   cat >>confdefs.h <<_ACEOF
19913 #define HAVE__ISNAN 1
19914 _ACEOF
19915
19916 fi
19917 done
19918
19919     fi
19920   fi
19921
19922
19923
19924
19925
19926   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
19927 $as_echo_n "checking for finite declaration... " >&6; }
19928   if test x${glibcxx_cv_func_finite_use+set} != xset; then
19929     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
19930   $as_echo_n "(cached) " >&6
19931 else
19932
19933
19934       ac_ext=cpp
19935 ac_cpp='$CXXCPP $CPPFLAGS'
19936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19939
19940       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19941 /* end confdefs.h.  */
19942 #include <math.h>
19943                       #ifdef HAVE_IEEEFP_H
19944                       #include <ieeefp.h>
19945                       #endif
19946
19947 int
19948 main ()
19949 {
19950  finite(0);
19951   ;
19952   return 0;
19953 }
19954 _ACEOF
19955 if ac_fn_cxx_try_compile "$LINENO"; then :
19956   glibcxx_cv_func_finite_use=yes
19957 else
19958   glibcxx_cv_func_finite_use=no
19959 fi
19960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19961       ac_ext=c
19962 ac_cpp='$CPP $CPPFLAGS'
19963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19966
19967
19968 fi
19969
19970   fi
19971   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
19972 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
19973
19974   if test x$glibcxx_cv_func_finite_use = x"yes"; then
19975     for ac_func in finite
19976 do :
19977   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
19978 if test "x$ac_cv_func_finite" = x""yes; then :
19979   cat >>confdefs.h <<_ACEOF
19980 #define HAVE_FINITE 1
19981 _ACEOF
19982
19983 fi
19984 done
19985
19986   else
19987
19988   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
19989 $as_echo_n "checking for _finite declaration... " >&6; }
19990   if test x${glibcxx_cv_func__finite_use+set} != xset; then
19991     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
19992   $as_echo_n "(cached) " >&6
19993 else
19994
19995
19996       ac_ext=cpp
19997 ac_cpp='$CXXCPP $CPPFLAGS'
19998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20001
20002       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20003 /* end confdefs.h.  */
20004 #include <math.h>
20005                       #ifdef HAVE_IEEEFP_H
20006                       #include <ieeefp.h>
20007                       #endif
20008
20009 int
20010 main ()
20011 {
20012  _finite(0);
20013   ;
20014   return 0;
20015 }
20016 _ACEOF
20017 if ac_fn_cxx_try_compile "$LINENO"; then :
20018   glibcxx_cv_func__finite_use=yes
20019 else
20020   glibcxx_cv_func__finite_use=no
20021 fi
20022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20023       ac_ext=c
20024 ac_cpp='$CPP $CPPFLAGS'
20025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20028
20029
20030 fi
20031
20032   fi
20033   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
20034 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
20035
20036     if test x$glibcxx_cv_func__finite_use = x"yes"; then
20037       for ac_func in _finite
20038 do :
20039   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
20040 if test "x$ac_cv_func__finite" = x""yes; then :
20041   cat >>confdefs.h <<_ACEOF
20042 #define HAVE__FINITE 1
20043 _ACEOF
20044
20045 fi
20046 done
20047
20048     fi
20049   fi
20050
20051
20052
20053
20054
20055   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
20056 $as_echo_n "checking for sincos declaration... " >&6; }
20057   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
20058     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
20059   $as_echo_n "(cached) " >&6
20060 else
20061
20062
20063       ac_ext=cpp
20064 ac_cpp='$CXXCPP $CPPFLAGS'
20065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20068
20069       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20070 /* end confdefs.h.  */
20071 #include <math.h>
20072 int
20073 main ()
20074 {
20075  sincos(0, 0, 0);
20076   ;
20077   return 0;
20078 }
20079 _ACEOF
20080 if ac_fn_cxx_try_compile "$LINENO"; then :
20081   glibcxx_cv_func_sincos_use=yes
20082 else
20083   glibcxx_cv_func_sincos_use=no
20084 fi
20085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20086       ac_ext=c
20087 ac_cpp='$CPP $CPPFLAGS'
20088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20091
20092
20093 fi
20094
20095   fi
20096   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
20097 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
20098
20099   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
20100     for ac_func in sincos
20101 do :
20102   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
20103 if test "x$ac_cv_func_sincos" = x""yes; then :
20104   cat >>confdefs.h <<_ACEOF
20105 #define HAVE_SINCOS 1
20106 _ACEOF
20107
20108 fi
20109 done
20110
20111   else
20112
20113   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
20114 $as_echo_n "checking for _sincos declaration... " >&6; }
20115   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
20116     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
20117   $as_echo_n "(cached) " >&6
20118 else
20119
20120
20121       ac_ext=cpp
20122 ac_cpp='$CXXCPP $CPPFLAGS'
20123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20126
20127       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20128 /* end confdefs.h.  */
20129 #include <math.h>
20130 int
20131 main ()
20132 {
20133  _sincos(0, 0, 0);
20134   ;
20135   return 0;
20136 }
20137 _ACEOF
20138 if ac_fn_cxx_try_compile "$LINENO"; then :
20139   glibcxx_cv_func__sincos_use=yes
20140 else
20141   glibcxx_cv_func__sincos_use=no
20142 fi
20143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20144       ac_ext=c
20145 ac_cpp='$CPP $CPPFLAGS'
20146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20149
20150
20151 fi
20152
20153   fi
20154   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
20155 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
20156
20157     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
20158       for ac_func in _sincos
20159 do :
20160   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
20161 if test "x$ac_cv_func__sincos" = x""yes; then :
20162   cat >>confdefs.h <<_ACEOF
20163 #define HAVE__SINCOS 1
20164 _ACEOF
20165
20166 fi
20167 done
20168
20169     fi
20170   fi
20171
20172
20173
20174
20175
20176   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
20177 $as_echo_n "checking for fpclass declaration... " >&6; }
20178   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
20179     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
20180   $as_echo_n "(cached) " >&6
20181 else
20182
20183
20184       ac_ext=cpp
20185 ac_cpp='$CXXCPP $CPPFLAGS'
20186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20189
20190       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20191 /* end confdefs.h.  */
20192 #include <math.h>
20193                       #ifdef HAVE_IEEEFP_H
20194                       #include <ieeefp.h>
20195                       #endif
20196
20197 int
20198 main ()
20199 {
20200  fpclass(0);
20201   ;
20202   return 0;
20203 }
20204 _ACEOF
20205 if ac_fn_cxx_try_compile "$LINENO"; then :
20206   glibcxx_cv_func_fpclass_use=yes
20207 else
20208   glibcxx_cv_func_fpclass_use=no
20209 fi
20210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20211       ac_ext=c
20212 ac_cpp='$CPP $CPPFLAGS'
20213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20216
20217
20218 fi
20219
20220   fi
20221   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
20222 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
20223
20224   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
20225     for ac_func in fpclass
20226 do :
20227   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
20228 if test "x$ac_cv_func_fpclass" = x""yes; then :
20229   cat >>confdefs.h <<_ACEOF
20230 #define HAVE_FPCLASS 1
20231 _ACEOF
20232
20233 fi
20234 done
20235
20236   else
20237
20238   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
20239 $as_echo_n "checking for _fpclass declaration... " >&6; }
20240   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
20241     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
20242   $as_echo_n "(cached) " >&6
20243 else
20244
20245
20246       ac_ext=cpp
20247 ac_cpp='$CXXCPP $CPPFLAGS'
20248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20251
20252       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20253 /* end confdefs.h.  */
20254 #include <math.h>
20255                       #ifdef HAVE_IEEEFP_H
20256                       #include <ieeefp.h>
20257                       #endif
20258
20259 int
20260 main ()
20261 {
20262  _fpclass(0);
20263   ;
20264   return 0;
20265 }
20266 _ACEOF
20267 if ac_fn_cxx_try_compile "$LINENO"; then :
20268   glibcxx_cv_func__fpclass_use=yes
20269 else
20270   glibcxx_cv_func__fpclass_use=no
20271 fi
20272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20273       ac_ext=c
20274 ac_cpp='$CPP $CPPFLAGS'
20275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20278
20279
20280 fi
20281
20282   fi
20283   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
20284 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
20285
20286     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
20287       for ac_func in _fpclass
20288 do :
20289   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
20290 if test "x$ac_cv_func__fpclass" = x""yes; then :
20291   cat >>confdefs.h <<_ACEOF
20292 #define HAVE__FPCLASS 1
20293 _ACEOF
20294
20295 fi
20296 done
20297
20298     fi
20299   fi
20300
20301
20302
20303
20304
20305   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
20306 $as_echo_n "checking for qfpclass declaration... " >&6; }
20307   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
20308     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
20309   $as_echo_n "(cached) " >&6
20310 else
20311
20312
20313       ac_ext=cpp
20314 ac_cpp='$CXXCPP $CPPFLAGS'
20315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20318
20319       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20320 /* end confdefs.h.  */
20321 #include <math.h>
20322                       #ifdef HAVE_IEEEFP_H
20323                       #include <ieeefp.h>
20324                       #endif
20325
20326 int
20327 main ()
20328 {
20329  qfpclass(0);
20330   ;
20331   return 0;
20332 }
20333 _ACEOF
20334 if ac_fn_cxx_try_compile "$LINENO"; then :
20335   glibcxx_cv_func_qfpclass_use=yes
20336 else
20337   glibcxx_cv_func_qfpclass_use=no
20338 fi
20339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20340       ac_ext=c
20341 ac_cpp='$CPP $CPPFLAGS'
20342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20345
20346
20347 fi
20348
20349   fi
20350   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
20351 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
20352
20353   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
20354     for ac_func in qfpclass
20355 do :
20356   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
20357 if test "x$ac_cv_func_qfpclass" = x""yes; then :
20358   cat >>confdefs.h <<_ACEOF
20359 #define HAVE_QFPCLASS 1
20360 _ACEOF
20361
20362 fi
20363 done
20364
20365   else
20366
20367   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
20368 $as_echo_n "checking for _qfpclass declaration... " >&6; }
20369   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
20370     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
20371   $as_echo_n "(cached) " >&6
20372 else
20373
20374
20375       ac_ext=cpp
20376 ac_cpp='$CXXCPP $CPPFLAGS'
20377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20380
20381       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20382 /* end confdefs.h.  */
20383 #include <math.h>
20384                       #ifdef HAVE_IEEEFP_H
20385                       #include <ieeefp.h>
20386                       #endif
20387
20388 int
20389 main ()
20390 {
20391  _qfpclass(0);
20392   ;
20393   return 0;
20394 }
20395 _ACEOF
20396 if ac_fn_cxx_try_compile "$LINENO"; then :
20397   glibcxx_cv_func__qfpclass_use=yes
20398 else
20399   glibcxx_cv_func__qfpclass_use=no
20400 fi
20401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20402       ac_ext=c
20403 ac_cpp='$CPP $CPPFLAGS'
20404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20407
20408
20409 fi
20410
20411   fi
20412   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
20413 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
20414
20415     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
20416       for ac_func in _qfpclass
20417 do :
20418   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
20419 if test "x$ac_cv_func__qfpclass" = x""yes; then :
20420   cat >>confdefs.h <<_ACEOF
20421 #define HAVE__QFPCLASS 1
20422 _ACEOF
20423
20424 fi
20425 done
20426
20427     fi
20428   fi
20429
20430
20431
20432
20433
20434   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
20435 $as_echo_n "checking for hypot declaration... " >&6; }
20436   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
20437     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
20438   $as_echo_n "(cached) " >&6
20439 else
20440
20441
20442       ac_ext=cpp
20443 ac_cpp='$CXXCPP $CPPFLAGS'
20444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20447
20448       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20449 /* end confdefs.h.  */
20450 #include <math.h>
20451 int
20452 main ()
20453 {
20454  hypot(0, 0);
20455   ;
20456   return 0;
20457 }
20458 _ACEOF
20459 if ac_fn_cxx_try_compile "$LINENO"; then :
20460   glibcxx_cv_func_hypot_use=yes
20461 else
20462   glibcxx_cv_func_hypot_use=no
20463 fi
20464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20465       ac_ext=c
20466 ac_cpp='$CPP $CPPFLAGS'
20467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20470
20471
20472 fi
20473
20474   fi
20475   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
20476 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
20477
20478   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
20479     for ac_func in hypot
20480 do :
20481   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
20482 if test "x$ac_cv_func_hypot" = x""yes; then :
20483   cat >>confdefs.h <<_ACEOF
20484 #define HAVE_HYPOT 1
20485 _ACEOF
20486
20487 fi
20488 done
20489
20490   else
20491
20492   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
20493 $as_echo_n "checking for _hypot declaration... " >&6; }
20494   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
20495     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
20496   $as_echo_n "(cached) " >&6
20497 else
20498
20499
20500       ac_ext=cpp
20501 ac_cpp='$CXXCPP $CPPFLAGS'
20502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20505
20506       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20507 /* end confdefs.h.  */
20508 #include <math.h>
20509 int
20510 main ()
20511 {
20512  _hypot(0, 0);
20513   ;
20514   return 0;
20515 }
20516 _ACEOF
20517 if ac_fn_cxx_try_compile "$LINENO"; then :
20518   glibcxx_cv_func__hypot_use=yes
20519 else
20520   glibcxx_cv_func__hypot_use=no
20521 fi
20522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20523       ac_ext=c
20524 ac_cpp='$CPP $CPPFLAGS'
20525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20528
20529
20530 fi
20531
20532   fi
20533   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
20534 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
20535
20536     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
20537       for ac_func in _hypot
20538 do :
20539   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
20540 if test "x$ac_cv_func__hypot" = x""yes; then :
20541   cat >>confdefs.h <<_ACEOF
20542 #define HAVE__HYPOT 1
20543 _ACEOF
20544
20545 fi
20546 done
20547
20548     fi
20549   fi
20550
20551
20552
20553
20554
20555     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
20556 $as_echo_n "checking for float trig functions... " >&6; }
20557   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
20558   $as_echo_n "(cached) " >&6
20559 else
20560
20561
20562     ac_ext=cpp
20563 ac_cpp='$CXXCPP $CPPFLAGS'
20564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20567
20568     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20569 /* end confdefs.h.  */
20570 #include <math.h>
20571 int
20572 main ()
20573 {
20574 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
20575   ;
20576   return 0;
20577 }
20578 _ACEOF
20579 if ac_fn_cxx_try_compile "$LINENO"; then :
20580   glibcxx_cv_func_float_trig_use=yes
20581 else
20582   glibcxx_cv_func_float_trig_use=no
20583 fi
20584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20585     ac_ext=c
20586 ac_cpp='$CPP $CPPFLAGS'
20587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20590
20591 fi
20592
20593   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
20594 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
20595   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
20596     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
20597 do :
20598   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20599 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20600 eval as_val=\$$as_ac_var
20601    if test "x$as_val" = x""yes; then :
20602   cat >>confdefs.h <<_ACEOF
20603 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20604 _ACEOF
20605
20606 fi
20607 done
20608
20609   else
20610     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
20611 $as_echo_n "checking for _float trig functions... " >&6; }
20612     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
20613   $as_echo_n "(cached) " >&6
20614 else
20615
20616
20617       ac_ext=cpp
20618 ac_cpp='$CXXCPP $CPPFLAGS'
20619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20622
20623       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20624 /* end confdefs.h.  */
20625 #include <math.h>
20626 int
20627 main ()
20628 {
20629 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
20630   ;
20631   return 0;
20632 }
20633 _ACEOF
20634 if ac_fn_cxx_try_compile "$LINENO"; then :
20635   glibcxx_cv_func__float_trig_use=yes
20636 else
20637   glibcxx_cv_func__float_trig_use=no
20638 fi
20639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20640       ac_ext=c
20641 ac_cpp='$CPP $CPPFLAGS'
20642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20645
20646 fi
20647
20648     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
20649 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
20650     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
20651       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
20652 do :
20653   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20654 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20655 eval as_val=\$$as_ac_var
20656    if test "x$as_val" = x""yes; then :
20657   cat >>confdefs.h <<_ACEOF
20658 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20659 _ACEOF
20660
20661 fi
20662 done
20663
20664     fi
20665   fi
20666
20667
20668
20669
20670
20671     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
20672 $as_echo_n "checking for float round functions... " >&6; }
20673   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
20674   $as_echo_n "(cached) " >&6
20675 else
20676
20677
20678     ac_ext=cpp
20679 ac_cpp='$CXXCPP $CPPFLAGS'
20680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20683
20684     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20685 /* end confdefs.h.  */
20686 #include <math.h>
20687 int
20688 main ()
20689 {
20690 ceilf (0); floorf (0);
20691   ;
20692   return 0;
20693 }
20694 _ACEOF
20695 if ac_fn_cxx_try_compile "$LINENO"; then :
20696   glibcxx_cv_func_float_round_use=yes
20697 else
20698   glibcxx_cv_func_float_round_use=no
20699 fi
20700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20701     ac_ext=c
20702 ac_cpp='$CPP $CPPFLAGS'
20703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20706
20707 fi
20708
20709   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
20710 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
20711   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
20712     for ac_func in ceilf floorf
20713 do :
20714   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20715 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20716 eval as_val=\$$as_ac_var
20717    if test "x$as_val" = x""yes; then :
20718   cat >>confdefs.h <<_ACEOF
20719 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20720 _ACEOF
20721
20722 fi
20723 done
20724
20725   else
20726     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
20727 $as_echo_n "checking for _float round functions... " >&6; }
20728     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
20729   $as_echo_n "(cached) " >&6
20730 else
20731
20732
20733       ac_ext=cpp
20734 ac_cpp='$CXXCPP $CPPFLAGS'
20735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20738
20739       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20740 /* end confdefs.h.  */
20741 #include <math.h>
20742 int
20743 main ()
20744 {
20745 _ceilf (0); _floorf (0);
20746   ;
20747   return 0;
20748 }
20749 _ACEOF
20750 if ac_fn_cxx_try_compile "$LINENO"; then :
20751   glibcxx_cv_func__float_round_use=yes
20752 else
20753   glibcxx_cv_func__float_round_use=no
20754 fi
20755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20756       ac_ext=c
20757 ac_cpp='$CPP $CPPFLAGS'
20758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20761
20762 fi
20763
20764     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
20765 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
20766     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
20767       for ac_func in _ceilf _floorf
20768 do :
20769   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20770 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20771 eval as_val=\$$as_ac_var
20772    if test "x$as_val" = x""yes; then :
20773   cat >>confdefs.h <<_ACEOF
20774 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20775 _ACEOF
20776
20777 fi
20778 done
20779
20780     fi
20781   fi
20782
20783
20784
20785
20786
20787
20788   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
20789 $as_echo_n "checking for expf declaration... " >&6; }
20790   if test x${glibcxx_cv_func_expf_use+set} != xset; then
20791     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
20792   $as_echo_n "(cached) " >&6
20793 else
20794
20795
20796       ac_ext=cpp
20797 ac_cpp='$CXXCPP $CPPFLAGS'
20798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20801
20802       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20803 /* end confdefs.h.  */
20804 #include <math.h>
20805                       #ifdef HAVE_IEEEFP_H
20806                       #include <ieeefp.h>
20807                       #endif
20808
20809 int
20810 main ()
20811 {
20812  expf(0);
20813   ;
20814   return 0;
20815 }
20816 _ACEOF
20817 if ac_fn_cxx_try_compile "$LINENO"; then :
20818   glibcxx_cv_func_expf_use=yes
20819 else
20820   glibcxx_cv_func_expf_use=no
20821 fi
20822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20823       ac_ext=c
20824 ac_cpp='$CPP $CPPFLAGS'
20825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20828
20829
20830 fi
20831
20832   fi
20833   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
20834 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
20835
20836   if test x$glibcxx_cv_func_expf_use = x"yes"; then
20837     for ac_func in expf
20838 do :
20839   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
20840 if test "x$ac_cv_func_expf" = x""yes; then :
20841   cat >>confdefs.h <<_ACEOF
20842 #define HAVE_EXPF 1
20843 _ACEOF
20844
20845 fi
20846 done
20847
20848   else
20849
20850   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
20851 $as_echo_n "checking for _expf declaration... " >&6; }
20852   if test x${glibcxx_cv_func__expf_use+set} != xset; then
20853     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
20854   $as_echo_n "(cached) " >&6
20855 else
20856
20857
20858       ac_ext=cpp
20859 ac_cpp='$CXXCPP $CPPFLAGS'
20860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20863
20864       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20865 /* end confdefs.h.  */
20866 #include <math.h>
20867                       #ifdef HAVE_IEEEFP_H
20868                       #include <ieeefp.h>
20869                       #endif
20870
20871 int
20872 main ()
20873 {
20874  _expf(0);
20875   ;
20876   return 0;
20877 }
20878 _ACEOF
20879 if ac_fn_cxx_try_compile "$LINENO"; then :
20880   glibcxx_cv_func__expf_use=yes
20881 else
20882   glibcxx_cv_func__expf_use=no
20883 fi
20884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20885       ac_ext=c
20886 ac_cpp='$CPP $CPPFLAGS'
20887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20890
20891
20892 fi
20893
20894   fi
20895   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
20896 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
20897
20898     if test x$glibcxx_cv_func__expf_use = x"yes"; then
20899       for ac_func in _expf
20900 do :
20901   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
20902 if test "x$ac_cv_func__expf" = x""yes; then :
20903   cat >>confdefs.h <<_ACEOF
20904 #define HAVE__EXPF 1
20905 _ACEOF
20906
20907 fi
20908 done
20909
20910     fi
20911   fi
20912
20913
20914
20915
20916
20917   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
20918 $as_echo_n "checking for isnanf declaration... " >&6; }
20919   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
20920     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
20921   $as_echo_n "(cached) " >&6
20922 else
20923
20924
20925       ac_ext=cpp
20926 ac_cpp='$CXXCPP $CPPFLAGS'
20927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20930
20931       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20932 /* end confdefs.h.  */
20933 #include <math.h>
20934                       #ifdef HAVE_IEEEFP_H
20935                       #include <ieeefp.h>
20936                       #endif
20937
20938 int
20939 main ()
20940 {
20941  isnanf(0);
20942   ;
20943   return 0;
20944 }
20945 _ACEOF
20946 if ac_fn_cxx_try_compile "$LINENO"; then :
20947   glibcxx_cv_func_isnanf_use=yes
20948 else
20949   glibcxx_cv_func_isnanf_use=no
20950 fi
20951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20952       ac_ext=c
20953 ac_cpp='$CPP $CPPFLAGS'
20954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20957
20958
20959 fi
20960
20961   fi
20962   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
20963 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
20964
20965   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
20966     for ac_func in isnanf
20967 do :
20968   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
20969 if test "x$ac_cv_func_isnanf" = x""yes; then :
20970   cat >>confdefs.h <<_ACEOF
20971 #define HAVE_ISNANF 1
20972 _ACEOF
20973
20974 fi
20975 done
20976
20977   else
20978
20979   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
20980 $as_echo_n "checking for _isnanf declaration... " >&6; }
20981   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
20982     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
20983   $as_echo_n "(cached) " >&6
20984 else
20985
20986
20987       ac_ext=cpp
20988 ac_cpp='$CXXCPP $CPPFLAGS'
20989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20992
20993       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20994 /* end confdefs.h.  */
20995 #include <math.h>
20996                       #ifdef HAVE_IEEEFP_H
20997                       #include <ieeefp.h>
20998                       #endif
20999
21000 int
21001 main ()
21002 {
21003  _isnanf(0);
21004   ;
21005   return 0;
21006 }
21007 _ACEOF
21008 if ac_fn_cxx_try_compile "$LINENO"; then :
21009   glibcxx_cv_func__isnanf_use=yes
21010 else
21011   glibcxx_cv_func__isnanf_use=no
21012 fi
21013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21014       ac_ext=c
21015 ac_cpp='$CPP $CPPFLAGS'
21016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21019
21020
21021 fi
21022
21023   fi
21024   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
21025 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
21026
21027     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
21028       for ac_func in _isnanf
21029 do :
21030   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
21031 if test "x$ac_cv_func__isnanf" = x""yes; then :
21032   cat >>confdefs.h <<_ACEOF
21033 #define HAVE__ISNANF 1
21034 _ACEOF
21035
21036 fi
21037 done
21038
21039     fi
21040   fi
21041
21042
21043
21044
21045
21046   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
21047 $as_echo_n "checking for isinff declaration... " >&6; }
21048   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
21049     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
21050   $as_echo_n "(cached) " >&6
21051 else
21052
21053
21054       ac_ext=cpp
21055 ac_cpp='$CXXCPP $CPPFLAGS'
21056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21059
21060       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21061 /* end confdefs.h.  */
21062 #include <math.h>
21063                       #ifdef HAVE_IEEEFP_H
21064                       #include <ieeefp.h>
21065                       #endif
21066
21067 int
21068 main ()
21069 {
21070  isinff(0);
21071   ;
21072   return 0;
21073 }
21074 _ACEOF
21075 if ac_fn_cxx_try_compile "$LINENO"; then :
21076   glibcxx_cv_func_isinff_use=yes
21077 else
21078   glibcxx_cv_func_isinff_use=no
21079 fi
21080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21081       ac_ext=c
21082 ac_cpp='$CPP $CPPFLAGS'
21083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21086
21087
21088 fi
21089
21090   fi
21091   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
21092 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
21093
21094   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
21095     for ac_func in isinff
21096 do :
21097   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
21098 if test "x$ac_cv_func_isinff" = x""yes; then :
21099   cat >>confdefs.h <<_ACEOF
21100 #define HAVE_ISINFF 1
21101 _ACEOF
21102
21103 fi
21104 done
21105
21106   else
21107
21108   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
21109 $as_echo_n "checking for _isinff declaration... " >&6; }
21110   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
21111     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
21112   $as_echo_n "(cached) " >&6
21113 else
21114
21115
21116       ac_ext=cpp
21117 ac_cpp='$CXXCPP $CPPFLAGS'
21118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21121
21122       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21123 /* end confdefs.h.  */
21124 #include <math.h>
21125                       #ifdef HAVE_IEEEFP_H
21126                       #include <ieeefp.h>
21127                       #endif
21128
21129 int
21130 main ()
21131 {
21132  _isinff(0);
21133   ;
21134   return 0;
21135 }
21136 _ACEOF
21137 if ac_fn_cxx_try_compile "$LINENO"; then :
21138   glibcxx_cv_func__isinff_use=yes
21139 else
21140   glibcxx_cv_func__isinff_use=no
21141 fi
21142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21143       ac_ext=c
21144 ac_cpp='$CPP $CPPFLAGS'
21145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21148
21149
21150 fi
21151
21152   fi
21153   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
21154 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
21155
21156     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
21157       for ac_func in _isinff
21158 do :
21159   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
21160 if test "x$ac_cv_func__isinff" = x""yes; then :
21161   cat >>confdefs.h <<_ACEOF
21162 #define HAVE__ISINFF 1
21163 _ACEOF
21164
21165 fi
21166 done
21167
21168     fi
21169   fi
21170
21171
21172
21173
21174
21175   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
21176 $as_echo_n "checking for atan2f declaration... " >&6; }
21177   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
21178     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
21179   $as_echo_n "(cached) " >&6
21180 else
21181
21182
21183       ac_ext=cpp
21184 ac_cpp='$CXXCPP $CPPFLAGS'
21185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21188
21189       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21190 /* end confdefs.h.  */
21191 #include <math.h>
21192 int
21193 main ()
21194 {
21195  atan2f(0, 0);
21196   ;
21197   return 0;
21198 }
21199 _ACEOF
21200 if ac_fn_cxx_try_compile "$LINENO"; then :
21201   glibcxx_cv_func_atan2f_use=yes
21202 else
21203   glibcxx_cv_func_atan2f_use=no
21204 fi
21205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21206       ac_ext=c
21207 ac_cpp='$CPP $CPPFLAGS'
21208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21211
21212
21213 fi
21214
21215   fi
21216   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
21217 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
21218
21219   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
21220     for ac_func in atan2f
21221 do :
21222   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
21223 if test "x$ac_cv_func_atan2f" = x""yes; then :
21224   cat >>confdefs.h <<_ACEOF
21225 #define HAVE_ATAN2F 1
21226 _ACEOF
21227
21228 fi
21229 done
21230
21231   else
21232
21233   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
21234 $as_echo_n "checking for _atan2f declaration... " >&6; }
21235   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
21236     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
21237   $as_echo_n "(cached) " >&6
21238 else
21239
21240
21241       ac_ext=cpp
21242 ac_cpp='$CXXCPP $CPPFLAGS'
21243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21246
21247       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21248 /* end confdefs.h.  */
21249 #include <math.h>
21250 int
21251 main ()
21252 {
21253  _atan2f(0, 0);
21254   ;
21255   return 0;
21256 }
21257 _ACEOF
21258 if ac_fn_cxx_try_compile "$LINENO"; then :
21259   glibcxx_cv_func__atan2f_use=yes
21260 else
21261   glibcxx_cv_func__atan2f_use=no
21262 fi
21263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21264       ac_ext=c
21265 ac_cpp='$CPP $CPPFLAGS'
21266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21269
21270
21271 fi
21272
21273   fi
21274   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
21275 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
21276
21277     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
21278       for ac_func in _atan2f
21279 do :
21280   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
21281 if test "x$ac_cv_func__atan2f" = x""yes; then :
21282   cat >>confdefs.h <<_ACEOF
21283 #define HAVE__ATAN2F 1
21284 _ACEOF
21285
21286 fi
21287 done
21288
21289     fi
21290   fi
21291
21292
21293
21294
21295
21296   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
21297 $as_echo_n "checking for fabsf declaration... " >&6; }
21298   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
21299     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
21300   $as_echo_n "(cached) " >&6
21301 else
21302
21303
21304       ac_ext=cpp
21305 ac_cpp='$CXXCPP $CPPFLAGS'
21306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21309
21310       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21311 /* end confdefs.h.  */
21312 #include <math.h>
21313                       #ifdef HAVE_IEEEFP_H
21314                       #include <ieeefp.h>
21315                       #endif
21316
21317 int
21318 main ()
21319 {
21320  fabsf(0);
21321   ;
21322   return 0;
21323 }
21324 _ACEOF
21325 if ac_fn_cxx_try_compile "$LINENO"; then :
21326   glibcxx_cv_func_fabsf_use=yes
21327 else
21328   glibcxx_cv_func_fabsf_use=no
21329 fi
21330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21331       ac_ext=c
21332 ac_cpp='$CPP $CPPFLAGS'
21333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21336
21337
21338 fi
21339
21340   fi
21341   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
21342 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
21343
21344   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
21345     for ac_func in fabsf
21346 do :
21347   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
21348 if test "x$ac_cv_func_fabsf" = x""yes; then :
21349   cat >>confdefs.h <<_ACEOF
21350 #define HAVE_FABSF 1
21351 _ACEOF
21352
21353 fi
21354 done
21355
21356   else
21357
21358   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
21359 $as_echo_n "checking for _fabsf declaration... " >&6; }
21360   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
21361     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
21362   $as_echo_n "(cached) " >&6
21363 else
21364
21365
21366       ac_ext=cpp
21367 ac_cpp='$CXXCPP $CPPFLAGS'
21368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21371
21372       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21373 /* end confdefs.h.  */
21374 #include <math.h>
21375                       #ifdef HAVE_IEEEFP_H
21376                       #include <ieeefp.h>
21377                       #endif
21378
21379 int
21380 main ()
21381 {
21382  _fabsf(0);
21383   ;
21384   return 0;
21385 }
21386 _ACEOF
21387 if ac_fn_cxx_try_compile "$LINENO"; then :
21388   glibcxx_cv_func__fabsf_use=yes
21389 else
21390   glibcxx_cv_func__fabsf_use=no
21391 fi
21392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21393       ac_ext=c
21394 ac_cpp='$CPP $CPPFLAGS'
21395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21398
21399
21400 fi
21401
21402   fi
21403   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
21404 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
21405
21406     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
21407       for ac_func in _fabsf
21408 do :
21409   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
21410 if test "x$ac_cv_func__fabsf" = x""yes; then :
21411   cat >>confdefs.h <<_ACEOF
21412 #define HAVE__FABSF 1
21413 _ACEOF
21414
21415 fi
21416 done
21417
21418     fi
21419   fi
21420
21421
21422
21423
21424
21425   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
21426 $as_echo_n "checking for fmodf declaration... " >&6; }
21427   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
21428     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
21429   $as_echo_n "(cached) " >&6
21430 else
21431
21432
21433       ac_ext=cpp
21434 ac_cpp='$CXXCPP $CPPFLAGS'
21435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21438
21439       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21440 /* end confdefs.h.  */
21441 #include <math.h>
21442 int
21443 main ()
21444 {
21445  fmodf(0, 0);
21446   ;
21447   return 0;
21448 }
21449 _ACEOF
21450 if ac_fn_cxx_try_compile "$LINENO"; then :
21451   glibcxx_cv_func_fmodf_use=yes
21452 else
21453   glibcxx_cv_func_fmodf_use=no
21454 fi
21455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21456       ac_ext=c
21457 ac_cpp='$CPP $CPPFLAGS'
21458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21461
21462
21463 fi
21464
21465   fi
21466   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
21467 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
21468
21469   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
21470     for ac_func in fmodf
21471 do :
21472   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
21473 if test "x$ac_cv_func_fmodf" = x""yes; then :
21474   cat >>confdefs.h <<_ACEOF
21475 #define HAVE_FMODF 1
21476 _ACEOF
21477
21478 fi
21479 done
21480
21481   else
21482
21483   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
21484 $as_echo_n "checking for _fmodf declaration... " >&6; }
21485   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
21486     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
21487   $as_echo_n "(cached) " >&6
21488 else
21489
21490
21491       ac_ext=cpp
21492 ac_cpp='$CXXCPP $CPPFLAGS'
21493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21496
21497       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21498 /* end confdefs.h.  */
21499 #include <math.h>
21500 int
21501 main ()
21502 {
21503  _fmodf(0, 0);
21504   ;
21505   return 0;
21506 }
21507 _ACEOF
21508 if ac_fn_cxx_try_compile "$LINENO"; then :
21509   glibcxx_cv_func__fmodf_use=yes
21510 else
21511   glibcxx_cv_func__fmodf_use=no
21512 fi
21513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21514       ac_ext=c
21515 ac_cpp='$CPP $CPPFLAGS'
21516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21519
21520
21521 fi
21522
21523   fi
21524   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
21525 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
21526
21527     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
21528       for ac_func in _fmodf
21529 do :
21530   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
21531 if test "x$ac_cv_func__fmodf" = x""yes; then :
21532   cat >>confdefs.h <<_ACEOF
21533 #define HAVE__FMODF 1
21534 _ACEOF
21535
21536 fi
21537 done
21538
21539     fi
21540   fi
21541
21542
21543
21544
21545
21546   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
21547 $as_echo_n "checking for frexpf declaration... " >&6; }
21548   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
21549     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
21550   $as_echo_n "(cached) " >&6
21551 else
21552
21553
21554       ac_ext=cpp
21555 ac_cpp='$CXXCPP $CPPFLAGS'
21556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21559
21560       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21561 /* end confdefs.h.  */
21562 #include <math.h>
21563 int
21564 main ()
21565 {
21566  frexpf(0, 0);
21567   ;
21568   return 0;
21569 }
21570 _ACEOF
21571 if ac_fn_cxx_try_compile "$LINENO"; then :
21572   glibcxx_cv_func_frexpf_use=yes
21573 else
21574   glibcxx_cv_func_frexpf_use=no
21575 fi
21576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21577       ac_ext=c
21578 ac_cpp='$CPP $CPPFLAGS'
21579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21582
21583
21584 fi
21585
21586   fi
21587   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
21588 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
21589
21590   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
21591     for ac_func in frexpf
21592 do :
21593   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
21594 if test "x$ac_cv_func_frexpf" = x""yes; then :
21595   cat >>confdefs.h <<_ACEOF
21596 #define HAVE_FREXPF 1
21597 _ACEOF
21598
21599 fi
21600 done
21601
21602   else
21603
21604   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
21605 $as_echo_n "checking for _frexpf declaration... " >&6; }
21606   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
21607     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
21608   $as_echo_n "(cached) " >&6
21609 else
21610
21611
21612       ac_ext=cpp
21613 ac_cpp='$CXXCPP $CPPFLAGS'
21614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21617
21618       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21619 /* end confdefs.h.  */
21620 #include <math.h>
21621 int
21622 main ()
21623 {
21624  _frexpf(0, 0);
21625   ;
21626   return 0;
21627 }
21628 _ACEOF
21629 if ac_fn_cxx_try_compile "$LINENO"; then :
21630   glibcxx_cv_func__frexpf_use=yes
21631 else
21632   glibcxx_cv_func__frexpf_use=no
21633 fi
21634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21635       ac_ext=c
21636 ac_cpp='$CPP $CPPFLAGS'
21637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21640
21641
21642 fi
21643
21644   fi
21645   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
21646 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
21647
21648     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
21649       for ac_func in _frexpf
21650 do :
21651   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
21652 if test "x$ac_cv_func__frexpf" = x""yes; then :
21653   cat >>confdefs.h <<_ACEOF
21654 #define HAVE__FREXPF 1
21655 _ACEOF
21656
21657 fi
21658 done
21659
21660     fi
21661   fi
21662
21663
21664
21665
21666
21667   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
21668 $as_echo_n "checking for hypotf declaration... " >&6; }
21669   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
21670     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
21671   $as_echo_n "(cached) " >&6
21672 else
21673
21674
21675       ac_ext=cpp
21676 ac_cpp='$CXXCPP $CPPFLAGS'
21677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21680
21681       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21682 /* end confdefs.h.  */
21683 #include <math.h>
21684 int
21685 main ()
21686 {
21687  hypotf(0, 0);
21688   ;
21689   return 0;
21690 }
21691 _ACEOF
21692 if ac_fn_cxx_try_compile "$LINENO"; then :
21693   glibcxx_cv_func_hypotf_use=yes
21694 else
21695   glibcxx_cv_func_hypotf_use=no
21696 fi
21697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21698       ac_ext=c
21699 ac_cpp='$CPP $CPPFLAGS'
21700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21703
21704
21705 fi
21706
21707   fi
21708   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
21709 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
21710
21711   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
21712     for ac_func in hypotf
21713 do :
21714   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
21715 if test "x$ac_cv_func_hypotf" = x""yes; then :
21716   cat >>confdefs.h <<_ACEOF
21717 #define HAVE_HYPOTF 1
21718 _ACEOF
21719
21720 fi
21721 done
21722
21723   else
21724
21725   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
21726 $as_echo_n "checking for _hypotf declaration... " >&6; }
21727   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
21728     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
21729   $as_echo_n "(cached) " >&6
21730 else
21731
21732
21733       ac_ext=cpp
21734 ac_cpp='$CXXCPP $CPPFLAGS'
21735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21738
21739       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21740 /* end confdefs.h.  */
21741 #include <math.h>
21742 int
21743 main ()
21744 {
21745  _hypotf(0, 0);
21746   ;
21747   return 0;
21748 }
21749 _ACEOF
21750 if ac_fn_cxx_try_compile "$LINENO"; then :
21751   glibcxx_cv_func__hypotf_use=yes
21752 else
21753   glibcxx_cv_func__hypotf_use=no
21754 fi
21755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21756       ac_ext=c
21757 ac_cpp='$CPP $CPPFLAGS'
21758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21761
21762
21763 fi
21764
21765   fi
21766   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
21767 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
21768
21769     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
21770       for ac_func in _hypotf
21771 do :
21772   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
21773 if test "x$ac_cv_func__hypotf" = x""yes; then :
21774   cat >>confdefs.h <<_ACEOF
21775 #define HAVE__HYPOTF 1
21776 _ACEOF
21777
21778 fi
21779 done
21780
21781     fi
21782   fi
21783
21784
21785
21786
21787
21788   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
21789 $as_echo_n "checking for ldexpf declaration... " >&6; }
21790   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
21791     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
21792   $as_echo_n "(cached) " >&6
21793 else
21794
21795
21796       ac_ext=cpp
21797 ac_cpp='$CXXCPP $CPPFLAGS'
21798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21801
21802       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21803 /* end confdefs.h.  */
21804 #include <math.h>
21805 int
21806 main ()
21807 {
21808  ldexpf(0, 0);
21809   ;
21810   return 0;
21811 }
21812 _ACEOF
21813 if ac_fn_cxx_try_compile "$LINENO"; then :
21814   glibcxx_cv_func_ldexpf_use=yes
21815 else
21816   glibcxx_cv_func_ldexpf_use=no
21817 fi
21818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21819       ac_ext=c
21820 ac_cpp='$CPP $CPPFLAGS'
21821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21824
21825
21826 fi
21827
21828   fi
21829   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
21830 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
21831
21832   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
21833     for ac_func in ldexpf
21834 do :
21835   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
21836 if test "x$ac_cv_func_ldexpf" = x""yes; then :
21837   cat >>confdefs.h <<_ACEOF
21838 #define HAVE_LDEXPF 1
21839 _ACEOF
21840
21841 fi
21842 done
21843
21844   else
21845
21846   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
21847 $as_echo_n "checking for _ldexpf declaration... " >&6; }
21848   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
21849     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
21850   $as_echo_n "(cached) " >&6
21851 else
21852
21853
21854       ac_ext=cpp
21855 ac_cpp='$CXXCPP $CPPFLAGS'
21856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21859
21860       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21861 /* end confdefs.h.  */
21862 #include <math.h>
21863 int
21864 main ()
21865 {
21866  _ldexpf(0, 0);
21867   ;
21868   return 0;
21869 }
21870 _ACEOF
21871 if ac_fn_cxx_try_compile "$LINENO"; then :
21872   glibcxx_cv_func__ldexpf_use=yes
21873 else
21874   glibcxx_cv_func__ldexpf_use=no
21875 fi
21876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21877       ac_ext=c
21878 ac_cpp='$CPP $CPPFLAGS'
21879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21882
21883
21884 fi
21885
21886   fi
21887   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
21888 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
21889
21890     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
21891       for ac_func in _ldexpf
21892 do :
21893   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
21894 if test "x$ac_cv_func__ldexpf" = x""yes; then :
21895   cat >>confdefs.h <<_ACEOF
21896 #define HAVE__LDEXPF 1
21897 _ACEOF
21898
21899 fi
21900 done
21901
21902     fi
21903   fi
21904
21905
21906
21907
21908
21909   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
21910 $as_echo_n "checking for logf declaration... " >&6; }
21911   if test x${glibcxx_cv_func_logf_use+set} != xset; then
21912     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
21913   $as_echo_n "(cached) " >&6
21914 else
21915
21916
21917       ac_ext=cpp
21918 ac_cpp='$CXXCPP $CPPFLAGS'
21919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21922
21923       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21924 /* end confdefs.h.  */
21925 #include <math.h>
21926                       #ifdef HAVE_IEEEFP_H
21927                       #include <ieeefp.h>
21928                       #endif
21929
21930 int
21931 main ()
21932 {
21933  logf(0);
21934   ;
21935   return 0;
21936 }
21937 _ACEOF
21938 if ac_fn_cxx_try_compile "$LINENO"; then :
21939   glibcxx_cv_func_logf_use=yes
21940 else
21941   glibcxx_cv_func_logf_use=no
21942 fi
21943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21944       ac_ext=c
21945 ac_cpp='$CPP $CPPFLAGS'
21946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21949
21950
21951 fi
21952
21953   fi
21954   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
21955 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
21956
21957   if test x$glibcxx_cv_func_logf_use = x"yes"; then
21958     for ac_func in logf
21959 do :
21960   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
21961 if test "x$ac_cv_func_logf" = x""yes; then :
21962   cat >>confdefs.h <<_ACEOF
21963 #define HAVE_LOGF 1
21964 _ACEOF
21965
21966 fi
21967 done
21968
21969   else
21970
21971   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
21972 $as_echo_n "checking for _logf declaration... " >&6; }
21973   if test x${glibcxx_cv_func__logf_use+set} != xset; then
21974     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
21975   $as_echo_n "(cached) " >&6
21976 else
21977
21978
21979       ac_ext=cpp
21980 ac_cpp='$CXXCPP $CPPFLAGS'
21981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21984
21985       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21986 /* end confdefs.h.  */
21987 #include <math.h>
21988                       #ifdef HAVE_IEEEFP_H
21989                       #include <ieeefp.h>
21990                       #endif
21991
21992 int
21993 main ()
21994 {
21995  _logf(0);
21996   ;
21997   return 0;
21998 }
21999 _ACEOF
22000 if ac_fn_cxx_try_compile "$LINENO"; then :
22001   glibcxx_cv_func__logf_use=yes
22002 else
22003   glibcxx_cv_func__logf_use=no
22004 fi
22005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22006       ac_ext=c
22007 ac_cpp='$CPP $CPPFLAGS'
22008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22011
22012
22013 fi
22014
22015   fi
22016   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
22017 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
22018
22019     if test x$glibcxx_cv_func__logf_use = x"yes"; then
22020       for ac_func in _logf
22021 do :
22022   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
22023 if test "x$ac_cv_func__logf" = x""yes; then :
22024   cat >>confdefs.h <<_ACEOF
22025 #define HAVE__LOGF 1
22026 _ACEOF
22027
22028 fi
22029 done
22030
22031     fi
22032   fi
22033
22034
22035
22036
22037
22038   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
22039 $as_echo_n "checking for log10f declaration... " >&6; }
22040   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
22041     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
22042   $as_echo_n "(cached) " >&6
22043 else
22044
22045
22046       ac_ext=cpp
22047 ac_cpp='$CXXCPP $CPPFLAGS'
22048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22051
22052       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22053 /* end confdefs.h.  */
22054 #include <math.h>
22055                       #ifdef HAVE_IEEEFP_H
22056                       #include <ieeefp.h>
22057                       #endif
22058
22059 int
22060 main ()
22061 {
22062  log10f(0);
22063   ;
22064   return 0;
22065 }
22066 _ACEOF
22067 if ac_fn_cxx_try_compile "$LINENO"; then :
22068   glibcxx_cv_func_log10f_use=yes
22069 else
22070   glibcxx_cv_func_log10f_use=no
22071 fi
22072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22073       ac_ext=c
22074 ac_cpp='$CPP $CPPFLAGS'
22075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22078
22079
22080 fi
22081
22082   fi
22083   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
22084 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
22085
22086   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
22087     for ac_func in log10f
22088 do :
22089   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
22090 if test "x$ac_cv_func_log10f" = x""yes; then :
22091   cat >>confdefs.h <<_ACEOF
22092 #define HAVE_LOG10F 1
22093 _ACEOF
22094
22095 fi
22096 done
22097
22098   else
22099
22100   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
22101 $as_echo_n "checking for _log10f declaration... " >&6; }
22102   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
22103     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
22104   $as_echo_n "(cached) " >&6
22105 else
22106
22107
22108       ac_ext=cpp
22109 ac_cpp='$CXXCPP $CPPFLAGS'
22110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22113
22114       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22115 /* end confdefs.h.  */
22116 #include <math.h>
22117                       #ifdef HAVE_IEEEFP_H
22118                       #include <ieeefp.h>
22119                       #endif
22120
22121 int
22122 main ()
22123 {
22124  _log10f(0);
22125   ;
22126   return 0;
22127 }
22128 _ACEOF
22129 if ac_fn_cxx_try_compile "$LINENO"; then :
22130   glibcxx_cv_func__log10f_use=yes
22131 else
22132   glibcxx_cv_func__log10f_use=no
22133 fi
22134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22135       ac_ext=c
22136 ac_cpp='$CPP $CPPFLAGS'
22137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22140
22141
22142 fi
22143
22144   fi
22145   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
22146 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
22147
22148     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
22149       for ac_func in _log10f
22150 do :
22151   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
22152 if test "x$ac_cv_func__log10f" = x""yes; then :
22153   cat >>confdefs.h <<_ACEOF
22154 #define HAVE__LOG10F 1
22155 _ACEOF
22156
22157 fi
22158 done
22159
22160     fi
22161   fi
22162
22163
22164
22165
22166
22167   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
22168 $as_echo_n "checking for modff declaration... " >&6; }
22169   if test x${glibcxx_cv_func_modff_use+set} != xset; then
22170     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
22171   $as_echo_n "(cached) " >&6
22172 else
22173
22174
22175       ac_ext=cpp
22176 ac_cpp='$CXXCPP $CPPFLAGS'
22177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22180
22181       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22182 /* end confdefs.h.  */
22183 #include <math.h>
22184 int
22185 main ()
22186 {
22187  modff(0, 0);
22188   ;
22189   return 0;
22190 }
22191 _ACEOF
22192 if ac_fn_cxx_try_compile "$LINENO"; then :
22193   glibcxx_cv_func_modff_use=yes
22194 else
22195   glibcxx_cv_func_modff_use=no
22196 fi
22197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22198       ac_ext=c
22199 ac_cpp='$CPP $CPPFLAGS'
22200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22203
22204
22205 fi
22206
22207   fi
22208   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
22209 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
22210
22211   if test x$glibcxx_cv_func_modff_use = x"yes"; then
22212     for ac_func in modff
22213 do :
22214   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
22215 if test "x$ac_cv_func_modff" = x""yes; then :
22216   cat >>confdefs.h <<_ACEOF
22217 #define HAVE_MODFF 1
22218 _ACEOF
22219
22220 fi
22221 done
22222
22223   else
22224
22225   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
22226 $as_echo_n "checking for _modff declaration... " >&6; }
22227   if test x${glibcxx_cv_func__modff_use+set} != xset; then
22228     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
22229   $as_echo_n "(cached) " >&6
22230 else
22231
22232
22233       ac_ext=cpp
22234 ac_cpp='$CXXCPP $CPPFLAGS'
22235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22238
22239       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22240 /* end confdefs.h.  */
22241 #include <math.h>
22242 int
22243 main ()
22244 {
22245  _modff(0, 0);
22246   ;
22247   return 0;
22248 }
22249 _ACEOF
22250 if ac_fn_cxx_try_compile "$LINENO"; then :
22251   glibcxx_cv_func__modff_use=yes
22252 else
22253   glibcxx_cv_func__modff_use=no
22254 fi
22255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22256       ac_ext=c
22257 ac_cpp='$CPP $CPPFLAGS'
22258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22261
22262
22263 fi
22264
22265   fi
22266   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
22267 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
22268
22269     if test x$glibcxx_cv_func__modff_use = x"yes"; then
22270       for ac_func in _modff
22271 do :
22272   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
22273 if test "x$ac_cv_func__modff" = x""yes; then :
22274   cat >>confdefs.h <<_ACEOF
22275 #define HAVE__MODFF 1
22276 _ACEOF
22277
22278 fi
22279 done
22280
22281     fi
22282   fi
22283
22284
22285
22286
22287
22288   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
22289 $as_echo_n "checking for modf declaration... " >&6; }
22290   if test x${glibcxx_cv_func_modf_use+set} != xset; then
22291     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
22292   $as_echo_n "(cached) " >&6
22293 else
22294
22295
22296       ac_ext=cpp
22297 ac_cpp='$CXXCPP $CPPFLAGS'
22298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22301
22302       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22303 /* end confdefs.h.  */
22304 #include <math.h>
22305 int
22306 main ()
22307 {
22308  modf(0, 0);
22309   ;
22310   return 0;
22311 }
22312 _ACEOF
22313 if ac_fn_cxx_try_compile "$LINENO"; then :
22314   glibcxx_cv_func_modf_use=yes
22315 else
22316   glibcxx_cv_func_modf_use=no
22317 fi
22318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22319       ac_ext=c
22320 ac_cpp='$CPP $CPPFLAGS'
22321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22324
22325
22326 fi
22327
22328   fi
22329   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
22330 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
22331
22332   if test x$glibcxx_cv_func_modf_use = x"yes"; then
22333     for ac_func in modf
22334 do :
22335   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
22336 if test "x$ac_cv_func_modf" = x""yes; then :
22337   cat >>confdefs.h <<_ACEOF
22338 #define HAVE_MODF 1
22339 _ACEOF
22340
22341 fi
22342 done
22343
22344   else
22345
22346   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
22347 $as_echo_n "checking for _modf declaration... " >&6; }
22348   if test x${glibcxx_cv_func__modf_use+set} != xset; then
22349     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
22350   $as_echo_n "(cached) " >&6
22351 else
22352
22353
22354       ac_ext=cpp
22355 ac_cpp='$CXXCPP $CPPFLAGS'
22356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22359
22360       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22361 /* end confdefs.h.  */
22362 #include <math.h>
22363 int
22364 main ()
22365 {
22366  _modf(0, 0);
22367   ;
22368   return 0;
22369 }
22370 _ACEOF
22371 if ac_fn_cxx_try_compile "$LINENO"; then :
22372   glibcxx_cv_func__modf_use=yes
22373 else
22374   glibcxx_cv_func__modf_use=no
22375 fi
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
22384 fi
22385
22386   fi
22387   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
22388 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
22389
22390     if test x$glibcxx_cv_func__modf_use = x"yes"; then
22391       for ac_func in _modf
22392 do :
22393   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
22394 if test "x$ac_cv_func__modf" = x""yes; then :
22395   cat >>confdefs.h <<_ACEOF
22396 #define HAVE__MODF 1
22397 _ACEOF
22398
22399 fi
22400 done
22401
22402     fi
22403   fi
22404
22405
22406
22407
22408
22409   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
22410 $as_echo_n "checking for powf declaration... " >&6; }
22411   if test x${glibcxx_cv_func_powf_use+set} != xset; then
22412     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
22413   $as_echo_n "(cached) " >&6
22414 else
22415
22416
22417       ac_ext=cpp
22418 ac_cpp='$CXXCPP $CPPFLAGS'
22419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22422
22423       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22424 /* end confdefs.h.  */
22425 #include <math.h>
22426 int
22427 main ()
22428 {
22429  powf(0, 0);
22430   ;
22431   return 0;
22432 }
22433 _ACEOF
22434 if ac_fn_cxx_try_compile "$LINENO"; then :
22435   glibcxx_cv_func_powf_use=yes
22436 else
22437   glibcxx_cv_func_powf_use=no
22438 fi
22439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22440       ac_ext=c
22441 ac_cpp='$CPP $CPPFLAGS'
22442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22445
22446
22447 fi
22448
22449   fi
22450   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
22451 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
22452
22453   if test x$glibcxx_cv_func_powf_use = x"yes"; then
22454     for ac_func in powf
22455 do :
22456   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
22457 if test "x$ac_cv_func_powf" = x""yes; then :
22458   cat >>confdefs.h <<_ACEOF
22459 #define HAVE_POWF 1
22460 _ACEOF
22461
22462 fi
22463 done
22464
22465   else
22466
22467   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
22468 $as_echo_n "checking for _powf declaration... " >&6; }
22469   if test x${glibcxx_cv_func__powf_use+set} != xset; then
22470     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
22471   $as_echo_n "(cached) " >&6
22472 else
22473
22474
22475       ac_ext=cpp
22476 ac_cpp='$CXXCPP $CPPFLAGS'
22477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22480
22481       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22482 /* end confdefs.h.  */
22483 #include <math.h>
22484 int
22485 main ()
22486 {
22487  _powf(0, 0);
22488   ;
22489   return 0;
22490 }
22491 _ACEOF
22492 if ac_fn_cxx_try_compile "$LINENO"; then :
22493   glibcxx_cv_func__powf_use=yes
22494 else
22495   glibcxx_cv_func__powf_use=no
22496 fi
22497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22498       ac_ext=c
22499 ac_cpp='$CPP $CPPFLAGS'
22500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22503
22504
22505 fi
22506
22507   fi
22508   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
22509 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
22510
22511     if test x$glibcxx_cv_func__powf_use = x"yes"; then
22512       for ac_func in _powf
22513 do :
22514   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
22515 if test "x$ac_cv_func__powf" = x""yes; then :
22516   cat >>confdefs.h <<_ACEOF
22517 #define HAVE__POWF 1
22518 _ACEOF
22519
22520 fi
22521 done
22522
22523     fi
22524   fi
22525
22526
22527
22528
22529
22530   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
22531 $as_echo_n "checking for sqrtf declaration... " >&6; }
22532   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
22533     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
22534   $as_echo_n "(cached) " >&6
22535 else
22536
22537
22538       ac_ext=cpp
22539 ac_cpp='$CXXCPP $CPPFLAGS'
22540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22543
22544       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22545 /* end confdefs.h.  */
22546 #include <math.h>
22547                       #ifdef HAVE_IEEEFP_H
22548                       #include <ieeefp.h>
22549                       #endif
22550
22551 int
22552 main ()
22553 {
22554  sqrtf(0);
22555   ;
22556   return 0;
22557 }
22558 _ACEOF
22559 if ac_fn_cxx_try_compile "$LINENO"; then :
22560   glibcxx_cv_func_sqrtf_use=yes
22561 else
22562   glibcxx_cv_func_sqrtf_use=no
22563 fi
22564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22565       ac_ext=c
22566 ac_cpp='$CPP $CPPFLAGS'
22567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22570
22571
22572 fi
22573
22574   fi
22575   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
22576 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
22577
22578   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
22579     for ac_func in sqrtf
22580 do :
22581   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
22582 if test "x$ac_cv_func_sqrtf" = x""yes; then :
22583   cat >>confdefs.h <<_ACEOF
22584 #define HAVE_SQRTF 1
22585 _ACEOF
22586
22587 fi
22588 done
22589
22590   else
22591
22592   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
22593 $as_echo_n "checking for _sqrtf declaration... " >&6; }
22594   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
22595     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
22596   $as_echo_n "(cached) " >&6
22597 else
22598
22599
22600       ac_ext=cpp
22601 ac_cpp='$CXXCPP $CPPFLAGS'
22602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22605
22606       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22607 /* end confdefs.h.  */
22608 #include <math.h>
22609                       #ifdef HAVE_IEEEFP_H
22610                       #include <ieeefp.h>
22611                       #endif
22612
22613 int
22614 main ()
22615 {
22616  _sqrtf(0);
22617   ;
22618   return 0;
22619 }
22620 _ACEOF
22621 if ac_fn_cxx_try_compile "$LINENO"; then :
22622   glibcxx_cv_func__sqrtf_use=yes
22623 else
22624   glibcxx_cv_func__sqrtf_use=no
22625 fi
22626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22627       ac_ext=c
22628 ac_cpp='$CPP $CPPFLAGS'
22629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22632
22633
22634 fi
22635
22636   fi
22637   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
22638 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
22639
22640     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
22641       for ac_func in _sqrtf
22642 do :
22643   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
22644 if test "x$ac_cv_func__sqrtf" = x""yes; then :
22645   cat >>confdefs.h <<_ACEOF
22646 #define HAVE__SQRTF 1
22647 _ACEOF
22648
22649 fi
22650 done
22651
22652     fi
22653   fi
22654
22655
22656
22657
22658
22659   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
22660 $as_echo_n "checking for sincosf declaration... " >&6; }
22661   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
22662     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
22663   $as_echo_n "(cached) " >&6
22664 else
22665
22666
22667       ac_ext=cpp
22668 ac_cpp='$CXXCPP $CPPFLAGS'
22669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22672
22673       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22674 /* end confdefs.h.  */
22675 #include <math.h>
22676 int
22677 main ()
22678 {
22679  sincosf(0, 0, 0);
22680   ;
22681   return 0;
22682 }
22683 _ACEOF
22684 if ac_fn_cxx_try_compile "$LINENO"; then :
22685   glibcxx_cv_func_sincosf_use=yes
22686 else
22687   glibcxx_cv_func_sincosf_use=no
22688 fi
22689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22690       ac_ext=c
22691 ac_cpp='$CPP $CPPFLAGS'
22692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22695
22696
22697 fi
22698
22699   fi
22700   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
22701 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
22702
22703   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
22704     for ac_func in sincosf
22705 do :
22706   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
22707 if test "x$ac_cv_func_sincosf" = x""yes; then :
22708   cat >>confdefs.h <<_ACEOF
22709 #define HAVE_SINCOSF 1
22710 _ACEOF
22711
22712 fi
22713 done
22714
22715   else
22716
22717   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
22718 $as_echo_n "checking for _sincosf declaration... " >&6; }
22719   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
22720     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
22721   $as_echo_n "(cached) " >&6
22722 else
22723
22724
22725       ac_ext=cpp
22726 ac_cpp='$CXXCPP $CPPFLAGS'
22727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22730
22731       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22732 /* end confdefs.h.  */
22733 #include <math.h>
22734 int
22735 main ()
22736 {
22737  _sincosf(0, 0, 0);
22738   ;
22739   return 0;
22740 }
22741 _ACEOF
22742 if ac_fn_cxx_try_compile "$LINENO"; then :
22743   glibcxx_cv_func__sincosf_use=yes
22744 else
22745   glibcxx_cv_func__sincosf_use=no
22746 fi
22747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22748       ac_ext=c
22749 ac_cpp='$CPP $CPPFLAGS'
22750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22753
22754
22755 fi
22756
22757   fi
22758   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
22759 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
22760
22761     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
22762       for ac_func in _sincosf
22763 do :
22764   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
22765 if test "x$ac_cv_func__sincosf" = x""yes; then :
22766   cat >>confdefs.h <<_ACEOF
22767 #define HAVE__SINCOSF 1
22768 _ACEOF
22769
22770 fi
22771 done
22772
22773     fi
22774   fi
22775
22776
22777
22778
22779
22780   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
22781 $as_echo_n "checking for finitef declaration... " >&6; }
22782   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
22783     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
22784   $as_echo_n "(cached) " >&6
22785 else
22786
22787
22788       ac_ext=cpp
22789 ac_cpp='$CXXCPP $CPPFLAGS'
22790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22793
22794       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22795 /* end confdefs.h.  */
22796 #include <math.h>
22797                       #ifdef HAVE_IEEEFP_H
22798                       #include <ieeefp.h>
22799                       #endif
22800
22801 int
22802 main ()
22803 {
22804  finitef(0);
22805   ;
22806   return 0;
22807 }
22808 _ACEOF
22809 if ac_fn_cxx_try_compile "$LINENO"; then :
22810   glibcxx_cv_func_finitef_use=yes
22811 else
22812   glibcxx_cv_func_finitef_use=no
22813 fi
22814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22815       ac_ext=c
22816 ac_cpp='$CPP $CPPFLAGS'
22817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22820
22821
22822 fi
22823
22824   fi
22825   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
22826 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
22827
22828   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
22829     for ac_func in finitef
22830 do :
22831   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
22832 if test "x$ac_cv_func_finitef" = x""yes; then :
22833   cat >>confdefs.h <<_ACEOF
22834 #define HAVE_FINITEF 1
22835 _ACEOF
22836
22837 fi
22838 done
22839
22840   else
22841
22842   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
22843 $as_echo_n "checking for _finitef declaration... " >&6; }
22844   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
22845     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
22846   $as_echo_n "(cached) " >&6
22847 else
22848
22849
22850       ac_ext=cpp
22851 ac_cpp='$CXXCPP $CPPFLAGS'
22852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22855
22856       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
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  _finitef(0);
22867   ;
22868   return 0;
22869 }
22870 _ACEOF
22871 if ac_fn_cxx_try_compile "$LINENO"; then :
22872   glibcxx_cv_func__finitef_use=yes
22873 else
22874   glibcxx_cv_func__finitef_use=no
22875 fi
22876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22877       ac_ext=c
22878 ac_cpp='$CPP $CPPFLAGS'
22879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22882
22883
22884 fi
22885
22886   fi
22887   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
22888 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
22889
22890     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
22891       for ac_func in _finitef
22892 do :
22893   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
22894 if test "x$ac_cv_func__finitef" = x""yes; then :
22895   cat >>confdefs.h <<_ACEOF
22896 #define HAVE__FINITEF 1
22897 _ACEOF
22898
22899 fi
22900 done
22901
22902     fi
22903   fi
22904
22905
22906
22907
22908
22909     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
22910 $as_echo_n "checking for long double trig functions... " >&6; }
22911   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
22912   $as_echo_n "(cached) " >&6
22913 else
22914
22915
22916     ac_ext=cpp
22917 ac_cpp='$CXXCPP $CPPFLAGS'
22918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22921
22922     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22923 /* end confdefs.h.  */
22924 #include <math.h>
22925 int
22926 main ()
22927 {
22928 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
22929   ;
22930   return 0;
22931 }
22932 _ACEOF
22933 if ac_fn_cxx_try_compile "$LINENO"; then :
22934   glibcxx_cv_func_long_double_trig_use=yes
22935 else
22936   glibcxx_cv_func_long_double_trig_use=no
22937 fi
22938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22939     ac_ext=c
22940 ac_cpp='$CPP $CPPFLAGS'
22941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22944
22945 fi
22946
22947   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
22948 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
22949   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
22950     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
22951 do :
22952   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22953 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22954 eval as_val=\$$as_ac_var
22955    if test "x$as_val" = x""yes; then :
22956   cat >>confdefs.h <<_ACEOF
22957 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22958 _ACEOF
22959
22960 fi
22961 done
22962
22963   else
22964     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
22965 $as_echo_n "checking for _long double trig functions... " >&6; }
22966     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
22967   $as_echo_n "(cached) " >&6
22968 else
22969
22970
22971       ac_ext=cpp
22972 ac_cpp='$CXXCPP $CPPFLAGS'
22973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22976
22977       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22978 /* end confdefs.h.  */
22979 #include <math.h>
22980 int
22981 main ()
22982 {
22983 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
22984   ;
22985   return 0;
22986 }
22987 _ACEOF
22988 if ac_fn_cxx_try_compile "$LINENO"; then :
22989   glibcxx_cv_func__long_double_trig_use=yes
22990 else
22991   glibcxx_cv_func__long_double_trig_use=no
22992 fi
22993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22994       ac_ext=c
22995 ac_cpp='$CPP $CPPFLAGS'
22996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22999
23000 fi
23001
23002     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
23003 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
23004     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
23005       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
23006 do :
23007   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23008 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23009 eval as_val=\$$as_ac_var
23010    if test "x$as_val" = x""yes; then :
23011   cat >>confdefs.h <<_ACEOF
23012 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23013 _ACEOF
23014
23015 fi
23016 done
23017
23018     fi
23019   fi
23020
23021
23022
23023
23024
23025     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
23026 $as_echo_n "checking for long double round functions... " >&6; }
23027   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
23028   $as_echo_n "(cached) " >&6
23029 else
23030
23031
23032     ac_ext=cpp
23033 ac_cpp='$CXXCPP $CPPFLAGS'
23034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23037
23038     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23039 /* end confdefs.h.  */
23040 #include <math.h>
23041 int
23042 main ()
23043 {
23044 ceill (0); floorl (0);
23045   ;
23046   return 0;
23047 }
23048 _ACEOF
23049 if ac_fn_cxx_try_compile "$LINENO"; then :
23050   glibcxx_cv_func_long_double_round_use=yes
23051 else
23052   glibcxx_cv_func_long_double_round_use=no
23053 fi
23054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23055     ac_ext=c
23056 ac_cpp='$CPP $CPPFLAGS'
23057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23060
23061 fi
23062
23063   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
23064 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
23065   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
23066     for ac_func in ceill floorl
23067 do :
23068   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23069 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23070 eval as_val=\$$as_ac_var
23071    if test "x$as_val" = x""yes; then :
23072   cat >>confdefs.h <<_ACEOF
23073 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23074 _ACEOF
23075
23076 fi
23077 done
23078
23079   else
23080     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
23081 $as_echo_n "checking for _long double round functions... " >&6; }
23082     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
23083   $as_echo_n "(cached) " >&6
23084 else
23085
23086
23087       ac_ext=cpp
23088 ac_cpp='$CXXCPP $CPPFLAGS'
23089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23092
23093       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23094 /* end confdefs.h.  */
23095 #include <math.h>
23096 int
23097 main ()
23098 {
23099 _ceill (0); _floorl (0);
23100   ;
23101   return 0;
23102 }
23103 _ACEOF
23104 if ac_fn_cxx_try_compile "$LINENO"; then :
23105   glibcxx_cv_func__long_double_round_use=yes
23106 else
23107   glibcxx_cv_func__long_double_round_use=no
23108 fi
23109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23110       ac_ext=c
23111 ac_cpp='$CPP $CPPFLAGS'
23112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23115
23116 fi
23117
23118     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
23119 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
23120     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
23121       for ac_func in _ceill _floorl
23122 do :
23123   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23124 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23125 eval as_val=\$$as_ac_var
23126    if test "x$as_val" = x""yes; then :
23127   cat >>confdefs.h <<_ACEOF
23128 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23129 _ACEOF
23130
23131 fi
23132 done
23133
23134     fi
23135   fi
23136
23137
23138
23139
23140
23141
23142   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
23143 $as_echo_n "checking for isnanl declaration... " >&6; }
23144   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
23145     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
23146   $as_echo_n "(cached) " >&6
23147 else
23148
23149
23150       ac_ext=cpp
23151 ac_cpp='$CXXCPP $CPPFLAGS'
23152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23155
23156       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23157 /* end confdefs.h.  */
23158 #include <math.h>
23159                       #ifdef HAVE_IEEEFP_H
23160                       #include <ieeefp.h>
23161                       #endif
23162
23163 int
23164 main ()
23165 {
23166  isnanl(0);
23167   ;
23168   return 0;
23169 }
23170 _ACEOF
23171 if ac_fn_cxx_try_compile "$LINENO"; then :
23172   glibcxx_cv_func_isnanl_use=yes
23173 else
23174   glibcxx_cv_func_isnanl_use=no
23175 fi
23176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23177       ac_ext=c
23178 ac_cpp='$CPP $CPPFLAGS'
23179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23182
23183
23184 fi
23185
23186   fi
23187   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
23188 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
23189
23190   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
23191     for ac_func in isnanl
23192 do :
23193   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
23194 if test "x$ac_cv_func_isnanl" = x""yes; then :
23195   cat >>confdefs.h <<_ACEOF
23196 #define HAVE_ISNANL 1
23197 _ACEOF
23198
23199 fi
23200 done
23201
23202   else
23203
23204   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
23205 $as_echo_n "checking for _isnanl declaration... " >&6; }
23206   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
23207     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
23208   $as_echo_n "(cached) " >&6
23209 else
23210
23211
23212       ac_ext=cpp
23213 ac_cpp='$CXXCPP $CPPFLAGS'
23214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23217
23218       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23219 /* end confdefs.h.  */
23220 #include <math.h>
23221                       #ifdef HAVE_IEEEFP_H
23222                       #include <ieeefp.h>
23223                       #endif
23224
23225 int
23226 main ()
23227 {
23228  _isnanl(0);
23229   ;
23230   return 0;
23231 }
23232 _ACEOF
23233 if ac_fn_cxx_try_compile "$LINENO"; then :
23234   glibcxx_cv_func__isnanl_use=yes
23235 else
23236   glibcxx_cv_func__isnanl_use=no
23237 fi
23238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23239       ac_ext=c
23240 ac_cpp='$CPP $CPPFLAGS'
23241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23244
23245
23246 fi
23247
23248   fi
23249   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
23250 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
23251
23252     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
23253       for ac_func in _isnanl
23254 do :
23255   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
23256 if test "x$ac_cv_func__isnanl" = x""yes; then :
23257   cat >>confdefs.h <<_ACEOF
23258 #define HAVE__ISNANL 1
23259 _ACEOF
23260
23261 fi
23262 done
23263
23264     fi
23265   fi
23266
23267
23268
23269
23270
23271   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
23272 $as_echo_n "checking for isinfl declaration... " >&6; }
23273   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
23274     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
23275   $as_echo_n "(cached) " >&6
23276 else
23277
23278
23279       ac_ext=cpp
23280 ac_cpp='$CXXCPP $CPPFLAGS'
23281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23284
23285       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23286 /* end confdefs.h.  */
23287 #include <math.h>
23288                       #ifdef HAVE_IEEEFP_H
23289                       #include <ieeefp.h>
23290                       #endif
23291
23292 int
23293 main ()
23294 {
23295  isinfl(0);
23296   ;
23297   return 0;
23298 }
23299 _ACEOF
23300 if ac_fn_cxx_try_compile "$LINENO"; then :
23301   glibcxx_cv_func_isinfl_use=yes
23302 else
23303   glibcxx_cv_func_isinfl_use=no
23304 fi
23305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23306       ac_ext=c
23307 ac_cpp='$CPP $CPPFLAGS'
23308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23311
23312
23313 fi
23314
23315   fi
23316   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
23317 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
23318
23319   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
23320     for ac_func in isinfl
23321 do :
23322   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
23323 if test "x$ac_cv_func_isinfl" = x""yes; then :
23324   cat >>confdefs.h <<_ACEOF
23325 #define HAVE_ISINFL 1
23326 _ACEOF
23327
23328 fi
23329 done
23330
23331   else
23332
23333   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
23334 $as_echo_n "checking for _isinfl declaration... " >&6; }
23335   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
23336     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
23337   $as_echo_n "(cached) " >&6
23338 else
23339
23340
23341       ac_ext=cpp
23342 ac_cpp='$CXXCPP $CPPFLAGS'
23343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23346
23347       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23348 /* end confdefs.h.  */
23349 #include <math.h>
23350                       #ifdef HAVE_IEEEFP_H
23351                       #include <ieeefp.h>
23352                       #endif
23353
23354 int
23355 main ()
23356 {
23357  _isinfl(0);
23358   ;
23359   return 0;
23360 }
23361 _ACEOF
23362 if ac_fn_cxx_try_compile "$LINENO"; then :
23363   glibcxx_cv_func__isinfl_use=yes
23364 else
23365   glibcxx_cv_func__isinfl_use=no
23366 fi
23367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23368       ac_ext=c
23369 ac_cpp='$CPP $CPPFLAGS'
23370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23373
23374
23375 fi
23376
23377   fi
23378   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
23379 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
23380
23381     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
23382       for ac_func in _isinfl
23383 do :
23384   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
23385 if test "x$ac_cv_func__isinfl" = x""yes; then :
23386   cat >>confdefs.h <<_ACEOF
23387 #define HAVE__ISINFL 1
23388 _ACEOF
23389
23390 fi
23391 done
23392
23393     fi
23394   fi
23395
23396
23397
23398
23399
23400   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
23401 $as_echo_n "checking for atan2l declaration... " >&6; }
23402   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
23403     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
23404   $as_echo_n "(cached) " >&6
23405 else
23406
23407
23408       ac_ext=cpp
23409 ac_cpp='$CXXCPP $CPPFLAGS'
23410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23413
23414       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23415 /* end confdefs.h.  */
23416 #include <math.h>
23417 int
23418 main ()
23419 {
23420  atan2l(0, 0);
23421   ;
23422   return 0;
23423 }
23424 _ACEOF
23425 if ac_fn_cxx_try_compile "$LINENO"; then :
23426   glibcxx_cv_func_atan2l_use=yes
23427 else
23428   glibcxx_cv_func_atan2l_use=no
23429 fi
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   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
23442 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
23443
23444   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
23445     for ac_func in atan2l
23446 do :
23447   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
23448 if test "x$ac_cv_func_atan2l" = x""yes; then :
23449   cat >>confdefs.h <<_ACEOF
23450 #define HAVE_ATAN2L 1
23451 _ACEOF
23452
23453 fi
23454 done
23455
23456   else
23457
23458   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
23459 $as_echo_n "checking for _atan2l declaration... " >&6; }
23460   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
23461     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
23462   $as_echo_n "(cached) " >&6
23463 else
23464
23465
23466       ac_ext=cpp
23467 ac_cpp='$CXXCPP $CPPFLAGS'
23468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23471
23472       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23473 /* end confdefs.h.  */
23474 #include <math.h>
23475 int
23476 main ()
23477 {
23478  _atan2l(0, 0);
23479   ;
23480   return 0;
23481 }
23482 _ACEOF
23483 if ac_fn_cxx_try_compile "$LINENO"; then :
23484   glibcxx_cv_func__atan2l_use=yes
23485 else
23486   glibcxx_cv_func__atan2l_use=no
23487 fi
23488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23489       ac_ext=c
23490 ac_cpp='$CPP $CPPFLAGS'
23491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23494
23495
23496 fi
23497
23498   fi
23499   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
23500 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
23501
23502     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
23503       for ac_func in _atan2l
23504 do :
23505   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
23506 if test "x$ac_cv_func__atan2l" = x""yes; then :
23507   cat >>confdefs.h <<_ACEOF
23508 #define HAVE__ATAN2L 1
23509 _ACEOF
23510
23511 fi
23512 done
23513
23514     fi
23515   fi
23516
23517
23518
23519
23520
23521   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
23522 $as_echo_n "checking for expl declaration... " >&6; }
23523   if test x${glibcxx_cv_func_expl_use+set} != xset; then
23524     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
23525   $as_echo_n "(cached) " >&6
23526 else
23527
23528
23529       ac_ext=cpp
23530 ac_cpp='$CXXCPP $CPPFLAGS'
23531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23534
23535       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23536 /* end confdefs.h.  */
23537 #include <math.h>
23538                       #ifdef HAVE_IEEEFP_H
23539                       #include <ieeefp.h>
23540                       #endif
23541
23542 int
23543 main ()
23544 {
23545  expl(0);
23546   ;
23547   return 0;
23548 }
23549 _ACEOF
23550 if ac_fn_cxx_try_compile "$LINENO"; then :
23551   glibcxx_cv_func_expl_use=yes
23552 else
23553   glibcxx_cv_func_expl_use=no
23554 fi
23555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23556       ac_ext=c
23557 ac_cpp='$CPP $CPPFLAGS'
23558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23561
23562
23563 fi
23564
23565   fi
23566   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
23567 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
23568
23569   if test x$glibcxx_cv_func_expl_use = x"yes"; then
23570     for ac_func in expl
23571 do :
23572   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
23573 if test "x$ac_cv_func_expl" = x""yes; then :
23574   cat >>confdefs.h <<_ACEOF
23575 #define HAVE_EXPL 1
23576 _ACEOF
23577
23578 fi
23579 done
23580
23581   else
23582
23583   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
23584 $as_echo_n "checking for _expl declaration... " >&6; }
23585   if test x${glibcxx_cv_func__expl_use+set} != xset; then
23586     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
23587   $as_echo_n "(cached) " >&6
23588 else
23589
23590
23591       ac_ext=cpp
23592 ac_cpp='$CXXCPP $CPPFLAGS'
23593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23596
23597       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23598 /* end confdefs.h.  */
23599 #include <math.h>
23600                       #ifdef HAVE_IEEEFP_H
23601                       #include <ieeefp.h>
23602                       #endif
23603
23604 int
23605 main ()
23606 {
23607  _expl(0);
23608   ;
23609   return 0;
23610 }
23611 _ACEOF
23612 if ac_fn_cxx_try_compile "$LINENO"; then :
23613   glibcxx_cv_func__expl_use=yes
23614 else
23615   glibcxx_cv_func__expl_use=no
23616 fi
23617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23618       ac_ext=c
23619 ac_cpp='$CPP $CPPFLAGS'
23620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23623
23624
23625 fi
23626
23627   fi
23628   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
23629 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
23630
23631     if test x$glibcxx_cv_func__expl_use = x"yes"; then
23632       for ac_func in _expl
23633 do :
23634   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
23635 if test "x$ac_cv_func__expl" = x""yes; then :
23636   cat >>confdefs.h <<_ACEOF
23637 #define HAVE__EXPL 1
23638 _ACEOF
23639
23640 fi
23641 done
23642
23643     fi
23644   fi
23645
23646
23647
23648
23649
23650   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
23651 $as_echo_n "checking for fabsl declaration... " >&6; }
23652   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
23653     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
23654   $as_echo_n "(cached) " >&6
23655 else
23656
23657
23658       ac_ext=cpp
23659 ac_cpp='$CXXCPP $CPPFLAGS'
23660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23663
23664       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23665 /* end confdefs.h.  */
23666 #include <math.h>
23667                       #ifdef HAVE_IEEEFP_H
23668                       #include <ieeefp.h>
23669                       #endif
23670
23671 int
23672 main ()
23673 {
23674  fabsl(0);
23675   ;
23676   return 0;
23677 }
23678 _ACEOF
23679 if ac_fn_cxx_try_compile "$LINENO"; then :
23680   glibcxx_cv_func_fabsl_use=yes
23681 else
23682   glibcxx_cv_func_fabsl_use=no
23683 fi
23684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23685       ac_ext=c
23686 ac_cpp='$CPP $CPPFLAGS'
23687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23690
23691
23692 fi
23693
23694   fi
23695   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
23696 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
23697
23698   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
23699     for ac_func in fabsl
23700 do :
23701   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
23702 if test "x$ac_cv_func_fabsl" = x""yes; then :
23703   cat >>confdefs.h <<_ACEOF
23704 #define HAVE_FABSL 1
23705 _ACEOF
23706
23707 fi
23708 done
23709
23710   else
23711
23712   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
23713 $as_echo_n "checking for _fabsl declaration... " >&6; }
23714   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
23715     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
23716   $as_echo_n "(cached) " >&6
23717 else
23718
23719
23720       ac_ext=cpp
23721 ac_cpp='$CXXCPP $CPPFLAGS'
23722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23725
23726       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23727 /* end confdefs.h.  */
23728 #include <math.h>
23729                       #ifdef HAVE_IEEEFP_H
23730                       #include <ieeefp.h>
23731                       #endif
23732
23733 int
23734 main ()
23735 {
23736  _fabsl(0);
23737   ;
23738   return 0;
23739 }
23740 _ACEOF
23741 if ac_fn_cxx_try_compile "$LINENO"; then :
23742   glibcxx_cv_func__fabsl_use=yes
23743 else
23744   glibcxx_cv_func__fabsl_use=no
23745 fi
23746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23747       ac_ext=c
23748 ac_cpp='$CPP $CPPFLAGS'
23749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23752
23753
23754 fi
23755
23756   fi
23757   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
23758 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
23759
23760     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
23761       for ac_func in _fabsl
23762 do :
23763   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
23764 if test "x$ac_cv_func__fabsl" = x""yes; then :
23765   cat >>confdefs.h <<_ACEOF
23766 #define HAVE__FABSL 1
23767 _ACEOF
23768
23769 fi
23770 done
23771
23772     fi
23773   fi
23774
23775
23776
23777
23778
23779   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
23780 $as_echo_n "checking for fmodl declaration... " >&6; }
23781   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
23782     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
23783   $as_echo_n "(cached) " >&6
23784 else
23785
23786
23787       ac_ext=cpp
23788 ac_cpp='$CXXCPP $CPPFLAGS'
23789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23792
23793       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23794 /* end confdefs.h.  */
23795 #include <math.h>
23796 int
23797 main ()
23798 {
23799  fmodl(0, 0);
23800   ;
23801   return 0;
23802 }
23803 _ACEOF
23804 if ac_fn_cxx_try_compile "$LINENO"; then :
23805   glibcxx_cv_func_fmodl_use=yes
23806 else
23807   glibcxx_cv_func_fmodl_use=no
23808 fi
23809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23810       ac_ext=c
23811 ac_cpp='$CPP $CPPFLAGS'
23812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23815
23816
23817 fi
23818
23819   fi
23820   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
23821 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
23822
23823   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
23824     for ac_func in fmodl
23825 do :
23826   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
23827 if test "x$ac_cv_func_fmodl" = x""yes; then :
23828   cat >>confdefs.h <<_ACEOF
23829 #define HAVE_FMODL 1
23830 _ACEOF
23831
23832 fi
23833 done
23834
23835   else
23836
23837   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
23838 $as_echo_n "checking for _fmodl declaration... " >&6; }
23839   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
23840     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
23841   $as_echo_n "(cached) " >&6
23842 else
23843
23844
23845       ac_ext=cpp
23846 ac_cpp='$CXXCPP $CPPFLAGS'
23847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23850
23851       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23852 /* end confdefs.h.  */
23853 #include <math.h>
23854 int
23855 main ()
23856 {
23857  _fmodl(0, 0);
23858   ;
23859   return 0;
23860 }
23861 _ACEOF
23862 if ac_fn_cxx_try_compile "$LINENO"; then :
23863   glibcxx_cv_func__fmodl_use=yes
23864 else
23865   glibcxx_cv_func__fmodl_use=no
23866 fi
23867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23868       ac_ext=c
23869 ac_cpp='$CPP $CPPFLAGS'
23870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23873
23874
23875 fi
23876
23877   fi
23878   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
23879 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
23880
23881     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
23882       for ac_func in _fmodl
23883 do :
23884   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
23885 if test "x$ac_cv_func__fmodl" = x""yes; then :
23886   cat >>confdefs.h <<_ACEOF
23887 #define HAVE__FMODL 1
23888 _ACEOF
23889
23890 fi
23891 done
23892
23893     fi
23894   fi
23895
23896
23897
23898
23899
23900   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
23901 $as_echo_n "checking for frexpl declaration... " >&6; }
23902   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
23903     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
23904   $as_echo_n "(cached) " >&6
23905 else
23906
23907
23908       ac_ext=cpp
23909 ac_cpp='$CXXCPP $CPPFLAGS'
23910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23913
23914       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23915 /* end confdefs.h.  */
23916 #include <math.h>
23917 int
23918 main ()
23919 {
23920  frexpl(0, 0);
23921   ;
23922   return 0;
23923 }
23924 _ACEOF
23925 if ac_fn_cxx_try_compile "$LINENO"; then :
23926   glibcxx_cv_func_frexpl_use=yes
23927 else
23928   glibcxx_cv_func_frexpl_use=no
23929 fi
23930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23931       ac_ext=c
23932 ac_cpp='$CPP $CPPFLAGS'
23933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23936
23937
23938 fi
23939
23940   fi
23941   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
23942 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
23943
23944   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
23945     for ac_func in frexpl
23946 do :
23947   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
23948 if test "x$ac_cv_func_frexpl" = x""yes; then :
23949   cat >>confdefs.h <<_ACEOF
23950 #define HAVE_FREXPL 1
23951 _ACEOF
23952
23953 fi
23954 done
23955
23956   else
23957
23958   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
23959 $as_echo_n "checking for _frexpl declaration... " >&6; }
23960   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
23961     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
23962   $as_echo_n "(cached) " >&6
23963 else
23964
23965
23966       ac_ext=cpp
23967 ac_cpp='$CXXCPP $CPPFLAGS'
23968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23971
23972       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23973 /* end confdefs.h.  */
23974 #include <math.h>
23975 int
23976 main ()
23977 {
23978  _frexpl(0, 0);
23979   ;
23980   return 0;
23981 }
23982 _ACEOF
23983 if ac_fn_cxx_try_compile "$LINENO"; then :
23984   glibcxx_cv_func__frexpl_use=yes
23985 else
23986   glibcxx_cv_func__frexpl_use=no
23987 fi
23988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23989       ac_ext=c
23990 ac_cpp='$CPP $CPPFLAGS'
23991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23994
23995
23996 fi
23997
23998   fi
23999   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
24000 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
24001
24002     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
24003       for ac_func in _frexpl
24004 do :
24005   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
24006 if test "x$ac_cv_func__frexpl" = x""yes; then :
24007   cat >>confdefs.h <<_ACEOF
24008 #define HAVE__FREXPL 1
24009 _ACEOF
24010
24011 fi
24012 done
24013
24014     fi
24015   fi
24016
24017
24018
24019
24020
24021   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
24022 $as_echo_n "checking for hypotl declaration... " >&6; }
24023   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
24024     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
24025   $as_echo_n "(cached) " >&6
24026 else
24027
24028
24029       ac_ext=cpp
24030 ac_cpp='$CXXCPP $CPPFLAGS'
24031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24034
24035       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24036 /* end confdefs.h.  */
24037 #include <math.h>
24038 int
24039 main ()
24040 {
24041  hypotl(0, 0);
24042   ;
24043   return 0;
24044 }
24045 _ACEOF
24046 if ac_fn_cxx_try_compile "$LINENO"; then :
24047   glibcxx_cv_func_hypotl_use=yes
24048 else
24049   glibcxx_cv_func_hypotl_use=no
24050 fi
24051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24052       ac_ext=c
24053 ac_cpp='$CPP $CPPFLAGS'
24054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24057
24058
24059 fi
24060
24061   fi
24062   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
24063 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
24064
24065   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
24066     for ac_func in hypotl
24067 do :
24068   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
24069 if test "x$ac_cv_func_hypotl" = x""yes; then :
24070   cat >>confdefs.h <<_ACEOF
24071 #define HAVE_HYPOTL 1
24072 _ACEOF
24073
24074 fi
24075 done
24076
24077   else
24078
24079   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
24080 $as_echo_n "checking for _hypotl declaration... " >&6; }
24081   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
24082     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
24083   $as_echo_n "(cached) " >&6
24084 else
24085
24086
24087       ac_ext=cpp
24088 ac_cpp='$CXXCPP $CPPFLAGS'
24089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24092
24093       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24094 /* end confdefs.h.  */
24095 #include <math.h>
24096 int
24097 main ()
24098 {
24099  _hypotl(0, 0);
24100   ;
24101   return 0;
24102 }
24103 _ACEOF
24104 if ac_fn_cxx_try_compile "$LINENO"; then :
24105   glibcxx_cv_func__hypotl_use=yes
24106 else
24107   glibcxx_cv_func__hypotl_use=no
24108 fi
24109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24110       ac_ext=c
24111 ac_cpp='$CPP $CPPFLAGS'
24112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24115
24116
24117 fi
24118
24119   fi
24120   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
24121 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
24122
24123     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
24124       for ac_func in _hypotl
24125 do :
24126   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
24127 if test "x$ac_cv_func__hypotl" = x""yes; then :
24128   cat >>confdefs.h <<_ACEOF
24129 #define HAVE__HYPOTL 1
24130 _ACEOF
24131
24132 fi
24133 done
24134
24135     fi
24136   fi
24137
24138
24139
24140
24141
24142   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
24143 $as_echo_n "checking for ldexpl declaration... " >&6; }
24144   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
24145     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
24146   $as_echo_n "(cached) " >&6
24147 else
24148
24149
24150       ac_ext=cpp
24151 ac_cpp='$CXXCPP $CPPFLAGS'
24152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24155
24156       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24157 /* end confdefs.h.  */
24158 #include <math.h>
24159 int
24160 main ()
24161 {
24162  ldexpl(0, 0);
24163   ;
24164   return 0;
24165 }
24166 _ACEOF
24167 if ac_fn_cxx_try_compile "$LINENO"; then :
24168   glibcxx_cv_func_ldexpl_use=yes
24169 else
24170   glibcxx_cv_func_ldexpl_use=no
24171 fi
24172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24173       ac_ext=c
24174 ac_cpp='$CPP $CPPFLAGS'
24175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24178
24179
24180 fi
24181
24182   fi
24183   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
24184 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
24185
24186   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
24187     for ac_func in ldexpl
24188 do :
24189   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
24190 if test "x$ac_cv_func_ldexpl" = x""yes; then :
24191   cat >>confdefs.h <<_ACEOF
24192 #define HAVE_LDEXPL 1
24193 _ACEOF
24194
24195 fi
24196 done
24197
24198   else
24199
24200   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
24201 $as_echo_n "checking for _ldexpl declaration... " >&6; }
24202   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
24203     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
24204   $as_echo_n "(cached) " >&6
24205 else
24206
24207
24208       ac_ext=cpp
24209 ac_cpp='$CXXCPP $CPPFLAGS'
24210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24213
24214       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24215 /* end confdefs.h.  */
24216 #include <math.h>
24217 int
24218 main ()
24219 {
24220  _ldexpl(0, 0);
24221   ;
24222   return 0;
24223 }
24224 _ACEOF
24225 if ac_fn_cxx_try_compile "$LINENO"; then :
24226   glibcxx_cv_func__ldexpl_use=yes
24227 else
24228   glibcxx_cv_func__ldexpl_use=no
24229 fi
24230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24231       ac_ext=c
24232 ac_cpp='$CPP $CPPFLAGS'
24233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24236
24237
24238 fi
24239
24240   fi
24241   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
24242 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
24243
24244     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
24245       for ac_func in _ldexpl
24246 do :
24247   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
24248 if test "x$ac_cv_func__ldexpl" = x""yes; then :
24249   cat >>confdefs.h <<_ACEOF
24250 #define HAVE__LDEXPL 1
24251 _ACEOF
24252
24253 fi
24254 done
24255
24256     fi
24257   fi
24258
24259
24260
24261
24262
24263   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
24264 $as_echo_n "checking for logl declaration... " >&6; }
24265   if test x${glibcxx_cv_func_logl_use+set} != xset; then
24266     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
24267   $as_echo_n "(cached) " >&6
24268 else
24269
24270
24271       ac_ext=cpp
24272 ac_cpp='$CXXCPP $CPPFLAGS'
24273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24276
24277       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24278 /* end confdefs.h.  */
24279 #include <math.h>
24280                       #ifdef HAVE_IEEEFP_H
24281                       #include <ieeefp.h>
24282                       #endif
24283
24284 int
24285 main ()
24286 {
24287  logl(0);
24288   ;
24289   return 0;
24290 }
24291 _ACEOF
24292 if ac_fn_cxx_try_compile "$LINENO"; then :
24293   glibcxx_cv_func_logl_use=yes
24294 else
24295   glibcxx_cv_func_logl_use=no
24296 fi
24297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24298       ac_ext=c
24299 ac_cpp='$CPP $CPPFLAGS'
24300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24303
24304
24305 fi
24306
24307   fi
24308   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
24309 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
24310
24311   if test x$glibcxx_cv_func_logl_use = x"yes"; then
24312     for ac_func in logl
24313 do :
24314   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
24315 if test "x$ac_cv_func_logl" = x""yes; then :
24316   cat >>confdefs.h <<_ACEOF
24317 #define HAVE_LOGL 1
24318 _ACEOF
24319
24320 fi
24321 done
24322
24323   else
24324
24325   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
24326 $as_echo_n "checking for _logl declaration... " >&6; }
24327   if test x${glibcxx_cv_func__logl_use+set} != xset; then
24328     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
24329   $as_echo_n "(cached) " >&6
24330 else
24331
24332
24333       ac_ext=cpp
24334 ac_cpp='$CXXCPP $CPPFLAGS'
24335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24338
24339       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24340 /* end confdefs.h.  */
24341 #include <math.h>
24342                       #ifdef HAVE_IEEEFP_H
24343                       #include <ieeefp.h>
24344                       #endif
24345
24346 int
24347 main ()
24348 {
24349  _logl(0);
24350   ;
24351   return 0;
24352 }
24353 _ACEOF
24354 if ac_fn_cxx_try_compile "$LINENO"; then :
24355   glibcxx_cv_func__logl_use=yes
24356 else
24357   glibcxx_cv_func__logl_use=no
24358 fi
24359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24360       ac_ext=c
24361 ac_cpp='$CPP $CPPFLAGS'
24362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24365
24366
24367 fi
24368
24369   fi
24370   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
24371 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
24372
24373     if test x$glibcxx_cv_func__logl_use = x"yes"; then
24374       for ac_func in _logl
24375 do :
24376   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
24377 if test "x$ac_cv_func__logl" = x""yes; then :
24378   cat >>confdefs.h <<_ACEOF
24379 #define HAVE__LOGL 1
24380 _ACEOF
24381
24382 fi
24383 done
24384
24385     fi
24386   fi
24387
24388
24389
24390
24391
24392   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
24393 $as_echo_n "checking for log10l declaration... " >&6; }
24394   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
24395     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
24396   $as_echo_n "(cached) " >&6
24397 else
24398
24399
24400       ac_ext=cpp
24401 ac_cpp='$CXXCPP $CPPFLAGS'
24402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24405
24406       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24407 /* end confdefs.h.  */
24408 #include <math.h>
24409                       #ifdef HAVE_IEEEFP_H
24410                       #include <ieeefp.h>
24411                       #endif
24412
24413 int
24414 main ()
24415 {
24416  log10l(0);
24417   ;
24418   return 0;
24419 }
24420 _ACEOF
24421 if ac_fn_cxx_try_compile "$LINENO"; then :
24422   glibcxx_cv_func_log10l_use=yes
24423 else
24424   glibcxx_cv_func_log10l_use=no
24425 fi
24426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24427       ac_ext=c
24428 ac_cpp='$CPP $CPPFLAGS'
24429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24432
24433
24434 fi
24435
24436   fi
24437   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
24438 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
24439
24440   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
24441     for ac_func in log10l
24442 do :
24443   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
24444 if test "x$ac_cv_func_log10l" = x""yes; then :
24445   cat >>confdefs.h <<_ACEOF
24446 #define HAVE_LOG10L 1
24447 _ACEOF
24448
24449 fi
24450 done
24451
24452   else
24453
24454   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
24455 $as_echo_n "checking for _log10l declaration... " >&6; }
24456   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
24457     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
24458   $as_echo_n "(cached) " >&6
24459 else
24460
24461
24462       ac_ext=cpp
24463 ac_cpp='$CXXCPP $CPPFLAGS'
24464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24467
24468       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24469 /* end confdefs.h.  */
24470 #include <math.h>
24471                       #ifdef HAVE_IEEEFP_H
24472                       #include <ieeefp.h>
24473                       #endif
24474
24475 int
24476 main ()
24477 {
24478  _log10l(0);
24479   ;
24480   return 0;
24481 }
24482 _ACEOF
24483 if ac_fn_cxx_try_compile "$LINENO"; then :
24484   glibcxx_cv_func__log10l_use=yes
24485 else
24486   glibcxx_cv_func__log10l_use=no
24487 fi
24488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24489       ac_ext=c
24490 ac_cpp='$CPP $CPPFLAGS'
24491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24494
24495
24496 fi
24497
24498   fi
24499   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
24500 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
24501
24502     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
24503       for ac_func in _log10l
24504 do :
24505   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
24506 if test "x$ac_cv_func__log10l" = x""yes; then :
24507   cat >>confdefs.h <<_ACEOF
24508 #define HAVE__LOG10L 1
24509 _ACEOF
24510
24511 fi
24512 done
24513
24514     fi
24515   fi
24516
24517
24518
24519
24520
24521   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
24522 $as_echo_n "checking for modfl declaration... " >&6; }
24523   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
24524     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
24525   $as_echo_n "(cached) " >&6
24526 else
24527
24528
24529       ac_ext=cpp
24530 ac_cpp='$CXXCPP $CPPFLAGS'
24531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24534
24535       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24536 /* end confdefs.h.  */
24537 #include <math.h>
24538 int
24539 main ()
24540 {
24541  modfl(0, 0);
24542   ;
24543   return 0;
24544 }
24545 _ACEOF
24546 if ac_fn_cxx_try_compile "$LINENO"; then :
24547   glibcxx_cv_func_modfl_use=yes
24548 else
24549   glibcxx_cv_func_modfl_use=no
24550 fi
24551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24552       ac_ext=c
24553 ac_cpp='$CPP $CPPFLAGS'
24554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24557
24558
24559 fi
24560
24561   fi
24562   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
24563 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
24564
24565   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
24566     for ac_func in modfl
24567 do :
24568   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
24569 if test "x$ac_cv_func_modfl" = x""yes; then :
24570   cat >>confdefs.h <<_ACEOF
24571 #define HAVE_MODFL 1
24572 _ACEOF
24573
24574 fi
24575 done
24576
24577   else
24578
24579   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
24580 $as_echo_n "checking for _modfl declaration... " >&6; }
24581   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
24582     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
24583   $as_echo_n "(cached) " >&6
24584 else
24585
24586
24587       ac_ext=cpp
24588 ac_cpp='$CXXCPP $CPPFLAGS'
24589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24592
24593       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24594 /* end confdefs.h.  */
24595 #include <math.h>
24596 int
24597 main ()
24598 {
24599  _modfl(0, 0);
24600   ;
24601   return 0;
24602 }
24603 _ACEOF
24604 if ac_fn_cxx_try_compile "$LINENO"; then :
24605   glibcxx_cv_func__modfl_use=yes
24606 else
24607   glibcxx_cv_func__modfl_use=no
24608 fi
24609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24610       ac_ext=c
24611 ac_cpp='$CPP $CPPFLAGS'
24612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24615
24616
24617 fi
24618
24619   fi
24620   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
24621 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
24622
24623     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
24624       for ac_func in _modfl
24625 do :
24626   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
24627 if test "x$ac_cv_func__modfl" = x""yes; then :
24628   cat >>confdefs.h <<_ACEOF
24629 #define HAVE__MODFL 1
24630 _ACEOF
24631
24632 fi
24633 done
24634
24635     fi
24636   fi
24637
24638
24639
24640
24641
24642   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
24643 $as_echo_n "checking for powl declaration... " >&6; }
24644   if test x${glibcxx_cv_func_powl_use+set} != xset; then
24645     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
24646   $as_echo_n "(cached) " >&6
24647 else
24648
24649
24650       ac_ext=cpp
24651 ac_cpp='$CXXCPP $CPPFLAGS'
24652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24655
24656       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24657 /* end confdefs.h.  */
24658 #include <math.h>
24659 int
24660 main ()
24661 {
24662  powl(0, 0);
24663   ;
24664   return 0;
24665 }
24666 _ACEOF
24667 if ac_fn_cxx_try_compile "$LINENO"; then :
24668   glibcxx_cv_func_powl_use=yes
24669 else
24670   glibcxx_cv_func_powl_use=no
24671 fi
24672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24673       ac_ext=c
24674 ac_cpp='$CPP $CPPFLAGS'
24675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24678
24679
24680 fi
24681
24682   fi
24683   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
24684 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
24685
24686   if test x$glibcxx_cv_func_powl_use = x"yes"; then
24687     for ac_func in powl
24688 do :
24689   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
24690 if test "x$ac_cv_func_powl" = x""yes; then :
24691   cat >>confdefs.h <<_ACEOF
24692 #define HAVE_POWL 1
24693 _ACEOF
24694
24695 fi
24696 done
24697
24698   else
24699
24700   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
24701 $as_echo_n "checking for _powl declaration... " >&6; }
24702   if test x${glibcxx_cv_func__powl_use+set} != xset; then
24703     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
24704   $as_echo_n "(cached) " >&6
24705 else
24706
24707
24708       ac_ext=cpp
24709 ac_cpp='$CXXCPP $CPPFLAGS'
24710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24713
24714       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24715 /* end confdefs.h.  */
24716 #include <math.h>
24717 int
24718 main ()
24719 {
24720  _powl(0, 0);
24721   ;
24722   return 0;
24723 }
24724 _ACEOF
24725 if ac_fn_cxx_try_compile "$LINENO"; then :
24726   glibcxx_cv_func__powl_use=yes
24727 else
24728   glibcxx_cv_func__powl_use=no
24729 fi
24730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24731       ac_ext=c
24732 ac_cpp='$CPP $CPPFLAGS'
24733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24736
24737
24738 fi
24739
24740   fi
24741   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
24742 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
24743
24744     if test x$glibcxx_cv_func__powl_use = x"yes"; then
24745       for ac_func in _powl
24746 do :
24747   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
24748 if test "x$ac_cv_func__powl" = x""yes; then :
24749   cat >>confdefs.h <<_ACEOF
24750 #define HAVE__POWL 1
24751 _ACEOF
24752
24753 fi
24754 done
24755
24756     fi
24757   fi
24758
24759
24760
24761
24762
24763   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
24764 $as_echo_n "checking for sqrtl declaration... " >&6; }
24765   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
24766     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
24767   $as_echo_n "(cached) " >&6
24768 else
24769
24770
24771       ac_ext=cpp
24772 ac_cpp='$CXXCPP $CPPFLAGS'
24773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24776
24777       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24778 /* end confdefs.h.  */
24779 #include <math.h>
24780                       #ifdef HAVE_IEEEFP_H
24781                       #include <ieeefp.h>
24782                       #endif
24783
24784 int
24785 main ()
24786 {
24787  sqrtl(0);
24788   ;
24789   return 0;
24790 }
24791 _ACEOF
24792 if ac_fn_cxx_try_compile "$LINENO"; then :
24793   glibcxx_cv_func_sqrtl_use=yes
24794 else
24795   glibcxx_cv_func_sqrtl_use=no
24796 fi
24797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24798       ac_ext=c
24799 ac_cpp='$CPP $CPPFLAGS'
24800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24803
24804
24805 fi
24806
24807   fi
24808   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
24809 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
24810
24811   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
24812     for ac_func in sqrtl
24813 do :
24814   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
24815 if test "x$ac_cv_func_sqrtl" = x""yes; then :
24816   cat >>confdefs.h <<_ACEOF
24817 #define HAVE_SQRTL 1
24818 _ACEOF
24819
24820 fi
24821 done
24822
24823   else
24824
24825   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
24826 $as_echo_n "checking for _sqrtl declaration... " >&6; }
24827   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
24828     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
24829   $as_echo_n "(cached) " >&6
24830 else
24831
24832
24833       ac_ext=cpp
24834 ac_cpp='$CXXCPP $CPPFLAGS'
24835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24838
24839       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24840 /* end confdefs.h.  */
24841 #include <math.h>
24842                       #ifdef HAVE_IEEEFP_H
24843                       #include <ieeefp.h>
24844                       #endif
24845
24846 int
24847 main ()
24848 {
24849  _sqrtl(0);
24850   ;
24851   return 0;
24852 }
24853 _ACEOF
24854 if ac_fn_cxx_try_compile "$LINENO"; then :
24855   glibcxx_cv_func__sqrtl_use=yes
24856 else
24857   glibcxx_cv_func__sqrtl_use=no
24858 fi
24859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24860       ac_ext=c
24861 ac_cpp='$CPP $CPPFLAGS'
24862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24865
24866
24867 fi
24868
24869   fi
24870   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
24871 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
24872
24873     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
24874       for ac_func in _sqrtl
24875 do :
24876   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
24877 if test "x$ac_cv_func__sqrtl" = x""yes; then :
24878   cat >>confdefs.h <<_ACEOF
24879 #define HAVE__SQRTL 1
24880 _ACEOF
24881
24882 fi
24883 done
24884
24885     fi
24886   fi
24887
24888
24889
24890
24891
24892   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
24893 $as_echo_n "checking for sincosl declaration... " >&6; }
24894   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
24895     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
24896   $as_echo_n "(cached) " >&6
24897 else
24898
24899
24900       ac_ext=cpp
24901 ac_cpp='$CXXCPP $CPPFLAGS'
24902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24905
24906       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24907 /* end confdefs.h.  */
24908 #include <math.h>
24909 int
24910 main ()
24911 {
24912  sincosl(0, 0, 0);
24913   ;
24914   return 0;
24915 }
24916 _ACEOF
24917 if ac_fn_cxx_try_compile "$LINENO"; then :
24918   glibcxx_cv_func_sincosl_use=yes
24919 else
24920   glibcxx_cv_func_sincosl_use=no
24921 fi
24922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24923       ac_ext=c
24924 ac_cpp='$CPP $CPPFLAGS'
24925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24928
24929
24930 fi
24931
24932   fi
24933   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
24934 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
24935
24936   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
24937     for ac_func in sincosl
24938 do :
24939   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
24940 if test "x$ac_cv_func_sincosl" = x""yes; then :
24941   cat >>confdefs.h <<_ACEOF
24942 #define HAVE_SINCOSL 1
24943 _ACEOF
24944
24945 fi
24946 done
24947
24948   else
24949
24950   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
24951 $as_echo_n "checking for _sincosl declaration... " >&6; }
24952   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
24953     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
24954   $as_echo_n "(cached) " >&6
24955 else
24956
24957
24958       ac_ext=cpp
24959 ac_cpp='$CXXCPP $CPPFLAGS'
24960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24963
24964       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24965 /* end confdefs.h.  */
24966 #include <math.h>
24967 int
24968 main ()
24969 {
24970  _sincosl(0, 0, 0);
24971   ;
24972   return 0;
24973 }
24974 _ACEOF
24975 if ac_fn_cxx_try_compile "$LINENO"; then :
24976   glibcxx_cv_func__sincosl_use=yes
24977 else
24978   glibcxx_cv_func__sincosl_use=no
24979 fi
24980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24981       ac_ext=c
24982 ac_cpp='$CPP $CPPFLAGS'
24983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24986
24987
24988 fi
24989
24990   fi
24991   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
24992 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
24993
24994     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
24995       for ac_func in _sincosl
24996 do :
24997   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
24998 if test "x$ac_cv_func__sincosl" = x""yes; then :
24999   cat >>confdefs.h <<_ACEOF
25000 #define HAVE__SINCOSL 1
25001 _ACEOF
25002
25003 fi
25004 done
25005
25006     fi
25007   fi
25008
25009
25010
25011
25012
25013   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
25014 $as_echo_n "checking for finitel declaration... " >&6; }
25015   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
25016     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
25017   $as_echo_n "(cached) " >&6
25018 else
25019
25020
25021       ac_ext=cpp
25022 ac_cpp='$CXXCPP $CPPFLAGS'
25023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25026
25027       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25028 /* end confdefs.h.  */
25029 #include <math.h>
25030                       #ifdef HAVE_IEEEFP_H
25031                       #include <ieeefp.h>
25032                       #endif
25033
25034 int
25035 main ()
25036 {
25037  finitel(0);
25038   ;
25039   return 0;
25040 }
25041 _ACEOF
25042 if ac_fn_cxx_try_compile "$LINENO"; then :
25043   glibcxx_cv_func_finitel_use=yes
25044 else
25045   glibcxx_cv_func_finitel_use=no
25046 fi
25047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25048       ac_ext=c
25049 ac_cpp='$CPP $CPPFLAGS'
25050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25053
25054
25055 fi
25056
25057   fi
25058   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
25059 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
25060
25061   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
25062     for ac_func in finitel
25063 do :
25064   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
25065 if test "x$ac_cv_func_finitel" = x""yes; then :
25066   cat >>confdefs.h <<_ACEOF
25067 #define HAVE_FINITEL 1
25068 _ACEOF
25069
25070 fi
25071 done
25072
25073   else
25074
25075   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
25076 $as_echo_n "checking for _finitel declaration... " >&6; }
25077   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
25078     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
25079   $as_echo_n "(cached) " >&6
25080 else
25081
25082
25083       ac_ext=cpp
25084 ac_cpp='$CXXCPP $CPPFLAGS'
25085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25088
25089       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25090 /* end confdefs.h.  */
25091 #include <math.h>
25092                       #ifdef HAVE_IEEEFP_H
25093                       #include <ieeefp.h>
25094                       #endif
25095
25096 int
25097 main ()
25098 {
25099  _finitel(0);
25100   ;
25101   return 0;
25102 }
25103 _ACEOF
25104 if ac_fn_cxx_try_compile "$LINENO"; then :
25105   glibcxx_cv_func__finitel_use=yes
25106 else
25107   glibcxx_cv_func__finitel_use=no
25108 fi
25109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25110       ac_ext=c
25111 ac_cpp='$CPP $CPPFLAGS'
25112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25115
25116
25117 fi
25118
25119   fi
25120   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
25121 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
25122
25123     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
25124       for ac_func in _finitel
25125 do :
25126   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
25127 if test "x$ac_cv_func__finitel" = x""yes; then :
25128   cat >>confdefs.h <<_ACEOF
25129 #define HAVE__FINITEL 1
25130 _ACEOF
25131
25132 fi
25133 done
25134
25135     fi
25136   fi
25137
25138
25139
25140
25141   LIBS="$ac_save_LIBS"
25142   CXXFLAGS="$ac_save_CXXFLAGS"
25143
25144
25145   ac_test_CXXFLAGS="${CXXFLAGS+set}"
25146   ac_save_CXXFLAGS="$CXXFLAGS"
25147   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
25148
25149
25150   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
25151 $as_echo_n "checking for strtold declaration... " >&6; }
25152   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
25153     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
25154   $as_echo_n "(cached) " >&6
25155 else
25156
25157
25158       ac_ext=cpp
25159 ac_cpp='$CXXCPP $CPPFLAGS'
25160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25163
25164       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25165 /* end confdefs.h.  */
25166 #include <stdlib.h>
25167 int
25168 main ()
25169 {
25170  strtold(0, 0);
25171   ;
25172   return 0;
25173 }
25174 _ACEOF
25175 if ac_fn_cxx_try_compile "$LINENO"; then :
25176   glibcxx_cv_func_strtold_use=yes
25177 else
25178   glibcxx_cv_func_strtold_use=no
25179 fi
25180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25181       ac_ext=c
25182 ac_cpp='$CPP $CPPFLAGS'
25183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25186
25187
25188 fi
25189
25190   fi
25191   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
25192 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
25193   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
25194     for ac_func in strtold
25195 do :
25196   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
25197 if test "x$ac_cv_func_strtold" = x""yes; then :
25198   cat >>confdefs.h <<_ACEOF
25199 #define HAVE_STRTOLD 1
25200 _ACEOF
25201
25202 fi
25203 done
25204
25205   fi
25206
25207
25208
25209
25210   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
25211 $as_echo_n "checking for strtof declaration... " >&6; }
25212   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
25213     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
25214   $as_echo_n "(cached) " >&6
25215 else
25216
25217
25218       ac_ext=cpp
25219 ac_cpp='$CXXCPP $CPPFLAGS'
25220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25223
25224       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25225 /* end confdefs.h.  */
25226 #include <stdlib.h>
25227 int
25228 main ()
25229 {
25230  strtof(0, 0);
25231   ;
25232   return 0;
25233 }
25234 _ACEOF
25235 if ac_fn_cxx_try_compile "$LINENO"; then :
25236   glibcxx_cv_func_strtof_use=yes
25237 else
25238   glibcxx_cv_func_strtof_use=no
25239 fi
25240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25241       ac_ext=c
25242 ac_cpp='$CPP $CPPFLAGS'
25243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25246
25247
25248 fi
25249
25250   fi
25251   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
25252 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
25253   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
25254     for ac_func in strtof
25255 do :
25256   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
25257 if test "x$ac_cv_func_strtof" = x""yes; then :
25258   cat >>confdefs.h <<_ACEOF
25259 #define HAVE_STRTOF 1
25260 _ACEOF
25261
25262 fi
25263 done
25264
25265   fi
25266
25267
25268
25269
25270   CXXFLAGS="$ac_save_CXXFLAGS"
25271
25272
25273   # For /dev/random and /dev/urandom for TR1.
25274
25275
25276   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
25277 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
25278   if test "${glibcxx_cv_random_tr1+set}" = set; then :
25279   $as_echo_n "(cached) " >&6
25280 else
25281
25282     if test -r /dev/random && test -r /dev/urandom; then
25283       glibcxx_cv_random_tr1=yes;
25284     else
25285       glibcxx_cv_random_tr1=no;
25286     fi
25287
25288 fi
25289
25290   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
25291 $as_echo "$glibcxx_cv_random_tr1" >&6; }
25292
25293   if test x"$glibcxx_cv_random_tr1" = x"yes"; then
25294
25295 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
25296
25297   fi
25298
25299
25300
25301   # For TLS support.
25302
25303
25304    # Check whether --enable-tls was given.
25305 if test "${enable_tls+set}" = set; then :
25306   enableval=$enable_tls;
25307       case "$enableval" in
25308        yes|no) ;;
25309        *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
25310       esac
25311
25312 else
25313   enable_tls=yes
25314 fi
25315
25316
25317   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
25318 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
25319 if test "${gcc_cv_have_tls+set}" = set; then :
25320   $as_echo_n "(cached) " >&6
25321 else
25322
25323     if test "$cross_compiling" = yes; then :
25324                 if test x$gcc_no_link = xyes; then
25325   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25326 fi
25327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25328 /* end confdefs.h.  */
25329 __thread int a; int b; int main() { return a = b; }
25330 _ACEOF
25331 if ac_fn_c_try_link "$LINENO"; then :
25332   chktls_save_LDFLAGS="$LDFLAGS"
25333                           case $host in
25334             *-*-linux*)
25335               LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
25336               ;;
25337           esac
25338           chktls_save_CFLAGS="$CFLAGS"
25339           CFLAGS="-fPIC $CFLAGS"
25340                   if test x$gcc_no_link = xyes; then
25341   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25342 fi
25343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25344 /* end confdefs.h.  */
25345 int f() { return 0; }
25346 _ACEOF
25347 if ac_fn_c_try_link "$LINENO"; then :
25348   if test x$gcc_no_link = xyes; then
25349   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25350 fi
25351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25352 /* end confdefs.h.  */
25353 __thread int a; int b; int f() { return a = b; }
25354 _ACEOF
25355 if ac_fn_c_try_link "$LINENO"; then :
25356   gcc_cv_have_tls=yes
25357 else
25358   gcc_cv_have_tls=no
25359 fi
25360 rm -f core conftest.err conftest.$ac_objext \
25361     conftest$ac_exeext conftest.$ac_ext
25362 else
25363   gcc_cv_have_tls=yes
25364 fi
25365 rm -f core conftest.err conftest.$ac_objext \
25366     conftest$ac_exeext conftest.$ac_ext
25367           CFLAGS="$chktls_save_CFLAGS"
25368           LDFLAGS="$chktls_save_LDFLAGS"
25369 else
25370   gcc_cv_have_tls=no
25371 fi
25372 rm -f core conftest.err conftest.$ac_objext \
25373     conftest$ac_exeext conftest.$ac_ext
25374
25375
25376 else
25377   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25378 /* end confdefs.h.  */
25379 __thread int a; int b; int main() { return a = b; }
25380 _ACEOF
25381 if ac_fn_c_try_run "$LINENO"; then :
25382                       chktls_save_LDFLAGS="$LDFLAGS"
25383       LDFLAGS="-static $LDFLAGS"
25384       if test x$gcc_no_link = xyes; then
25385   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25386 fi
25387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25388 /* end confdefs.h.  */
25389 int main() { return 0; }
25390 _ACEOF
25391 if ac_fn_c_try_link "$LINENO"; then :
25392   if test "$cross_compiling" = yes; then :
25393   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
25394 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
25395 as_fn_error "cannot run test program while cross compiling
25396 See \`config.log' for more details." "$LINENO" 5; }
25397 else
25398   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25399 /* end confdefs.h.  */
25400 __thread int a; int b; int main() { return a = b; }
25401 _ACEOF
25402 if ac_fn_c_try_run "$LINENO"; then :
25403   gcc_cv_have_tls=yes
25404 else
25405   gcc_cv_have_tls=no
25406 fi
25407 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25408   conftest.$ac_objext conftest.beam conftest.$ac_ext
25409 fi
25410
25411 else
25412   gcc_cv_have_tls=yes
25413 fi
25414 rm -f core conftest.err conftest.$ac_objext \
25415     conftest$ac_exeext conftest.$ac_ext
25416       LDFLAGS="$chktls_save_LDFLAGS"
25417       if test $gcc_cv_have_tls = yes; then
25418                                                 chktls_save_CFLAGS="$CFLAGS"
25419         thread_CFLAGS=failed
25420         for flag in '' '-pthread' '-lpthread'; do
25421           CFLAGS="$flag $chktls_save_CFLAGS"
25422           if test x$gcc_no_link = xyes; then
25423   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25424 fi
25425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25426 /* end confdefs.h.  */
25427 #include <pthread.h>
25428                 void *g(void *d) { return NULL; }
25429 int
25430 main ()
25431 {
25432 pthread_t t; pthread_create(&t,NULL,g,NULL);
25433   ;
25434   return 0;
25435 }
25436 _ACEOF
25437 if ac_fn_c_try_link "$LINENO"; then :
25438   thread_CFLAGS="$flag"
25439 fi
25440 rm -f core conftest.err conftest.$ac_objext \
25441     conftest$ac_exeext conftest.$ac_ext
25442           if test "X$thread_CFLAGS" != Xfailed; then
25443             break
25444           fi
25445         done
25446         CFLAGS="$chktls_save_CFLAGS"
25447         if test "X$thread_CFLAGS" != Xfailed; then
25448           CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
25449           if test "$cross_compiling" = yes; then :
25450   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
25451 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
25452 as_fn_error "cannot run test program while cross compiling
25453 See \`config.log' for more details." "$LINENO" 5; }
25454 else
25455   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25456 /* end confdefs.h.  */
25457 #include <pthread.h>
25458                 __thread int a;
25459                 static int *a_in_other_thread;
25460                 static void *
25461                 thread_func (void *arg)
25462                 {
25463                   a_in_other_thread = &a;
25464                   return (void *)0;
25465                 }
25466 int
25467 main ()
25468 {
25469 pthread_t thread;
25470                 void *thread_retval;
25471                 int *a_in_main_thread;
25472                 if (pthread_create (&thread, (pthread_attr_t *)0,
25473                                     thread_func, (void *)0))
25474                   return 0;
25475                 a_in_main_thread = &a;
25476                 if (pthread_join (thread, &thread_retval))
25477                   return 0;
25478                 return (a_in_other_thread == a_in_main_thread);
25479   ;
25480   return 0;
25481 }
25482 _ACEOF
25483 if ac_fn_c_try_run "$LINENO"; then :
25484   gcc_cv_have_tls=yes
25485 else
25486   gcc_cv_have_tls=no
25487 fi
25488 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25489   conftest.$ac_objext conftest.beam conftest.$ac_ext
25490 fi
25491
25492           CFLAGS="$chktls_save_CFLAGS"
25493         fi
25494       fi
25495 else
25496   gcc_cv_have_tls=no
25497 fi
25498 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25499   conftest.$ac_objext conftest.beam conftest.$ac_ext
25500 fi
25501
25502 fi
25503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
25504 $as_echo "$gcc_cv_have_tls" >&6; }
25505   if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
25506
25507 $as_echo "#define HAVE_TLS 1" >>confdefs.h
25508
25509   fi
25510
25511   # For iconv support.
25512
25513       if test "X$prefix" = "XNONE"; then
25514     acl_final_prefix="$ac_default_prefix"
25515   else
25516     acl_final_prefix="$prefix"
25517   fi
25518   if test "X$exec_prefix" = "XNONE"; then
25519     acl_final_exec_prefix='${prefix}'
25520   else
25521     acl_final_exec_prefix="$exec_prefix"
25522   fi
25523   acl_save_prefix="$prefix"
25524   prefix="$acl_final_prefix"
25525   eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
25526   prefix="$acl_save_prefix"
25527
25528
25529 # Check whether --with-gnu-ld was given.
25530 if test "${with_gnu_ld+set}" = set; then :
25531   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
25532 else
25533   with_gnu_ld=no
25534 fi
25535
25536 # Prepare PATH_SEPARATOR.
25537 # The user is always right.
25538 if test "${PATH_SEPARATOR+set}" != set; then
25539   echo "#! /bin/sh" >conf$$.sh
25540   echo  "exit 0"   >>conf$$.sh
25541   chmod +x conf$$.sh
25542   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
25543     PATH_SEPARATOR=';'
25544   else
25545     PATH_SEPARATOR=:
25546   fi
25547   rm -f conf$$.sh
25548 fi
25549 ac_prog=ld
25550 if test "$GCC" = yes; then
25551   # Check if gcc -print-prog-name=ld gives a path.
25552   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
25553 $as_echo_n "checking for ld used by GCC... " >&6; }
25554   case $host in
25555   *-*-mingw*)
25556     # gcc leaves a trailing carriage return which upsets mingw
25557     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
25558   *)
25559     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
25560   esac
25561   case $ac_prog in
25562     # Accept absolute paths.
25563     [\\/]* | [A-Za-z]:[\\/]*)
25564       re_direlt='/[^/][^/]*/\.\./'
25565       # Canonicalize the path of ld
25566       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
25567       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
25568         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
25569       done
25570       test -z "$LD" && LD="$ac_prog"
25571       ;;
25572   "")
25573     # If it fails, then pretend we aren't using GCC.
25574     ac_prog=ld
25575     ;;
25576   *)
25577     # If it is relative, then search for the first ld in PATH.
25578     with_gnu_ld=unknown
25579     ;;
25580   esac
25581 elif test "$with_gnu_ld" = yes; then
25582   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
25583 $as_echo_n "checking for GNU ld... " >&6; }
25584 else
25585   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
25586 $as_echo_n "checking for non-GNU ld... " >&6; }
25587 fi
25588 if test "${acl_cv_path_LD+set}" = set; then :
25589   $as_echo_n "(cached) " >&6
25590 else
25591   if test -z "$LD"; then
25592   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
25593   for ac_dir in $PATH; do
25594     test -z "$ac_dir" && ac_dir=.
25595     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
25596       acl_cv_path_LD="$ac_dir/$ac_prog"
25597       # Check to see if the program is GNU ld.  I'd rather use --version,
25598       # but apparently some GNU ld's only accept -v.
25599       # Break only if it was the GNU/non-GNU ld that we prefer.
25600       if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
25601         test "$with_gnu_ld" != no && break
25602       else
25603         test "$with_gnu_ld" != yes && break
25604       fi
25605     fi
25606   done
25607   IFS="$ac_save_ifs"
25608 else
25609   acl_cv_path_LD="$LD" # Let the user override the test with a path.
25610 fi
25611 fi
25612
25613 LD="$acl_cv_path_LD"
25614 if test -n "$LD"; then
25615   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
25616 $as_echo "$LD" >&6; }
25617 else
25618   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25619 $as_echo "no" >&6; }
25620 fi
25621 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
25622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
25623 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
25624 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
25625   $as_echo_n "(cached) " >&6
25626 else
25627   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
25628 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
25629   acl_cv_prog_gnu_ld=yes
25630 else
25631   acl_cv_prog_gnu_ld=no
25632 fi
25633 fi
25634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
25635 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
25636 with_gnu_ld=$acl_cv_prog_gnu_ld
25637
25638
25639
25640                                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
25641 $as_echo_n "checking for shared library run path origin... " >&6; }
25642 if test "${acl_cv_rpath+set}" = set; then :
25643   $as_echo_n "(cached) " >&6
25644 else
25645
25646     CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
25647     ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
25648     . ./conftest.sh
25649     rm -f ./conftest.sh
25650     acl_cv_rpath=done
25651
25652 fi
25653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
25654 $as_echo "$acl_cv_rpath" >&6; }
25655   wl="$acl_cv_wl"
25656   libext="$acl_cv_libext"
25657   shlibext="$acl_cv_shlibext"
25658   hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
25659   hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
25660   hardcode_direct="$acl_cv_hardcode_direct"
25661   hardcode_minus_L="$acl_cv_hardcode_minus_L"
25662     # Check whether --enable-rpath was given.
25663 if test "${enable_rpath+set}" = set; then :
25664   enableval=$enable_rpath; :
25665 else
25666   enable_rpath=yes
25667 fi
25668
25669
25670
25671
25672
25673
25674
25675
25676     use_additional=yes
25677
25678   acl_save_prefix="$prefix"
25679   prefix="$acl_final_prefix"
25680   acl_save_exec_prefix="$exec_prefix"
25681   exec_prefix="$acl_final_exec_prefix"
25682
25683     eval additional_includedir=\"$includedir\"
25684     eval additional_libdir=\"$libdir\"
25685
25686   exec_prefix="$acl_save_exec_prefix"
25687   prefix="$acl_save_prefix"
25688
25689
25690 # Check whether --with-libiconv-prefix was given.
25691 if test "${with_libiconv_prefix+set}" = set; then :
25692   withval=$with_libiconv_prefix;
25693     if test "X$withval" = "Xno"; then
25694       use_additional=no
25695     else
25696       if test "X$withval" = "X"; then
25697
25698   acl_save_prefix="$prefix"
25699   prefix="$acl_final_prefix"
25700   acl_save_exec_prefix="$exec_prefix"
25701   exec_prefix="$acl_final_exec_prefix"
25702
25703           eval additional_includedir=\"$includedir\"
25704           eval additional_libdir=\"$libdir\"
25705
25706   exec_prefix="$acl_save_exec_prefix"
25707   prefix="$acl_save_prefix"
25708
25709       else
25710         additional_includedir="$withval/include"
25711         additional_libdir="$withval/lib"
25712       fi
25713     fi
25714
25715 fi
25716
25717       LIBICONV=
25718   LTLIBICONV=
25719   INCICONV=
25720   rpathdirs=
25721   ltrpathdirs=
25722   names_already_handled=
25723   names_next_round='iconv '
25724   while test -n "$names_next_round"; do
25725     names_this_round="$names_next_round"
25726     names_next_round=
25727     for name in $names_this_round; do
25728       already_handled=
25729       for n in $names_already_handled; do
25730         if test "$n" = "$name"; then
25731           already_handled=yes
25732           break
25733         fi
25734       done
25735       if test -z "$already_handled"; then
25736         names_already_handled="$names_already_handled $name"
25737                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
25738         eval value=\"\$HAVE_LIB$uppername\"
25739         if test -n "$value"; then
25740           if test "$value" = yes; then
25741             eval value=\"\$LIB$uppername\"
25742             test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
25743             eval value=\"\$LTLIB$uppername\"
25744             test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
25745           else
25746                                     :
25747           fi
25748         else
25749                               found_dir=
25750           found_la=
25751           found_so=
25752           found_a=
25753           if test $use_additional = yes; then
25754             if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
25755               found_dir="$additional_libdir"
25756               found_so="$additional_libdir/lib$name.$shlibext"
25757               if test -f "$additional_libdir/lib$name.la"; then
25758                 found_la="$additional_libdir/lib$name.la"
25759               fi
25760             else
25761               if test -f "$additional_libdir/lib$name.$libext"; then
25762                 found_dir="$additional_libdir"
25763                 found_a="$additional_libdir/lib$name.$libext"
25764                 if test -f "$additional_libdir/lib$name.la"; then
25765                   found_la="$additional_libdir/lib$name.la"
25766                 fi
25767               fi
25768             fi
25769           fi
25770           if test "X$found_dir" = "X"; then
25771             for x in $LDFLAGS $LTLIBICONV; do
25772
25773   acl_save_prefix="$prefix"
25774   prefix="$acl_final_prefix"
25775   acl_save_exec_prefix="$exec_prefix"
25776   exec_prefix="$acl_final_exec_prefix"
25777   eval x=\"$x\"
25778   exec_prefix="$acl_save_exec_prefix"
25779   prefix="$acl_save_prefix"
25780
25781               case "$x" in
25782                 -L*)
25783                   dir=`echo "X$x" | sed -e 's/^X-L//'`
25784                   if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
25785                     found_dir="$dir"
25786                     found_so="$dir/lib$name.$shlibext"
25787                     if test -f "$dir/lib$name.la"; then
25788                       found_la="$dir/lib$name.la"
25789                     fi
25790                   else
25791                     if test -f "$dir/lib$name.$libext"; then
25792                       found_dir="$dir"
25793                       found_a="$dir/lib$name.$libext"
25794                       if test -f "$dir/lib$name.la"; then
25795                         found_la="$dir/lib$name.la"
25796                       fi
25797                     fi
25798                   fi
25799                   ;;
25800               esac
25801               if test "X$found_dir" != "X"; then
25802                 break
25803               fi
25804             done
25805           fi
25806           if test "X$found_dir" != "X"; then
25807                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
25808             if test "X$found_so" != "X"; then
25809                                                         if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
25810                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
25811               else
25812                                                                                 haveit=
25813                 for x in $ltrpathdirs; do
25814                   if test "X$x" = "X$found_dir"; then
25815                     haveit=yes
25816                     break
25817                   fi
25818                 done
25819                 if test -z "$haveit"; then
25820                   ltrpathdirs="$ltrpathdirs $found_dir"
25821                 fi
25822                                 if test "$hardcode_direct" = yes; then
25823                                                       LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
25824                 else
25825                   if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
25826                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
25827                                                             haveit=
25828                     for x in $rpathdirs; do
25829                       if test "X$x" = "X$found_dir"; then
25830                         haveit=yes
25831                         break
25832                       fi
25833                     done
25834                     if test -z "$haveit"; then
25835                       rpathdirs="$rpathdirs $found_dir"
25836                     fi
25837                   else
25838                                                                                 haveit=
25839                     for x in $LDFLAGS $LIBICONV; do
25840
25841   acl_save_prefix="$prefix"
25842   prefix="$acl_final_prefix"
25843   acl_save_exec_prefix="$exec_prefix"
25844   exec_prefix="$acl_final_exec_prefix"
25845   eval x=\"$x\"
25846   exec_prefix="$acl_save_exec_prefix"
25847   prefix="$acl_save_prefix"
25848
25849                       if test "X$x" = "X-L$found_dir"; then
25850                         haveit=yes
25851                         break
25852                       fi
25853                     done
25854                     if test -z "$haveit"; then
25855                       LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
25856                     fi
25857                     if test "$hardcode_minus_L" != no; then
25858                                                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
25859                     else
25860                                                                                                                                                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
25861                     fi
25862                   fi
25863                 fi
25864               fi
25865             else
25866               if test "X$found_a" != "X"; then
25867                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
25868               else
25869                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
25870               fi
25871             fi
25872                         additional_includedir=
25873             case "$found_dir" in
25874               */lib | */lib/)
25875                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
25876                 additional_includedir="$basedir/include"
25877                 ;;
25878             esac
25879             if test "X$additional_includedir" != "X"; then
25880                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
25881                 haveit=
25882                 if test "X$additional_includedir" = "X/usr/local/include"; then
25883                   if test -n "$GCC"; then
25884                     case $host_os in
25885                       linux*) haveit=yes;;
25886                     esac
25887                   fi
25888                 fi
25889                 if test -z "$haveit"; then
25890                   for x in $CPPFLAGS $INCICONV; do
25891
25892   acl_save_prefix="$prefix"
25893   prefix="$acl_final_prefix"
25894   acl_save_exec_prefix="$exec_prefix"
25895   exec_prefix="$acl_final_exec_prefix"
25896   eval x=\"$x\"
25897   exec_prefix="$acl_save_exec_prefix"
25898   prefix="$acl_save_prefix"
25899
25900                     if test "X$x" = "X-I$additional_includedir"; then
25901                       haveit=yes
25902                       break
25903                     fi
25904                   done
25905                   if test -z "$haveit"; then
25906                     if test -d "$additional_includedir"; then
25907                                             INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
25908                     fi
25909                   fi
25910                 fi
25911               fi
25912             fi
25913                         if test -n "$found_la"; then
25914                                                         save_libdir="$libdir"
25915               case "$found_la" in
25916                 */* | *\\*) . "$found_la" ;;
25917                 *) . "./$found_la" ;;
25918               esac
25919               libdir="$save_libdir"
25920                             for dep in $dependency_libs; do
25921                 case "$dep" in
25922                   -L*)
25923                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
25924                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/lib"; then
25925                       haveit=
25926                       if test "X$additional_libdir" = "X/usr/local/lib"; then
25927                         if test -n "$GCC"; then
25928                           case $host_os in
25929                             linux*) haveit=yes;;
25930                           esac
25931                         fi
25932                       fi
25933                       if test -z "$haveit"; then
25934                         haveit=
25935                         for x in $LDFLAGS $LIBICONV; do
25936
25937   acl_save_prefix="$prefix"
25938   prefix="$acl_final_prefix"
25939   acl_save_exec_prefix="$exec_prefix"
25940   exec_prefix="$acl_final_exec_prefix"
25941   eval x=\"$x\"
25942   exec_prefix="$acl_save_exec_prefix"
25943   prefix="$acl_save_prefix"
25944
25945                           if test "X$x" = "X-L$additional_libdir"; then
25946                             haveit=yes
25947                             break
25948                           fi
25949                         done
25950                         if test -z "$haveit"; then
25951                           if test -d "$additional_libdir"; then
25952                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
25953                           fi
25954                         fi
25955                         haveit=
25956                         for x in $LDFLAGS $LTLIBICONV; do
25957
25958   acl_save_prefix="$prefix"
25959   prefix="$acl_final_prefix"
25960   acl_save_exec_prefix="$exec_prefix"
25961   exec_prefix="$acl_final_exec_prefix"
25962   eval x=\"$x\"
25963   exec_prefix="$acl_save_exec_prefix"
25964   prefix="$acl_save_prefix"
25965
25966                           if test "X$x" = "X-L$additional_libdir"; then
25967                             haveit=yes
25968                             break
25969                           fi
25970                         done
25971                         if test -z "$haveit"; then
25972                           if test -d "$additional_libdir"; then
25973                                                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
25974                           fi
25975                         fi
25976                       fi
25977                     fi
25978                     ;;
25979                   -R*)
25980                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
25981                     if test "$enable_rpath" != no; then
25982                                                                   haveit=
25983                       for x in $rpathdirs; do
25984                         if test "X$x" = "X$dir"; then
25985                           haveit=yes
25986                           break
25987                         fi
25988                       done
25989                       if test -z "$haveit"; then
25990                         rpathdirs="$rpathdirs $dir"
25991                       fi
25992                                                                   haveit=
25993                       for x in $ltrpathdirs; do
25994                         if test "X$x" = "X$dir"; then
25995                           haveit=yes
25996                           break
25997                         fi
25998                       done
25999                       if test -z "$haveit"; then
26000                         ltrpathdirs="$ltrpathdirs $dir"
26001                       fi
26002                     fi
26003                     ;;
26004                   -l*)
26005                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
26006                     ;;
26007                   *.la)
26008                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
26009                     ;;
26010                   *)
26011                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
26012                     LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
26013                     ;;
26014                 esac
26015               done
26016             fi
26017           else
26018                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
26019             LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
26020           fi
26021         fi
26022       fi
26023     done
26024   done
26025   if test "X$rpathdirs" != "X"; then
26026     if test -n "$hardcode_libdir_separator"; then
26027                         alldirs=
26028       for found_dir in $rpathdirs; do
26029         alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
26030       done
26031             acl_save_libdir="$libdir"
26032       libdir="$alldirs"
26033       eval flag=\"$hardcode_libdir_flag_spec\"
26034       libdir="$acl_save_libdir"
26035       LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
26036     else
26037             for found_dir in $rpathdirs; do
26038         acl_save_libdir="$libdir"
26039         libdir="$found_dir"
26040         eval flag=\"$hardcode_libdir_flag_spec\"
26041         libdir="$acl_save_libdir"
26042         LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
26043       done
26044     fi
26045   fi
26046   if test "X$ltrpathdirs" != "X"; then
26047             for found_dir in $ltrpathdirs; do
26048       LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
26049     done
26050   fi
26051
26052
26053
26054
26055
26056
26057
26058           am_save_CPPFLAGS="$CPPFLAGS"
26059
26060   for element in $INCICONV; do
26061     haveit=
26062     for x in $CPPFLAGS; do
26063
26064   acl_save_prefix="$prefix"
26065   prefix="$acl_final_prefix"
26066   acl_save_exec_prefix="$exec_prefix"
26067   exec_prefix="$acl_final_exec_prefix"
26068   eval x=\"$x\"
26069   exec_prefix="$acl_save_exec_prefix"
26070   prefix="$acl_save_prefix"
26071
26072       if test "X$x" = "X$element"; then
26073         haveit=yes
26074         break
26075       fi
26076     done
26077     if test -z "$haveit"; then
26078       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
26079     fi
26080   done
26081
26082
26083   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
26084 $as_echo_n "checking for iconv... " >&6; }
26085 if test "${am_cv_func_iconv+set}" = set; then :
26086   $as_echo_n "(cached) " >&6
26087 else
26088
26089     am_cv_func_iconv="no, consider installing GNU libiconv"
26090     am_cv_lib_iconv=no
26091     if test x$gcc_no_link = xyes; then
26092   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26093 fi
26094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26095 /* end confdefs.h.  */
26096 #include <stdlib.h>
26097 #include <iconv.h>
26098 int
26099 main ()
26100 {
26101 iconv_t cd = iconv_open("","");
26102        iconv(cd,NULL,NULL,NULL,NULL);
26103        iconv_close(cd);
26104   ;
26105   return 0;
26106 }
26107 _ACEOF
26108 if ac_fn_c_try_link "$LINENO"; then :
26109   am_cv_func_iconv=yes
26110 fi
26111 rm -f core conftest.err conftest.$ac_objext \
26112     conftest$ac_exeext conftest.$ac_ext
26113     if test "$am_cv_func_iconv" != yes; then
26114       am_save_LIBS="$LIBS"
26115       LIBS="$LIBS $LIBICONV"
26116       if test x$gcc_no_link = xyes; then
26117   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26118 fi
26119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26120 /* end confdefs.h.  */
26121 #include <stdlib.h>
26122 #include <iconv.h>
26123 int
26124 main ()
26125 {
26126 iconv_t cd = iconv_open("","");
26127          iconv(cd,NULL,NULL,NULL,NULL);
26128          iconv_close(cd);
26129   ;
26130   return 0;
26131 }
26132 _ACEOF
26133 if ac_fn_c_try_link "$LINENO"; then :
26134   am_cv_lib_iconv=yes
26135         am_cv_func_iconv=yes
26136 fi
26137 rm -f core conftest.err conftest.$ac_objext \
26138     conftest$ac_exeext conftest.$ac_ext
26139       LIBS="$am_save_LIBS"
26140     fi
26141
26142 fi
26143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
26144 $as_echo "$am_cv_func_iconv" >&6; }
26145   if test "$am_cv_func_iconv" = yes; then
26146
26147 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
26148
26149   fi
26150   if test "$am_cv_lib_iconv" = yes; then
26151     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
26152 $as_echo_n "checking how to link with libiconv... " >&6; }
26153     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
26154 $as_echo "$LIBICONV" >&6; }
26155   else
26156             CPPFLAGS="$am_save_CPPFLAGS"
26157     LIBICONV=
26158     LTLIBICONV=
26159   fi
26160
26161
26162
26163   if test "$am_cv_func_iconv" = yes; then
26164     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
26165 $as_echo_n "checking for iconv declaration... " >&6; }
26166     if test "${am_cv_proto_iconv+set}" = set; then :
26167   $as_echo_n "(cached) " >&6
26168 else
26169
26170       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26171 /* end confdefs.h.  */
26172
26173 #include <stdlib.h>
26174 #include <iconv.h>
26175 extern
26176 #ifdef __cplusplus
26177 "C"
26178 #endif
26179 #if defined(__STDC__) || defined(__cplusplus)
26180 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
26181 #else
26182 size_t iconv();
26183 #endif
26184
26185 int
26186 main ()
26187 {
26188
26189   ;
26190   return 0;
26191 }
26192 _ACEOF
26193 if ac_fn_c_try_compile "$LINENO"; then :
26194   am_cv_proto_iconv_arg1=""
26195 else
26196   am_cv_proto_iconv_arg1="const"
26197 fi
26198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26199       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);"
26200 fi
26201
26202     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
26203     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
26204          }$am_cv_proto_iconv" >&5
26205 $as_echo "${ac_t:-
26206          }$am_cv_proto_iconv" >&6; }
26207
26208 cat >>confdefs.h <<_ACEOF
26209 #define ICONV_CONST $am_cv_proto_iconv_arg1
26210 _ACEOF
26211
26212   fi
26213
26214
26215 else
26216
26217   # This lets us hard-code the functionality we know we'll have in the cross
26218   # target environment.  "Let" is a sugar-coated word placed on an especially
26219   # dull and tedious hack, actually.
26220   #
26221   # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
26222   # that involve linking, can't be used:
26223   #    "cannot open sim-crt0.o"
26224   #    "cannot open crt0.o"
26225   # etc.  All this is because there currently exists no unified, consistent
26226   # way for top level CC information to be passed down to target directories:
26227   # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
26228   # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
26229   # crosses can be removed.
26230
26231   # If Canadian cross, then don't pick up tools from the build directory.
26232   # Used only in GLIBCXX_EXPORT_INCLUDES.
26233   if test -n "$with_cross_host" &&
26234      test x"$build_alias" != x"$with_cross_host" &&
26235      test x"$build" != x"$target";
26236   then
26237     CANADIAN=yes
26238   else
26239     CANADIAN=no
26240   fi
26241
26242   # Construct crosses by hand, eliminating bits that need ld...
26243   # GLIBCXX_CHECK_MATH_SUPPORT
26244
26245   # First, test for "known" system libraries.  We may be using newlib even
26246   # on a hosted environment.
26247   if test "x${with_newlib}" = "xyes"; then
26248     os_include_dir="os/newlib"
26249     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
26250
26251
26252     # GLIBCXX_CHECK_STDLIB_SUPPORT
26253     $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
26254
26255
26256     $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
26257
26258     $as_echo "#define HAVE_ASINF 1" >>confdefs.h
26259
26260     $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
26261
26262     $as_echo "#define HAVE_ATANF 1" >>confdefs.h
26263
26264     $as_echo "#define HAVE_CEILF 1" >>confdefs.h
26265
26266     $as_echo "#define HAVE_COSF 1" >>confdefs.h
26267
26268     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
26269
26270     $as_echo "#define HAVE_EXPF 1" >>confdefs.h
26271
26272     $as_echo "#define HAVE_FABSF 1" >>confdefs.h
26273
26274     $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
26275
26276     $as_echo "#define HAVE_FMODF 1" >>confdefs.h
26277
26278     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
26279
26280     $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
26281
26282     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
26283
26284     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
26285
26286     $as_echo "#define HAVE_MODFF 1" >>confdefs.h
26287
26288     $as_echo "#define HAVE_POWF 1" >>confdefs.h
26289
26290     $as_echo "#define HAVE_SINF 1" >>confdefs.h
26291
26292     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
26293
26294     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
26295
26296     $as_echo "#define HAVE_TANF 1" >>confdefs.h
26297
26298     $as_echo "#define HAVE_TANHF 1" >>confdefs.h
26299
26300
26301     $as_echo "#define HAVE_ICONV 1" >>confdefs.h
26302
26303   else
26304
26305 # Base decisions on target environment.
26306 case "${host}" in
26307   arm*-*-symbianelf*)
26308     # This is a freestanding configuration; there is nothing to do here.
26309     ;;
26310
26311   mips*-sde-elf*)
26312     # These definitions are for the SDE C library rather than newlib.
26313     SECTION_FLAGS='-ffunction-sections -fdata-sections'
26314
26315
26316   # All these tests are for C++; save the language and the compiler flags.
26317   # The CXXFLAGS thing is suspicious, but based on similar bits previously
26318   # found in GLIBCXX_CONFIGURE.
26319
26320   ac_ext=cpp
26321 ac_cpp='$CXXCPP $CPPFLAGS'
26322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26325
26326   ac_test_CXXFLAGS="${CXXFLAGS+set}"
26327   ac_save_CXXFLAGS="$CXXFLAGS"
26328
26329   # Check for maintainer-mode bits.
26330   if test x"$USE_MAINTAINER_MODE" = xno; then
26331     WERROR=''
26332   else
26333     WERROR='-Werror'
26334   fi
26335
26336   # Check for -ffunction-sections -fdata-sections
26337   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
26338 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
26339   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
26340   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26341 /* end confdefs.h.  */
26342 int foo; void bar() { };
26343 int
26344 main ()
26345 {
26346
26347   ;
26348   return 0;
26349 }
26350 _ACEOF
26351 if ac_fn_cxx_try_compile "$LINENO"; then :
26352   ac_fdsections=yes
26353 else
26354   ac_fdsections=no
26355 fi
26356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26357   if test "$ac_test_CXXFLAGS" = set; then
26358     CXXFLAGS="$ac_save_CXXFLAGS"
26359   else
26360     # this is the suspicious part
26361     CXXFLAGS=''
26362   fi
26363   if test x"$ac_fdsections" = x"yes"; then
26364     SECTION_FLAGS='-ffunction-sections -fdata-sections'
26365   fi
26366   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
26367 $as_echo "$ac_fdsections" >&6; }
26368
26369   ac_ext=c
26370 ac_cpp='$CPP $CPPFLAGS'
26371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26374
26375
26376
26377
26378
26379   # If we're not using GNU ld, then there's no point in even trying these
26380   # tests.  Check for that first.  We should have already tested for gld
26381   # by now (in libtool), but require it now just to be safe...
26382   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
26383   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
26384
26385
26386
26387   # The name set by libtool depends on the version of libtool.  Shame on us
26388   # for depending on an impl detail, but c'est la vie.  Older versions used
26389   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
26390   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
26391   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
26392   # set (hence we're using an older libtool), then set it.
26393   if test x${with_gnu_ld+set} != xset; then
26394     if test x${ac_cv_prog_gnu_ld+set} != xset; then
26395       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
26396       with_gnu_ld=no
26397     else
26398       with_gnu_ld=$ac_cv_prog_gnu_ld
26399     fi
26400   fi
26401
26402   # Start by getting the version number.  I think the libtool test already
26403   # does some of this, but throws away the result.
26404   glibcxx_ld_is_gold=no
26405   if test x"$with_gnu_ld" = x"yes"; then
26406     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
26407 $as_echo_n "checking for ld version... " >&6; }
26408
26409     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
26410       glibcxx_ld_is_gold=yes
26411     fi
26412     ldver=`$LD --version 2>/dev/null | head -1 | \
26413            sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
26414
26415     glibcxx_gnu_ld_version=`echo $ldver | \
26416            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
26417     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
26418 $as_echo "$glibcxx_gnu_ld_version" >&6; }
26419   fi
26420
26421   # Set --gc-sections.
26422   glibcxx_have_gc_sections=no
26423   if test "$glibcxx_ld_is_gold" = "yes"; then
26424     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
26425       glibcxx_have_gc_sections=yes
26426     fi
26427   else
26428     glibcxx_gcsections_min_ld=21602
26429     if test x"$with_gnu_ld" = x"yes" &&
26430         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
26431       glibcxx_have_gc_sections=yes
26432     fi
26433   fi
26434   if test "$glibcxx_have_gc_sections" = "yes"; then
26435     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
26436     # NB: This flag only works reliably after 2.16.1. Configure tests
26437     # for this are difficult, so hard wire a value that should work.
26438
26439     ac_test_CFLAGS="${CFLAGS+set}"
26440     ac_save_CFLAGS="$CFLAGS"
26441     CFLAGS='-Wl,--gc-sections'
26442
26443     # Check for -Wl,--gc-sections
26444     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
26445 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
26446     if test x$gcc_no_link = xyes; then
26447   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26448 fi
26449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26450 /* end confdefs.h.  */
26451  int one(void) { return 1; }
26452      int two(void) { return 2; }
26453
26454 int
26455 main ()
26456 {
26457  two();
26458   ;
26459   return 0;
26460 }
26461 _ACEOF
26462 if ac_fn_c_try_link "$LINENO"; then :
26463   ac_gcsections=yes
26464 else
26465   ac_gcsections=no
26466 fi
26467 rm -f core conftest.err conftest.$ac_objext \
26468     conftest$ac_exeext conftest.$ac_ext
26469     if test "$ac_gcsections" = "yes"; then
26470       rm -f conftest.c
26471       touch conftest.c
26472       if $CC -c conftest.c; then
26473         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
26474            grep "Warning: gc-sections option ignored" > /dev/null; then
26475           ac_gcsections=no
26476         fi
26477       fi
26478       rm -f conftest.c conftest.o conftest
26479     fi
26480     if test "$ac_gcsections" = "yes"; then
26481       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
26482     fi
26483     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
26484 $as_echo "$ac_gcsections" >&6; }
26485
26486     if test "$ac_test_CFLAGS" = set; then
26487       CFLAGS="$ac_save_CFLAGS"
26488     else
26489       # this is the suspicious part
26490       CFLAGS=''
26491     fi
26492   fi
26493
26494   # Set -z,relro.
26495   # Note this is only for shared objects.
26496   ac_ld_relro=no
26497   if test x"$with_gnu_ld" = x"yes"; then
26498     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
26499 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
26500     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
26501     if test -n "$cxx_z_relo"; then
26502       OPT_LDFLAGS="-Wl,-z,relro"
26503       ac_ld_relro=yes
26504     fi
26505     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
26506 $as_echo "$ac_ld_relro" >&6; }
26507   fi
26508
26509   # Set linker optimization flags.
26510   if test x"$with_gnu_ld" = x"yes"; then
26511     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
26512   fi
26513
26514
26515
26516
26517
26518   ac_test_CXXFLAGS="${CXXFLAGS+set}"
26519   ac_save_CXXFLAGS="$CXXFLAGS"
26520   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
26521
26522     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
26523 $as_echo_n "checking for sin in -lm... " >&6; }
26524 if test "${ac_cv_lib_m_sin+set}" = set; then :
26525   $as_echo_n "(cached) " >&6
26526 else
26527   ac_check_lib_save_LIBS=$LIBS
26528 LIBS="-lm  $LIBS"
26529 if test x$gcc_no_link = xyes; then
26530   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26531 fi
26532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26533 /* end confdefs.h.  */
26534
26535 /* Override any GCC internal prototype to avoid an error.
26536    Use char because int might match the return type of a GCC
26537    builtin and then its argument prototype would still apply.  */
26538 #ifdef __cplusplus
26539 extern "C"
26540 #endif
26541 char sin ();
26542 int
26543 main ()
26544 {
26545 return sin ();
26546   ;
26547   return 0;
26548 }
26549 _ACEOF
26550 if ac_fn_c_try_link "$LINENO"; then :
26551   ac_cv_lib_m_sin=yes
26552 else
26553   ac_cv_lib_m_sin=no
26554 fi
26555 rm -f core conftest.err conftest.$ac_objext \
26556     conftest$ac_exeext conftest.$ac_ext
26557 LIBS=$ac_check_lib_save_LIBS
26558 fi
26559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
26560 $as_echo "$ac_cv_lib_m_sin" >&6; }
26561 if test "x$ac_cv_lib_m_sin" = x""yes; then :
26562   libm="-lm"
26563 fi
26564
26565   ac_save_LIBS="$LIBS"
26566   LIBS="$LIBS $libm"
26567
26568
26569
26570   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
26571 $as_echo_n "checking for isinf declaration... " >&6; }
26572   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
26573     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
26574   $as_echo_n "(cached) " >&6
26575 else
26576
26577
26578       ac_ext=cpp
26579 ac_cpp='$CXXCPP $CPPFLAGS'
26580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26583
26584       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26585 /* end confdefs.h.  */
26586 #include <math.h>
26587                       #ifdef HAVE_IEEEFP_H
26588                       #include <ieeefp.h>
26589                       #endif
26590
26591 int
26592 main ()
26593 {
26594  isinf(0);
26595   ;
26596   return 0;
26597 }
26598 _ACEOF
26599 if ac_fn_cxx_try_compile "$LINENO"; then :
26600   glibcxx_cv_func_isinf_use=yes
26601 else
26602   glibcxx_cv_func_isinf_use=no
26603 fi
26604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26605       ac_ext=c
26606 ac_cpp='$CPP $CPPFLAGS'
26607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26610
26611
26612 fi
26613
26614   fi
26615   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
26616 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
26617
26618   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
26619     for ac_func in isinf
26620 do :
26621   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
26622 if test "x$ac_cv_func_isinf" = x""yes; then :
26623   cat >>confdefs.h <<_ACEOF
26624 #define HAVE_ISINF 1
26625 _ACEOF
26626
26627 fi
26628 done
26629
26630   else
26631
26632   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
26633 $as_echo_n "checking for _isinf declaration... " >&6; }
26634   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
26635     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
26636   $as_echo_n "(cached) " >&6
26637 else
26638
26639
26640       ac_ext=cpp
26641 ac_cpp='$CXXCPP $CPPFLAGS'
26642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26645
26646       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26647 /* end confdefs.h.  */
26648 #include <math.h>
26649                       #ifdef HAVE_IEEEFP_H
26650                       #include <ieeefp.h>
26651                       #endif
26652
26653 int
26654 main ()
26655 {
26656  _isinf(0);
26657   ;
26658   return 0;
26659 }
26660 _ACEOF
26661 if ac_fn_cxx_try_compile "$LINENO"; then :
26662   glibcxx_cv_func__isinf_use=yes
26663 else
26664   glibcxx_cv_func__isinf_use=no
26665 fi
26666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26667       ac_ext=c
26668 ac_cpp='$CPP $CPPFLAGS'
26669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26672
26673
26674 fi
26675
26676   fi
26677   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
26678 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
26679
26680     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
26681       for ac_func in _isinf
26682 do :
26683   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
26684 if test "x$ac_cv_func__isinf" = x""yes; then :
26685   cat >>confdefs.h <<_ACEOF
26686 #define HAVE__ISINF 1
26687 _ACEOF
26688
26689 fi
26690 done
26691
26692     fi
26693   fi
26694
26695
26696
26697
26698
26699   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
26700 $as_echo_n "checking for isnan declaration... " >&6; }
26701   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
26702     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
26703   $as_echo_n "(cached) " >&6
26704 else
26705
26706
26707       ac_ext=cpp
26708 ac_cpp='$CXXCPP $CPPFLAGS'
26709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26712
26713       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26714 /* end confdefs.h.  */
26715 #include <math.h>
26716                       #ifdef HAVE_IEEEFP_H
26717                       #include <ieeefp.h>
26718                       #endif
26719
26720 int
26721 main ()
26722 {
26723  isnan(0);
26724   ;
26725   return 0;
26726 }
26727 _ACEOF
26728 if ac_fn_cxx_try_compile "$LINENO"; then :
26729   glibcxx_cv_func_isnan_use=yes
26730 else
26731   glibcxx_cv_func_isnan_use=no
26732 fi
26733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26734       ac_ext=c
26735 ac_cpp='$CPP $CPPFLAGS'
26736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26739
26740
26741 fi
26742
26743   fi
26744   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
26745 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
26746
26747   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
26748     for ac_func in isnan
26749 do :
26750   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
26751 if test "x$ac_cv_func_isnan" = x""yes; then :
26752   cat >>confdefs.h <<_ACEOF
26753 #define HAVE_ISNAN 1
26754 _ACEOF
26755
26756 fi
26757 done
26758
26759   else
26760
26761   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
26762 $as_echo_n "checking for _isnan declaration... " >&6; }
26763   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
26764     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
26765   $as_echo_n "(cached) " >&6
26766 else
26767
26768
26769       ac_ext=cpp
26770 ac_cpp='$CXXCPP $CPPFLAGS'
26771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26774
26775       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26776 /* end confdefs.h.  */
26777 #include <math.h>
26778                       #ifdef HAVE_IEEEFP_H
26779                       #include <ieeefp.h>
26780                       #endif
26781
26782 int
26783 main ()
26784 {
26785  _isnan(0);
26786   ;
26787   return 0;
26788 }
26789 _ACEOF
26790 if ac_fn_cxx_try_compile "$LINENO"; then :
26791   glibcxx_cv_func__isnan_use=yes
26792 else
26793   glibcxx_cv_func__isnan_use=no
26794 fi
26795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26796       ac_ext=c
26797 ac_cpp='$CPP $CPPFLAGS'
26798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26801
26802
26803 fi
26804
26805   fi
26806   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
26807 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
26808
26809     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
26810       for ac_func in _isnan
26811 do :
26812   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
26813 if test "x$ac_cv_func__isnan" = x""yes; then :
26814   cat >>confdefs.h <<_ACEOF
26815 #define HAVE__ISNAN 1
26816 _ACEOF
26817
26818 fi
26819 done
26820
26821     fi
26822   fi
26823
26824
26825
26826
26827
26828   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
26829 $as_echo_n "checking for finite declaration... " >&6; }
26830   if test x${glibcxx_cv_func_finite_use+set} != xset; then
26831     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
26832   $as_echo_n "(cached) " >&6
26833 else
26834
26835
26836       ac_ext=cpp
26837 ac_cpp='$CXXCPP $CPPFLAGS'
26838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26841
26842       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26843 /* end confdefs.h.  */
26844 #include <math.h>
26845                       #ifdef HAVE_IEEEFP_H
26846                       #include <ieeefp.h>
26847                       #endif
26848
26849 int
26850 main ()
26851 {
26852  finite(0);
26853   ;
26854   return 0;
26855 }
26856 _ACEOF
26857 if ac_fn_cxx_try_compile "$LINENO"; then :
26858   glibcxx_cv_func_finite_use=yes
26859 else
26860   glibcxx_cv_func_finite_use=no
26861 fi
26862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26863       ac_ext=c
26864 ac_cpp='$CPP $CPPFLAGS'
26865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26868
26869
26870 fi
26871
26872   fi
26873   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
26874 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
26875
26876   if test x$glibcxx_cv_func_finite_use = x"yes"; then
26877     for ac_func in finite
26878 do :
26879   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
26880 if test "x$ac_cv_func_finite" = x""yes; then :
26881   cat >>confdefs.h <<_ACEOF
26882 #define HAVE_FINITE 1
26883 _ACEOF
26884
26885 fi
26886 done
26887
26888   else
26889
26890   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
26891 $as_echo_n "checking for _finite declaration... " >&6; }
26892   if test x${glibcxx_cv_func__finite_use+set} != xset; then
26893     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
26894   $as_echo_n "(cached) " >&6
26895 else
26896
26897
26898       ac_ext=cpp
26899 ac_cpp='$CXXCPP $CPPFLAGS'
26900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26903
26904       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26905 /* end confdefs.h.  */
26906 #include <math.h>
26907                       #ifdef HAVE_IEEEFP_H
26908                       #include <ieeefp.h>
26909                       #endif
26910
26911 int
26912 main ()
26913 {
26914  _finite(0);
26915   ;
26916   return 0;
26917 }
26918 _ACEOF
26919 if ac_fn_cxx_try_compile "$LINENO"; then :
26920   glibcxx_cv_func__finite_use=yes
26921 else
26922   glibcxx_cv_func__finite_use=no
26923 fi
26924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26925       ac_ext=c
26926 ac_cpp='$CPP $CPPFLAGS'
26927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26930
26931
26932 fi
26933
26934   fi
26935   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
26936 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
26937
26938     if test x$glibcxx_cv_func__finite_use = x"yes"; then
26939       for ac_func in _finite
26940 do :
26941   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
26942 if test "x$ac_cv_func__finite" = x""yes; then :
26943   cat >>confdefs.h <<_ACEOF
26944 #define HAVE__FINITE 1
26945 _ACEOF
26946
26947 fi
26948 done
26949
26950     fi
26951   fi
26952
26953
26954
26955
26956
26957   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
26958 $as_echo_n "checking for sincos declaration... " >&6; }
26959   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
26960     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
26961   $as_echo_n "(cached) " >&6
26962 else
26963
26964
26965       ac_ext=cpp
26966 ac_cpp='$CXXCPP $CPPFLAGS'
26967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26970
26971       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26972 /* end confdefs.h.  */
26973 #include <math.h>
26974 int
26975 main ()
26976 {
26977  sincos(0, 0, 0);
26978   ;
26979   return 0;
26980 }
26981 _ACEOF
26982 if ac_fn_cxx_try_compile "$LINENO"; then :
26983   glibcxx_cv_func_sincos_use=yes
26984 else
26985   glibcxx_cv_func_sincos_use=no
26986 fi
26987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26988       ac_ext=c
26989 ac_cpp='$CPP $CPPFLAGS'
26990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26993
26994
26995 fi
26996
26997   fi
26998   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
26999 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
27000
27001   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
27002     for ac_func in sincos
27003 do :
27004   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
27005 if test "x$ac_cv_func_sincos" = x""yes; then :
27006   cat >>confdefs.h <<_ACEOF
27007 #define HAVE_SINCOS 1
27008 _ACEOF
27009
27010 fi
27011 done
27012
27013   else
27014
27015   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
27016 $as_echo_n "checking for _sincos declaration... " >&6; }
27017   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
27018     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
27019   $as_echo_n "(cached) " >&6
27020 else
27021
27022
27023       ac_ext=cpp
27024 ac_cpp='$CXXCPP $CPPFLAGS'
27025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27028
27029       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27030 /* end confdefs.h.  */
27031 #include <math.h>
27032 int
27033 main ()
27034 {
27035  _sincos(0, 0, 0);
27036   ;
27037   return 0;
27038 }
27039 _ACEOF
27040 if ac_fn_cxx_try_compile "$LINENO"; then :
27041   glibcxx_cv_func__sincos_use=yes
27042 else
27043   glibcxx_cv_func__sincos_use=no
27044 fi
27045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27046       ac_ext=c
27047 ac_cpp='$CPP $CPPFLAGS'
27048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27051
27052
27053 fi
27054
27055   fi
27056   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
27057 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
27058
27059     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
27060       for ac_func in _sincos
27061 do :
27062   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
27063 if test "x$ac_cv_func__sincos" = x""yes; then :
27064   cat >>confdefs.h <<_ACEOF
27065 #define HAVE__SINCOS 1
27066 _ACEOF
27067
27068 fi
27069 done
27070
27071     fi
27072   fi
27073
27074
27075
27076
27077
27078   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
27079 $as_echo_n "checking for fpclass declaration... " >&6; }
27080   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
27081     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
27082   $as_echo_n "(cached) " >&6
27083 else
27084
27085
27086       ac_ext=cpp
27087 ac_cpp='$CXXCPP $CPPFLAGS'
27088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27091
27092       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27093 /* end confdefs.h.  */
27094 #include <math.h>
27095                       #ifdef HAVE_IEEEFP_H
27096                       #include <ieeefp.h>
27097                       #endif
27098
27099 int
27100 main ()
27101 {
27102  fpclass(0);
27103   ;
27104   return 0;
27105 }
27106 _ACEOF
27107 if ac_fn_cxx_try_compile "$LINENO"; then :
27108   glibcxx_cv_func_fpclass_use=yes
27109 else
27110   glibcxx_cv_func_fpclass_use=no
27111 fi
27112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27113       ac_ext=c
27114 ac_cpp='$CPP $CPPFLAGS'
27115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27118
27119
27120 fi
27121
27122   fi
27123   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
27124 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
27125
27126   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
27127     for ac_func in fpclass
27128 do :
27129   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
27130 if test "x$ac_cv_func_fpclass" = x""yes; then :
27131   cat >>confdefs.h <<_ACEOF
27132 #define HAVE_FPCLASS 1
27133 _ACEOF
27134
27135 fi
27136 done
27137
27138   else
27139
27140   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
27141 $as_echo_n "checking for _fpclass declaration... " >&6; }
27142   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
27143     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
27144   $as_echo_n "(cached) " >&6
27145 else
27146
27147
27148       ac_ext=cpp
27149 ac_cpp='$CXXCPP $CPPFLAGS'
27150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27153
27154       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27155 /* end confdefs.h.  */
27156 #include <math.h>
27157                       #ifdef HAVE_IEEEFP_H
27158                       #include <ieeefp.h>
27159                       #endif
27160
27161 int
27162 main ()
27163 {
27164  _fpclass(0);
27165   ;
27166   return 0;
27167 }
27168 _ACEOF
27169 if ac_fn_cxx_try_compile "$LINENO"; then :
27170   glibcxx_cv_func__fpclass_use=yes
27171 else
27172   glibcxx_cv_func__fpclass_use=no
27173 fi
27174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27175       ac_ext=c
27176 ac_cpp='$CPP $CPPFLAGS'
27177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27180
27181
27182 fi
27183
27184   fi
27185   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
27186 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
27187
27188     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
27189       for ac_func in _fpclass
27190 do :
27191   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
27192 if test "x$ac_cv_func__fpclass" = x""yes; then :
27193   cat >>confdefs.h <<_ACEOF
27194 #define HAVE__FPCLASS 1
27195 _ACEOF
27196
27197 fi
27198 done
27199
27200     fi
27201   fi
27202
27203
27204
27205
27206
27207   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
27208 $as_echo_n "checking for qfpclass declaration... " >&6; }
27209   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
27210     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
27211   $as_echo_n "(cached) " >&6
27212 else
27213
27214
27215       ac_ext=cpp
27216 ac_cpp='$CXXCPP $CPPFLAGS'
27217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27220
27221       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27222 /* end confdefs.h.  */
27223 #include <math.h>
27224                       #ifdef HAVE_IEEEFP_H
27225                       #include <ieeefp.h>
27226                       #endif
27227
27228 int
27229 main ()
27230 {
27231  qfpclass(0);
27232   ;
27233   return 0;
27234 }
27235 _ACEOF
27236 if ac_fn_cxx_try_compile "$LINENO"; then :
27237   glibcxx_cv_func_qfpclass_use=yes
27238 else
27239   glibcxx_cv_func_qfpclass_use=no
27240 fi
27241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27242       ac_ext=c
27243 ac_cpp='$CPP $CPPFLAGS'
27244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27247
27248
27249 fi
27250
27251   fi
27252   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
27253 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
27254
27255   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
27256     for ac_func in qfpclass
27257 do :
27258   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
27259 if test "x$ac_cv_func_qfpclass" = x""yes; then :
27260   cat >>confdefs.h <<_ACEOF
27261 #define HAVE_QFPCLASS 1
27262 _ACEOF
27263
27264 fi
27265 done
27266
27267   else
27268
27269   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
27270 $as_echo_n "checking for _qfpclass declaration... " >&6; }
27271   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
27272     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
27273   $as_echo_n "(cached) " >&6
27274 else
27275
27276
27277       ac_ext=cpp
27278 ac_cpp='$CXXCPP $CPPFLAGS'
27279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27282
27283       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27284 /* end confdefs.h.  */
27285 #include <math.h>
27286                       #ifdef HAVE_IEEEFP_H
27287                       #include <ieeefp.h>
27288                       #endif
27289
27290 int
27291 main ()
27292 {
27293  _qfpclass(0);
27294   ;
27295   return 0;
27296 }
27297 _ACEOF
27298 if ac_fn_cxx_try_compile "$LINENO"; then :
27299   glibcxx_cv_func__qfpclass_use=yes
27300 else
27301   glibcxx_cv_func__qfpclass_use=no
27302 fi
27303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27304       ac_ext=c
27305 ac_cpp='$CPP $CPPFLAGS'
27306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27309
27310
27311 fi
27312
27313   fi
27314   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
27315 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
27316
27317     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
27318       for ac_func in _qfpclass
27319 do :
27320   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
27321 if test "x$ac_cv_func__qfpclass" = x""yes; then :
27322   cat >>confdefs.h <<_ACEOF
27323 #define HAVE__QFPCLASS 1
27324 _ACEOF
27325
27326 fi
27327 done
27328
27329     fi
27330   fi
27331
27332
27333
27334
27335
27336   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
27337 $as_echo_n "checking for hypot declaration... " >&6; }
27338   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
27339     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
27340   $as_echo_n "(cached) " >&6
27341 else
27342
27343
27344       ac_ext=cpp
27345 ac_cpp='$CXXCPP $CPPFLAGS'
27346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27349
27350       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27351 /* end confdefs.h.  */
27352 #include <math.h>
27353 int
27354 main ()
27355 {
27356  hypot(0, 0);
27357   ;
27358   return 0;
27359 }
27360 _ACEOF
27361 if ac_fn_cxx_try_compile "$LINENO"; then :
27362   glibcxx_cv_func_hypot_use=yes
27363 else
27364   glibcxx_cv_func_hypot_use=no
27365 fi
27366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27367       ac_ext=c
27368 ac_cpp='$CPP $CPPFLAGS'
27369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27372
27373
27374 fi
27375
27376   fi
27377   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
27378 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
27379
27380   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
27381     for ac_func in hypot
27382 do :
27383   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
27384 if test "x$ac_cv_func_hypot" = x""yes; then :
27385   cat >>confdefs.h <<_ACEOF
27386 #define HAVE_HYPOT 1
27387 _ACEOF
27388
27389 fi
27390 done
27391
27392   else
27393
27394   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
27395 $as_echo_n "checking for _hypot declaration... " >&6; }
27396   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
27397     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
27398   $as_echo_n "(cached) " >&6
27399 else
27400
27401
27402       ac_ext=cpp
27403 ac_cpp='$CXXCPP $CPPFLAGS'
27404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27407
27408       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27409 /* end confdefs.h.  */
27410 #include <math.h>
27411 int
27412 main ()
27413 {
27414  _hypot(0, 0);
27415   ;
27416   return 0;
27417 }
27418 _ACEOF
27419 if ac_fn_cxx_try_compile "$LINENO"; then :
27420   glibcxx_cv_func__hypot_use=yes
27421 else
27422   glibcxx_cv_func__hypot_use=no
27423 fi
27424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27425       ac_ext=c
27426 ac_cpp='$CPP $CPPFLAGS'
27427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27430
27431
27432 fi
27433
27434   fi
27435   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
27436 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
27437
27438     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
27439       for ac_func in _hypot
27440 do :
27441   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
27442 if test "x$ac_cv_func__hypot" = x""yes; then :
27443   cat >>confdefs.h <<_ACEOF
27444 #define HAVE__HYPOT 1
27445 _ACEOF
27446
27447 fi
27448 done
27449
27450     fi
27451   fi
27452
27453
27454
27455
27456
27457     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
27458 $as_echo_n "checking for float trig functions... " >&6; }
27459   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
27460   $as_echo_n "(cached) " >&6
27461 else
27462
27463
27464     ac_ext=cpp
27465 ac_cpp='$CXXCPP $CPPFLAGS'
27466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27469
27470     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27471 /* end confdefs.h.  */
27472 #include <math.h>
27473 int
27474 main ()
27475 {
27476 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
27477   ;
27478   return 0;
27479 }
27480 _ACEOF
27481 if ac_fn_cxx_try_compile "$LINENO"; then :
27482   glibcxx_cv_func_float_trig_use=yes
27483 else
27484   glibcxx_cv_func_float_trig_use=no
27485 fi
27486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27487     ac_ext=c
27488 ac_cpp='$CPP $CPPFLAGS'
27489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27492
27493 fi
27494
27495   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
27496 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
27497   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
27498     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
27499 do :
27500   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27501 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27502 eval as_val=\$$as_ac_var
27503    if test "x$as_val" = x""yes; then :
27504   cat >>confdefs.h <<_ACEOF
27505 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27506 _ACEOF
27507
27508 fi
27509 done
27510
27511   else
27512     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
27513 $as_echo_n "checking for _float trig functions... " >&6; }
27514     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
27515   $as_echo_n "(cached) " >&6
27516 else
27517
27518
27519       ac_ext=cpp
27520 ac_cpp='$CXXCPP $CPPFLAGS'
27521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27524
27525       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27526 /* end confdefs.h.  */
27527 #include <math.h>
27528 int
27529 main ()
27530 {
27531 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
27532   ;
27533   return 0;
27534 }
27535 _ACEOF
27536 if ac_fn_cxx_try_compile "$LINENO"; then :
27537   glibcxx_cv_func__float_trig_use=yes
27538 else
27539   glibcxx_cv_func__float_trig_use=no
27540 fi
27541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27542       ac_ext=c
27543 ac_cpp='$CPP $CPPFLAGS'
27544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27547
27548 fi
27549
27550     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
27551 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
27552     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
27553       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
27554 do :
27555   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27556 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27557 eval as_val=\$$as_ac_var
27558    if test "x$as_val" = x""yes; then :
27559   cat >>confdefs.h <<_ACEOF
27560 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27561 _ACEOF
27562
27563 fi
27564 done
27565
27566     fi
27567   fi
27568
27569
27570
27571
27572
27573     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
27574 $as_echo_n "checking for float round functions... " >&6; }
27575   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
27576   $as_echo_n "(cached) " >&6
27577 else
27578
27579
27580     ac_ext=cpp
27581 ac_cpp='$CXXCPP $CPPFLAGS'
27582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27585
27586     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27587 /* end confdefs.h.  */
27588 #include <math.h>
27589 int
27590 main ()
27591 {
27592 ceilf (0); floorf (0);
27593   ;
27594   return 0;
27595 }
27596 _ACEOF
27597 if ac_fn_cxx_try_compile "$LINENO"; then :
27598   glibcxx_cv_func_float_round_use=yes
27599 else
27600   glibcxx_cv_func_float_round_use=no
27601 fi
27602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27603     ac_ext=c
27604 ac_cpp='$CPP $CPPFLAGS'
27605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27608
27609 fi
27610
27611   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
27612 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
27613   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
27614     for ac_func in ceilf floorf
27615 do :
27616   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27617 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27618 eval as_val=\$$as_ac_var
27619    if test "x$as_val" = x""yes; then :
27620   cat >>confdefs.h <<_ACEOF
27621 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27622 _ACEOF
27623
27624 fi
27625 done
27626
27627   else
27628     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
27629 $as_echo_n "checking for _float round functions... " >&6; }
27630     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
27631   $as_echo_n "(cached) " >&6
27632 else
27633
27634
27635       ac_ext=cpp
27636 ac_cpp='$CXXCPP $CPPFLAGS'
27637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27640
27641       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27642 /* end confdefs.h.  */
27643 #include <math.h>
27644 int
27645 main ()
27646 {
27647 _ceilf (0); _floorf (0);
27648   ;
27649   return 0;
27650 }
27651 _ACEOF
27652 if ac_fn_cxx_try_compile "$LINENO"; then :
27653   glibcxx_cv_func__float_round_use=yes
27654 else
27655   glibcxx_cv_func__float_round_use=no
27656 fi
27657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27658       ac_ext=c
27659 ac_cpp='$CPP $CPPFLAGS'
27660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27663
27664 fi
27665
27666     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
27667 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
27668     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
27669       for ac_func in _ceilf _floorf
27670 do :
27671   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27672 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27673 eval as_val=\$$as_ac_var
27674    if test "x$as_val" = x""yes; then :
27675   cat >>confdefs.h <<_ACEOF
27676 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27677 _ACEOF
27678
27679 fi
27680 done
27681
27682     fi
27683   fi
27684
27685
27686
27687
27688
27689
27690   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
27691 $as_echo_n "checking for expf declaration... " >&6; }
27692   if test x${glibcxx_cv_func_expf_use+set} != xset; then
27693     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
27694   $as_echo_n "(cached) " >&6
27695 else
27696
27697
27698       ac_ext=cpp
27699 ac_cpp='$CXXCPP $CPPFLAGS'
27700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27703
27704       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27705 /* end confdefs.h.  */
27706 #include <math.h>
27707                       #ifdef HAVE_IEEEFP_H
27708                       #include <ieeefp.h>
27709                       #endif
27710
27711 int
27712 main ()
27713 {
27714  expf(0);
27715   ;
27716   return 0;
27717 }
27718 _ACEOF
27719 if ac_fn_cxx_try_compile "$LINENO"; then :
27720   glibcxx_cv_func_expf_use=yes
27721 else
27722   glibcxx_cv_func_expf_use=no
27723 fi
27724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27725       ac_ext=c
27726 ac_cpp='$CPP $CPPFLAGS'
27727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27730
27731
27732 fi
27733
27734   fi
27735   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
27736 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
27737
27738   if test x$glibcxx_cv_func_expf_use = x"yes"; then
27739     for ac_func in expf
27740 do :
27741   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
27742 if test "x$ac_cv_func_expf" = x""yes; then :
27743   cat >>confdefs.h <<_ACEOF
27744 #define HAVE_EXPF 1
27745 _ACEOF
27746
27747 fi
27748 done
27749
27750   else
27751
27752   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
27753 $as_echo_n "checking for _expf declaration... " >&6; }
27754   if test x${glibcxx_cv_func__expf_use+set} != xset; then
27755     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
27756   $as_echo_n "(cached) " >&6
27757 else
27758
27759
27760       ac_ext=cpp
27761 ac_cpp='$CXXCPP $CPPFLAGS'
27762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27765
27766       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27767 /* end confdefs.h.  */
27768 #include <math.h>
27769                       #ifdef HAVE_IEEEFP_H
27770                       #include <ieeefp.h>
27771                       #endif
27772
27773 int
27774 main ()
27775 {
27776  _expf(0);
27777   ;
27778   return 0;
27779 }
27780 _ACEOF
27781 if ac_fn_cxx_try_compile "$LINENO"; then :
27782   glibcxx_cv_func__expf_use=yes
27783 else
27784   glibcxx_cv_func__expf_use=no
27785 fi
27786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27787       ac_ext=c
27788 ac_cpp='$CPP $CPPFLAGS'
27789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27792
27793
27794 fi
27795
27796   fi
27797   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
27798 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
27799
27800     if test x$glibcxx_cv_func__expf_use = x"yes"; then
27801       for ac_func in _expf
27802 do :
27803   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
27804 if test "x$ac_cv_func__expf" = x""yes; then :
27805   cat >>confdefs.h <<_ACEOF
27806 #define HAVE__EXPF 1
27807 _ACEOF
27808
27809 fi
27810 done
27811
27812     fi
27813   fi
27814
27815
27816
27817
27818
27819   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
27820 $as_echo_n "checking for isnanf declaration... " >&6; }
27821   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
27822     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
27823   $as_echo_n "(cached) " >&6
27824 else
27825
27826
27827       ac_ext=cpp
27828 ac_cpp='$CXXCPP $CPPFLAGS'
27829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27832
27833       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27834 /* end confdefs.h.  */
27835 #include <math.h>
27836                       #ifdef HAVE_IEEEFP_H
27837                       #include <ieeefp.h>
27838                       #endif
27839
27840 int
27841 main ()
27842 {
27843  isnanf(0);
27844   ;
27845   return 0;
27846 }
27847 _ACEOF
27848 if ac_fn_cxx_try_compile "$LINENO"; then :
27849   glibcxx_cv_func_isnanf_use=yes
27850 else
27851   glibcxx_cv_func_isnanf_use=no
27852 fi
27853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27854       ac_ext=c
27855 ac_cpp='$CPP $CPPFLAGS'
27856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27859
27860
27861 fi
27862
27863   fi
27864   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
27865 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
27866
27867   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
27868     for ac_func in isnanf
27869 do :
27870   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
27871 if test "x$ac_cv_func_isnanf" = x""yes; then :
27872   cat >>confdefs.h <<_ACEOF
27873 #define HAVE_ISNANF 1
27874 _ACEOF
27875
27876 fi
27877 done
27878
27879   else
27880
27881   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
27882 $as_echo_n "checking for _isnanf declaration... " >&6; }
27883   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
27884     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
27885   $as_echo_n "(cached) " >&6
27886 else
27887
27888
27889       ac_ext=cpp
27890 ac_cpp='$CXXCPP $CPPFLAGS'
27891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27894
27895       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27896 /* end confdefs.h.  */
27897 #include <math.h>
27898                       #ifdef HAVE_IEEEFP_H
27899                       #include <ieeefp.h>
27900                       #endif
27901
27902 int
27903 main ()
27904 {
27905  _isnanf(0);
27906   ;
27907   return 0;
27908 }
27909 _ACEOF
27910 if ac_fn_cxx_try_compile "$LINENO"; then :
27911   glibcxx_cv_func__isnanf_use=yes
27912 else
27913   glibcxx_cv_func__isnanf_use=no
27914 fi
27915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27916       ac_ext=c
27917 ac_cpp='$CPP $CPPFLAGS'
27918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27921
27922
27923 fi
27924
27925   fi
27926   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
27927 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
27928
27929     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
27930       for ac_func in _isnanf
27931 do :
27932   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
27933 if test "x$ac_cv_func__isnanf" = x""yes; then :
27934   cat >>confdefs.h <<_ACEOF
27935 #define HAVE__ISNANF 1
27936 _ACEOF
27937
27938 fi
27939 done
27940
27941     fi
27942   fi
27943
27944
27945
27946
27947
27948   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
27949 $as_echo_n "checking for isinff declaration... " >&6; }
27950   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
27951     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
27952   $as_echo_n "(cached) " >&6
27953 else
27954
27955
27956       ac_ext=cpp
27957 ac_cpp='$CXXCPP $CPPFLAGS'
27958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27961
27962       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27963 /* end confdefs.h.  */
27964 #include <math.h>
27965                       #ifdef HAVE_IEEEFP_H
27966                       #include <ieeefp.h>
27967                       #endif
27968
27969 int
27970 main ()
27971 {
27972  isinff(0);
27973   ;
27974   return 0;
27975 }
27976 _ACEOF
27977 if ac_fn_cxx_try_compile "$LINENO"; then :
27978   glibcxx_cv_func_isinff_use=yes
27979 else
27980   glibcxx_cv_func_isinff_use=no
27981 fi
27982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27983       ac_ext=c
27984 ac_cpp='$CPP $CPPFLAGS'
27985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27988
27989
27990 fi
27991
27992   fi
27993   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
27994 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
27995
27996   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
27997     for ac_func in isinff
27998 do :
27999   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
28000 if test "x$ac_cv_func_isinff" = x""yes; then :
28001   cat >>confdefs.h <<_ACEOF
28002 #define HAVE_ISINFF 1
28003 _ACEOF
28004
28005 fi
28006 done
28007
28008   else
28009
28010   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
28011 $as_echo_n "checking for _isinff declaration... " >&6; }
28012   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
28013     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
28014   $as_echo_n "(cached) " >&6
28015 else
28016
28017
28018       ac_ext=cpp
28019 ac_cpp='$CXXCPP $CPPFLAGS'
28020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28023
28024       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28025 /* end confdefs.h.  */
28026 #include <math.h>
28027                       #ifdef HAVE_IEEEFP_H
28028                       #include <ieeefp.h>
28029                       #endif
28030
28031 int
28032 main ()
28033 {
28034  _isinff(0);
28035   ;
28036   return 0;
28037 }
28038 _ACEOF
28039 if ac_fn_cxx_try_compile "$LINENO"; then :
28040   glibcxx_cv_func__isinff_use=yes
28041 else
28042   glibcxx_cv_func__isinff_use=no
28043 fi
28044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28045       ac_ext=c
28046 ac_cpp='$CPP $CPPFLAGS'
28047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28050
28051
28052 fi
28053
28054   fi
28055   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
28056 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
28057
28058     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
28059       for ac_func in _isinff
28060 do :
28061   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
28062 if test "x$ac_cv_func__isinff" = x""yes; then :
28063   cat >>confdefs.h <<_ACEOF
28064 #define HAVE__ISINFF 1
28065 _ACEOF
28066
28067 fi
28068 done
28069
28070     fi
28071   fi
28072
28073
28074
28075
28076
28077   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
28078 $as_echo_n "checking for atan2f declaration... " >&6; }
28079   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
28080     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
28081   $as_echo_n "(cached) " >&6
28082 else
28083
28084
28085       ac_ext=cpp
28086 ac_cpp='$CXXCPP $CPPFLAGS'
28087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28090
28091       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28092 /* end confdefs.h.  */
28093 #include <math.h>
28094 int
28095 main ()
28096 {
28097  atan2f(0, 0);
28098   ;
28099   return 0;
28100 }
28101 _ACEOF
28102 if ac_fn_cxx_try_compile "$LINENO"; then :
28103   glibcxx_cv_func_atan2f_use=yes
28104 else
28105   glibcxx_cv_func_atan2f_use=no
28106 fi
28107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28108       ac_ext=c
28109 ac_cpp='$CPP $CPPFLAGS'
28110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28113
28114
28115 fi
28116
28117   fi
28118   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
28119 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
28120
28121   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
28122     for ac_func in atan2f
28123 do :
28124   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
28125 if test "x$ac_cv_func_atan2f" = x""yes; then :
28126   cat >>confdefs.h <<_ACEOF
28127 #define HAVE_ATAN2F 1
28128 _ACEOF
28129
28130 fi
28131 done
28132
28133   else
28134
28135   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
28136 $as_echo_n "checking for _atan2f declaration... " >&6; }
28137   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
28138     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
28139   $as_echo_n "(cached) " >&6
28140 else
28141
28142
28143       ac_ext=cpp
28144 ac_cpp='$CXXCPP $CPPFLAGS'
28145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28148
28149       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28150 /* end confdefs.h.  */
28151 #include <math.h>
28152 int
28153 main ()
28154 {
28155  _atan2f(0, 0);
28156   ;
28157   return 0;
28158 }
28159 _ACEOF
28160 if ac_fn_cxx_try_compile "$LINENO"; then :
28161   glibcxx_cv_func__atan2f_use=yes
28162 else
28163   glibcxx_cv_func__atan2f_use=no
28164 fi
28165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28166       ac_ext=c
28167 ac_cpp='$CPP $CPPFLAGS'
28168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28171
28172
28173 fi
28174
28175   fi
28176   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
28177 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
28178
28179     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
28180       for ac_func in _atan2f
28181 do :
28182   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
28183 if test "x$ac_cv_func__atan2f" = x""yes; then :
28184   cat >>confdefs.h <<_ACEOF
28185 #define HAVE__ATAN2F 1
28186 _ACEOF
28187
28188 fi
28189 done
28190
28191     fi
28192   fi
28193
28194
28195
28196
28197
28198   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
28199 $as_echo_n "checking for fabsf declaration... " >&6; }
28200   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
28201     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
28202   $as_echo_n "(cached) " >&6
28203 else
28204
28205
28206       ac_ext=cpp
28207 ac_cpp='$CXXCPP $CPPFLAGS'
28208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28211
28212       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28213 /* end confdefs.h.  */
28214 #include <math.h>
28215                       #ifdef HAVE_IEEEFP_H
28216                       #include <ieeefp.h>
28217                       #endif
28218
28219 int
28220 main ()
28221 {
28222  fabsf(0);
28223   ;
28224   return 0;
28225 }
28226 _ACEOF
28227 if ac_fn_cxx_try_compile "$LINENO"; then :
28228   glibcxx_cv_func_fabsf_use=yes
28229 else
28230   glibcxx_cv_func_fabsf_use=no
28231 fi
28232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28233       ac_ext=c
28234 ac_cpp='$CPP $CPPFLAGS'
28235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28238
28239
28240 fi
28241
28242   fi
28243   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
28244 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
28245
28246   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
28247     for ac_func in fabsf
28248 do :
28249   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
28250 if test "x$ac_cv_func_fabsf" = x""yes; then :
28251   cat >>confdefs.h <<_ACEOF
28252 #define HAVE_FABSF 1
28253 _ACEOF
28254
28255 fi
28256 done
28257
28258   else
28259
28260   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
28261 $as_echo_n "checking for _fabsf declaration... " >&6; }
28262   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
28263     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
28264   $as_echo_n "(cached) " >&6
28265 else
28266
28267
28268       ac_ext=cpp
28269 ac_cpp='$CXXCPP $CPPFLAGS'
28270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28273
28274       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
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  _fabsf(0);
28285   ;
28286   return 0;
28287 }
28288 _ACEOF
28289 if ac_fn_cxx_try_compile "$LINENO"; then :
28290   glibcxx_cv_func__fabsf_use=yes
28291 else
28292   glibcxx_cv_func__fabsf_use=no
28293 fi
28294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28295       ac_ext=c
28296 ac_cpp='$CPP $CPPFLAGS'
28297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28300
28301
28302 fi
28303
28304   fi
28305   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
28306 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
28307
28308     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
28309       for ac_func in _fabsf
28310 do :
28311   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
28312 if test "x$ac_cv_func__fabsf" = x""yes; then :
28313   cat >>confdefs.h <<_ACEOF
28314 #define HAVE__FABSF 1
28315 _ACEOF
28316
28317 fi
28318 done
28319
28320     fi
28321   fi
28322
28323
28324
28325
28326
28327   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
28328 $as_echo_n "checking for fmodf declaration... " >&6; }
28329   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
28330     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
28331   $as_echo_n "(cached) " >&6
28332 else
28333
28334
28335       ac_ext=cpp
28336 ac_cpp='$CXXCPP $CPPFLAGS'
28337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28340
28341       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28342 /* end confdefs.h.  */
28343 #include <math.h>
28344 int
28345 main ()
28346 {
28347  fmodf(0, 0);
28348   ;
28349   return 0;
28350 }
28351 _ACEOF
28352 if ac_fn_cxx_try_compile "$LINENO"; then :
28353   glibcxx_cv_func_fmodf_use=yes
28354 else
28355   glibcxx_cv_func_fmodf_use=no
28356 fi
28357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28358       ac_ext=c
28359 ac_cpp='$CPP $CPPFLAGS'
28360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28363
28364
28365 fi
28366
28367   fi
28368   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
28369 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
28370
28371   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
28372     for ac_func in fmodf
28373 do :
28374   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
28375 if test "x$ac_cv_func_fmodf" = x""yes; then :
28376   cat >>confdefs.h <<_ACEOF
28377 #define HAVE_FMODF 1
28378 _ACEOF
28379
28380 fi
28381 done
28382
28383   else
28384
28385   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
28386 $as_echo_n "checking for _fmodf declaration... " >&6; }
28387   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
28388     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
28389   $as_echo_n "(cached) " >&6
28390 else
28391
28392
28393       ac_ext=cpp
28394 ac_cpp='$CXXCPP $CPPFLAGS'
28395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28398
28399       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28400 /* end confdefs.h.  */
28401 #include <math.h>
28402 int
28403 main ()
28404 {
28405  _fmodf(0, 0);
28406   ;
28407   return 0;
28408 }
28409 _ACEOF
28410 if ac_fn_cxx_try_compile "$LINENO"; then :
28411   glibcxx_cv_func__fmodf_use=yes
28412 else
28413   glibcxx_cv_func__fmodf_use=no
28414 fi
28415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28416       ac_ext=c
28417 ac_cpp='$CPP $CPPFLAGS'
28418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28421
28422
28423 fi
28424
28425   fi
28426   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
28427 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
28428
28429     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
28430       for ac_func in _fmodf
28431 do :
28432   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
28433 if test "x$ac_cv_func__fmodf" = x""yes; then :
28434   cat >>confdefs.h <<_ACEOF
28435 #define HAVE__FMODF 1
28436 _ACEOF
28437
28438 fi
28439 done
28440
28441     fi
28442   fi
28443
28444
28445
28446
28447
28448   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
28449 $as_echo_n "checking for frexpf declaration... " >&6; }
28450   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
28451     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
28452   $as_echo_n "(cached) " >&6
28453 else
28454
28455
28456       ac_ext=cpp
28457 ac_cpp='$CXXCPP $CPPFLAGS'
28458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28461
28462       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28463 /* end confdefs.h.  */
28464 #include <math.h>
28465 int
28466 main ()
28467 {
28468  frexpf(0, 0);
28469   ;
28470   return 0;
28471 }
28472 _ACEOF
28473 if ac_fn_cxx_try_compile "$LINENO"; then :
28474   glibcxx_cv_func_frexpf_use=yes
28475 else
28476   glibcxx_cv_func_frexpf_use=no
28477 fi
28478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28479       ac_ext=c
28480 ac_cpp='$CPP $CPPFLAGS'
28481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28484
28485
28486 fi
28487
28488   fi
28489   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
28490 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
28491
28492   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
28493     for ac_func in frexpf
28494 do :
28495   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
28496 if test "x$ac_cv_func_frexpf" = x""yes; then :
28497   cat >>confdefs.h <<_ACEOF
28498 #define HAVE_FREXPF 1
28499 _ACEOF
28500
28501 fi
28502 done
28503
28504   else
28505
28506   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
28507 $as_echo_n "checking for _frexpf declaration... " >&6; }
28508   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
28509     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
28510   $as_echo_n "(cached) " >&6
28511 else
28512
28513
28514       ac_ext=cpp
28515 ac_cpp='$CXXCPP $CPPFLAGS'
28516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28519
28520       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28521 /* end confdefs.h.  */
28522 #include <math.h>
28523 int
28524 main ()
28525 {
28526  _frexpf(0, 0);
28527   ;
28528   return 0;
28529 }
28530 _ACEOF
28531 if ac_fn_cxx_try_compile "$LINENO"; then :
28532   glibcxx_cv_func__frexpf_use=yes
28533 else
28534   glibcxx_cv_func__frexpf_use=no
28535 fi
28536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28537       ac_ext=c
28538 ac_cpp='$CPP $CPPFLAGS'
28539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28542
28543
28544 fi
28545
28546   fi
28547   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
28548 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
28549
28550     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
28551       for ac_func in _frexpf
28552 do :
28553   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
28554 if test "x$ac_cv_func__frexpf" = x""yes; then :
28555   cat >>confdefs.h <<_ACEOF
28556 #define HAVE__FREXPF 1
28557 _ACEOF
28558
28559 fi
28560 done
28561
28562     fi
28563   fi
28564
28565
28566
28567
28568
28569   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
28570 $as_echo_n "checking for hypotf declaration... " >&6; }
28571   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
28572     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
28573   $as_echo_n "(cached) " >&6
28574 else
28575
28576
28577       ac_ext=cpp
28578 ac_cpp='$CXXCPP $CPPFLAGS'
28579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28582
28583       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28584 /* end confdefs.h.  */
28585 #include <math.h>
28586 int
28587 main ()
28588 {
28589  hypotf(0, 0);
28590   ;
28591   return 0;
28592 }
28593 _ACEOF
28594 if ac_fn_cxx_try_compile "$LINENO"; then :
28595   glibcxx_cv_func_hypotf_use=yes
28596 else
28597   glibcxx_cv_func_hypotf_use=no
28598 fi
28599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28600       ac_ext=c
28601 ac_cpp='$CPP $CPPFLAGS'
28602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28605
28606
28607 fi
28608
28609   fi
28610   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
28611 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
28612
28613   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
28614     for ac_func in hypotf
28615 do :
28616   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
28617 if test "x$ac_cv_func_hypotf" = x""yes; then :
28618   cat >>confdefs.h <<_ACEOF
28619 #define HAVE_HYPOTF 1
28620 _ACEOF
28621
28622 fi
28623 done
28624
28625   else
28626
28627   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
28628 $as_echo_n "checking for _hypotf declaration... " >&6; }
28629   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
28630     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
28631   $as_echo_n "(cached) " >&6
28632 else
28633
28634
28635       ac_ext=cpp
28636 ac_cpp='$CXXCPP $CPPFLAGS'
28637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28640
28641       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28642 /* end confdefs.h.  */
28643 #include <math.h>
28644 int
28645 main ()
28646 {
28647  _hypotf(0, 0);
28648   ;
28649   return 0;
28650 }
28651 _ACEOF
28652 if ac_fn_cxx_try_compile "$LINENO"; then :
28653   glibcxx_cv_func__hypotf_use=yes
28654 else
28655   glibcxx_cv_func__hypotf_use=no
28656 fi
28657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28658       ac_ext=c
28659 ac_cpp='$CPP $CPPFLAGS'
28660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28663
28664
28665 fi
28666
28667   fi
28668   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
28669 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
28670
28671     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
28672       for ac_func in _hypotf
28673 do :
28674   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
28675 if test "x$ac_cv_func__hypotf" = x""yes; then :
28676   cat >>confdefs.h <<_ACEOF
28677 #define HAVE__HYPOTF 1
28678 _ACEOF
28679
28680 fi
28681 done
28682
28683     fi
28684   fi
28685
28686
28687
28688
28689
28690   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
28691 $as_echo_n "checking for ldexpf declaration... " >&6; }
28692   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
28693     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
28694   $as_echo_n "(cached) " >&6
28695 else
28696
28697
28698       ac_ext=cpp
28699 ac_cpp='$CXXCPP $CPPFLAGS'
28700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28703
28704       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28705 /* end confdefs.h.  */
28706 #include <math.h>
28707 int
28708 main ()
28709 {
28710  ldexpf(0, 0);
28711   ;
28712   return 0;
28713 }
28714 _ACEOF
28715 if ac_fn_cxx_try_compile "$LINENO"; then :
28716   glibcxx_cv_func_ldexpf_use=yes
28717 else
28718   glibcxx_cv_func_ldexpf_use=no
28719 fi
28720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28721       ac_ext=c
28722 ac_cpp='$CPP $CPPFLAGS'
28723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28726
28727
28728 fi
28729
28730   fi
28731   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
28732 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
28733
28734   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
28735     for ac_func in ldexpf
28736 do :
28737   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
28738 if test "x$ac_cv_func_ldexpf" = x""yes; then :
28739   cat >>confdefs.h <<_ACEOF
28740 #define HAVE_LDEXPF 1
28741 _ACEOF
28742
28743 fi
28744 done
28745
28746   else
28747
28748   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
28749 $as_echo_n "checking for _ldexpf declaration... " >&6; }
28750   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
28751     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
28752   $as_echo_n "(cached) " >&6
28753 else
28754
28755
28756       ac_ext=cpp
28757 ac_cpp='$CXXCPP $CPPFLAGS'
28758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28761
28762       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28763 /* end confdefs.h.  */
28764 #include <math.h>
28765 int
28766 main ()
28767 {
28768  _ldexpf(0, 0);
28769   ;
28770   return 0;
28771 }
28772 _ACEOF
28773 if ac_fn_cxx_try_compile "$LINENO"; then :
28774   glibcxx_cv_func__ldexpf_use=yes
28775 else
28776   glibcxx_cv_func__ldexpf_use=no
28777 fi
28778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28779       ac_ext=c
28780 ac_cpp='$CPP $CPPFLAGS'
28781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28784
28785
28786 fi
28787
28788   fi
28789   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
28790 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
28791
28792     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
28793       for ac_func in _ldexpf
28794 do :
28795   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
28796 if test "x$ac_cv_func__ldexpf" = x""yes; then :
28797   cat >>confdefs.h <<_ACEOF
28798 #define HAVE__LDEXPF 1
28799 _ACEOF
28800
28801 fi
28802 done
28803
28804     fi
28805   fi
28806
28807
28808
28809
28810
28811   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
28812 $as_echo_n "checking for logf declaration... " >&6; }
28813   if test x${glibcxx_cv_func_logf_use+set} != xset; then
28814     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
28815   $as_echo_n "(cached) " >&6
28816 else
28817
28818
28819       ac_ext=cpp
28820 ac_cpp='$CXXCPP $CPPFLAGS'
28821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28824
28825       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28826 /* end confdefs.h.  */
28827 #include <math.h>
28828                       #ifdef HAVE_IEEEFP_H
28829                       #include <ieeefp.h>
28830                       #endif
28831
28832 int
28833 main ()
28834 {
28835  logf(0);
28836   ;
28837   return 0;
28838 }
28839 _ACEOF
28840 if ac_fn_cxx_try_compile "$LINENO"; then :
28841   glibcxx_cv_func_logf_use=yes
28842 else
28843   glibcxx_cv_func_logf_use=no
28844 fi
28845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28846       ac_ext=c
28847 ac_cpp='$CPP $CPPFLAGS'
28848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28851
28852
28853 fi
28854
28855   fi
28856   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
28857 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
28858
28859   if test x$glibcxx_cv_func_logf_use = x"yes"; then
28860     for ac_func in logf
28861 do :
28862   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
28863 if test "x$ac_cv_func_logf" = x""yes; then :
28864   cat >>confdefs.h <<_ACEOF
28865 #define HAVE_LOGF 1
28866 _ACEOF
28867
28868 fi
28869 done
28870
28871   else
28872
28873   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
28874 $as_echo_n "checking for _logf declaration... " >&6; }
28875   if test x${glibcxx_cv_func__logf_use+set} != xset; then
28876     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
28877   $as_echo_n "(cached) " >&6
28878 else
28879
28880
28881       ac_ext=cpp
28882 ac_cpp='$CXXCPP $CPPFLAGS'
28883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28886
28887       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28888 /* end confdefs.h.  */
28889 #include <math.h>
28890                       #ifdef HAVE_IEEEFP_H
28891                       #include <ieeefp.h>
28892                       #endif
28893
28894 int
28895 main ()
28896 {
28897  _logf(0);
28898   ;
28899   return 0;
28900 }
28901 _ACEOF
28902 if ac_fn_cxx_try_compile "$LINENO"; then :
28903   glibcxx_cv_func__logf_use=yes
28904 else
28905   glibcxx_cv_func__logf_use=no
28906 fi
28907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28908       ac_ext=c
28909 ac_cpp='$CPP $CPPFLAGS'
28910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28913
28914
28915 fi
28916
28917   fi
28918   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
28919 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
28920
28921     if test x$glibcxx_cv_func__logf_use = x"yes"; then
28922       for ac_func in _logf
28923 do :
28924   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
28925 if test "x$ac_cv_func__logf" = x""yes; then :
28926   cat >>confdefs.h <<_ACEOF
28927 #define HAVE__LOGF 1
28928 _ACEOF
28929
28930 fi
28931 done
28932
28933     fi
28934   fi
28935
28936
28937
28938
28939
28940   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
28941 $as_echo_n "checking for log10f declaration... " >&6; }
28942   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
28943     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
28944   $as_echo_n "(cached) " >&6
28945 else
28946
28947
28948       ac_ext=cpp
28949 ac_cpp='$CXXCPP $CPPFLAGS'
28950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28953
28954       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28955 /* end confdefs.h.  */
28956 #include <math.h>
28957                       #ifdef HAVE_IEEEFP_H
28958                       #include <ieeefp.h>
28959                       #endif
28960
28961 int
28962 main ()
28963 {
28964  log10f(0);
28965   ;
28966   return 0;
28967 }
28968 _ACEOF
28969 if ac_fn_cxx_try_compile "$LINENO"; then :
28970   glibcxx_cv_func_log10f_use=yes
28971 else
28972   glibcxx_cv_func_log10f_use=no
28973 fi
28974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28975       ac_ext=c
28976 ac_cpp='$CPP $CPPFLAGS'
28977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28980
28981
28982 fi
28983
28984   fi
28985   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
28986 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
28987
28988   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
28989     for ac_func in log10f
28990 do :
28991   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
28992 if test "x$ac_cv_func_log10f" = x""yes; then :
28993   cat >>confdefs.h <<_ACEOF
28994 #define HAVE_LOG10F 1
28995 _ACEOF
28996
28997 fi
28998 done
28999
29000   else
29001
29002   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
29003 $as_echo_n "checking for _log10f declaration... " >&6; }
29004   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
29005     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
29006   $as_echo_n "(cached) " >&6
29007 else
29008
29009
29010       ac_ext=cpp
29011 ac_cpp='$CXXCPP $CPPFLAGS'
29012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29015
29016       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29017 /* end confdefs.h.  */
29018 #include <math.h>
29019                       #ifdef HAVE_IEEEFP_H
29020                       #include <ieeefp.h>
29021                       #endif
29022
29023 int
29024 main ()
29025 {
29026  _log10f(0);
29027   ;
29028   return 0;
29029 }
29030 _ACEOF
29031 if ac_fn_cxx_try_compile "$LINENO"; then :
29032   glibcxx_cv_func__log10f_use=yes
29033 else
29034   glibcxx_cv_func__log10f_use=no
29035 fi
29036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29037       ac_ext=c
29038 ac_cpp='$CPP $CPPFLAGS'
29039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29042
29043
29044 fi
29045
29046   fi
29047   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
29048 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
29049
29050     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
29051       for ac_func in _log10f
29052 do :
29053   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
29054 if test "x$ac_cv_func__log10f" = x""yes; then :
29055   cat >>confdefs.h <<_ACEOF
29056 #define HAVE__LOG10F 1
29057 _ACEOF
29058
29059 fi
29060 done
29061
29062     fi
29063   fi
29064
29065
29066
29067
29068
29069   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
29070 $as_echo_n "checking for modff declaration... " >&6; }
29071   if test x${glibcxx_cv_func_modff_use+set} != xset; then
29072     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
29073   $as_echo_n "(cached) " >&6
29074 else
29075
29076
29077       ac_ext=cpp
29078 ac_cpp='$CXXCPP $CPPFLAGS'
29079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29082
29083       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29084 /* end confdefs.h.  */
29085 #include <math.h>
29086 int
29087 main ()
29088 {
29089  modff(0, 0);
29090   ;
29091   return 0;
29092 }
29093 _ACEOF
29094 if ac_fn_cxx_try_compile "$LINENO"; then :
29095   glibcxx_cv_func_modff_use=yes
29096 else
29097   glibcxx_cv_func_modff_use=no
29098 fi
29099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29100       ac_ext=c
29101 ac_cpp='$CPP $CPPFLAGS'
29102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29105
29106
29107 fi
29108
29109   fi
29110   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
29111 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
29112
29113   if test x$glibcxx_cv_func_modff_use = x"yes"; then
29114     for ac_func in modff
29115 do :
29116   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
29117 if test "x$ac_cv_func_modff" = x""yes; then :
29118   cat >>confdefs.h <<_ACEOF
29119 #define HAVE_MODFF 1
29120 _ACEOF
29121
29122 fi
29123 done
29124
29125   else
29126
29127   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
29128 $as_echo_n "checking for _modff declaration... " >&6; }
29129   if test x${glibcxx_cv_func__modff_use+set} != xset; then
29130     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
29131   $as_echo_n "(cached) " >&6
29132 else
29133
29134
29135       ac_ext=cpp
29136 ac_cpp='$CXXCPP $CPPFLAGS'
29137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29140
29141       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29142 /* end confdefs.h.  */
29143 #include <math.h>
29144 int
29145 main ()
29146 {
29147  _modff(0, 0);
29148   ;
29149   return 0;
29150 }
29151 _ACEOF
29152 if ac_fn_cxx_try_compile "$LINENO"; then :
29153   glibcxx_cv_func__modff_use=yes
29154 else
29155   glibcxx_cv_func__modff_use=no
29156 fi
29157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29158       ac_ext=c
29159 ac_cpp='$CPP $CPPFLAGS'
29160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29163
29164
29165 fi
29166
29167   fi
29168   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
29169 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
29170
29171     if test x$glibcxx_cv_func__modff_use = x"yes"; then
29172       for ac_func in _modff
29173 do :
29174   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
29175 if test "x$ac_cv_func__modff" = x""yes; then :
29176   cat >>confdefs.h <<_ACEOF
29177 #define HAVE__MODFF 1
29178 _ACEOF
29179
29180 fi
29181 done
29182
29183     fi
29184   fi
29185
29186
29187
29188
29189
29190   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
29191 $as_echo_n "checking for modf declaration... " >&6; }
29192   if test x${glibcxx_cv_func_modf_use+set} != xset; then
29193     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
29194   $as_echo_n "(cached) " >&6
29195 else
29196
29197
29198       ac_ext=cpp
29199 ac_cpp='$CXXCPP $CPPFLAGS'
29200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29203
29204       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29205 /* end confdefs.h.  */
29206 #include <math.h>
29207 int
29208 main ()
29209 {
29210  modf(0, 0);
29211   ;
29212   return 0;
29213 }
29214 _ACEOF
29215 if ac_fn_cxx_try_compile "$LINENO"; then :
29216   glibcxx_cv_func_modf_use=yes
29217 else
29218   glibcxx_cv_func_modf_use=no
29219 fi
29220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29221       ac_ext=c
29222 ac_cpp='$CPP $CPPFLAGS'
29223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29226
29227
29228 fi
29229
29230   fi
29231   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
29232 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
29233
29234   if test x$glibcxx_cv_func_modf_use = x"yes"; then
29235     for ac_func in modf
29236 do :
29237   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
29238 if test "x$ac_cv_func_modf" = x""yes; then :
29239   cat >>confdefs.h <<_ACEOF
29240 #define HAVE_MODF 1
29241 _ACEOF
29242
29243 fi
29244 done
29245
29246   else
29247
29248   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
29249 $as_echo_n "checking for _modf declaration... " >&6; }
29250   if test x${glibcxx_cv_func__modf_use+set} != xset; then
29251     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
29252   $as_echo_n "(cached) " >&6
29253 else
29254
29255
29256       ac_ext=cpp
29257 ac_cpp='$CXXCPP $CPPFLAGS'
29258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29261
29262       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29263 /* end confdefs.h.  */
29264 #include <math.h>
29265 int
29266 main ()
29267 {
29268  _modf(0, 0);
29269   ;
29270   return 0;
29271 }
29272 _ACEOF
29273 if ac_fn_cxx_try_compile "$LINENO"; then :
29274   glibcxx_cv_func__modf_use=yes
29275 else
29276   glibcxx_cv_func__modf_use=no
29277 fi
29278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29279       ac_ext=c
29280 ac_cpp='$CPP $CPPFLAGS'
29281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29284
29285
29286 fi
29287
29288   fi
29289   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
29290 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
29291
29292     if test x$glibcxx_cv_func__modf_use = x"yes"; then
29293       for ac_func in _modf
29294 do :
29295   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
29296 if test "x$ac_cv_func__modf" = x""yes; then :
29297   cat >>confdefs.h <<_ACEOF
29298 #define HAVE__MODF 1
29299 _ACEOF
29300
29301 fi
29302 done
29303
29304     fi
29305   fi
29306
29307
29308
29309
29310
29311   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
29312 $as_echo_n "checking for powf declaration... " >&6; }
29313   if test x${glibcxx_cv_func_powf_use+set} != xset; then
29314     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
29315   $as_echo_n "(cached) " >&6
29316 else
29317
29318
29319       ac_ext=cpp
29320 ac_cpp='$CXXCPP $CPPFLAGS'
29321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29324
29325       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29326 /* end confdefs.h.  */
29327 #include <math.h>
29328 int
29329 main ()
29330 {
29331  powf(0, 0);
29332   ;
29333   return 0;
29334 }
29335 _ACEOF
29336 if ac_fn_cxx_try_compile "$LINENO"; then :
29337   glibcxx_cv_func_powf_use=yes
29338 else
29339   glibcxx_cv_func_powf_use=no
29340 fi
29341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29342       ac_ext=c
29343 ac_cpp='$CPP $CPPFLAGS'
29344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29347
29348
29349 fi
29350
29351   fi
29352   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
29353 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
29354
29355   if test x$glibcxx_cv_func_powf_use = x"yes"; then
29356     for ac_func in powf
29357 do :
29358   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
29359 if test "x$ac_cv_func_powf" = x""yes; then :
29360   cat >>confdefs.h <<_ACEOF
29361 #define HAVE_POWF 1
29362 _ACEOF
29363
29364 fi
29365 done
29366
29367   else
29368
29369   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
29370 $as_echo_n "checking for _powf declaration... " >&6; }
29371   if test x${glibcxx_cv_func__powf_use+set} != xset; then
29372     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
29373   $as_echo_n "(cached) " >&6
29374 else
29375
29376
29377       ac_ext=cpp
29378 ac_cpp='$CXXCPP $CPPFLAGS'
29379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29382
29383       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29384 /* end confdefs.h.  */
29385 #include <math.h>
29386 int
29387 main ()
29388 {
29389  _powf(0, 0);
29390   ;
29391   return 0;
29392 }
29393 _ACEOF
29394 if ac_fn_cxx_try_compile "$LINENO"; then :
29395   glibcxx_cv_func__powf_use=yes
29396 else
29397   glibcxx_cv_func__powf_use=no
29398 fi
29399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29400       ac_ext=c
29401 ac_cpp='$CPP $CPPFLAGS'
29402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29405
29406
29407 fi
29408
29409   fi
29410   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
29411 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
29412
29413     if test x$glibcxx_cv_func__powf_use = x"yes"; then
29414       for ac_func in _powf
29415 do :
29416   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
29417 if test "x$ac_cv_func__powf" = x""yes; then :
29418   cat >>confdefs.h <<_ACEOF
29419 #define HAVE__POWF 1
29420 _ACEOF
29421
29422 fi
29423 done
29424
29425     fi
29426   fi
29427
29428
29429
29430
29431
29432   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
29433 $as_echo_n "checking for sqrtf declaration... " >&6; }
29434   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
29435     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
29436   $as_echo_n "(cached) " >&6
29437 else
29438
29439
29440       ac_ext=cpp
29441 ac_cpp='$CXXCPP $CPPFLAGS'
29442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29445
29446       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29447 /* end confdefs.h.  */
29448 #include <math.h>
29449                       #ifdef HAVE_IEEEFP_H
29450                       #include <ieeefp.h>
29451                       #endif
29452
29453 int
29454 main ()
29455 {
29456  sqrtf(0);
29457   ;
29458   return 0;
29459 }
29460 _ACEOF
29461 if ac_fn_cxx_try_compile "$LINENO"; then :
29462   glibcxx_cv_func_sqrtf_use=yes
29463 else
29464   glibcxx_cv_func_sqrtf_use=no
29465 fi
29466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29467       ac_ext=c
29468 ac_cpp='$CPP $CPPFLAGS'
29469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29472
29473
29474 fi
29475
29476   fi
29477   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
29478 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
29479
29480   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
29481     for ac_func in sqrtf
29482 do :
29483   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
29484 if test "x$ac_cv_func_sqrtf" = x""yes; then :
29485   cat >>confdefs.h <<_ACEOF
29486 #define HAVE_SQRTF 1
29487 _ACEOF
29488
29489 fi
29490 done
29491
29492   else
29493
29494   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
29495 $as_echo_n "checking for _sqrtf declaration... " >&6; }
29496   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
29497     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
29498   $as_echo_n "(cached) " >&6
29499 else
29500
29501
29502       ac_ext=cpp
29503 ac_cpp='$CXXCPP $CPPFLAGS'
29504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29507
29508       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29509 /* end confdefs.h.  */
29510 #include <math.h>
29511                       #ifdef HAVE_IEEEFP_H
29512                       #include <ieeefp.h>
29513                       #endif
29514
29515 int
29516 main ()
29517 {
29518  _sqrtf(0);
29519   ;
29520   return 0;
29521 }
29522 _ACEOF
29523 if ac_fn_cxx_try_compile "$LINENO"; then :
29524   glibcxx_cv_func__sqrtf_use=yes
29525 else
29526   glibcxx_cv_func__sqrtf_use=no
29527 fi
29528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29529       ac_ext=c
29530 ac_cpp='$CPP $CPPFLAGS'
29531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29534
29535
29536 fi
29537
29538   fi
29539   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
29540 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
29541
29542     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
29543       for ac_func in _sqrtf
29544 do :
29545   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
29546 if test "x$ac_cv_func__sqrtf" = x""yes; then :
29547   cat >>confdefs.h <<_ACEOF
29548 #define HAVE__SQRTF 1
29549 _ACEOF
29550
29551 fi
29552 done
29553
29554     fi
29555   fi
29556
29557
29558
29559
29560
29561   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
29562 $as_echo_n "checking for sincosf declaration... " >&6; }
29563   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
29564     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
29565   $as_echo_n "(cached) " >&6
29566 else
29567
29568
29569       ac_ext=cpp
29570 ac_cpp='$CXXCPP $CPPFLAGS'
29571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29574
29575       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29576 /* end confdefs.h.  */
29577 #include <math.h>
29578 int
29579 main ()
29580 {
29581  sincosf(0, 0, 0);
29582   ;
29583   return 0;
29584 }
29585 _ACEOF
29586 if ac_fn_cxx_try_compile "$LINENO"; then :
29587   glibcxx_cv_func_sincosf_use=yes
29588 else
29589   glibcxx_cv_func_sincosf_use=no
29590 fi
29591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29592       ac_ext=c
29593 ac_cpp='$CPP $CPPFLAGS'
29594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29597
29598
29599 fi
29600
29601   fi
29602   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
29603 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
29604
29605   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
29606     for ac_func in sincosf
29607 do :
29608   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
29609 if test "x$ac_cv_func_sincosf" = x""yes; then :
29610   cat >>confdefs.h <<_ACEOF
29611 #define HAVE_SINCOSF 1
29612 _ACEOF
29613
29614 fi
29615 done
29616
29617   else
29618
29619   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
29620 $as_echo_n "checking for _sincosf declaration... " >&6; }
29621   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
29622     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
29623   $as_echo_n "(cached) " >&6
29624 else
29625
29626
29627       ac_ext=cpp
29628 ac_cpp='$CXXCPP $CPPFLAGS'
29629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29632
29633       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29634 /* end confdefs.h.  */
29635 #include <math.h>
29636 int
29637 main ()
29638 {
29639  _sincosf(0, 0, 0);
29640   ;
29641   return 0;
29642 }
29643 _ACEOF
29644 if ac_fn_cxx_try_compile "$LINENO"; then :
29645   glibcxx_cv_func__sincosf_use=yes
29646 else
29647   glibcxx_cv_func__sincosf_use=no
29648 fi
29649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29650       ac_ext=c
29651 ac_cpp='$CPP $CPPFLAGS'
29652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29655
29656
29657 fi
29658
29659   fi
29660   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
29661 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
29662
29663     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
29664       for ac_func in _sincosf
29665 do :
29666   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
29667 if test "x$ac_cv_func__sincosf" = x""yes; then :
29668   cat >>confdefs.h <<_ACEOF
29669 #define HAVE__SINCOSF 1
29670 _ACEOF
29671
29672 fi
29673 done
29674
29675     fi
29676   fi
29677
29678
29679
29680
29681
29682   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
29683 $as_echo_n "checking for finitef declaration... " >&6; }
29684   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
29685     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
29686   $as_echo_n "(cached) " >&6
29687 else
29688
29689
29690       ac_ext=cpp
29691 ac_cpp='$CXXCPP $CPPFLAGS'
29692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29695
29696       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29697 /* end confdefs.h.  */
29698 #include <math.h>
29699                       #ifdef HAVE_IEEEFP_H
29700                       #include <ieeefp.h>
29701                       #endif
29702
29703 int
29704 main ()
29705 {
29706  finitef(0);
29707   ;
29708   return 0;
29709 }
29710 _ACEOF
29711 if ac_fn_cxx_try_compile "$LINENO"; then :
29712   glibcxx_cv_func_finitef_use=yes
29713 else
29714   glibcxx_cv_func_finitef_use=no
29715 fi
29716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29717       ac_ext=c
29718 ac_cpp='$CPP $CPPFLAGS'
29719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29722
29723
29724 fi
29725
29726   fi
29727   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
29728 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
29729
29730   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
29731     for ac_func in finitef
29732 do :
29733   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
29734 if test "x$ac_cv_func_finitef" = x""yes; then :
29735   cat >>confdefs.h <<_ACEOF
29736 #define HAVE_FINITEF 1
29737 _ACEOF
29738
29739 fi
29740 done
29741
29742   else
29743
29744   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
29745 $as_echo_n "checking for _finitef declaration... " >&6; }
29746   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
29747     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
29748   $as_echo_n "(cached) " >&6
29749 else
29750
29751
29752       ac_ext=cpp
29753 ac_cpp='$CXXCPP $CPPFLAGS'
29754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29757
29758       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29759 /* end confdefs.h.  */
29760 #include <math.h>
29761                       #ifdef HAVE_IEEEFP_H
29762                       #include <ieeefp.h>
29763                       #endif
29764
29765 int
29766 main ()
29767 {
29768  _finitef(0);
29769   ;
29770   return 0;
29771 }
29772 _ACEOF
29773 if ac_fn_cxx_try_compile "$LINENO"; then :
29774   glibcxx_cv_func__finitef_use=yes
29775 else
29776   glibcxx_cv_func__finitef_use=no
29777 fi
29778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29779       ac_ext=c
29780 ac_cpp='$CPP $CPPFLAGS'
29781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29784
29785
29786 fi
29787
29788   fi
29789   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
29790 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
29791
29792     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
29793       for ac_func in _finitef
29794 do :
29795   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
29796 if test "x$ac_cv_func__finitef" = x""yes; then :
29797   cat >>confdefs.h <<_ACEOF
29798 #define HAVE__FINITEF 1
29799 _ACEOF
29800
29801 fi
29802 done
29803
29804     fi
29805   fi
29806
29807
29808
29809
29810
29811     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
29812 $as_echo_n "checking for long double trig functions... " >&6; }
29813   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
29814   $as_echo_n "(cached) " >&6
29815 else
29816
29817
29818     ac_ext=cpp
29819 ac_cpp='$CXXCPP $CPPFLAGS'
29820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29823
29824     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29825 /* end confdefs.h.  */
29826 #include <math.h>
29827 int
29828 main ()
29829 {
29830 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
29831   ;
29832   return 0;
29833 }
29834 _ACEOF
29835 if ac_fn_cxx_try_compile "$LINENO"; then :
29836   glibcxx_cv_func_long_double_trig_use=yes
29837 else
29838   glibcxx_cv_func_long_double_trig_use=no
29839 fi
29840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29841     ac_ext=c
29842 ac_cpp='$CPP $CPPFLAGS'
29843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29846
29847 fi
29848
29849   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
29850 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
29851   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
29852     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
29853 do :
29854   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29855 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29856 eval as_val=\$$as_ac_var
29857    if test "x$as_val" = x""yes; then :
29858   cat >>confdefs.h <<_ACEOF
29859 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29860 _ACEOF
29861
29862 fi
29863 done
29864
29865   else
29866     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
29867 $as_echo_n "checking for _long double trig functions... " >&6; }
29868     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
29869   $as_echo_n "(cached) " >&6
29870 else
29871
29872
29873       ac_ext=cpp
29874 ac_cpp='$CXXCPP $CPPFLAGS'
29875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29878
29879       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29880 /* end confdefs.h.  */
29881 #include <math.h>
29882 int
29883 main ()
29884 {
29885 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
29886   ;
29887   return 0;
29888 }
29889 _ACEOF
29890 if ac_fn_cxx_try_compile "$LINENO"; then :
29891   glibcxx_cv_func__long_double_trig_use=yes
29892 else
29893   glibcxx_cv_func__long_double_trig_use=no
29894 fi
29895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29896       ac_ext=c
29897 ac_cpp='$CPP $CPPFLAGS'
29898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29901
29902 fi
29903
29904     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
29905 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
29906     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
29907       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
29908 do :
29909   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29910 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29911 eval as_val=\$$as_ac_var
29912    if test "x$as_val" = x""yes; then :
29913   cat >>confdefs.h <<_ACEOF
29914 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29915 _ACEOF
29916
29917 fi
29918 done
29919
29920     fi
29921   fi
29922
29923
29924
29925
29926
29927     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
29928 $as_echo_n "checking for long double round functions... " >&6; }
29929   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
29930   $as_echo_n "(cached) " >&6
29931 else
29932
29933
29934     ac_ext=cpp
29935 ac_cpp='$CXXCPP $CPPFLAGS'
29936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29939
29940     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29941 /* end confdefs.h.  */
29942 #include <math.h>
29943 int
29944 main ()
29945 {
29946 ceill (0); floorl (0);
29947   ;
29948   return 0;
29949 }
29950 _ACEOF
29951 if ac_fn_cxx_try_compile "$LINENO"; then :
29952   glibcxx_cv_func_long_double_round_use=yes
29953 else
29954   glibcxx_cv_func_long_double_round_use=no
29955 fi
29956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29957     ac_ext=c
29958 ac_cpp='$CPP $CPPFLAGS'
29959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29962
29963 fi
29964
29965   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
29966 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
29967   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
29968     for ac_func in ceill floorl
29969 do :
29970   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29971 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29972 eval as_val=\$$as_ac_var
29973    if test "x$as_val" = x""yes; then :
29974   cat >>confdefs.h <<_ACEOF
29975 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29976 _ACEOF
29977
29978 fi
29979 done
29980
29981   else
29982     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
29983 $as_echo_n "checking for _long double round functions... " >&6; }
29984     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
29985   $as_echo_n "(cached) " >&6
29986 else
29987
29988
29989       ac_ext=cpp
29990 ac_cpp='$CXXCPP $CPPFLAGS'
29991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29994
29995       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29996 /* end confdefs.h.  */
29997 #include <math.h>
29998 int
29999 main ()
30000 {
30001 _ceill (0); _floorl (0);
30002   ;
30003   return 0;
30004 }
30005 _ACEOF
30006 if ac_fn_cxx_try_compile "$LINENO"; then :
30007   glibcxx_cv_func__long_double_round_use=yes
30008 else
30009   glibcxx_cv_func__long_double_round_use=no
30010 fi
30011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30012       ac_ext=c
30013 ac_cpp='$CPP $CPPFLAGS'
30014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30017
30018 fi
30019
30020     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
30021 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
30022     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
30023       for ac_func in _ceill _floorl
30024 do :
30025   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30026 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30027 eval as_val=\$$as_ac_var
30028    if test "x$as_val" = x""yes; then :
30029   cat >>confdefs.h <<_ACEOF
30030 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30031 _ACEOF
30032
30033 fi
30034 done
30035
30036     fi
30037   fi
30038
30039
30040
30041
30042
30043
30044   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
30045 $as_echo_n "checking for isnanl declaration... " >&6; }
30046   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
30047     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
30048   $as_echo_n "(cached) " >&6
30049 else
30050
30051
30052       ac_ext=cpp
30053 ac_cpp='$CXXCPP $CPPFLAGS'
30054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30057
30058       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30059 /* end confdefs.h.  */
30060 #include <math.h>
30061                       #ifdef HAVE_IEEEFP_H
30062                       #include <ieeefp.h>
30063                       #endif
30064
30065 int
30066 main ()
30067 {
30068  isnanl(0);
30069   ;
30070   return 0;
30071 }
30072 _ACEOF
30073 if ac_fn_cxx_try_compile "$LINENO"; then :
30074   glibcxx_cv_func_isnanl_use=yes
30075 else
30076   glibcxx_cv_func_isnanl_use=no
30077 fi
30078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30079       ac_ext=c
30080 ac_cpp='$CPP $CPPFLAGS'
30081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30084
30085
30086 fi
30087
30088   fi
30089   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
30090 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
30091
30092   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
30093     for ac_func in isnanl
30094 do :
30095   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
30096 if test "x$ac_cv_func_isnanl" = x""yes; then :
30097   cat >>confdefs.h <<_ACEOF
30098 #define HAVE_ISNANL 1
30099 _ACEOF
30100
30101 fi
30102 done
30103
30104   else
30105
30106   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
30107 $as_echo_n "checking for _isnanl declaration... " >&6; }
30108   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
30109     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
30110   $as_echo_n "(cached) " >&6
30111 else
30112
30113
30114       ac_ext=cpp
30115 ac_cpp='$CXXCPP $CPPFLAGS'
30116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30119
30120       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30121 /* end confdefs.h.  */
30122 #include <math.h>
30123                       #ifdef HAVE_IEEEFP_H
30124                       #include <ieeefp.h>
30125                       #endif
30126
30127 int
30128 main ()
30129 {
30130  _isnanl(0);
30131   ;
30132   return 0;
30133 }
30134 _ACEOF
30135 if ac_fn_cxx_try_compile "$LINENO"; then :
30136   glibcxx_cv_func__isnanl_use=yes
30137 else
30138   glibcxx_cv_func__isnanl_use=no
30139 fi
30140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30141       ac_ext=c
30142 ac_cpp='$CPP $CPPFLAGS'
30143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30146
30147
30148 fi
30149
30150   fi
30151   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
30152 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
30153
30154     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
30155       for ac_func in _isnanl
30156 do :
30157   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
30158 if test "x$ac_cv_func__isnanl" = x""yes; then :
30159   cat >>confdefs.h <<_ACEOF
30160 #define HAVE__ISNANL 1
30161 _ACEOF
30162
30163 fi
30164 done
30165
30166     fi
30167   fi
30168
30169
30170
30171
30172
30173   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
30174 $as_echo_n "checking for isinfl declaration... " >&6; }
30175   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
30176     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
30177   $as_echo_n "(cached) " >&6
30178 else
30179
30180
30181       ac_ext=cpp
30182 ac_cpp='$CXXCPP $CPPFLAGS'
30183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30186
30187       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30188 /* end confdefs.h.  */
30189 #include <math.h>
30190                       #ifdef HAVE_IEEEFP_H
30191                       #include <ieeefp.h>
30192                       #endif
30193
30194 int
30195 main ()
30196 {
30197  isinfl(0);
30198   ;
30199   return 0;
30200 }
30201 _ACEOF
30202 if ac_fn_cxx_try_compile "$LINENO"; then :
30203   glibcxx_cv_func_isinfl_use=yes
30204 else
30205   glibcxx_cv_func_isinfl_use=no
30206 fi
30207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30208       ac_ext=c
30209 ac_cpp='$CPP $CPPFLAGS'
30210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30213
30214
30215 fi
30216
30217   fi
30218   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
30219 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
30220
30221   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
30222     for ac_func in isinfl
30223 do :
30224   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
30225 if test "x$ac_cv_func_isinfl" = x""yes; then :
30226   cat >>confdefs.h <<_ACEOF
30227 #define HAVE_ISINFL 1
30228 _ACEOF
30229
30230 fi
30231 done
30232
30233   else
30234
30235   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
30236 $as_echo_n "checking for _isinfl declaration... " >&6; }
30237   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
30238     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
30239   $as_echo_n "(cached) " >&6
30240 else
30241
30242
30243       ac_ext=cpp
30244 ac_cpp='$CXXCPP $CPPFLAGS'
30245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30248
30249       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30250 /* end confdefs.h.  */
30251 #include <math.h>
30252                       #ifdef HAVE_IEEEFP_H
30253                       #include <ieeefp.h>
30254                       #endif
30255
30256 int
30257 main ()
30258 {
30259  _isinfl(0);
30260   ;
30261   return 0;
30262 }
30263 _ACEOF
30264 if ac_fn_cxx_try_compile "$LINENO"; then :
30265   glibcxx_cv_func__isinfl_use=yes
30266 else
30267   glibcxx_cv_func__isinfl_use=no
30268 fi
30269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30270       ac_ext=c
30271 ac_cpp='$CPP $CPPFLAGS'
30272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30275
30276
30277 fi
30278
30279   fi
30280   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
30281 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
30282
30283     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
30284       for ac_func in _isinfl
30285 do :
30286   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
30287 if test "x$ac_cv_func__isinfl" = x""yes; then :
30288   cat >>confdefs.h <<_ACEOF
30289 #define HAVE__ISINFL 1
30290 _ACEOF
30291
30292 fi
30293 done
30294
30295     fi
30296   fi
30297
30298
30299
30300
30301
30302   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
30303 $as_echo_n "checking for atan2l declaration... " >&6; }
30304   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
30305     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
30306   $as_echo_n "(cached) " >&6
30307 else
30308
30309
30310       ac_ext=cpp
30311 ac_cpp='$CXXCPP $CPPFLAGS'
30312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30315
30316       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30317 /* end confdefs.h.  */
30318 #include <math.h>
30319 int
30320 main ()
30321 {
30322  atan2l(0, 0);
30323   ;
30324   return 0;
30325 }
30326 _ACEOF
30327 if ac_fn_cxx_try_compile "$LINENO"; then :
30328   glibcxx_cv_func_atan2l_use=yes
30329 else
30330   glibcxx_cv_func_atan2l_use=no
30331 fi
30332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30333       ac_ext=c
30334 ac_cpp='$CPP $CPPFLAGS'
30335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30338
30339
30340 fi
30341
30342   fi
30343   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
30344 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
30345
30346   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
30347     for ac_func in atan2l
30348 do :
30349   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
30350 if test "x$ac_cv_func_atan2l" = x""yes; then :
30351   cat >>confdefs.h <<_ACEOF
30352 #define HAVE_ATAN2L 1
30353 _ACEOF
30354
30355 fi
30356 done
30357
30358   else
30359
30360   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
30361 $as_echo_n "checking for _atan2l declaration... " >&6; }
30362   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
30363     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
30364   $as_echo_n "(cached) " >&6
30365 else
30366
30367
30368       ac_ext=cpp
30369 ac_cpp='$CXXCPP $CPPFLAGS'
30370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30373
30374       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30375 /* end confdefs.h.  */
30376 #include <math.h>
30377 int
30378 main ()
30379 {
30380  _atan2l(0, 0);
30381   ;
30382   return 0;
30383 }
30384 _ACEOF
30385 if ac_fn_cxx_try_compile "$LINENO"; then :
30386   glibcxx_cv_func__atan2l_use=yes
30387 else
30388   glibcxx_cv_func__atan2l_use=no
30389 fi
30390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30391       ac_ext=c
30392 ac_cpp='$CPP $CPPFLAGS'
30393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30396
30397
30398 fi
30399
30400   fi
30401   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
30402 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
30403
30404     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
30405       for ac_func in _atan2l
30406 do :
30407   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
30408 if test "x$ac_cv_func__atan2l" = x""yes; then :
30409   cat >>confdefs.h <<_ACEOF
30410 #define HAVE__ATAN2L 1
30411 _ACEOF
30412
30413 fi
30414 done
30415
30416     fi
30417   fi
30418
30419
30420
30421
30422
30423   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
30424 $as_echo_n "checking for expl declaration... " >&6; }
30425   if test x${glibcxx_cv_func_expl_use+set} != xset; then
30426     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
30427   $as_echo_n "(cached) " >&6
30428 else
30429
30430
30431       ac_ext=cpp
30432 ac_cpp='$CXXCPP $CPPFLAGS'
30433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30436
30437       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30438 /* end confdefs.h.  */
30439 #include <math.h>
30440                       #ifdef HAVE_IEEEFP_H
30441                       #include <ieeefp.h>
30442                       #endif
30443
30444 int
30445 main ()
30446 {
30447  expl(0);
30448   ;
30449   return 0;
30450 }
30451 _ACEOF
30452 if ac_fn_cxx_try_compile "$LINENO"; then :
30453   glibcxx_cv_func_expl_use=yes
30454 else
30455   glibcxx_cv_func_expl_use=no
30456 fi
30457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30458       ac_ext=c
30459 ac_cpp='$CPP $CPPFLAGS'
30460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30463
30464
30465 fi
30466
30467   fi
30468   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
30469 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
30470
30471   if test x$glibcxx_cv_func_expl_use = x"yes"; then
30472     for ac_func in expl
30473 do :
30474   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
30475 if test "x$ac_cv_func_expl" = x""yes; then :
30476   cat >>confdefs.h <<_ACEOF
30477 #define HAVE_EXPL 1
30478 _ACEOF
30479
30480 fi
30481 done
30482
30483   else
30484
30485   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
30486 $as_echo_n "checking for _expl declaration... " >&6; }
30487   if test x${glibcxx_cv_func__expl_use+set} != xset; then
30488     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
30489   $as_echo_n "(cached) " >&6
30490 else
30491
30492
30493       ac_ext=cpp
30494 ac_cpp='$CXXCPP $CPPFLAGS'
30495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30498
30499       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30500 /* end confdefs.h.  */
30501 #include <math.h>
30502                       #ifdef HAVE_IEEEFP_H
30503                       #include <ieeefp.h>
30504                       #endif
30505
30506 int
30507 main ()
30508 {
30509  _expl(0);
30510   ;
30511   return 0;
30512 }
30513 _ACEOF
30514 if ac_fn_cxx_try_compile "$LINENO"; then :
30515   glibcxx_cv_func__expl_use=yes
30516 else
30517   glibcxx_cv_func__expl_use=no
30518 fi
30519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30520       ac_ext=c
30521 ac_cpp='$CPP $CPPFLAGS'
30522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30525
30526
30527 fi
30528
30529   fi
30530   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
30531 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
30532
30533     if test x$glibcxx_cv_func__expl_use = x"yes"; then
30534       for ac_func in _expl
30535 do :
30536   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
30537 if test "x$ac_cv_func__expl" = x""yes; then :
30538   cat >>confdefs.h <<_ACEOF
30539 #define HAVE__EXPL 1
30540 _ACEOF
30541
30542 fi
30543 done
30544
30545     fi
30546   fi
30547
30548
30549
30550
30551
30552   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
30553 $as_echo_n "checking for fabsl declaration... " >&6; }
30554   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
30555     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
30556   $as_echo_n "(cached) " >&6
30557 else
30558
30559
30560       ac_ext=cpp
30561 ac_cpp='$CXXCPP $CPPFLAGS'
30562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30565
30566       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30567 /* end confdefs.h.  */
30568 #include <math.h>
30569                       #ifdef HAVE_IEEEFP_H
30570                       #include <ieeefp.h>
30571                       #endif
30572
30573 int
30574 main ()
30575 {
30576  fabsl(0);
30577   ;
30578   return 0;
30579 }
30580 _ACEOF
30581 if ac_fn_cxx_try_compile "$LINENO"; then :
30582   glibcxx_cv_func_fabsl_use=yes
30583 else
30584   glibcxx_cv_func_fabsl_use=no
30585 fi
30586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30587       ac_ext=c
30588 ac_cpp='$CPP $CPPFLAGS'
30589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30592
30593
30594 fi
30595
30596   fi
30597   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
30598 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
30599
30600   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
30601     for ac_func in fabsl
30602 do :
30603   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
30604 if test "x$ac_cv_func_fabsl" = x""yes; then :
30605   cat >>confdefs.h <<_ACEOF
30606 #define HAVE_FABSL 1
30607 _ACEOF
30608
30609 fi
30610 done
30611
30612   else
30613
30614   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
30615 $as_echo_n "checking for _fabsl declaration... " >&6; }
30616   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
30617     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
30618   $as_echo_n "(cached) " >&6
30619 else
30620
30621
30622       ac_ext=cpp
30623 ac_cpp='$CXXCPP $CPPFLAGS'
30624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30627
30628       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30629 /* end confdefs.h.  */
30630 #include <math.h>
30631                       #ifdef HAVE_IEEEFP_H
30632                       #include <ieeefp.h>
30633                       #endif
30634
30635 int
30636 main ()
30637 {
30638  _fabsl(0);
30639   ;
30640   return 0;
30641 }
30642 _ACEOF
30643 if ac_fn_cxx_try_compile "$LINENO"; then :
30644   glibcxx_cv_func__fabsl_use=yes
30645 else
30646   glibcxx_cv_func__fabsl_use=no
30647 fi
30648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30649       ac_ext=c
30650 ac_cpp='$CPP $CPPFLAGS'
30651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30654
30655
30656 fi
30657
30658   fi
30659   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
30660 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
30661
30662     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
30663       for ac_func in _fabsl
30664 do :
30665   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
30666 if test "x$ac_cv_func__fabsl" = x""yes; then :
30667   cat >>confdefs.h <<_ACEOF
30668 #define HAVE__FABSL 1
30669 _ACEOF
30670
30671 fi
30672 done
30673
30674     fi
30675   fi
30676
30677
30678
30679
30680
30681   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
30682 $as_echo_n "checking for fmodl declaration... " >&6; }
30683   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
30684     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
30685   $as_echo_n "(cached) " >&6
30686 else
30687
30688
30689       ac_ext=cpp
30690 ac_cpp='$CXXCPP $CPPFLAGS'
30691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30694
30695       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30696 /* end confdefs.h.  */
30697 #include <math.h>
30698 int
30699 main ()
30700 {
30701  fmodl(0, 0);
30702   ;
30703   return 0;
30704 }
30705 _ACEOF
30706 if ac_fn_cxx_try_compile "$LINENO"; then :
30707   glibcxx_cv_func_fmodl_use=yes
30708 else
30709   glibcxx_cv_func_fmodl_use=no
30710 fi
30711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30712       ac_ext=c
30713 ac_cpp='$CPP $CPPFLAGS'
30714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30717
30718
30719 fi
30720
30721   fi
30722   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
30723 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
30724
30725   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
30726     for ac_func in fmodl
30727 do :
30728   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
30729 if test "x$ac_cv_func_fmodl" = x""yes; then :
30730   cat >>confdefs.h <<_ACEOF
30731 #define HAVE_FMODL 1
30732 _ACEOF
30733
30734 fi
30735 done
30736
30737   else
30738
30739   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
30740 $as_echo_n "checking for _fmodl declaration... " >&6; }
30741   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
30742     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
30743   $as_echo_n "(cached) " >&6
30744 else
30745
30746
30747       ac_ext=cpp
30748 ac_cpp='$CXXCPP $CPPFLAGS'
30749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30752
30753       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30754 /* end confdefs.h.  */
30755 #include <math.h>
30756 int
30757 main ()
30758 {
30759  _fmodl(0, 0);
30760   ;
30761   return 0;
30762 }
30763 _ACEOF
30764 if ac_fn_cxx_try_compile "$LINENO"; then :
30765   glibcxx_cv_func__fmodl_use=yes
30766 else
30767   glibcxx_cv_func__fmodl_use=no
30768 fi
30769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30770       ac_ext=c
30771 ac_cpp='$CPP $CPPFLAGS'
30772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30775
30776
30777 fi
30778
30779   fi
30780   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
30781 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
30782
30783     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
30784       for ac_func in _fmodl
30785 do :
30786   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
30787 if test "x$ac_cv_func__fmodl" = x""yes; then :
30788   cat >>confdefs.h <<_ACEOF
30789 #define HAVE__FMODL 1
30790 _ACEOF
30791
30792 fi
30793 done
30794
30795     fi
30796   fi
30797
30798
30799
30800
30801
30802   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
30803 $as_echo_n "checking for frexpl declaration... " >&6; }
30804   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
30805     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
30806   $as_echo_n "(cached) " >&6
30807 else
30808
30809
30810       ac_ext=cpp
30811 ac_cpp='$CXXCPP $CPPFLAGS'
30812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30815
30816       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30817 /* end confdefs.h.  */
30818 #include <math.h>
30819 int
30820 main ()
30821 {
30822  frexpl(0, 0);
30823   ;
30824   return 0;
30825 }
30826 _ACEOF
30827 if ac_fn_cxx_try_compile "$LINENO"; then :
30828   glibcxx_cv_func_frexpl_use=yes
30829 else
30830   glibcxx_cv_func_frexpl_use=no
30831 fi
30832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30833       ac_ext=c
30834 ac_cpp='$CPP $CPPFLAGS'
30835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30838
30839
30840 fi
30841
30842   fi
30843   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
30844 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
30845
30846   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
30847     for ac_func in frexpl
30848 do :
30849   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
30850 if test "x$ac_cv_func_frexpl" = x""yes; then :
30851   cat >>confdefs.h <<_ACEOF
30852 #define HAVE_FREXPL 1
30853 _ACEOF
30854
30855 fi
30856 done
30857
30858   else
30859
30860   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
30861 $as_echo_n "checking for _frexpl declaration... " >&6; }
30862   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
30863     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
30864   $as_echo_n "(cached) " >&6
30865 else
30866
30867
30868       ac_ext=cpp
30869 ac_cpp='$CXXCPP $CPPFLAGS'
30870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30873
30874       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30875 /* end confdefs.h.  */
30876 #include <math.h>
30877 int
30878 main ()
30879 {
30880  _frexpl(0, 0);
30881   ;
30882   return 0;
30883 }
30884 _ACEOF
30885 if ac_fn_cxx_try_compile "$LINENO"; then :
30886   glibcxx_cv_func__frexpl_use=yes
30887 else
30888   glibcxx_cv_func__frexpl_use=no
30889 fi
30890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30891       ac_ext=c
30892 ac_cpp='$CPP $CPPFLAGS'
30893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30896
30897
30898 fi
30899
30900   fi
30901   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
30902 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
30903
30904     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
30905       for ac_func in _frexpl
30906 do :
30907   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
30908 if test "x$ac_cv_func__frexpl" = x""yes; then :
30909   cat >>confdefs.h <<_ACEOF
30910 #define HAVE__FREXPL 1
30911 _ACEOF
30912
30913 fi
30914 done
30915
30916     fi
30917   fi
30918
30919
30920
30921
30922
30923   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
30924 $as_echo_n "checking for hypotl declaration... " >&6; }
30925   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
30926     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
30927   $as_echo_n "(cached) " >&6
30928 else
30929
30930
30931       ac_ext=cpp
30932 ac_cpp='$CXXCPP $CPPFLAGS'
30933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30936
30937       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30938 /* end confdefs.h.  */
30939 #include <math.h>
30940 int
30941 main ()
30942 {
30943  hypotl(0, 0);
30944   ;
30945   return 0;
30946 }
30947 _ACEOF
30948 if ac_fn_cxx_try_compile "$LINENO"; then :
30949   glibcxx_cv_func_hypotl_use=yes
30950 else
30951   glibcxx_cv_func_hypotl_use=no
30952 fi
30953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30954       ac_ext=c
30955 ac_cpp='$CPP $CPPFLAGS'
30956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30959
30960
30961 fi
30962
30963   fi
30964   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
30965 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
30966
30967   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
30968     for ac_func in hypotl
30969 do :
30970   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
30971 if test "x$ac_cv_func_hypotl" = x""yes; then :
30972   cat >>confdefs.h <<_ACEOF
30973 #define HAVE_HYPOTL 1
30974 _ACEOF
30975
30976 fi
30977 done
30978
30979   else
30980
30981   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
30982 $as_echo_n "checking for _hypotl declaration... " >&6; }
30983   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
30984     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
30985   $as_echo_n "(cached) " >&6
30986 else
30987
30988
30989       ac_ext=cpp
30990 ac_cpp='$CXXCPP $CPPFLAGS'
30991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30994
30995       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30996 /* end confdefs.h.  */
30997 #include <math.h>
30998 int
30999 main ()
31000 {
31001  _hypotl(0, 0);
31002   ;
31003   return 0;
31004 }
31005 _ACEOF
31006 if ac_fn_cxx_try_compile "$LINENO"; then :
31007   glibcxx_cv_func__hypotl_use=yes
31008 else
31009   glibcxx_cv_func__hypotl_use=no
31010 fi
31011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31012       ac_ext=c
31013 ac_cpp='$CPP $CPPFLAGS'
31014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31017
31018
31019 fi
31020
31021   fi
31022   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
31023 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
31024
31025     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
31026       for ac_func in _hypotl
31027 do :
31028   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
31029 if test "x$ac_cv_func__hypotl" = x""yes; then :
31030   cat >>confdefs.h <<_ACEOF
31031 #define HAVE__HYPOTL 1
31032 _ACEOF
31033
31034 fi
31035 done
31036
31037     fi
31038   fi
31039
31040
31041
31042
31043
31044   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
31045 $as_echo_n "checking for ldexpl declaration... " >&6; }
31046   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
31047     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
31048   $as_echo_n "(cached) " >&6
31049 else
31050
31051
31052       ac_ext=cpp
31053 ac_cpp='$CXXCPP $CPPFLAGS'
31054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31057
31058       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31059 /* end confdefs.h.  */
31060 #include <math.h>
31061 int
31062 main ()
31063 {
31064  ldexpl(0, 0);
31065   ;
31066   return 0;
31067 }
31068 _ACEOF
31069 if ac_fn_cxx_try_compile "$LINENO"; then :
31070   glibcxx_cv_func_ldexpl_use=yes
31071 else
31072   glibcxx_cv_func_ldexpl_use=no
31073 fi
31074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31075       ac_ext=c
31076 ac_cpp='$CPP $CPPFLAGS'
31077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31080
31081
31082 fi
31083
31084   fi
31085   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
31086 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
31087
31088   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
31089     for ac_func in ldexpl
31090 do :
31091   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
31092 if test "x$ac_cv_func_ldexpl" = x""yes; then :
31093   cat >>confdefs.h <<_ACEOF
31094 #define HAVE_LDEXPL 1
31095 _ACEOF
31096
31097 fi
31098 done
31099
31100   else
31101
31102   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
31103 $as_echo_n "checking for _ldexpl declaration... " >&6; }
31104   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
31105     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
31106   $as_echo_n "(cached) " >&6
31107 else
31108
31109
31110       ac_ext=cpp
31111 ac_cpp='$CXXCPP $CPPFLAGS'
31112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31115
31116       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31117 /* end confdefs.h.  */
31118 #include <math.h>
31119 int
31120 main ()
31121 {
31122  _ldexpl(0, 0);
31123   ;
31124   return 0;
31125 }
31126 _ACEOF
31127 if ac_fn_cxx_try_compile "$LINENO"; then :
31128   glibcxx_cv_func__ldexpl_use=yes
31129 else
31130   glibcxx_cv_func__ldexpl_use=no
31131 fi
31132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31133       ac_ext=c
31134 ac_cpp='$CPP $CPPFLAGS'
31135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31138
31139
31140 fi
31141
31142   fi
31143   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
31144 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
31145
31146     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
31147       for ac_func in _ldexpl
31148 do :
31149   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
31150 if test "x$ac_cv_func__ldexpl" = x""yes; then :
31151   cat >>confdefs.h <<_ACEOF
31152 #define HAVE__LDEXPL 1
31153 _ACEOF
31154
31155 fi
31156 done
31157
31158     fi
31159   fi
31160
31161
31162
31163
31164
31165   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
31166 $as_echo_n "checking for logl declaration... " >&6; }
31167   if test x${glibcxx_cv_func_logl_use+set} != xset; then
31168     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
31169   $as_echo_n "(cached) " >&6
31170 else
31171
31172
31173       ac_ext=cpp
31174 ac_cpp='$CXXCPP $CPPFLAGS'
31175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31178
31179       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31180 /* end confdefs.h.  */
31181 #include <math.h>
31182                       #ifdef HAVE_IEEEFP_H
31183                       #include <ieeefp.h>
31184                       #endif
31185
31186 int
31187 main ()
31188 {
31189  logl(0);
31190   ;
31191   return 0;
31192 }
31193 _ACEOF
31194 if ac_fn_cxx_try_compile "$LINENO"; then :
31195   glibcxx_cv_func_logl_use=yes
31196 else
31197   glibcxx_cv_func_logl_use=no
31198 fi
31199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31200       ac_ext=c
31201 ac_cpp='$CPP $CPPFLAGS'
31202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31205
31206
31207 fi
31208
31209   fi
31210   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
31211 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
31212
31213   if test x$glibcxx_cv_func_logl_use = x"yes"; then
31214     for ac_func in logl
31215 do :
31216   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
31217 if test "x$ac_cv_func_logl" = x""yes; then :
31218   cat >>confdefs.h <<_ACEOF
31219 #define HAVE_LOGL 1
31220 _ACEOF
31221
31222 fi
31223 done
31224
31225   else
31226
31227   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
31228 $as_echo_n "checking for _logl declaration... " >&6; }
31229   if test x${glibcxx_cv_func__logl_use+set} != xset; then
31230     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
31231   $as_echo_n "(cached) " >&6
31232 else
31233
31234
31235       ac_ext=cpp
31236 ac_cpp='$CXXCPP $CPPFLAGS'
31237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31240
31241       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31242 /* end confdefs.h.  */
31243 #include <math.h>
31244                       #ifdef HAVE_IEEEFP_H
31245                       #include <ieeefp.h>
31246                       #endif
31247
31248 int
31249 main ()
31250 {
31251  _logl(0);
31252   ;
31253   return 0;
31254 }
31255 _ACEOF
31256 if ac_fn_cxx_try_compile "$LINENO"; then :
31257   glibcxx_cv_func__logl_use=yes
31258 else
31259   glibcxx_cv_func__logl_use=no
31260 fi
31261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31262       ac_ext=c
31263 ac_cpp='$CPP $CPPFLAGS'
31264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31267
31268
31269 fi
31270
31271   fi
31272   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
31273 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
31274
31275     if test x$glibcxx_cv_func__logl_use = x"yes"; then
31276       for ac_func in _logl
31277 do :
31278   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
31279 if test "x$ac_cv_func__logl" = x""yes; then :
31280   cat >>confdefs.h <<_ACEOF
31281 #define HAVE__LOGL 1
31282 _ACEOF
31283
31284 fi
31285 done
31286
31287     fi
31288   fi
31289
31290
31291
31292
31293
31294   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
31295 $as_echo_n "checking for log10l declaration... " >&6; }
31296   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
31297     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
31298   $as_echo_n "(cached) " >&6
31299 else
31300
31301
31302       ac_ext=cpp
31303 ac_cpp='$CXXCPP $CPPFLAGS'
31304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31307
31308       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31309 /* end confdefs.h.  */
31310 #include <math.h>
31311                       #ifdef HAVE_IEEEFP_H
31312                       #include <ieeefp.h>
31313                       #endif
31314
31315 int
31316 main ()
31317 {
31318  log10l(0);
31319   ;
31320   return 0;
31321 }
31322 _ACEOF
31323 if ac_fn_cxx_try_compile "$LINENO"; then :
31324   glibcxx_cv_func_log10l_use=yes
31325 else
31326   glibcxx_cv_func_log10l_use=no
31327 fi
31328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31329       ac_ext=c
31330 ac_cpp='$CPP $CPPFLAGS'
31331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31334
31335
31336 fi
31337
31338   fi
31339   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
31340 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
31341
31342   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
31343     for ac_func in log10l
31344 do :
31345   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
31346 if test "x$ac_cv_func_log10l" = x""yes; then :
31347   cat >>confdefs.h <<_ACEOF
31348 #define HAVE_LOG10L 1
31349 _ACEOF
31350
31351 fi
31352 done
31353
31354   else
31355
31356   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
31357 $as_echo_n "checking for _log10l declaration... " >&6; }
31358   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
31359     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
31360   $as_echo_n "(cached) " >&6
31361 else
31362
31363
31364       ac_ext=cpp
31365 ac_cpp='$CXXCPP $CPPFLAGS'
31366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31369
31370       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31371 /* end confdefs.h.  */
31372 #include <math.h>
31373                       #ifdef HAVE_IEEEFP_H
31374                       #include <ieeefp.h>
31375                       #endif
31376
31377 int
31378 main ()
31379 {
31380  _log10l(0);
31381   ;
31382   return 0;
31383 }
31384 _ACEOF
31385 if ac_fn_cxx_try_compile "$LINENO"; then :
31386   glibcxx_cv_func__log10l_use=yes
31387 else
31388   glibcxx_cv_func__log10l_use=no
31389 fi
31390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31391       ac_ext=c
31392 ac_cpp='$CPP $CPPFLAGS'
31393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31396
31397
31398 fi
31399
31400   fi
31401   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
31402 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
31403
31404     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
31405       for ac_func in _log10l
31406 do :
31407   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
31408 if test "x$ac_cv_func__log10l" = x""yes; then :
31409   cat >>confdefs.h <<_ACEOF
31410 #define HAVE__LOG10L 1
31411 _ACEOF
31412
31413 fi
31414 done
31415
31416     fi
31417   fi
31418
31419
31420
31421
31422
31423   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
31424 $as_echo_n "checking for modfl declaration... " >&6; }
31425   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
31426     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
31427   $as_echo_n "(cached) " >&6
31428 else
31429
31430
31431       ac_ext=cpp
31432 ac_cpp='$CXXCPP $CPPFLAGS'
31433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31436
31437       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31438 /* end confdefs.h.  */
31439 #include <math.h>
31440 int
31441 main ()
31442 {
31443  modfl(0, 0);
31444   ;
31445   return 0;
31446 }
31447 _ACEOF
31448 if ac_fn_cxx_try_compile "$LINENO"; then :
31449   glibcxx_cv_func_modfl_use=yes
31450 else
31451   glibcxx_cv_func_modfl_use=no
31452 fi
31453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31454       ac_ext=c
31455 ac_cpp='$CPP $CPPFLAGS'
31456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31459
31460
31461 fi
31462
31463   fi
31464   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
31465 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
31466
31467   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
31468     for ac_func in modfl
31469 do :
31470   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
31471 if test "x$ac_cv_func_modfl" = x""yes; then :
31472   cat >>confdefs.h <<_ACEOF
31473 #define HAVE_MODFL 1
31474 _ACEOF
31475
31476 fi
31477 done
31478
31479   else
31480
31481   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
31482 $as_echo_n "checking for _modfl declaration... " >&6; }
31483   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
31484     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
31485   $as_echo_n "(cached) " >&6
31486 else
31487
31488
31489       ac_ext=cpp
31490 ac_cpp='$CXXCPP $CPPFLAGS'
31491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31494
31495       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31496 /* end confdefs.h.  */
31497 #include <math.h>
31498 int
31499 main ()
31500 {
31501  _modfl(0, 0);
31502   ;
31503   return 0;
31504 }
31505 _ACEOF
31506 if ac_fn_cxx_try_compile "$LINENO"; then :
31507   glibcxx_cv_func__modfl_use=yes
31508 else
31509   glibcxx_cv_func__modfl_use=no
31510 fi
31511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31512       ac_ext=c
31513 ac_cpp='$CPP $CPPFLAGS'
31514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31517
31518
31519 fi
31520
31521   fi
31522   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
31523 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
31524
31525     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
31526       for ac_func in _modfl
31527 do :
31528   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
31529 if test "x$ac_cv_func__modfl" = x""yes; then :
31530   cat >>confdefs.h <<_ACEOF
31531 #define HAVE__MODFL 1
31532 _ACEOF
31533
31534 fi
31535 done
31536
31537     fi
31538   fi
31539
31540
31541
31542
31543
31544   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
31545 $as_echo_n "checking for powl declaration... " >&6; }
31546   if test x${glibcxx_cv_func_powl_use+set} != xset; then
31547     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
31548   $as_echo_n "(cached) " >&6
31549 else
31550
31551
31552       ac_ext=cpp
31553 ac_cpp='$CXXCPP $CPPFLAGS'
31554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31557
31558       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31559 /* end confdefs.h.  */
31560 #include <math.h>
31561 int
31562 main ()
31563 {
31564  powl(0, 0);
31565   ;
31566   return 0;
31567 }
31568 _ACEOF
31569 if ac_fn_cxx_try_compile "$LINENO"; then :
31570   glibcxx_cv_func_powl_use=yes
31571 else
31572   glibcxx_cv_func_powl_use=no
31573 fi
31574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31575       ac_ext=c
31576 ac_cpp='$CPP $CPPFLAGS'
31577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31580
31581
31582 fi
31583
31584   fi
31585   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
31586 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
31587
31588   if test x$glibcxx_cv_func_powl_use = x"yes"; then
31589     for ac_func in powl
31590 do :
31591   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
31592 if test "x$ac_cv_func_powl" = x""yes; then :
31593   cat >>confdefs.h <<_ACEOF
31594 #define HAVE_POWL 1
31595 _ACEOF
31596
31597 fi
31598 done
31599
31600   else
31601
31602   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
31603 $as_echo_n "checking for _powl declaration... " >&6; }
31604   if test x${glibcxx_cv_func__powl_use+set} != xset; then
31605     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
31606   $as_echo_n "(cached) " >&6
31607 else
31608
31609
31610       ac_ext=cpp
31611 ac_cpp='$CXXCPP $CPPFLAGS'
31612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31615
31616       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31617 /* end confdefs.h.  */
31618 #include <math.h>
31619 int
31620 main ()
31621 {
31622  _powl(0, 0);
31623   ;
31624   return 0;
31625 }
31626 _ACEOF
31627 if ac_fn_cxx_try_compile "$LINENO"; then :
31628   glibcxx_cv_func__powl_use=yes
31629 else
31630   glibcxx_cv_func__powl_use=no
31631 fi
31632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31633       ac_ext=c
31634 ac_cpp='$CPP $CPPFLAGS'
31635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31638
31639
31640 fi
31641
31642   fi
31643   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
31644 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
31645
31646     if test x$glibcxx_cv_func__powl_use = x"yes"; then
31647       for ac_func in _powl
31648 do :
31649   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
31650 if test "x$ac_cv_func__powl" = x""yes; then :
31651   cat >>confdefs.h <<_ACEOF
31652 #define HAVE__POWL 1
31653 _ACEOF
31654
31655 fi
31656 done
31657
31658     fi
31659   fi
31660
31661
31662
31663
31664
31665   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
31666 $as_echo_n "checking for sqrtl declaration... " >&6; }
31667   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
31668     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
31669   $as_echo_n "(cached) " >&6
31670 else
31671
31672
31673       ac_ext=cpp
31674 ac_cpp='$CXXCPP $CPPFLAGS'
31675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31678
31679       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31680 /* end confdefs.h.  */
31681 #include <math.h>
31682                       #ifdef HAVE_IEEEFP_H
31683                       #include <ieeefp.h>
31684                       #endif
31685
31686 int
31687 main ()
31688 {
31689  sqrtl(0);
31690   ;
31691   return 0;
31692 }
31693 _ACEOF
31694 if ac_fn_cxx_try_compile "$LINENO"; then :
31695   glibcxx_cv_func_sqrtl_use=yes
31696 else
31697   glibcxx_cv_func_sqrtl_use=no
31698 fi
31699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31700       ac_ext=c
31701 ac_cpp='$CPP $CPPFLAGS'
31702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31705
31706
31707 fi
31708
31709   fi
31710   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
31711 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
31712
31713   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
31714     for ac_func in sqrtl
31715 do :
31716   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
31717 if test "x$ac_cv_func_sqrtl" = x""yes; then :
31718   cat >>confdefs.h <<_ACEOF
31719 #define HAVE_SQRTL 1
31720 _ACEOF
31721
31722 fi
31723 done
31724
31725   else
31726
31727   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
31728 $as_echo_n "checking for _sqrtl declaration... " >&6; }
31729   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
31730     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
31731   $as_echo_n "(cached) " >&6
31732 else
31733
31734
31735       ac_ext=cpp
31736 ac_cpp='$CXXCPP $CPPFLAGS'
31737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31740
31741       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31742 /* end confdefs.h.  */
31743 #include <math.h>
31744                       #ifdef HAVE_IEEEFP_H
31745                       #include <ieeefp.h>
31746                       #endif
31747
31748 int
31749 main ()
31750 {
31751  _sqrtl(0);
31752   ;
31753   return 0;
31754 }
31755 _ACEOF
31756 if ac_fn_cxx_try_compile "$LINENO"; then :
31757   glibcxx_cv_func__sqrtl_use=yes
31758 else
31759   glibcxx_cv_func__sqrtl_use=no
31760 fi
31761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31762       ac_ext=c
31763 ac_cpp='$CPP $CPPFLAGS'
31764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31767
31768
31769 fi
31770
31771   fi
31772   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
31773 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
31774
31775     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
31776       for ac_func in _sqrtl
31777 do :
31778   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
31779 if test "x$ac_cv_func__sqrtl" = x""yes; then :
31780   cat >>confdefs.h <<_ACEOF
31781 #define HAVE__SQRTL 1
31782 _ACEOF
31783
31784 fi
31785 done
31786
31787     fi
31788   fi
31789
31790
31791
31792
31793
31794   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
31795 $as_echo_n "checking for sincosl declaration... " >&6; }
31796   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
31797     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
31798   $as_echo_n "(cached) " >&6
31799 else
31800
31801
31802       ac_ext=cpp
31803 ac_cpp='$CXXCPP $CPPFLAGS'
31804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31807
31808       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31809 /* end confdefs.h.  */
31810 #include <math.h>
31811 int
31812 main ()
31813 {
31814  sincosl(0, 0, 0);
31815   ;
31816   return 0;
31817 }
31818 _ACEOF
31819 if ac_fn_cxx_try_compile "$LINENO"; then :
31820   glibcxx_cv_func_sincosl_use=yes
31821 else
31822   glibcxx_cv_func_sincosl_use=no
31823 fi
31824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31825       ac_ext=c
31826 ac_cpp='$CPP $CPPFLAGS'
31827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31830
31831
31832 fi
31833
31834   fi
31835   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
31836 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
31837
31838   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
31839     for ac_func in sincosl
31840 do :
31841   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
31842 if test "x$ac_cv_func_sincosl" = x""yes; then :
31843   cat >>confdefs.h <<_ACEOF
31844 #define HAVE_SINCOSL 1
31845 _ACEOF
31846
31847 fi
31848 done
31849
31850   else
31851
31852   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
31853 $as_echo_n "checking for _sincosl declaration... " >&6; }
31854   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
31855     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
31856   $as_echo_n "(cached) " >&6
31857 else
31858
31859
31860       ac_ext=cpp
31861 ac_cpp='$CXXCPP $CPPFLAGS'
31862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31865
31866       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31867 /* end confdefs.h.  */
31868 #include <math.h>
31869 int
31870 main ()
31871 {
31872  _sincosl(0, 0, 0);
31873   ;
31874   return 0;
31875 }
31876 _ACEOF
31877 if ac_fn_cxx_try_compile "$LINENO"; then :
31878   glibcxx_cv_func__sincosl_use=yes
31879 else
31880   glibcxx_cv_func__sincosl_use=no
31881 fi
31882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31883       ac_ext=c
31884 ac_cpp='$CPP $CPPFLAGS'
31885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31888
31889
31890 fi
31891
31892   fi
31893   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
31894 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
31895
31896     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
31897       for ac_func in _sincosl
31898 do :
31899   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
31900 if test "x$ac_cv_func__sincosl" = x""yes; then :
31901   cat >>confdefs.h <<_ACEOF
31902 #define HAVE__SINCOSL 1
31903 _ACEOF
31904
31905 fi
31906 done
31907
31908     fi
31909   fi
31910
31911
31912
31913
31914
31915   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
31916 $as_echo_n "checking for finitel declaration... " >&6; }
31917   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
31918     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
31919   $as_echo_n "(cached) " >&6
31920 else
31921
31922
31923       ac_ext=cpp
31924 ac_cpp='$CXXCPP $CPPFLAGS'
31925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31928
31929       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31930 /* end confdefs.h.  */
31931 #include <math.h>
31932                       #ifdef HAVE_IEEEFP_H
31933                       #include <ieeefp.h>
31934                       #endif
31935
31936 int
31937 main ()
31938 {
31939  finitel(0);
31940   ;
31941   return 0;
31942 }
31943 _ACEOF
31944 if ac_fn_cxx_try_compile "$LINENO"; then :
31945   glibcxx_cv_func_finitel_use=yes
31946 else
31947   glibcxx_cv_func_finitel_use=no
31948 fi
31949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31950       ac_ext=c
31951 ac_cpp='$CPP $CPPFLAGS'
31952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31955
31956
31957 fi
31958
31959   fi
31960   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
31961 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
31962
31963   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
31964     for ac_func in finitel
31965 do :
31966   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
31967 if test "x$ac_cv_func_finitel" = x""yes; then :
31968   cat >>confdefs.h <<_ACEOF
31969 #define HAVE_FINITEL 1
31970 _ACEOF
31971
31972 fi
31973 done
31974
31975   else
31976
31977   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
31978 $as_echo_n "checking for _finitel declaration... " >&6; }
31979   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
31980     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
31981   $as_echo_n "(cached) " >&6
31982 else
31983
31984
31985       ac_ext=cpp
31986 ac_cpp='$CXXCPP $CPPFLAGS'
31987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31990
31991       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31992 /* end confdefs.h.  */
31993 #include <math.h>
31994                       #ifdef HAVE_IEEEFP_H
31995                       #include <ieeefp.h>
31996                       #endif
31997
31998 int
31999 main ()
32000 {
32001  _finitel(0);
32002   ;
32003   return 0;
32004 }
32005 _ACEOF
32006 if ac_fn_cxx_try_compile "$LINENO"; then :
32007   glibcxx_cv_func__finitel_use=yes
32008 else
32009   glibcxx_cv_func__finitel_use=no
32010 fi
32011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32012       ac_ext=c
32013 ac_cpp='$CPP $CPPFLAGS'
32014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32017
32018
32019 fi
32020
32021   fi
32022   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
32023 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
32024
32025     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
32026       for ac_func in _finitel
32027 do :
32028   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
32029 if test "x$ac_cv_func__finitel" = x""yes; then :
32030   cat >>confdefs.h <<_ACEOF
32031 #define HAVE__FINITEL 1
32032 _ACEOF
32033
32034 fi
32035 done
32036
32037     fi
32038   fi
32039
32040
32041
32042
32043   LIBS="$ac_save_LIBS"
32044   CXXFLAGS="$ac_save_CXXFLAGS"
32045
32046
32047   ac_test_CXXFLAGS="${CXXFLAGS+set}"
32048   ac_save_CXXFLAGS="$CXXFLAGS"
32049   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
32050
32051
32052   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
32053 $as_echo_n "checking for strtold declaration... " >&6; }
32054   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
32055     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
32056   $as_echo_n "(cached) " >&6
32057 else
32058
32059
32060       ac_ext=cpp
32061 ac_cpp='$CXXCPP $CPPFLAGS'
32062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32065
32066       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32067 /* end confdefs.h.  */
32068 #include <stdlib.h>
32069 int
32070 main ()
32071 {
32072  strtold(0, 0);
32073   ;
32074   return 0;
32075 }
32076 _ACEOF
32077 if ac_fn_cxx_try_compile "$LINENO"; then :
32078   glibcxx_cv_func_strtold_use=yes
32079 else
32080   glibcxx_cv_func_strtold_use=no
32081 fi
32082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32083       ac_ext=c
32084 ac_cpp='$CPP $CPPFLAGS'
32085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32088
32089
32090 fi
32091
32092   fi
32093   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
32094 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
32095   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
32096     for ac_func in strtold
32097 do :
32098   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
32099 if test "x$ac_cv_func_strtold" = x""yes; then :
32100   cat >>confdefs.h <<_ACEOF
32101 #define HAVE_STRTOLD 1
32102 _ACEOF
32103
32104 fi
32105 done
32106
32107   fi
32108
32109
32110
32111
32112   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
32113 $as_echo_n "checking for strtof declaration... " >&6; }
32114   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
32115     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
32116   $as_echo_n "(cached) " >&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 confdefs.h - <<_ACEOF >conftest.$ac_ext
32127 /* end confdefs.h.  */
32128 #include <stdlib.h>
32129 int
32130 main ()
32131 {
32132  strtof(0, 0);
32133   ;
32134   return 0;
32135 }
32136 _ACEOF
32137 if ac_fn_cxx_try_compile "$LINENO"; then :
32138   glibcxx_cv_func_strtof_use=yes
32139 else
32140   glibcxx_cv_func_strtof_use=no
32141 fi
32142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32143       ac_ext=c
32144 ac_cpp='$CPP $CPPFLAGS'
32145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32148
32149
32150 fi
32151
32152   fi
32153   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
32154 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
32155   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
32156     for ac_func in strtof
32157 do :
32158   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
32159 if test "x$ac_cv_func_strtof" = x""yes; then :
32160   cat >>confdefs.h <<_ACEOF
32161 #define HAVE_STRTOF 1
32162 _ACEOF
32163
32164 fi
32165 done
32166
32167   fi
32168
32169
32170
32171
32172   CXXFLAGS="$ac_save_CXXFLAGS"
32173
32174
32175     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
32176
32177     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
32178
32179     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
32180
32181     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
32182
32183
32184     $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
32185
32186     $as_echo "#define HAVE_MODF 1" >>confdefs.h
32187
32188     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
32189
32190     ;;
32191
32192   *-aix*)
32193
32194   # If we're not using GNU ld, then there's no point in even trying these
32195   # tests.  Check for that first.  We should have already tested for gld
32196   # by now (in libtool), but require it now just to be safe...
32197   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
32198   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
32199
32200
32201
32202   # The name set by libtool depends on the version of libtool.  Shame on us
32203   # for depending on an impl detail, but c'est la vie.  Older versions used
32204   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
32205   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
32206   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
32207   # set (hence we're using an older libtool), then set it.
32208   if test x${with_gnu_ld+set} != xset; then
32209     if test x${ac_cv_prog_gnu_ld+set} != xset; then
32210       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
32211       with_gnu_ld=no
32212     else
32213       with_gnu_ld=$ac_cv_prog_gnu_ld
32214     fi
32215   fi
32216
32217   # Start by getting the version number.  I think the libtool test already
32218   # does some of this, but throws away the result.
32219   glibcxx_ld_is_gold=no
32220   if test x"$with_gnu_ld" = x"yes"; then
32221     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
32222 $as_echo_n "checking for ld version... " >&6; }
32223
32224     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
32225       glibcxx_ld_is_gold=yes
32226     fi
32227     ldver=`$LD --version 2>/dev/null | head -1 | \
32228            sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
32229
32230     glibcxx_gnu_ld_version=`echo $ldver | \
32231            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
32232     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
32233 $as_echo "$glibcxx_gnu_ld_version" >&6; }
32234   fi
32235
32236   # Set --gc-sections.
32237   glibcxx_have_gc_sections=no
32238   if test "$glibcxx_ld_is_gold" = "yes"; then
32239     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
32240       glibcxx_have_gc_sections=yes
32241     fi
32242   else
32243     glibcxx_gcsections_min_ld=21602
32244     if test x"$with_gnu_ld" = x"yes" &&
32245         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
32246       glibcxx_have_gc_sections=yes
32247     fi
32248   fi
32249   if test "$glibcxx_have_gc_sections" = "yes"; then
32250     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
32251     # NB: This flag only works reliably after 2.16.1. Configure tests
32252     # for this are difficult, so hard wire a value that should work.
32253
32254     ac_test_CFLAGS="${CFLAGS+set}"
32255     ac_save_CFLAGS="$CFLAGS"
32256     CFLAGS='-Wl,--gc-sections'
32257
32258     # Check for -Wl,--gc-sections
32259     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
32260 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
32261     if test x$gcc_no_link = xyes; then
32262   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
32263 fi
32264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32265 /* end confdefs.h.  */
32266  int one(void) { return 1; }
32267      int two(void) { return 2; }
32268
32269 int
32270 main ()
32271 {
32272  two();
32273   ;
32274   return 0;
32275 }
32276 _ACEOF
32277 if ac_fn_c_try_link "$LINENO"; then :
32278   ac_gcsections=yes
32279 else
32280   ac_gcsections=no
32281 fi
32282 rm -f core conftest.err conftest.$ac_objext \
32283     conftest$ac_exeext conftest.$ac_ext
32284     if test "$ac_gcsections" = "yes"; then
32285       rm -f conftest.c
32286       touch conftest.c
32287       if $CC -c conftest.c; then
32288         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
32289            grep "Warning: gc-sections option ignored" > /dev/null; then
32290           ac_gcsections=no
32291         fi
32292       fi
32293       rm -f conftest.c conftest.o conftest
32294     fi
32295     if test "$ac_gcsections" = "yes"; then
32296       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
32297     fi
32298     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
32299 $as_echo "$ac_gcsections" >&6; }
32300
32301     if test "$ac_test_CFLAGS" = set; then
32302       CFLAGS="$ac_save_CFLAGS"
32303     else
32304       # this is the suspicious part
32305       CFLAGS=''
32306     fi
32307   fi
32308
32309   # Set -z,relro.
32310   # Note this is only for shared objects.
32311   ac_ld_relro=no
32312   if test x"$with_gnu_ld" = x"yes"; then
32313     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
32314 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
32315     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
32316     if test -n "$cxx_z_relo"; then
32317       OPT_LDFLAGS="-Wl,-z,relro"
32318       ac_ld_relro=yes
32319     fi
32320     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
32321 $as_echo "$ac_ld_relro" >&6; }
32322   fi
32323
32324   # Set linker optimization flags.
32325   if test x"$with_gnu_ld" = x"yes"; then
32326     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
32327   fi
32328
32329
32330
32331
32332
32333   ac_test_CXXFLAGS="${CXXFLAGS+set}"
32334   ac_save_CXXFLAGS="$CXXFLAGS"
32335   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
32336
32337     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
32338 $as_echo_n "checking for sin in -lm... " >&6; }
32339 if test "${ac_cv_lib_m_sin+set}" = set; then :
32340   $as_echo_n "(cached) " >&6
32341 else
32342   ac_check_lib_save_LIBS=$LIBS
32343 LIBS="-lm  $LIBS"
32344 if test x$gcc_no_link = xyes; then
32345   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
32346 fi
32347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32348 /* end confdefs.h.  */
32349
32350 /* Override any GCC internal prototype to avoid an error.
32351    Use char because int might match the return type of a GCC
32352    builtin and then its argument prototype would still apply.  */
32353 #ifdef __cplusplus
32354 extern "C"
32355 #endif
32356 char sin ();
32357 int
32358 main ()
32359 {
32360 return sin ();
32361   ;
32362   return 0;
32363 }
32364 _ACEOF
32365 if ac_fn_c_try_link "$LINENO"; then :
32366   ac_cv_lib_m_sin=yes
32367 else
32368   ac_cv_lib_m_sin=no
32369 fi
32370 rm -f core conftest.err conftest.$ac_objext \
32371     conftest$ac_exeext conftest.$ac_ext
32372 LIBS=$ac_check_lib_save_LIBS
32373 fi
32374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
32375 $as_echo "$ac_cv_lib_m_sin" >&6; }
32376 if test "x$ac_cv_lib_m_sin" = x""yes; then :
32377   libm="-lm"
32378 fi
32379
32380   ac_save_LIBS="$LIBS"
32381   LIBS="$LIBS $libm"
32382
32383
32384
32385   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
32386 $as_echo_n "checking for isinf declaration... " >&6; }
32387   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
32388     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
32389   $as_echo_n "(cached) " >&6
32390 else
32391
32392
32393       ac_ext=cpp
32394 ac_cpp='$CXXCPP $CPPFLAGS'
32395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32398
32399       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32400 /* end confdefs.h.  */
32401 #include <math.h>
32402                       #ifdef HAVE_IEEEFP_H
32403                       #include <ieeefp.h>
32404                       #endif
32405
32406 int
32407 main ()
32408 {
32409  isinf(0);
32410   ;
32411   return 0;
32412 }
32413 _ACEOF
32414 if ac_fn_cxx_try_compile "$LINENO"; then :
32415   glibcxx_cv_func_isinf_use=yes
32416 else
32417   glibcxx_cv_func_isinf_use=no
32418 fi
32419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32420       ac_ext=c
32421 ac_cpp='$CPP $CPPFLAGS'
32422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32425
32426
32427 fi
32428
32429   fi
32430   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
32431 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
32432
32433   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
32434     for ac_func in isinf
32435 do :
32436   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
32437 if test "x$ac_cv_func_isinf" = x""yes; then :
32438   cat >>confdefs.h <<_ACEOF
32439 #define HAVE_ISINF 1
32440 _ACEOF
32441
32442 fi
32443 done
32444
32445   else
32446
32447   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
32448 $as_echo_n "checking for _isinf declaration... " >&6; }
32449   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
32450     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
32451   $as_echo_n "(cached) " >&6
32452 else
32453
32454
32455       ac_ext=cpp
32456 ac_cpp='$CXXCPP $CPPFLAGS'
32457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32460
32461       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32462 /* end confdefs.h.  */
32463 #include <math.h>
32464                       #ifdef HAVE_IEEEFP_H
32465                       #include <ieeefp.h>
32466                       #endif
32467
32468 int
32469 main ()
32470 {
32471  _isinf(0);
32472   ;
32473   return 0;
32474 }
32475 _ACEOF
32476 if ac_fn_cxx_try_compile "$LINENO"; then :
32477   glibcxx_cv_func__isinf_use=yes
32478 else
32479   glibcxx_cv_func__isinf_use=no
32480 fi
32481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32482       ac_ext=c
32483 ac_cpp='$CPP $CPPFLAGS'
32484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32487
32488
32489 fi
32490
32491   fi
32492   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
32493 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
32494
32495     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
32496       for ac_func in _isinf
32497 do :
32498   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
32499 if test "x$ac_cv_func__isinf" = x""yes; then :
32500   cat >>confdefs.h <<_ACEOF
32501 #define HAVE__ISINF 1
32502 _ACEOF
32503
32504 fi
32505 done
32506
32507     fi
32508   fi
32509
32510
32511
32512
32513
32514   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
32515 $as_echo_n "checking for isnan declaration... " >&6; }
32516   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
32517     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
32518   $as_echo_n "(cached) " >&6
32519 else
32520
32521
32522       ac_ext=cpp
32523 ac_cpp='$CXXCPP $CPPFLAGS'
32524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32527
32528       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32529 /* end confdefs.h.  */
32530 #include <math.h>
32531                       #ifdef HAVE_IEEEFP_H
32532                       #include <ieeefp.h>
32533                       #endif
32534
32535 int
32536 main ()
32537 {
32538  isnan(0);
32539   ;
32540   return 0;
32541 }
32542 _ACEOF
32543 if ac_fn_cxx_try_compile "$LINENO"; then :
32544   glibcxx_cv_func_isnan_use=yes
32545 else
32546   glibcxx_cv_func_isnan_use=no
32547 fi
32548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32549       ac_ext=c
32550 ac_cpp='$CPP $CPPFLAGS'
32551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32554
32555
32556 fi
32557
32558   fi
32559   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
32560 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
32561
32562   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
32563     for ac_func in isnan
32564 do :
32565   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
32566 if test "x$ac_cv_func_isnan" = x""yes; then :
32567   cat >>confdefs.h <<_ACEOF
32568 #define HAVE_ISNAN 1
32569 _ACEOF
32570
32571 fi
32572 done
32573
32574   else
32575
32576   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
32577 $as_echo_n "checking for _isnan declaration... " >&6; }
32578   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
32579     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
32580   $as_echo_n "(cached) " >&6
32581 else
32582
32583
32584       ac_ext=cpp
32585 ac_cpp='$CXXCPP $CPPFLAGS'
32586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32589
32590       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32591 /* end confdefs.h.  */
32592 #include <math.h>
32593                       #ifdef HAVE_IEEEFP_H
32594                       #include <ieeefp.h>
32595                       #endif
32596
32597 int
32598 main ()
32599 {
32600  _isnan(0);
32601   ;
32602   return 0;
32603 }
32604 _ACEOF
32605 if ac_fn_cxx_try_compile "$LINENO"; then :
32606   glibcxx_cv_func__isnan_use=yes
32607 else
32608   glibcxx_cv_func__isnan_use=no
32609 fi
32610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32611       ac_ext=c
32612 ac_cpp='$CPP $CPPFLAGS'
32613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32616
32617
32618 fi
32619
32620   fi
32621   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
32622 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
32623
32624     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
32625       for ac_func in _isnan
32626 do :
32627   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
32628 if test "x$ac_cv_func__isnan" = x""yes; then :
32629   cat >>confdefs.h <<_ACEOF
32630 #define HAVE__ISNAN 1
32631 _ACEOF
32632
32633 fi
32634 done
32635
32636     fi
32637   fi
32638
32639
32640
32641
32642
32643   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
32644 $as_echo_n "checking for finite declaration... " >&6; }
32645   if test x${glibcxx_cv_func_finite_use+set} != xset; then
32646     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
32647   $as_echo_n "(cached) " >&6
32648 else
32649
32650
32651       ac_ext=cpp
32652 ac_cpp='$CXXCPP $CPPFLAGS'
32653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32656
32657       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32658 /* end confdefs.h.  */
32659 #include <math.h>
32660                       #ifdef HAVE_IEEEFP_H
32661                       #include <ieeefp.h>
32662                       #endif
32663
32664 int
32665 main ()
32666 {
32667  finite(0);
32668   ;
32669   return 0;
32670 }
32671 _ACEOF
32672 if ac_fn_cxx_try_compile "$LINENO"; then :
32673   glibcxx_cv_func_finite_use=yes
32674 else
32675   glibcxx_cv_func_finite_use=no
32676 fi
32677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32678       ac_ext=c
32679 ac_cpp='$CPP $CPPFLAGS'
32680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32683
32684
32685 fi
32686
32687   fi
32688   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
32689 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
32690
32691   if test x$glibcxx_cv_func_finite_use = x"yes"; then
32692     for ac_func in finite
32693 do :
32694   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
32695 if test "x$ac_cv_func_finite" = x""yes; then :
32696   cat >>confdefs.h <<_ACEOF
32697 #define HAVE_FINITE 1
32698 _ACEOF
32699
32700 fi
32701 done
32702
32703   else
32704
32705   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
32706 $as_echo_n "checking for _finite declaration... " >&6; }
32707   if test x${glibcxx_cv_func__finite_use+set} != xset; then
32708     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
32709   $as_echo_n "(cached) " >&6
32710 else
32711
32712
32713       ac_ext=cpp
32714 ac_cpp='$CXXCPP $CPPFLAGS'
32715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32718
32719       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32720 /* end confdefs.h.  */
32721 #include <math.h>
32722                       #ifdef HAVE_IEEEFP_H
32723                       #include <ieeefp.h>
32724                       #endif
32725
32726 int
32727 main ()
32728 {
32729  _finite(0);
32730   ;
32731   return 0;
32732 }
32733 _ACEOF
32734 if ac_fn_cxx_try_compile "$LINENO"; then :
32735   glibcxx_cv_func__finite_use=yes
32736 else
32737   glibcxx_cv_func__finite_use=no
32738 fi
32739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32740       ac_ext=c
32741 ac_cpp='$CPP $CPPFLAGS'
32742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32745
32746
32747 fi
32748
32749   fi
32750   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
32751 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
32752
32753     if test x$glibcxx_cv_func__finite_use = x"yes"; then
32754       for ac_func in _finite
32755 do :
32756   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
32757 if test "x$ac_cv_func__finite" = x""yes; then :
32758   cat >>confdefs.h <<_ACEOF
32759 #define HAVE__FINITE 1
32760 _ACEOF
32761
32762 fi
32763 done
32764
32765     fi
32766   fi
32767
32768
32769
32770
32771
32772   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
32773 $as_echo_n "checking for sincos declaration... " >&6; }
32774   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
32775     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
32776   $as_echo_n "(cached) " >&6
32777 else
32778
32779
32780       ac_ext=cpp
32781 ac_cpp='$CXXCPP $CPPFLAGS'
32782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32785
32786       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32787 /* end confdefs.h.  */
32788 #include <math.h>
32789 int
32790 main ()
32791 {
32792  sincos(0, 0, 0);
32793   ;
32794   return 0;
32795 }
32796 _ACEOF
32797 if ac_fn_cxx_try_compile "$LINENO"; then :
32798   glibcxx_cv_func_sincos_use=yes
32799 else
32800   glibcxx_cv_func_sincos_use=no
32801 fi
32802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32803       ac_ext=c
32804 ac_cpp='$CPP $CPPFLAGS'
32805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32808
32809
32810 fi
32811
32812   fi
32813   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
32814 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
32815
32816   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
32817     for ac_func in sincos
32818 do :
32819   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
32820 if test "x$ac_cv_func_sincos" = x""yes; then :
32821   cat >>confdefs.h <<_ACEOF
32822 #define HAVE_SINCOS 1
32823 _ACEOF
32824
32825 fi
32826 done
32827
32828   else
32829
32830   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
32831 $as_echo_n "checking for _sincos declaration... " >&6; }
32832   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
32833     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
32834   $as_echo_n "(cached) " >&6
32835 else
32836
32837
32838       ac_ext=cpp
32839 ac_cpp='$CXXCPP $CPPFLAGS'
32840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32843
32844       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32845 /* end confdefs.h.  */
32846 #include <math.h>
32847 int
32848 main ()
32849 {
32850  _sincos(0, 0, 0);
32851   ;
32852   return 0;
32853 }
32854 _ACEOF
32855 if ac_fn_cxx_try_compile "$LINENO"; then :
32856   glibcxx_cv_func__sincos_use=yes
32857 else
32858   glibcxx_cv_func__sincos_use=no
32859 fi
32860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32861       ac_ext=c
32862 ac_cpp='$CPP $CPPFLAGS'
32863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32866
32867
32868 fi
32869
32870   fi
32871   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
32872 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
32873
32874     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
32875       for ac_func in _sincos
32876 do :
32877   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
32878 if test "x$ac_cv_func__sincos" = x""yes; then :
32879   cat >>confdefs.h <<_ACEOF
32880 #define HAVE__SINCOS 1
32881 _ACEOF
32882
32883 fi
32884 done
32885
32886     fi
32887   fi
32888
32889
32890
32891
32892
32893   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
32894 $as_echo_n "checking for fpclass declaration... " >&6; }
32895   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
32896     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
32897   $as_echo_n "(cached) " >&6
32898 else
32899
32900
32901       ac_ext=cpp
32902 ac_cpp='$CXXCPP $CPPFLAGS'
32903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32906
32907       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32908 /* end confdefs.h.  */
32909 #include <math.h>
32910                       #ifdef HAVE_IEEEFP_H
32911                       #include <ieeefp.h>
32912                       #endif
32913
32914 int
32915 main ()
32916 {
32917  fpclass(0);
32918   ;
32919   return 0;
32920 }
32921 _ACEOF
32922 if ac_fn_cxx_try_compile "$LINENO"; then :
32923   glibcxx_cv_func_fpclass_use=yes
32924 else
32925   glibcxx_cv_func_fpclass_use=no
32926 fi
32927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32928       ac_ext=c
32929 ac_cpp='$CPP $CPPFLAGS'
32930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32933
32934
32935 fi
32936
32937   fi
32938   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
32939 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
32940
32941   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
32942     for ac_func in fpclass
32943 do :
32944   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
32945 if test "x$ac_cv_func_fpclass" = x""yes; then :
32946   cat >>confdefs.h <<_ACEOF
32947 #define HAVE_FPCLASS 1
32948 _ACEOF
32949
32950 fi
32951 done
32952
32953   else
32954
32955   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
32956 $as_echo_n "checking for _fpclass declaration... " >&6; }
32957   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
32958     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
32959   $as_echo_n "(cached) " >&6
32960 else
32961
32962
32963       ac_ext=cpp
32964 ac_cpp='$CXXCPP $CPPFLAGS'
32965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32968
32969       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32970 /* end confdefs.h.  */
32971 #include <math.h>
32972                       #ifdef HAVE_IEEEFP_H
32973                       #include <ieeefp.h>
32974                       #endif
32975
32976 int
32977 main ()
32978 {
32979  _fpclass(0);
32980   ;
32981   return 0;
32982 }
32983 _ACEOF
32984 if ac_fn_cxx_try_compile "$LINENO"; then :
32985   glibcxx_cv_func__fpclass_use=yes
32986 else
32987   glibcxx_cv_func__fpclass_use=no
32988 fi
32989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32990       ac_ext=c
32991 ac_cpp='$CPP $CPPFLAGS'
32992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32995
32996
32997 fi
32998
32999   fi
33000   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
33001 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
33002
33003     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
33004       for ac_func in _fpclass
33005 do :
33006   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
33007 if test "x$ac_cv_func__fpclass" = x""yes; then :
33008   cat >>confdefs.h <<_ACEOF
33009 #define HAVE__FPCLASS 1
33010 _ACEOF
33011
33012 fi
33013 done
33014
33015     fi
33016   fi
33017
33018
33019
33020
33021
33022   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
33023 $as_echo_n "checking for qfpclass declaration... " >&6; }
33024   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
33025     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
33026   $as_echo_n "(cached) " >&6
33027 else
33028
33029
33030       ac_ext=cpp
33031 ac_cpp='$CXXCPP $CPPFLAGS'
33032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33035
33036       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33037 /* end confdefs.h.  */
33038 #include <math.h>
33039                       #ifdef HAVE_IEEEFP_H
33040                       #include <ieeefp.h>
33041                       #endif
33042
33043 int
33044 main ()
33045 {
33046  qfpclass(0);
33047   ;
33048   return 0;
33049 }
33050 _ACEOF
33051 if ac_fn_cxx_try_compile "$LINENO"; then :
33052   glibcxx_cv_func_qfpclass_use=yes
33053 else
33054   glibcxx_cv_func_qfpclass_use=no
33055 fi
33056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33057       ac_ext=c
33058 ac_cpp='$CPP $CPPFLAGS'
33059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33062
33063
33064 fi
33065
33066   fi
33067   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
33068 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
33069
33070   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
33071     for ac_func in qfpclass
33072 do :
33073   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
33074 if test "x$ac_cv_func_qfpclass" = x""yes; then :
33075   cat >>confdefs.h <<_ACEOF
33076 #define HAVE_QFPCLASS 1
33077 _ACEOF
33078
33079 fi
33080 done
33081
33082   else
33083
33084   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
33085 $as_echo_n "checking for _qfpclass declaration... " >&6; }
33086   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
33087     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
33088   $as_echo_n "(cached) " >&6
33089 else
33090
33091
33092       ac_ext=cpp
33093 ac_cpp='$CXXCPP $CPPFLAGS'
33094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33097
33098       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33099 /* end confdefs.h.  */
33100 #include <math.h>
33101                       #ifdef HAVE_IEEEFP_H
33102                       #include <ieeefp.h>
33103                       #endif
33104
33105 int
33106 main ()
33107 {
33108  _qfpclass(0);
33109   ;
33110   return 0;
33111 }
33112 _ACEOF
33113 if ac_fn_cxx_try_compile "$LINENO"; then :
33114   glibcxx_cv_func__qfpclass_use=yes
33115 else
33116   glibcxx_cv_func__qfpclass_use=no
33117 fi
33118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33119       ac_ext=c
33120 ac_cpp='$CPP $CPPFLAGS'
33121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33124
33125
33126 fi
33127
33128   fi
33129   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
33130 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
33131
33132     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
33133       for ac_func in _qfpclass
33134 do :
33135   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
33136 if test "x$ac_cv_func__qfpclass" = x""yes; then :
33137   cat >>confdefs.h <<_ACEOF
33138 #define HAVE__QFPCLASS 1
33139 _ACEOF
33140
33141 fi
33142 done
33143
33144     fi
33145   fi
33146
33147
33148
33149
33150
33151   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
33152 $as_echo_n "checking for hypot declaration... " >&6; }
33153   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
33154     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
33155   $as_echo_n "(cached) " >&6
33156 else
33157
33158
33159       ac_ext=cpp
33160 ac_cpp='$CXXCPP $CPPFLAGS'
33161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33164
33165       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33166 /* end confdefs.h.  */
33167 #include <math.h>
33168 int
33169 main ()
33170 {
33171  hypot(0, 0);
33172   ;
33173   return 0;
33174 }
33175 _ACEOF
33176 if ac_fn_cxx_try_compile "$LINENO"; then :
33177   glibcxx_cv_func_hypot_use=yes
33178 else
33179   glibcxx_cv_func_hypot_use=no
33180 fi
33181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33182       ac_ext=c
33183 ac_cpp='$CPP $CPPFLAGS'
33184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33187
33188
33189 fi
33190
33191   fi
33192   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
33193 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
33194
33195   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
33196     for ac_func in hypot
33197 do :
33198   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
33199 if test "x$ac_cv_func_hypot" = x""yes; then :
33200   cat >>confdefs.h <<_ACEOF
33201 #define HAVE_HYPOT 1
33202 _ACEOF
33203
33204 fi
33205 done
33206
33207   else
33208
33209   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
33210 $as_echo_n "checking for _hypot declaration... " >&6; }
33211   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
33212     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
33213   $as_echo_n "(cached) " >&6
33214 else
33215
33216
33217       ac_ext=cpp
33218 ac_cpp='$CXXCPP $CPPFLAGS'
33219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33222
33223       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33224 /* end confdefs.h.  */
33225 #include <math.h>
33226 int
33227 main ()
33228 {
33229  _hypot(0, 0);
33230   ;
33231   return 0;
33232 }
33233 _ACEOF
33234 if ac_fn_cxx_try_compile "$LINENO"; then :
33235   glibcxx_cv_func__hypot_use=yes
33236 else
33237   glibcxx_cv_func__hypot_use=no
33238 fi
33239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33240       ac_ext=c
33241 ac_cpp='$CPP $CPPFLAGS'
33242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33245
33246
33247 fi
33248
33249   fi
33250   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
33251 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
33252
33253     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
33254       for ac_func in _hypot
33255 do :
33256   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
33257 if test "x$ac_cv_func__hypot" = x""yes; then :
33258   cat >>confdefs.h <<_ACEOF
33259 #define HAVE__HYPOT 1
33260 _ACEOF
33261
33262 fi
33263 done
33264
33265     fi
33266   fi
33267
33268
33269
33270
33271
33272     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
33273 $as_echo_n "checking for float trig functions... " >&6; }
33274   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
33275   $as_echo_n "(cached) " >&6
33276 else
33277
33278
33279     ac_ext=cpp
33280 ac_cpp='$CXXCPP $CPPFLAGS'
33281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33284
33285     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33286 /* end confdefs.h.  */
33287 #include <math.h>
33288 int
33289 main ()
33290 {
33291 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
33292   ;
33293   return 0;
33294 }
33295 _ACEOF
33296 if ac_fn_cxx_try_compile "$LINENO"; then :
33297   glibcxx_cv_func_float_trig_use=yes
33298 else
33299   glibcxx_cv_func_float_trig_use=no
33300 fi
33301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33302     ac_ext=c
33303 ac_cpp='$CPP $CPPFLAGS'
33304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33307
33308 fi
33309
33310   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
33311 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
33312   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
33313     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
33314 do :
33315   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33316 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33317 eval as_val=\$$as_ac_var
33318    if test "x$as_val" = x""yes; then :
33319   cat >>confdefs.h <<_ACEOF
33320 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33321 _ACEOF
33322
33323 fi
33324 done
33325
33326   else
33327     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
33328 $as_echo_n "checking for _float trig functions... " >&6; }
33329     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
33330   $as_echo_n "(cached) " >&6
33331 else
33332
33333
33334       ac_ext=cpp
33335 ac_cpp='$CXXCPP $CPPFLAGS'
33336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33339
33340       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33341 /* end confdefs.h.  */
33342 #include <math.h>
33343 int
33344 main ()
33345 {
33346 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
33347   ;
33348   return 0;
33349 }
33350 _ACEOF
33351 if ac_fn_cxx_try_compile "$LINENO"; then :
33352   glibcxx_cv_func__float_trig_use=yes
33353 else
33354   glibcxx_cv_func__float_trig_use=no
33355 fi
33356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33357       ac_ext=c
33358 ac_cpp='$CPP $CPPFLAGS'
33359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33362
33363 fi
33364
33365     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
33366 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
33367     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
33368       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
33369 do :
33370   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33371 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33372 eval as_val=\$$as_ac_var
33373    if test "x$as_val" = x""yes; then :
33374   cat >>confdefs.h <<_ACEOF
33375 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33376 _ACEOF
33377
33378 fi
33379 done
33380
33381     fi
33382   fi
33383
33384
33385
33386
33387
33388     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
33389 $as_echo_n "checking for float round functions... " >&6; }
33390   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
33391   $as_echo_n "(cached) " >&6
33392 else
33393
33394
33395     ac_ext=cpp
33396 ac_cpp='$CXXCPP $CPPFLAGS'
33397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33400
33401     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33402 /* end confdefs.h.  */
33403 #include <math.h>
33404 int
33405 main ()
33406 {
33407 ceilf (0); floorf (0);
33408   ;
33409   return 0;
33410 }
33411 _ACEOF
33412 if ac_fn_cxx_try_compile "$LINENO"; then :
33413   glibcxx_cv_func_float_round_use=yes
33414 else
33415   glibcxx_cv_func_float_round_use=no
33416 fi
33417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33418     ac_ext=c
33419 ac_cpp='$CPP $CPPFLAGS'
33420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33423
33424 fi
33425
33426   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
33427 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
33428   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
33429     for ac_func in ceilf floorf
33430 do :
33431   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33432 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33433 eval as_val=\$$as_ac_var
33434    if test "x$as_val" = x""yes; then :
33435   cat >>confdefs.h <<_ACEOF
33436 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33437 _ACEOF
33438
33439 fi
33440 done
33441
33442   else
33443     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
33444 $as_echo_n "checking for _float round functions... " >&6; }
33445     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
33446   $as_echo_n "(cached) " >&6
33447 else
33448
33449
33450       ac_ext=cpp
33451 ac_cpp='$CXXCPP $CPPFLAGS'
33452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33455
33456       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33457 /* end confdefs.h.  */
33458 #include <math.h>
33459 int
33460 main ()
33461 {
33462 _ceilf (0); _floorf (0);
33463   ;
33464   return 0;
33465 }
33466 _ACEOF
33467 if ac_fn_cxx_try_compile "$LINENO"; then :
33468   glibcxx_cv_func__float_round_use=yes
33469 else
33470   glibcxx_cv_func__float_round_use=no
33471 fi
33472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33473       ac_ext=c
33474 ac_cpp='$CPP $CPPFLAGS'
33475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33478
33479 fi
33480
33481     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
33482 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
33483     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
33484       for ac_func in _ceilf _floorf
33485 do :
33486   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33487 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33488 eval as_val=\$$as_ac_var
33489    if test "x$as_val" = x""yes; then :
33490   cat >>confdefs.h <<_ACEOF
33491 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33492 _ACEOF
33493
33494 fi
33495 done
33496
33497     fi
33498   fi
33499
33500
33501
33502
33503
33504
33505   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
33506 $as_echo_n "checking for expf declaration... " >&6; }
33507   if test x${glibcxx_cv_func_expf_use+set} != xset; then
33508     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
33509   $as_echo_n "(cached) " >&6
33510 else
33511
33512
33513       ac_ext=cpp
33514 ac_cpp='$CXXCPP $CPPFLAGS'
33515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33518
33519       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33520 /* end confdefs.h.  */
33521 #include <math.h>
33522                       #ifdef HAVE_IEEEFP_H
33523                       #include <ieeefp.h>
33524                       #endif
33525
33526 int
33527 main ()
33528 {
33529  expf(0);
33530   ;
33531   return 0;
33532 }
33533 _ACEOF
33534 if ac_fn_cxx_try_compile "$LINENO"; then :
33535   glibcxx_cv_func_expf_use=yes
33536 else
33537   glibcxx_cv_func_expf_use=no
33538 fi
33539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33540       ac_ext=c
33541 ac_cpp='$CPP $CPPFLAGS'
33542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33545
33546
33547 fi
33548
33549   fi
33550   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
33551 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
33552
33553   if test x$glibcxx_cv_func_expf_use = x"yes"; then
33554     for ac_func in expf
33555 do :
33556   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
33557 if test "x$ac_cv_func_expf" = x""yes; then :
33558   cat >>confdefs.h <<_ACEOF
33559 #define HAVE_EXPF 1
33560 _ACEOF
33561
33562 fi
33563 done
33564
33565   else
33566
33567   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
33568 $as_echo_n "checking for _expf declaration... " >&6; }
33569   if test x${glibcxx_cv_func__expf_use+set} != xset; then
33570     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
33571   $as_echo_n "(cached) " >&6
33572 else
33573
33574
33575       ac_ext=cpp
33576 ac_cpp='$CXXCPP $CPPFLAGS'
33577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33580
33581       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33582 /* end confdefs.h.  */
33583 #include <math.h>
33584                       #ifdef HAVE_IEEEFP_H
33585                       #include <ieeefp.h>
33586                       #endif
33587
33588 int
33589 main ()
33590 {
33591  _expf(0);
33592   ;
33593   return 0;
33594 }
33595 _ACEOF
33596 if ac_fn_cxx_try_compile "$LINENO"; then :
33597   glibcxx_cv_func__expf_use=yes
33598 else
33599   glibcxx_cv_func__expf_use=no
33600 fi
33601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33602       ac_ext=c
33603 ac_cpp='$CPP $CPPFLAGS'
33604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33607
33608
33609 fi
33610
33611   fi
33612   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
33613 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
33614
33615     if test x$glibcxx_cv_func__expf_use = x"yes"; then
33616       for ac_func in _expf
33617 do :
33618   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
33619 if test "x$ac_cv_func__expf" = x""yes; then :
33620   cat >>confdefs.h <<_ACEOF
33621 #define HAVE__EXPF 1
33622 _ACEOF
33623
33624 fi
33625 done
33626
33627     fi
33628   fi
33629
33630
33631
33632
33633
33634   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
33635 $as_echo_n "checking for isnanf declaration... " >&6; }
33636   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
33637     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
33638   $as_echo_n "(cached) " >&6
33639 else
33640
33641
33642       ac_ext=cpp
33643 ac_cpp='$CXXCPP $CPPFLAGS'
33644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33647
33648       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33649 /* end confdefs.h.  */
33650 #include <math.h>
33651                       #ifdef HAVE_IEEEFP_H
33652                       #include <ieeefp.h>
33653                       #endif
33654
33655 int
33656 main ()
33657 {
33658  isnanf(0);
33659   ;
33660   return 0;
33661 }
33662 _ACEOF
33663 if ac_fn_cxx_try_compile "$LINENO"; then :
33664   glibcxx_cv_func_isnanf_use=yes
33665 else
33666   glibcxx_cv_func_isnanf_use=no
33667 fi
33668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33669       ac_ext=c
33670 ac_cpp='$CPP $CPPFLAGS'
33671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33674
33675
33676 fi
33677
33678   fi
33679   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
33680 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
33681
33682   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
33683     for ac_func in isnanf
33684 do :
33685   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
33686 if test "x$ac_cv_func_isnanf" = x""yes; then :
33687   cat >>confdefs.h <<_ACEOF
33688 #define HAVE_ISNANF 1
33689 _ACEOF
33690
33691 fi
33692 done
33693
33694   else
33695
33696   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
33697 $as_echo_n "checking for _isnanf declaration... " >&6; }
33698   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
33699     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
33700   $as_echo_n "(cached) " >&6
33701 else
33702
33703
33704       ac_ext=cpp
33705 ac_cpp='$CXXCPP $CPPFLAGS'
33706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33709
33710       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33711 /* end confdefs.h.  */
33712 #include <math.h>
33713                       #ifdef HAVE_IEEEFP_H
33714                       #include <ieeefp.h>
33715                       #endif
33716
33717 int
33718 main ()
33719 {
33720  _isnanf(0);
33721   ;
33722   return 0;
33723 }
33724 _ACEOF
33725 if ac_fn_cxx_try_compile "$LINENO"; then :
33726   glibcxx_cv_func__isnanf_use=yes
33727 else
33728   glibcxx_cv_func__isnanf_use=no
33729 fi
33730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33731       ac_ext=c
33732 ac_cpp='$CPP $CPPFLAGS'
33733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33736
33737
33738 fi
33739
33740   fi
33741   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
33742 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
33743
33744     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
33745       for ac_func in _isnanf
33746 do :
33747   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
33748 if test "x$ac_cv_func__isnanf" = x""yes; then :
33749   cat >>confdefs.h <<_ACEOF
33750 #define HAVE__ISNANF 1
33751 _ACEOF
33752
33753 fi
33754 done
33755
33756     fi
33757   fi
33758
33759
33760
33761
33762
33763   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
33764 $as_echo_n "checking for isinff declaration... " >&6; }
33765   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
33766     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
33767   $as_echo_n "(cached) " >&6
33768 else
33769
33770
33771       ac_ext=cpp
33772 ac_cpp='$CXXCPP $CPPFLAGS'
33773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33776
33777       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33778 /* end confdefs.h.  */
33779 #include <math.h>
33780                       #ifdef HAVE_IEEEFP_H
33781                       #include <ieeefp.h>
33782                       #endif
33783
33784 int
33785 main ()
33786 {
33787  isinff(0);
33788   ;
33789   return 0;
33790 }
33791 _ACEOF
33792 if ac_fn_cxx_try_compile "$LINENO"; then :
33793   glibcxx_cv_func_isinff_use=yes
33794 else
33795   glibcxx_cv_func_isinff_use=no
33796 fi
33797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33798       ac_ext=c
33799 ac_cpp='$CPP $CPPFLAGS'
33800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33803
33804
33805 fi
33806
33807   fi
33808   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
33809 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
33810
33811   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
33812     for ac_func in isinff
33813 do :
33814   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
33815 if test "x$ac_cv_func_isinff" = x""yes; then :
33816   cat >>confdefs.h <<_ACEOF
33817 #define HAVE_ISINFF 1
33818 _ACEOF
33819
33820 fi
33821 done
33822
33823   else
33824
33825   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
33826 $as_echo_n "checking for _isinff declaration... " >&6; }
33827   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
33828     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
33829   $as_echo_n "(cached) " >&6
33830 else
33831
33832
33833       ac_ext=cpp
33834 ac_cpp='$CXXCPP $CPPFLAGS'
33835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33838
33839       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33840 /* end confdefs.h.  */
33841 #include <math.h>
33842                       #ifdef HAVE_IEEEFP_H
33843                       #include <ieeefp.h>
33844                       #endif
33845
33846 int
33847 main ()
33848 {
33849  _isinff(0);
33850   ;
33851   return 0;
33852 }
33853 _ACEOF
33854 if ac_fn_cxx_try_compile "$LINENO"; then :
33855   glibcxx_cv_func__isinff_use=yes
33856 else
33857   glibcxx_cv_func__isinff_use=no
33858 fi
33859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33860       ac_ext=c
33861 ac_cpp='$CPP $CPPFLAGS'
33862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33865
33866
33867 fi
33868
33869   fi
33870   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
33871 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
33872
33873     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
33874       for ac_func in _isinff
33875 do :
33876   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
33877 if test "x$ac_cv_func__isinff" = x""yes; then :
33878   cat >>confdefs.h <<_ACEOF
33879 #define HAVE__ISINFF 1
33880 _ACEOF
33881
33882 fi
33883 done
33884
33885     fi
33886   fi
33887
33888
33889
33890
33891
33892   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
33893 $as_echo_n "checking for atan2f declaration... " >&6; }
33894   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
33895     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
33896   $as_echo_n "(cached) " >&6
33897 else
33898
33899
33900       ac_ext=cpp
33901 ac_cpp='$CXXCPP $CPPFLAGS'
33902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33905
33906       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33907 /* end confdefs.h.  */
33908 #include <math.h>
33909 int
33910 main ()
33911 {
33912  atan2f(0, 0);
33913   ;
33914   return 0;
33915 }
33916 _ACEOF
33917 if ac_fn_cxx_try_compile "$LINENO"; then :
33918   glibcxx_cv_func_atan2f_use=yes
33919 else
33920   glibcxx_cv_func_atan2f_use=no
33921 fi
33922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33923       ac_ext=c
33924 ac_cpp='$CPP $CPPFLAGS'
33925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33928
33929
33930 fi
33931
33932   fi
33933   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
33934 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
33935
33936   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
33937     for ac_func in atan2f
33938 do :
33939   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
33940 if test "x$ac_cv_func_atan2f" = x""yes; then :
33941   cat >>confdefs.h <<_ACEOF
33942 #define HAVE_ATAN2F 1
33943 _ACEOF
33944
33945 fi
33946 done
33947
33948   else
33949
33950   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
33951 $as_echo_n "checking for _atan2f declaration... " >&6; }
33952   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
33953     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
33954   $as_echo_n "(cached) " >&6
33955 else
33956
33957
33958       ac_ext=cpp
33959 ac_cpp='$CXXCPP $CPPFLAGS'
33960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33963
33964       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33965 /* end confdefs.h.  */
33966 #include <math.h>
33967 int
33968 main ()
33969 {
33970  _atan2f(0, 0);
33971   ;
33972   return 0;
33973 }
33974 _ACEOF
33975 if ac_fn_cxx_try_compile "$LINENO"; then :
33976   glibcxx_cv_func__atan2f_use=yes
33977 else
33978   glibcxx_cv_func__atan2f_use=no
33979 fi
33980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33981       ac_ext=c
33982 ac_cpp='$CPP $CPPFLAGS'
33983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33986
33987
33988 fi
33989
33990   fi
33991   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
33992 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
33993
33994     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
33995       for ac_func in _atan2f
33996 do :
33997   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
33998 if test "x$ac_cv_func__atan2f" = x""yes; then :
33999   cat >>confdefs.h <<_ACEOF
34000 #define HAVE__ATAN2F 1
34001 _ACEOF
34002
34003 fi
34004 done
34005
34006     fi
34007   fi
34008
34009
34010
34011
34012
34013   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
34014 $as_echo_n "checking for fabsf declaration... " >&6; }
34015   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
34016     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
34017   $as_echo_n "(cached) " >&6
34018 else
34019
34020
34021       ac_ext=cpp
34022 ac_cpp='$CXXCPP $CPPFLAGS'
34023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34026
34027       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34028 /* end confdefs.h.  */
34029 #include <math.h>
34030                       #ifdef HAVE_IEEEFP_H
34031                       #include <ieeefp.h>
34032                       #endif
34033
34034 int
34035 main ()
34036 {
34037  fabsf(0);
34038   ;
34039   return 0;
34040 }
34041 _ACEOF
34042 if ac_fn_cxx_try_compile "$LINENO"; then :
34043   glibcxx_cv_func_fabsf_use=yes
34044 else
34045   glibcxx_cv_func_fabsf_use=no
34046 fi
34047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34048       ac_ext=c
34049 ac_cpp='$CPP $CPPFLAGS'
34050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34053
34054
34055 fi
34056
34057   fi
34058   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
34059 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
34060
34061   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
34062     for ac_func in fabsf
34063 do :
34064   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
34065 if test "x$ac_cv_func_fabsf" = x""yes; then :
34066   cat >>confdefs.h <<_ACEOF
34067 #define HAVE_FABSF 1
34068 _ACEOF
34069
34070 fi
34071 done
34072
34073   else
34074
34075   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
34076 $as_echo_n "checking for _fabsf declaration... " >&6; }
34077   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
34078     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
34079   $as_echo_n "(cached) " >&6
34080 else
34081
34082
34083       ac_ext=cpp
34084 ac_cpp='$CXXCPP $CPPFLAGS'
34085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34088
34089       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34090 /* end confdefs.h.  */
34091 #include <math.h>
34092                       #ifdef HAVE_IEEEFP_H
34093                       #include <ieeefp.h>
34094                       #endif
34095
34096 int
34097 main ()
34098 {
34099  _fabsf(0);
34100   ;
34101   return 0;
34102 }
34103 _ACEOF
34104 if ac_fn_cxx_try_compile "$LINENO"; then :
34105   glibcxx_cv_func__fabsf_use=yes
34106 else
34107   glibcxx_cv_func__fabsf_use=no
34108 fi
34109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34110       ac_ext=c
34111 ac_cpp='$CPP $CPPFLAGS'
34112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34115
34116
34117 fi
34118
34119   fi
34120   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
34121 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
34122
34123     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
34124       for ac_func in _fabsf
34125 do :
34126   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
34127 if test "x$ac_cv_func__fabsf" = x""yes; then :
34128   cat >>confdefs.h <<_ACEOF
34129 #define HAVE__FABSF 1
34130 _ACEOF
34131
34132 fi
34133 done
34134
34135     fi
34136   fi
34137
34138
34139
34140
34141
34142   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
34143 $as_echo_n "checking for fmodf declaration... " >&6; }
34144   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
34145     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
34146   $as_echo_n "(cached) " >&6
34147 else
34148
34149
34150       ac_ext=cpp
34151 ac_cpp='$CXXCPP $CPPFLAGS'
34152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34155
34156       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34157 /* end confdefs.h.  */
34158 #include <math.h>
34159 int
34160 main ()
34161 {
34162  fmodf(0, 0);
34163   ;
34164   return 0;
34165 }
34166 _ACEOF
34167 if ac_fn_cxx_try_compile "$LINENO"; then :
34168   glibcxx_cv_func_fmodf_use=yes
34169 else
34170   glibcxx_cv_func_fmodf_use=no
34171 fi
34172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34173       ac_ext=c
34174 ac_cpp='$CPP $CPPFLAGS'
34175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34178
34179
34180 fi
34181
34182   fi
34183   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
34184 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
34185
34186   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
34187     for ac_func in fmodf
34188 do :
34189   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
34190 if test "x$ac_cv_func_fmodf" = x""yes; then :
34191   cat >>confdefs.h <<_ACEOF
34192 #define HAVE_FMODF 1
34193 _ACEOF
34194
34195 fi
34196 done
34197
34198   else
34199
34200   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
34201 $as_echo_n "checking for _fmodf declaration... " >&6; }
34202   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
34203     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
34204   $as_echo_n "(cached) " >&6
34205 else
34206
34207
34208       ac_ext=cpp
34209 ac_cpp='$CXXCPP $CPPFLAGS'
34210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34213
34214       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34215 /* end confdefs.h.  */
34216 #include <math.h>
34217 int
34218 main ()
34219 {
34220  _fmodf(0, 0);
34221   ;
34222   return 0;
34223 }
34224 _ACEOF
34225 if ac_fn_cxx_try_compile "$LINENO"; then :
34226   glibcxx_cv_func__fmodf_use=yes
34227 else
34228   glibcxx_cv_func__fmodf_use=no
34229 fi
34230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34231       ac_ext=c
34232 ac_cpp='$CPP $CPPFLAGS'
34233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34236
34237
34238 fi
34239
34240   fi
34241   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
34242 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
34243
34244     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
34245       for ac_func in _fmodf
34246 do :
34247   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
34248 if test "x$ac_cv_func__fmodf" = x""yes; then :
34249   cat >>confdefs.h <<_ACEOF
34250 #define HAVE__FMODF 1
34251 _ACEOF
34252
34253 fi
34254 done
34255
34256     fi
34257   fi
34258
34259
34260
34261
34262
34263   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
34264 $as_echo_n "checking for frexpf declaration... " >&6; }
34265   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
34266     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
34267   $as_echo_n "(cached) " >&6
34268 else
34269
34270
34271       ac_ext=cpp
34272 ac_cpp='$CXXCPP $CPPFLAGS'
34273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34276
34277       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34278 /* end confdefs.h.  */
34279 #include <math.h>
34280 int
34281 main ()
34282 {
34283  frexpf(0, 0);
34284   ;
34285   return 0;
34286 }
34287 _ACEOF
34288 if ac_fn_cxx_try_compile "$LINENO"; then :
34289   glibcxx_cv_func_frexpf_use=yes
34290 else
34291   glibcxx_cv_func_frexpf_use=no
34292 fi
34293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34294       ac_ext=c
34295 ac_cpp='$CPP $CPPFLAGS'
34296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34299
34300
34301 fi
34302
34303   fi
34304   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
34305 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
34306
34307   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
34308     for ac_func in frexpf
34309 do :
34310   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
34311 if test "x$ac_cv_func_frexpf" = x""yes; then :
34312   cat >>confdefs.h <<_ACEOF
34313 #define HAVE_FREXPF 1
34314 _ACEOF
34315
34316 fi
34317 done
34318
34319   else
34320
34321   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
34322 $as_echo_n "checking for _frexpf declaration... " >&6; }
34323   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
34324     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
34325   $as_echo_n "(cached) " >&6
34326 else
34327
34328
34329       ac_ext=cpp
34330 ac_cpp='$CXXCPP $CPPFLAGS'
34331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34334
34335       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34336 /* end confdefs.h.  */
34337 #include <math.h>
34338 int
34339 main ()
34340 {
34341  _frexpf(0, 0);
34342   ;
34343   return 0;
34344 }
34345 _ACEOF
34346 if ac_fn_cxx_try_compile "$LINENO"; then :
34347   glibcxx_cv_func__frexpf_use=yes
34348 else
34349   glibcxx_cv_func__frexpf_use=no
34350 fi
34351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34352       ac_ext=c
34353 ac_cpp='$CPP $CPPFLAGS'
34354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34357
34358
34359 fi
34360
34361   fi
34362   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
34363 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
34364
34365     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
34366       for ac_func in _frexpf
34367 do :
34368   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
34369 if test "x$ac_cv_func__frexpf" = x""yes; then :
34370   cat >>confdefs.h <<_ACEOF
34371 #define HAVE__FREXPF 1
34372 _ACEOF
34373
34374 fi
34375 done
34376
34377     fi
34378   fi
34379
34380
34381
34382
34383
34384   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
34385 $as_echo_n "checking for hypotf declaration... " >&6; }
34386   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
34387     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
34388   $as_echo_n "(cached) " >&6
34389 else
34390
34391
34392       ac_ext=cpp
34393 ac_cpp='$CXXCPP $CPPFLAGS'
34394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34397
34398       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34399 /* end confdefs.h.  */
34400 #include <math.h>
34401 int
34402 main ()
34403 {
34404  hypotf(0, 0);
34405   ;
34406   return 0;
34407 }
34408 _ACEOF
34409 if ac_fn_cxx_try_compile "$LINENO"; then :
34410   glibcxx_cv_func_hypotf_use=yes
34411 else
34412   glibcxx_cv_func_hypotf_use=no
34413 fi
34414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34415       ac_ext=c
34416 ac_cpp='$CPP $CPPFLAGS'
34417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34420
34421
34422 fi
34423
34424   fi
34425   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
34426 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
34427
34428   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
34429     for ac_func in hypotf
34430 do :
34431   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
34432 if test "x$ac_cv_func_hypotf" = x""yes; then :
34433   cat >>confdefs.h <<_ACEOF
34434 #define HAVE_HYPOTF 1
34435 _ACEOF
34436
34437 fi
34438 done
34439
34440   else
34441
34442   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
34443 $as_echo_n "checking for _hypotf declaration... " >&6; }
34444   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
34445     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
34446   $as_echo_n "(cached) " >&6
34447 else
34448
34449
34450       ac_ext=cpp
34451 ac_cpp='$CXXCPP $CPPFLAGS'
34452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34455
34456       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34457 /* end confdefs.h.  */
34458 #include <math.h>
34459 int
34460 main ()
34461 {
34462  _hypotf(0, 0);
34463   ;
34464   return 0;
34465 }
34466 _ACEOF
34467 if ac_fn_cxx_try_compile "$LINENO"; then :
34468   glibcxx_cv_func__hypotf_use=yes
34469 else
34470   glibcxx_cv_func__hypotf_use=no
34471 fi
34472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34473       ac_ext=c
34474 ac_cpp='$CPP $CPPFLAGS'
34475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34478
34479
34480 fi
34481
34482   fi
34483   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
34484 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
34485
34486     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
34487       for ac_func in _hypotf
34488 do :
34489   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
34490 if test "x$ac_cv_func__hypotf" = x""yes; then :
34491   cat >>confdefs.h <<_ACEOF
34492 #define HAVE__HYPOTF 1
34493 _ACEOF
34494
34495 fi
34496 done
34497
34498     fi
34499   fi
34500
34501
34502
34503
34504
34505   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
34506 $as_echo_n "checking for ldexpf declaration... " >&6; }
34507   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
34508     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
34509   $as_echo_n "(cached) " >&6
34510 else
34511
34512
34513       ac_ext=cpp
34514 ac_cpp='$CXXCPP $CPPFLAGS'
34515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34518
34519       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34520 /* end confdefs.h.  */
34521 #include <math.h>
34522 int
34523 main ()
34524 {
34525  ldexpf(0, 0);
34526   ;
34527   return 0;
34528 }
34529 _ACEOF
34530 if ac_fn_cxx_try_compile "$LINENO"; then :
34531   glibcxx_cv_func_ldexpf_use=yes
34532 else
34533   glibcxx_cv_func_ldexpf_use=no
34534 fi
34535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34536       ac_ext=c
34537 ac_cpp='$CPP $CPPFLAGS'
34538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34541
34542
34543 fi
34544
34545   fi
34546   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
34547 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
34548
34549   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
34550     for ac_func in ldexpf
34551 do :
34552   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
34553 if test "x$ac_cv_func_ldexpf" = x""yes; then :
34554   cat >>confdefs.h <<_ACEOF
34555 #define HAVE_LDEXPF 1
34556 _ACEOF
34557
34558 fi
34559 done
34560
34561   else
34562
34563   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
34564 $as_echo_n "checking for _ldexpf declaration... " >&6; }
34565   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
34566     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
34567   $as_echo_n "(cached) " >&6
34568 else
34569
34570
34571       ac_ext=cpp
34572 ac_cpp='$CXXCPP $CPPFLAGS'
34573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34576
34577       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34578 /* end confdefs.h.  */
34579 #include <math.h>
34580 int
34581 main ()
34582 {
34583  _ldexpf(0, 0);
34584   ;
34585   return 0;
34586 }
34587 _ACEOF
34588 if ac_fn_cxx_try_compile "$LINENO"; then :
34589   glibcxx_cv_func__ldexpf_use=yes
34590 else
34591   glibcxx_cv_func__ldexpf_use=no
34592 fi
34593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34594       ac_ext=c
34595 ac_cpp='$CPP $CPPFLAGS'
34596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34599
34600
34601 fi
34602
34603   fi
34604   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
34605 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
34606
34607     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
34608       for ac_func in _ldexpf
34609 do :
34610   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
34611 if test "x$ac_cv_func__ldexpf" = x""yes; then :
34612   cat >>confdefs.h <<_ACEOF
34613 #define HAVE__LDEXPF 1
34614 _ACEOF
34615
34616 fi
34617 done
34618
34619     fi
34620   fi
34621
34622
34623
34624
34625
34626   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
34627 $as_echo_n "checking for logf declaration... " >&6; }
34628   if test x${glibcxx_cv_func_logf_use+set} != xset; then
34629     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
34630   $as_echo_n "(cached) " >&6
34631 else
34632
34633
34634       ac_ext=cpp
34635 ac_cpp='$CXXCPP $CPPFLAGS'
34636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34639
34640       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34641 /* end confdefs.h.  */
34642 #include <math.h>
34643                       #ifdef HAVE_IEEEFP_H
34644                       #include <ieeefp.h>
34645                       #endif
34646
34647 int
34648 main ()
34649 {
34650  logf(0);
34651   ;
34652   return 0;
34653 }
34654 _ACEOF
34655 if ac_fn_cxx_try_compile "$LINENO"; then :
34656   glibcxx_cv_func_logf_use=yes
34657 else
34658   glibcxx_cv_func_logf_use=no
34659 fi
34660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34661       ac_ext=c
34662 ac_cpp='$CPP $CPPFLAGS'
34663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34666
34667
34668 fi
34669
34670   fi
34671   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
34672 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
34673
34674   if test x$glibcxx_cv_func_logf_use = x"yes"; then
34675     for ac_func in logf
34676 do :
34677   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
34678 if test "x$ac_cv_func_logf" = x""yes; then :
34679   cat >>confdefs.h <<_ACEOF
34680 #define HAVE_LOGF 1
34681 _ACEOF
34682
34683 fi
34684 done
34685
34686   else
34687
34688   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
34689 $as_echo_n "checking for _logf declaration... " >&6; }
34690   if test x${glibcxx_cv_func__logf_use+set} != xset; then
34691     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
34692   $as_echo_n "(cached) " >&6
34693 else
34694
34695
34696       ac_ext=cpp
34697 ac_cpp='$CXXCPP $CPPFLAGS'
34698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34701
34702       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34703 /* end confdefs.h.  */
34704 #include <math.h>
34705                       #ifdef HAVE_IEEEFP_H
34706                       #include <ieeefp.h>
34707                       #endif
34708
34709 int
34710 main ()
34711 {
34712  _logf(0);
34713   ;
34714   return 0;
34715 }
34716 _ACEOF
34717 if ac_fn_cxx_try_compile "$LINENO"; then :
34718   glibcxx_cv_func__logf_use=yes
34719 else
34720   glibcxx_cv_func__logf_use=no
34721 fi
34722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34723       ac_ext=c
34724 ac_cpp='$CPP $CPPFLAGS'
34725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34728
34729
34730 fi
34731
34732   fi
34733   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
34734 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
34735
34736     if test x$glibcxx_cv_func__logf_use = x"yes"; then
34737       for ac_func in _logf
34738 do :
34739   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
34740 if test "x$ac_cv_func__logf" = x""yes; then :
34741   cat >>confdefs.h <<_ACEOF
34742 #define HAVE__LOGF 1
34743 _ACEOF
34744
34745 fi
34746 done
34747
34748     fi
34749   fi
34750
34751
34752
34753
34754
34755   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
34756 $as_echo_n "checking for log10f declaration... " >&6; }
34757   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
34758     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
34759   $as_echo_n "(cached) " >&6
34760 else
34761
34762
34763       ac_ext=cpp
34764 ac_cpp='$CXXCPP $CPPFLAGS'
34765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34768
34769       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34770 /* end confdefs.h.  */
34771 #include <math.h>
34772                       #ifdef HAVE_IEEEFP_H
34773                       #include <ieeefp.h>
34774                       #endif
34775
34776 int
34777 main ()
34778 {
34779  log10f(0);
34780   ;
34781   return 0;
34782 }
34783 _ACEOF
34784 if ac_fn_cxx_try_compile "$LINENO"; then :
34785   glibcxx_cv_func_log10f_use=yes
34786 else
34787   glibcxx_cv_func_log10f_use=no
34788 fi
34789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34790       ac_ext=c
34791 ac_cpp='$CPP $CPPFLAGS'
34792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34795
34796
34797 fi
34798
34799   fi
34800   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
34801 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
34802
34803   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
34804     for ac_func in log10f
34805 do :
34806   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
34807 if test "x$ac_cv_func_log10f" = x""yes; then :
34808   cat >>confdefs.h <<_ACEOF
34809 #define HAVE_LOG10F 1
34810 _ACEOF
34811
34812 fi
34813 done
34814
34815   else
34816
34817   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
34818 $as_echo_n "checking for _log10f declaration... " >&6; }
34819   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
34820     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
34821   $as_echo_n "(cached) " >&6
34822 else
34823
34824
34825       ac_ext=cpp
34826 ac_cpp='$CXXCPP $CPPFLAGS'
34827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34830
34831       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34832 /* end confdefs.h.  */
34833 #include <math.h>
34834                       #ifdef HAVE_IEEEFP_H
34835                       #include <ieeefp.h>
34836                       #endif
34837
34838 int
34839 main ()
34840 {
34841  _log10f(0);
34842   ;
34843   return 0;
34844 }
34845 _ACEOF
34846 if ac_fn_cxx_try_compile "$LINENO"; then :
34847   glibcxx_cv_func__log10f_use=yes
34848 else
34849   glibcxx_cv_func__log10f_use=no
34850 fi
34851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34852       ac_ext=c
34853 ac_cpp='$CPP $CPPFLAGS'
34854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34857
34858
34859 fi
34860
34861   fi
34862   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
34863 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
34864
34865     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
34866       for ac_func in _log10f
34867 do :
34868   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
34869 if test "x$ac_cv_func__log10f" = x""yes; then :
34870   cat >>confdefs.h <<_ACEOF
34871 #define HAVE__LOG10F 1
34872 _ACEOF
34873
34874 fi
34875 done
34876
34877     fi
34878   fi
34879
34880
34881
34882
34883
34884   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
34885 $as_echo_n "checking for modff declaration... " >&6; }
34886   if test x${glibcxx_cv_func_modff_use+set} != xset; then
34887     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
34888   $as_echo_n "(cached) " >&6
34889 else
34890
34891
34892       ac_ext=cpp
34893 ac_cpp='$CXXCPP $CPPFLAGS'
34894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34897
34898       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34899 /* end confdefs.h.  */
34900 #include <math.h>
34901 int
34902 main ()
34903 {
34904  modff(0, 0);
34905   ;
34906   return 0;
34907 }
34908 _ACEOF
34909 if ac_fn_cxx_try_compile "$LINENO"; then :
34910   glibcxx_cv_func_modff_use=yes
34911 else
34912   glibcxx_cv_func_modff_use=no
34913 fi
34914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34915       ac_ext=c
34916 ac_cpp='$CPP $CPPFLAGS'
34917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34920
34921
34922 fi
34923
34924   fi
34925   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
34926 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
34927
34928   if test x$glibcxx_cv_func_modff_use = x"yes"; then
34929     for ac_func in modff
34930 do :
34931   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
34932 if test "x$ac_cv_func_modff" = x""yes; then :
34933   cat >>confdefs.h <<_ACEOF
34934 #define HAVE_MODFF 1
34935 _ACEOF
34936
34937 fi
34938 done
34939
34940   else
34941
34942   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
34943 $as_echo_n "checking for _modff declaration... " >&6; }
34944   if test x${glibcxx_cv_func__modff_use+set} != xset; then
34945     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
34946   $as_echo_n "(cached) " >&6
34947 else
34948
34949
34950       ac_ext=cpp
34951 ac_cpp='$CXXCPP $CPPFLAGS'
34952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34955
34956       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34957 /* end confdefs.h.  */
34958 #include <math.h>
34959 int
34960 main ()
34961 {
34962  _modff(0, 0);
34963   ;
34964   return 0;
34965 }
34966 _ACEOF
34967 if ac_fn_cxx_try_compile "$LINENO"; then :
34968   glibcxx_cv_func__modff_use=yes
34969 else
34970   glibcxx_cv_func__modff_use=no
34971 fi
34972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34973       ac_ext=c
34974 ac_cpp='$CPP $CPPFLAGS'
34975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34978
34979
34980 fi
34981
34982   fi
34983   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
34984 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
34985
34986     if test x$glibcxx_cv_func__modff_use = x"yes"; then
34987       for ac_func in _modff
34988 do :
34989   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
34990 if test "x$ac_cv_func__modff" = x""yes; then :
34991   cat >>confdefs.h <<_ACEOF
34992 #define HAVE__MODFF 1
34993 _ACEOF
34994
34995 fi
34996 done
34997
34998     fi
34999   fi
35000
35001
35002
35003
35004
35005   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
35006 $as_echo_n "checking for modf declaration... " >&6; }
35007   if test x${glibcxx_cv_func_modf_use+set} != xset; then
35008     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
35009   $as_echo_n "(cached) " >&6
35010 else
35011
35012
35013       ac_ext=cpp
35014 ac_cpp='$CXXCPP $CPPFLAGS'
35015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35018
35019       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35020 /* end confdefs.h.  */
35021 #include <math.h>
35022 int
35023 main ()
35024 {
35025  modf(0, 0);
35026   ;
35027   return 0;
35028 }
35029 _ACEOF
35030 if ac_fn_cxx_try_compile "$LINENO"; then :
35031   glibcxx_cv_func_modf_use=yes
35032 else
35033   glibcxx_cv_func_modf_use=no
35034 fi
35035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35036       ac_ext=c
35037 ac_cpp='$CPP $CPPFLAGS'
35038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35041
35042
35043 fi
35044
35045   fi
35046   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
35047 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
35048
35049   if test x$glibcxx_cv_func_modf_use = x"yes"; then
35050     for ac_func in modf
35051 do :
35052   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
35053 if test "x$ac_cv_func_modf" = x""yes; then :
35054   cat >>confdefs.h <<_ACEOF
35055 #define HAVE_MODF 1
35056 _ACEOF
35057
35058 fi
35059 done
35060
35061   else
35062
35063   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
35064 $as_echo_n "checking for _modf declaration... " >&6; }
35065   if test x${glibcxx_cv_func__modf_use+set} != xset; then
35066     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
35067   $as_echo_n "(cached) " >&6
35068 else
35069
35070
35071       ac_ext=cpp
35072 ac_cpp='$CXXCPP $CPPFLAGS'
35073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35076
35077       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35078 /* end confdefs.h.  */
35079 #include <math.h>
35080 int
35081 main ()
35082 {
35083  _modf(0, 0);
35084   ;
35085   return 0;
35086 }
35087 _ACEOF
35088 if ac_fn_cxx_try_compile "$LINENO"; then :
35089   glibcxx_cv_func__modf_use=yes
35090 else
35091   glibcxx_cv_func__modf_use=no
35092 fi
35093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35094       ac_ext=c
35095 ac_cpp='$CPP $CPPFLAGS'
35096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35099
35100
35101 fi
35102
35103   fi
35104   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
35105 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
35106
35107     if test x$glibcxx_cv_func__modf_use = x"yes"; then
35108       for ac_func in _modf
35109 do :
35110   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
35111 if test "x$ac_cv_func__modf" = x""yes; then :
35112   cat >>confdefs.h <<_ACEOF
35113 #define HAVE__MODF 1
35114 _ACEOF
35115
35116 fi
35117 done
35118
35119     fi
35120   fi
35121
35122
35123
35124
35125
35126   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
35127 $as_echo_n "checking for powf declaration... " >&6; }
35128   if test x${glibcxx_cv_func_powf_use+set} != xset; then
35129     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
35130   $as_echo_n "(cached) " >&6
35131 else
35132
35133
35134       ac_ext=cpp
35135 ac_cpp='$CXXCPP $CPPFLAGS'
35136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35139
35140       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35141 /* end confdefs.h.  */
35142 #include <math.h>
35143 int
35144 main ()
35145 {
35146  powf(0, 0);
35147   ;
35148   return 0;
35149 }
35150 _ACEOF
35151 if ac_fn_cxx_try_compile "$LINENO"; then :
35152   glibcxx_cv_func_powf_use=yes
35153 else
35154   glibcxx_cv_func_powf_use=no
35155 fi
35156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35157       ac_ext=c
35158 ac_cpp='$CPP $CPPFLAGS'
35159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35162
35163
35164 fi
35165
35166   fi
35167   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
35168 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
35169
35170   if test x$glibcxx_cv_func_powf_use = x"yes"; then
35171     for ac_func in powf
35172 do :
35173   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
35174 if test "x$ac_cv_func_powf" = x""yes; then :
35175   cat >>confdefs.h <<_ACEOF
35176 #define HAVE_POWF 1
35177 _ACEOF
35178
35179 fi
35180 done
35181
35182   else
35183
35184   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
35185 $as_echo_n "checking for _powf declaration... " >&6; }
35186   if test x${glibcxx_cv_func__powf_use+set} != xset; then
35187     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
35188   $as_echo_n "(cached) " >&6
35189 else
35190
35191
35192       ac_ext=cpp
35193 ac_cpp='$CXXCPP $CPPFLAGS'
35194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35197
35198       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35199 /* end confdefs.h.  */
35200 #include <math.h>
35201 int
35202 main ()
35203 {
35204  _powf(0, 0);
35205   ;
35206   return 0;
35207 }
35208 _ACEOF
35209 if ac_fn_cxx_try_compile "$LINENO"; then :
35210   glibcxx_cv_func__powf_use=yes
35211 else
35212   glibcxx_cv_func__powf_use=no
35213 fi
35214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35215       ac_ext=c
35216 ac_cpp='$CPP $CPPFLAGS'
35217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35220
35221
35222 fi
35223
35224   fi
35225   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
35226 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
35227
35228     if test x$glibcxx_cv_func__powf_use = x"yes"; then
35229       for ac_func in _powf
35230 do :
35231   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
35232 if test "x$ac_cv_func__powf" = x""yes; then :
35233   cat >>confdefs.h <<_ACEOF
35234 #define HAVE__POWF 1
35235 _ACEOF
35236
35237 fi
35238 done
35239
35240     fi
35241   fi
35242
35243
35244
35245
35246
35247   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
35248 $as_echo_n "checking for sqrtf declaration... " >&6; }
35249   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
35250     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
35251   $as_echo_n "(cached) " >&6
35252 else
35253
35254
35255       ac_ext=cpp
35256 ac_cpp='$CXXCPP $CPPFLAGS'
35257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35260
35261       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35262 /* end confdefs.h.  */
35263 #include <math.h>
35264                       #ifdef HAVE_IEEEFP_H
35265                       #include <ieeefp.h>
35266                       #endif
35267
35268 int
35269 main ()
35270 {
35271  sqrtf(0);
35272   ;
35273   return 0;
35274 }
35275 _ACEOF
35276 if ac_fn_cxx_try_compile "$LINENO"; then :
35277   glibcxx_cv_func_sqrtf_use=yes
35278 else
35279   glibcxx_cv_func_sqrtf_use=no
35280 fi
35281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35282       ac_ext=c
35283 ac_cpp='$CPP $CPPFLAGS'
35284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35287
35288
35289 fi
35290
35291   fi
35292   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
35293 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
35294
35295   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
35296     for ac_func in sqrtf
35297 do :
35298   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
35299 if test "x$ac_cv_func_sqrtf" = x""yes; then :
35300   cat >>confdefs.h <<_ACEOF
35301 #define HAVE_SQRTF 1
35302 _ACEOF
35303
35304 fi
35305 done
35306
35307   else
35308
35309   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
35310 $as_echo_n "checking for _sqrtf declaration... " >&6; }
35311   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
35312     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
35313   $as_echo_n "(cached) " >&6
35314 else
35315
35316
35317       ac_ext=cpp
35318 ac_cpp='$CXXCPP $CPPFLAGS'
35319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35322
35323       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35324 /* end confdefs.h.  */
35325 #include <math.h>
35326                       #ifdef HAVE_IEEEFP_H
35327                       #include <ieeefp.h>
35328                       #endif
35329
35330 int
35331 main ()
35332 {
35333  _sqrtf(0);
35334   ;
35335   return 0;
35336 }
35337 _ACEOF
35338 if ac_fn_cxx_try_compile "$LINENO"; then :
35339   glibcxx_cv_func__sqrtf_use=yes
35340 else
35341   glibcxx_cv_func__sqrtf_use=no
35342 fi
35343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35344       ac_ext=c
35345 ac_cpp='$CPP $CPPFLAGS'
35346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35349
35350
35351 fi
35352
35353   fi
35354   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
35355 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
35356
35357     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
35358       for ac_func in _sqrtf
35359 do :
35360   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
35361 if test "x$ac_cv_func__sqrtf" = x""yes; then :
35362   cat >>confdefs.h <<_ACEOF
35363 #define HAVE__SQRTF 1
35364 _ACEOF
35365
35366 fi
35367 done
35368
35369     fi
35370   fi
35371
35372
35373
35374
35375
35376   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
35377 $as_echo_n "checking for sincosf declaration... " >&6; }
35378   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
35379     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
35380   $as_echo_n "(cached) " >&6
35381 else
35382
35383
35384       ac_ext=cpp
35385 ac_cpp='$CXXCPP $CPPFLAGS'
35386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35389
35390       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35391 /* end confdefs.h.  */
35392 #include <math.h>
35393 int
35394 main ()
35395 {
35396  sincosf(0, 0, 0);
35397   ;
35398   return 0;
35399 }
35400 _ACEOF
35401 if ac_fn_cxx_try_compile "$LINENO"; then :
35402   glibcxx_cv_func_sincosf_use=yes
35403 else
35404   glibcxx_cv_func_sincosf_use=no
35405 fi
35406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35407       ac_ext=c
35408 ac_cpp='$CPP $CPPFLAGS'
35409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35412
35413
35414 fi
35415
35416   fi
35417   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
35418 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
35419
35420   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
35421     for ac_func in sincosf
35422 do :
35423   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
35424 if test "x$ac_cv_func_sincosf" = x""yes; then :
35425   cat >>confdefs.h <<_ACEOF
35426 #define HAVE_SINCOSF 1
35427 _ACEOF
35428
35429 fi
35430 done
35431
35432   else
35433
35434   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
35435 $as_echo_n "checking for _sincosf declaration... " >&6; }
35436   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
35437     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
35438   $as_echo_n "(cached) " >&6
35439 else
35440
35441
35442       ac_ext=cpp
35443 ac_cpp='$CXXCPP $CPPFLAGS'
35444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35447
35448       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35449 /* end confdefs.h.  */
35450 #include <math.h>
35451 int
35452 main ()
35453 {
35454  _sincosf(0, 0, 0);
35455   ;
35456   return 0;
35457 }
35458 _ACEOF
35459 if ac_fn_cxx_try_compile "$LINENO"; then :
35460   glibcxx_cv_func__sincosf_use=yes
35461 else
35462   glibcxx_cv_func__sincosf_use=no
35463 fi
35464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35465       ac_ext=c
35466 ac_cpp='$CPP $CPPFLAGS'
35467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35470
35471
35472 fi
35473
35474   fi
35475   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
35476 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
35477
35478     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
35479       for ac_func in _sincosf
35480 do :
35481   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
35482 if test "x$ac_cv_func__sincosf" = x""yes; then :
35483   cat >>confdefs.h <<_ACEOF
35484 #define HAVE__SINCOSF 1
35485 _ACEOF
35486
35487 fi
35488 done
35489
35490     fi
35491   fi
35492
35493
35494
35495
35496
35497   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
35498 $as_echo_n "checking for finitef declaration... " >&6; }
35499   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
35500     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
35501   $as_echo_n "(cached) " >&6
35502 else
35503
35504
35505       ac_ext=cpp
35506 ac_cpp='$CXXCPP $CPPFLAGS'
35507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35510
35511       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35512 /* end confdefs.h.  */
35513 #include <math.h>
35514                       #ifdef HAVE_IEEEFP_H
35515                       #include <ieeefp.h>
35516                       #endif
35517
35518 int
35519 main ()
35520 {
35521  finitef(0);
35522   ;
35523   return 0;
35524 }
35525 _ACEOF
35526 if ac_fn_cxx_try_compile "$LINENO"; then :
35527   glibcxx_cv_func_finitef_use=yes
35528 else
35529   glibcxx_cv_func_finitef_use=no
35530 fi
35531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35532       ac_ext=c
35533 ac_cpp='$CPP $CPPFLAGS'
35534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35537
35538
35539 fi
35540
35541   fi
35542   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
35543 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
35544
35545   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
35546     for ac_func in finitef
35547 do :
35548   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
35549 if test "x$ac_cv_func_finitef" = x""yes; then :
35550   cat >>confdefs.h <<_ACEOF
35551 #define HAVE_FINITEF 1
35552 _ACEOF
35553
35554 fi
35555 done
35556
35557   else
35558
35559   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
35560 $as_echo_n "checking for _finitef declaration... " >&6; }
35561   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
35562     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
35563   $as_echo_n "(cached) " >&6
35564 else
35565
35566
35567       ac_ext=cpp
35568 ac_cpp='$CXXCPP $CPPFLAGS'
35569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35572
35573       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35574 /* end confdefs.h.  */
35575 #include <math.h>
35576                       #ifdef HAVE_IEEEFP_H
35577                       #include <ieeefp.h>
35578                       #endif
35579
35580 int
35581 main ()
35582 {
35583  _finitef(0);
35584   ;
35585   return 0;
35586 }
35587 _ACEOF
35588 if ac_fn_cxx_try_compile "$LINENO"; then :
35589   glibcxx_cv_func__finitef_use=yes
35590 else
35591   glibcxx_cv_func__finitef_use=no
35592 fi
35593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35594       ac_ext=c
35595 ac_cpp='$CPP $CPPFLAGS'
35596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35599
35600
35601 fi
35602
35603   fi
35604   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
35605 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
35606
35607     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
35608       for ac_func in _finitef
35609 do :
35610   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
35611 if test "x$ac_cv_func__finitef" = x""yes; then :
35612   cat >>confdefs.h <<_ACEOF
35613 #define HAVE__FINITEF 1
35614 _ACEOF
35615
35616 fi
35617 done
35618
35619     fi
35620   fi
35621
35622
35623
35624
35625
35626     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
35627 $as_echo_n "checking for long double trig functions... " >&6; }
35628   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
35629   $as_echo_n "(cached) " >&6
35630 else
35631
35632
35633     ac_ext=cpp
35634 ac_cpp='$CXXCPP $CPPFLAGS'
35635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35638
35639     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35640 /* end confdefs.h.  */
35641 #include <math.h>
35642 int
35643 main ()
35644 {
35645 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
35646   ;
35647   return 0;
35648 }
35649 _ACEOF
35650 if ac_fn_cxx_try_compile "$LINENO"; then :
35651   glibcxx_cv_func_long_double_trig_use=yes
35652 else
35653   glibcxx_cv_func_long_double_trig_use=no
35654 fi
35655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35656     ac_ext=c
35657 ac_cpp='$CPP $CPPFLAGS'
35658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35661
35662 fi
35663
35664   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
35665 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
35666   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
35667     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
35668 do :
35669   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35670 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35671 eval as_val=\$$as_ac_var
35672    if test "x$as_val" = x""yes; then :
35673   cat >>confdefs.h <<_ACEOF
35674 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35675 _ACEOF
35676
35677 fi
35678 done
35679
35680   else
35681     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
35682 $as_echo_n "checking for _long double trig functions... " >&6; }
35683     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
35684   $as_echo_n "(cached) " >&6
35685 else
35686
35687
35688       ac_ext=cpp
35689 ac_cpp='$CXXCPP $CPPFLAGS'
35690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35693
35694       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35695 /* end confdefs.h.  */
35696 #include <math.h>
35697 int
35698 main ()
35699 {
35700 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
35701   ;
35702   return 0;
35703 }
35704 _ACEOF
35705 if ac_fn_cxx_try_compile "$LINENO"; then :
35706   glibcxx_cv_func__long_double_trig_use=yes
35707 else
35708   glibcxx_cv_func__long_double_trig_use=no
35709 fi
35710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35711       ac_ext=c
35712 ac_cpp='$CPP $CPPFLAGS'
35713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35716
35717 fi
35718
35719     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
35720 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
35721     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
35722       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
35723 do :
35724   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35725 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35726 eval as_val=\$$as_ac_var
35727    if test "x$as_val" = x""yes; then :
35728   cat >>confdefs.h <<_ACEOF
35729 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35730 _ACEOF
35731
35732 fi
35733 done
35734
35735     fi
35736   fi
35737
35738
35739
35740
35741
35742     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
35743 $as_echo_n "checking for long double round functions... " >&6; }
35744   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
35745   $as_echo_n "(cached) " >&6
35746 else
35747
35748
35749     ac_ext=cpp
35750 ac_cpp='$CXXCPP $CPPFLAGS'
35751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35754
35755     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35756 /* end confdefs.h.  */
35757 #include <math.h>
35758 int
35759 main ()
35760 {
35761 ceill (0); floorl (0);
35762   ;
35763   return 0;
35764 }
35765 _ACEOF
35766 if ac_fn_cxx_try_compile "$LINENO"; then :
35767   glibcxx_cv_func_long_double_round_use=yes
35768 else
35769   glibcxx_cv_func_long_double_round_use=no
35770 fi
35771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35772     ac_ext=c
35773 ac_cpp='$CPP $CPPFLAGS'
35774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35777
35778 fi
35779
35780   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
35781 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
35782   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
35783     for ac_func in ceill floorl
35784 do :
35785   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35786 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35787 eval as_val=\$$as_ac_var
35788    if test "x$as_val" = x""yes; then :
35789   cat >>confdefs.h <<_ACEOF
35790 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35791 _ACEOF
35792
35793 fi
35794 done
35795
35796   else
35797     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
35798 $as_echo_n "checking for _long double round functions... " >&6; }
35799     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
35800   $as_echo_n "(cached) " >&6
35801 else
35802
35803
35804       ac_ext=cpp
35805 ac_cpp='$CXXCPP $CPPFLAGS'
35806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35809
35810       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35811 /* end confdefs.h.  */
35812 #include <math.h>
35813 int
35814 main ()
35815 {
35816 _ceill (0); _floorl (0);
35817   ;
35818   return 0;
35819 }
35820 _ACEOF
35821 if ac_fn_cxx_try_compile "$LINENO"; then :
35822   glibcxx_cv_func__long_double_round_use=yes
35823 else
35824   glibcxx_cv_func__long_double_round_use=no
35825 fi
35826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35827       ac_ext=c
35828 ac_cpp='$CPP $CPPFLAGS'
35829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35832
35833 fi
35834
35835     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
35836 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
35837     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
35838       for ac_func in _ceill _floorl
35839 do :
35840   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35841 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35842 eval as_val=\$$as_ac_var
35843    if test "x$as_val" = x""yes; then :
35844   cat >>confdefs.h <<_ACEOF
35845 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35846 _ACEOF
35847
35848 fi
35849 done
35850
35851     fi
35852   fi
35853
35854
35855
35856
35857
35858
35859   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
35860 $as_echo_n "checking for isnanl declaration... " >&6; }
35861   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
35862     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
35863   $as_echo_n "(cached) " >&6
35864 else
35865
35866
35867       ac_ext=cpp
35868 ac_cpp='$CXXCPP $CPPFLAGS'
35869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35872
35873       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35874 /* end confdefs.h.  */
35875 #include <math.h>
35876                       #ifdef HAVE_IEEEFP_H
35877                       #include <ieeefp.h>
35878                       #endif
35879
35880 int
35881 main ()
35882 {
35883  isnanl(0);
35884   ;
35885   return 0;
35886 }
35887 _ACEOF
35888 if ac_fn_cxx_try_compile "$LINENO"; then :
35889   glibcxx_cv_func_isnanl_use=yes
35890 else
35891   glibcxx_cv_func_isnanl_use=no
35892 fi
35893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35894       ac_ext=c
35895 ac_cpp='$CPP $CPPFLAGS'
35896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35899
35900
35901 fi
35902
35903   fi
35904   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
35905 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
35906
35907   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
35908     for ac_func in isnanl
35909 do :
35910   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
35911 if test "x$ac_cv_func_isnanl" = x""yes; then :
35912   cat >>confdefs.h <<_ACEOF
35913 #define HAVE_ISNANL 1
35914 _ACEOF
35915
35916 fi
35917 done
35918
35919   else
35920
35921   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
35922 $as_echo_n "checking for _isnanl declaration... " >&6; }
35923   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
35924     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
35925   $as_echo_n "(cached) " >&6
35926 else
35927
35928
35929       ac_ext=cpp
35930 ac_cpp='$CXXCPP $CPPFLAGS'
35931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35934
35935       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35936 /* end confdefs.h.  */
35937 #include <math.h>
35938                       #ifdef HAVE_IEEEFP_H
35939                       #include <ieeefp.h>
35940                       #endif
35941
35942 int
35943 main ()
35944 {
35945  _isnanl(0);
35946   ;
35947   return 0;
35948 }
35949 _ACEOF
35950 if ac_fn_cxx_try_compile "$LINENO"; then :
35951   glibcxx_cv_func__isnanl_use=yes
35952 else
35953   glibcxx_cv_func__isnanl_use=no
35954 fi
35955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35956       ac_ext=c
35957 ac_cpp='$CPP $CPPFLAGS'
35958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35961
35962
35963 fi
35964
35965   fi
35966   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
35967 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
35968
35969     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
35970       for ac_func in _isnanl
35971 do :
35972   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
35973 if test "x$ac_cv_func__isnanl" = x""yes; then :
35974   cat >>confdefs.h <<_ACEOF
35975 #define HAVE__ISNANL 1
35976 _ACEOF
35977
35978 fi
35979 done
35980
35981     fi
35982   fi
35983
35984
35985
35986
35987
35988   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
35989 $as_echo_n "checking for isinfl declaration... " >&6; }
35990   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
35991     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
35992   $as_echo_n "(cached) " >&6
35993 else
35994
35995
35996       ac_ext=cpp
35997 ac_cpp='$CXXCPP $CPPFLAGS'
35998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36001
36002       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36003 /* end confdefs.h.  */
36004 #include <math.h>
36005                       #ifdef HAVE_IEEEFP_H
36006                       #include <ieeefp.h>
36007                       #endif
36008
36009 int
36010 main ()
36011 {
36012  isinfl(0);
36013   ;
36014   return 0;
36015 }
36016 _ACEOF
36017 if ac_fn_cxx_try_compile "$LINENO"; then :
36018   glibcxx_cv_func_isinfl_use=yes
36019 else
36020   glibcxx_cv_func_isinfl_use=no
36021 fi
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   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
36034 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
36035
36036   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
36037     for ac_func in isinfl
36038 do :
36039   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
36040 if test "x$ac_cv_func_isinfl" = x""yes; then :
36041   cat >>confdefs.h <<_ACEOF
36042 #define HAVE_ISINFL 1
36043 _ACEOF
36044
36045 fi
36046 done
36047
36048   else
36049
36050   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
36051 $as_echo_n "checking for _isinfl declaration... " >&6; }
36052   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
36053     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
36054   $as_echo_n "(cached) " >&6
36055 else
36056
36057
36058       ac_ext=cpp
36059 ac_cpp='$CXXCPP $CPPFLAGS'
36060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36063
36064       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36065 /* end confdefs.h.  */
36066 #include <math.h>
36067                       #ifdef HAVE_IEEEFP_H
36068                       #include <ieeefp.h>
36069                       #endif
36070
36071 int
36072 main ()
36073 {
36074  _isinfl(0);
36075   ;
36076   return 0;
36077 }
36078 _ACEOF
36079 if ac_fn_cxx_try_compile "$LINENO"; then :
36080   glibcxx_cv_func__isinfl_use=yes
36081 else
36082   glibcxx_cv_func__isinfl_use=no
36083 fi
36084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36085       ac_ext=c
36086 ac_cpp='$CPP $CPPFLAGS'
36087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36090
36091
36092 fi
36093
36094   fi
36095   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
36096 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
36097
36098     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
36099       for ac_func in _isinfl
36100 do :
36101   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
36102 if test "x$ac_cv_func__isinfl" = x""yes; then :
36103   cat >>confdefs.h <<_ACEOF
36104 #define HAVE__ISINFL 1
36105 _ACEOF
36106
36107 fi
36108 done
36109
36110     fi
36111   fi
36112
36113
36114
36115
36116
36117   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
36118 $as_echo_n "checking for atan2l declaration... " >&6; }
36119   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
36120     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
36121   $as_echo_n "(cached) " >&6
36122 else
36123
36124
36125       ac_ext=cpp
36126 ac_cpp='$CXXCPP $CPPFLAGS'
36127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36130
36131       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36132 /* end confdefs.h.  */
36133 #include <math.h>
36134 int
36135 main ()
36136 {
36137  atan2l(0, 0);
36138   ;
36139   return 0;
36140 }
36141 _ACEOF
36142 if ac_fn_cxx_try_compile "$LINENO"; then :
36143   glibcxx_cv_func_atan2l_use=yes
36144 else
36145   glibcxx_cv_func_atan2l_use=no
36146 fi
36147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36148       ac_ext=c
36149 ac_cpp='$CPP $CPPFLAGS'
36150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36153
36154
36155 fi
36156
36157   fi
36158   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
36159 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
36160
36161   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
36162     for ac_func in atan2l
36163 do :
36164   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
36165 if test "x$ac_cv_func_atan2l" = x""yes; then :
36166   cat >>confdefs.h <<_ACEOF
36167 #define HAVE_ATAN2L 1
36168 _ACEOF
36169
36170 fi
36171 done
36172
36173   else
36174
36175   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
36176 $as_echo_n "checking for _atan2l declaration... " >&6; }
36177   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
36178     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
36179   $as_echo_n "(cached) " >&6
36180 else
36181
36182
36183       ac_ext=cpp
36184 ac_cpp='$CXXCPP $CPPFLAGS'
36185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36188
36189       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36190 /* end confdefs.h.  */
36191 #include <math.h>
36192 int
36193 main ()
36194 {
36195  _atan2l(0, 0);
36196   ;
36197   return 0;
36198 }
36199 _ACEOF
36200 if ac_fn_cxx_try_compile "$LINENO"; then :
36201   glibcxx_cv_func__atan2l_use=yes
36202 else
36203   glibcxx_cv_func__atan2l_use=no
36204 fi
36205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36206       ac_ext=c
36207 ac_cpp='$CPP $CPPFLAGS'
36208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36211
36212
36213 fi
36214
36215   fi
36216   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
36217 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
36218
36219     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
36220       for ac_func in _atan2l
36221 do :
36222   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
36223 if test "x$ac_cv_func__atan2l" = x""yes; then :
36224   cat >>confdefs.h <<_ACEOF
36225 #define HAVE__ATAN2L 1
36226 _ACEOF
36227
36228 fi
36229 done
36230
36231     fi
36232   fi
36233
36234
36235
36236
36237
36238   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
36239 $as_echo_n "checking for expl declaration... " >&6; }
36240   if test x${glibcxx_cv_func_expl_use+set} != xset; then
36241     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
36242   $as_echo_n "(cached) " >&6
36243 else
36244
36245
36246       ac_ext=cpp
36247 ac_cpp='$CXXCPP $CPPFLAGS'
36248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36251
36252       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36253 /* end confdefs.h.  */
36254 #include <math.h>
36255                       #ifdef HAVE_IEEEFP_H
36256                       #include <ieeefp.h>
36257                       #endif
36258
36259 int
36260 main ()
36261 {
36262  expl(0);
36263   ;
36264   return 0;
36265 }
36266 _ACEOF
36267 if ac_fn_cxx_try_compile "$LINENO"; then :
36268   glibcxx_cv_func_expl_use=yes
36269 else
36270   glibcxx_cv_func_expl_use=no
36271 fi
36272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36273       ac_ext=c
36274 ac_cpp='$CPP $CPPFLAGS'
36275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36278
36279
36280 fi
36281
36282   fi
36283   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
36284 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
36285
36286   if test x$glibcxx_cv_func_expl_use = x"yes"; then
36287     for ac_func in expl
36288 do :
36289   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
36290 if test "x$ac_cv_func_expl" = x""yes; then :
36291   cat >>confdefs.h <<_ACEOF
36292 #define HAVE_EXPL 1
36293 _ACEOF
36294
36295 fi
36296 done
36297
36298   else
36299
36300   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
36301 $as_echo_n "checking for _expl declaration... " >&6; }
36302   if test x${glibcxx_cv_func__expl_use+set} != xset; then
36303     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
36304   $as_echo_n "(cached) " >&6
36305 else
36306
36307
36308       ac_ext=cpp
36309 ac_cpp='$CXXCPP $CPPFLAGS'
36310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36313
36314       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36315 /* end confdefs.h.  */
36316 #include <math.h>
36317                       #ifdef HAVE_IEEEFP_H
36318                       #include <ieeefp.h>
36319                       #endif
36320
36321 int
36322 main ()
36323 {
36324  _expl(0);
36325   ;
36326   return 0;
36327 }
36328 _ACEOF
36329 if ac_fn_cxx_try_compile "$LINENO"; then :
36330   glibcxx_cv_func__expl_use=yes
36331 else
36332   glibcxx_cv_func__expl_use=no
36333 fi
36334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36335       ac_ext=c
36336 ac_cpp='$CPP $CPPFLAGS'
36337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36340
36341
36342 fi
36343
36344   fi
36345   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
36346 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
36347
36348     if test x$glibcxx_cv_func__expl_use = x"yes"; then
36349       for ac_func in _expl
36350 do :
36351   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
36352 if test "x$ac_cv_func__expl" = x""yes; then :
36353   cat >>confdefs.h <<_ACEOF
36354 #define HAVE__EXPL 1
36355 _ACEOF
36356
36357 fi
36358 done
36359
36360     fi
36361   fi
36362
36363
36364
36365
36366
36367   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
36368 $as_echo_n "checking for fabsl declaration... " >&6; }
36369   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
36370     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
36371   $as_echo_n "(cached) " >&6
36372 else
36373
36374
36375       ac_ext=cpp
36376 ac_cpp='$CXXCPP $CPPFLAGS'
36377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36380
36381       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36382 /* end confdefs.h.  */
36383 #include <math.h>
36384                       #ifdef HAVE_IEEEFP_H
36385                       #include <ieeefp.h>
36386                       #endif
36387
36388 int
36389 main ()
36390 {
36391  fabsl(0);
36392   ;
36393   return 0;
36394 }
36395 _ACEOF
36396 if ac_fn_cxx_try_compile "$LINENO"; then :
36397   glibcxx_cv_func_fabsl_use=yes
36398 else
36399   glibcxx_cv_func_fabsl_use=no
36400 fi
36401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36402       ac_ext=c
36403 ac_cpp='$CPP $CPPFLAGS'
36404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36407
36408
36409 fi
36410
36411   fi
36412   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
36413 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
36414
36415   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
36416     for ac_func in fabsl
36417 do :
36418   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
36419 if test "x$ac_cv_func_fabsl" = x""yes; then :
36420   cat >>confdefs.h <<_ACEOF
36421 #define HAVE_FABSL 1
36422 _ACEOF
36423
36424 fi
36425 done
36426
36427   else
36428
36429   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
36430 $as_echo_n "checking for _fabsl declaration... " >&6; }
36431   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
36432     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
36433   $as_echo_n "(cached) " >&6
36434 else
36435
36436
36437       ac_ext=cpp
36438 ac_cpp='$CXXCPP $CPPFLAGS'
36439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36442
36443       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36444 /* end confdefs.h.  */
36445 #include <math.h>
36446                       #ifdef HAVE_IEEEFP_H
36447                       #include <ieeefp.h>
36448                       #endif
36449
36450 int
36451 main ()
36452 {
36453  _fabsl(0);
36454   ;
36455   return 0;
36456 }
36457 _ACEOF
36458 if ac_fn_cxx_try_compile "$LINENO"; then :
36459   glibcxx_cv_func__fabsl_use=yes
36460 else
36461   glibcxx_cv_func__fabsl_use=no
36462 fi
36463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36464       ac_ext=c
36465 ac_cpp='$CPP $CPPFLAGS'
36466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36469
36470
36471 fi
36472
36473   fi
36474   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
36475 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
36476
36477     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
36478       for ac_func in _fabsl
36479 do :
36480   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
36481 if test "x$ac_cv_func__fabsl" = x""yes; then :
36482   cat >>confdefs.h <<_ACEOF
36483 #define HAVE__FABSL 1
36484 _ACEOF
36485
36486 fi
36487 done
36488
36489     fi
36490   fi
36491
36492
36493
36494
36495
36496   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
36497 $as_echo_n "checking for fmodl declaration... " >&6; }
36498   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
36499     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
36500   $as_echo_n "(cached) " >&6
36501 else
36502
36503
36504       ac_ext=cpp
36505 ac_cpp='$CXXCPP $CPPFLAGS'
36506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36509
36510       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36511 /* end confdefs.h.  */
36512 #include <math.h>
36513 int
36514 main ()
36515 {
36516  fmodl(0, 0);
36517   ;
36518   return 0;
36519 }
36520 _ACEOF
36521 if ac_fn_cxx_try_compile "$LINENO"; then :
36522   glibcxx_cv_func_fmodl_use=yes
36523 else
36524   glibcxx_cv_func_fmodl_use=no
36525 fi
36526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36527       ac_ext=c
36528 ac_cpp='$CPP $CPPFLAGS'
36529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36532
36533
36534 fi
36535
36536   fi
36537   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
36538 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
36539
36540   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
36541     for ac_func in fmodl
36542 do :
36543   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
36544 if test "x$ac_cv_func_fmodl" = x""yes; then :
36545   cat >>confdefs.h <<_ACEOF
36546 #define HAVE_FMODL 1
36547 _ACEOF
36548
36549 fi
36550 done
36551
36552   else
36553
36554   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
36555 $as_echo_n "checking for _fmodl declaration... " >&6; }
36556   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
36557     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
36558   $as_echo_n "(cached) " >&6
36559 else
36560
36561
36562       ac_ext=cpp
36563 ac_cpp='$CXXCPP $CPPFLAGS'
36564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36567
36568       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36569 /* end confdefs.h.  */
36570 #include <math.h>
36571 int
36572 main ()
36573 {
36574  _fmodl(0, 0);
36575   ;
36576   return 0;
36577 }
36578 _ACEOF
36579 if ac_fn_cxx_try_compile "$LINENO"; then :
36580   glibcxx_cv_func__fmodl_use=yes
36581 else
36582   glibcxx_cv_func__fmodl_use=no
36583 fi
36584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36585       ac_ext=c
36586 ac_cpp='$CPP $CPPFLAGS'
36587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36590
36591
36592 fi
36593
36594   fi
36595   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
36596 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
36597
36598     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
36599       for ac_func in _fmodl
36600 do :
36601   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
36602 if test "x$ac_cv_func__fmodl" = x""yes; then :
36603   cat >>confdefs.h <<_ACEOF
36604 #define HAVE__FMODL 1
36605 _ACEOF
36606
36607 fi
36608 done
36609
36610     fi
36611   fi
36612
36613
36614
36615
36616
36617   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
36618 $as_echo_n "checking for frexpl declaration... " >&6; }
36619   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
36620     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
36621   $as_echo_n "(cached) " >&6
36622 else
36623
36624
36625       ac_ext=cpp
36626 ac_cpp='$CXXCPP $CPPFLAGS'
36627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36630
36631       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36632 /* end confdefs.h.  */
36633 #include <math.h>
36634 int
36635 main ()
36636 {
36637  frexpl(0, 0);
36638   ;
36639   return 0;
36640 }
36641 _ACEOF
36642 if ac_fn_cxx_try_compile "$LINENO"; then :
36643   glibcxx_cv_func_frexpl_use=yes
36644 else
36645   glibcxx_cv_func_frexpl_use=no
36646 fi
36647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36648       ac_ext=c
36649 ac_cpp='$CPP $CPPFLAGS'
36650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36653
36654
36655 fi
36656
36657   fi
36658   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
36659 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
36660
36661   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
36662     for ac_func in frexpl
36663 do :
36664   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
36665 if test "x$ac_cv_func_frexpl" = x""yes; then :
36666   cat >>confdefs.h <<_ACEOF
36667 #define HAVE_FREXPL 1
36668 _ACEOF
36669
36670 fi
36671 done
36672
36673   else
36674
36675   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
36676 $as_echo_n "checking for _frexpl declaration... " >&6; }
36677   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
36678     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
36679   $as_echo_n "(cached) " >&6
36680 else
36681
36682
36683       ac_ext=cpp
36684 ac_cpp='$CXXCPP $CPPFLAGS'
36685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36688
36689       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36690 /* end confdefs.h.  */
36691 #include <math.h>
36692 int
36693 main ()
36694 {
36695  _frexpl(0, 0);
36696   ;
36697   return 0;
36698 }
36699 _ACEOF
36700 if ac_fn_cxx_try_compile "$LINENO"; then :
36701   glibcxx_cv_func__frexpl_use=yes
36702 else
36703   glibcxx_cv_func__frexpl_use=no
36704 fi
36705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36706       ac_ext=c
36707 ac_cpp='$CPP $CPPFLAGS'
36708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36711
36712
36713 fi
36714
36715   fi
36716   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
36717 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
36718
36719     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
36720       for ac_func in _frexpl
36721 do :
36722   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
36723 if test "x$ac_cv_func__frexpl" = x""yes; then :
36724   cat >>confdefs.h <<_ACEOF
36725 #define HAVE__FREXPL 1
36726 _ACEOF
36727
36728 fi
36729 done
36730
36731     fi
36732   fi
36733
36734
36735
36736
36737
36738   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
36739 $as_echo_n "checking for hypotl declaration... " >&6; }
36740   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
36741     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
36742   $as_echo_n "(cached) " >&6
36743 else
36744
36745
36746       ac_ext=cpp
36747 ac_cpp='$CXXCPP $CPPFLAGS'
36748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36751
36752       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36753 /* end confdefs.h.  */
36754 #include <math.h>
36755 int
36756 main ()
36757 {
36758  hypotl(0, 0);
36759   ;
36760   return 0;
36761 }
36762 _ACEOF
36763 if ac_fn_cxx_try_compile "$LINENO"; then :
36764   glibcxx_cv_func_hypotl_use=yes
36765 else
36766   glibcxx_cv_func_hypotl_use=no
36767 fi
36768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36769       ac_ext=c
36770 ac_cpp='$CPP $CPPFLAGS'
36771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36774
36775
36776 fi
36777
36778   fi
36779   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
36780 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
36781
36782   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
36783     for ac_func in hypotl
36784 do :
36785   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
36786 if test "x$ac_cv_func_hypotl" = x""yes; then :
36787   cat >>confdefs.h <<_ACEOF
36788 #define HAVE_HYPOTL 1
36789 _ACEOF
36790
36791 fi
36792 done
36793
36794   else
36795
36796   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
36797 $as_echo_n "checking for _hypotl declaration... " >&6; }
36798   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
36799     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
36800   $as_echo_n "(cached) " >&6
36801 else
36802
36803
36804       ac_ext=cpp
36805 ac_cpp='$CXXCPP $CPPFLAGS'
36806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36809
36810       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36811 /* end confdefs.h.  */
36812 #include <math.h>
36813 int
36814 main ()
36815 {
36816  _hypotl(0, 0);
36817   ;
36818   return 0;
36819 }
36820 _ACEOF
36821 if ac_fn_cxx_try_compile "$LINENO"; then :
36822   glibcxx_cv_func__hypotl_use=yes
36823 else
36824   glibcxx_cv_func__hypotl_use=no
36825 fi
36826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36827       ac_ext=c
36828 ac_cpp='$CPP $CPPFLAGS'
36829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36832
36833
36834 fi
36835
36836   fi
36837   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
36838 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
36839
36840     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
36841       for ac_func in _hypotl
36842 do :
36843   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
36844 if test "x$ac_cv_func__hypotl" = x""yes; then :
36845   cat >>confdefs.h <<_ACEOF
36846 #define HAVE__HYPOTL 1
36847 _ACEOF
36848
36849 fi
36850 done
36851
36852     fi
36853   fi
36854
36855
36856
36857
36858
36859   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
36860 $as_echo_n "checking for ldexpl declaration... " >&6; }
36861   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
36862     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
36863   $as_echo_n "(cached) " >&6
36864 else
36865
36866
36867       ac_ext=cpp
36868 ac_cpp='$CXXCPP $CPPFLAGS'
36869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36872
36873       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36874 /* end confdefs.h.  */
36875 #include <math.h>
36876 int
36877 main ()
36878 {
36879  ldexpl(0, 0);
36880   ;
36881   return 0;
36882 }
36883 _ACEOF
36884 if ac_fn_cxx_try_compile "$LINENO"; then :
36885   glibcxx_cv_func_ldexpl_use=yes
36886 else
36887   glibcxx_cv_func_ldexpl_use=no
36888 fi
36889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36890       ac_ext=c
36891 ac_cpp='$CPP $CPPFLAGS'
36892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36895
36896
36897 fi
36898
36899   fi
36900   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
36901 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
36902
36903   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
36904     for ac_func in ldexpl
36905 do :
36906   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
36907 if test "x$ac_cv_func_ldexpl" = x""yes; then :
36908   cat >>confdefs.h <<_ACEOF
36909 #define HAVE_LDEXPL 1
36910 _ACEOF
36911
36912 fi
36913 done
36914
36915   else
36916
36917   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
36918 $as_echo_n "checking for _ldexpl declaration... " >&6; }
36919   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
36920     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
36921   $as_echo_n "(cached) " >&6
36922 else
36923
36924
36925       ac_ext=cpp
36926 ac_cpp='$CXXCPP $CPPFLAGS'
36927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36930
36931       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36932 /* end confdefs.h.  */
36933 #include <math.h>
36934 int
36935 main ()
36936 {
36937  _ldexpl(0, 0);
36938   ;
36939   return 0;
36940 }
36941 _ACEOF
36942 if ac_fn_cxx_try_compile "$LINENO"; then :
36943   glibcxx_cv_func__ldexpl_use=yes
36944 else
36945   glibcxx_cv_func__ldexpl_use=no
36946 fi
36947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36948       ac_ext=c
36949 ac_cpp='$CPP $CPPFLAGS'
36950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36953
36954
36955 fi
36956
36957   fi
36958   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
36959 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
36960
36961     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
36962       for ac_func in _ldexpl
36963 do :
36964   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
36965 if test "x$ac_cv_func__ldexpl" = x""yes; then :
36966   cat >>confdefs.h <<_ACEOF
36967 #define HAVE__LDEXPL 1
36968 _ACEOF
36969
36970 fi
36971 done
36972
36973     fi
36974   fi
36975
36976
36977
36978
36979
36980   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
36981 $as_echo_n "checking for logl declaration... " >&6; }
36982   if test x${glibcxx_cv_func_logl_use+set} != xset; then
36983     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
36984   $as_echo_n "(cached) " >&6
36985 else
36986
36987
36988       ac_ext=cpp
36989 ac_cpp='$CXXCPP $CPPFLAGS'
36990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36993
36994       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36995 /* end confdefs.h.  */
36996 #include <math.h>
36997                       #ifdef HAVE_IEEEFP_H
36998                       #include <ieeefp.h>
36999                       #endif
37000
37001 int
37002 main ()
37003 {
37004  logl(0);
37005   ;
37006   return 0;
37007 }
37008 _ACEOF
37009 if ac_fn_cxx_try_compile "$LINENO"; then :
37010   glibcxx_cv_func_logl_use=yes
37011 else
37012   glibcxx_cv_func_logl_use=no
37013 fi
37014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37015       ac_ext=c
37016 ac_cpp='$CPP $CPPFLAGS'
37017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37020
37021
37022 fi
37023
37024   fi
37025   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
37026 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
37027
37028   if test x$glibcxx_cv_func_logl_use = x"yes"; then
37029     for ac_func in logl
37030 do :
37031   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
37032 if test "x$ac_cv_func_logl" = x""yes; then :
37033   cat >>confdefs.h <<_ACEOF
37034 #define HAVE_LOGL 1
37035 _ACEOF
37036
37037 fi
37038 done
37039
37040   else
37041
37042   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
37043 $as_echo_n "checking for _logl declaration... " >&6; }
37044   if test x${glibcxx_cv_func__logl_use+set} != xset; then
37045     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
37046   $as_echo_n "(cached) " >&6
37047 else
37048
37049
37050       ac_ext=cpp
37051 ac_cpp='$CXXCPP $CPPFLAGS'
37052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37055
37056       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37057 /* end confdefs.h.  */
37058 #include <math.h>
37059                       #ifdef HAVE_IEEEFP_H
37060                       #include <ieeefp.h>
37061                       #endif
37062
37063 int
37064 main ()
37065 {
37066  _logl(0);
37067   ;
37068   return 0;
37069 }
37070 _ACEOF
37071 if ac_fn_cxx_try_compile "$LINENO"; then :
37072   glibcxx_cv_func__logl_use=yes
37073 else
37074   glibcxx_cv_func__logl_use=no
37075 fi
37076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37077       ac_ext=c
37078 ac_cpp='$CPP $CPPFLAGS'
37079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37082
37083
37084 fi
37085
37086   fi
37087   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
37088 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
37089
37090     if test x$glibcxx_cv_func__logl_use = x"yes"; then
37091       for ac_func in _logl
37092 do :
37093   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
37094 if test "x$ac_cv_func__logl" = x""yes; then :
37095   cat >>confdefs.h <<_ACEOF
37096 #define HAVE__LOGL 1
37097 _ACEOF
37098
37099 fi
37100 done
37101
37102     fi
37103   fi
37104
37105
37106
37107
37108
37109   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
37110 $as_echo_n "checking for log10l declaration... " >&6; }
37111   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
37112     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
37113   $as_echo_n "(cached) " >&6
37114 else
37115
37116
37117       ac_ext=cpp
37118 ac_cpp='$CXXCPP $CPPFLAGS'
37119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37122
37123       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37124 /* end confdefs.h.  */
37125 #include <math.h>
37126                       #ifdef HAVE_IEEEFP_H
37127                       #include <ieeefp.h>
37128                       #endif
37129
37130 int
37131 main ()
37132 {
37133  log10l(0);
37134   ;
37135   return 0;
37136 }
37137 _ACEOF
37138 if ac_fn_cxx_try_compile "$LINENO"; then :
37139   glibcxx_cv_func_log10l_use=yes
37140 else
37141   glibcxx_cv_func_log10l_use=no
37142 fi
37143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37144       ac_ext=c
37145 ac_cpp='$CPP $CPPFLAGS'
37146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37149
37150
37151 fi
37152
37153   fi
37154   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
37155 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
37156
37157   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
37158     for ac_func in log10l
37159 do :
37160   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
37161 if test "x$ac_cv_func_log10l" = x""yes; then :
37162   cat >>confdefs.h <<_ACEOF
37163 #define HAVE_LOG10L 1
37164 _ACEOF
37165
37166 fi
37167 done
37168
37169   else
37170
37171   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
37172 $as_echo_n "checking for _log10l declaration... " >&6; }
37173   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
37174     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
37175   $as_echo_n "(cached) " >&6
37176 else
37177
37178
37179       ac_ext=cpp
37180 ac_cpp='$CXXCPP $CPPFLAGS'
37181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37184
37185       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37186 /* end confdefs.h.  */
37187 #include <math.h>
37188                       #ifdef HAVE_IEEEFP_H
37189                       #include <ieeefp.h>
37190                       #endif
37191
37192 int
37193 main ()
37194 {
37195  _log10l(0);
37196   ;
37197   return 0;
37198 }
37199 _ACEOF
37200 if ac_fn_cxx_try_compile "$LINENO"; then :
37201   glibcxx_cv_func__log10l_use=yes
37202 else
37203   glibcxx_cv_func__log10l_use=no
37204 fi
37205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37206       ac_ext=c
37207 ac_cpp='$CPP $CPPFLAGS'
37208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37211
37212
37213 fi
37214
37215   fi
37216   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
37217 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
37218
37219     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
37220       for ac_func in _log10l
37221 do :
37222   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
37223 if test "x$ac_cv_func__log10l" = x""yes; then :
37224   cat >>confdefs.h <<_ACEOF
37225 #define HAVE__LOG10L 1
37226 _ACEOF
37227
37228 fi
37229 done
37230
37231     fi
37232   fi
37233
37234
37235
37236
37237
37238   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
37239 $as_echo_n "checking for modfl declaration... " >&6; }
37240   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
37241     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
37242   $as_echo_n "(cached) " >&6
37243 else
37244
37245
37246       ac_ext=cpp
37247 ac_cpp='$CXXCPP $CPPFLAGS'
37248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37251
37252       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37253 /* end confdefs.h.  */
37254 #include <math.h>
37255 int
37256 main ()
37257 {
37258  modfl(0, 0);
37259   ;
37260   return 0;
37261 }
37262 _ACEOF
37263 if ac_fn_cxx_try_compile "$LINENO"; then :
37264   glibcxx_cv_func_modfl_use=yes
37265 else
37266   glibcxx_cv_func_modfl_use=no
37267 fi
37268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37269       ac_ext=c
37270 ac_cpp='$CPP $CPPFLAGS'
37271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37274
37275
37276 fi
37277
37278   fi
37279   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
37280 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
37281
37282   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
37283     for ac_func in modfl
37284 do :
37285   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
37286 if test "x$ac_cv_func_modfl" = x""yes; then :
37287   cat >>confdefs.h <<_ACEOF
37288 #define HAVE_MODFL 1
37289 _ACEOF
37290
37291 fi
37292 done
37293
37294   else
37295
37296   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
37297 $as_echo_n "checking for _modfl declaration... " >&6; }
37298   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
37299     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
37300   $as_echo_n "(cached) " >&6
37301 else
37302
37303
37304       ac_ext=cpp
37305 ac_cpp='$CXXCPP $CPPFLAGS'
37306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37309
37310       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37311 /* end confdefs.h.  */
37312 #include <math.h>
37313 int
37314 main ()
37315 {
37316  _modfl(0, 0);
37317   ;
37318   return 0;
37319 }
37320 _ACEOF
37321 if ac_fn_cxx_try_compile "$LINENO"; then :
37322   glibcxx_cv_func__modfl_use=yes
37323 else
37324   glibcxx_cv_func__modfl_use=no
37325 fi
37326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37327       ac_ext=c
37328 ac_cpp='$CPP $CPPFLAGS'
37329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37332
37333
37334 fi
37335
37336   fi
37337   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
37338 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
37339
37340     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
37341       for ac_func in _modfl
37342 do :
37343   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
37344 if test "x$ac_cv_func__modfl" = x""yes; then :
37345   cat >>confdefs.h <<_ACEOF
37346 #define HAVE__MODFL 1
37347 _ACEOF
37348
37349 fi
37350 done
37351
37352     fi
37353   fi
37354
37355
37356
37357
37358
37359   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
37360 $as_echo_n "checking for powl declaration... " >&6; }
37361   if test x${glibcxx_cv_func_powl_use+set} != xset; then
37362     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
37363   $as_echo_n "(cached) " >&6
37364 else
37365
37366
37367       ac_ext=cpp
37368 ac_cpp='$CXXCPP $CPPFLAGS'
37369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37372
37373       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37374 /* end confdefs.h.  */
37375 #include <math.h>
37376 int
37377 main ()
37378 {
37379  powl(0, 0);
37380   ;
37381   return 0;
37382 }
37383 _ACEOF
37384 if ac_fn_cxx_try_compile "$LINENO"; then :
37385   glibcxx_cv_func_powl_use=yes
37386 else
37387   glibcxx_cv_func_powl_use=no
37388 fi
37389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37390       ac_ext=c
37391 ac_cpp='$CPP $CPPFLAGS'
37392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37395
37396
37397 fi
37398
37399   fi
37400   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
37401 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
37402
37403   if test x$glibcxx_cv_func_powl_use = x"yes"; then
37404     for ac_func in powl
37405 do :
37406   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
37407 if test "x$ac_cv_func_powl" = x""yes; then :
37408   cat >>confdefs.h <<_ACEOF
37409 #define HAVE_POWL 1
37410 _ACEOF
37411
37412 fi
37413 done
37414
37415   else
37416
37417   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
37418 $as_echo_n "checking for _powl declaration... " >&6; }
37419   if test x${glibcxx_cv_func__powl_use+set} != xset; then
37420     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
37421   $as_echo_n "(cached) " >&6
37422 else
37423
37424
37425       ac_ext=cpp
37426 ac_cpp='$CXXCPP $CPPFLAGS'
37427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37430
37431       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37432 /* end confdefs.h.  */
37433 #include <math.h>
37434 int
37435 main ()
37436 {
37437  _powl(0, 0);
37438   ;
37439   return 0;
37440 }
37441 _ACEOF
37442 if ac_fn_cxx_try_compile "$LINENO"; then :
37443   glibcxx_cv_func__powl_use=yes
37444 else
37445   glibcxx_cv_func__powl_use=no
37446 fi
37447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37448       ac_ext=c
37449 ac_cpp='$CPP $CPPFLAGS'
37450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37453
37454
37455 fi
37456
37457   fi
37458   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
37459 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
37460
37461     if test x$glibcxx_cv_func__powl_use = x"yes"; then
37462       for ac_func in _powl
37463 do :
37464   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
37465 if test "x$ac_cv_func__powl" = x""yes; then :
37466   cat >>confdefs.h <<_ACEOF
37467 #define HAVE__POWL 1
37468 _ACEOF
37469
37470 fi
37471 done
37472
37473     fi
37474   fi
37475
37476
37477
37478
37479
37480   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
37481 $as_echo_n "checking for sqrtl declaration... " >&6; }
37482   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
37483     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
37484   $as_echo_n "(cached) " >&6
37485 else
37486
37487
37488       ac_ext=cpp
37489 ac_cpp='$CXXCPP $CPPFLAGS'
37490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37493
37494       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37495 /* end confdefs.h.  */
37496 #include <math.h>
37497                       #ifdef HAVE_IEEEFP_H
37498                       #include <ieeefp.h>
37499                       #endif
37500
37501 int
37502 main ()
37503 {
37504  sqrtl(0);
37505   ;
37506   return 0;
37507 }
37508 _ACEOF
37509 if ac_fn_cxx_try_compile "$LINENO"; then :
37510   glibcxx_cv_func_sqrtl_use=yes
37511 else
37512   glibcxx_cv_func_sqrtl_use=no
37513 fi
37514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37515       ac_ext=c
37516 ac_cpp='$CPP $CPPFLAGS'
37517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37520
37521
37522 fi
37523
37524   fi
37525   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
37526 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
37527
37528   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
37529     for ac_func in sqrtl
37530 do :
37531   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
37532 if test "x$ac_cv_func_sqrtl" = x""yes; then :
37533   cat >>confdefs.h <<_ACEOF
37534 #define HAVE_SQRTL 1
37535 _ACEOF
37536
37537 fi
37538 done
37539
37540   else
37541
37542   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
37543 $as_echo_n "checking for _sqrtl declaration... " >&6; }
37544   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
37545     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
37546   $as_echo_n "(cached) " >&6
37547 else
37548
37549
37550       ac_ext=cpp
37551 ac_cpp='$CXXCPP $CPPFLAGS'
37552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37555
37556       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37557 /* end confdefs.h.  */
37558 #include <math.h>
37559                       #ifdef HAVE_IEEEFP_H
37560                       #include <ieeefp.h>
37561                       #endif
37562
37563 int
37564 main ()
37565 {
37566  _sqrtl(0);
37567   ;
37568   return 0;
37569 }
37570 _ACEOF
37571 if ac_fn_cxx_try_compile "$LINENO"; then :
37572   glibcxx_cv_func__sqrtl_use=yes
37573 else
37574   glibcxx_cv_func__sqrtl_use=no
37575 fi
37576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37577       ac_ext=c
37578 ac_cpp='$CPP $CPPFLAGS'
37579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37582
37583
37584 fi
37585
37586   fi
37587   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
37588 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
37589
37590     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
37591       for ac_func in _sqrtl
37592 do :
37593   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
37594 if test "x$ac_cv_func__sqrtl" = x""yes; then :
37595   cat >>confdefs.h <<_ACEOF
37596 #define HAVE__SQRTL 1
37597 _ACEOF
37598
37599 fi
37600 done
37601
37602     fi
37603   fi
37604
37605
37606
37607
37608
37609   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
37610 $as_echo_n "checking for sincosl declaration... " >&6; }
37611   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
37612     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
37613   $as_echo_n "(cached) " >&6
37614 else
37615
37616
37617       ac_ext=cpp
37618 ac_cpp='$CXXCPP $CPPFLAGS'
37619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37622
37623       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37624 /* end confdefs.h.  */
37625 #include <math.h>
37626 int
37627 main ()
37628 {
37629  sincosl(0, 0, 0);
37630   ;
37631   return 0;
37632 }
37633 _ACEOF
37634 if ac_fn_cxx_try_compile "$LINENO"; then :
37635   glibcxx_cv_func_sincosl_use=yes
37636 else
37637   glibcxx_cv_func_sincosl_use=no
37638 fi
37639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37640       ac_ext=c
37641 ac_cpp='$CPP $CPPFLAGS'
37642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37645
37646
37647 fi
37648
37649   fi
37650   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
37651 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
37652
37653   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
37654     for ac_func in sincosl
37655 do :
37656   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
37657 if test "x$ac_cv_func_sincosl" = x""yes; then :
37658   cat >>confdefs.h <<_ACEOF
37659 #define HAVE_SINCOSL 1
37660 _ACEOF
37661
37662 fi
37663 done
37664
37665   else
37666
37667   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
37668 $as_echo_n "checking for _sincosl declaration... " >&6; }
37669   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
37670     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
37671   $as_echo_n "(cached) " >&6
37672 else
37673
37674
37675       ac_ext=cpp
37676 ac_cpp='$CXXCPP $CPPFLAGS'
37677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37680
37681       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37682 /* end confdefs.h.  */
37683 #include <math.h>
37684 int
37685 main ()
37686 {
37687  _sincosl(0, 0, 0);
37688   ;
37689   return 0;
37690 }
37691 _ACEOF
37692 if ac_fn_cxx_try_compile "$LINENO"; then :
37693   glibcxx_cv_func__sincosl_use=yes
37694 else
37695   glibcxx_cv_func__sincosl_use=no
37696 fi
37697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37698       ac_ext=c
37699 ac_cpp='$CPP $CPPFLAGS'
37700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37703
37704
37705 fi
37706
37707   fi
37708   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
37709 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
37710
37711     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
37712       for ac_func in _sincosl
37713 do :
37714   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
37715 if test "x$ac_cv_func__sincosl" = x""yes; then :
37716   cat >>confdefs.h <<_ACEOF
37717 #define HAVE__SINCOSL 1
37718 _ACEOF
37719
37720 fi
37721 done
37722
37723     fi
37724   fi
37725
37726
37727
37728
37729
37730   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
37731 $as_echo_n "checking for finitel declaration... " >&6; }
37732   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
37733     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
37734   $as_echo_n "(cached) " >&6
37735 else
37736
37737
37738       ac_ext=cpp
37739 ac_cpp='$CXXCPP $CPPFLAGS'
37740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37743
37744       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37745 /* end confdefs.h.  */
37746 #include <math.h>
37747                       #ifdef HAVE_IEEEFP_H
37748                       #include <ieeefp.h>
37749                       #endif
37750
37751 int
37752 main ()
37753 {
37754  finitel(0);
37755   ;
37756   return 0;
37757 }
37758 _ACEOF
37759 if ac_fn_cxx_try_compile "$LINENO"; then :
37760   glibcxx_cv_func_finitel_use=yes
37761 else
37762   glibcxx_cv_func_finitel_use=no
37763 fi
37764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37765       ac_ext=c
37766 ac_cpp='$CPP $CPPFLAGS'
37767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37770
37771
37772 fi
37773
37774   fi
37775   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
37776 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
37777
37778   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
37779     for ac_func in finitel
37780 do :
37781   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
37782 if test "x$ac_cv_func_finitel" = x""yes; then :
37783   cat >>confdefs.h <<_ACEOF
37784 #define HAVE_FINITEL 1
37785 _ACEOF
37786
37787 fi
37788 done
37789
37790   else
37791
37792   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
37793 $as_echo_n "checking for _finitel declaration... " >&6; }
37794   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
37795     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
37796   $as_echo_n "(cached) " >&6
37797 else
37798
37799
37800       ac_ext=cpp
37801 ac_cpp='$CXXCPP $CPPFLAGS'
37802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37805
37806       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37807 /* end confdefs.h.  */
37808 #include <math.h>
37809                       #ifdef HAVE_IEEEFP_H
37810                       #include <ieeefp.h>
37811                       #endif
37812
37813 int
37814 main ()
37815 {
37816  _finitel(0);
37817   ;
37818   return 0;
37819 }
37820 _ACEOF
37821 if ac_fn_cxx_try_compile "$LINENO"; then :
37822   glibcxx_cv_func__finitel_use=yes
37823 else
37824   glibcxx_cv_func__finitel_use=no
37825 fi
37826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37827       ac_ext=c
37828 ac_cpp='$CPP $CPPFLAGS'
37829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37832
37833
37834 fi
37835
37836   fi
37837   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
37838 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
37839
37840     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
37841       for ac_func in _finitel
37842 do :
37843   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
37844 if test "x$ac_cv_func__finitel" = x""yes; then :
37845   cat >>confdefs.h <<_ACEOF
37846 #define HAVE__FINITEL 1
37847 _ACEOF
37848
37849 fi
37850 done
37851
37852     fi
37853   fi
37854
37855
37856
37857
37858   LIBS="$ac_save_LIBS"
37859   CXXFLAGS="$ac_save_CXXFLAGS"
37860
37861
37862   ac_test_CXXFLAGS="${CXXFLAGS+set}"
37863   ac_save_CXXFLAGS="$CXXFLAGS"
37864   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
37865
37866
37867   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
37868 $as_echo_n "checking for strtold declaration... " >&6; }
37869   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
37870     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
37871   $as_echo_n "(cached) " >&6
37872 else
37873
37874
37875       ac_ext=cpp
37876 ac_cpp='$CXXCPP $CPPFLAGS'
37877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37880
37881       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37882 /* end confdefs.h.  */
37883 #include <stdlib.h>
37884 int
37885 main ()
37886 {
37887  strtold(0, 0);
37888   ;
37889   return 0;
37890 }
37891 _ACEOF
37892 if ac_fn_cxx_try_compile "$LINENO"; then :
37893   glibcxx_cv_func_strtold_use=yes
37894 else
37895   glibcxx_cv_func_strtold_use=no
37896 fi
37897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37898       ac_ext=c
37899 ac_cpp='$CPP $CPPFLAGS'
37900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37903
37904
37905 fi
37906
37907   fi
37908   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
37909 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
37910   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
37911     for ac_func in strtold
37912 do :
37913   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
37914 if test "x$ac_cv_func_strtold" = x""yes; then :
37915   cat >>confdefs.h <<_ACEOF
37916 #define HAVE_STRTOLD 1
37917 _ACEOF
37918
37919 fi
37920 done
37921
37922   fi
37923
37924
37925
37926
37927   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
37928 $as_echo_n "checking for strtof declaration... " >&6; }
37929   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
37930     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
37931   $as_echo_n "(cached) " >&6
37932 else
37933
37934
37935       ac_ext=cpp
37936 ac_cpp='$CXXCPP $CPPFLAGS'
37937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37940
37941       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37942 /* end confdefs.h.  */
37943 #include <stdlib.h>
37944 int
37945 main ()
37946 {
37947  strtof(0, 0);
37948   ;
37949   return 0;
37950 }
37951 _ACEOF
37952 if ac_fn_cxx_try_compile "$LINENO"; then :
37953   glibcxx_cv_func_strtof_use=yes
37954 else
37955   glibcxx_cv_func_strtof_use=no
37956 fi
37957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37958       ac_ext=c
37959 ac_cpp='$CPP $CPPFLAGS'
37960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37963
37964
37965 fi
37966
37967   fi
37968   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
37969 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
37970   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
37971     for ac_func in strtof
37972 do :
37973   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
37974 if test "x$ac_cv_func_strtof" = x""yes; then :
37975   cat >>confdefs.h <<_ACEOF
37976 #define HAVE_STRTOF 1
37977 _ACEOF
37978
37979 fi
37980 done
37981
37982   fi
37983
37984
37985
37986
37987   CXXFLAGS="$ac_save_CXXFLAGS"
37988
37989     $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
37990
37991     # We don't yet support AIX's TLS ABI.
37992     #GCC_CHECK_TLS
37993
37994
37995
37996
37997
37998           am_save_CPPFLAGS="$CPPFLAGS"
37999
38000   for element in $INCICONV; do
38001     haveit=
38002     for x in $CPPFLAGS; do
38003
38004   acl_save_prefix="$prefix"
38005   prefix="$acl_final_prefix"
38006   acl_save_exec_prefix="$exec_prefix"
38007   exec_prefix="$acl_final_exec_prefix"
38008   eval x=\"$x\"
38009   exec_prefix="$acl_save_exec_prefix"
38010   prefix="$acl_save_prefix"
38011
38012       if test "X$x" = "X$element"; then
38013         haveit=yes
38014         break
38015       fi
38016     done
38017     if test -z "$haveit"; then
38018       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
38019     fi
38020   done
38021
38022
38023   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
38024 $as_echo_n "checking for iconv... " >&6; }
38025 if test "${am_cv_func_iconv+set}" = set; then :
38026   $as_echo_n "(cached) " >&6
38027 else
38028
38029     am_cv_func_iconv="no, consider installing GNU libiconv"
38030     am_cv_lib_iconv=no
38031     if test x$gcc_no_link = xyes; then
38032   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38033 fi
38034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38035 /* end confdefs.h.  */
38036 #include <stdlib.h>
38037 #include <iconv.h>
38038 int
38039 main ()
38040 {
38041 iconv_t cd = iconv_open("","");
38042        iconv(cd,NULL,NULL,NULL,NULL);
38043        iconv_close(cd);
38044   ;
38045   return 0;
38046 }
38047 _ACEOF
38048 if ac_fn_c_try_link "$LINENO"; then :
38049   am_cv_func_iconv=yes
38050 fi
38051 rm -f core conftest.err conftest.$ac_objext \
38052     conftest$ac_exeext conftest.$ac_ext
38053     if test "$am_cv_func_iconv" != yes; then
38054       am_save_LIBS="$LIBS"
38055       LIBS="$LIBS $LIBICONV"
38056       if test x$gcc_no_link = xyes; then
38057   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38058 fi
38059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38060 /* end confdefs.h.  */
38061 #include <stdlib.h>
38062 #include <iconv.h>
38063 int
38064 main ()
38065 {
38066 iconv_t cd = iconv_open("","");
38067          iconv(cd,NULL,NULL,NULL,NULL);
38068          iconv_close(cd);
38069   ;
38070   return 0;
38071 }
38072 _ACEOF
38073 if ac_fn_c_try_link "$LINENO"; then :
38074   am_cv_lib_iconv=yes
38075         am_cv_func_iconv=yes
38076 fi
38077 rm -f core conftest.err conftest.$ac_objext \
38078     conftest$ac_exeext conftest.$ac_ext
38079       LIBS="$am_save_LIBS"
38080     fi
38081
38082 fi
38083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
38084 $as_echo "$am_cv_func_iconv" >&6; }
38085   if test "$am_cv_func_iconv" = yes; then
38086
38087 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
38088
38089   fi
38090   if test "$am_cv_lib_iconv" = yes; then
38091     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
38092 $as_echo_n "checking how to link with libiconv... " >&6; }
38093     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
38094 $as_echo "$LIBICONV" >&6; }
38095   else
38096             CPPFLAGS="$am_save_CPPFLAGS"
38097     LIBICONV=
38098     LTLIBICONV=
38099   fi
38100
38101
38102
38103   if test "$am_cv_func_iconv" = yes; then
38104     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
38105 $as_echo_n "checking for iconv declaration... " >&6; }
38106     if test "${am_cv_proto_iconv+set}" = set; then :
38107   $as_echo_n "(cached) " >&6
38108 else
38109
38110       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38111 /* end confdefs.h.  */
38112
38113 #include <stdlib.h>
38114 #include <iconv.h>
38115 extern
38116 #ifdef __cplusplus
38117 "C"
38118 #endif
38119 #if defined(__STDC__) || defined(__cplusplus)
38120 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
38121 #else
38122 size_t iconv();
38123 #endif
38124
38125 int
38126 main ()
38127 {
38128
38129   ;
38130   return 0;
38131 }
38132 _ACEOF
38133 if ac_fn_c_try_compile "$LINENO"; then :
38134   am_cv_proto_iconv_arg1=""
38135 else
38136   am_cv_proto_iconv_arg1="const"
38137 fi
38138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38139       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);"
38140 fi
38141
38142     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
38143     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
38144          }$am_cv_proto_iconv" >&5
38145 $as_echo "${ac_t:-
38146          }$am_cv_proto_iconv" >&6; }
38147
38148 cat >>confdefs.h <<_ACEOF
38149 #define ICONV_CONST $am_cv_proto_iconv_arg1
38150 _ACEOF
38151
38152   fi
38153
38154     ;;
38155
38156   *-darwin*)
38157     # Darwin versions vary, but the linker should work in a cross environment,
38158     # so we just check for all the features here.
38159     # Check for available headers.
38160
38161     # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
38162
38163   ac_test_CXXFLAGS="${CXXFLAGS+set}"
38164   ac_save_CXXFLAGS="$CXXFLAGS"
38165   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
38166
38167     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
38168 $as_echo_n "checking for sin in -lm... " >&6; }
38169 if test "${ac_cv_lib_m_sin+set}" = set; then :
38170   $as_echo_n "(cached) " >&6
38171 else
38172   ac_check_lib_save_LIBS=$LIBS
38173 LIBS="-lm  $LIBS"
38174 if test x$gcc_no_link = xyes; then
38175   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38176 fi
38177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38178 /* end confdefs.h.  */
38179
38180 /* Override any GCC internal prototype to avoid an error.
38181    Use char because int might match the return type of a GCC
38182    builtin and then its argument prototype would still apply.  */
38183 #ifdef __cplusplus
38184 extern "C"
38185 #endif
38186 char sin ();
38187 int
38188 main ()
38189 {
38190 return sin ();
38191   ;
38192   return 0;
38193 }
38194 _ACEOF
38195 if ac_fn_c_try_link "$LINENO"; then :
38196   ac_cv_lib_m_sin=yes
38197 else
38198   ac_cv_lib_m_sin=no
38199 fi
38200 rm -f core conftest.err conftest.$ac_objext \
38201     conftest$ac_exeext conftest.$ac_ext
38202 LIBS=$ac_check_lib_save_LIBS
38203 fi
38204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
38205 $as_echo "$ac_cv_lib_m_sin" >&6; }
38206 if test "x$ac_cv_lib_m_sin" = x""yes; then :
38207   libm="-lm"
38208 fi
38209
38210   ac_save_LIBS="$LIBS"
38211   LIBS="$LIBS $libm"
38212
38213
38214
38215   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
38216 $as_echo_n "checking for isinf declaration... " >&6; }
38217   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
38218     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
38219   $as_echo_n "(cached) " >&6
38220 else
38221
38222
38223       ac_ext=cpp
38224 ac_cpp='$CXXCPP $CPPFLAGS'
38225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38228
38229       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38230 /* end confdefs.h.  */
38231 #include <math.h>
38232                       #ifdef HAVE_IEEEFP_H
38233                       #include <ieeefp.h>
38234                       #endif
38235
38236 int
38237 main ()
38238 {
38239  isinf(0);
38240   ;
38241   return 0;
38242 }
38243 _ACEOF
38244 if ac_fn_cxx_try_compile "$LINENO"; then :
38245   glibcxx_cv_func_isinf_use=yes
38246 else
38247   glibcxx_cv_func_isinf_use=no
38248 fi
38249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38250       ac_ext=c
38251 ac_cpp='$CPP $CPPFLAGS'
38252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38255
38256
38257 fi
38258
38259   fi
38260   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
38261 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
38262
38263   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
38264     for ac_func in isinf
38265 do :
38266   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
38267 if test "x$ac_cv_func_isinf" = x""yes; then :
38268   cat >>confdefs.h <<_ACEOF
38269 #define HAVE_ISINF 1
38270 _ACEOF
38271
38272 fi
38273 done
38274
38275   else
38276
38277   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
38278 $as_echo_n "checking for _isinf declaration... " >&6; }
38279   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
38280     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
38281   $as_echo_n "(cached) " >&6
38282 else
38283
38284
38285       ac_ext=cpp
38286 ac_cpp='$CXXCPP $CPPFLAGS'
38287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38290
38291       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38292 /* end confdefs.h.  */
38293 #include <math.h>
38294                       #ifdef HAVE_IEEEFP_H
38295                       #include <ieeefp.h>
38296                       #endif
38297
38298 int
38299 main ()
38300 {
38301  _isinf(0);
38302   ;
38303   return 0;
38304 }
38305 _ACEOF
38306 if ac_fn_cxx_try_compile "$LINENO"; then :
38307   glibcxx_cv_func__isinf_use=yes
38308 else
38309   glibcxx_cv_func__isinf_use=no
38310 fi
38311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38312       ac_ext=c
38313 ac_cpp='$CPP $CPPFLAGS'
38314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38317
38318
38319 fi
38320
38321   fi
38322   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
38323 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
38324
38325     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
38326       for ac_func in _isinf
38327 do :
38328   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
38329 if test "x$ac_cv_func__isinf" = x""yes; then :
38330   cat >>confdefs.h <<_ACEOF
38331 #define HAVE__ISINF 1
38332 _ACEOF
38333
38334 fi
38335 done
38336
38337     fi
38338   fi
38339
38340
38341
38342
38343
38344   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
38345 $as_echo_n "checking for isnan declaration... " >&6; }
38346   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
38347     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
38348   $as_echo_n "(cached) " >&6
38349 else
38350
38351
38352       ac_ext=cpp
38353 ac_cpp='$CXXCPP $CPPFLAGS'
38354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38357
38358       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38359 /* end confdefs.h.  */
38360 #include <math.h>
38361                       #ifdef HAVE_IEEEFP_H
38362                       #include <ieeefp.h>
38363                       #endif
38364
38365 int
38366 main ()
38367 {
38368  isnan(0);
38369   ;
38370   return 0;
38371 }
38372 _ACEOF
38373 if ac_fn_cxx_try_compile "$LINENO"; then :
38374   glibcxx_cv_func_isnan_use=yes
38375 else
38376   glibcxx_cv_func_isnan_use=no
38377 fi
38378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38379       ac_ext=c
38380 ac_cpp='$CPP $CPPFLAGS'
38381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38384
38385
38386 fi
38387
38388   fi
38389   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
38390 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
38391
38392   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
38393     for ac_func in isnan
38394 do :
38395   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
38396 if test "x$ac_cv_func_isnan" = x""yes; then :
38397   cat >>confdefs.h <<_ACEOF
38398 #define HAVE_ISNAN 1
38399 _ACEOF
38400
38401 fi
38402 done
38403
38404   else
38405
38406   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
38407 $as_echo_n "checking for _isnan declaration... " >&6; }
38408   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
38409     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
38410   $as_echo_n "(cached) " >&6
38411 else
38412
38413
38414       ac_ext=cpp
38415 ac_cpp='$CXXCPP $CPPFLAGS'
38416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38419
38420       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38421 /* end confdefs.h.  */
38422 #include <math.h>
38423                       #ifdef HAVE_IEEEFP_H
38424                       #include <ieeefp.h>
38425                       #endif
38426
38427 int
38428 main ()
38429 {
38430  _isnan(0);
38431   ;
38432   return 0;
38433 }
38434 _ACEOF
38435 if ac_fn_cxx_try_compile "$LINENO"; then :
38436   glibcxx_cv_func__isnan_use=yes
38437 else
38438   glibcxx_cv_func__isnan_use=no
38439 fi
38440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38441       ac_ext=c
38442 ac_cpp='$CPP $CPPFLAGS'
38443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38446
38447
38448 fi
38449
38450   fi
38451   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
38452 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
38453
38454     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
38455       for ac_func in _isnan
38456 do :
38457   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
38458 if test "x$ac_cv_func__isnan" = x""yes; then :
38459   cat >>confdefs.h <<_ACEOF
38460 #define HAVE__ISNAN 1
38461 _ACEOF
38462
38463 fi
38464 done
38465
38466     fi
38467   fi
38468
38469
38470
38471
38472
38473   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
38474 $as_echo_n "checking for finite declaration... " >&6; }
38475   if test x${glibcxx_cv_func_finite_use+set} != xset; then
38476     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
38477   $as_echo_n "(cached) " >&6
38478 else
38479
38480
38481       ac_ext=cpp
38482 ac_cpp='$CXXCPP $CPPFLAGS'
38483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38486
38487       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38488 /* end confdefs.h.  */
38489 #include <math.h>
38490                       #ifdef HAVE_IEEEFP_H
38491                       #include <ieeefp.h>
38492                       #endif
38493
38494 int
38495 main ()
38496 {
38497  finite(0);
38498   ;
38499   return 0;
38500 }
38501 _ACEOF
38502 if ac_fn_cxx_try_compile "$LINENO"; then :
38503   glibcxx_cv_func_finite_use=yes
38504 else
38505   glibcxx_cv_func_finite_use=no
38506 fi
38507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38508       ac_ext=c
38509 ac_cpp='$CPP $CPPFLAGS'
38510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38513
38514
38515 fi
38516
38517   fi
38518   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
38519 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
38520
38521   if test x$glibcxx_cv_func_finite_use = x"yes"; then
38522     for ac_func in finite
38523 do :
38524   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
38525 if test "x$ac_cv_func_finite" = x""yes; then :
38526   cat >>confdefs.h <<_ACEOF
38527 #define HAVE_FINITE 1
38528 _ACEOF
38529
38530 fi
38531 done
38532
38533   else
38534
38535   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
38536 $as_echo_n "checking for _finite declaration... " >&6; }
38537   if test x${glibcxx_cv_func__finite_use+set} != xset; then
38538     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
38539   $as_echo_n "(cached) " >&6
38540 else
38541
38542
38543       ac_ext=cpp
38544 ac_cpp='$CXXCPP $CPPFLAGS'
38545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38548
38549       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38550 /* end confdefs.h.  */
38551 #include <math.h>
38552                       #ifdef HAVE_IEEEFP_H
38553                       #include <ieeefp.h>
38554                       #endif
38555
38556 int
38557 main ()
38558 {
38559  _finite(0);
38560   ;
38561   return 0;
38562 }
38563 _ACEOF
38564 if ac_fn_cxx_try_compile "$LINENO"; then :
38565   glibcxx_cv_func__finite_use=yes
38566 else
38567   glibcxx_cv_func__finite_use=no
38568 fi
38569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38570       ac_ext=c
38571 ac_cpp='$CPP $CPPFLAGS'
38572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38575
38576
38577 fi
38578
38579   fi
38580   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
38581 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
38582
38583     if test x$glibcxx_cv_func__finite_use = x"yes"; then
38584       for ac_func in _finite
38585 do :
38586   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
38587 if test "x$ac_cv_func__finite" = x""yes; then :
38588   cat >>confdefs.h <<_ACEOF
38589 #define HAVE__FINITE 1
38590 _ACEOF
38591
38592 fi
38593 done
38594
38595     fi
38596   fi
38597
38598
38599
38600
38601
38602   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
38603 $as_echo_n "checking for sincos declaration... " >&6; }
38604   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
38605     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
38606   $as_echo_n "(cached) " >&6
38607 else
38608
38609
38610       ac_ext=cpp
38611 ac_cpp='$CXXCPP $CPPFLAGS'
38612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38615
38616       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38617 /* end confdefs.h.  */
38618 #include <math.h>
38619 int
38620 main ()
38621 {
38622  sincos(0, 0, 0);
38623   ;
38624   return 0;
38625 }
38626 _ACEOF
38627 if ac_fn_cxx_try_compile "$LINENO"; then :
38628   glibcxx_cv_func_sincos_use=yes
38629 else
38630   glibcxx_cv_func_sincos_use=no
38631 fi
38632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38633       ac_ext=c
38634 ac_cpp='$CPP $CPPFLAGS'
38635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38638
38639
38640 fi
38641
38642   fi
38643   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
38644 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
38645
38646   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
38647     for ac_func in sincos
38648 do :
38649   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
38650 if test "x$ac_cv_func_sincos" = x""yes; then :
38651   cat >>confdefs.h <<_ACEOF
38652 #define HAVE_SINCOS 1
38653 _ACEOF
38654
38655 fi
38656 done
38657
38658   else
38659
38660   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
38661 $as_echo_n "checking for _sincos declaration... " >&6; }
38662   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
38663     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
38664   $as_echo_n "(cached) " >&6
38665 else
38666
38667
38668       ac_ext=cpp
38669 ac_cpp='$CXXCPP $CPPFLAGS'
38670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38673
38674       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38675 /* end confdefs.h.  */
38676 #include <math.h>
38677 int
38678 main ()
38679 {
38680  _sincos(0, 0, 0);
38681   ;
38682   return 0;
38683 }
38684 _ACEOF
38685 if ac_fn_cxx_try_compile "$LINENO"; then :
38686   glibcxx_cv_func__sincos_use=yes
38687 else
38688   glibcxx_cv_func__sincos_use=no
38689 fi
38690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38691       ac_ext=c
38692 ac_cpp='$CPP $CPPFLAGS'
38693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38696
38697
38698 fi
38699
38700   fi
38701   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
38702 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
38703
38704     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
38705       for ac_func in _sincos
38706 do :
38707   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
38708 if test "x$ac_cv_func__sincos" = x""yes; then :
38709   cat >>confdefs.h <<_ACEOF
38710 #define HAVE__SINCOS 1
38711 _ACEOF
38712
38713 fi
38714 done
38715
38716     fi
38717   fi
38718
38719
38720
38721
38722
38723   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
38724 $as_echo_n "checking for fpclass declaration... " >&6; }
38725   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
38726     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
38727   $as_echo_n "(cached) " >&6
38728 else
38729
38730
38731       ac_ext=cpp
38732 ac_cpp='$CXXCPP $CPPFLAGS'
38733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38736
38737       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38738 /* end confdefs.h.  */
38739 #include <math.h>
38740                       #ifdef HAVE_IEEEFP_H
38741                       #include <ieeefp.h>
38742                       #endif
38743
38744 int
38745 main ()
38746 {
38747  fpclass(0);
38748   ;
38749   return 0;
38750 }
38751 _ACEOF
38752 if ac_fn_cxx_try_compile "$LINENO"; then :
38753   glibcxx_cv_func_fpclass_use=yes
38754 else
38755   glibcxx_cv_func_fpclass_use=no
38756 fi
38757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38758       ac_ext=c
38759 ac_cpp='$CPP $CPPFLAGS'
38760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38763
38764
38765 fi
38766
38767   fi
38768   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
38769 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
38770
38771   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
38772     for ac_func in fpclass
38773 do :
38774   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
38775 if test "x$ac_cv_func_fpclass" = x""yes; then :
38776   cat >>confdefs.h <<_ACEOF
38777 #define HAVE_FPCLASS 1
38778 _ACEOF
38779
38780 fi
38781 done
38782
38783   else
38784
38785   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
38786 $as_echo_n "checking for _fpclass declaration... " >&6; }
38787   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
38788     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
38789   $as_echo_n "(cached) " >&6
38790 else
38791
38792
38793       ac_ext=cpp
38794 ac_cpp='$CXXCPP $CPPFLAGS'
38795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38798
38799       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38800 /* end confdefs.h.  */
38801 #include <math.h>
38802                       #ifdef HAVE_IEEEFP_H
38803                       #include <ieeefp.h>
38804                       #endif
38805
38806 int
38807 main ()
38808 {
38809  _fpclass(0);
38810   ;
38811   return 0;
38812 }
38813 _ACEOF
38814 if ac_fn_cxx_try_compile "$LINENO"; then :
38815   glibcxx_cv_func__fpclass_use=yes
38816 else
38817   glibcxx_cv_func__fpclass_use=no
38818 fi
38819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38820       ac_ext=c
38821 ac_cpp='$CPP $CPPFLAGS'
38822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38825
38826
38827 fi
38828
38829   fi
38830   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
38831 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
38832
38833     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
38834       for ac_func in _fpclass
38835 do :
38836   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
38837 if test "x$ac_cv_func__fpclass" = x""yes; then :
38838   cat >>confdefs.h <<_ACEOF
38839 #define HAVE__FPCLASS 1
38840 _ACEOF
38841
38842 fi
38843 done
38844
38845     fi
38846   fi
38847
38848
38849
38850
38851
38852   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
38853 $as_echo_n "checking for qfpclass declaration... " >&6; }
38854   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
38855     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
38856   $as_echo_n "(cached) " >&6
38857 else
38858
38859
38860       ac_ext=cpp
38861 ac_cpp='$CXXCPP $CPPFLAGS'
38862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38865
38866       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38867 /* end confdefs.h.  */
38868 #include <math.h>
38869                       #ifdef HAVE_IEEEFP_H
38870                       #include <ieeefp.h>
38871                       #endif
38872
38873 int
38874 main ()
38875 {
38876  qfpclass(0);
38877   ;
38878   return 0;
38879 }
38880 _ACEOF
38881 if ac_fn_cxx_try_compile "$LINENO"; then :
38882   glibcxx_cv_func_qfpclass_use=yes
38883 else
38884   glibcxx_cv_func_qfpclass_use=no
38885 fi
38886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38887       ac_ext=c
38888 ac_cpp='$CPP $CPPFLAGS'
38889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38892
38893
38894 fi
38895
38896   fi
38897   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
38898 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
38899
38900   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
38901     for ac_func in qfpclass
38902 do :
38903   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
38904 if test "x$ac_cv_func_qfpclass" = x""yes; then :
38905   cat >>confdefs.h <<_ACEOF
38906 #define HAVE_QFPCLASS 1
38907 _ACEOF
38908
38909 fi
38910 done
38911
38912   else
38913
38914   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
38915 $as_echo_n "checking for _qfpclass declaration... " >&6; }
38916   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
38917     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
38918   $as_echo_n "(cached) " >&6
38919 else
38920
38921
38922       ac_ext=cpp
38923 ac_cpp='$CXXCPP $CPPFLAGS'
38924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38927
38928       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38929 /* end confdefs.h.  */
38930 #include <math.h>
38931                       #ifdef HAVE_IEEEFP_H
38932                       #include <ieeefp.h>
38933                       #endif
38934
38935 int
38936 main ()
38937 {
38938  _qfpclass(0);
38939   ;
38940   return 0;
38941 }
38942 _ACEOF
38943 if ac_fn_cxx_try_compile "$LINENO"; then :
38944   glibcxx_cv_func__qfpclass_use=yes
38945 else
38946   glibcxx_cv_func__qfpclass_use=no
38947 fi
38948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38949       ac_ext=c
38950 ac_cpp='$CPP $CPPFLAGS'
38951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38954
38955
38956 fi
38957
38958   fi
38959   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
38960 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
38961
38962     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
38963       for ac_func in _qfpclass
38964 do :
38965   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
38966 if test "x$ac_cv_func__qfpclass" = x""yes; then :
38967   cat >>confdefs.h <<_ACEOF
38968 #define HAVE__QFPCLASS 1
38969 _ACEOF
38970
38971 fi
38972 done
38973
38974     fi
38975   fi
38976
38977
38978
38979
38980
38981   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
38982 $as_echo_n "checking for hypot declaration... " >&6; }
38983   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
38984     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
38985   $as_echo_n "(cached) " >&6
38986 else
38987
38988
38989       ac_ext=cpp
38990 ac_cpp='$CXXCPP $CPPFLAGS'
38991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38994
38995       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38996 /* end confdefs.h.  */
38997 #include <math.h>
38998 int
38999 main ()
39000 {
39001  hypot(0, 0);
39002   ;
39003   return 0;
39004 }
39005 _ACEOF
39006 if ac_fn_cxx_try_compile "$LINENO"; then :
39007   glibcxx_cv_func_hypot_use=yes
39008 else
39009   glibcxx_cv_func_hypot_use=no
39010 fi
39011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39012       ac_ext=c
39013 ac_cpp='$CPP $CPPFLAGS'
39014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39017
39018
39019 fi
39020
39021   fi
39022   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
39023 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
39024
39025   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
39026     for ac_func in hypot
39027 do :
39028   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
39029 if test "x$ac_cv_func_hypot" = x""yes; then :
39030   cat >>confdefs.h <<_ACEOF
39031 #define HAVE_HYPOT 1
39032 _ACEOF
39033
39034 fi
39035 done
39036
39037   else
39038
39039   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
39040 $as_echo_n "checking for _hypot declaration... " >&6; }
39041   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
39042     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
39043   $as_echo_n "(cached) " >&6
39044 else
39045
39046
39047       ac_ext=cpp
39048 ac_cpp='$CXXCPP $CPPFLAGS'
39049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39052
39053       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39054 /* end confdefs.h.  */
39055 #include <math.h>
39056 int
39057 main ()
39058 {
39059  _hypot(0, 0);
39060   ;
39061   return 0;
39062 }
39063 _ACEOF
39064 if ac_fn_cxx_try_compile "$LINENO"; then :
39065   glibcxx_cv_func__hypot_use=yes
39066 else
39067   glibcxx_cv_func__hypot_use=no
39068 fi
39069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39070       ac_ext=c
39071 ac_cpp='$CPP $CPPFLAGS'
39072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39075
39076
39077 fi
39078
39079   fi
39080   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
39081 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
39082
39083     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
39084       for ac_func in _hypot
39085 do :
39086   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
39087 if test "x$ac_cv_func__hypot" = x""yes; then :
39088   cat >>confdefs.h <<_ACEOF
39089 #define HAVE__HYPOT 1
39090 _ACEOF
39091
39092 fi
39093 done
39094
39095     fi
39096   fi
39097
39098
39099
39100
39101
39102     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
39103 $as_echo_n "checking for float trig functions... " >&6; }
39104   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
39105   $as_echo_n "(cached) " >&6
39106 else
39107
39108
39109     ac_ext=cpp
39110 ac_cpp='$CXXCPP $CPPFLAGS'
39111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39114
39115     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39116 /* end confdefs.h.  */
39117 #include <math.h>
39118 int
39119 main ()
39120 {
39121 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
39122   ;
39123   return 0;
39124 }
39125 _ACEOF
39126 if ac_fn_cxx_try_compile "$LINENO"; then :
39127   glibcxx_cv_func_float_trig_use=yes
39128 else
39129   glibcxx_cv_func_float_trig_use=no
39130 fi
39131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39132     ac_ext=c
39133 ac_cpp='$CPP $CPPFLAGS'
39134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39137
39138 fi
39139
39140   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
39141 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
39142   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
39143     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
39144 do :
39145   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39146 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39147 eval as_val=\$$as_ac_var
39148    if test "x$as_val" = x""yes; then :
39149   cat >>confdefs.h <<_ACEOF
39150 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39151 _ACEOF
39152
39153 fi
39154 done
39155
39156   else
39157     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
39158 $as_echo_n "checking for _float trig functions... " >&6; }
39159     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
39160   $as_echo_n "(cached) " >&6
39161 else
39162
39163
39164       ac_ext=cpp
39165 ac_cpp='$CXXCPP $CPPFLAGS'
39166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39169
39170       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39171 /* end confdefs.h.  */
39172 #include <math.h>
39173 int
39174 main ()
39175 {
39176 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
39177   ;
39178   return 0;
39179 }
39180 _ACEOF
39181 if ac_fn_cxx_try_compile "$LINENO"; then :
39182   glibcxx_cv_func__float_trig_use=yes
39183 else
39184   glibcxx_cv_func__float_trig_use=no
39185 fi
39186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39187       ac_ext=c
39188 ac_cpp='$CPP $CPPFLAGS'
39189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39192
39193 fi
39194
39195     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
39196 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
39197     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
39198       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
39199 do :
39200   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39201 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39202 eval as_val=\$$as_ac_var
39203    if test "x$as_val" = x""yes; then :
39204   cat >>confdefs.h <<_ACEOF
39205 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39206 _ACEOF
39207
39208 fi
39209 done
39210
39211     fi
39212   fi
39213
39214
39215
39216
39217
39218     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
39219 $as_echo_n "checking for float round functions... " >&6; }
39220   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
39221   $as_echo_n "(cached) " >&6
39222 else
39223
39224
39225     ac_ext=cpp
39226 ac_cpp='$CXXCPP $CPPFLAGS'
39227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39230
39231     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39232 /* end confdefs.h.  */
39233 #include <math.h>
39234 int
39235 main ()
39236 {
39237 ceilf (0); floorf (0);
39238   ;
39239   return 0;
39240 }
39241 _ACEOF
39242 if ac_fn_cxx_try_compile "$LINENO"; then :
39243   glibcxx_cv_func_float_round_use=yes
39244 else
39245   glibcxx_cv_func_float_round_use=no
39246 fi
39247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39248     ac_ext=c
39249 ac_cpp='$CPP $CPPFLAGS'
39250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39253
39254 fi
39255
39256   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
39257 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
39258   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
39259     for ac_func in ceilf floorf
39260 do :
39261   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39262 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39263 eval as_val=\$$as_ac_var
39264    if test "x$as_val" = x""yes; then :
39265   cat >>confdefs.h <<_ACEOF
39266 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39267 _ACEOF
39268
39269 fi
39270 done
39271
39272   else
39273     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
39274 $as_echo_n "checking for _float round functions... " >&6; }
39275     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
39276   $as_echo_n "(cached) " >&6
39277 else
39278
39279
39280       ac_ext=cpp
39281 ac_cpp='$CXXCPP $CPPFLAGS'
39282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39285
39286       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39287 /* end confdefs.h.  */
39288 #include <math.h>
39289 int
39290 main ()
39291 {
39292 _ceilf (0); _floorf (0);
39293   ;
39294   return 0;
39295 }
39296 _ACEOF
39297 if ac_fn_cxx_try_compile "$LINENO"; then :
39298   glibcxx_cv_func__float_round_use=yes
39299 else
39300   glibcxx_cv_func__float_round_use=no
39301 fi
39302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39303       ac_ext=c
39304 ac_cpp='$CPP $CPPFLAGS'
39305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39308
39309 fi
39310
39311     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
39312 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
39313     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
39314       for ac_func in _ceilf _floorf
39315 do :
39316   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39317 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39318 eval as_val=\$$as_ac_var
39319    if test "x$as_val" = x""yes; then :
39320   cat >>confdefs.h <<_ACEOF
39321 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39322 _ACEOF
39323
39324 fi
39325 done
39326
39327     fi
39328   fi
39329
39330
39331
39332
39333
39334
39335   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
39336 $as_echo_n "checking for expf declaration... " >&6; }
39337   if test x${glibcxx_cv_func_expf_use+set} != xset; then
39338     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
39339   $as_echo_n "(cached) " >&6
39340 else
39341
39342
39343       ac_ext=cpp
39344 ac_cpp='$CXXCPP $CPPFLAGS'
39345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39348
39349       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39350 /* end confdefs.h.  */
39351 #include <math.h>
39352                       #ifdef HAVE_IEEEFP_H
39353                       #include <ieeefp.h>
39354                       #endif
39355
39356 int
39357 main ()
39358 {
39359  expf(0);
39360   ;
39361   return 0;
39362 }
39363 _ACEOF
39364 if ac_fn_cxx_try_compile "$LINENO"; then :
39365   glibcxx_cv_func_expf_use=yes
39366 else
39367   glibcxx_cv_func_expf_use=no
39368 fi
39369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39370       ac_ext=c
39371 ac_cpp='$CPP $CPPFLAGS'
39372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39375
39376
39377 fi
39378
39379   fi
39380   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
39381 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
39382
39383   if test x$glibcxx_cv_func_expf_use = x"yes"; then
39384     for ac_func in expf
39385 do :
39386   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
39387 if test "x$ac_cv_func_expf" = x""yes; then :
39388   cat >>confdefs.h <<_ACEOF
39389 #define HAVE_EXPF 1
39390 _ACEOF
39391
39392 fi
39393 done
39394
39395   else
39396
39397   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
39398 $as_echo_n "checking for _expf declaration... " >&6; }
39399   if test x${glibcxx_cv_func__expf_use+set} != xset; then
39400     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
39401   $as_echo_n "(cached) " >&6
39402 else
39403
39404
39405       ac_ext=cpp
39406 ac_cpp='$CXXCPP $CPPFLAGS'
39407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39410
39411       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39412 /* end confdefs.h.  */
39413 #include <math.h>
39414                       #ifdef HAVE_IEEEFP_H
39415                       #include <ieeefp.h>
39416                       #endif
39417
39418 int
39419 main ()
39420 {
39421  _expf(0);
39422   ;
39423   return 0;
39424 }
39425 _ACEOF
39426 if ac_fn_cxx_try_compile "$LINENO"; then :
39427   glibcxx_cv_func__expf_use=yes
39428 else
39429   glibcxx_cv_func__expf_use=no
39430 fi
39431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39432       ac_ext=c
39433 ac_cpp='$CPP $CPPFLAGS'
39434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39437
39438
39439 fi
39440
39441   fi
39442   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
39443 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
39444
39445     if test x$glibcxx_cv_func__expf_use = x"yes"; then
39446       for ac_func in _expf
39447 do :
39448   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
39449 if test "x$ac_cv_func__expf" = x""yes; then :
39450   cat >>confdefs.h <<_ACEOF
39451 #define HAVE__EXPF 1
39452 _ACEOF
39453
39454 fi
39455 done
39456
39457     fi
39458   fi
39459
39460
39461
39462
39463
39464   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
39465 $as_echo_n "checking for isnanf declaration... " >&6; }
39466   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
39467     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
39468   $as_echo_n "(cached) " >&6
39469 else
39470
39471
39472       ac_ext=cpp
39473 ac_cpp='$CXXCPP $CPPFLAGS'
39474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39477
39478       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39479 /* end confdefs.h.  */
39480 #include <math.h>
39481                       #ifdef HAVE_IEEEFP_H
39482                       #include <ieeefp.h>
39483                       #endif
39484
39485 int
39486 main ()
39487 {
39488  isnanf(0);
39489   ;
39490   return 0;
39491 }
39492 _ACEOF
39493 if ac_fn_cxx_try_compile "$LINENO"; then :
39494   glibcxx_cv_func_isnanf_use=yes
39495 else
39496   glibcxx_cv_func_isnanf_use=no
39497 fi
39498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39499       ac_ext=c
39500 ac_cpp='$CPP $CPPFLAGS'
39501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39504
39505
39506 fi
39507
39508   fi
39509   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
39510 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
39511
39512   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
39513     for ac_func in isnanf
39514 do :
39515   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
39516 if test "x$ac_cv_func_isnanf" = x""yes; then :
39517   cat >>confdefs.h <<_ACEOF
39518 #define HAVE_ISNANF 1
39519 _ACEOF
39520
39521 fi
39522 done
39523
39524   else
39525
39526   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
39527 $as_echo_n "checking for _isnanf declaration... " >&6; }
39528   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
39529     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
39530   $as_echo_n "(cached) " >&6
39531 else
39532
39533
39534       ac_ext=cpp
39535 ac_cpp='$CXXCPP $CPPFLAGS'
39536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39539
39540       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39541 /* end confdefs.h.  */
39542 #include <math.h>
39543                       #ifdef HAVE_IEEEFP_H
39544                       #include <ieeefp.h>
39545                       #endif
39546
39547 int
39548 main ()
39549 {
39550  _isnanf(0);
39551   ;
39552   return 0;
39553 }
39554 _ACEOF
39555 if ac_fn_cxx_try_compile "$LINENO"; then :
39556   glibcxx_cv_func__isnanf_use=yes
39557 else
39558   glibcxx_cv_func__isnanf_use=no
39559 fi
39560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39561       ac_ext=c
39562 ac_cpp='$CPP $CPPFLAGS'
39563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39566
39567
39568 fi
39569
39570   fi
39571   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
39572 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
39573
39574     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
39575       for ac_func in _isnanf
39576 do :
39577   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
39578 if test "x$ac_cv_func__isnanf" = x""yes; then :
39579   cat >>confdefs.h <<_ACEOF
39580 #define HAVE__ISNANF 1
39581 _ACEOF
39582
39583 fi
39584 done
39585
39586     fi
39587   fi
39588
39589
39590
39591
39592
39593   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
39594 $as_echo_n "checking for isinff declaration... " >&6; }
39595   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
39596     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
39597   $as_echo_n "(cached) " >&6
39598 else
39599
39600
39601       ac_ext=cpp
39602 ac_cpp='$CXXCPP $CPPFLAGS'
39603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39606
39607       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39608 /* end confdefs.h.  */
39609 #include <math.h>
39610                       #ifdef HAVE_IEEEFP_H
39611                       #include <ieeefp.h>
39612                       #endif
39613
39614 int
39615 main ()
39616 {
39617  isinff(0);
39618   ;
39619   return 0;
39620 }
39621 _ACEOF
39622 if ac_fn_cxx_try_compile "$LINENO"; then :
39623   glibcxx_cv_func_isinff_use=yes
39624 else
39625   glibcxx_cv_func_isinff_use=no
39626 fi
39627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39628       ac_ext=c
39629 ac_cpp='$CPP $CPPFLAGS'
39630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39633
39634
39635 fi
39636
39637   fi
39638   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
39639 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
39640
39641   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
39642     for ac_func in isinff
39643 do :
39644   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
39645 if test "x$ac_cv_func_isinff" = x""yes; then :
39646   cat >>confdefs.h <<_ACEOF
39647 #define HAVE_ISINFF 1
39648 _ACEOF
39649
39650 fi
39651 done
39652
39653   else
39654
39655   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
39656 $as_echo_n "checking for _isinff declaration... " >&6; }
39657   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
39658     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
39659   $as_echo_n "(cached) " >&6
39660 else
39661
39662
39663       ac_ext=cpp
39664 ac_cpp='$CXXCPP $CPPFLAGS'
39665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39668
39669       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39670 /* end confdefs.h.  */
39671 #include <math.h>
39672                       #ifdef HAVE_IEEEFP_H
39673                       #include <ieeefp.h>
39674                       #endif
39675
39676 int
39677 main ()
39678 {
39679  _isinff(0);
39680   ;
39681   return 0;
39682 }
39683 _ACEOF
39684 if ac_fn_cxx_try_compile "$LINENO"; then :
39685   glibcxx_cv_func__isinff_use=yes
39686 else
39687   glibcxx_cv_func__isinff_use=no
39688 fi
39689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39690       ac_ext=c
39691 ac_cpp='$CPP $CPPFLAGS'
39692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39695
39696
39697 fi
39698
39699   fi
39700   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
39701 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
39702
39703     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
39704       for ac_func in _isinff
39705 do :
39706   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
39707 if test "x$ac_cv_func__isinff" = x""yes; then :
39708   cat >>confdefs.h <<_ACEOF
39709 #define HAVE__ISINFF 1
39710 _ACEOF
39711
39712 fi
39713 done
39714
39715     fi
39716   fi
39717
39718
39719
39720
39721
39722   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
39723 $as_echo_n "checking for atan2f declaration... " >&6; }
39724   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
39725     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
39726   $as_echo_n "(cached) " >&6
39727 else
39728
39729
39730       ac_ext=cpp
39731 ac_cpp='$CXXCPP $CPPFLAGS'
39732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39735
39736       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39737 /* end confdefs.h.  */
39738 #include <math.h>
39739 int
39740 main ()
39741 {
39742  atan2f(0, 0);
39743   ;
39744   return 0;
39745 }
39746 _ACEOF
39747 if ac_fn_cxx_try_compile "$LINENO"; then :
39748   glibcxx_cv_func_atan2f_use=yes
39749 else
39750   glibcxx_cv_func_atan2f_use=no
39751 fi
39752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39753       ac_ext=c
39754 ac_cpp='$CPP $CPPFLAGS'
39755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39758
39759
39760 fi
39761
39762   fi
39763   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
39764 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
39765
39766   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
39767     for ac_func in atan2f
39768 do :
39769   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
39770 if test "x$ac_cv_func_atan2f" = x""yes; then :
39771   cat >>confdefs.h <<_ACEOF
39772 #define HAVE_ATAN2F 1
39773 _ACEOF
39774
39775 fi
39776 done
39777
39778   else
39779
39780   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
39781 $as_echo_n "checking for _atan2f declaration... " >&6; }
39782   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
39783     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
39784   $as_echo_n "(cached) " >&6
39785 else
39786
39787
39788       ac_ext=cpp
39789 ac_cpp='$CXXCPP $CPPFLAGS'
39790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39793
39794       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39795 /* end confdefs.h.  */
39796 #include <math.h>
39797 int
39798 main ()
39799 {
39800  _atan2f(0, 0);
39801   ;
39802   return 0;
39803 }
39804 _ACEOF
39805 if ac_fn_cxx_try_compile "$LINENO"; then :
39806   glibcxx_cv_func__atan2f_use=yes
39807 else
39808   glibcxx_cv_func__atan2f_use=no
39809 fi
39810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39811       ac_ext=c
39812 ac_cpp='$CPP $CPPFLAGS'
39813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39816
39817
39818 fi
39819
39820   fi
39821   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
39822 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
39823
39824     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
39825       for ac_func in _atan2f
39826 do :
39827   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
39828 if test "x$ac_cv_func__atan2f" = x""yes; then :
39829   cat >>confdefs.h <<_ACEOF
39830 #define HAVE__ATAN2F 1
39831 _ACEOF
39832
39833 fi
39834 done
39835
39836     fi
39837   fi
39838
39839
39840
39841
39842
39843   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
39844 $as_echo_n "checking for fabsf declaration... " >&6; }
39845   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
39846     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
39847   $as_echo_n "(cached) " >&6
39848 else
39849
39850
39851       ac_ext=cpp
39852 ac_cpp='$CXXCPP $CPPFLAGS'
39853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39856
39857       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39858 /* end confdefs.h.  */
39859 #include <math.h>
39860                       #ifdef HAVE_IEEEFP_H
39861                       #include <ieeefp.h>
39862                       #endif
39863
39864 int
39865 main ()
39866 {
39867  fabsf(0);
39868   ;
39869   return 0;
39870 }
39871 _ACEOF
39872 if ac_fn_cxx_try_compile "$LINENO"; then :
39873   glibcxx_cv_func_fabsf_use=yes
39874 else
39875   glibcxx_cv_func_fabsf_use=no
39876 fi
39877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39878       ac_ext=c
39879 ac_cpp='$CPP $CPPFLAGS'
39880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39883
39884
39885 fi
39886
39887   fi
39888   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
39889 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
39890
39891   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
39892     for ac_func in fabsf
39893 do :
39894   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
39895 if test "x$ac_cv_func_fabsf" = x""yes; then :
39896   cat >>confdefs.h <<_ACEOF
39897 #define HAVE_FABSF 1
39898 _ACEOF
39899
39900 fi
39901 done
39902
39903   else
39904
39905   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
39906 $as_echo_n "checking for _fabsf declaration... " >&6; }
39907   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
39908     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
39909   $as_echo_n "(cached) " >&6
39910 else
39911
39912
39913       ac_ext=cpp
39914 ac_cpp='$CXXCPP $CPPFLAGS'
39915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39918
39919       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39920 /* end confdefs.h.  */
39921 #include <math.h>
39922                       #ifdef HAVE_IEEEFP_H
39923                       #include <ieeefp.h>
39924                       #endif
39925
39926 int
39927 main ()
39928 {
39929  _fabsf(0);
39930   ;
39931   return 0;
39932 }
39933 _ACEOF
39934 if ac_fn_cxx_try_compile "$LINENO"; then :
39935   glibcxx_cv_func__fabsf_use=yes
39936 else
39937   glibcxx_cv_func__fabsf_use=no
39938 fi
39939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39940       ac_ext=c
39941 ac_cpp='$CPP $CPPFLAGS'
39942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39945
39946
39947 fi
39948
39949   fi
39950   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
39951 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
39952
39953     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
39954       for ac_func in _fabsf
39955 do :
39956   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
39957 if test "x$ac_cv_func__fabsf" = x""yes; then :
39958   cat >>confdefs.h <<_ACEOF
39959 #define HAVE__FABSF 1
39960 _ACEOF
39961
39962 fi
39963 done
39964
39965     fi
39966   fi
39967
39968
39969
39970
39971
39972   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
39973 $as_echo_n "checking for fmodf declaration... " >&6; }
39974   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
39975     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
39976   $as_echo_n "(cached) " >&6
39977 else
39978
39979
39980       ac_ext=cpp
39981 ac_cpp='$CXXCPP $CPPFLAGS'
39982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39985
39986       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39987 /* end confdefs.h.  */
39988 #include <math.h>
39989 int
39990 main ()
39991 {
39992  fmodf(0, 0);
39993   ;
39994   return 0;
39995 }
39996 _ACEOF
39997 if ac_fn_cxx_try_compile "$LINENO"; then :
39998   glibcxx_cv_func_fmodf_use=yes
39999 else
40000   glibcxx_cv_func_fmodf_use=no
40001 fi
40002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40003       ac_ext=c
40004 ac_cpp='$CPP $CPPFLAGS'
40005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40008
40009
40010 fi
40011
40012   fi
40013   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
40014 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
40015
40016   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
40017     for ac_func in fmodf
40018 do :
40019   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
40020 if test "x$ac_cv_func_fmodf" = x""yes; then :
40021   cat >>confdefs.h <<_ACEOF
40022 #define HAVE_FMODF 1
40023 _ACEOF
40024
40025 fi
40026 done
40027
40028   else
40029
40030   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
40031 $as_echo_n "checking for _fmodf declaration... " >&6; }
40032   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
40033     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
40034   $as_echo_n "(cached) " >&6
40035 else
40036
40037
40038       ac_ext=cpp
40039 ac_cpp='$CXXCPP $CPPFLAGS'
40040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40043
40044       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40045 /* end confdefs.h.  */
40046 #include <math.h>
40047 int
40048 main ()
40049 {
40050  _fmodf(0, 0);
40051   ;
40052   return 0;
40053 }
40054 _ACEOF
40055 if ac_fn_cxx_try_compile "$LINENO"; then :
40056   glibcxx_cv_func__fmodf_use=yes
40057 else
40058   glibcxx_cv_func__fmodf_use=no
40059 fi
40060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40061       ac_ext=c
40062 ac_cpp='$CPP $CPPFLAGS'
40063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40066
40067
40068 fi
40069
40070   fi
40071   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
40072 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
40073
40074     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
40075       for ac_func in _fmodf
40076 do :
40077   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
40078 if test "x$ac_cv_func__fmodf" = x""yes; then :
40079   cat >>confdefs.h <<_ACEOF
40080 #define HAVE__FMODF 1
40081 _ACEOF
40082
40083 fi
40084 done
40085
40086     fi
40087   fi
40088
40089
40090
40091
40092
40093   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
40094 $as_echo_n "checking for frexpf declaration... " >&6; }
40095   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
40096     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
40097   $as_echo_n "(cached) " >&6
40098 else
40099
40100
40101       ac_ext=cpp
40102 ac_cpp='$CXXCPP $CPPFLAGS'
40103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40106
40107       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40108 /* end confdefs.h.  */
40109 #include <math.h>
40110 int
40111 main ()
40112 {
40113  frexpf(0, 0);
40114   ;
40115   return 0;
40116 }
40117 _ACEOF
40118 if ac_fn_cxx_try_compile "$LINENO"; then :
40119   glibcxx_cv_func_frexpf_use=yes
40120 else
40121   glibcxx_cv_func_frexpf_use=no
40122 fi
40123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40124       ac_ext=c
40125 ac_cpp='$CPP $CPPFLAGS'
40126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40129
40130
40131 fi
40132
40133   fi
40134   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
40135 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
40136
40137   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
40138     for ac_func in frexpf
40139 do :
40140   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
40141 if test "x$ac_cv_func_frexpf" = x""yes; then :
40142   cat >>confdefs.h <<_ACEOF
40143 #define HAVE_FREXPF 1
40144 _ACEOF
40145
40146 fi
40147 done
40148
40149   else
40150
40151   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
40152 $as_echo_n "checking for _frexpf declaration... " >&6; }
40153   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
40154     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
40155   $as_echo_n "(cached) " >&6
40156 else
40157
40158
40159       ac_ext=cpp
40160 ac_cpp='$CXXCPP $CPPFLAGS'
40161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40164
40165       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40166 /* end confdefs.h.  */
40167 #include <math.h>
40168 int
40169 main ()
40170 {
40171  _frexpf(0, 0);
40172   ;
40173   return 0;
40174 }
40175 _ACEOF
40176 if ac_fn_cxx_try_compile "$LINENO"; then :
40177   glibcxx_cv_func__frexpf_use=yes
40178 else
40179   glibcxx_cv_func__frexpf_use=no
40180 fi
40181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40182       ac_ext=c
40183 ac_cpp='$CPP $CPPFLAGS'
40184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40187
40188
40189 fi
40190
40191   fi
40192   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
40193 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
40194
40195     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
40196       for ac_func in _frexpf
40197 do :
40198   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
40199 if test "x$ac_cv_func__frexpf" = x""yes; then :
40200   cat >>confdefs.h <<_ACEOF
40201 #define HAVE__FREXPF 1
40202 _ACEOF
40203
40204 fi
40205 done
40206
40207     fi
40208   fi
40209
40210
40211
40212
40213
40214   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
40215 $as_echo_n "checking for hypotf declaration... " >&6; }
40216   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
40217     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
40218   $as_echo_n "(cached) " >&6
40219 else
40220
40221
40222       ac_ext=cpp
40223 ac_cpp='$CXXCPP $CPPFLAGS'
40224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40227
40228       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40229 /* end confdefs.h.  */
40230 #include <math.h>
40231 int
40232 main ()
40233 {
40234  hypotf(0, 0);
40235   ;
40236   return 0;
40237 }
40238 _ACEOF
40239 if ac_fn_cxx_try_compile "$LINENO"; then :
40240   glibcxx_cv_func_hypotf_use=yes
40241 else
40242   glibcxx_cv_func_hypotf_use=no
40243 fi
40244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40245       ac_ext=c
40246 ac_cpp='$CPP $CPPFLAGS'
40247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40250
40251
40252 fi
40253
40254   fi
40255   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
40256 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
40257
40258   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
40259     for ac_func in hypotf
40260 do :
40261   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
40262 if test "x$ac_cv_func_hypotf" = x""yes; then :
40263   cat >>confdefs.h <<_ACEOF
40264 #define HAVE_HYPOTF 1
40265 _ACEOF
40266
40267 fi
40268 done
40269
40270   else
40271
40272   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
40273 $as_echo_n "checking for _hypotf declaration... " >&6; }
40274   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
40275     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
40276   $as_echo_n "(cached) " >&6
40277 else
40278
40279
40280       ac_ext=cpp
40281 ac_cpp='$CXXCPP $CPPFLAGS'
40282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40285
40286       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40287 /* end confdefs.h.  */
40288 #include <math.h>
40289 int
40290 main ()
40291 {
40292  _hypotf(0, 0);
40293   ;
40294   return 0;
40295 }
40296 _ACEOF
40297 if ac_fn_cxx_try_compile "$LINENO"; then :
40298   glibcxx_cv_func__hypotf_use=yes
40299 else
40300   glibcxx_cv_func__hypotf_use=no
40301 fi
40302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40303       ac_ext=c
40304 ac_cpp='$CPP $CPPFLAGS'
40305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40308
40309
40310 fi
40311
40312   fi
40313   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
40314 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
40315
40316     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
40317       for ac_func in _hypotf
40318 do :
40319   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
40320 if test "x$ac_cv_func__hypotf" = x""yes; then :
40321   cat >>confdefs.h <<_ACEOF
40322 #define HAVE__HYPOTF 1
40323 _ACEOF
40324
40325 fi
40326 done
40327
40328     fi
40329   fi
40330
40331
40332
40333
40334
40335   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
40336 $as_echo_n "checking for ldexpf declaration... " >&6; }
40337   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
40338     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
40339   $as_echo_n "(cached) " >&6
40340 else
40341
40342
40343       ac_ext=cpp
40344 ac_cpp='$CXXCPP $CPPFLAGS'
40345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40348
40349       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40350 /* end confdefs.h.  */
40351 #include <math.h>
40352 int
40353 main ()
40354 {
40355  ldexpf(0, 0);
40356   ;
40357   return 0;
40358 }
40359 _ACEOF
40360 if ac_fn_cxx_try_compile "$LINENO"; then :
40361   glibcxx_cv_func_ldexpf_use=yes
40362 else
40363   glibcxx_cv_func_ldexpf_use=no
40364 fi
40365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40366       ac_ext=c
40367 ac_cpp='$CPP $CPPFLAGS'
40368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40371
40372
40373 fi
40374
40375   fi
40376   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
40377 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
40378
40379   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
40380     for ac_func in ldexpf
40381 do :
40382   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
40383 if test "x$ac_cv_func_ldexpf" = x""yes; then :
40384   cat >>confdefs.h <<_ACEOF
40385 #define HAVE_LDEXPF 1
40386 _ACEOF
40387
40388 fi
40389 done
40390
40391   else
40392
40393   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
40394 $as_echo_n "checking for _ldexpf declaration... " >&6; }
40395   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
40396     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
40397   $as_echo_n "(cached) " >&6
40398 else
40399
40400
40401       ac_ext=cpp
40402 ac_cpp='$CXXCPP $CPPFLAGS'
40403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40406
40407       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40408 /* end confdefs.h.  */
40409 #include <math.h>
40410 int
40411 main ()
40412 {
40413  _ldexpf(0, 0);
40414   ;
40415   return 0;
40416 }
40417 _ACEOF
40418 if ac_fn_cxx_try_compile "$LINENO"; then :
40419   glibcxx_cv_func__ldexpf_use=yes
40420 else
40421   glibcxx_cv_func__ldexpf_use=no
40422 fi
40423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40424       ac_ext=c
40425 ac_cpp='$CPP $CPPFLAGS'
40426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40429
40430
40431 fi
40432
40433   fi
40434   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
40435 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
40436
40437     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
40438       for ac_func in _ldexpf
40439 do :
40440   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
40441 if test "x$ac_cv_func__ldexpf" = x""yes; then :
40442   cat >>confdefs.h <<_ACEOF
40443 #define HAVE__LDEXPF 1
40444 _ACEOF
40445
40446 fi
40447 done
40448
40449     fi
40450   fi
40451
40452
40453
40454
40455
40456   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
40457 $as_echo_n "checking for logf declaration... " >&6; }
40458   if test x${glibcxx_cv_func_logf_use+set} != xset; then
40459     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
40460   $as_echo_n "(cached) " >&6
40461 else
40462
40463
40464       ac_ext=cpp
40465 ac_cpp='$CXXCPP $CPPFLAGS'
40466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40469
40470       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40471 /* end confdefs.h.  */
40472 #include <math.h>
40473                       #ifdef HAVE_IEEEFP_H
40474                       #include <ieeefp.h>
40475                       #endif
40476
40477 int
40478 main ()
40479 {
40480  logf(0);
40481   ;
40482   return 0;
40483 }
40484 _ACEOF
40485 if ac_fn_cxx_try_compile "$LINENO"; then :
40486   glibcxx_cv_func_logf_use=yes
40487 else
40488   glibcxx_cv_func_logf_use=no
40489 fi
40490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40491       ac_ext=c
40492 ac_cpp='$CPP $CPPFLAGS'
40493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40496
40497
40498 fi
40499
40500   fi
40501   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
40502 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
40503
40504   if test x$glibcxx_cv_func_logf_use = x"yes"; then
40505     for ac_func in logf
40506 do :
40507   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
40508 if test "x$ac_cv_func_logf" = x""yes; then :
40509   cat >>confdefs.h <<_ACEOF
40510 #define HAVE_LOGF 1
40511 _ACEOF
40512
40513 fi
40514 done
40515
40516   else
40517
40518   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
40519 $as_echo_n "checking for _logf declaration... " >&6; }
40520   if test x${glibcxx_cv_func__logf_use+set} != xset; then
40521     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
40522   $as_echo_n "(cached) " >&6
40523 else
40524
40525
40526       ac_ext=cpp
40527 ac_cpp='$CXXCPP $CPPFLAGS'
40528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40531
40532       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40533 /* end confdefs.h.  */
40534 #include <math.h>
40535                       #ifdef HAVE_IEEEFP_H
40536                       #include <ieeefp.h>
40537                       #endif
40538
40539 int
40540 main ()
40541 {
40542  _logf(0);
40543   ;
40544   return 0;
40545 }
40546 _ACEOF
40547 if ac_fn_cxx_try_compile "$LINENO"; then :
40548   glibcxx_cv_func__logf_use=yes
40549 else
40550   glibcxx_cv_func__logf_use=no
40551 fi
40552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40553       ac_ext=c
40554 ac_cpp='$CPP $CPPFLAGS'
40555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40558
40559
40560 fi
40561
40562   fi
40563   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
40564 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
40565
40566     if test x$glibcxx_cv_func__logf_use = x"yes"; then
40567       for ac_func in _logf
40568 do :
40569   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
40570 if test "x$ac_cv_func__logf" = x""yes; then :
40571   cat >>confdefs.h <<_ACEOF
40572 #define HAVE__LOGF 1
40573 _ACEOF
40574
40575 fi
40576 done
40577
40578     fi
40579   fi
40580
40581
40582
40583
40584
40585   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
40586 $as_echo_n "checking for log10f declaration... " >&6; }
40587   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
40588     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
40589   $as_echo_n "(cached) " >&6
40590 else
40591
40592
40593       ac_ext=cpp
40594 ac_cpp='$CXXCPP $CPPFLAGS'
40595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40598
40599       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40600 /* end confdefs.h.  */
40601 #include <math.h>
40602                       #ifdef HAVE_IEEEFP_H
40603                       #include <ieeefp.h>
40604                       #endif
40605
40606 int
40607 main ()
40608 {
40609  log10f(0);
40610   ;
40611   return 0;
40612 }
40613 _ACEOF
40614 if ac_fn_cxx_try_compile "$LINENO"; then :
40615   glibcxx_cv_func_log10f_use=yes
40616 else
40617   glibcxx_cv_func_log10f_use=no
40618 fi
40619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40620       ac_ext=c
40621 ac_cpp='$CPP $CPPFLAGS'
40622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40625
40626
40627 fi
40628
40629   fi
40630   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
40631 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
40632
40633   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
40634     for ac_func in log10f
40635 do :
40636   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
40637 if test "x$ac_cv_func_log10f" = x""yes; then :
40638   cat >>confdefs.h <<_ACEOF
40639 #define HAVE_LOG10F 1
40640 _ACEOF
40641
40642 fi
40643 done
40644
40645   else
40646
40647   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
40648 $as_echo_n "checking for _log10f declaration... " >&6; }
40649   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
40650     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
40651   $as_echo_n "(cached) " >&6
40652 else
40653
40654
40655       ac_ext=cpp
40656 ac_cpp='$CXXCPP $CPPFLAGS'
40657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40660
40661       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40662 /* end confdefs.h.  */
40663 #include <math.h>
40664                       #ifdef HAVE_IEEEFP_H
40665                       #include <ieeefp.h>
40666                       #endif
40667
40668 int
40669 main ()
40670 {
40671  _log10f(0);
40672   ;
40673   return 0;
40674 }
40675 _ACEOF
40676 if ac_fn_cxx_try_compile "$LINENO"; then :
40677   glibcxx_cv_func__log10f_use=yes
40678 else
40679   glibcxx_cv_func__log10f_use=no
40680 fi
40681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40682       ac_ext=c
40683 ac_cpp='$CPP $CPPFLAGS'
40684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40687
40688
40689 fi
40690
40691   fi
40692   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
40693 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
40694
40695     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
40696       for ac_func in _log10f
40697 do :
40698   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
40699 if test "x$ac_cv_func__log10f" = x""yes; then :
40700   cat >>confdefs.h <<_ACEOF
40701 #define HAVE__LOG10F 1
40702 _ACEOF
40703
40704 fi
40705 done
40706
40707     fi
40708   fi
40709
40710
40711
40712
40713
40714   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
40715 $as_echo_n "checking for modff declaration... " >&6; }
40716   if test x${glibcxx_cv_func_modff_use+set} != xset; then
40717     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
40718   $as_echo_n "(cached) " >&6
40719 else
40720
40721
40722       ac_ext=cpp
40723 ac_cpp='$CXXCPP $CPPFLAGS'
40724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40727
40728       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40729 /* end confdefs.h.  */
40730 #include <math.h>
40731 int
40732 main ()
40733 {
40734  modff(0, 0);
40735   ;
40736   return 0;
40737 }
40738 _ACEOF
40739 if ac_fn_cxx_try_compile "$LINENO"; then :
40740   glibcxx_cv_func_modff_use=yes
40741 else
40742   glibcxx_cv_func_modff_use=no
40743 fi
40744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40745       ac_ext=c
40746 ac_cpp='$CPP $CPPFLAGS'
40747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40750
40751
40752 fi
40753
40754   fi
40755   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
40756 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
40757
40758   if test x$glibcxx_cv_func_modff_use = x"yes"; then
40759     for ac_func in modff
40760 do :
40761   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
40762 if test "x$ac_cv_func_modff" = x""yes; then :
40763   cat >>confdefs.h <<_ACEOF
40764 #define HAVE_MODFF 1
40765 _ACEOF
40766
40767 fi
40768 done
40769
40770   else
40771
40772   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
40773 $as_echo_n "checking for _modff declaration... " >&6; }
40774   if test x${glibcxx_cv_func__modff_use+set} != xset; then
40775     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
40776   $as_echo_n "(cached) " >&6
40777 else
40778
40779
40780       ac_ext=cpp
40781 ac_cpp='$CXXCPP $CPPFLAGS'
40782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40785
40786       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40787 /* end confdefs.h.  */
40788 #include <math.h>
40789 int
40790 main ()
40791 {
40792  _modff(0, 0);
40793   ;
40794   return 0;
40795 }
40796 _ACEOF
40797 if ac_fn_cxx_try_compile "$LINENO"; then :
40798   glibcxx_cv_func__modff_use=yes
40799 else
40800   glibcxx_cv_func__modff_use=no
40801 fi
40802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40803       ac_ext=c
40804 ac_cpp='$CPP $CPPFLAGS'
40805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40808
40809
40810 fi
40811
40812   fi
40813   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
40814 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
40815
40816     if test x$glibcxx_cv_func__modff_use = x"yes"; then
40817       for ac_func in _modff
40818 do :
40819   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
40820 if test "x$ac_cv_func__modff" = x""yes; then :
40821   cat >>confdefs.h <<_ACEOF
40822 #define HAVE__MODFF 1
40823 _ACEOF
40824
40825 fi
40826 done
40827
40828     fi
40829   fi
40830
40831
40832
40833
40834
40835   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
40836 $as_echo_n "checking for modf declaration... " >&6; }
40837   if test x${glibcxx_cv_func_modf_use+set} != xset; then
40838     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
40839   $as_echo_n "(cached) " >&6
40840 else
40841
40842
40843       ac_ext=cpp
40844 ac_cpp='$CXXCPP $CPPFLAGS'
40845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40848
40849       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40850 /* end confdefs.h.  */
40851 #include <math.h>
40852 int
40853 main ()
40854 {
40855  modf(0, 0);
40856   ;
40857   return 0;
40858 }
40859 _ACEOF
40860 if ac_fn_cxx_try_compile "$LINENO"; then :
40861   glibcxx_cv_func_modf_use=yes
40862 else
40863   glibcxx_cv_func_modf_use=no
40864 fi
40865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40866       ac_ext=c
40867 ac_cpp='$CPP $CPPFLAGS'
40868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40871
40872
40873 fi
40874
40875   fi
40876   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
40877 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
40878
40879   if test x$glibcxx_cv_func_modf_use = x"yes"; then
40880     for ac_func in modf
40881 do :
40882   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
40883 if test "x$ac_cv_func_modf" = x""yes; then :
40884   cat >>confdefs.h <<_ACEOF
40885 #define HAVE_MODF 1
40886 _ACEOF
40887
40888 fi
40889 done
40890
40891   else
40892
40893   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
40894 $as_echo_n "checking for _modf declaration... " >&6; }
40895   if test x${glibcxx_cv_func__modf_use+set} != xset; then
40896     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
40897   $as_echo_n "(cached) " >&6
40898 else
40899
40900
40901       ac_ext=cpp
40902 ac_cpp='$CXXCPP $CPPFLAGS'
40903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40906
40907       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40908 /* end confdefs.h.  */
40909 #include <math.h>
40910 int
40911 main ()
40912 {
40913  _modf(0, 0);
40914   ;
40915   return 0;
40916 }
40917 _ACEOF
40918 if ac_fn_cxx_try_compile "$LINENO"; then :
40919   glibcxx_cv_func__modf_use=yes
40920 else
40921   glibcxx_cv_func__modf_use=no
40922 fi
40923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40924       ac_ext=c
40925 ac_cpp='$CPP $CPPFLAGS'
40926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40929
40930
40931 fi
40932
40933   fi
40934   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
40935 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
40936
40937     if test x$glibcxx_cv_func__modf_use = x"yes"; then
40938       for ac_func in _modf
40939 do :
40940   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
40941 if test "x$ac_cv_func__modf" = x""yes; then :
40942   cat >>confdefs.h <<_ACEOF
40943 #define HAVE__MODF 1
40944 _ACEOF
40945
40946 fi
40947 done
40948
40949     fi
40950   fi
40951
40952
40953
40954
40955
40956   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
40957 $as_echo_n "checking for powf declaration... " >&6; }
40958   if test x${glibcxx_cv_func_powf_use+set} != xset; then
40959     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
40960   $as_echo_n "(cached) " >&6
40961 else
40962
40963
40964       ac_ext=cpp
40965 ac_cpp='$CXXCPP $CPPFLAGS'
40966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40969
40970       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40971 /* end confdefs.h.  */
40972 #include <math.h>
40973 int
40974 main ()
40975 {
40976  powf(0, 0);
40977   ;
40978   return 0;
40979 }
40980 _ACEOF
40981 if ac_fn_cxx_try_compile "$LINENO"; then :
40982   glibcxx_cv_func_powf_use=yes
40983 else
40984   glibcxx_cv_func_powf_use=no
40985 fi
40986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40987       ac_ext=c
40988 ac_cpp='$CPP $CPPFLAGS'
40989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40992
40993
40994 fi
40995
40996   fi
40997   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
40998 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
40999
41000   if test x$glibcxx_cv_func_powf_use = x"yes"; then
41001     for ac_func in powf
41002 do :
41003   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
41004 if test "x$ac_cv_func_powf" = x""yes; then :
41005   cat >>confdefs.h <<_ACEOF
41006 #define HAVE_POWF 1
41007 _ACEOF
41008
41009 fi
41010 done
41011
41012   else
41013
41014   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
41015 $as_echo_n "checking for _powf declaration... " >&6; }
41016   if test x${glibcxx_cv_func__powf_use+set} != xset; then
41017     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
41018   $as_echo_n "(cached) " >&6
41019 else
41020
41021
41022       ac_ext=cpp
41023 ac_cpp='$CXXCPP $CPPFLAGS'
41024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41027
41028       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41029 /* end confdefs.h.  */
41030 #include <math.h>
41031 int
41032 main ()
41033 {
41034  _powf(0, 0);
41035   ;
41036   return 0;
41037 }
41038 _ACEOF
41039 if ac_fn_cxx_try_compile "$LINENO"; then :
41040   glibcxx_cv_func__powf_use=yes
41041 else
41042   glibcxx_cv_func__powf_use=no
41043 fi
41044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41045       ac_ext=c
41046 ac_cpp='$CPP $CPPFLAGS'
41047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41050
41051
41052 fi
41053
41054   fi
41055   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
41056 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
41057
41058     if test x$glibcxx_cv_func__powf_use = x"yes"; then
41059       for ac_func in _powf
41060 do :
41061   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
41062 if test "x$ac_cv_func__powf" = x""yes; then :
41063   cat >>confdefs.h <<_ACEOF
41064 #define HAVE__POWF 1
41065 _ACEOF
41066
41067 fi
41068 done
41069
41070     fi
41071   fi
41072
41073
41074
41075
41076
41077   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
41078 $as_echo_n "checking for sqrtf declaration... " >&6; }
41079   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
41080     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
41081   $as_echo_n "(cached) " >&6
41082 else
41083
41084
41085       ac_ext=cpp
41086 ac_cpp='$CXXCPP $CPPFLAGS'
41087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41090
41091       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41092 /* end confdefs.h.  */
41093 #include <math.h>
41094                       #ifdef HAVE_IEEEFP_H
41095                       #include <ieeefp.h>
41096                       #endif
41097
41098 int
41099 main ()
41100 {
41101  sqrtf(0);
41102   ;
41103   return 0;
41104 }
41105 _ACEOF
41106 if ac_fn_cxx_try_compile "$LINENO"; then :
41107   glibcxx_cv_func_sqrtf_use=yes
41108 else
41109   glibcxx_cv_func_sqrtf_use=no
41110 fi
41111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41112       ac_ext=c
41113 ac_cpp='$CPP $CPPFLAGS'
41114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41117
41118
41119 fi
41120
41121   fi
41122   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
41123 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
41124
41125   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
41126     for ac_func in sqrtf
41127 do :
41128   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
41129 if test "x$ac_cv_func_sqrtf" = x""yes; then :
41130   cat >>confdefs.h <<_ACEOF
41131 #define HAVE_SQRTF 1
41132 _ACEOF
41133
41134 fi
41135 done
41136
41137   else
41138
41139   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
41140 $as_echo_n "checking for _sqrtf declaration... " >&6; }
41141   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
41142     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
41143   $as_echo_n "(cached) " >&6
41144 else
41145
41146
41147       ac_ext=cpp
41148 ac_cpp='$CXXCPP $CPPFLAGS'
41149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41152
41153       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41154 /* end confdefs.h.  */
41155 #include <math.h>
41156                       #ifdef HAVE_IEEEFP_H
41157                       #include <ieeefp.h>
41158                       #endif
41159
41160 int
41161 main ()
41162 {
41163  _sqrtf(0);
41164   ;
41165   return 0;
41166 }
41167 _ACEOF
41168 if ac_fn_cxx_try_compile "$LINENO"; then :
41169   glibcxx_cv_func__sqrtf_use=yes
41170 else
41171   glibcxx_cv_func__sqrtf_use=no
41172 fi
41173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41174       ac_ext=c
41175 ac_cpp='$CPP $CPPFLAGS'
41176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41179
41180
41181 fi
41182
41183   fi
41184   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
41185 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
41186
41187     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
41188       for ac_func in _sqrtf
41189 do :
41190   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
41191 if test "x$ac_cv_func__sqrtf" = x""yes; then :
41192   cat >>confdefs.h <<_ACEOF
41193 #define HAVE__SQRTF 1
41194 _ACEOF
41195
41196 fi
41197 done
41198
41199     fi
41200   fi
41201
41202
41203
41204
41205
41206   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
41207 $as_echo_n "checking for sincosf declaration... " >&6; }
41208   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
41209     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
41210   $as_echo_n "(cached) " >&6
41211 else
41212
41213
41214       ac_ext=cpp
41215 ac_cpp='$CXXCPP $CPPFLAGS'
41216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41219
41220       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41221 /* end confdefs.h.  */
41222 #include <math.h>
41223 int
41224 main ()
41225 {
41226  sincosf(0, 0, 0);
41227   ;
41228   return 0;
41229 }
41230 _ACEOF
41231 if ac_fn_cxx_try_compile "$LINENO"; then :
41232   glibcxx_cv_func_sincosf_use=yes
41233 else
41234   glibcxx_cv_func_sincosf_use=no
41235 fi
41236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41237       ac_ext=c
41238 ac_cpp='$CPP $CPPFLAGS'
41239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41242
41243
41244 fi
41245
41246   fi
41247   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
41248 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
41249
41250   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
41251     for ac_func in sincosf
41252 do :
41253   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
41254 if test "x$ac_cv_func_sincosf" = x""yes; then :
41255   cat >>confdefs.h <<_ACEOF
41256 #define HAVE_SINCOSF 1
41257 _ACEOF
41258
41259 fi
41260 done
41261
41262   else
41263
41264   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
41265 $as_echo_n "checking for _sincosf declaration... " >&6; }
41266   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
41267     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
41268   $as_echo_n "(cached) " >&6
41269 else
41270
41271
41272       ac_ext=cpp
41273 ac_cpp='$CXXCPP $CPPFLAGS'
41274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41277
41278       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41279 /* end confdefs.h.  */
41280 #include <math.h>
41281 int
41282 main ()
41283 {
41284  _sincosf(0, 0, 0);
41285   ;
41286   return 0;
41287 }
41288 _ACEOF
41289 if ac_fn_cxx_try_compile "$LINENO"; then :
41290   glibcxx_cv_func__sincosf_use=yes
41291 else
41292   glibcxx_cv_func__sincosf_use=no
41293 fi
41294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41295       ac_ext=c
41296 ac_cpp='$CPP $CPPFLAGS'
41297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41300
41301
41302 fi
41303
41304   fi
41305   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
41306 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
41307
41308     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
41309       for ac_func in _sincosf
41310 do :
41311   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
41312 if test "x$ac_cv_func__sincosf" = x""yes; then :
41313   cat >>confdefs.h <<_ACEOF
41314 #define HAVE__SINCOSF 1
41315 _ACEOF
41316
41317 fi
41318 done
41319
41320     fi
41321   fi
41322
41323
41324
41325
41326
41327   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
41328 $as_echo_n "checking for finitef declaration... " >&6; }
41329   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
41330     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
41331   $as_echo_n "(cached) " >&6
41332 else
41333
41334
41335       ac_ext=cpp
41336 ac_cpp='$CXXCPP $CPPFLAGS'
41337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41340
41341       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41342 /* end confdefs.h.  */
41343 #include <math.h>
41344                       #ifdef HAVE_IEEEFP_H
41345                       #include <ieeefp.h>
41346                       #endif
41347
41348 int
41349 main ()
41350 {
41351  finitef(0);
41352   ;
41353   return 0;
41354 }
41355 _ACEOF
41356 if ac_fn_cxx_try_compile "$LINENO"; then :
41357   glibcxx_cv_func_finitef_use=yes
41358 else
41359   glibcxx_cv_func_finitef_use=no
41360 fi
41361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41362       ac_ext=c
41363 ac_cpp='$CPP $CPPFLAGS'
41364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41367
41368
41369 fi
41370
41371   fi
41372   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
41373 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
41374
41375   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
41376     for ac_func in finitef
41377 do :
41378   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
41379 if test "x$ac_cv_func_finitef" = x""yes; then :
41380   cat >>confdefs.h <<_ACEOF
41381 #define HAVE_FINITEF 1
41382 _ACEOF
41383
41384 fi
41385 done
41386
41387   else
41388
41389   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
41390 $as_echo_n "checking for _finitef declaration... " >&6; }
41391   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
41392     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
41393   $as_echo_n "(cached) " >&6
41394 else
41395
41396
41397       ac_ext=cpp
41398 ac_cpp='$CXXCPP $CPPFLAGS'
41399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41400 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41401 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41402
41403       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41404 /* end confdefs.h.  */
41405 #include <math.h>
41406                       #ifdef HAVE_IEEEFP_H
41407                       #include <ieeefp.h>
41408                       #endif
41409
41410 int
41411 main ()
41412 {
41413  _finitef(0);
41414   ;
41415   return 0;
41416 }
41417 _ACEOF
41418 if ac_fn_cxx_try_compile "$LINENO"; then :
41419   glibcxx_cv_func__finitef_use=yes
41420 else
41421   glibcxx_cv_func__finitef_use=no
41422 fi
41423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41424       ac_ext=c
41425 ac_cpp='$CPP $CPPFLAGS'
41426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41429
41430
41431 fi
41432
41433   fi
41434   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
41435 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
41436
41437     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
41438       for ac_func in _finitef
41439 do :
41440   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
41441 if test "x$ac_cv_func__finitef" = x""yes; then :
41442   cat >>confdefs.h <<_ACEOF
41443 #define HAVE__FINITEF 1
41444 _ACEOF
41445
41446 fi
41447 done
41448
41449     fi
41450   fi
41451
41452
41453
41454
41455
41456     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
41457 $as_echo_n "checking for long double trig functions... " >&6; }
41458   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
41459   $as_echo_n "(cached) " >&6
41460 else
41461
41462
41463     ac_ext=cpp
41464 ac_cpp='$CXXCPP $CPPFLAGS'
41465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41468
41469     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41470 /* end confdefs.h.  */
41471 #include <math.h>
41472 int
41473 main ()
41474 {
41475 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
41476   ;
41477   return 0;
41478 }
41479 _ACEOF
41480 if ac_fn_cxx_try_compile "$LINENO"; then :
41481   glibcxx_cv_func_long_double_trig_use=yes
41482 else
41483   glibcxx_cv_func_long_double_trig_use=no
41484 fi
41485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41486     ac_ext=c
41487 ac_cpp='$CPP $CPPFLAGS'
41488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41491
41492 fi
41493
41494   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
41495 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
41496   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
41497     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
41498 do :
41499   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41500 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41501 eval as_val=\$$as_ac_var
41502    if test "x$as_val" = x""yes; then :
41503   cat >>confdefs.h <<_ACEOF
41504 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41505 _ACEOF
41506
41507 fi
41508 done
41509
41510   else
41511     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
41512 $as_echo_n "checking for _long double trig functions... " >&6; }
41513     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
41514   $as_echo_n "(cached) " >&6
41515 else
41516
41517
41518       ac_ext=cpp
41519 ac_cpp='$CXXCPP $CPPFLAGS'
41520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41523
41524       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41525 /* end confdefs.h.  */
41526 #include <math.h>
41527 int
41528 main ()
41529 {
41530 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
41531   ;
41532   return 0;
41533 }
41534 _ACEOF
41535 if ac_fn_cxx_try_compile "$LINENO"; then :
41536   glibcxx_cv_func__long_double_trig_use=yes
41537 else
41538   glibcxx_cv_func__long_double_trig_use=no
41539 fi
41540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41541       ac_ext=c
41542 ac_cpp='$CPP $CPPFLAGS'
41543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41546
41547 fi
41548
41549     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
41550 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
41551     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
41552       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
41553 do :
41554   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41555 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41556 eval as_val=\$$as_ac_var
41557    if test "x$as_val" = x""yes; then :
41558   cat >>confdefs.h <<_ACEOF
41559 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41560 _ACEOF
41561
41562 fi
41563 done
41564
41565     fi
41566   fi
41567
41568
41569
41570
41571
41572     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
41573 $as_echo_n "checking for long double round functions... " >&6; }
41574   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
41575   $as_echo_n "(cached) " >&6
41576 else
41577
41578
41579     ac_ext=cpp
41580 ac_cpp='$CXXCPP $CPPFLAGS'
41581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41584
41585     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41586 /* end confdefs.h.  */
41587 #include <math.h>
41588 int
41589 main ()
41590 {
41591 ceill (0); floorl (0);
41592   ;
41593   return 0;
41594 }
41595 _ACEOF
41596 if ac_fn_cxx_try_compile "$LINENO"; then :
41597   glibcxx_cv_func_long_double_round_use=yes
41598 else
41599   glibcxx_cv_func_long_double_round_use=no
41600 fi
41601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41602     ac_ext=c
41603 ac_cpp='$CPP $CPPFLAGS'
41604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41607
41608 fi
41609
41610   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
41611 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
41612   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
41613     for ac_func in ceill floorl
41614 do :
41615   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41616 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41617 eval as_val=\$$as_ac_var
41618    if test "x$as_val" = x""yes; then :
41619   cat >>confdefs.h <<_ACEOF
41620 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41621 _ACEOF
41622
41623 fi
41624 done
41625
41626   else
41627     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
41628 $as_echo_n "checking for _long double round functions... " >&6; }
41629     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
41630   $as_echo_n "(cached) " >&6
41631 else
41632
41633
41634       ac_ext=cpp
41635 ac_cpp='$CXXCPP $CPPFLAGS'
41636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41639
41640       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41641 /* end confdefs.h.  */
41642 #include <math.h>
41643 int
41644 main ()
41645 {
41646 _ceill (0); _floorl (0);
41647   ;
41648   return 0;
41649 }
41650 _ACEOF
41651 if ac_fn_cxx_try_compile "$LINENO"; then :
41652   glibcxx_cv_func__long_double_round_use=yes
41653 else
41654   glibcxx_cv_func__long_double_round_use=no
41655 fi
41656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41657       ac_ext=c
41658 ac_cpp='$CPP $CPPFLAGS'
41659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41662
41663 fi
41664
41665     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
41666 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
41667     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
41668       for ac_func in _ceill _floorl
41669 do :
41670   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41671 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41672 eval as_val=\$$as_ac_var
41673    if test "x$as_val" = x""yes; then :
41674   cat >>confdefs.h <<_ACEOF
41675 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41676 _ACEOF
41677
41678 fi
41679 done
41680
41681     fi
41682   fi
41683
41684
41685
41686
41687
41688
41689   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
41690 $as_echo_n "checking for isnanl declaration... " >&6; }
41691   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
41692     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
41693   $as_echo_n "(cached) " >&6
41694 else
41695
41696
41697       ac_ext=cpp
41698 ac_cpp='$CXXCPP $CPPFLAGS'
41699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41702
41703       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41704 /* end confdefs.h.  */
41705 #include <math.h>
41706                       #ifdef HAVE_IEEEFP_H
41707                       #include <ieeefp.h>
41708                       #endif
41709
41710 int
41711 main ()
41712 {
41713  isnanl(0);
41714   ;
41715   return 0;
41716 }
41717 _ACEOF
41718 if ac_fn_cxx_try_compile "$LINENO"; then :
41719   glibcxx_cv_func_isnanl_use=yes
41720 else
41721   glibcxx_cv_func_isnanl_use=no
41722 fi
41723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41724       ac_ext=c
41725 ac_cpp='$CPP $CPPFLAGS'
41726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41729
41730
41731 fi
41732
41733   fi
41734   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
41735 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
41736
41737   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
41738     for ac_func in isnanl
41739 do :
41740   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
41741 if test "x$ac_cv_func_isnanl" = x""yes; then :
41742   cat >>confdefs.h <<_ACEOF
41743 #define HAVE_ISNANL 1
41744 _ACEOF
41745
41746 fi
41747 done
41748
41749   else
41750
41751   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
41752 $as_echo_n "checking for _isnanl declaration... " >&6; }
41753   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
41754     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
41755   $as_echo_n "(cached) " >&6
41756 else
41757
41758
41759       ac_ext=cpp
41760 ac_cpp='$CXXCPP $CPPFLAGS'
41761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41764
41765       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41766 /* end confdefs.h.  */
41767 #include <math.h>
41768                       #ifdef HAVE_IEEEFP_H
41769                       #include <ieeefp.h>
41770                       #endif
41771
41772 int
41773 main ()
41774 {
41775  _isnanl(0);
41776   ;
41777   return 0;
41778 }
41779 _ACEOF
41780 if ac_fn_cxx_try_compile "$LINENO"; then :
41781   glibcxx_cv_func__isnanl_use=yes
41782 else
41783   glibcxx_cv_func__isnanl_use=no
41784 fi
41785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41786       ac_ext=c
41787 ac_cpp='$CPP $CPPFLAGS'
41788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41791
41792
41793 fi
41794
41795   fi
41796   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
41797 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
41798
41799     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
41800       for ac_func in _isnanl
41801 do :
41802   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
41803 if test "x$ac_cv_func__isnanl" = x""yes; then :
41804   cat >>confdefs.h <<_ACEOF
41805 #define HAVE__ISNANL 1
41806 _ACEOF
41807
41808 fi
41809 done
41810
41811     fi
41812   fi
41813
41814
41815
41816
41817
41818   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
41819 $as_echo_n "checking for isinfl declaration... " >&6; }
41820   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
41821     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
41822   $as_echo_n "(cached) " >&6
41823 else
41824
41825
41826       ac_ext=cpp
41827 ac_cpp='$CXXCPP $CPPFLAGS'
41828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41831
41832       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41833 /* end confdefs.h.  */
41834 #include <math.h>
41835                       #ifdef HAVE_IEEEFP_H
41836                       #include <ieeefp.h>
41837                       #endif
41838
41839 int
41840 main ()
41841 {
41842  isinfl(0);
41843   ;
41844   return 0;
41845 }
41846 _ACEOF
41847 if ac_fn_cxx_try_compile "$LINENO"; then :
41848   glibcxx_cv_func_isinfl_use=yes
41849 else
41850   glibcxx_cv_func_isinfl_use=no
41851 fi
41852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41853       ac_ext=c
41854 ac_cpp='$CPP $CPPFLAGS'
41855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41858
41859
41860 fi
41861
41862   fi
41863   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
41864 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
41865
41866   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
41867     for ac_func in isinfl
41868 do :
41869   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
41870 if test "x$ac_cv_func_isinfl" = x""yes; then :
41871   cat >>confdefs.h <<_ACEOF
41872 #define HAVE_ISINFL 1
41873 _ACEOF
41874
41875 fi
41876 done
41877
41878   else
41879
41880   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
41881 $as_echo_n "checking for _isinfl declaration... " >&6; }
41882   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
41883     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
41884   $as_echo_n "(cached) " >&6
41885 else
41886
41887
41888       ac_ext=cpp
41889 ac_cpp='$CXXCPP $CPPFLAGS'
41890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41893
41894       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41895 /* end confdefs.h.  */
41896 #include <math.h>
41897                       #ifdef HAVE_IEEEFP_H
41898                       #include <ieeefp.h>
41899                       #endif
41900
41901 int
41902 main ()
41903 {
41904  _isinfl(0);
41905   ;
41906   return 0;
41907 }
41908 _ACEOF
41909 if ac_fn_cxx_try_compile "$LINENO"; then :
41910   glibcxx_cv_func__isinfl_use=yes
41911 else
41912   glibcxx_cv_func__isinfl_use=no
41913 fi
41914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41915       ac_ext=c
41916 ac_cpp='$CPP $CPPFLAGS'
41917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41920
41921
41922 fi
41923
41924   fi
41925   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
41926 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
41927
41928     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
41929       for ac_func in _isinfl
41930 do :
41931   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
41932 if test "x$ac_cv_func__isinfl" = x""yes; then :
41933   cat >>confdefs.h <<_ACEOF
41934 #define HAVE__ISINFL 1
41935 _ACEOF
41936
41937 fi
41938 done
41939
41940     fi
41941   fi
41942
41943
41944
41945
41946
41947   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
41948 $as_echo_n "checking for atan2l declaration... " >&6; }
41949   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
41950     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
41951   $as_echo_n "(cached) " >&6
41952 else
41953
41954
41955       ac_ext=cpp
41956 ac_cpp='$CXXCPP $CPPFLAGS'
41957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41960
41961       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41962 /* end confdefs.h.  */
41963 #include <math.h>
41964 int
41965 main ()
41966 {
41967  atan2l(0, 0);
41968   ;
41969   return 0;
41970 }
41971 _ACEOF
41972 if ac_fn_cxx_try_compile "$LINENO"; then :
41973   glibcxx_cv_func_atan2l_use=yes
41974 else
41975   glibcxx_cv_func_atan2l_use=no
41976 fi
41977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41978       ac_ext=c
41979 ac_cpp='$CPP $CPPFLAGS'
41980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41983
41984
41985 fi
41986
41987   fi
41988   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
41989 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
41990
41991   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
41992     for ac_func in atan2l
41993 do :
41994   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
41995 if test "x$ac_cv_func_atan2l" = x""yes; then :
41996   cat >>confdefs.h <<_ACEOF
41997 #define HAVE_ATAN2L 1
41998 _ACEOF
41999
42000 fi
42001 done
42002
42003   else
42004
42005   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
42006 $as_echo_n "checking for _atan2l declaration... " >&6; }
42007   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
42008     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
42009   $as_echo_n "(cached) " >&6
42010 else
42011
42012
42013       ac_ext=cpp
42014 ac_cpp='$CXXCPP $CPPFLAGS'
42015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42018
42019       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42020 /* end confdefs.h.  */
42021 #include <math.h>
42022 int
42023 main ()
42024 {
42025  _atan2l(0, 0);
42026   ;
42027   return 0;
42028 }
42029 _ACEOF
42030 if ac_fn_cxx_try_compile "$LINENO"; then :
42031   glibcxx_cv_func__atan2l_use=yes
42032 else
42033   glibcxx_cv_func__atan2l_use=no
42034 fi
42035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42036       ac_ext=c
42037 ac_cpp='$CPP $CPPFLAGS'
42038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42041
42042
42043 fi
42044
42045   fi
42046   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
42047 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
42048
42049     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
42050       for ac_func in _atan2l
42051 do :
42052   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
42053 if test "x$ac_cv_func__atan2l" = x""yes; then :
42054   cat >>confdefs.h <<_ACEOF
42055 #define HAVE__ATAN2L 1
42056 _ACEOF
42057
42058 fi
42059 done
42060
42061     fi
42062   fi
42063
42064
42065
42066
42067
42068   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
42069 $as_echo_n "checking for expl declaration... " >&6; }
42070   if test x${glibcxx_cv_func_expl_use+set} != xset; then
42071     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
42072   $as_echo_n "(cached) " >&6
42073 else
42074
42075
42076       ac_ext=cpp
42077 ac_cpp='$CXXCPP $CPPFLAGS'
42078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42081
42082       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42083 /* end confdefs.h.  */
42084 #include <math.h>
42085                       #ifdef HAVE_IEEEFP_H
42086                       #include <ieeefp.h>
42087                       #endif
42088
42089 int
42090 main ()
42091 {
42092  expl(0);
42093   ;
42094   return 0;
42095 }
42096 _ACEOF
42097 if ac_fn_cxx_try_compile "$LINENO"; then :
42098   glibcxx_cv_func_expl_use=yes
42099 else
42100   glibcxx_cv_func_expl_use=no
42101 fi
42102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42103       ac_ext=c
42104 ac_cpp='$CPP $CPPFLAGS'
42105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42108
42109
42110 fi
42111
42112   fi
42113   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
42114 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
42115
42116   if test x$glibcxx_cv_func_expl_use = x"yes"; then
42117     for ac_func in expl
42118 do :
42119   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
42120 if test "x$ac_cv_func_expl" = x""yes; then :
42121   cat >>confdefs.h <<_ACEOF
42122 #define HAVE_EXPL 1
42123 _ACEOF
42124
42125 fi
42126 done
42127
42128   else
42129
42130   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
42131 $as_echo_n "checking for _expl declaration... " >&6; }
42132   if test x${glibcxx_cv_func__expl_use+set} != xset; then
42133     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
42134   $as_echo_n "(cached) " >&6
42135 else
42136
42137
42138       ac_ext=cpp
42139 ac_cpp='$CXXCPP $CPPFLAGS'
42140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42143
42144       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42145 /* end confdefs.h.  */
42146 #include <math.h>
42147                       #ifdef HAVE_IEEEFP_H
42148                       #include <ieeefp.h>
42149                       #endif
42150
42151 int
42152 main ()
42153 {
42154  _expl(0);
42155   ;
42156   return 0;
42157 }
42158 _ACEOF
42159 if ac_fn_cxx_try_compile "$LINENO"; then :
42160   glibcxx_cv_func__expl_use=yes
42161 else
42162   glibcxx_cv_func__expl_use=no
42163 fi
42164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42165       ac_ext=c
42166 ac_cpp='$CPP $CPPFLAGS'
42167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42170
42171
42172 fi
42173
42174   fi
42175   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
42176 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
42177
42178     if test x$glibcxx_cv_func__expl_use = x"yes"; then
42179       for ac_func in _expl
42180 do :
42181   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
42182 if test "x$ac_cv_func__expl" = x""yes; then :
42183   cat >>confdefs.h <<_ACEOF
42184 #define HAVE__EXPL 1
42185 _ACEOF
42186
42187 fi
42188 done
42189
42190     fi
42191   fi
42192
42193
42194
42195
42196
42197   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
42198 $as_echo_n "checking for fabsl declaration... " >&6; }
42199   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
42200     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
42201   $as_echo_n "(cached) " >&6
42202 else
42203
42204
42205       ac_ext=cpp
42206 ac_cpp='$CXXCPP $CPPFLAGS'
42207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42210
42211       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42212 /* end confdefs.h.  */
42213 #include <math.h>
42214                       #ifdef HAVE_IEEEFP_H
42215                       #include <ieeefp.h>
42216                       #endif
42217
42218 int
42219 main ()
42220 {
42221  fabsl(0);
42222   ;
42223   return 0;
42224 }
42225 _ACEOF
42226 if ac_fn_cxx_try_compile "$LINENO"; then :
42227   glibcxx_cv_func_fabsl_use=yes
42228 else
42229   glibcxx_cv_func_fabsl_use=no
42230 fi
42231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42232       ac_ext=c
42233 ac_cpp='$CPP $CPPFLAGS'
42234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42237
42238
42239 fi
42240
42241   fi
42242   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
42243 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
42244
42245   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
42246     for ac_func in fabsl
42247 do :
42248   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
42249 if test "x$ac_cv_func_fabsl" = x""yes; then :
42250   cat >>confdefs.h <<_ACEOF
42251 #define HAVE_FABSL 1
42252 _ACEOF
42253
42254 fi
42255 done
42256
42257   else
42258
42259   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
42260 $as_echo_n "checking for _fabsl declaration... " >&6; }
42261   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
42262     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
42263   $as_echo_n "(cached) " >&6
42264 else
42265
42266
42267       ac_ext=cpp
42268 ac_cpp='$CXXCPP $CPPFLAGS'
42269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42272
42273       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42274 /* end confdefs.h.  */
42275 #include <math.h>
42276                       #ifdef HAVE_IEEEFP_H
42277                       #include <ieeefp.h>
42278                       #endif
42279
42280 int
42281 main ()
42282 {
42283  _fabsl(0);
42284   ;
42285   return 0;
42286 }
42287 _ACEOF
42288 if ac_fn_cxx_try_compile "$LINENO"; then :
42289   glibcxx_cv_func__fabsl_use=yes
42290 else
42291   glibcxx_cv_func__fabsl_use=no
42292 fi
42293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42294       ac_ext=c
42295 ac_cpp='$CPP $CPPFLAGS'
42296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42299
42300
42301 fi
42302
42303   fi
42304   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
42305 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
42306
42307     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
42308       for ac_func in _fabsl
42309 do :
42310   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
42311 if test "x$ac_cv_func__fabsl" = x""yes; then :
42312   cat >>confdefs.h <<_ACEOF
42313 #define HAVE__FABSL 1
42314 _ACEOF
42315
42316 fi
42317 done
42318
42319     fi
42320   fi
42321
42322
42323
42324
42325
42326   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
42327 $as_echo_n "checking for fmodl declaration... " >&6; }
42328   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
42329     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
42330   $as_echo_n "(cached) " >&6
42331 else
42332
42333
42334       ac_ext=cpp
42335 ac_cpp='$CXXCPP $CPPFLAGS'
42336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42339
42340       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42341 /* end confdefs.h.  */
42342 #include <math.h>
42343 int
42344 main ()
42345 {
42346  fmodl(0, 0);
42347   ;
42348   return 0;
42349 }
42350 _ACEOF
42351 if ac_fn_cxx_try_compile "$LINENO"; then :
42352   glibcxx_cv_func_fmodl_use=yes
42353 else
42354   glibcxx_cv_func_fmodl_use=no
42355 fi
42356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42357       ac_ext=c
42358 ac_cpp='$CPP $CPPFLAGS'
42359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42362
42363
42364 fi
42365
42366   fi
42367   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
42368 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
42369
42370   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
42371     for ac_func in fmodl
42372 do :
42373   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
42374 if test "x$ac_cv_func_fmodl" = x""yes; then :
42375   cat >>confdefs.h <<_ACEOF
42376 #define HAVE_FMODL 1
42377 _ACEOF
42378
42379 fi
42380 done
42381
42382   else
42383
42384   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
42385 $as_echo_n "checking for _fmodl declaration... " >&6; }
42386   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
42387     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
42388   $as_echo_n "(cached) " >&6
42389 else
42390
42391
42392       ac_ext=cpp
42393 ac_cpp='$CXXCPP $CPPFLAGS'
42394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42397
42398       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42399 /* end confdefs.h.  */
42400 #include <math.h>
42401 int
42402 main ()
42403 {
42404  _fmodl(0, 0);
42405   ;
42406   return 0;
42407 }
42408 _ACEOF
42409 if ac_fn_cxx_try_compile "$LINENO"; then :
42410   glibcxx_cv_func__fmodl_use=yes
42411 else
42412   glibcxx_cv_func__fmodl_use=no
42413 fi
42414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42415       ac_ext=c
42416 ac_cpp='$CPP $CPPFLAGS'
42417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42420
42421
42422 fi
42423
42424   fi
42425   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
42426 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
42427
42428     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
42429       for ac_func in _fmodl
42430 do :
42431   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
42432 if test "x$ac_cv_func__fmodl" = x""yes; then :
42433   cat >>confdefs.h <<_ACEOF
42434 #define HAVE__FMODL 1
42435 _ACEOF
42436
42437 fi
42438 done
42439
42440     fi
42441   fi
42442
42443
42444
42445
42446
42447   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
42448 $as_echo_n "checking for frexpl declaration... " >&6; }
42449   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
42450     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
42451   $as_echo_n "(cached) " >&6
42452 else
42453
42454
42455       ac_ext=cpp
42456 ac_cpp='$CXXCPP $CPPFLAGS'
42457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42460
42461       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42462 /* end confdefs.h.  */
42463 #include <math.h>
42464 int
42465 main ()
42466 {
42467  frexpl(0, 0);
42468   ;
42469   return 0;
42470 }
42471 _ACEOF
42472 if ac_fn_cxx_try_compile "$LINENO"; then :
42473   glibcxx_cv_func_frexpl_use=yes
42474 else
42475   glibcxx_cv_func_frexpl_use=no
42476 fi
42477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42478       ac_ext=c
42479 ac_cpp='$CPP $CPPFLAGS'
42480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42483
42484
42485 fi
42486
42487   fi
42488   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
42489 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
42490
42491   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
42492     for ac_func in frexpl
42493 do :
42494   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
42495 if test "x$ac_cv_func_frexpl" = x""yes; then :
42496   cat >>confdefs.h <<_ACEOF
42497 #define HAVE_FREXPL 1
42498 _ACEOF
42499
42500 fi
42501 done
42502
42503   else
42504
42505   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
42506 $as_echo_n "checking for _frexpl declaration... " >&6; }
42507   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
42508     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
42509   $as_echo_n "(cached) " >&6
42510 else
42511
42512
42513       ac_ext=cpp
42514 ac_cpp='$CXXCPP $CPPFLAGS'
42515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42518
42519       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42520 /* end confdefs.h.  */
42521 #include <math.h>
42522 int
42523 main ()
42524 {
42525  _frexpl(0, 0);
42526   ;
42527   return 0;
42528 }
42529 _ACEOF
42530 if ac_fn_cxx_try_compile "$LINENO"; then :
42531   glibcxx_cv_func__frexpl_use=yes
42532 else
42533   glibcxx_cv_func__frexpl_use=no
42534 fi
42535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42536       ac_ext=c
42537 ac_cpp='$CPP $CPPFLAGS'
42538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42541
42542
42543 fi
42544
42545   fi
42546   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
42547 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
42548
42549     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
42550       for ac_func in _frexpl
42551 do :
42552   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
42553 if test "x$ac_cv_func__frexpl" = x""yes; then :
42554   cat >>confdefs.h <<_ACEOF
42555 #define HAVE__FREXPL 1
42556 _ACEOF
42557
42558 fi
42559 done
42560
42561     fi
42562   fi
42563
42564
42565
42566
42567
42568   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
42569 $as_echo_n "checking for hypotl declaration... " >&6; }
42570   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
42571     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
42572   $as_echo_n "(cached) " >&6
42573 else
42574
42575
42576       ac_ext=cpp
42577 ac_cpp='$CXXCPP $CPPFLAGS'
42578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42581
42582       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42583 /* end confdefs.h.  */
42584 #include <math.h>
42585 int
42586 main ()
42587 {
42588  hypotl(0, 0);
42589   ;
42590   return 0;
42591 }
42592 _ACEOF
42593 if ac_fn_cxx_try_compile "$LINENO"; then :
42594   glibcxx_cv_func_hypotl_use=yes
42595 else
42596   glibcxx_cv_func_hypotl_use=no
42597 fi
42598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42599       ac_ext=c
42600 ac_cpp='$CPP $CPPFLAGS'
42601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42604
42605
42606 fi
42607
42608   fi
42609   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
42610 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
42611
42612   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
42613     for ac_func in hypotl
42614 do :
42615   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
42616 if test "x$ac_cv_func_hypotl" = x""yes; then :
42617   cat >>confdefs.h <<_ACEOF
42618 #define HAVE_HYPOTL 1
42619 _ACEOF
42620
42621 fi
42622 done
42623
42624   else
42625
42626   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
42627 $as_echo_n "checking for _hypotl declaration... " >&6; }
42628   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
42629     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
42630   $as_echo_n "(cached) " >&6
42631 else
42632
42633
42634       ac_ext=cpp
42635 ac_cpp='$CXXCPP $CPPFLAGS'
42636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42639
42640       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42641 /* end confdefs.h.  */
42642 #include <math.h>
42643 int
42644 main ()
42645 {
42646  _hypotl(0, 0);
42647   ;
42648   return 0;
42649 }
42650 _ACEOF
42651 if ac_fn_cxx_try_compile "$LINENO"; then :
42652   glibcxx_cv_func__hypotl_use=yes
42653 else
42654   glibcxx_cv_func__hypotl_use=no
42655 fi
42656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42657       ac_ext=c
42658 ac_cpp='$CPP $CPPFLAGS'
42659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42662
42663
42664 fi
42665
42666   fi
42667   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
42668 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
42669
42670     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
42671       for ac_func in _hypotl
42672 do :
42673   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
42674 if test "x$ac_cv_func__hypotl" = x""yes; then :
42675   cat >>confdefs.h <<_ACEOF
42676 #define HAVE__HYPOTL 1
42677 _ACEOF
42678
42679 fi
42680 done
42681
42682     fi
42683   fi
42684
42685
42686
42687
42688
42689   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
42690 $as_echo_n "checking for ldexpl declaration... " >&6; }
42691   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
42692     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
42693   $as_echo_n "(cached) " >&6
42694 else
42695
42696
42697       ac_ext=cpp
42698 ac_cpp='$CXXCPP $CPPFLAGS'
42699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42702
42703       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42704 /* end confdefs.h.  */
42705 #include <math.h>
42706 int
42707 main ()
42708 {
42709  ldexpl(0, 0);
42710   ;
42711   return 0;
42712 }
42713 _ACEOF
42714 if ac_fn_cxx_try_compile "$LINENO"; then :
42715   glibcxx_cv_func_ldexpl_use=yes
42716 else
42717   glibcxx_cv_func_ldexpl_use=no
42718 fi
42719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42720       ac_ext=c
42721 ac_cpp='$CPP $CPPFLAGS'
42722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42725
42726
42727 fi
42728
42729   fi
42730   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
42731 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
42732
42733   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
42734     for ac_func in ldexpl
42735 do :
42736   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
42737 if test "x$ac_cv_func_ldexpl" = x""yes; then :
42738   cat >>confdefs.h <<_ACEOF
42739 #define HAVE_LDEXPL 1
42740 _ACEOF
42741
42742 fi
42743 done
42744
42745   else
42746
42747   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
42748 $as_echo_n "checking for _ldexpl declaration... " >&6; }
42749   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
42750     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
42751   $as_echo_n "(cached) " >&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 confdefs.h - <<_ACEOF >conftest.$ac_ext
42762 /* end confdefs.h.  */
42763 #include <math.h>
42764 int
42765 main ()
42766 {
42767  _ldexpl(0, 0);
42768   ;
42769   return 0;
42770 }
42771 _ACEOF
42772 if ac_fn_cxx_try_compile "$LINENO"; then :
42773   glibcxx_cv_func__ldexpl_use=yes
42774 else
42775   glibcxx_cv_func__ldexpl_use=no
42776 fi
42777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42778       ac_ext=c
42779 ac_cpp='$CPP $CPPFLAGS'
42780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42783
42784
42785 fi
42786
42787   fi
42788   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
42789 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
42790
42791     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
42792       for ac_func in _ldexpl
42793 do :
42794   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
42795 if test "x$ac_cv_func__ldexpl" = x""yes; then :
42796   cat >>confdefs.h <<_ACEOF
42797 #define HAVE__LDEXPL 1
42798 _ACEOF
42799
42800 fi
42801 done
42802
42803     fi
42804   fi
42805
42806
42807
42808
42809
42810   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
42811 $as_echo_n "checking for logl declaration... " >&6; }
42812   if test x${glibcxx_cv_func_logl_use+set} != xset; then
42813     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
42814   $as_echo_n "(cached) " >&6
42815 else
42816
42817
42818       ac_ext=cpp
42819 ac_cpp='$CXXCPP $CPPFLAGS'
42820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42823
42824       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42825 /* end confdefs.h.  */
42826 #include <math.h>
42827                       #ifdef HAVE_IEEEFP_H
42828                       #include <ieeefp.h>
42829                       #endif
42830
42831 int
42832 main ()
42833 {
42834  logl(0);
42835   ;
42836   return 0;
42837 }
42838 _ACEOF
42839 if ac_fn_cxx_try_compile "$LINENO"; then :
42840   glibcxx_cv_func_logl_use=yes
42841 else
42842   glibcxx_cv_func_logl_use=no
42843 fi
42844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42845       ac_ext=c
42846 ac_cpp='$CPP $CPPFLAGS'
42847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42850
42851
42852 fi
42853
42854   fi
42855   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
42856 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
42857
42858   if test x$glibcxx_cv_func_logl_use = x"yes"; then
42859     for ac_func in logl
42860 do :
42861   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
42862 if test "x$ac_cv_func_logl" = x""yes; then :
42863   cat >>confdefs.h <<_ACEOF
42864 #define HAVE_LOGL 1
42865 _ACEOF
42866
42867 fi
42868 done
42869
42870   else
42871
42872   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
42873 $as_echo_n "checking for _logl declaration... " >&6; }
42874   if test x${glibcxx_cv_func__logl_use+set} != xset; then
42875     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
42876   $as_echo_n "(cached) " >&6
42877 else
42878
42879
42880       ac_ext=cpp
42881 ac_cpp='$CXXCPP $CPPFLAGS'
42882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42885
42886       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42887 /* end confdefs.h.  */
42888 #include <math.h>
42889                       #ifdef HAVE_IEEEFP_H
42890                       #include <ieeefp.h>
42891                       #endif
42892
42893 int
42894 main ()
42895 {
42896  _logl(0);
42897   ;
42898   return 0;
42899 }
42900 _ACEOF
42901 if ac_fn_cxx_try_compile "$LINENO"; then :
42902   glibcxx_cv_func__logl_use=yes
42903 else
42904   glibcxx_cv_func__logl_use=no
42905 fi
42906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42907       ac_ext=c
42908 ac_cpp='$CPP $CPPFLAGS'
42909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42912
42913
42914 fi
42915
42916   fi
42917   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
42918 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
42919
42920     if test x$glibcxx_cv_func__logl_use = x"yes"; then
42921       for ac_func in _logl
42922 do :
42923   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
42924 if test "x$ac_cv_func__logl" = x""yes; then :
42925   cat >>confdefs.h <<_ACEOF
42926 #define HAVE__LOGL 1
42927 _ACEOF
42928
42929 fi
42930 done
42931
42932     fi
42933   fi
42934
42935
42936
42937
42938
42939   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
42940 $as_echo_n "checking for log10l declaration... " >&6; }
42941   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
42942     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
42943   $as_echo_n "(cached) " >&6
42944 else
42945
42946
42947       ac_ext=cpp
42948 ac_cpp='$CXXCPP $CPPFLAGS'
42949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42952
42953       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42954 /* end confdefs.h.  */
42955 #include <math.h>
42956                       #ifdef HAVE_IEEEFP_H
42957                       #include <ieeefp.h>
42958                       #endif
42959
42960 int
42961 main ()
42962 {
42963  log10l(0);
42964   ;
42965   return 0;
42966 }
42967 _ACEOF
42968 if ac_fn_cxx_try_compile "$LINENO"; then :
42969   glibcxx_cv_func_log10l_use=yes
42970 else
42971   glibcxx_cv_func_log10l_use=no
42972 fi
42973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42974       ac_ext=c
42975 ac_cpp='$CPP $CPPFLAGS'
42976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42979
42980
42981 fi
42982
42983   fi
42984   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
42985 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
42986
42987   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
42988     for ac_func in log10l
42989 do :
42990   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
42991 if test "x$ac_cv_func_log10l" = x""yes; then :
42992   cat >>confdefs.h <<_ACEOF
42993 #define HAVE_LOG10L 1
42994 _ACEOF
42995
42996 fi
42997 done
42998
42999   else
43000
43001   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
43002 $as_echo_n "checking for _log10l declaration... " >&6; }
43003   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
43004     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
43005   $as_echo_n "(cached) " >&6
43006 else
43007
43008
43009       ac_ext=cpp
43010 ac_cpp='$CXXCPP $CPPFLAGS'
43011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43014
43015       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43016 /* end confdefs.h.  */
43017 #include <math.h>
43018                       #ifdef HAVE_IEEEFP_H
43019                       #include <ieeefp.h>
43020                       #endif
43021
43022 int
43023 main ()
43024 {
43025  _log10l(0);
43026   ;
43027   return 0;
43028 }
43029 _ACEOF
43030 if ac_fn_cxx_try_compile "$LINENO"; then :
43031   glibcxx_cv_func__log10l_use=yes
43032 else
43033   glibcxx_cv_func__log10l_use=no
43034 fi
43035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43036       ac_ext=c
43037 ac_cpp='$CPP $CPPFLAGS'
43038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43041
43042
43043 fi
43044
43045   fi
43046   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
43047 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
43048
43049     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
43050       for ac_func in _log10l
43051 do :
43052   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
43053 if test "x$ac_cv_func__log10l" = x""yes; then :
43054   cat >>confdefs.h <<_ACEOF
43055 #define HAVE__LOG10L 1
43056 _ACEOF
43057
43058 fi
43059 done
43060
43061     fi
43062   fi
43063
43064
43065
43066
43067
43068   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
43069 $as_echo_n "checking for modfl declaration... " >&6; }
43070   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
43071     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
43072   $as_echo_n "(cached) " >&6
43073 else
43074
43075
43076       ac_ext=cpp
43077 ac_cpp='$CXXCPP $CPPFLAGS'
43078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43081
43082       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43083 /* end confdefs.h.  */
43084 #include <math.h>
43085 int
43086 main ()
43087 {
43088  modfl(0, 0);
43089   ;
43090   return 0;
43091 }
43092 _ACEOF
43093 if ac_fn_cxx_try_compile "$LINENO"; then :
43094   glibcxx_cv_func_modfl_use=yes
43095 else
43096   glibcxx_cv_func_modfl_use=no
43097 fi
43098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43099       ac_ext=c
43100 ac_cpp='$CPP $CPPFLAGS'
43101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43104
43105
43106 fi
43107
43108   fi
43109   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
43110 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
43111
43112   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
43113     for ac_func in modfl
43114 do :
43115   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
43116 if test "x$ac_cv_func_modfl" = x""yes; then :
43117   cat >>confdefs.h <<_ACEOF
43118 #define HAVE_MODFL 1
43119 _ACEOF
43120
43121 fi
43122 done
43123
43124   else
43125
43126   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
43127 $as_echo_n "checking for _modfl declaration... " >&6; }
43128   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
43129     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
43130   $as_echo_n "(cached) " >&6
43131 else
43132
43133
43134       ac_ext=cpp
43135 ac_cpp='$CXXCPP $CPPFLAGS'
43136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43139
43140       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43141 /* end confdefs.h.  */
43142 #include <math.h>
43143 int
43144 main ()
43145 {
43146  _modfl(0, 0);
43147   ;
43148   return 0;
43149 }
43150 _ACEOF
43151 if ac_fn_cxx_try_compile "$LINENO"; then :
43152   glibcxx_cv_func__modfl_use=yes
43153 else
43154   glibcxx_cv_func__modfl_use=no
43155 fi
43156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43157       ac_ext=c
43158 ac_cpp='$CPP $CPPFLAGS'
43159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43162
43163
43164 fi
43165
43166   fi
43167   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
43168 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
43169
43170     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
43171       for ac_func in _modfl
43172 do :
43173   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
43174 if test "x$ac_cv_func__modfl" = x""yes; then :
43175   cat >>confdefs.h <<_ACEOF
43176 #define HAVE__MODFL 1
43177 _ACEOF
43178
43179 fi
43180 done
43181
43182     fi
43183   fi
43184
43185
43186
43187
43188
43189   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
43190 $as_echo_n "checking for powl declaration... " >&6; }
43191   if test x${glibcxx_cv_func_powl_use+set} != xset; then
43192     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
43193   $as_echo_n "(cached) " >&6
43194 else
43195
43196
43197       ac_ext=cpp
43198 ac_cpp='$CXXCPP $CPPFLAGS'
43199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43202
43203       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43204 /* end confdefs.h.  */
43205 #include <math.h>
43206 int
43207 main ()
43208 {
43209  powl(0, 0);
43210   ;
43211   return 0;
43212 }
43213 _ACEOF
43214 if ac_fn_cxx_try_compile "$LINENO"; then :
43215   glibcxx_cv_func_powl_use=yes
43216 else
43217   glibcxx_cv_func_powl_use=no
43218 fi
43219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43220       ac_ext=c
43221 ac_cpp='$CPP $CPPFLAGS'
43222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43225
43226
43227 fi
43228
43229   fi
43230   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
43231 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
43232
43233   if test x$glibcxx_cv_func_powl_use = x"yes"; then
43234     for ac_func in powl
43235 do :
43236   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
43237 if test "x$ac_cv_func_powl" = x""yes; then :
43238   cat >>confdefs.h <<_ACEOF
43239 #define HAVE_POWL 1
43240 _ACEOF
43241
43242 fi
43243 done
43244
43245   else
43246
43247   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
43248 $as_echo_n "checking for _powl declaration... " >&6; }
43249   if test x${glibcxx_cv_func__powl_use+set} != xset; then
43250     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
43251   $as_echo_n "(cached) " >&6
43252 else
43253
43254
43255       ac_ext=cpp
43256 ac_cpp='$CXXCPP $CPPFLAGS'
43257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43260
43261       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43262 /* end confdefs.h.  */
43263 #include <math.h>
43264 int
43265 main ()
43266 {
43267  _powl(0, 0);
43268   ;
43269   return 0;
43270 }
43271 _ACEOF
43272 if ac_fn_cxx_try_compile "$LINENO"; then :
43273   glibcxx_cv_func__powl_use=yes
43274 else
43275   glibcxx_cv_func__powl_use=no
43276 fi
43277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43278       ac_ext=c
43279 ac_cpp='$CPP $CPPFLAGS'
43280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43283
43284
43285 fi
43286
43287   fi
43288   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
43289 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
43290
43291     if test x$glibcxx_cv_func__powl_use = x"yes"; then
43292       for ac_func in _powl
43293 do :
43294   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
43295 if test "x$ac_cv_func__powl" = x""yes; then :
43296   cat >>confdefs.h <<_ACEOF
43297 #define HAVE__POWL 1
43298 _ACEOF
43299
43300 fi
43301 done
43302
43303     fi
43304   fi
43305
43306
43307
43308
43309
43310   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
43311 $as_echo_n "checking for sqrtl declaration... " >&6; }
43312   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
43313     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
43314   $as_echo_n "(cached) " >&6
43315 else
43316
43317
43318       ac_ext=cpp
43319 ac_cpp='$CXXCPP $CPPFLAGS'
43320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43323
43324       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43325 /* end confdefs.h.  */
43326 #include <math.h>
43327                       #ifdef HAVE_IEEEFP_H
43328                       #include <ieeefp.h>
43329                       #endif
43330
43331 int
43332 main ()
43333 {
43334  sqrtl(0);
43335   ;
43336   return 0;
43337 }
43338 _ACEOF
43339 if ac_fn_cxx_try_compile "$LINENO"; then :
43340   glibcxx_cv_func_sqrtl_use=yes
43341 else
43342   glibcxx_cv_func_sqrtl_use=no
43343 fi
43344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43345       ac_ext=c
43346 ac_cpp='$CPP $CPPFLAGS'
43347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43350
43351
43352 fi
43353
43354   fi
43355   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
43356 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
43357
43358   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
43359     for ac_func in sqrtl
43360 do :
43361   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
43362 if test "x$ac_cv_func_sqrtl" = x""yes; then :
43363   cat >>confdefs.h <<_ACEOF
43364 #define HAVE_SQRTL 1
43365 _ACEOF
43366
43367 fi
43368 done
43369
43370   else
43371
43372   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
43373 $as_echo_n "checking for _sqrtl declaration... " >&6; }
43374   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
43375     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
43376   $as_echo_n "(cached) " >&6
43377 else
43378
43379
43380       ac_ext=cpp
43381 ac_cpp='$CXXCPP $CPPFLAGS'
43382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43385
43386       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43387 /* end confdefs.h.  */
43388 #include <math.h>
43389                       #ifdef HAVE_IEEEFP_H
43390                       #include <ieeefp.h>
43391                       #endif
43392
43393 int
43394 main ()
43395 {
43396  _sqrtl(0);
43397   ;
43398   return 0;
43399 }
43400 _ACEOF
43401 if ac_fn_cxx_try_compile "$LINENO"; then :
43402   glibcxx_cv_func__sqrtl_use=yes
43403 else
43404   glibcxx_cv_func__sqrtl_use=no
43405 fi
43406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43407       ac_ext=c
43408 ac_cpp='$CPP $CPPFLAGS'
43409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43412
43413
43414 fi
43415
43416   fi
43417   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
43418 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
43419
43420     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
43421       for ac_func in _sqrtl
43422 do :
43423   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
43424 if test "x$ac_cv_func__sqrtl" = x""yes; then :
43425   cat >>confdefs.h <<_ACEOF
43426 #define HAVE__SQRTL 1
43427 _ACEOF
43428
43429 fi
43430 done
43431
43432     fi
43433   fi
43434
43435
43436
43437
43438
43439   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
43440 $as_echo_n "checking for sincosl declaration... " >&6; }
43441   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
43442     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
43443   $as_echo_n "(cached) " >&6
43444 else
43445
43446
43447       ac_ext=cpp
43448 ac_cpp='$CXXCPP $CPPFLAGS'
43449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43452
43453       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43454 /* end confdefs.h.  */
43455 #include <math.h>
43456 int
43457 main ()
43458 {
43459  sincosl(0, 0, 0);
43460   ;
43461   return 0;
43462 }
43463 _ACEOF
43464 if ac_fn_cxx_try_compile "$LINENO"; then :
43465   glibcxx_cv_func_sincosl_use=yes
43466 else
43467   glibcxx_cv_func_sincosl_use=no
43468 fi
43469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43470       ac_ext=c
43471 ac_cpp='$CPP $CPPFLAGS'
43472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43475
43476
43477 fi
43478
43479   fi
43480   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
43481 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
43482
43483   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
43484     for ac_func in sincosl
43485 do :
43486   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
43487 if test "x$ac_cv_func_sincosl" = x""yes; then :
43488   cat >>confdefs.h <<_ACEOF
43489 #define HAVE_SINCOSL 1
43490 _ACEOF
43491
43492 fi
43493 done
43494
43495   else
43496
43497   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
43498 $as_echo_n "checking for _sincosl declaration... " >&6; }
43499   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
43500     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
43501   $as_echo_n "(cached) " >&6
43502 else
43503
43504
43505       ac_ext=cpp
43506 ac_cpp='$CXXCPP $CPPFLAGS'
43507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43510
43511       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43512 /* end confdefs.h.  */
43513 #include <math.h>
43514 int
43515 main ()
43516 {
43517  _sincosl(0, 0, 0);
43518   ;
43519   return 0;
43520 }
43521 _ACEOF
43522 if ac_fn_cxx_try_compile "$LINENO"; then :
43523   glibcxx_cv_func__sincosl_use=yes
43524 else
43525   glibcxx_cv_func__sincosl_use=no
43526 fi
43527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43528       ac_ext=c
43529 ac_cpp='$CPP $CPPFLAGS'
43530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43533
43534
43535 fi
43536
43537   fi
43538   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
43539 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
43540
43541     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
43542       for ac_func in _sincosl
43543 do :
43544   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
43545 if test "x$ac_cv_func__sincosl" = x""yes; then :
43546   cat >>confdefs.h <<_ACEOF
43547 #define HAVE__SINCOSL 1
43548 _ACEOF
43549
43550 fi
43551 done
43552
43553     fi
43554   fi
43555
43556
43557
43558
43559
43560   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
43561 $as_echo_n "checking for finitel declaration... " >&6; }
43562   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
43563     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
43564   $as_echo_n "(cached) " >&6
43565 else
43566
43567
43568       ac_ext=cpp
43569 ac_cpp='$CXXCPP $CPPFLAGS'
43570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43573
43574       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43575 /* end confdefs.h.  */
43576 #include <math.h>
43577                       #ifdef HAVE_IEEEFP_H
43578                       #include <ieeefp.h>
43579                       #endif
43580
43581 int
43582 main ()
43583 {
43584  finitel(0);
43585   ;
43586   return 0;
43587 }
43588 _ACEOF
43589 if ac_fn_cxx_try_compile "$LINENO"; then :
43590   glibcxx_cv_func_finitel_use=yes
43591 else
43592   glibcxx_cv_func_finitel_use=no
43593 fi
43594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43595       ac_ext=c
43596 ac_cpp='$CPP $CPPFLAGS'
43597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43600
43601
43602 fi
43603
43604   fi
43605   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
43606 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
43607
43608   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
43609     for ac_func in finitel
43610 do :
43611   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
43612 if test "x$ac_cv_func_finitel" = x""yes; then :
43613   cat >>confdefs.h <<_ACEOF
43614 #define HAVE_FINITEL 1
43615 _ACEOF
43616
43617 fi
43618 done
43619
43620   else
43621
43622   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
43623 $as_echo_n "checking for _finitel declaration... " >&6; }
43624   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
43625     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
43626   $as_echo_n "(cached) " >&6
43627 else
43628
43629
43630       ac_ext=cpp
43631 ac_cpp='$CXXCPP $CPPFLAGS'
43632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43635
43636       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43637 /* end confdefs.h.  */
43638 #include <math.h>
43639                       #ifdef HAVE_IEEEFP_H
43640                       #include <ieeefp.h>
43641                       #endif
43642
43643 int
43644 main ()
43645 {
43646  _finitel(0);
43647   ;
43648   return 0;
43649 }
43650 _ACEOF
43651 if ac_fn_cxx_try_compile "$LINENO"; then :
43652   glibcxx_cv_func__finitel_use=yes
43653 else
43654   glibcxx_cv_func__finitel_use=no
43655 fi
43656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43657       ac_ext=c
43658 ac_cpp='$CPP $CPPFLAGS'
43659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43662
43663
43664 fi
43665
43666   fi
43667   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
43668 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
43669
43670     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
43671       for ac_func in _finitel
43672 do :
43673   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
43674 if test "x$ac_cv_func__finitel" = x""yes; then :
43675   cat >>confdefs.h <<_ACEOF
43676 #define HAVE__FINITEL 1
43677 _ACEOF
43678
43679 fi
43680 done
43681
43682     fi
43683   fi
43684
43685
43686
43687
43688   LIBS="$ac_save_LIBS"
43689   CXXFLAGS="$ac_save_CXXFLAGS"
43690
43691
43692   ac_test_CXXFLAGS="${CXXFLAGS+set}"
43693   ac_save_CXXFLAGS="$CXXFLAGS"
43694   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
43695
43696
43697   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
43698 $as_echo_n "checking for strtold declaration... " >&6; }
43699   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
43700     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
43701   $as_echo_n "(cached) " >&6
43702 else
43703
43704
43705       ac_ext=cpp
43706 ac_cpp='$CXXCPP $CPPFLAGS'
43707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43710
43711       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43712 /* end confdefs.h.  */
43713 #include <stdlib.h>
43714 int
43715 main ()
43716 {
43717  strtold(0, 0);
43718   ;
43719   return 0;
43720 }
43721 _ACEOF
43722 if ac_fn_cxx_try_compile "$LINENO"; then :
43723   glibcxx_cv_func_strtold_use=yes
43724 else
43725   glibcxx_cv_func_strtold_use=no
43726 fi
43727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43728       ac_ext=c
43729 ac_cpp='$CPP $CPPFLAGS'
43730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43733
43734
43735 fi
43736
43737   fi
43738   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
43739 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
43740   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
43741     for ac_func in strtold
43742 do :
43743   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
43744 if test "x$ac_cv_func_strtold" = x""yes; then :
43745   cat >>confdefs.h <<_ACEOF
43746 #define HAVE_STRTOLD 1
43747 _ACEOF
43748
43749 fi
43750 done
43751
43752   fi
43753
43754
43755
43756
43757   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
43758 $as_echo_n "checking for strtof declaration... " >&6; }
43759   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
43760     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
43761   $as_echo_n "(cached) " >&6
43762 else
43763
43764
43765       ac_ext=cpp
43766 ac_cpp='$CXXCPP $CPPFLAGS'
43767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43770
43771       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43772 /* end confdefs.h.  */
43773 #include <stdlib.h>
43774 int
43775 main ()
43776 {
43777  strtof(0, 0);
43778   ;
43779   return 0;
43780 }
43781 _ACEOF
43782 if ac_fn_cxx_try_compile "$LINENO"; then :
43783   glibcxx_cv_func_strtof_use=yes
43784 else
43785   glibcxx_cv_func_strtof_use=no
43786 fi
43787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43788       ac_ext=c
43789 ac_cpp='$CPP $CPPFLAGS'
43790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43793
43794
43795 fi
43796
43797   fi
43798   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
43799 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
43800   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
43801     for ac_func in strtof
43802 do :
43803   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
43804 if test "x$ac_cv_func_strtof" = x""yes; then :
43805   cat >>confdefs.h <<_ACEOF
43806 #define HAVE_STRTOF 1
43807 _ACEOF
43808
43809 fi
43810 done
43811
43812   fi
43813
43814
43815
43816
43817   CXXFLAGS="$ac_save_CXXFLAGS"
43818
43819     ;;
43820
43821   *djgpp)
43822     # GLIBCXX_CHECK_MATH_SUPPORT
43823     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
43824
43825     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
43826
43827     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
43828
43829     $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
43830
43831     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
43832
43833     ;;
43834
43835   *-freebsd*)
43836     SECTION_FLAGS='-ffunction-sections -fdata-sections'
43837
43838
43839   # If we're not using GNU ld, then there's no point in even trying these
43840   # tests.  Check for that first.  We should have already tested for gld
43841   # by now (in libtool), but require it now just to be safe...
43842   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
43843   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
43844
43845
43846
43847   # The name set by libtool depends on the version of libtool.  Shame on us
43848   # for depending on an impl detail, but c'est la vie.  Older versions used
43849   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
43850   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
43851   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
43852   # set (hence we're using an older libtool), then set it.
43853   if test x${with_gnu_ld+set} != xset; then
43854     if test x${ac_cv_prog_gnu_ld+set} != xset; then
43855       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
43856       with_gnu_ld=no
43857     else
43858       with_gnu_ld=$ac_cv_prog_gnu_ld
43859     fi
43860   fi
43861
43862   # Start by getting the version number.  I think the libtool test already
43863   # does some of this, but throws away the result.
43864   glibcxx_ld_is_gold=no
43865   if test x"$with_gnu_ld" = x"yes"; then
43866     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
43867 $as_echo_n "checking for ld version... " >&6; }
43868
43869     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
43870       glibcxx_ld_is_gold=yes
43871     fi
43872     ldver=`$LD --version 2>/dev/null | head -1 | \
43873            sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
43874
43875     glibcxx_gnu_ld_version=`echo $ldver | \
43876            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
43877     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
43878 $as_echo "$glibcxx_gnu_ld_version" >&6; }
43879   fi
43880
43881   # Set --gc-sections.
43882   glibcxx_have_gc_sections=no
43883   if test "$glibcxx_ld_is_gold" = "yes"; then
43884     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
43885       glibcxx_have_gc_sections=yes
43886     fi
43887   else
43888     glibcxx_gcsections_min_ld=21602
43889     if test x"$with_gnu_ld" = x"yes" &&
43890         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
43891       glibcxx_have_gc_sections=yes
43892     fi
43893   fi
43894   if test "$glibcxx_have_gc_sections" = "yes"; then
43895     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
43896     # NB: This flag only works reliably after 2.16.1. Configure tests
43897     # for this are difficult, so hard wire a value that should work.
43898
43899     ac_test_CFLAGS="${CFLAGS+set}"
43900     ac_save_CFLAGS="$CFLAGS"
43901     CFLAGS='-Wl,--gc-sections'
43902
43903     # Check for -Wl,--gc-sections
43904     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
43905 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
43906     if test x$gcc_no_link = xyes; then
43907   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
43908 fi
43909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43910 /* end confdefs.h.  */
43911  int one(void) { return 1; }
43912      int two(void) { return 2; }
43913
43914 int
43915 main ()
43916 {
43917  two();
43918   ;
43919   return 0;
43920 }
43921 _ACEOF
43922 if ac_fn_c_try_link "$LINENO"; then :
43923   ac_gcsections=yes
43924 else
43925   ac_gcsections=no
43926 fi
43927 rm -f core conftest.err conftest.$ac_objext \
43928     conftest$ac_exeext conftest.$ac_ext
43929     if test "$ac_gcsections" = "yes"; then
43930       rm -f conftest.c
43931       touch conftest.c
43932       if $CC -c conftest.c; then
43933         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
43934            grep "Warning: gc-sections option ignored" > /dev/null; then
43935           ac_gcsections=no
43936         fi
43937       fi
43938       rm -f conftest.c conftest.o conftest
43939     fi
43940     if test "$ac_gcsections" = "yes"; then
43941       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
43942     fi
43943     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
43944 $as_echo "$ac_gcsections" >&6; }
43945
43946     if test "$ac_test_CFLAGS" = set; then
43947       CFLAGS="$ac_save_CFLAGS"
43948     else
43949       # this is the suspicious part
43950       CFLAGS=''
43951     fi
43952   fi
43953
43954   # Set -z,relro.
43955   # Note this is only for shared objects.
43956   ac_ld_relro=no
43957   if test x"$with_gnu_ld" = x"yes"; then
43958     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
43959 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
43960     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
43961     if test -n "$cxx_z_relo"; then
43962       OPT_LDFLAGS="-Wl,-z,relro"
43963       ac_ld_relro=yes
43964     fi
43965     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
43966 $as_echo "$ac_ld_relro" >&6; }
43967   fi
43968
43969   # Set linker optimization flags.
43970   if test x"$with_gnu_ld" = x"yes"; then
43971     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
43972   fi
43973
43974
43975
43976
43977     $as_echo "#define HAVE_SETENV 1" >>confdefs.h
43978
43979     $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
43980
43981     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
43982
43983     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
43984
43985     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
43986
43987     $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
43988
43989     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
43990
43991     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
43992
43993     $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
43994
43995
43996     $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
43997
43998     $as_echo "#define HAVE_ASINF 1" >>confdefs.h
43999
44000     $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
44001
44002     $as_echo "#define HAVE_ATANF 1" >>confdefs.h
44003
44004     $as_echo "#define HAVE_CEILF 1" >>confdefs.h
44005
44006     $as_echo "#define HAVE_COSF 1" >>confdefs.h
44007
44008     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
44009
44010     $as_echo "#define HAVE_EXPF 1" >>confdefs.h
44011
44012     $as_echo "#define HAVE_FABSF 1" >>confdefs.h
44013
44014     $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
44015
44016     $as_echo "#define HAVE_FMODF 1" >>confdefs.h
44017
44018     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44019
44020     $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
44021
44022     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
44023
44024     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
44025
44026     $as_echo "#define HAVE_MODFF 1" >>confdefs.h
44027
44028     $as_echo "#define HAVE_POWF 1" >>confdefs.h
44029
44030     $as_echo "#define HAVE_SINF 1" >>confdefs.h
44031
44032     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
44033
44034     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
44035
44036     $as_echo "#define HAVE_TANF 1" >>confdefs.h
44037
44038     $as_echo "#define HAVE_TANHF 1" >>confdefs.h
44039
44040     if test x"long_double_math_on_this_cpu" = x"yes"; then
44041       $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
44042
44043       $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
44044
44045       $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
44046
44047     fi
44048     ;;
44049   *-hpux*)
44050     SECTION_FLAGS='-ffunction-sections -fdata-sections'
44051
44052
44053   # If we're not using GNU ld, then there's no point in even trying these
44054   # tests.  Check for that first.  We should have already tested for gld
44055   # by now (in libtool), but require it now just to be safe...
44056   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44057   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44058
44059
44060
44061   # The name set by libtool depends on the version of libtool.  Shame on us
44062   # for depending on an impl detail, but c'est la vie.  Older versions used
44063   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44064   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44065   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
44066   # set (hence we're using an older libtool), then set it.
44067   if test x${with_gnu_ld+set} != xset; then
44068     if test x${ac_cv_prog_gnu_ld+set} != xset; then
44069       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
44070       with_gnu_ld=no
44071     else
44072       with_gnu_ld=$ac_cv_prog_gnu_ld
44073     fi
44074   fi
44075
44076   # Start by getting the version number.  I think the libtool test already
44077   # does some of this, but throws away the result.
44078   glibcxx_ld_is_gold=no
44079   if test x"$with_gnu_ld" = x"yes"; then
44080     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44081 $as_echo_n "checking for ld version... " >&6; }
44082
44083     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44084       glibcxx_ld_is_gold=yes
44085     fi
44086     ldver=`$LD --version 2>/dev/null | head -1 | \
44087            sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
44088
44089     glibcxx_gnu_ld_version=`echo $ldver | \
44090            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44091     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44092 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44093   fi
44094
44095   # Set --gc-sections.
44096   glibcxx_have_gc_sections=no
44097   if test "$glibcxx_ld_is_gold" = "yes"; then
44098     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44099       glibcxx_have_gc_sections=yes
44100     fi
44101   else
44102     glibcxx_gcsections_min_ld=21602
44103     if test x"$with_gnu_ld" = x"yes" &&
44104         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44105       glibcxx_have_gc_sections=yes
44106     fi
44107   fi
44108   if test "$glibcxx_have_gc_sections" = "yes"; then
44109     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
44110     # NB: This flag only works reliably after 2.16.1. Configure tests
44111     # for this are difficult, so hard wire a value that should work.
44112
44113     ac_test_CFLAGS="${CFLAGS+set}"
44114     ac_save_CFLAGS="$CFLAGS"
44115     CFLAGS='-Wl,--gc-sections'
44116
44117     # Check for -Wl,--gc-sections
44118     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44119 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44120     if test x$gcc_no_link = xyes; then
44121   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44122 fi
44123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44124 /* end confdefs.h.  */
44125  int one(void) { return 1; }
44126      int two(void) { return 2; }
44127
44128 int
44129 main ()
44130 {
44131  two();
44132   ;
44133   return 0;
44134 }
44135 _ACEOF
44136 if ac_fn_c_try_link "$LINENO"; then :
44137   ac_gcsections=yes
44138 else
44139   ac_gcsections=no
44140 fi
44141 rm -f core conftest.err conftest.$ac_objext \
44142     conftest$ac_exeext conftest.$ac_ext
44143     if test "$ac_gcsections" = "yes"; then
44144       rm -f conftest.c
44145       touch conftest.c
44146       if $CC -c conftest.c; then
44147         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44148            grep "Warning: gc-sections option ignored" > /dev/null; then
44149           ac_gcsections=no
44150         fi
44151       fi
44152       rm -f conftest.c conftest.o conftest
44153     fi
44154     if test "$ac_gcsections" = "yes"; then
44155       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44156     fi
44157     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44158 $as_echo "$ac_gcsections" >&6; }
44159
44160     if test "$ac_test_CFLAGS" = set; then
44161       CFLAGS="$ac_save_CFLAGS"
44162     else
44163       # this is the suspicious part
44164       CFLAGS=''
44165     fi
44166   fi
44167
44168   # Set -z,relro.
44169   # Note this is only for shared objects.
44170   ac_ld_relro=no
44171   if test x"$with_gnu_ld" = x"yes"; then
44172     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44173 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44174     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44175     if test -n "$cxx_z_relo"; then
44176       OPT_LDFLAGS="-Wl,-z,relro"
44177       ac_ld_relro=yes
44178     fi
44179     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44180 $as_echo "$ac_ld_relro" >&6; }
44181   fi
44182
44183   # Set linker optimization flags.
44184   if test x"$with_gnu_ld" = x"yes"; then
44185     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44186   fi
44187
44188
44189
44190
44191
44192     # GLIBCXX_CHECK_MATH_SUPPORT
44193     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44194
44195     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44196
44197     $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
44198
44199     $as_echo "#define HAVE_ASINF 1" >>confdefs.h
44200
44201     $as_echo "#define HAVE_ATANF 1" >>confdefs.h
44202
44203     $as_echo "#define HAVE_COSF 1" >>confdefs.h
44204
44205     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
44206
44207     $as_echo "#define HAVE_SINF 1" >>confdefs.h
44208
44209     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
44210
44211     $as_echo "#define HAVE_TANF 1" >>confdefs.h
44212
44213     $as_echo "#define HAVE_TANHF 1" >>confdefs.h
44214
44215     $as_echo "#define HAVE_EXPF 1" >>confdefs.h
44216
44217     $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
44218
44219     $as_echo "#define HAVE_FABSF 1" >>confdefs.h
44220
44221     $as_echo "#define HAVE_FMODF 1" >>confdefs.h
44222
44223     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44224
44225     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
44226
44227     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
44228
44229     $as_echo "#define HAVE_MODF 1" >>confdefs.h
44230
44231     $as_echo "#define HAVE_POWF 1" >>confdefs.h
44232
44233     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
44234
44235
44236     # GLIBCXX_CHECK_STDLIB_SUPPORT
44237     $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
44238
44239
44240
44241
44242    # Check whether --enable-tls was given.
44243 if test "${enable_tls+set}" = set; then :
44244   enableval=$enable_tls;
44245       case "$enableval" in
44246        yes|no) ;;
44247        *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
44248       esac
44249
44250 else
44251   enable_tls=yes
44252 fi
44253
44254
44255   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
44256 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
44257 if test "${gcc_cv_have_tls+set}" = set; then :
44258   $as_echo_n "(cached) " >&6
44259 else
44260
44261     if test "$cross_compiling" = yes; then :
44262                 if test x$gcc_no_link = xyes; then
44263   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44264 fi
44265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44266 /* end confdefs.h.  */
44267 __thread int a; int b; int main() { return a = b; }
44268 _ACEOF
44269 if ac_fn_c_try_link "$LINENO"; then :
44270   chktls_save_LDFLAGS="$LDFLAGS"
44271                           case $host in
44272             *-*-linux*)
44273               LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
44274               ;;
44275           esac
44276           chktls_save_CFLAGS="$CFLAGS"
44277           CFLAGS="-fPIC $CFLAGS"
44278                   if test x$gcc_no_link = xyes; then
44279   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44280 fi
44281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44282 /* end confdefs.h.  */
44283 int f() { return 0; }
44284 _ACEOF
44285 if ac_fn_c_try_link "$LINENO"; then :
44286   if test x$gcc_no_link = xyes; then
44287   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44288 fi
44289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44290 /* end confdefs.h.  */
44291 __thread int a; int b; int f() { return a = b; }
44292 _ACEOF
44293 if ac_fn_c_try_link "$LINENO"; then :
44294   gcc_cv_have_tls=yes
44295 else
44296   gcc_cv_have_tls=no
44297 fi
44298 rm -f core conftest.err conftest.$ac_objext \
44299     conftest$ac_exeext conftest.$ac_ext
44300 else
44301   gcc_cv_have_tls=yes
44302 fi
44303 rm -f core conftest.err conftest.$ac_objext \
44304     conftest$ac_exeext conftest.$ac_ext
44305           CFLAGS="$chktls_save_CFLAGS"
44306           LDFLAGS="$chktls_save_LDFLAGS"
44307 else
44308   gcc_cv_have_tls=no
44309 fi
44310 rm -f core conftest.err conftest.$ac_objext \
44311     conftest$ac_exeext conftest.$ac_ext
44312
44313
44314 else
44315   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44316 /* end confdefs.h.  */
44317 __thread int a; int b; int main() { return a = b; }
44318 _ACEOF
44319 if ac_fn_c_try_run "$LINENO"; then :
44320                       chktls_save_LDFLAGS="$LDFLAGS"
44321       LDFLAGS="-static $LDFLAGS"
44322       if test x$gcc_no_link = xyes; then
44323   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44324 fi
44325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44326 /* end confdefs.h.  */
44327 int main() { return 0; }
44328 _ACEOF
44329 if ac_fn_c_try_link "$LINENO"; then :
44330   if test "$cross_compiling" = yes; then :
44331   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
44332 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
44333 as_fn_error "cannot run test program while cross compiling
44334 See \`config.log' for more details." "$LINENO" 5; }
44335 else
44336   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44337 /* end confdefs.h.  */
44338 __thread int a; int b; int main() { return a = b; }
44339 _ACEOF
44340 if ac_fn_c_try_run "$LINENO"; then :
44341   gcc_cv_have_tls=yes
44342 else
44343   gcc_cv_have_tls=no
44344 fi
44345 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
44346   conftest.$ac_objext conftest.beam conftest.$ac_ext
44347 fi
44348
44349 else
44350   gcc_cv_have_tls=yes
44351 fi
44352 rm -f core conftest.err conftest.$ac_objext \
44353     conftest$ac_exeext conftest.$ac_ext
44354       LDFLAGS="$chktls_save_LDFLAGS"
44355       if test $gcc_cv_have_tls = yes; then
44356                                                 chktls_save_CFLAGS="$CFLAGS"
44357         thread_CFLAGS=failed
44358         for flag in '' '-pthread' '-lpthread'; do
44359           CFLAGS="$flag $chktls_save_CFLAGS"
44360           if test x$gcc_no_link = xyes; then
44361   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44362 fi
44363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44364 /* end confdefs.h.  */
44365 #include <pthread.h>
44366                 void *g(void *d) { return NULL; }
44367 int
44368 main ()
44369 {
44370 pthread_t t; pthread_create(&t,NULL,g,NULL);
44371   ;
44372   return 0;
44373 }
44374 _ACEOF
44375 if ac_fn_c_try_link "$LINENO"; then :
44376   thread_CFLAGS="$flag"
44377 fi
44378 rm -f core conftest.err conftest.$ac_objext \
44379     conftest$ac_exeext conftest.$ac_ext
44380           if test "X$thread_CFLAGS" != Xfailed; then
44381             break
44382           fi
44383         done
44384         CFLAGS="$chktls_save_CFLAGS"
44385         if test "X$thread_CFLAGS" != Xfailed; then
44386           CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
44387           if test "$cross_compiling" = yes; then :
44388   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
44389 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
44390 as_fn_error "cannot run test program while cross compiling
44391 See \`config.log' for more details." "$LINENO" 5; }
44392 else
44393   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44394 /* end confdefs.h.  */
44395 #include <pthread.h>
44396                 __thread int a;
44397                 static int *a_in_other_thread;
44398                 static void *
44399                 thread_func (void *arg)
44400                 {
44401                   a_in_other_thread = &a;
44402                   return (void *)0;
44403                 }
44404 int
44405 main ()
44406 {
44407 pthread_t thread;
44408                 void *thread_retval;
44409                 int *a_in_main_thread;
44410                 if (pthread_create (&thread, (pthread_attr_t *)0,
44411                                     thread_func, (void *)0))
44412                   return 0;
44413                 a_in_main_thread = &a;
44414                 if (pthread_join (thread, &thread_retval))
44415                   return 0;
44416                 return (a_in_other_thread == a_in_main_thread);
44417   ;
44418   return 0;
44419 }
44420 _ACEOF
44421 if ac_fn_c_try_run "$LINENO"; then :
44422   gcc_cv_have_tls=yes
44423 else
44424   gcc_cv_have_tls=no
44425 fi
44426 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
44427   conftest.$ac_objext conftest.beam conftest.$ac_ext
44428 fi
44429
44430           CFLAGS="$chktls_save_CFLAGS"
44431         fi
44432       fi
44433 else
44434   gcc_cv_have_tls=no
44435 fi
44436 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
44437   conftest.$ac_objext conftest.beam conftest.$ac_ext
44438 fi
44439
44440 fi
44441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
44442 $as_echo "$gcc_cv_have_tls" >&6; }
44443   if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
44444
44445 $as_echo "#define HAVE_TLS 1" >>confdefs.h
44446
44447   fi
44448     case "$target" in
44449       *-hpux10*)
44450         $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44451
44452         $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
44453
44454         $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
44455
44456         $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44457
44458         $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
44459
44460         ;;
44461     esac
44462     ;;
44463   *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
44464
44465   # All these tests are for C++; save the language and the compiler flags.
44466   # The CXXFLAGS thing is suspicious, but based on similar bits previously
44467   # found in GLIBCXX_CONFIGURE.
44468
44469   ac_ext=cpp
44470 ac_cpp='$CXXCPP $CPPFLAGS'
44471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44474
44475   ac_test_CXXFLAGS="${CXXFLAGS+set}"
44476   ac_save_CXXFLAGS="$CXXFLAGS"
44477
44478   # Check for maintainer-mode bits.
44479   if test x"$USE_MAINTAINER_MODE" = xno; then
44480     WERROR=''
44481   else
44482     WERROR='-Werror'
44483   fi
44484
44485   # Check for -ffunction-sections -fdata-sections
44486   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
44487 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
44488   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
44489   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44490 /* end confdefs.h.  */
44491 int foo; void bar() { };
44492 int
44493 main ()
44494 {
44495
44496   ;
44497   return 0;
44498 }
44499 _ACEOF
44500 if ac_fn_cxx_try_compile "$LINENO"; then :
44501   ac_fdsections=yes
44502 else
44503   ac_fdsections=no
44504 fi
44505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44506   if test "$ac_test_CXXFLAGS" = set; then
44507     CXXFLAGS="$ac_save_CXXFLAGS"
44508   else
44509     # this is the suspicious part
44510     CXXFLAGS=''
44511   fi
44512   if test x"$ac_fdsections" = x"yes"; then
44513     SECTION_FLAGS='-ffunction-sections -fdata-sections'
44514   fi
44515   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
44516 $as_echo "$ac_fdsections" >&6; }
44517
44518   ac_ext=c
44519 ac_cpp='$CPP $CPPFLAGS'
44520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44523
44524
44525
44526
44527
44528   # If we're not using GNU ld, then there's no point in even trying these
44529   # tests.  Check for that first.  We should have already tested for gld
44530   # by now (in libtool), but require it now just to be safe...
44531   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44532   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44533
44534
44535
44536   # The name set by libtool depends on the version of libtool.  Shame on us
44537   # for depending on an impl detail, but c'est la vie.  Older versions used
44538   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44539   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44540   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
44541   # set (hence we're using an older libtool), then set it.
44542   if test x${with_gnu_ld+set} != xset; then
44543     if test x${ac_cv_prog_gnu_ld+set} != xset; then
44544       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
44545       with_gnu_ld=no
44546     else
44547       with_gnu_ld=$ac_cv_prog_gnu_ld
44548     fi
44549   fi
44550
44551   # Start by getting the version number.  I think the libtool test already
44552   # does some of this, but throws away the result.
44553   glibcxx_ld_is_gold=no
44554   if test x"$with_gnu_ld" = x"yes"; then
44555     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44556 $as_echo_n "checking for ld version... " >&6; }
44557
44558     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44559       glibcxx_ld_is_gold=yes
44560     fi
44561     ldver=`$LD --version 2>/dev/null | head -1 | \
44562            sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
44563
44564     glibcxx_gnu_ld_version=`echo $ldver | \
44565            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44566     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44567 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44568   fi
44569
44570   # Set --gc-sections.
44571   glibcxx_have_gc_sections=no
44572   if test "$glibcxx_ld_is_gold" = "yes"; then
44573     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44574       glibcxx_have_gc_sections=yes
44575     fi
44576   else
44577     glibcxx_gcsections_min_ld=21602
44578     if test x"$with_gnu_ld" = x"yes" &&
44579         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44580       glibcxx_have_gc_sections=yes
44581     fi
44582   fi
44583   if test "$glibcxx_have_gc_sections" = "yes"; then
44584     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
44585     # NB: This flag only works reliably after 2.16.1. Configure tests
44586     # for this are difficult, so hard wire a value that should work.
44587
44588     ac_test_CFLAGS="${CFLAGS+set}"
44589     ac_save_CFLAGS="$CFLAGS"
44590     CFLAGS='-Wl,--gc-sections'
44591
44592     # Check for -Wl,--gc-sections
44593     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44594 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44595     if test x$gcc_no_link = xyes; then
44596   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44597 fi
44598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44599 /* end confdefs.h.  */
44600  int one(void) { return 1; }
44601      int two(void) { return 2; }
44602
44603 int
44604 main ()
44605 {
44606  two();
44607   ;
44608   return 0;
44609 }
44610 _ACEOF
44611 if ac_fn_c_try_link "$LINENO"; then :
44612   ac_gcsections=yes
44613 else
44614   ac_gcsections=no
44615 fi
44616 rm -f core conftest.err conftest.$ac_objext \
44617     conftest$ac_exeext conftest.$ac_ext
44618     if test "$ac_gcsections" = "yes"; then
44619       rm -f conftest.c
44620       touch conftest.c
44621       if $CC -c conftest.c; then
44622         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44623            grep "Warning: gc-sections option ignored" > /dev/null; then
44624           ac_gcsections=no
44625         fi
44626       fi
44627       rm -f conftest.c conftest.o conftest
44628     fi
44629     if test "$ac_gcsections" = "yes"; then
44630       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44631     fi
44632     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44633 $as_echo "$ac_gcsections" >&6; }
44634
44635     if test "$ac_test_CFLAGS" = set; then
44636       CFLAGS="$ac_save_CFLAGS"
44637     else
44638       # this is the suspicious part
44639       CFLAGS=''
44640     fi
44641   fi
44642
44643   # Set -z,relro.
44644   # Note this is only for shared objects.
44645   ac_ld_relro=no
44646   if test x"$with_gnu_ld" = x"yes"; then
44647     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44648 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44649     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44650     if test -n "$cxx_z_relo"; then
44651       OPT_LDFLAGS="-Wl,-z,relro"
44652       ac_ld_relro=yes
44653     fi
44654     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44655 $as_echo "$ac_ld_relro" >&6; }
44656   fi
44657
44658   # Set linker optimization flags.
44659   if test x"$with_gnu_ld" = x"yes"; then
44660     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44661   fi
44662
44663
44664
44665
44666
44667   ac_test_CXXFLAGS="${CXXFLAGS+set}"
44668   ac_save_CXXFLAGS="$CXXFLAGS"
44669   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
44670
44671     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
44672 $as_echo_n "checking for sin in -lm... " >&6; }
44673 if test "${ac_cv_lib_m_sin+set}" = set; then :
44674   $as_echo_n "(cached) " >&6
44675 else
44676   ac_check_lib_save_LIBS=$LIBS
44677 LIBS="-lm  $LIBS"
44678 if test x$gcc_no_link = xyes; then
44679   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44680 fi
44681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44682 /* end confdefs.h.  */
44683
44684 /* Override any GCC internal prototype to avoid an error.
44685    Use char because int might match the return type of a GCC
44686    builtin and then its argument prototype would still apply.  */
44687 #ifdef __cplusplus
44688 extern "C"
44689 #endif
44690 char sin ();
44691 int
44692 main ()
44693 {
44694 return sin ();
44695   ;
44696   return 0;
44697 }
44698 _ACEOF
44699 if ac_fn_c_try_link "$LINENO"; then :
44700   ac_cv_lib_m_sin=yes
44701 else
44702   ac_cv_lib_m_sin=no
44703 fi
44704 rm -f core conftest.err conftest.$ac_objext \
44705     conftest$ac_exeext conftest.$ac_ext
44706 LIBS=$ac_check_lib_save_LIBS
44707 fi
44708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
44709 $as_echo "$ac_cv_lib_m_sin" >&6; }
44710 if test "x$ac_cv_lib_m_sin" = x""yes; then :
44711   libm="-lm"
44712 fi
44713
44714   ac_save_LIBS="$LIBS"
44715   LIBS="$LIBS $libm"
44716
44717
44718
44719   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
44720 $as_echo_n "checking for isinf declaration... " >&6; }
44721   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
44722     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
44723   $as_echo_n "(cached) " >&6
44724 else
44725
44726
44727       ac_ext=cpp
44728 ac_cpp='$CXXCPP $CPPFLAGS'
44729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44732
44733       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44734 /* end confdefs.h.  */
44735 #include <math.h>
44736                       #ifdef HAVE_IEEEFP_H
44737                       #include <ieeefp.h>
44738                       #endif
44739
44740 int
44741 main ()
44742 {
44743  isinf(0);
44744   ;
44745   return 0;
44746 }
44747 _ACEOF
44748 if ac_fn_cxx_try_compile "$LINENO"; then :
44749   glibcxx_cv_func_isinf_use=yes
44750 else
44751   glibcxx_cv_func_isinf_use=no
44752 fi
44753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44754       ac_ext=c
44755 ac_cpp='$CPP $CPPFLAGS'
44756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44759
44760
44761 fi
44762
44763   fi
44764   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
44765 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
44766
44767   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
44768     for ac_func in isinf
44769 do :
44770   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
44771 if test "x$ac_cv_func_isinf" = x""yes; then :
44772   cat >>confdefs.h <<_ACEOF
44773 #define HAVE_ISINF 1
44774 _ACEOF
44775
44776 fi
44777 done
44778
44779   else
44780
44781   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
44782 $as_echo_n "checking for _isinf declaration... " >&6; }
44783   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
44784     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
44785   $as_echo_n "(cached) " >&6
44786 else
44787
44788
44789       ac_ext=cpp
44790 ac_cpp='$CXXCPP $CPPFLAGS'
44791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44794
44795       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44796 /* end confdefs.h.  */
44797 #include <math.h>
44798                       #ifdef HAVE_IEEEFP_H
44799                       #include <ieeefp.h>
44800                       #endif
44801
44802 int
44803 main ()
44804 {
44805  _isinf(0);
44806   ;
44807   return 0;
44808 }
44809 _ACEOF
44810 if ac_fn_cxx_try_compile "$LINENO"; then :
44811   glibcxx_cv_func__isinf_use=yes
44812 else
44813   glibcxx_cv_func__isinf_use=no
44814 fi
44815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44816       ac_ext=c
44817 ac_cpp='$CPP $CPPFLAGS'
44818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44821
44822
44823 fi
44824
44825   fi
44826   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
44827 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
44828
44829     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
44830       for ac_func in _isinf
44831 do :
44832   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
44833 if test "x$ac_cv_func__isinf" = x""yes; then :
44834   cat >>confdefs.h <<_ACEOF
44835 #define HAVE__ISINF 1
44836 _ACEOF
44837
44838 fi
44839 done
44840
44841     fi
44842   fi
44843
44844
44845
44846
44847
44848   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
44849 $as_echo_n "checking for isnan declaration... " >&6; }
44850   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
44851     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
44852   $as_echo_n "(cached) " >&6
44853 else
44854
44855
44856       ac_ext=cpp
44857 ac_cpp='$CXXCPP $CPPFLAGS'
44858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44861
44862       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44863 /* end confdefs.h.  */
44864 #include <math.h>
44865                       #ifdef HAVE_IEEEFP_H
44866                       #include <ieeefp.h>
44867                       #endif
44868
44869 int
44870 main ()
44871 {
44872  isnan(0);
44873   ;
44874   return 0;
44875 }
44876 _ACEOF
44877 if ac_fn_cxx_try_compile "$LINENO"; then :
44878   glibcxx_cv_func_isnan_use=yes
44879 else
44880   glibcxx_cv_func_isnan_use=no
44881 fi
44882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44883       ac_ext=c
44884 ac_cpp='$CPP $CPPFLAGS'
44885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44888
44889
44890 fi
44891
44892   fi
44893   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
44894 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
44895
44896   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
44897     for ac_func in isnan
44898 do :
44899   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
44900 if test "x$ac_cv_func_isnan" = x""yes; then :
44901   cat >>confdefs.h <<_ACEOF
44902 #define HAVE_ISNAN 1
44903 _ACEOF
44904
44905 fi
44906 done
44907
44908   else
44909
44910   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
44911 $as_echo_n "checking for _isnan declaration... " >&6; }
44912   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
44913     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
44914   $as_echo_n "(cached) " >&6
44915 else
44916
44917
44918       ac_ext=cpp
44919 ac_cpp='$CXXCPP $CPPFLAGS'
44920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44923
44924       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44925 /* end confdefs.h.  */
44926 #include <math.h>
44927                       #ifdef HAVE_IEEEFP_H
44928                       #include <ieeefp.h>
44929                       #endif
44930
44931 int
44932 main ()
44933 {
44934  _isnan(0);
44935   ;
44936   return 0;
44937 }
44938 _ACEOF
44939 if ac_fn_cxx_try_compile "$LINENO"; then :
44940   glibcxx_cv_func__isnan_use=yes
44941 else
44942   glibcxx_cv_func__isnan_use=no
44943 fi
44944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44945       ac_ext=c
44946 ac_cpp='$CPP $CPPFLAGS'
44947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44950
44951
44952 fi
44953
44954   fi
44955   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
44956 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
44957
44958     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
44959       for ac_func in _isnan
44960 do :
44961   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
44962 if test "x$ac_cv_func__isnan" = x""yes; then :
44963   cat >>confdefs.h <<_ACEOF
44964 #define HAVE__ISNAN 1
44965 _ACEOF
44966
44967 fi
44968 done
44969
44970     fi
44971   fi
44972
44973
44974
44975
44976
44977   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
44978 $as_echo_n "checking for finite declaration... " >&6; }
44979   if test x${glibcxx_cv_func_finite_use+set} != xset; then
44980     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
44981   $as_echo_n "(cached) " >&6
44982 else
44983
44984
44985       ac_ext=cpp
44986 ac_cpp='$CXXCPP $CPPFLAGS'
44987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44990
44991       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44992 /* end confdefs.h.  */
44993 #include <math.h>
44994                       #ifdef HAVE_IEEEFP_H
44995                       #include <ieeefp.h>
44996                       #endif
44997
44998 int
44999 main ()
45000 {
45001  finite(0);
45002   ;
45003   return 0;
45004 }
45005 _ACEOF
45006 if ac_fn_cxx_try_compile "$LINENO"; then :
45007   glibcxx_cv_func_finite_use=yes
45008 else
45009   glibcxx_cv_func_finite_use=no
45010 fi
45011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45012       ac_ext=c
45013 ac_cpp='$CPP $CPPFLAGS'
45014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45017
45018
45019 fi
45020
45021   fi
45022   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
45023 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
45024
45025   if test x$glibcxx_cv_func_finite_use = x"yes"; then
45026     for ac_func in finite
45027 do :
45028   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
45029 if test "x$ac_cv_func_finite" = x""yes; then :
45030   cat >>confdefs.h <<_ACEOF
45031 #define HAVE_FINITE 1
45032 _ACEOF
45033
45034 fi
45035 done
45036
45037   else
45038
45039   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
45040 $as_echo_n "checking for _finite declaration... " >&6; }
45041   if test x${glibcxx_cv_func__finite_use+set} != xset; then
45042     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
45043   $as_echo_n "(cached) " >&6
45044 else
45045
45046
45047       ac_ext=cpp
45048 ac_cpp='$CXXCPP $CPPFLAGS'
45049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45052
45053       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45054 /* end confdefs.h.  */
45055 #include <math.h>
45056                       #ifdef HAVE_IEEEFP_H
45057                       #include <ieeefp.h>
45058                       #endif
45059
45060 int
45061 main ()
45062 {
45063  _finite(0);
45064   ;
45065   return 0;
45066 }
45067 _ACEOF
45068 if ac_fn_cxx_try_compile "$LINENO"; then :
45069   glibcxx_cv_func__finite_use=yes
45070 else
45071   glibcxx_cv_func__finite_use=no
45072 fi
45073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45074       ac_ext=c
45075 ac_cpp='$CPP $CPPFLAGS'
45076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45079
45080
45081 fi
45082
45083   fi
45084   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
45085 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
45086
45087     if test x$glibcxx_cv_func__finite_use = x"yes"; then
45088       for ac_func in _finite
45089 do :
45090   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
45091 if test "x$ac_cv_func__finite" = x""yes; then :
45092   cat >>confdefs.h <<_ACEOF
45093 #define HAVE__FINITE 1
45094 _ACEOF
45095
45096 fi
45097 done
45098
45099     fi
45100   fi
45101
45102
45103
45104
45105
45106   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
45107 $as_echo_n "checking for sincos declaration... " >&6; }
45108   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
45109     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
45110   $as_echo_n "(cached) " >&6
45111 else
45112
45113
45114       ac_ext=cpp
45115 ac_cpp='$CXXCPP $CPPFLAGS'
45116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45119
45120       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45121 /* end confdefs.h.  */
45122 #include <math.h>
45123 int
45124 main ()
45125 {
45126  sincos(0, 0, 0);
45127   ;
45128   return 0;
45129 }
45130 _ACEOF
45131 if ac_fn_cxx_try_compile "$LINENO"; then :
45132   glibcxx_cv_func_sincos_use=yes
45133 else
45134   glibcxx_cv_func_sincos_use=no
45135 fi
45136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45137       ac_ext=c
45138 ac_cpp='$CPP $CPPFLAGS'
45139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45142
45143
45144 fi
45145
45146   fi
45147   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
45148 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
45149
45150   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
45151     for ac_func in sincos
45152 do :
45153   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
45154 if test "x$ac_cv_func_sincos" = x""yes; then :
45155   cat >>confdefs.h <<_ACEOF
45156 #define HAVE_SINCOS 1
45157 _ACEOF
45158
45159 fi
45160 done
45161
45162   else
45163
45164   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
45165 $as_echo_n "checking for _sincos declaration... " >&6; }
45166   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
45167     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
45168   $as_echo_n "(cached) " >&6
45169 else
45170
45171
45172       ac_ext=cpp
45173 ac_cpp='$CXXCPP $CPPFLAGS'
45174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45177
45178       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45179 /* end confdefs.h.  */
45180 #include <math.h>
45181 int
45182 main ()
45183 {
45184  _sincos(0, 0, 0);
45185   ;
45186   return 0;
45187 }
45188 _ACEOF
45189 if ac_fn_cxx_try_compile "$LINENO"; then :
45190   glibcxx_cv_func__sincos_use=yes
45191 else
45192   glibcxx_cv_func__sincos_use=no
45193 fi
45194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45195       ac_ext=c
45196 ac_cpp='$CPP $CPPFLAGS'
45197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45200
45201
45202 fi
45203
45204   fi
45205   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
45206 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
45207
45208     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
45209       for ac_func in _sincos
45210 do :
45211   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
45212 if test "x$ac_cv_func__sincos" = x""yes; then :
45213   cat >>confdefs.h <<_ACEOF
45214 #define HAVE__SINCOS 1
45215 _ACEOF
45216
45217 fi
45218 done
45219
45220     fi
45221   fi
45222
45223
45224
45225
45226
45227   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
45228 $as_echo_n "checking for fpclass declaration... " >&6; }
45229   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
45230     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
45231   $as_echo_n "(cached) " >&6
45232 else
45233
45234
45235       ac_ext=cpp
45236 ac_cpp='$CXXCPP $CPPFLAGS'
45237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45240
45241       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45242 /* end confdefs.h.  */
45243 #include <math.h>
45244                       #ifdef HAVE_IEEEFP_H
45245                       #include <ieeefp.h>
45246                       #endif
45247
45248 int
45249 main ()
45250 {
45251  fpclass(0);
45252   ;
45253   return 0;
45254 }
45255 _ACEOF
45256 if ac_fn_cxx_try_compile "$LINENO"; then :
45257   glibcxx_cv_func_fpclass_use=yes
45258 else
45259   glibcxx_cv_func_fpclass_use=no
45260 fi
45261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45262       ac_ext=c
45263 ac_cpp='$CPP $CPPFLAGS'
45264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45267
45268
45269 fi
45270
45271   fi
45272   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
45273 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
45274
45275   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
45276     for ac_func in fpclass
45277 do :
45278   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
45279 if test "x$ac_cv_func_fpclass" = x""yes; then :
45280   cat >>confdefs.h <<_ACEOF
45281 #define HAVE_FPCLASS 1
45282 _ACEOF
45283
45284 fi
45285 done
45286
45287   else
45288
45289   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
45290 $as_echo_n "checking for _fpclass declaration... " >&6; }
45291   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
45292     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
45293   $as_echo_n "(cached) " >&6
45294 else
45295
45296
45297       ac_ext=cpp
45298 ac_cpp='$CXXCPP $CPPFLAGS'
45299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45302
45303       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45304 /* end confdefs.h.  */
45305 #include <math.h>
45306                       #ifdef HAVE_IEEEFP_H
45307                       #include <ieeefp.h>
45308                       #endif
45309
45310 int
45311 main ()
45312 {
45313  _fpclass(0);
45314   ;
45315   return 0;
45316 }
45317 _ACEOF
45318 if ac_fn_cxx_try_compile "$LINENO"; then :
45319   glibcxx_cv_func__fpclass_use=yes
45320 else
45321   glibcxx_cv_func__fpclass_use=no
45322 fi
45323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45324       ac_ext=c
45325 ac_cpp='$CPP $CPPFLAGS'
45326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45329
45330
45331 fi
45332
45333   fi
45334   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
45335 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
45336
45337     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
45338       for ac_func in _fpclass
45339 do :
45340   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
45341 if test "x$ac_cv_func__fpclass" = x""yes; then :
45342   cat >>confdefs.h <<_ACEOF
45343 #define HAVE__FPCLASS 1
45344 _ACEOF
45345
45346 fi
45347 done
45348
45349     fi
45350   fi
45351
45352
45353
45354
45355
45356   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
45357 $as_echo_n "checking for qfpclass declaration... " >&6; }
45358   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
45359     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
45360   $as_echo_n "(cached) " >&6
45361 else
45362
45363
45364       ac_ext=cpp
45365 ac_cpp='$CXXCPP $CPPFLAGS'
45366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45369
45370       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45371 /* end confdefs.h.  */
45372 #include <math.h>
45373                       #ifdef HAVE_IEEEFP_H
45374                       #include <ieeefp.h>
45375                       #endif
45376
45377 int
45378 main ()
45379 {
45380  qfpclass(0);
45381   ;
45382   return 0;
45383 }
45384 _ACEOF
45385 if ac_fn_cxx_try_compile "$LINENO"; then :
45386   glibcxx_cv_func_qfpclass_use=yes
45387 else
45388   glibcxx_cv_func_qfpclass_use=no
45389 fi
45390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45391       ac_ext=c
45392 ac_cpp='$CPP $CPPFLAGS'
45393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45396
45397
45398 fi
45399
45400   fi
45401   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
45402 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
45403
45404   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
45405     for ac_func in qfpclass
45406 do :
45407   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
45408 if test "x$ac_cv_func_qfpclass" = x""yes; then :
45409   cat >>confdefs.h <<_ACEOF
45410 #define HAVE_QFPCLASS 1
45411 _ACEOF
45412
45413 fi
45414 done
45415
45416   else
45417
45418   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
45419 $as_echo_n "checking for _qfpclass declaration... " >&6; }
45420   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
45421     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
45422   $as_echo_n "(cached) " >&6
45423 else
45424
45425
45426       ac_ext=cpp
45427 ac_cpp='$CXXCPP $CPPFLAGS'
45428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45431
45432       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45433 /* end confdefs.h.  */
45434 #include <math.h>
45435                       #ifdef HAVE_IEEEFP_H
45436                       #include <ieeefp.h>
45437                       #endif
45438
45439 int
45440 main ()
45441 {
45442  _qfpclass(0);
45443   ;
45444   return 0;
45445 }
45446 _ACEOF
45447 if ac_fn_cxx_try_compile "$LINENO"; then :
45448   glibcxx_cv_func__qfpclass_use=yes
45449 else
45450   glibcxx_cv_func__qfpclass_use=no
45451 fi
45452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45453       ac_ext=c
45454 ac_cpp='$CPP $CPPFLAGS'
45455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45458
45459
45460 fi
45461
45462   fi
45463   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
45464 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
45465
45466     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
45467       for ac_func in _qfpclass
45468 do :
45469   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
45470 if test "x$ac_cv_func__qfpclass" = x""yes; then :
45471   cat >>confdefs.h <<_ACEOF
45472 #define HAVE__QFPCLASS 1
45473 _ACEOF
45474
45475 fi
45476 done
45477
45478     fi
45479   fi
45480
45481
45482
45483
45484
45485   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
45486 $as_echo_n "checking for hypot declaration... " >&6; }
45487   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
45488     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
45489   $as_echo_n "(cached) " >&6
45490 else
45491
45492
45493       ac_ext=cpp
45494 ac_cpp='$CXXCPP $CPPFLAGS'
45495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45498
45499       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45500 /* end confdefs.h.  */
45501 #include <math.h>
45502 int
45503 main ()
45504 {
45505  hypot(0, 0);
45506   ;
45507   return 0;
45508 }
45509 _ACEOF
45510 if ac_fn_cxx_try_compile "$LINENO"; then :
45511   glibcxx_cv_func_hypot_use=yes
45512 else
45513   glibcxx_cv_func_hypot_use=no
45514 fi
45515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45516       ac_ext=c
45517 ac_cpp='$CPP $CPPFLAGS'
45518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45521
45522
45523 fi
45524
45525   fi
45526   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
45527 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
45528
45529   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
45530     for ac_func in hypot
45531 do :
45532   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
45533 if test "x$ac_cv_func_hypot" = x""yes; then :
45534   cat >>confdefs.h <<_ACEOF
45535 #define HAVE_HYPOT 1
45536 _ACEOF
45537
45538 fi
45539 done
45540
45541   else
45542
45543   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
45544 $as_echo_n "checking for _hypot declaration... " >&6; }
45545   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
45546     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
45547   $as_echo_n "(cached) " >&6
45548 else
45549
45550
45551       ac_ext=cpp
45552 ac_cpp='$CXXCPP $CPPFLAGS'
45553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45556
45557       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45558 /* end confdefs.h.  */
45559 #include <math.h>
45560 int
45561 main ()
45562 {
45563  _hypot(0, 0);
45564   ;
45565   return 0;
45566 }
45567 _ACEOF
45568 if ac_fn_cxx_try_compile "$LINENO"; then :
45569   glibcxx_cv_func__hypot_use=yes
45570 else
45571   glibcxx_cv_func__hypot_use=no
45572 fi
45573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45574       ac_ext=c
45575 ac_cpp='$CPP $CPPFLAGS'
45576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45579
45580
45581 fi
45582
45583   fi
45584   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
45585 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
45586
45587     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
45588       for ac_func in _hypot
45589 do :
45590   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
45591 if test "x$ac_cv_func__hypot" = x""yes; then :
45592   cat >>confdefs.h <<_ACEOF
45593 #define HAVE__HYPOT 1
45594 _ACEOF
45595
45596 fi
45597 done
45598
45599     fi
45600   fi
45601
45602
45603
45604
45605
45606     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
45607 $as_echo_n "checking for float trig functions... " >&6; }
45608   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
45609   $as_echo_n "(cached) " >&6
45610 else
45611
45612
45613     ac_ext=cpp
45614 ac_cpp='$CXXCPP $CPPFLAGS'
45615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45618
45619     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45620 /* end confdefs.h.  */
45621 #include <math.h>
45622 int
45623 main ()
45624 {
45625 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
45626   ;
45627   return 0;
45628 }
45629 _ACEOF
45630 if ac_fn_cxx_try_compile "$LINENO"; then :
45631   glibcxx_cv_func_float_trig_use=yes
45632 else
45633   glibcxx_cv_func_float_trig_use=no
45634 fi
45635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45636     ac_ext=c
45637 ac_cpp='$CPP $CPPFLAGS'
45638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45641
45642 fi
45643
45644   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
45645 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
45646   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
45647     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
45648 do :
45649   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45650 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45651 eval as_val=\$$as_ac_var
45652    if test "x$as_val" = x""yes; then :
45653   cat >>confdefs.h <<_ACEOF
45654 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45655 _ACEOF
45656
45657 fi
45658 done
45659
45660   else
45661     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
45662 $as_echo_n "checking for _float trig functions... " >&6; }
45663     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
45664   $as_echo_n "(cached) " >&6
45665 else
45666
45667
45668       ac_ext=cpp
45669 ac_cpp='$CXXCPP $CPPFLAGS'
45670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45673
45674       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45675 /* end confdefs.h.  */
45676 #include <math.h>
45677 int
45678 main ()
45679 {
45680 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
45681   ;
45682   return 0;
45683 }
45684 _ACEOF
45685 if ac_fn_cxx_try_compile "$LINENO"; then :
45686   glibcxx_cv_func__float_trig_use=yes
45687 else
45688   glibcxx_cv_func__float_trig_use=no
45689 fi
45690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45691       ac_ext=c
45692 ac_cpp='$CPP $CPPFLAGS'
45693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45696
45697 fi
45698
45699     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
45700 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
45701     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
45702       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
45703 do :
45704   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45705 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45706 eval as_val=\$$as_ac_var
45707    if test "x$as_val" = x""yes; then :
45708   cat >>confdefs.h <<_ACEOF
45709 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45710 _ACEOF
45711
45712 fi
45713 done
45714
45715     fi
45716   fi
45717
45718
45719
45720
45721
45722     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
45723 $as_echo_n "checking for float round functions... " >&6; }
45724   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
45725   $as_echo_n "(cached) " >&6
45726 else
45727
45728
45729     ac_ext=cpp
45730 ac_cpp='$CXXCPP $CPPFLAGS'
45731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45734
45735     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45736 /* end confdefs.h.  */
45737 #include <math.h>
45738 int
45739 main ()
45740 {
45741 ceilf (0); floorf (0);
45742   ;
45743   return 0;
45744 }
45745 _ACEOF
45746 if ac_fn_cxx_try_compile "$LINENO"; then :
45747   glibcxx_cv_func_float_round_use=yes
45748 else
45749   glibcxx_cv_func_float_round_use=no
45750 fi
45751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45752     ac_ext=c
45753 ac_cpp='$CPP $CPPFLAGS'
45754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45757
45758 fi
45759
45760   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
45761 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
45762   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
45763     for ac_func in ceilf floorf
45764 do :
45765   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45766 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45767 eval as_val=\$$as_ac_var
45768    if test "x$as_val" = x""yes; then :
45769   cat >>confdefs.h <<_ACEOF
45770 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45771 _ACEOF
45772
45773 fi
45774 done
45775
45776   else
45777     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
45778 $as_echo_n "checking for _float round functions... " >&6; }
45779     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
45780   $as_echo_n "(cached) " >&6
45781 else
45782
45783
45784       ac_ext=cpp
45785 ac_cpp='$CXXCPP $CPPFLAGS'
45786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45789
45790       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45791 /* end confdefs.h.  */
45792 #include <math.h>
45793 int
45794 main ()
45795 {
45796 _ceilf (0); _floorf (0);
45797   ;
45798   return 0;
45799 }
45800 _ACEOF
45801 if ac_fn_cxx_try_compile "$LINENO"; then :
45802   glibcxx_cv_func__float_round_use=yes
45803 else
45804   glibcxx_cv_func__float_round_use=no
45805 fi
45806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45807       ac_ext=c
45808 ac_cpp='$CPP $CPPFLAGS'
45809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45812
45813 fi
45814
45815     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
45816 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
45817     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
45818       for ac_func in _ceilf _floorf
45819 do :
45820   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45821 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45822 eval as_val=\$$as_ac_var
45823    if test "x$as_val" = x""yes; then :
45824   cat >>confdefs.h <<_ACEOF
45825 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45826 _ACEOF
45827
45828 fi
45829 done
45830
45831     fi
45832   fi
45833
45834
45835
45836
45837
45838
45839   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
45840 $as_echo_n "checking for expf declaration... " >&6; }
45841   if test x${glibcxx_cv_func_expf_use+set} != xset; then
45842     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
45843   $as_echo_n "(cached) " >&6
45844 else
45845
45846
45847       ac_ext=cpp
45848 ac_cpp='$CXXCPP $CPPFLAGS'
45849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45852
45853       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45854 /* end confdefs.h.  */
45855 #include <math.h>
45856                       #ifdef HAVE_IEEEFP_H
45857                       #include <ieeefp.h>
45858                       #endif
45859
45860 int
45861 main ()
45862 {
45863  expf(0);
45864   ;
45865   return 0;
45866 }
45867 _ACEOF
45868 if ac_fn_cxx_try_compile "$LINENO"; then :
45869   glibcxx_cv_func_expf_use=yes
45870 else
45871   glibcxx_cv_func_expf_use=no
45872 fi
45873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45874       ac_ext=c
45875 ac_cpp='$CPP $CPPFLAGS'
45876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45879
45880
45881 fi
45882
45883   fi
45884   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
45885 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
45886
45887   if test x$glibcxx_cv_func_expf_use = x"yes"; then
45888     for ac_func in expf
45889 do :
45890   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
45891 if test "x$ac_cv_func_expf" = x""yes; then :
45892   cat >>confdefs.h <<_ACEOF
45893 #define HAVE_EXPF 1
45894 _ACEOF
45895
45896 fi
45897 done
45898
45899   else
45900
45901   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
45902 $as_echo_n "checking for _expf declaration... " >&6; }
45903   if test x${glibcxx_cv_func__expf_use+set} != xset; then
45904     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
45905   $as_echo_n "(cached) " >&6
45906 else
45907
45908
45909       ac_ext=cpp
45910 ac_cpp='$CXXCPP $CPPFLAGS'
45911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45914
45915       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45916 /* end confdefs.h.  */
45917 #include <math.h>
45918                       #ifdef HAVE_IEEEFP_H
45919                       #include <ieeefp.h>
45920                       #endif
45921
45922 int
45923 main ()
45924 {
45925  _expf(0);
45926   ;
45927   return 0;
45928 }
45929 _ACEOF
45930 if ac_fn_cxx_try_compile "$LINENO"; then :
45931   glibcxx_cv_func__expf_use=yes
45932 else
45933   glibcxx_cv_func__expf_use=no
45934 fi
45935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45936       ac_ext=c
45937 ac_cpp='$CPP $CPPFLAGS'
45938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45941
45942
45943 fi
45944
45945   fi
45946   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
45947 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
45948
45949     if test x$glibcxx_cv_func__expf_use = x"yes"; then
45950       for ac_func in _expf
45951 do :
45952   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
45953 if test "x$ac_cv_func__expf" = x""yes; then :
45954   cat >>confdefs.h <<_ACEOF
45955 #define HAVE__EXPF 1
45956 _ACEOF
45957
45958 fi
45959 done
45960
45961     fi
45962   fi
45963
45964
45965
45966
45967
45968   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
45969 $as_echo_n "checking for isnanf declaration... " >&6; }
45970   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
45971     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
45972   $as_echo_n "(cached) " >&6
45973 else
45974
45975
45976       ac_ext=cpp
45977 ac_cpp='$CXXCPP $CPPFLAGS'
45978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45981
45982       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45983 /* end confdefs.h.  */
45984 #include <math.h>
45985                       #ifdef HAVE_IEEEFP_H
45986                       #include <ieeefp.h>
45987                       #endif
45988
45989 int
45990 main ()
45991 {
45992  isnanf(0);
45993   ;
45994   return 0;
45995 }
45996 _ACEOF
45997 if ac_fn_cxx_try_compile "$LINENO"; then :
45998   glibcxx_cv_func_isnanf_use=yes
45999 else
46000   glibcxx_cv_func_isnanf_use=no
46001 fi
46002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46003       ac_ext=c
46004 ac_cpp='$CPP $CPPFLAGS'
46005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46008
46009
46010 fi
46011
46012   fi
46013   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
46014 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
46015
46016   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
46017     for ac_func in isnanf
46018 do :
46019   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
46020 if test "x$ac_cv_func_isnanf" = x""yes; then :
46021   cat >>confdefs.h <<_ACEOF
46022 #define HAVE_ISNANF 1
46023 _ACEOF
46024
46025 fi
46026 done
46027
46028   else
46029
46030   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
46031 $as_echo_n "checking for _isnanf declaration... " >&6; }
46032   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
46033     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
46034   $as_echo_n "(cached) " >&6
46035 else
46036
46037
46038       ac_ext=cpp
46039 ac_cpp='$CXXCPP $CPPFLAGS'
46040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46043
46044       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46045 /* end confdefs.h.  */
46046 #include <math.h>
46047                       #ifdef HAVE_IEEEFP_H
46048                       #include <ieeefp.h>
46049                       #endif
46050
46051 int
46052 main ()
46053 {
46054  _isnanf(0);
46055   ;
46056   return 0;
46057 }
46058 _ACEOF
46059 if ac_fn_cxx_try_compile "$LINENO"; then :
46060   glibcxx_cv_func__isnanf_use=yes
46061 else
46062   glibcxx_cv_func__isnanf_use=no
46063 fi
46064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46065       ac_ext=c
46066 ac_cpp='$CPP $CPPFLAGS'
46067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46070
46071
46072 fi
46073
46074   fi
46075   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
46076 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
46077
46078     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
46079       for ac_func in _isnanf
46080 do :
46081   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
46082 if test "x$ac_cv_func__isnanf" = x""yes; then :
46083   cat >>confdefs.h <<_ACEOF
46084 #define HAVE__ISNANF 1
46085 _ACEOF
46086
46087 fi
46088 done
46089
46090     fi
46091   fi
46092
46093
46094
46095
46096
46097   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
46098 $as_echo_n "checking for isinff declaration... " >&6; }
46099   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
46100     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
46101   $as_echo_n "(cached) " >&6
46102 else
46103
46104
46105       ac_ext=cpp
46106 ac_cpp='$CXXCPP $CPPFLAGS'
46107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46110
46111       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46112 /* end confdefs.h.  */
46113 #include <math.h>
46114                       #ifdef HAVE_IEEEFP_H
46115                       #include <ieeefp.h>
46116                       #endif
46117
46118 int
46119 main ()
46120 {
46121  isinff(0);
46122   ;
46123   return 0;
46124 }
46125 _ACEOF
46126 if ac_fn_cxx_try_compile "$LINENO"; then :
46127   glibcxx_cv_func_isinff_use=yes
46128 else
46129   glibcxx_cv_func_isinff_use=no
46130 fi
46131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46132       ac_ext=c
46133 ac_cpp='$CPP $CPPFLAGS'
46134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46137
46138
46139 fi
46140
46141   fi
46142   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
46143 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
46144
46145   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
46146     for ac_func in isinff
46147 do :
46148   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
46149 if test "x$ac_cv_func_isinff" = x""yes; then :
46150   cat >>confdefs.h <<_ACEOF
46151 #define HAVE_ISINFF 1
46152 _ACEOF
46153
46154 fi
46155 done
46156
46157   else
46158
46159   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
46160 $as_echo_n "checking for _isinff declaration... " >&6; }
46161   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
46162     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
46163   $as_echo_n "(cached) " >&6
46164 else
46165
46166
46167       ac_ext=cpp
46168 ac_cpp='$CXXCPP $CPPFLAGS'
46169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46172
46173       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46174 /* end confdefs.h.  */
46175 #include <math.h>
46176                       #ifdef HAVE_IEEEFP_H
46177                       #include <ieeefp.h>
46178                       #endif
46179
46180 int
46181 main ()
46182 {
46183  _isinff(0);
46184   ;
46185   return 0;
46186 }
46187 _ACEOF
46188 if ac_fn_cxx_try_compile "$LINENO"; then :
46189   glibcxx_cv_func__isinff_use=yes
46190 else
46191   glibcxx_cv_func__isinff_use=no
46192 fi
46193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46194       ac_ext=c
46195 ac_cpp='$CPP $CPPFLAGS'
46196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46199
46200
46201 fi
46202
46203   fi
46204   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
46205 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
46206
46207     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
46208       for ac_func in _isinff
46209 do :
46210   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
46211 if test "x$ac_cv_func__isinff" = x""yes; then :
46212   cat >>confdefs.h <<_ACEOF
46213 #define HAVE__ISINFF 1
46214 _ACEOF
46215
46216 fi
46217 done
46218
46219     fi
46220   fi
46221
46222
46223
46224
46225
46226   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
46227 $as_echo_n "checking for atan2f declaration... " >&6; }
46228   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
46229     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
46230   $as_echo_n "(cached) " >&6
46231 else
46232
46233
46234       ac_ext=cpp
46235 ac_cpp='$CXXCPP $CPPFLAGS'
46236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46239
46240       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46241 /* end confdefs.h.  */
46242 #include <math.h>
46243 int
46244 main ()
46245 {
46246  atan2f(0, 0);
46247   ;
46248   return 0;
46249 }
46250 _ACEOF
46251 if ac_fn_cxx_try_compile "$LINENO"; then :
46252   glibcxx_cv_func_atan2f_use=yes
46253 else
46254   glibcxx_cv_func_atan2f_use=no
46255 fi
46256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46257       ac_ext=c
46258 ac_cpp='$CPP $CPPFLAGS'
46259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46262
46263
46264 fi
46265
46266   fi
46267   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
46268 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
46269
46270   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
46271     for ac_func in atan2f
46272 do :
46273   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
46274 if test "x$ac_cv_func_atan2f" = x""yes; then :
46275   cat >>confdefs.h <<_ACEOF
46276 #define HAVE_ATAN2F 1
46277 _ACEOF
46278
46279 fi
46280 done
46281
46282   else
46283
46284   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
46285 $as_echo_n "checking for _atan2f declaration... " >&6; }
46286   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
46287     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
46288   $as_echo_n "(cached) " >&6
46289 else
46290
46291
46292       ac_ext=cpp
46293 ac_cpp='$CXXCPP $CPPFLAGS'
46294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46297
46298       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46299 /* end confdefs.h.  */
46300 #include <math.h>
46301 int
46302 main ()
46303 {
46304  _atan2f(0, 0);
46305   ;
46306   return 0;
46307 }
46308 _ACEOF
46309 if ac_fn_cxx_try_compile "$LINENO"; then :
46310   glibcxx_cv_func__atan2f_use=yes
46311 else
46312   glibcxx_cv_func__atan2f_use=no
46313 fi
46314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46315       ac_ext=c
46316 ac_cpp='$CPP $CPPFLAGS'
46317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46320
46321
46322 fi
46323
46324   fi
46325   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
46326 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
46327
46328     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
46329       for ac_func in _atan2f
46330 do :
46331   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
46332 if test "x$ac_cv_func__atan2f" = x""yes; then :
46333   cat >>confdefs.h <<_ACEOF
46334 #define HAVE__ATAN2F 1
46335 _ACEOF
46336
46337 fi
46338 done
46339
46340     fi
46341   fi
46342
46343
46344
46345
46346
46347   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
46348 $as_echo_n "checking for fabsf declaration... " >&6; }
46349   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
46350     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
46351   $as_echo_n "(cached) " >&6
46352 else
46353
46354
46355       ac_ext=cpp
46356 ac_cpp='$CXXCPP $CPPFLAGS'
46357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46360
46361       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46362 /* end confdefs.h.  */
46363 #include <math.h>
46364                       #ifdef HAVE_IEEEFP_H
46365                       #include <ieeefp.h>
46366                       #endif
46367
46368 int
46369 main ()
46370 {
46371  fabsf(0);
46372   ;
46373   return 0;
46374 }
46375 _ACEOF
46376 if ac_fn_cxx_try_compile "$LINENO"; then :
46377   glibcxx_cv_func_fabsf_use=yes
46378 else
46379   glibcxx_cv_func_fabsf_use=no
46380 fi
46381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46382       ac_ext=c
46383 ac_cpp='$CPP $CPPFLAGS'
46384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46387
46388
46389 fi
46390
46391   fi
46392   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
46393 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
46394
46395   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
46396     for ac_func in fabsf
46397 do :
46398   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
46399 if test "x$ac_cv_func_fabsf" = x""yes; then :
46400   cat >>confdefs.h <<_ACEOF
46401 #define HAVE_FABSF 1
46402 _ACEOF
46403
46404 fi
46405 done
46406
46407   else
46408
46409   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
46410 $as_echo_n "checking for _fabsf declaration... " >&6; }
46411   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
46412     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
46413   $as_echo_n "(cached) " >&6
46414 else
46415
46416
46417       ac_ext=cpp
46418 ac_cpp='$CXXCPP $CPPFLAGS'
46419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46422
46423       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46424 /* end confdefs.h.  */
46425 #include <math.h>
46426                       #ifdef HAVE_IEEEFP_H
46427                       #include <ieeefp.h>
46428                       #endif
46429
46430 int
46431 main ()
46432 {
46433  _fabsf(0);
46434   ;
46435   return 0;
46436 }
46437 _ACEOF
46438 if ac_fn_cxx_try_compile "$LINENO"; then :
46439   glibcxx_cv_func__fabsf_use=yes
46440 else
46441   glibcxx_cv_func__fabsf_use=no
46442 fi
46443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46444       ac_ext=c
46445 ac_cpp='$CPP $CPPFLAGS'
46446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46449
46450
46451 fi
46452
46453   fi
46454   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
46455 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
46456
46457     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
46458       for ac_func in _fabsf
46459 do :
46460   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
46461 if test "x$ac_cv_func__fabsf" = x""yes; then :
46462   cat >>confdefs.h <<_ACEOF
46463 #define HAVE__FABSF 1
46464 _ACEOF
46465
46466 fi
46467 done
46468
46469     fi
46470   fi
46471
46472
46473
46474
46475
46476   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
46477 $as_echo_n "checking for fmodf declaration... " >&6; }
46478   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
46479     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
46480   $as_echo_n "(cached) " >&6
46481 else
46482
46483
46484       ac_ext=cpp
46485 ac_cpp='$CXXCPP $CPPFLAGS'
46486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46489
46490       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46491 /* end confdefs.h.  */
46492 #include <math.h>
46493 int
46494 main ()
46495 {
46496  fmodf(0, 0);
46497   ;
46498   return 0;
46499 }
46500 _ACEOF
46501 if ac_fn_cxx_try_compile "$LINENO"; then :
46502   glibcxx_cv_func_fmodf_use=yes
46503 else
46504   glibcxx_cv_func_fmodf_use=no
46505 fi
46506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46507       ac_ext=c
46508 ac_cpp='$CPP $CPPFLAGS'
46509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46512
46513
46514 fi
46515
46516   fi
46517   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
46518 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
46519
46520   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
46521     for ac_func in fmodf
46522 do :
46523   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
46524 if test "x$ac_cv_func_fmodf" = x""yes; then :
46525   cat >>confdefs.h <<_ACEOF
46526 #define HAVE_FMODF 1
46527 _ACEOF
46528
46529 fi
46530 done
46531
46532   else
46533
46534   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
46535 $as_echo_n "checking for _fmodf declaration... " >&6; }
46536   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
46537     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
46538   $as_echo_n "(cached) " >&6
46539 else
46540
46541
46542       ac_ext=cpp
46543 ac_cpp='$CXXCPP $CPPFLAGS'
46544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46547
46548       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46549 /* end confdefs.h.  */
46550 #include <math.h>
46551 int
46552 main ()
46553 {
46554  _fmodf(0, 0);
46555   ;
46556   return 0;
46557 }
46558 _ACEOF
46559 if ac_fn_cxx_try_compile "$LINENO"; then :
46560   glibcxx_cv_func__fmodf_use=yes
46561 else
46562   glibcxx_cv_func__fmodf_use=no
46563 fi
46564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46565       ac_ext=c
46566 ac_cpp='$CPP $CPPFLAGS'
46567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46570
46571
46572 fi
46573
46574   fi
46575   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
46576 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
46577
46578     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
46579       for ac_func in _fmodf
46580 do :
46581   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
46582 if test "x$ac_cv_func__fmodf" = x""yes; then :
46583   cat >>confdefs.h <<_ACEOF
46584 #define HAVE__FMODF 1
46585 _ACEOF
46586
46587 fi
46588 done
46589
46590     fi
46591   fi
46592
46593
46594
46595
46596
46597   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
46598 $as_echo_n "checking for frexpf declaration... " >&6; }
46599   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
46600     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
46601   $as_echo_n "(cached) " >&6
46602 else
46603
46604
46605       ac_ext=cpp
46606 ac_cpp='$CXXCPP $CPPFLAGS'
46607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46610
46611       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46612 /* end confdefs.h.  */
46613 #include <math.h>
46614 int
46615 main ()
46616 {
46617  frexpf(0, 0);
46618   ;
46619   return 0;
46620 }
46621 _ACEOF
46622 if ac_fn_cxx_try_compile "$LINENO"; then :
46623   glibcxx_cv_func_frexpf_use=yes
46624 else
46625   glibcxx_cv_func_frexpf_use=no
46626 fi
46627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46628       ac_ext=c
46629 ac_cpp='$CPP $CPPFLAGS'
46630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46633
46634
46635 fi
46636
46637   fi
46638   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
46639 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
46640
46641   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
46642     for ac_func in frexpf
46643 do :
46644   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
46645 if test "x$ac_cv_func_frexpf" = x""yes; then :
46646   cat >>confdefs.h <<_ACEOF
46647 #define HAVE_FREXPF 1
46648 _ACEOF
46649
46650 fi
46651 done
46652
46653   else
46654
46655   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
46656 $as_echo_n "checking for _frexpf declaration... " >&6; }
46657   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
46658     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
46659   $as_echo_n "(cached) " >&6
46660 else
46661
46662
46663       ac_ext=cpp
46664 ac_cpp='$CXXCPP $CPPFLAGS'
46665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46668
46669       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46670 /* end confdefs.h.  */
46671 #include <math.h>
46672 int
46673 main ()
46674 {
46675  _frexpf(0, 0);
46676   ;
46677   return 0;
46678 }
46679 _ACEOF
46680 if ac_fn_cxx_try_compile "$LINENO"; then :
46681   glibcxx_cv_func__frexpf_use=yes
46682 else
46683   glibcxx_cv_func__frexpf_use=no
46684 fi
46685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46686       ac_ext=c
46687 ac_cpp='$CPP $CPPFLAGS'
46688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46691
46692
46693 fi
46694
46695   fi
46696   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
46697 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
46698
46699     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
46700       for ac_func in _frexpf
46701 do :
46702   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
46703 if test "x$ac_cv_func__frexpf" = x""yes; then :
46704   cat >>confdefs.h <<_ACEOF
46705 #define HAVE__FREXPF 1
46706 _ACEOF
46707
46708 fi
46709 done
46710
46711     fi
46712   fi
46713
46714
46715
46716
46717
46718   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
46719 $as_echo_n "checking for hypotf declaration... " >&6; }
46720   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
46721     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
46722   $as_echo_n "(cached) " >&6
46723 else
46724
46725
46726       ac_ext=cpp
46727 ac_cpp='$CXXCPP $CPPFLAGS'
46728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46731
46732       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46733 /* end confdefs.h.  */
46734 #include <math.h>
46735 int
46736 main ()
46737 {
46738  hypotf(0, 0);
46739   ;
46740   return 0;
46741 }
46742 _ACEOF
46743 if ac_fn_cxx_try_compile "$LINENO"; then :
46744   glibcxx_cv_func_hypotf_use=yes
46745 else
46746   glibcxx_cv_func_hypotf_use=no
46747 fi
46748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46749       ac_ext=c
46750 ac_cpp='$CPP $CPPFLAGS'
46751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46754
46755
46756 fi
46757
46758   fi
46759   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
46760 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
46761
46762   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
46763     for ac_func in hypotf
46764 do :
46765   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
46766 if test "x$ac_cv_func_hypotf" = x""yes; then :
46767   cat >>confdefs.h <<_ACEOF
46768 #define HAVE_HYPOTF 1
46769 _ACEOF
46770
46771 fi
46772 done
46773
46774   else
46775
46776   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
46777 $as_echo_n "checking for _hypotf declaration... " >&6; }
46778   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
46779     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
46780   $as_echo_n "(cached) " >&6
46781 else
46782
46783
46784       ac_ext=cpp
46785 ac_cpp='$CXXCPP $CPPFLAGS'
46786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46789
46790       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46791 /* end confdefs.h.  */
46792 #include <math.h>
46793 int
46794 main ()
46795 {
46796  _hypotf(0, 0);
46797   ;
46798   return 0;
46799 }
46800 _ACEOF
46801 if ac_fn_cxx_try_compile "$LINENO"; then :
46802   glibcxx_cv_func__hypotf_use=yes
46803 else
46804   glibcxx_cv_func__hypotf_use=no
46805 fi
46806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46807       ac_ext=c
46808 ac_cpp='$CPP $CPPFLAGS'
46809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46812
46813
46814 fi
46815
46816   fi
46817   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
46818 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
46819
46820     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
46821       for ac_func in _hypotf
46822 do :
46823   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
46824 if test "x$ac_cv_func__hypotf" = x""yes; then :
46825   cat >>confdefs.h <<_ACEOF
46826 #define HAVE__HYPOTF 1
46827 _ACEOF
46828
46829 fi
46830 done
46831
46832     fi
46833   fi
46834
46835
46836
46837
46838
46839   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
46840 $as_echo_n "checking for ldexpf declaration... " >&6; }
46841   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
46842     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
46843   $as_echo_n "(cached) " >&6
46844 else
46845
46846
46847       ac_ext=cpp
46848 ac_cpp='$CXXCPP $CPPFLAGS'
46849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46852
46853       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46854 /* end confdefs.h.  */
46855 #include <math.h>
46856 int
46857 main ()
46858 {
46859  ldexpf(0, 0);
46860   ;
46861   return 0;
46862 }
46863 _ACEOF
46864 if ac_fn_cxx_try_compile "$LINENO"; then :
46865   glibcxx_cv_func_ldexpf_use=yes
46866 else
46867   glibcxx_cv_func_ldexpf_use=no
46868 fi
46869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46870       ac_ext=c
46871 ac_cpp='$CPP $CPPFLAGS'
46872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46875
46876
46877 fi
46878
46879   fi
46880   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
46881 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
46882
46883   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
46884     for ac_func in ldexpf
46885 do :
46886   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
46887 if test "x$ac_cv_func_ldexpf" = x""yes; then :
46888   cat >>confdefs.h <<_ACEOF
46889 #define HAVE_LDEXPF 1
46890 _ACEOF
46891
46892 fi
46893 done
46894
46895   else
46896
46897   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
46898 $as_echo_n "checking for _ldexpf declaration... " >&6; }
46899   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
46900     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
46901   $as_echo_n "(cached) " >&6
46902 else
46903
46904
46905       ac_ext=cpp
46906 ac_cpp='$CXXCPP $CPPFLAGS'
46907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46910
46911       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46912 /* end confdefs.h.  */
46913 #include <math.h>
46914 int
46915 main ()
46916 {
46917  _ldexpf(0, 0);
46918   ;
46919   return 0;
46920 }
46921 _ACEOF
46922 if ac_fn_cxx_try_compile "$LINENO"; then :
46923   glibcxx_cv_func__ldexpf_use=yes
46924 else
46925   glibcxx_cv_func__ldexpf_use=no
46926 fi
46927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46928       ac_ext=c
46929 ac_cpp='$CPP $CPPFLAGS'
46930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46933
46934
46935 fi
46936
46937   fi
46938   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
46939 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
46940
46941     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
46942       for ac_func in _ldexpf
46943 do :
46944   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
46945 if test "x$ac_cv_func__ldexpf" = x""yes; then :
46946   cat >>confdefs.h <<_ACEOF
46947 #define HAVE__LDEXPF 1
46948 _ACEOF
46949
46950 fi
46951 done
46952
46953     fi
46954   fi
46955
46956
46957
46958
46959
46960   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
46961 $as_echo_n "checking for logf declaration... " >&6; }
46962   if test x${glibcxx_cv_func_logf_use+set} != xset; then
46963     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
46964   $as_echo_n "(cached) " >&6
46965 else
46966
46967
46968       ac_ext=cpp
46969 ac_cpp='$CXXCPP $CPPFLAGS'
46970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46973
46974       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46975 /* end confdefs.h.  */
46976 #include <math.h>
46977                       #ifdef HAVE_IEEEFP_H
46978                       #include <ieeefp.h>
46979                       #endif
46980
46981 int
46982 main ()
46983 {
46984  logf(0);
46985   ;
46986   return 0;
46987 }
46988 _ACEOF
46989 if ac_fn_cxx_try_compile "$LINENO"; then :
46990   glibcxx_cv_func_logf_use=yes
46991 else
46992   glibcxx_cv_func_logf_use=no
46993 fi
46994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46995       ac_ext=c
46996 ac_cpp='$CPP $CPPFLAGS'
46997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47000
47001
47002 fi
47003
47004   fi
47005   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
47006 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
47007
47008   if test x$glibcxx_cv_func_logf_use = x"yes"; then
47009     for ac_func in logf
47010 do :
47011   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
47012 if test "x$ac_cv_func_logf" = x""yes; then :
47013   cat >>confdefs.h <<_ACEOF
47014 #define HAVE_LOGF 1
47015 _ACEOF
47016
47017 fi
47018 done
47019
47020   else
47021
47022   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
47023 $as_echo_n "checking for _logf declaration... " >&6; }
47024   if test x${glibcxx_cv_func__logf_use+set} != xset; then
47025     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
47026   $as_echo_n "(cached) " >&6
47027 else
47028
47029
47030       ac_ext=cpp
47031 ac_cpp='$CXXCPP $CPPFLAGS'
47032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47035
47036       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47037 /* end confdefs.h.  */
47038 #include <math.h>
47039                       #ifdef HAVE_IEEEFP_H
47040                       #include <ieeefp.h>
47041                       #endif
47042
47043 int
47044 main ()
47045 {
47046  _logf(0);
47047   ;
47048   return 0;
47049 }
47050 _ACEOF
47051 if ac_fn_cxx_try_compile "$LINENO"; then :
47052   glibcxx_cv_func__logf_use=yes
47053 else
47054   glibcxx_cv_func__logf_use=no
47055 fi
47056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47057       ac_ext=c
47058 ac_cpp='$CPP $CPPFLAGS'
47059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47062
47063
47064 fi
47065
47066   fi
47067   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
47068 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
47069
47070     if test x$glibcxx_cv_func__logf_use = x"yes"; then
47071       for ac_func in _logf
47072 do :
47073   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
47074 if test "x$ac_cv_func__logf" = x""yes; then :
47075   cat >>confdefs.h <<_ACEOF
47076 #define HAVE__LOGF 1
47077 _ACEOF
47078
47079 fi
47080 done
47081
47082     fi
47083   fi
47084
47085
47086
47087
47088
47089   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
47090 $as_echo_n "checking for log10f declaration... " >&6; }
47091   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
47092     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
47093   $as_echo_n "(cached) " >&6
47094 else
47095
47096
47097       ac_ext=cpp
47098 ac_cpp='$CXXCPP $CPPFLAGS'
47099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47102
47103       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47104 /* end confdefs.h.  */
47105 #include <math.h>
47106                       #ifdef HAVE_IEEEFP_H
47107                       #include <ieeefp.h>
47108                       #endif
47109
47110 int
47111 main ()
47112 {
47113  log10f(0);
47114   ;
47115   return 0;
47116 }
47117 _ACEOF
47118 if ac_fn_cxx_try_compile "$LINENO"; then :
47119   glibcxx_cv_func_log10f_use=yes
47120 else
47121   glibcxx_cv_func_log10f_use=no
47122 fi
47123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47124       ac_ext=c
47125 ac_cpp='$CPP $CPPFLAGS'
47126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47129
47130
47131 fi
47132
47133   fi
47134   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
47135 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
47136
47137   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
47138     for ac_func in log10f
47139 do :
47140   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
47141 if test "x$ac_cv_func_log10f" = x""yes; then :
47142   cat >>confdefs.h <<_ACEOF
47143 #define HAVE_LOG10F 1
47144 _ACEOF
47145
47146 fi
47147 done
47148
47149   else
47150
47151   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
47152 $as_echo_n "checking for _log10f declaration... " >&6; }
47153   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
47154     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
47155   $as_echo_n "(cached) " >&6
47156 else
47157
47158
47159       ac_ext=cpp
47160 ac_cpp='$CXXCPP $CPPFLAGS'
47161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47164
47165       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47166 /* end confdefs.h.  */
47167 #include <math.h>
47168                       #ifdef HAVE_IEEEFP_H
47169                       #include <ieeefp.h>
47170                       #endif
47171
47172 int
47173 main ()
47174 {
47175  _log10f(0);
47176   ;
47177   return 0;
47178 }
47179 _ACEOF
47180 if ac_fn_cxx_try_compile "$LINENO"; then :
47181   glibcxx_cv_func__log10f_use=yes
47182 else
47183   glibcxx_cv_func__log10f_use=no
47184 fi
47185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47186       ac_ext=c
47187 ac_cpp='$CPP $CPPFLAGS'
47188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47191
47192
47193 fi
47194
47195   fi
47196   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
47197 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
47198
47199     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
47200       for ac_func in _log10f
47201 do :
47202   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
47203 if test "x$ac_cv_func__log10f" = x""yes; then :
47204   cat >>confdefs.h <<_ACEOF
47205 #define HAVE__LOG10F 1
47206 _ACEOF
47207
47208 fi
47209 done
47210
47211     fi
47212   fi
47213
47214
47215
47216
47217
47218   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
47219 $as_echo_n "checking for modff declaration... " >&6; }
47220   if test x${glibcxx_cv_func_modff_use+set} != xset; then
47221     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
47222   $as_echo_n "(cached) " >&6
47223 else
47224
47225
47226       ac_ext=cpp
47227 ac_cpp='$CXXCPP $CPPFLAGS'
47228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47231
47232       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47233 /* end confdefs.h.  */
47234 #include <math.h>
47235 int
47236 main ()
47237 {
47238  modff(0, 0);
47239   ;
47240   return 0;
47241 }
47242 _ACEOF
47243 if ac_fn_cxx_try_compile "$LINENO"; then :
47244   glibcxx_cv_func_modff_use=yes
47245 else
47246   glibcxx_cv_func_modff_use=no
47247 fi
47248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47249       ac_ext=c
47250 ac_cpp='$CPP $CPPFLAGS'
47251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47254
47255
47256 fi
47257
47258   fi
47259   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
47260 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
47261
47262   if test x$glibcxx_cv_func_modff_use = x"yes"; then
47263     for ac_func in modff
47264 do :
47265   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
47266 if test "x$ac_cv_func_modff" = x""yes; then :
47267   cat >>confdefs.h <<_ACEOF
47268 #define HAVE_MODFF 1
47269 _ACEOF
47270
47271 fi
47272 done
47273
47274   else
47275
47276   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
47277 $as_echo_n "checking for _modff declaration... " >&6; }
47278   if test x${glibcxx_cv_func__modff_use+set} != xset; then
47279     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
47280   $as_echo_n "(cached) " >&6
47281 else
47282
47283
47284       ac_ext=cpp
47285 ac_cpp='$CXXCPP $CPPFLAGS'
47286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47289
47290       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47291 /* end confdefs.h.  */
47292 #include <math.h>
47293 int
47294 main ()
47295 {
47296  _modff(0, 0);
47297   ;
47298   return 0;
47299 }
47300 _ACEOF
47301 if ac_fn_cxx_try_compile "$LINENO"; then :
47302   glibcxx_cv_func__modff_use=yes
47303 else
47304   glibcxx_cv_func__modff_use=no
47305 fi
47306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47307       ac_ext=c
47308 ac_cpp='$CPP $CPPFLAGS'
47309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47312
47313
47314 fi
47315
47316   fi
47317   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
47318 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
47319
47320     if test x$glibcxx_cv_func__modff_use = x"yes"; then
47321       for ac_func in _modff
47322 do :
47323   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
47324 if test "x$ac_cv_func__modff" = x""yes; then :
47325   cat >>confdefs.h <<_ACEOF
47326 #define HAVE__MODFF 1
47327 _ACEOF
47328
47329 fi
47330 done
47331
47332     fi
47333   fi
47334
47335
47336
47337
47338
47339   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
47340 $as_echo_n "checking for modf declaration... " >&6; }
47341   if test x${glibcxx_cv_func_modf_use+set} != xset; then
47342     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
47343   $as_echo_n "(cached) " >&6
47344 else
47345
47346
47347       ac_ext=cpp
47348 ac_cpp='$CXXCPP $CPPFLAGS'
47349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47352
47353       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47354 /* end confdefs.h.  */
47355 #include <math.h>
47356 int
47357 main ()
47358 {
47359  modf(0, 0);
47360   ;
47361   return 0;
47362 }
47363 _ACEOF
47364 if ac_fn_cxx_try_compile "$LINENO"; then :
47365   glibcxx_cv_func_modf_use=yes
47366 else
47367   glibcxx_cv_func_modf_use=no
47368 fi
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   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
47381 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
47382
47383   if test x$glibcxx_cv_func_modf_use = x"yes"; then
47384     for ac_func in modf
47385 do :
47386   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
47387 if test "x$ac_cv_func_modf" = x""yes; then :
47388   cat >>confdefs.h <<_ACEOF
47389 #define HAVE_MODF 1
47390 _ACEOF
47391
47392 fi
47393 done
47394
47395   else
47396
47397   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
47398 $as_echo_n "checking for _modf declaration... " >&6; }
47399   if test x${glibcxx_cv_func__modf_use+set} != xset; then
47400     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
47401   $as_echo_n "(cached) " >&6
47402 else
47403
47404
47405       ac_ext=cpp
47406 ac_cpp='$CXXCPP $CPPFLAGS'
47407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47410
47411       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47412 /* end confdefs.h.  */
47413 #include <math.h>
47414 int
47415 main ()
47416 {
47417  _modf(0, 0);
47418   ;
47419   return 0;
47420 }
47421 _ACEOF
47422 if ac_fn_cxx_try_compile "$LINENO"; then :
47423   glibcxx_cv_func__modf_use=yes
47424 else
47425   glibcxx_cv_func__modf_use=no
47426 fi
47427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47428       ac_ext=c
47429 ac_cpp='$CPP $CPPFLAGS'
47430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47433
47434
47435 fi
47436
47437   fi
47438   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
47439 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
47440
47441     if test x$glibcxx_cv_func__modf_use = x"yes"; then
47442       for ac_func in _modf
47443 do :
47444   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
47445 if test "x$ac_cv_func__modf" = x""yes; then :
47446   cat >>confdefs.h <<_ACEOF
47447 #define HAVE__MODF 1
47448 _ACEOF
47449
47450 fi
47451 done
47452
47453     fi
47454   fi
47455
47456
47457
47458
47459
47460   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
47461 $as_echo_n "checking for powf declaration... " >&6; }
47462   if test x${glibcxx_cv_func_powf_use+set} != xset; then
47463     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
47464   $as_echo_n "(cached) " >&6
47465 else
47466
47467
47468       ac_ext=cpp
47469 ac_cpp='$CXXCPP $CPPFLAGS'
47470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47473
47474       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47475 /* end confdefs.h.  */
47476 #include <math.h>
47477 int
47478 main ()
47479 {
47480  powf(0, 0);
47481   ;
47482   return 0;
47483 }
47484 _ACEOF
47485 if ac_fn_cxx_try_compile "$LINENO"; then :
47486   glibcxx_cv_func_powf_use=yes
47487 else
47488   glibcxx_cv_func_powf_use=no
47489 fi
47490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47491       ac_ext=c
47492 ac_cpp='$CPP $CPPFLAGS'
47493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47496
47497
47498 fi
47499
47500   fi
47501   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
47502 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
47503
47504   if test x$glibcxx_cv_func_powf_use = x"yes"; then
47505     for ac_func in powf
47506 do :
47507   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
47508 if test "x$ac_cv_func_powf" = x""yes; then :
47509   cat >>confdefs.h <<_ACEOF
47510 #define HAVE_POWF 1
47511 _ACEOF
47512
47513 fi
47514 done
47515
47516   else
47517
47518   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
47519 $as_echo_n "checking for _powf declaration... " >&6; }
47520   if test x${glibcxx_cv_func__powf_use+set} != xset; then
47521     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
47522   $as_echo_n "(cached) " >&6
47523 else
47524
47525
47526       ac_ext=cpp
47527 ac_cpp='$CXXCPP $CPPFLAGS'
47528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47531
47532       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47533 /* end confdefs.h.  */
47534 #include <math.h>
47535 int
47536 main ()
47537 {
47538  _powf(0, 0);
47539   ;
47540   return 0;
47541 }
47542 _ACEOF
47543 if ac_fn_cxx_try_compile "$LINENO"; then :
47544   glibcxx_cv_func__powf_use=yes
47545 else
47546   glibcxx_cv_func__powf_use=no
47547 fi
47548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47549       ac_ext=c
47550 ac_cpp='$CPP $CPPFLAGS'
47551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47554
47555
47556 fi
47557
47558   fi
47559   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
47560 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
47561
47562     if test x$glibcxx_cv_func__powf_use = x"yes"; then
47563       for ac_func in _powf
47564 do :
47565   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
47566 if test "x$ac_cv_func__powf" = x""yes; then :
47567   cat >>confdefs.h <<_ACEOF
47568 #define HAVE__POWF 1
47569 _ACEOF
47570
47571 fi
47572 done
47573
47574     fi
47575   fi
47576
47577
47578
47579
47580
47581   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
47582 $as_echo_n "checking for sqrtf declaration... " >&6; }
47583   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
47584     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
47585   $as_echo_n "(cached) " >&6
47586 else
47587
47588
47589       ac_ext=cpp
47590 ac_cpp='$CXXCPP $CPPFLAGS'
47591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47594
47595       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47596 /* end confdefs.h.  */
47597 #include <math.h>
47598                       #ifdef HAVE_IEEEFP_H
47599                       #include <ieeefp.h>
47600                       #endif
47601
47602 int
47603 main ()
47604 {
47605  sqrtf(0);
47606   ;
47607   return 0;
47608 }
47609 _ACEOF
47610 if ac_fn_cxx_try_compile "$LINENO"; then :
47611   glibcxx_cv_func_sqrtf_use=yes
47612 else
47613   glibcxx_cv_func_sqrtf_use=no
47614 fi
47615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47616       ac_ext=c
47617 ac_cpp='$CPP $CPPFLAGS'
47618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47621
47622
47623 fi
47624
47625   fi
47626   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
47627 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
47628
47629   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
47630     for ac_func in sqrtf
47631 do :
47632   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
47633 if test "x$ac_cv_func_sqrtf" = x""yes; then :
47634   cat >>confdefs.h <<_ACEOF
47635 #define HAVE_SQRTF 1
47636 _ACEOF
47637
47638 fi
47639 done
47640
47641   else
47642
47643   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
47644 $as_echo_n "checking for _sqrtf declaration... " >&6; }
47645   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
47646     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
47647   $as_echo_n "(cached) " >&6
47648 else
47649
47650
47651       ac_ext=cpp
47652 ac_cpp='$CXXCPP $CPPFLAGS'
47653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47656
47657       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47658 /* end confdefs.h.  */
47659 #include <math.h>
47660                       #ifdef HAVE_IEEEFP_H
47661                       #include <ieeefp.h>
47662                       #endif
47663
47664 int
47665 main ()
47666 {
47667  _sqrtf(0);
47668   ;
47669   return 0;
47670 }
47671 _ACEOF
47672 if ac_fn_cxx_try_compile "$LINENO"; then :
47673   glibcxx_cv_func__sqrtf_use=yes
47674 else
47675   glibcxx_cv_func__sqrtf_use=no
47676 fi
47677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47678       ac_ext=c
47679 ac_cpp='$CPP $CPPFLAGS'
47680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47683
47684
47685 fi
47686
47687   fi
47688   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
47689 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
47690
47691     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
47692       for ac_func in _sqrtf
47693 do :
47694   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
47695 if test "x$ac_cv_func__sqrtf" = x""yes; then :
47696   cat >>confdefs.h <<_ACEOF
47697 #define HAVE__SQRTF 1
47698 _ACEOF
47699
47700 fi
47701 done
47702
47703     fi
47704   fi
47705
47706
47707
47708
47709
47710   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
47711 $as_echo_n "checking for sincosf declaration... " >&6; }
47712   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
47713     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
47714   $as_echo_n "(cached) " >&6
47715 else
47716
47717
47718       ac_ext=cpp
47719 ac_cpp='$CXXCPP $CPPFLAGS'
47720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47723
47724       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47725 /* end confdefs.h.  */
47726 #include <math.h>
47727 int
47728 main ()
47729 {
47730  sincosf(0, 0, 0);
47731   ;
47732   return 0;
47733 }
47734 _ACEOF
47735 if ac_fn_cxx_try_compile "$LINENO"; then :
47736   glibcxx_cv_func_sincosf_use=yes
47737 else
47738   glibcxx_cv_func_sincosf_use=no
47739 fi
47740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47741       ac_ext=c
47742 ac_cpp='$CPP $CPPFLAGS'
47743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47746
47747
47748 fi
47749
47750   fi
47751   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
47752 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
47753
47754   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
47755     for ac_func in sincosf
47756 do :
47757   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
47758 if test "x$ac_cv_func_sincosf" = x""yes; then :
47759   cat >>confdefs.h <<_ACEOF
47760 #define HAVE_SINCOSF 1
47761 _ACEOF
47762
47763 fi
47764 done
47765
47766   else
47767
47768   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
47769 $as_echo_n "checking for _sincosf declaration... " >&6; }
47770   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
47771     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
47772   $as_echo_n "(cached) " >&6
47773 else
47774
47775
47776       ac_ext=cpp
47777 ac_cpp='$CXXCPP $CPPFLAGS'
47778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47781
47782       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47783 /* end confdefs.h.  */
47784 #include <math.h>
47785 int
47786 main ()
47787 {
47788  _sincosf(0, 0, 0);
47789   ;
47790   return 0;
47791 }
47792 _ACEOF
47793 if ac_fn_cxx_try_compile "$LINENO"; then :
47794   glibcxx_cv_func__sincosf_use=yes
47795 else
47796   glibcxx_cv_func__sincosf_use=no
47797 fi
47798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47799       ac_ext=c
47800 ac_cpp='$CPP $CPPFLAGS'
47801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47804
47805
47806 fi
47807
47808   fi
47809   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
47810 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
47811
47812     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
47813       for ac_func in _sincosf
47814 do :
47815   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
47816 if test "x$ac_cv_func__sincosf" = x""yes; then :
47817   cat >>confdefs.h <<_ACEOF
47818 #define HAVE__SINCOSF 1
47819 _ACEOF
47820
47821 fi
47822 done
47823
47824     fi
47825   fi
47826
47827
47828
47829
47830
47831   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
47832 $as_echo_n "checking for finitef declaration... " >&6; }
47833   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
47834     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
47835   $as_echo_n "(cached) " >&6
47836 else
47837
47838
47839       ac_ext=cpp
47840 ac_cpp='$CXXCPP $CPPFLAGS'
47841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47844
47845       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47846 /* end confdefs.h.  */
47847 #include <math.h>
47848                       #ifdef HAVE_IEEEFP_H
47849                       #include <ieeefp.h>
47850                       #endif
47851
47852 int
47853 main ()
47854 {
47855  finitef(0);
47856   ;
47857   return 0;
47858 }
47859 _ACEOF
47860 if ac_fn_cxx_try_compile "$LINENO"; then :
47861   glibcxx_cv_func_finitef_use=yes
47862 else
47863   glibcxx_cv_func_finitef_use=no
47864 fi
47865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47866       ac_ext=c
47867 ac_cpp='$CPP $CPPFLAGS'
47868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47871
47872
47873 fi
47874
47875   fi
47876   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
47877 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
47878
47879   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
47880     for ac_func in finitef
47881 do :
47882   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
47883 if test "x$ac_cv_func_finitef" = x""yes; then :
47884   cat >>confdefs.h <<_ACEOF
47885 #define HAVE_FINITEF 1
47886 _ACEOF
47887
47888 fi
47889 done
47890
47891   else
47892
47893   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
47894 $as_echo_n "checking for _finitef declaration... " >&6; }
47895   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
47896     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
47897   $as_echo_n "(cached) " >&6
47898 else
47899
47900
47901       ac_ext=cpp
47902 ac_cpp='$CXXCPP $CPPFLAGS'
47903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47906
47907       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47908 /* end confdefs.h.  */
47909 #include <math.h>
47910                       #ifdef HAVE_IEEEFP_H
47911                       #include <ieeefp.h>
47912                       #endif
47913
47914 int
47915 main ()
47916 {
47917  _finitef(0);
47918   ;
47919   return 0;
47920 }
47921 _ACEOF
47922 if ac_fn_cxx_try_compile "$LINENO"; then :
47923   glibcxx_cv_func__finitef_use=yes
47924 else
47925   glibcxx_cv_func__finitef_use=no
47926 fi
47927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47928       ac_ext=c
47929 ac_cpp='$CPP $CPPFLAGS'
47930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47933
47934
47935 fi
47936
47937   fi
47938   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
47939 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
47940
47941     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
47942       for ac_func in _finitef
47943 do :
47944   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
47945 if test "x$ac_cv_func__finitef" = x""yes; then :
47946   cat >>confdefs.h <<_ACEOF
47947 #define HAVE__FINITEF 1
47948 _ACEOF
47949
47950 fi
47951 done
47952
47953     fi
47954   fi
47955
47956
47957
47958
47959
47960     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
47961 $as_echo_n "checking for long double trig functions... " >&6; }
47962   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
47963   $as_echo_n "(cached) " >&6
47964 else
47965
47966
47967     ac_ext=cpp
47968 ac_cpp='$CXXCPP $CPPFLAGS'
47969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47972
47973     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47974 /* end confdefs.h.  */
47975 #include <math.h>
47976 int
47977 main ()
47978 {
47979 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
47980   ;
47981   return 0;
47982 }
47983 _ACEOF
47984 if ac_fn_cxx_try_compile "$LINENO"; then :
47985   glibcxx_cv_func_long_double_trig_use=yes
47986 else
47987   glibcxx_cv_func_long_double_trig_use=no
47988 fi
47989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47990     ac_ext=c
47991 ac_cpp='$CPP $CPPFLAGS'
47992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47995
47996 fi
47997
47998   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
47999 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
48000   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
48001     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
48002 do :
48003   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48004 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48005 eval as_val=\$$as_ac_var
48006    if test "x$as_val" = x""yes; then :
48007   cat >>confdefs.h <<_ACEOF
48008 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48009 _ACEOF
48010
48011 fi
48012 done
48013
48014   else
48015     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
48016 $as_echo_n "checking for _long double trig functions... " >&6; }
48017     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
48018   $as_echo_n "(cached) " >&6
48019 else
48020
48021
48022       ac_ext=cpp
48023 ac_cpp='$CXXCPP $CPPFLAGS'
48024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48027
48028       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48029 /* end confdefs.h.  */
48030 #include <math.h>
48031 int
48032 main ()
48033 {
48034 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
48035   ;
48036   return 0;
48037 }
48038 _ACEOF
48039 if ac_fn_cxx_try_compile "$LINENO"; then :
48040   glibcxx_cv_func__long_double_trig_use=yes
48041 else
48042   glibcxx_cv_func__long_double_trig_use=no
48043 fi
48044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48045       ac_ext=c
48046 ac_cpp='$CPP $CPPFLAGS'
48047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48050
48051 fi
48052
48053     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
48054 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
48055     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
48056       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
48057 do :
48058   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48059 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48060 eval as_val=\$$as_ac_var
48061    if test "x$as_val" = x""yes; then :
48062   cat >>confdefs.h <<_ACEOF
48063 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48064 _ACEOF
48065
48066 fi
48067 done
48068
48069     fi
48070   fi
48071
48072
48073
48074
48075
48076     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
48077 $as_echo_n "checking for long double round functions... " >&6; }
48078   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
48079   $as_echo_n "(cached) " >&6
48080 else
48081
48082
48083     ac_ext=cpp
48084 ac_cpp='$CXXCPP $CPPFLAGS'
48085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48088
48089     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48090 /* end confdefs.h.  */
48091 #include <math.h>
48092 int
48093 main ()
48094 {
48095 ceill (0); floorl (0);
48096   ;
48097   return 0;
48098 }
48099 _ACEOF
48100 if ac_fn_cxx_try_compile "$LINENO"; then :
48101   glibcxx_cv_func_long_double_round_use=yes
48102 else
48103   glibcxx_cv_func_long_double_round_use=no
48104 fi
48105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48106     ac_ext=c
48107 ac_cpp='$CPP $CPPFLAGS'
48108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48111
48112 fi
48113
48114   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
48115 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
48116   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
48117     for ac_func in ceill floorl
48118 do :
48119   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48120 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48121 eval as_val=\$$as_ac_var
48122    if test "x$as_val" = x""yes; then :
48123   cat >>confdefs.h <<_ACEOF
48124 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48125 _ACEOF
48126
48127 fi
48128 done
48129
48130   else
48131     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
48132 $as_echo_n "checking for _long double round functions... " >&6; }
48133     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
48134   $as_echo_n "(cached) " >&6
48135 else
48136
48137
48138       ac_ext=cpp
48139 ac_cpp='$CXXCPP $CPPFLAGS'
48140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48143
48144       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48145 /* end confdefs.h.  */
48146 #include <math.h>
48147 int
48148 main ()
48149 {
48150 _ceill (0); _floorl (0);
48151   ;
48152   return 0;
48153 }
48154 _ACEOF
48155 if ac_fn_cxx_try_compile "$LINENO"; then :
48156   glibcxx_cv_func__long_double_round_use=yes
48157 else
48158   glibcxx_cv_func__long_double_round_use=no
48159 fi
48160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48161       ac_ext=c
48162 ac_cpp='$CPP $CPPFLAGS'
48163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48166
48167 fi
48168
48169     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
48170 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
48171     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
48172       for ac_func in _ceill _floorl
48173 do :
48174   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48175 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48176 eval as_val=\$$as_ac_var
48177    if test "x$as_val" = x""yes; then :
48178   cat >>confdefs.h <<_ACEOF
48179 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48180 _ACEOF
48181
48182 fi
48183 done
48184
48185     fi
48186   fi
48187
48188
48189
48190
48191
48192
48193   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
48194 $as_echo_n "checking for isnanl declaration... " >&6; }
48195   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
48196     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
48197   $as_echo_n "(cached) " >&6
48198 else
48199
48200
48201       ac_ext=cpp
48202 ac_cpp='$CXXCPP $CPPFLAGS'
48203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48206
48207       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48208 /* end confdefs.h.  */
48209 #include <math.h>
48210                       #ifdef HAVE_IEEEFP_H
48211                       #include <ieeefp.h>
48212                       #endif
48213
48214 int
48215 main ()
48216 {
48217  isnanl(0);
48218   ;
48219   return 0;
48220 }
48221 _ACEOF
48222 if ac_fn_cxx_try_compile "$LINENO"; then :
48223   glibcxx_cv_func_isnanl_use=yes
48224 else
48225   glibcxx_cv_func_isnanl_use=no
48226 fi
48227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48228       ac_ext=c
48229 ac_cpp='$CPP $CPPFLAGS'
48230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48233
48234
48235 fi
48236
48237   fi
48238   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
48239 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
48240
48241   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
48242     for ac_func in isnanl
48243 do :
48244   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
48245 if test "x$ac_cv_func_isnanl" = x""yes; then :
48246   cat >>confdefs.h <<_ACEOF
48247 #define HAVE_ISNANL 1
48248 _ACEOF
48249
48250 fi
48251 done
48252
48253   else
48254
48255   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
48256 $as_echo_n "checking for _isnanl declaration... " >&6; }
48257   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
48258     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
48259   $as_echo_n "(cached) " >&6
48260 else
48261
48262
48263       ac_ext=cpp
48264 ac_cpp='$CXXCPP $CPPFLAGS'
48265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48268
48269       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48270 /* end confdefs.h.  */
48271 #include <math.h>
48272                       #ifdef HAVE_IEEEFP_H
48273                       #include <ieeefp.h>
48274                       #endif
48275
48276 int
48277 main ()
48278 {
48279  _isnanl(0);
48280   ;
48281   return 0;
48282 }
48283 _ACEOF
48284 if ac_fn_cxx_try_compile "$LINENO"; then :
48285   glibcxx_cv_func__isnanl_use=yes
48286 else
48287   glibcxx_cv_func__isnanl_use=no
48288 fi
48289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48290       ac_ext=c
48291 ac_cpp='$CPP $CPPFLAGS'
48292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48295
48296
48297 fi
48298
48299   fi
48300   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
48301 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
48302
48303     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
48304       for ac_func in _isnanl
48305 do :
48306   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
48307 if test "x$ac_cv_func__isnanl" = x""yes; then :
48308   cat >>confdefs.h <<_ACEOF
48309 #define HAVE__ISNANL 1
48310 _ACEOF
48311
48312 fi
48313 done
48314
48315     fi
48316   fi
48317
48318
48319
48320
48321
48322   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
48323 $as_echo_n "checking for isinfl declaration... " >&6; }
48324   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
48325     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
48326   $as_echo_n "(cached) " >&6
48327 else
48328
48329
48330       ac_ext=cpp
48331 ac_cpp='$CXXCPP $CPPFLAGS'
48332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48335
48336       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48337 /* end confdefs.h.  */
48338 #include <math.h>
48339                       #ifdef HAVE_IEEEFP_H
48340                       #include <ieeefp.h>
48341                       #endif
48342
48343 int
48344 main ()
48345 {
48346  isinfl(0);
48347   ;
48348   return 0;
48349 }
48350 _ACEOF
48351 if ac_fn_cxx_try_compile "$LINENO"; then :
48352   glibcxx_cv_func_isinfl_use=yes
48353 else
48354   glibcxx_cv_func_isinfl_use=no
48355 fi
48356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48357       ac_ext=c
48358 ac_cpp='$CPP $CPPFLAGS'
48359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48362
48363
48364 fi
48365
48366   fi
48367   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
48368 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
48369
48370   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
48371     for ac_func in isinfl
48372 do :
48373   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
48374 if test "x$ac_cv_func_isinfl" = x""yes; then :
48375   cat >>confdefs.h <<_ACEOF
48376 #define HAVE_ISINFL 1
48377 _ACEOF
48378
48379 fi
48380 done
48381
48382   else
48383
48384   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
48385 $as_echo_n "checking for _isinfl declaration... " >&6; }
48386   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
48387     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
48388   $as_echo_n "(cached) " >&6
48389 else
48390
48391
48392       ac_ext=cpp
48393 ac_cpp='$CXXCPP $CPPFLAGS'
48394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48397
48398       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48399 /* end confdefs.h.  */
48400 #include <math.h>
48401                       #ifdef HAVE_IEEEFP_H
48402                       #include <ieeefp.h>
48403                       #endif
48404
48405 int
48406 main ()
48407 {
48408  _isinfl(0);
48409   ;
48410   return 0;
48411 }
48412 _ACEOF
48413 if ac_fn_cxx_try_compile "$LINENO"; then :
48414   glibcxx_cv_func__isinfl_use=yes
48415 else
48416   glibcxx_cv_func__isinfl_use=no
48417 fi
48418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48419       ac_ext=c
48420 ac_cpp='$CPP $CPPFLAGS'
48421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48424
48425
48426 fi
48427
48428   fi
48429   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
48430 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
48431
48432     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
48433       for ac_func in _isinfl
48434 do :
48435   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
48436 if test "x$ac_cv_func__isinfl" = x""yes; then :
48437   cat >>confdefs.h <<_ACEOF
48438 #define HAVE__ISINFL 1
48439 _ACEOF
48440
48441 fi
48442 done
48443
48444     fi
48445   fi
48446
48447
48448
48449
48450
48451   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
48452 $as_echo_n "checking for atan2l declaration... " >&6; }
48453   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
48454     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
48455   $as_echo_n "(cached) " >&6
48456 else
48457
48458
48459       ac_ext=cpp
48460 ac_cpp='$CXXCPP $CPPFLAGS'
48461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48464
48465       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48466 /* end confdefs.h.  */
48467 #include <math.h>
48468 int
48469 main ()
48470 {
48471  atan2l(0, 0);
48472   ;
48473   return 0;
48474 }
48475 _ACEOF
48476 if ac_fn_cxx_try_compile "$LINENO"; then :
48477   glibcxx_cv_func_atan2l_use=yes
48478 else
48479   glibcxx_cv_func_atan2l_use=no
48480 fi
48481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48482       ac_ext=c
48483 ac_cpp='$CPP $CPPFLAGS'
48484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48487
48488
48489 fi
48490
48491   fi
48492   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
48493 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
48494
48495   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
48496     for ac_func in atan2l
48497 do :
48498   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
48499 if test "x$ac_cv_func_atan2l" = x""yes; then :
48500   cat >>confdefs.h <<_ACEOF
48501 #define HAVE_ATAN2L 1
48502 _ACEOF
48503
48504 fi
48505 done
48506
48507   else
48508
48509   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
48510 $as_echo_n "checking for _atan2l declaration... " >&6; }
48511   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
48512     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
48513   $as_echo_n "(cached) " >&6
48514 else
48515
48516
48517       ac_ext=cpp
48518 ac_cpp='$CXXCPP $CPPFLAGS'
48519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48522
48523       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48524 /* end confdefs.h.  */
48525 #include <math.h>
48526 int
48527 main ()
48528 {
48529  _atan2l(0, 0);
48530   ;
48531   return 0;
48532 }
48533 _ACEOF
48534 if ac_fn_cxx_try_compile "$LINENO"; then :
48535   glibcxx_cv_func__atan2l_use=yes
48536 else
48537   glibcxx_cv_func__atan2l_use=no
48538 fi
48539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48540       ac_ext=c
48541 ac_cpp='$CPP $CPPFLAGS'
48542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48545
48546
48547 fi
48548
48549   fi
48550   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
48551 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
48552
48553     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
48554       for ac_func in _atan2l
48555 do :
48556   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
48557 if test "x$ac_cv_func__atan2l" = x""yes; then :
48558   cat >>confdefs.h <<_ACEOF
48559 #define HAVE__ATAN2L 1
48560 _ACEOF
48561
48562 fi
48563 done
48564
48565     fi
48566   fi
48567
48568
48569
48570
48571
48572   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
48573 $as_echo_n "checking for expl declaration... " >&6; }
48574   if test x${glibcxx_cv_func_expl_use+set} != xset; then
48575     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
48576   $as_echo_n "(cached) " >&6
48577 else
48578
48579
48580       ac_ext=cpp
48581 ac_cpp='$CXXCPP $CPPFLAGS'
48582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48585
48586       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48587 /* end confdefs.h.  */
48588 #include <math.h>
48589                       #ifdef HAVE_IEEEFP_H
48590                       #include <ieeefp.h>
48591                       #endif
48592
48593 int
48594 main ()
48595 {
48596  expl(0);
48597   ;
48598   return 0;
48599 }
48600 _ACEOF
48601 if ac_fn_cxx_try_compile "$LINENO"; then :
48602   glibcxx_cv_func_expl_use=yes
48603 else
48604   glibcxx_cv_func_expl_use=no
48605 fi
48606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48607       ac_ext=c
48608 ac_cpp='$CPP $CPPFLAGS'
48609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48612
48613
48614 fi
48615
48616   fi
48617   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
48618 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
48619
48620   if test x$glibcxx_cv_func_expl_use = x"yes"; then
48621     for ac_func in expl
48622 do :
48623   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
48624 if test "x$ac_cv_func_expl" = x""yes; then :
48625   cat >>confdefs.h <<_ACEOF
48626 #define HAVE_EXPL 1
48627 _ACEOF
48628
48629 fi
48630 done
48631
48632   else
48633
48634   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
48635 $as_echo_n "checking for _expl declaration... " >&6; }
48636   if test x${glibcxx_cv_func__expl_use+set} != xset; then
48637     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
48638   $as_echo_n "(cached) " >&6
48639 else
48640
48641
48642       ac_ext=cpp
48643 ac_cpp='$CXXCPP $CPPFLAGS'
48644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48647
48648       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48649 /* end confdefs.h.  */
48650 #include <math.h>
48651                       #ifdef HAVE_IEEEFP_H
48652                       #include <ieeefp.h>
48653                       #endif
48654
48655 int
48656 main ()
48657 {
48658  _expl(0);
48659   ;
48660   return 0;
48661 }
48662 _ACEOF
48663 if ac_fn_cxx_try_compile "$LINENO"; then :
48664   glibcxx_cv_func__expl_use=yes
48665 else
48666   glibcxx_cv_func__expl_use=no
48667 fi
48668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48669       ac_ext=c
48670 ac_cpp='$CPP $CPPFLAGS'
48671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48674
48675
48676 fi
48677
48678   fi
48679   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
48680 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
48681
48682     if test x$glibcxx_cv_func__expl_use = x"yes"; then
48683       for ac_func in _expl
48684 do :
48685   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
48686 if test "x$ac_cv_func__expl" = x""yes; then :
48687   cat >>confdefs.h <<_ACEOF
48688 #define HAVE__EXPL 1
48689 _ACEOF
48690
48691 fi
48692 done
48693
48694     fi
48695   fi
48696
48697
48698
48699
48700
48701   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
48702 $as_echo_n "checking for fabsl declaration... " >&6; }
48703   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
48704     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
48705   $as_echo_n "(cached) " >&6
48706 else
48707
48708
48709       ac_ext=cpp
48710 ac_cpp='$CXXCPP $CPPFLAGS'
48711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48714
48715       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48716 /* end confdefs.h.  */
48717 #include <math.h>
48718                       #ifdef HAVE_IEEEFP_H
48719                       #include <ieeefp.h>
48720                       #endif
48721
48722 int
48723 main ()
48724 {
48725  fabsl(0);
48726   ;
48727   return 0;
48728 }
48729 _ACEOF
48730 if ac_fn_cxx_try_compile "$LINENO"; then :
48731   glibcxx_cv_func_fabsl_use=yes
48732 else
48733   glibcxx_cv_func_fabsl_use=no
48734 fi
48735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48736       ac_ext=c
48737 ac_cpp='$CPP $CPPFLAGS'
48738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48741
48742
48743 fi
48744
48745   fi
48746   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
48747 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
48748
48749   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
48750     for ac_func in fabsl
48751 do :
48752   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
48753 if test "x$ac_cv_func_fabsl" = x""yes; then :
48754   cat >>confdefs.h <<_ACEOF
48755 #define HAVE_FABSL 1
48756 _ACEOF
48757
48758 fi
48759 done
48760
48761   else
48762
48763   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
48764 $as_echo_n "checking for _fabsl declaration... " >&6; }
48765   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
48766     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
48767   $as_echo_n "(cached) " >&6
48768 else
48769
48770
48771       ac_ext=cpp
48772 ac_cpp='$CXXCPP $CPPFLAGS'
48773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48776
48777       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48778 /* end confdefs.h.  */
48779 #include <math.h>
48780                       #ifdef HAVE_IEEEFP_H
48781                       #include <ieeefp.h>
48782                       #endif
48783
48784 int
48785 main ()
48786 {
48787  _fabsl(0);
48788   ;
48789   return 0;
48790 }
48791 _ACEOF
48792 if ac_fn_cxx_try_compile "$LINENO"; then :
48793   glibcxx_cv_func__fabsl_use=yes
48794 else
48795   glibcxx_cv_func__fabsl_use=no
48796 fi
48797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48798       ac_ext=c
48799 ac_cpp='$CPP $CPPFLAGS'
48800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48803
48804
48805 fi
48806
48807   fi
48808   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
48809 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
48810
48811     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
48812       for ac_func in _fabsl
48813 do :
48814   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
48815 if test "x$ac_cv_func__fabsl" = x""yes; then :
48816   cat >>confdefs.h <<_ACEOF
48817 #define HAVE__FABSL 1
48818 _ACEOF
48819
48820 fi
48821 done
48822
48823     fi
48824   fi
48825
48826
48827
48828
48829
48830   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
48831 $as_echo_n "checking for fmodl declaration... " >&6; }
48832   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
48833     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
48834   $as_echo_n "(cached) " >&6
48835 else
48836
48837
48838       ac_ext=cpp
48839 ac_cpp='$CXXCPP $CPPFLAGS'
48840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48843
48844       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48845 /* end confdefs.h.  */
48846 #include <math.h>
48847 int
48848 main ()
48849 {
48850  fmodl(0, 0);
48851   ;
48852   return 0;
48853 }
48854 _ACEOF
48855 if ac_fn_cxx_try_compile "$LINENO"; then :
48856   glibcxx_cv_func_fmodl_use=yes
48857 else
48858   glibcxx_cv_func_fmodl_use=no
48859 fi
48860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48861       ac_ext=c
48862 ac_cpp='$CPP $CPPFLAGS'
48863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48866
48867
48868 fi
48869
48870   fi
48871   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
48872 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
48873
48874   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
48875     for ac_func in fmodl
48876 do :
48877   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
48878 if test "x$ac_cv_func_fmodl" = x""yes; then :
48879   cat >>confdefs.h <<_ACEOF
48880 #define HAVE_FMODL 1
48881 _ACEOF
48882
48883 fi
48884 done
48885
48886   else
48887
48888   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
48889 $as_echo_n "checking for _fmodl declaration... " >&6; }
48890   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
48891     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
48892   $as_echo_n "(cached) " >&6
48893 else
48894
48895
48896       ac_ext=cpp
48897 ac_cpp='$CXXCPP $CPPFLAGS'
48898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48901
48902       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48903 /* end confdefs.h.  */
48904 #include <math.h>
48905 int
48906 main ()
48907 {
48908  _fmodl(0, 0);
48909   ;
48910   return 0;
48911 }
48912 _ACEOF
48913 if ac_fn_cxx_try_compile "$LINENO"; then :
48914   glibcxx_cv_func__fmodl_use=yes
48915 else
48916   glibcxx_cv_func__fmodl_use=no
48917 fi
48918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48919       ac_ext=c
48920 ac_cpp='$CPP $CPPFLAGS'
48921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48924
48925
48926 fi
48927
48928   fi
48929   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
48930 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
48931
48932     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
48933       for ac_func in _fmodl
48934 do :
48935   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
48936 if test "x$ac_cv_func__fmodl" = x""yes; then :
48937   cat >>confdefs.h <<_ACEOF
48938 #define HAVE__FMODL 1
48939 _ACEOF
48940
48941 fi
48942 done
48943
48944     fi
48945   fi
48946
48947
48948
48949
48950
48951   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
48952 $as_echo_n "checking for frexpl declaration... " >&6; }
48953   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
48954     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
48955   $as_echo_n "(cached) " >&6
48956 else
48957
48958
48959       ac_ext=cpp
48960 ac_cpp='$CXXCPP $CPPFLAGS'
48961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48964
48965       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48966 /* end confdefs.h.  */
48967 #include <math.h>
48968 int
48969 main ()
48970 {
48971  frexpl(0, 0);
48972   ;
48973   return 0;
48974 }
48975 _ACEOF
48976 if ac_fn_cxx_try_compile "$LINENO"; then :
48977   glibcxx_cv_func_frexpl_use=yes
48978 else
48979   glibcxx_cv_func_frexpl_use=no
48980 fi
48981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48982       ac_ext=c
48983 ac_cpp='$CPP $CPPFLAGS'
48984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48987
48988
48989 fi
48990
48991   fi
48992   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
48993 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
48994
48995   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
48996     for ac_func in frexpl
48997 do :
48998   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
48999 if test "x$ac_cv_func_frexpl" = x""yes; then :
49000   cat >>confdefs.h <<_ACEOF
49001 #define HAVE_FREXPL 1
49002 _ACEOF
49003
49004 fi
49005 done
49006
49007   else
49008
49009   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
49010 $as_echo_n "checking for _frexpl declaration... " >&6; }
49011   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
49012     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
49013   $as_echo_n "(cached) " >&6
49014 else
49015
49016
49017       ac_ext=cpp
49018 ac_cpp='$CXXCPP $CPPFLAGS'
49019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49022
49023       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49024 /* end confdefs.h.  */
49025 #include <math.h>
49026 int
49027 main ()
49028 {
49029  _frexpl(0, 0);
49030   ;
49031   return 0;
49032 }
49033 _ACEOF
49034 if ac_fn_cxx_try_compile "$LINENO"; then :
49035   glibcxx_cv_func__frexpl_use=yes
49036 else
49037   glibcxx_cv_func__frexpl_use=no
49038 fi
49039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49040       ac_ext=c
49041 ac_cpp='$CPP $CPPFLAGS'
49042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49045
49046
49047 fi
49048
49049   fi
49050   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
49051 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
49052
49053     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
49054       for ac_func in _frexpl
49055 do :
49056   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
49057 if test "x$ac_cv_func__frexpl" = x""yes; then :
49058   cat >>confdefs.h <<_ACEOF
49059 #define HAVE__FREXPL 1
49060 _ACEOF
49061
49062 fi
49063 done
49064
49065     fi
49066   fi
49067
49068
49069
49070
49071
49072   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
49073 $as_echo_n "checking for hypotl declaration... " >&6; }
49074   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
49075     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
49076   $as_echo_n "(cached) " >&6
49077 else
49078
49079
49080       ac_ext=cpp
49081 ac_cpp='$CXXCPP $CPPFLAGS'
49082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49085
49086       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49087 /* end confdefs.h.  */
49088 #include <math.h>
49089 int
49090 main ()
49091 {
49092  hypotl(0, 0);
49093   ;
49094   return 0;
49095 }
49096 _ACEOF
49097 if ac_fn_cxx_try_compile "$LINENO"; then :
49098   glibcxx_cv_func_hypotl_use=yes
49099 else
49100   glibcxx_cv_func_hypotl_use=no
49101 fi
49102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49103       ac_ext=c
49104 ac_cpp='$CPP $CPPFLAGS'
49105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49108
49109
49110 fi
49111
49112   fi
49113   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
49114 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
49115
49116   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
49117     for ac_func in hypotl
49118 do :
49119   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
49120 if test "x$ac_cv_func_hypotl" = x""yes; then :
49121   cat >>confdefs.h <<_ACEOF
49122 #define HAVE_HYPOTL 1
49123 _ACEOF
49124
49125 fi
49126 done
49127
49128   else
49129
49130   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
49131 $as_echo_n "checking for _hypotl declaration... " >&6; }
49132   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
49133     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
49134   $as_echo_n "(cached) " >&6
49135 else
49136
49137
49138       ac_ext=cpp
49139 ac_cpp='$CXXCPP $CPPFLAGS'
49140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49143
49144       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49145 /* end confdefs.h.  */
49146 #include <math.h>
49147 int
49148 main ()
49149 {
49150  _hypotl(0, 0);
49151   ;
49152   return 0;
49153 }
49154 _ACEOF
49155 if ac_fn_cxx_try_compile "$LINENO"; then :
49156   glibcxx_cv_func__hypotl_use=yes
49157 else
49158   glibcxx_cv_func__hypotl_use=no
49159 fi
49160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49161       ac_ext=c
49162 ac_cpp='$CPP $CPPFLAGS'
49163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49166
49167
49168 fi
49169
49170   fi
49171   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
49172 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
49173
49174     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
49175       for ac_func in _hypotl
49176 do :
49177   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
49178 if test "x$ac_cv_func__hypotl" = x""yes; then :
49179   cat >>confdefs.h <<_ACEOF
49180 #define HAVE__HYPOTL 1
49181 _ACEOF
49182
49183 fi
49184 done
49185
49186     fi
49187   fi
49188
49189
49190
49191
49192
49193   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
49194 $as_echo_n "checking for ldexpl declaration... " >&6; }
49195   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
49196     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
49197   $as_echo_n "(cached) " >&6
49198 else
49199
49200
49201       ac_ext=cpp
49202 ac_cpp='$CXXCPP $CPPFLAGS'
49203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49206
49207       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49208 /* end confdefs.h.  */
49209 #include <math.h>
49210 int
49211 main ()
49212 {
49213  ldexpl(0, 0);
49214   ;
49215   return 0;
49216 }
49217 _ACEOF
49218 if ac_fn_cxx_try_compile "$LINENO"; then :
49219   glibcxx_cv_func_ldexpl_use=yes
49220 else
49221   glibcxx_cv_func_ldexpl_use=no
49222 fi
49223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49224       ac_ext=c
49225 ac_cpp='$CPP $CPPFLAGS'
49226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49229
49230
49231 fi
49232
49233   fi
49234   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
49235 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
49236
49237   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
49238     for ac_func in ldexpl
49239 do :
49240   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
49241 if test "x$ac_cv_func_ldexpl" = x""yes; then :
49242   cat >>confdefs.h <<_ACEOF
49243 #define HAVE_LDEXPL 1
49244 _ACEOF
49245
49246 fi
49247 done
49248
49249   else
49250
49251   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
49252 $as_echo_n "checking for _ldexpl declaration... " >&6; }
49253   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
49254     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
49255   $as_echo_n "(cached) " >&6
49256 else
49257
49258
49259       ac_ext=cpp
49260 ac_cpp='$CXXCPP $CPPFLAGS'
49261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49264
49265       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49266 /* end confdefs.h.  */
49267 #include <math.h>
49268 int
49269 main ()
49270 {
49271  _ldexpl(0, 0);
49272   ;
49273   return 0;
49274 }
49275 _ACEOF
49276 if ac_fn_cxx_try_compile "$LINENO"; then :
49277   glibcxx_cv_func__ldexpl_use=yes
49278 else
49279   glibcxx_cv_func__ldexpl_use=no
49280 fi
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   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
49293 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
49294
49295     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
49296       for ac_func in _ldexpl
49297 do :
49298   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
49299 if test "x$ac_cv_func__ldexpl" = x""yes; then :
49300   cat >>confdefs.h <<_ACEOF
49301 #define HAVE__LDEXPL 1
49302 _ACEOF
49303
49304 fi
49305 done
49306
49307     fi
49308   fi
49309
49310
49311
49312
49313
49314   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
49315 $as_echo_n "checking for logl declaration... " >&6; }
49316   if test x${glibcxx_cv_func_logl_use+set} != xset; then
49317     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
49318   $as_echo_n "(cached) " >&6
49319 else
49320
49321
49322       ac_ext=cpp
49323 ac_cpp='$CXXCPP $CPPFLAGS'
49324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49327
49328       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49329 /* end confdefs.h.  */
49330 #include <math.h>
49331                       #ifdef HAVE_IEEEFP_H
49332                       #include <ieeefp.h>
49333                       #endif
49334
49335 int
49336 main ()
49337 {
49338  logl(0);
49339   ;
49340   return 0;
49341 }
49342 _ACEOF
49343 if ac_fn_cxx_try_compile "$LINENO"; then :
49344   glibcxx_cv_func_logl_use=yes
49345 else
49346   glibcxx_cv_func_logl_use=no
49347 fi
49348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49349       ac_ext=c
49350 ac_cpp='$CPP $CPPFLAGS'
49351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49354
49355
49356 fi
49357
49358   fi
49359   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
49360 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
49361
49362   if test x$glibcxx_cv_func_logl_use = x"yes"; then
49363     for ac_func in logl
49364 do :
49365   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
49366 if test "x$ac_cv_func_logl" = x""yes; then :
49367   cat >>confdefs.h <<_ACEOF
49368 #define HAVE_LOGL 1
49369 _ACEOF
49370
49371 fi
49372 done
49373
49374   else
49375
49376   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
49377 $as_echo_n "checking for _logl declaration... " >&6; }
49378   if test x${glibcxx_cv_func__logl_use+set} != xset; then
49379     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
49380   $as_echo_n "(cached) " >&6
49381 else
49382
49383
49384       ac_ext=cpp
49385 ac_cpp='$CXXCPP $CPPFLAGS'
49386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49389
49390       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49391 /* end confdefs.h.  */
49392 #include <math.h>
49393                       #ifdef HAVE_IEEEFP_H
49394                       #include <ieeefp.h>
49395                       #endif
49396
49397 int
49398 main ()
49399 {
49400  _logl(0);
49401   ;
49402   return 0;
49403 }
49404 _ACEOF
49405 if ac_fn_cxx_try_compile "$LINENO"; then :
49406   glibcxx_cv_func__logl_use=yes
49407 else
49408   glibcxx_cv_func__logl_use=no
49409 fi
49410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49411       ac_ext=c
49412 ac_cpp='$CPP $CPPFLAGS'
49413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49416
49417
49418 fi
49419
49420   fi
49421   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
49422 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
49423
49424     if test x$glibcxx_cv_func__logl_use = x"yes"; then
49425       for ac_func in _logl
49426 do :
49427   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
49428 if test "x$ac_cv_func__logl" = x""yes; then :
49429   cat >>confdefs.h <<_ACEOF
49430 #define HAVE__LOGL 1
49431 _ACEOF
49432
49433 fi
49434 done
49435
49436     fi
49437   fi
49438
49439
49440
49441
49442
49443   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
49444 $as_echo_n "checking for log10l declaration... " >&6; }
49445   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
49446     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
49447   $as_echo_n "(cached) " >&6
49448 else
49449
49450
49451       ac_ext=cpp
49452 ac_cpp='$CXXCPP $CPPFLAGS'
49453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49456
49457       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49458 /* end confdefs.h.  */
49459 #include <math.h>
49460                       #ifdef HAVE_IEEEFP_H
49461                       #include <ieeefp.h>
49462                       #endif
49463
49464 int
49465 main ()
49466 {
49467  log10l(0);
49468   ;
49469   return 0;
49470 }
49471 _ACEOF
49472 if ac_fn_cxx_try_compile "$LINENO"; then :
49473   glibcxx_cv_func_log10l_use=yes
49474 else
49475   glibcxx_cv_func_log10l_use=no
49476 fi
49477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49478       ac_ext=c
49479 ac_cpp='$CPP $CPPFLAGS'
49480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49483
49484
49485 fi
49486
49487   fi
49488   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
49489 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
49490
49491   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
49492     for ac_func in log10l
49493 do :
49494   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
49495 if test "x$ac_cv_func_log10l" = x""yes; then :
49496   cat >>confdefs.h <<_ACEOF
49497 #define HAVE_LOG10L 1
49498 _ACEOF
49499
49500 fi
49501 done
49502
49503   else
49504
49505   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
49506 $as_echo_n "checking for _log10l declaration... " >&6; }
49507   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
49508     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
49509   $as_echo_n "(cached) " >&6
49510 else
49511
49512
49513       ac_ext=cpp
49514 ac_cpp='$CXXCPP $CPPFLAGS'
49515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49518
49519       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49520 /* end confdefs.h.  */
49521 #include <math.h>
49522                       #ifdef HAVE_IEEEFP_H
49523                       #include <ieeefp.h>
49524                       #endif
49525
49526 int
49527 main ()
49528 {
49529  _log10l(0);
49530   ;
49531   return 0;
49532 }
49533 _ACEOF
49534 if ac_fn_cxx_try_compile "$LINENO"; then :
49535   glibcxx_cv_func__log10l_use=yes
49536 else
49537   glibcxx_cv_func__log10l_use=no
49538 fi
49539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49540       ac_ext=c
49541 ac_cpp='$CPP $CPPFLAGS'
49542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49545
49546
49547 fi
49548
49549   fi
49550   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
49551 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
49552
49553     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
49554       for ac_func in _log10l
49555 do :
49556   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
49557 if test "x$ac_cv_func__log10l" = x""yes; then :
49558   cat >>confdefs.h <<_ACEOF
49559 #define HAVE__LOG10L 1
49560 _ACEOF
49561
49562 fi
49563 done
49564
49565     fi
49566   fi
49567
49568
49569
49570
49571
49572   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
49573 $as_echo_n "checking for modfl declaration... " >&6; }
49574   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
49575     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
49576   $as_echo_n "(cached) " >&6
49577 else
49578
49579
49580       ac_ext=cpp
49581 ac_cpp='$CXXCPP $CPPFLAGS'
49582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49585
49586       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49587 /* end confdefs.h.  */
49588 #include <math.h>
49589 int
49590 main ()
49591 {
49592  modfl(0, 0);
49593   ;
49594   return 0;
49595 }
49596 _ACEOF
49597 if ac_fn_cxx_try_compile "$LINENO"; then :
49598   glibcxx_cv_func_modfl_use=yes
49599 else
49600   glibcxx_cv_func_modfl_use=no
49601 fi
49602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49603       ac_ext=c
49604 ac_cpp='$CPP $CPPFLAGS'
49605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49608
49609
49610 fi
49611
49612   fi
49613   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
49614 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
49615
49616   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
49617     for ac_func in modfl
49618 do :
49619   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
49620 if test "x$ac_cv_func_modfl" = x""yes; then :
49621   cat >>confdefs.h <<_ACEOF
49622 #define HAVE_MODFL 1
49623 _ACEOF
49624
49625 fi
49626 done
49627
49628   else
49629
49630   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
49631 $as_echo_n "checking for _modfl declaration... " >&6; }
49632   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
49633     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
49634   $as_echo_n "(cached) " >&6
49635 else
49636
49637
49638       ac_ext=cpp
49639 ac_cpp='$CXXCPP $CPPFLAGS'
49640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49643
49644       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49645 /* end confdefs.h.  */
49646 #include <math.h>
49647 int
49648 main ()
49649 {
49650  _modfl(0, 0);
49651   ;
49652   return 0;
49653 }
49654 _ACEOF
49655 if ac_fn_cxx_try_compile "$LINENO"; then :
49656   glibcxx_cv_func__modfl_use=yes
49657 else
49658   glibcxx_cv_func__modfl_use=no
49659 fi
49660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49661       ac_ext=c
49662 ac_cpp='$CPP $CPPFLAGS'
49663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49666
49667
49668 fi
49669
49670   fi
49671   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
49672 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
49673
49674     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
49675       for ac_func in _modfl
49676 do :
49677   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
49678 if test "x$ac_cv_func__modfl" = x""yes; then :
49679   cat >>confdefs.h <<_ACEOF
49680 #define HAVE__MODFL 1
49681 _ACEOF
49682
49683 fi
49684 done
49685
49686     fi
49687   fi
49688
49689
49690
49691
49692
49693   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
49694 $as_echo_n "checking for powl declaration... " >&6; }
49695   if test x${glibcxx_cv_func_powl_use+set} != xset; then
49696     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
49697   $as_echo_n "(cached) " >&6
49698 else
49699
49700
49701       ac_ext=cpp
49702 ac_cpp='$CXXCPP $CPPFLAGS'
49703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49706
49707       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49708 /* end confdefs.h.  */
49709 #include <math.h>
49710 int
49711 main ()
49712 {
49713  powl(0, 0);
49714   ;
49715   return 0;
49716 }
49717 _ACEOF
49718 if ac_fn_cxx_try_compile "$LINENO"; then :
49719   glibcxx_cv_func_powl_use=yes
49720 else
49721   glibcxx_cv_func_powl_use=no
49722 fi
49723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49724       ac_ext=c
49725 ac_cpp='$CPP $CPPFLAGS'
49726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49729
49730
49731 fi
49732
49733   fi
49734   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
49735 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
49736
49737   if test x$glibcxx_cv_func_powl_use = x"yes"; then
49738     for ac_func in powl
49739 do :
49740   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
49741 if test "x$ac_cv_func_powl" = x""yes; then :
49742   cat >>confdefs.h <<_ACEOF
49743 #define HAVE_POWL 1
49744 _ACEOF
49745
49746 fi
49747 done
49748
49749   else
49750
49751   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
49752 $as_echo_n "checking for _powl declaration... " >&6; }
49753   if test x${glibcxx_cv_func__powl_use+set} != xset; then
49754     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
49755   $as_echo_n "(cached) " >&6
49756 else
49757
49758
49759       ac_ext=cpp
49760 ac_cpp='$CXXCPP $CPPFLAGS'
49761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49764
49765       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49766 /* end confdefs.h.  */
49767 #include <math.h>
49768 int
49769 main ()
49770 {
49771  _powl(0, 0);
49772   ;
49773   return 0;
49774 }
49775 _ACEOF
49776 if ac_fn_cxx_try_compile "$LINENO"; then :
49777   glibcxx_cv_func__powl_use=yes
49778 else
49779   glibcxx_cv_func__powl_use=no
49780 fi
49781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49782       ac_ext=c
49783 ac_cpp='$CPP $CPPFLAGS'
49784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49787
49788
49789 fi
49790
49791   fi
49792   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
49793 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
49794
49795     if test x$glibcxx_cv_func__powl_use = x"yes"; then
49796       for ac_func in _powl
49797 do :
49798   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
49799 if test "x$ac_cv_func__powl" = x""yes; then :
49800   cat >>confdefs.h <<_ACEOF
49801 #define HAVE__POWL 1
49802 _ACEOF
49803
49804 fi
49805 done
49806
49807     fi
49808   fi
49809
49810
49811
49812
49813
49814   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
49815 $as_echo_n "checking for sqrtl declaration... " >&6; }
49816   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
49817     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
49818   $as_echo_n "(cached) " >&6
49819 else
49820
49821
49822       ac_ext=cpp
49823 ac_cpp='$CXXCPP $CPPFLAGS'
49824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49827
49828       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49829 /* end confdefs.h.  */
49830 #include <math.h>
49831                       #ifdef HAVE_IEEEFP_H
49832                       #include <ieeefp.h>
49833                       #endif
49834
49835 int
49836 main ()
49837 {
49838  sqrtl(0);
49839   ;
49840   return 0;
49841 }
49842 _ACEOF
49843 if ac_fn_cxx_try_compile "$LINENO"; then :
49844   glibcxx_cv_func_sqrtl_use=yes
49845 else
49846   glibcxx_cv_func_sqrtl_use=no
49847 fi
49848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49849       ac_ext=c
49850 ac_cpp='$CPP $CPPFLAGS'
49851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49854
49855
49856 fi
49857
49858   fi
49859   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
49860 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
49861
49862   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
49863     for ac_func in sqrtl
49864 do :
49865   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
49866 if test "x$ac_cv_func_sqrtl" = x""yes; then :
49867   cat >>confdefs.h <<_ACEOF
49868 #define HAVE_SQRTL 1
49869 _ACEOF
49870
49871 fi
49872 done
49873
49874   else
49875
49876   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
49877 $as_echo_n "checking for _sqrtl declaration... " >&6; }
49878   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
49879     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
49880   $as_echo_n "(cached) " >&6
49881 else
49882
49883
49884       ac_ext=cpp
49885 ac_cpp='$CXXCPP $CPPFLAGS'
49886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49889
49890       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49891 /* end confdefs.h.  */
49892 #include <math.h>
49893                       #ifdef HAVE_IEEEFP_H
49894                       #include <ieeefp.h>
49895                       #endif
49896
49897 int
49898 main ()
49899 {
49900  _sqrtl(0);
49901   ;
49902   return 0;
49903 }
49904 _ACEOF
49905 if ac_fn_cxx_try_compile "$LINENO"; then :
49906   glibcxx_cv_func__sqrtl_use=yes
49907 else
49908   glibcxx_cv_func__sqrtl_use=no
49909 fi
49910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49911       ac_ext=c
49912 ac_cpp='$CPP $CPPFLAGS'
49913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49916
49917
49918 fi
49919
49920   fi
49921   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
49922 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
49923
49924     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
49925       for ac_func in _sqrtl
49926 do :
49927   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
49928 if test "x$ac_cv_func__sqrtl" = x""yes; then :
49929   cat >>confdefs.h <<_ACEOF
49930 #define HAVE__SQRTL 1
49931 _ACEOF
49932
49933 fi
49934 done
49935
49936     fi
49937   fi
49938
49939
49940
49941
49942
49943   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
49944 $as_echo_n "checking for sincosl declaration... " >&6; }
49945   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
49946     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
49947   $as_echo_n "(cached) " >&6
49948 else
49949
49950
49951       ac_ext=cpp
49952 ac_cpp='$CXXCPP $CPPFLAGS'
49953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49956
49957       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49958 /* end confdefs.h.  */
49959 #include <math.h>
49960 int
49961 main ()
49962 {
49963  sincosl(0, 0, 0);
49964   ;
49965   return 0;
49966 }
49967 _ACEOF
49968 if ac_fn_cxx_try_compile "$LINENO"; then :
49969   glibcxx_cv_func_sincosl_use=yes
49970 else
49971   glibcxx_cv_func_sincosl_use=no
49972 fi
49973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49974       ac_ext=c
49975 ac_cpp='$CPP $CPPFLAGS'
49976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49979
49980
49981 fi
49982
49983   fi
49984   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
49985 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
49986
49987   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
49988     for ac_func in sincosl
49989 do :
49990   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
49991 if test "x$ac_cv_func_sincosl" = x""yes; then :
49992   cat >>confdefs.h <<_ACEOF
49993 #define HAVE_SINCOSL 1
49994 _ACEOF
49995
49996 fi
49997 done
49998
49999   else
50000
50001   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
50002 $as_echo_n "checking for _sincosl declaration... " >&6; }
50003   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
50004     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
50005   $as_echo_n "(cached) " >&6
50006 else
50007
50008
50009       ac_ext=cpp
50010 ac_cpp='$CXXCPP $CPPFLAGS'
50011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50014
50015       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50016 /* end confdefs.h.  */
50017 #include <math.h>
50018 int
50019 main ()
50020 {
50021  _sincosl(0, 0, 0);
50022   ;
50023   return 0;
50024 }
50025 _ACEOF
50026 if ac_fn_cxx_try_compile "$LINENO"; then :
50027   glibcxx_cv_func__sincosl_use=yes
50028 else
50029   glibcxx_cv_func__sincosl_use=no
50030 fi
50031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50032       ac_ext=c
50033 ac_cpp='$CPP $CPPFLAGS'
50034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50037
50038
50039 fi
50040
50041   fi
50042   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
50043 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
50044
50045     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
50046       for ac_func in _sincosl
50047 do :
50048   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
50049 if test "x$ac_cv_func__sincosl" = x""yes; then :
50050   cat >>confdefs.h <<_ACEOF
50051 #define HAVE__SINCOSL 1
50052 _ACEOF
50053
50054 fi
50055 done
50056
50057     fi
50058   fi
50059
50060
50061
50062
50063
50064   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
50065 $as_echo_n "checking for finitel declaration... " >&6; }
50066   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
50067     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
50068   $as_echo_n "(cached) " >&6
50069 else
50070
50071
50072       ac_ext=cpp
50073 ac_cpp='$CXXCPP $CPPFLAGS'
50074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50077
50078       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50079 /* end confdefs.h.  */
50080 #include <math.h>
50081                       #ifdef HAVE_IEEEFP_H
50082                       #include <ieeefp.h>
50083                       #endif
50084
50085 int
50086 main ()
50087 {
50088  finitel(0);
50089   ;
50090   return 0;
50091 }
50092 _ACEOF
50093 if ac_fn_cxx_try_compile "$LINENO"; then :
50094   glibcxx_cv_func_finitel_use=yes
50095 else
50096   glibcxx_cv_func_finitel_use=no
50097 fi
50098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50099       ac_ext=c
50100 ac_cpp='$CPP $CPPFLAGS'
50101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50104
50105
50106 fi
50107
50108   fi
50109   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
50110 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
50111
50112   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
50113     for ac_func in finitel
50114 do :
50115   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
50116 if test "x$ac_cv_func_finitel" = x""yes; then :
50117   cat >>confdefs.h <<_ACEOF
50118 #define HAVE_FINITEL 1
50119 _ACEOF
50120
50121 fi
50122 done
50123
50124   else
50125
50126   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
50127 $as_echo_n "checking for _finitel declaration... " >&6; }
50128   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
50129     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
50130   $as_echo_n "(cached) " >&6
50131 else
50132
50133
50134       ac_ext=cpp
50135 ac_cpp='$CXXCPP $CPPFLAGS'
50136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50139
50140       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50141 /* end confdefs.h.  */
50142 #include <math.h>
50143                       #ifdef HAVE_IEEEFP_H
50144                       #include <ieeefp.h>
50145                       #endif
50146
50147 int
50148 main ()
50149 {
50150  _finitel(0);
50151   ;
50152   return 0;
50153 }
50154 _ACEOF
50155 if ac_fn_cxx_try_compile "$LINENO"; then :
50156   glibcxx_cv_func__finitel_use=yes
50157 else
50158   glibcxx_cv_func__finitel_use=no
50159 fi
50160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50161       ac_ext=c
50162 ac_cpp='$CPP $CPPFLAGS'
50163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50166
50167
50168 fi
50169
50170   fi
50171   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
50172 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
50173
50174     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
50175       for ac_func in _finitel
50176 do :
50177   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
50178 if test "x$ac_cv_func__finitel" = x""yes; then :
50179   cat >>confdefs.h <<_ACEOF
50180 #define HAVE__FINITEL 1
50181 _ACEOF
50182
50183 fi
50184 done
50185
50186     fi
50187   fi
50188
50189
50190
50191
50192   LIBS="$ac_save_LIBS"
50193   CXXFLAGS="$ac_save_CXXFLAGS"
50194
50195
50196   ac_test_CXXFLAGS="${CXXFLAGS+set}"
50197   ac_save_CXXFLAGS="$CXXFLAGS"
50198   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
50199
50200
50201   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
50202 $as_echo_n "checking for strtold declaration... " >&6; }
50203   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
50204     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
50205   $as_echo_n "(cached) " >&6
50206 else
50207
50208
50209       ac_ext=cpp
50210 ac_cpp='$CXXCPP $CPPFLAGS'
50211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50214
50215       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50216 /* end confdefs.h.  */
50217 #include <stdlib.h>
50218 int
50219 main ()
50220 {
50221  strtold(0, 0);
50222   ;
50223   return 0;
50224 }
50225 _ACEOF
50226 if ac_fn_cxx_try_compile "$LINENO"; then :
50227   glibcxx_cv_func_strtold_use=yes
50228 else
50229   glibcxx_cv_func_strtold_use=no
50230 fi
50231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50232       ac_ext=c
50233 ac_cpp='$CPP $CPPFLAGS'
50234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50237
50238
50239 fi
50240
50241   fi
50242   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
50243 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
50244   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
50245     for ac_func in strtold
50246 do :
50247   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
50248 if test "x$ac_cv_func_strtold" = x""yes; then :
50249   cat >>confdefs.h <<_ACEOF
50250 #define HAVE_STRTOLD 1
50251 _ACEOF
50252
50253 fi
50254 done
50255
50256   fi
50257
50258
50259
50260
50261   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
50262 $as_echo_n "checking for strtof declaration... " >&6; }
50263   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
50264     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
50265   $as_echo_n "(cached) " >&6
50266 else
50267
50268
50269       ac_ext=cpp
50270 ac_cpp='$CXXCPP $CPPFLAGS'
50271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50274
50275       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50276 /* end confdefs.h.  */
50277 #include <stdlib.h>
50278 int
50279 main ()
50280 {
50281  strtof(0, 0);
50282   ;
50283   return 0;
50284 }
50285 _ACEOF
50286 if ac_fn_cxx_try_compile "$LINENO"; then :
50287   glibcxx_cv_func_strtof_use=yes
50288 else
50289   glibcxx_cv_func_strtof_use=no
50290 fi
50291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50292       ac_ext=c
50293 ac_cpp='$CPP $CPPFLAGS'
50294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50297
50298
50299 fi
50300
50301   fi
50302   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
50303 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
50304   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
50305     for ac_func in strtof
50306 do :
50307   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
50308 if test "x$ac_cv_func_strtof" = x""yes; then :
50309   cat >>confdefs.h <<_ACEOF
50310 #define HAVE_STRTOF 1
50311 _ACEOF
50312
50313 fi
50314 done
50315
50316   fi
50317
50318
50319
50320
50321   CXXFLAGS="$ac_save_CXXFLAGS"
50322
50323     $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
50324
50325
50326
50327    # Check whether --enable-tls was given.
50328 if test "${enable_tls+set}" = set; then :
50329   enableval=$enable_tls;
50330       case "$enableval" in
50331        yes|no) ;;
50332        *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
50333       esac
50334
50335 else
50336   enable_tls=yes
50337 fi
50338
50339
50340   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
50341 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
50342 if test "${gcc_cv_have_tls+set}" = set; then :
50343   $as_echo_n "(cached) " >&6
50344 else
50345
50346     if test "$cross_compiling" = yes; then :
50347                 if test x$gcc_no_link = xyes; then
50348   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50349 fi
50350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50351 /* end confdefs.h.  */
50352 __thread int a; int b; int main() { return a = b; }
50353 _ACEOF
50354 if ac_fn_c_try_link "$LINENO"; then :
50355   chktls_save_LDFLAGS="$LDFLAGS"
50356                           case $host in
50357             *-*-linux*)
50358               LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
50359               ;;
50360           esac
50361           chktls_save_CFLAGS="$CFLAGS"
50362           CFLAGS="-fPIC $CFLAGS"
50363                   if test x$gcc_no_link = xyes; then
50364   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50365 fi
50366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50367 /* end confdefs.h.  */
50368 int f() { return 0; }
50369 _ACEOF
50370 if ac_fn_c_try_link "$LINENO"; then :
50371   if test x$gcc_no_link = xyes; then
50372   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50373 fi
50374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50375 /* end confdefs.h.  */
50376 __thread int a; int b; int f() { return a = b; }
50377 _ACEOF
50378 if ac_fn_c_try_link "$LINENO"; then :
50379   gcc_cv_have_tls=yes
50380 else
50381   gcc_cv_have_tls=no
50382 fi
50383 rm -f core conftest.err conftest.$ac_objext \
50384     conftest$ac_exeext conftest.$ac_ext
50385 else
50386   gcc_cv_have_tls=yes
50387 fi
50388 rm -f core conftest.err conftest.$ac_objext \
50389     conftest$ac_exeext conftest.$ac_ext
50390           CFLAGS="$chktls_save_CFLAGS"
50391           LDFLAGS="$chktls_save_LDFLAGS"
50392 else
50393   gcc_cv_have_tls=no
50394 fi
50395 rm -f core conftest.err conftest.$ac_objext \
50396     conftest$ac_exeext conftest.$ac_ext
50397
50398
50399 else
50400   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50401 /* end confdefs.h.  */
50402 __thread int a; int b; int main() { return a = b; }
50403 _ACEOF
50404 if ac_fn_c_try_run "$LINENO"; then :
50405                       chktls_save_LDFLAGS="$LDFLAGS"
50406       LDFLAGS="-static $LDFLAGS"
50407       if test x$gcc_no_link = xyes; then
50408   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50409 fi
50410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50411 /* end confdefs.h.  */
50412 int main() { return 0; }
50413 _ACEOF
50414 if ac_fn_c_try_link "$LINENO"; then :
50415   if test "$cross_compiling" = yes; then :
50416   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
50417 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
50418 as_fn_error "cannot run test program while cross compiling
50419 See \`config.log' for more details." "$LINENO" 5; }
50420 else
50421   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50422 /* end confdefs.h.  */
50423 __thread int a; int b; int main() { return a = b; }
50424 _ACEOF
50425 if ac_fn_c_try_run "$LINENO"; then :
50426   gcc_cv_have_tls=yes
50427 else
50428   gcc_cv_have_tls=no
50429 fi
50430 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
50431   conftest.$ac_objext conftest.beam conftest.$ac_ext
50432 fi
50433
50434 else
50435   gcc_cv_have_tls=yes
50436 fi
50437 rm -f core conftest.err conftest.$ac_objext \
50438     conftest$ac_exeext conftest.$ac_ext
50439       LDFLAGS="$chktls_save_LDFLAGS"
50440       if test $gcc_cv_have_tls = yes; then
50441                                                 chktls_save_CFLAGS="$CFLAGS"
50442         thread_CFLAGS=failed
50443         for flag in '' '-pthread' '-lpthread'; do
50444           CFLAGS="$flag $chktls_save_CFLAGS"
50445           if test x$gcc_no_link = xyes; then
50446   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50447 fi
50448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50449 /* end confdefs.h.  */
50450 #include <pthread.h>
50451                 void *g(void *d) { return NULL; }
50452 int
50453 main ()
50454 {
50455 pthread_t t; pthread_create(&t,NULL,g,NULL);
50456   ;
50457   return 0;
50458 }
50459 _ACEOF
50460 if ac_fn_c_try_link "$LINENO"; then :
50461   thread_CFLAGS="$flag"
50462 fi
50463 rm -f core conftest.err conftest.$ac_objext \
50464     conftest$ac_exeext conftest.$ac_ext
50465           if test "X$thread_CFLAGS" != Xfailed; then
50466             break
50467           fi
50468         done
50469         CFLAGS="$chktls_save_CFLAGS"
50470         if test "X$thread_CFLAGS" != Xfailed; then
50471           CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
50472           if test "$cross_compiling" = yes; then :
50473   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
50474 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
50475 as_fn_error "cannot run test program while cross compiling
50476 See \`config.log' for more details." "$LINENO" 5; }
50477 else
50478   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50479 /* end confdefs.h.  */
50480 #include <pthread.h>
50481                 __thread int a;
50482                 static int *a_in_other_thread;
50483                 static void *
50484                 thread_func (void *arg)
50485                 {
50486                   a_in_other_thread = &a;
50487                   return (void *)0;
50488                 }
50489 int
50490 main ()
50491 {
50492 pthread_t thread;
50493                 void *thread_retval;
50494                 int *a_in_main_thread;
50495                 if (pthread_create (&thread, (pthread_attr_t *)0,
50496                                     thread_func, (void *)0))
50497                   return 0;
50498                 a_in_main_thread = &a;
50499                 if (pthread_join (thread, &thread_retval))
50500                   return 0;
50501                 return (a_in_other_thread == a_in_main_thread);
50502   ;
50503   return 0;
50504 }
50505 _ACEOF
50506 if ac_fn_c_try_run "$LINENO"; then :
50507   gcc_cv_have_tls=yes
50508 else
50509   gcc_cv_have_tls=no
50510 fi
50511 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
50512   conftest.$ac_objext conftest.beam conftest.$ac_ext
50513 fi
50514
50515           CFLAGS="$chktls_save_CFLAGS"
50516         fi
50517       fi
50518 else
50519   gcc_cv_have_tls=no
50520 fi
50521 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
50522   conftest.$ac_objext conftest.beam conftest.$ac_ext
50523 fi
50524
50525 fi
50526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
50527 $as_echo "$gcc_cv_have_tls" >&6; }
50528   if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
50529
50530 $as_echo "#define HAVE_TLS 1" >>confdefs.h
50531
50532   fi
50533
50534
50535
50536
50537
50538           am_save_CPPFLAGS="$CPPFLAGS"
50539
50540   for element in $INCICONV; do
50541     haveit=
50542     for x in $CPPFLAGS; do
50543
50544   acl_save_prefix="$prefix"
50545   prefix="$acl_final_prefix"
50546   acl_save_exec_prefix="$exec_prefix"
50547   exec_prefix="$acl_final_exec_prefix"
50548   eval x=\"$x\"
50549   exec_prefix="$acl_save_exec_prefix"
50550   prefix="$acl_save_prefix"
50551
50552       if test "X$x" = "X$element"; then
50553         haveit=yes
50554         break
50555       fi
50556     done
50557     if test -z "$haveit"; then
50558       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
50559     fi
50560   done
50561
50562
50563   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
50564 $as_echo_n "checking for iconv... " >&6; }
50565 if test "${am_cv_func_iconv+set}" = set; then :
50566   $as_echo_n "(cached) " >&6
50567 else
50568
50569     am_cv_func_iconv="no, consider installing GNU libiconv"
50570     am_cv_lib_iconv=no
50571     if test x$gcc_no_link = xyes; then
50572   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50573 fi
50574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50575 /* end confdefs.h.  */
50576 #include <stdlib.h>
50577 #include <iconv.h>
50578 int
50579 main ()
50580 {
50581 iconv_t cd = iconv_open("","");
50582        iconv(cd,NULL,NULL,NULL,NULL);
50583        iconv_close(cd);
50584   ;
50585   return 0;
50586 }
50587 _ACEOF
50588 if ac_fn_c_try_link "$LINENO"; then :
50589   am_cv_func_iconv=yes
50590 fi
50591 rm -f core conftest.err conftest.$ac_objext \
50592     conftest$ac_exeext conftest.$ac_ext
50593     if test "$am_cv_func_iconv" != yes; then
50594       am_save_LIBS="$LIBS"
50595       LIBS="$LIBS $LIBICONV"
50596       if test x$gcc_no_link = xyes; then
50597   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50598 fi
50599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50600 /* end confdefs.h.  */
50601 #include <stdlib.h>
50602 #include <iconv.h>
50603 int
50604 main ()
50605 {
50606 iconv_t cd = iconv_open("","");
50607          iconv(cd,NULL,NULL,NULL,NULL);
50608          iconv_close(cd);
50609   ;
50610   return 0;
50611 }
50612 _ACEOF
50613 if ac_fn_c_try_link "$LINENO"; then :
50614   am_cv_lib_iconv=yes
50615         am_cv_func_iconv=yes
50616 fi
50617 rm -f core conftest.err conftest.$ac_objext \
50618     conftest$ac_exeext conftest.$ac_ext
50619       LIBS="$am_save_LIBS"
50620     fi
50621
50622 fi
50623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
50624 $as_echo "$am_cv_func_iconv" >&6; }
50625   if test "$am_cv_func_iconv" = yes; then
50626
50627 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
50628
50629   fi
50630   if test "$am_cv_lib_iconv" = yes; then
50631     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
50632 $as_echo_n "checking how to link with libiconv... " >&6; }
50633     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
50634 $as_echo "$LIBICONV" >&6; }
50635   else
50636             CPPFLAGS="$am_save_CPPFLAGS"
50637     LIBICONV=
50638     LTLIBICONV=
50639   fi
50640
50641
50642
50643   if test "$am_cv_func_iconv" = yes; then
50644     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
50645 $as_echo_n "checking for iconv declaration... " >&6; }
50646     if test "${am_cv_proto_iconv+set}" = set; then :
50647   $as_echo_n "(cached) " >&6
50648 else
50649
50650       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50651 /* end confdefs.h.  */
50652
50653 #include <stdlib.h>
50654 #include <iconv.h>
50655 extern
50656 #ifdef __cplusplus
50657 "C"
50658 #endif
50659 #if defined(__STDC__) || defined(__cplusplus)
50660 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
50661 #else
50662 size_t iconv();
50663 #endif
50664
50665 int
50666 main ()
50667 {
50668
50669   ;
50670   return 0;
50671 }
50672 _ACEOF
50673 if ac_fn_c_try_compile "$LINENO"; then :
50674   am_cv_proto_iconv_arg1=""
50675 else
50676   am_cv_proto_iconv_arg1="const"
50677 fi
50678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50679       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);"
50680 fi
50681
50682     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
50683     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
50684          }$am_cv_proto_iconv" >&5
50685 $as_echo "${ac_t:-
50686          }$am_cv_proto_iconv" >&6; }
50687
50688 cat >>confdefs.h <<_ACEOF
50689 #define ICONV_CONST $am_cv_proto_iconv_arg1
50690 _ACEOF
50691
50692   fi
50693
50694     ;;
50695   *-mingw32*)
50696
50697   # If we're not using GNU ld, then there's no point in even trying these
50698   # tests.  Check for that first.  We should have already tested for gld
50699   # by now (in libtool), but require it now just to be safe...
50700   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
50701   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
50702
50703
50704
50705   # The name set by libtool depends on the version of libtool.  Shame on us
50706   # for depending on an impl detail, but c'est la vie.  Older versions used
50707   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
50708   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
50709   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
50710   # set (hence we're using an older libtool), then set it.
50711   if test x${with_gnu_ld+set} != xset; then
50712     if test x${ac_cv_prog_gnu_ld+set} != xset; then
50713       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
50714       with_gnu_ld=no
50715     else
50716       with_gnu_ld=$ac_cv_prog_gnu_ld
50717     fi
50718   fi
50719
50720   # Start by getting the version number.  I think the libtool test already
50721   # does some of this, but throws away the result.
50722   glibcxx_ld_is_gold=no
50723   if test x"$with_gnu_ld" = x"yes"; then
50724     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
50725 $as_echo_n "checking for ld version... " >&6; }
50726
50727     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
50728       glibcxx_ld_is_gold=yes
50729     fi
50730     ldver=`$LD --version 2>/dev/null | head -1 | \
50731            sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
50732
50733     glibcxx_gnu_ld_version=`echo $ldver | \
50734            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
50735     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
50736 $as_echo "$glibcxx_gnu_ld_version" >&6; }
50737   fi
50738
50739   # Set --gc-sections.
50740   glibcxx_have_gc_sections=no
50741   if test "$glibcxx_ld_is_gold" = "yes"; then
50742     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
50743       glibcxx_have_gc_sections=yes
50744     fi
50745   else
50746     glibcxx_gcsections_min_ld=21602
50747     if test x"$with_gnu_ld" = x"yes" &&
50748         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
50749       glibcxx_have_gc_sections=yes
50750     fi
50751   fi
50752   if test "$glibcxx_have_gc_sections" = "yes"; then
50753     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
50754     # NB: This flag only works reliably after 2.16.1. Configure tests
50755     # for this are difficult, so hard wire a value that should work.
50756
50757     ac_test_CFLAGS="${CFLAGS+set}"
50758     ac_save_CFLAGS="$CFLAGS"
50759     CFLAGS='-Wl,--gc-sections'
50760
50761     # Check for -Wl,--gc-sections
50762     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
50763 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
50764     if test x$gcc_no_link = xyes; then
50765   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50766 fi
50767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50768 /* end confdefs.h.  */
50769  int one(void) { return 1; }
50770      int two(void) { return 2; }
50771
50772 int
50773 main ()
50774 {
50775  two();
50776   ;
50777   return 0;
50778 }
50779 _ACEOF
50780 if ac_fn_c_try_link "$LINENO"; then :
50781   ac_gcsections=yes
50782 else
50783   ac_gcsections=no
50784 fi
50785 rm -f core conftest.err conftest.$ac_objext \
50786     conftest$ac_exeext conftest.$ac_ext
50787     if test "$ac_gcsections" = "yes"; then
50788       rm -f conftest.c
50789       touch conftest.c
50790       if $CC -c conftest.c; then
50791         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
50792            grep "Warning: gc-sections option ignored" > /dev/null; then
50793           ac_gcsections=no
50794         fi
50795       fi
50796       rm -f conftest.c conftest.o conftest
50797     fi
50798     if test "$ac_gcsections" = "yes"; then
50799       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
50800     fi
50801     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
50802 $as_echo "$ac_gcsections" >&6; }
50803
50804     if test "$ac_test_CFLAGS" = set; then
50805       CFLAGS="$ac_save_CFLAGS"
50806     else
50807       # this is the suspicious part
50808       CFLAGS=''
50809     fi
50810   fi
50811
50812   # Set -z,relro.
50813   # Note this is only for shared objects.
50814   ac_ld_relro=no
50815   if test x"$with_gnu_ld" = x"yes"; then
50816     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
50817 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
50818     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
50819     if test -n "$cxx_z_relo"; then
50820       OPT_LDFLAGS="-Wl,-z,relro"
50821       ac_ld_relro=yes
50822     fi
50823     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
50824 $as_echo "$ac_ld_relro" >&6; }
50825   fi
50826
50827   # Set linker optimization flags.
50828   if test x"$with_gnu_ld" = x"yes"; then
50829     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
50830   fi
50831
50832
50833
50834
50835
50836   ac_test_CXXFLAGS="${CXXFLAGS+set}"
50837   ac_save_CXXFLAGS="$CXXFLAGS"
50838   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
50839
50840     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
50841 $as_echo_n "checking for sin in -lm... " >&6; }
50842 if test "${ac_cv_lib_m_sin+set}" = set; then :
50843   $as_echo_n "(cached) " >&6
50844 else
50845   ac_check_lib_save_LIBS=$LIBS
50846 LIBS="-lm  $LIBS"
50847 if test x$gcc_no_link = xyes; then
50848   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50849 fi
50850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50851 /* end confdefs.h.  */
50852
50853 /* Override any GCC internal prototype to avoid an error.
50854    Use char because int might match the return type of a GCC
50855    builtin and then its argument prototype would still apply.  */
50856 #ifdef __cplusplus
50857 extern "C"
50858 #endif
50859 char sin ();
50860 int
50861 main ()
50862 {
50863 return sin ();
50864   ;
50865   return 0;
50866 }
50867 _ACEOF
50868 if ac_fn_c_try_link "$LINENO"; then :
50869   ac_cv_lib_m_sin=yes
50870 else
50871   ac_cv_lib_m_sin=no
50872 fi
50873 rm -f core conftest.err conftest.$ac_objext \
50874     conftest$ac_exeext conftest.$ac_ext
50875 LIBS=$ac_check_lib_save_LIBS
50876 fi
50877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
50878 $as_echo "$ac_cv_lib_m_sin" >&6; }
50879 if test "x$ac_cv_lib_m_sin" = x""yes; then :
50880   libm="-lm"
50881 fi
50882
50883   ac_save_LIBS="$LIBS"
50884   LIBS="$LIBS $libm"
50885
50886
50887
50888   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
50889 $as_echo_n "checking for isinf declaration... " >&6; }
50890   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
50891     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
50892   $as_echo_n "(cached) " >&6
50893 else
50894
50895
50896       ac_ext=cpp
50897 ac_cpp='$CXXCPP $CPPFLAGS'
50898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50901
50902       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50903 /* end confdefs.h.  */
50904 #include <math.h>
50905                       #ifdef HAVE_IEEEFP_H
50906                       #include <ieeefp.h>
50907                       #endif
50908
50909 int
50910 main ()
50911 {
50912  isinf(0);
50913   ;
50914   return 0;
50915 }
50916 _ACEOF
50917 if ac_fn_cxx_try_compile "$LINENO"; then :
50918   glibcxx_cv_func_isinf_use=yes
50919 else
50920   glibcxx_cv_func_isinf_use=no
50921 fi
50922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50923       ac_ext=c
50924 ac_cpp='$CPP $CPPFLAGS'
50925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50928
50929
50930 fi
50931
50932   fi
50933   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
50934 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
50935
50936   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
50937     for ac_func in isinf
50938 do :
50939   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
50940 if test "x$ac_cv_func_isinf" = x""yes; then :
50941   cat >>confdefs.h <<_ACEOF
50942 #define HAVE_ISINF 1
50943 _ACEOF
50944
50945 fi
50946 done
50947
50948   else
50949
50950   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
50951 $as_echo_n "checking for _isinf declaration... " >&6; }
50952   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
50953     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
50954   $as_echo_n "(cached) " >&6
50955 else
50956
50957
50958       ac_ext=cpp
50959 ac_cpp='$CXXCPP $CPPFLAGS'
50960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50963
50964       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50965 /* end confdefs.h.  */
50966 #include <math.h>
50967                       #ifdef HAVE_IEEEFP_H
50968                       #include <ieeefp.h>
50969                       #endif
50970
50971 int
50972 main ()
50973 {
50974  _isinf(0);
50975   ;
50976   return 0;
50977 }
50978 _ACEOF
50979 if ac_fn_cxx_try_compile "$LINENO"; then :
50980   glibcxx_cv_func__isinf_use=yes
50981 else
50982   glibcxx_cv_func__isinf_use=no
50983 fi
50984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50985       ac_ext=c
50986 ac_cpp='$CPP $CPPFLAGS'
50987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50990
50991
50992 fi
50993
50994   fi
50995   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
50996 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
50997
50998     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
50999       for ac_func in _isinf
51000 do :
51001   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
51002 if test "x$ac_cv_func__isinf" = x""yes; then :
51003   cat >>confdefs.h <<_ACEOF
51004 #define HAVE__ISINF 1
51005 _ACEOF
51006
51007 fi
51008 done
51009
51010     fi
51011   fi
51012
51013
51014
51015
51016
51017   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
51018 $as_echo_n "checking for isnan declaration... " >&6; }
51019   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
51020     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
51021   $as_echo_n "(cached) " >&6
51022 else
51023
51024
51025       ac_ext=cpp
51026 ac_cpp='$CXXCPP $CPPFLAGS'
51027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51030
51031       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51032 /* end confdefs.h.  */
51033 #include <math.h>
51034                       #ifdef HAVE_IEEEFP_H
51035                       #include <ieeefp.h>
51036                       #endif
51037
51038 int
51039 main ()
51040 {
51041  isnan(0);
51042   ;
51043   return 0;
51044 }
51045 _ACEOF
51046 if ac_fn_cxx_try_compile "$LINENO"; then :
51047   glibcxx_cv_func_isnan_use=yes
51048 else
51049   glibcxx_cv_func_isnan_use=no
51050 fi
51051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51052       ac_ext=c
51053 ac_cpp='$CPP $CPPFLAGS'
51054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51057
51058
51059 fi
51060
51061   fi
51062   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
51063 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
51064
51065   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
51066     for ac_func in isnan
51067 do :
51068   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
51069 if test "x$ac_cv_func_isnan" = x""yes; then :
51070   cat >>confdefs.h <<_ACEOF
51071 #define HAVE_ISNAN 1
51072 _ACEOF
51073
51074 fi
51075 done
51076
51077   else
51078
51079   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
51080 $as_echo_n "checking for _isnan declaration... " >&6; }
51081   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
51082     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
51083   $as_echo_n "(cached) " >&6
51084 else
51085
51086
51087       ac_ext=cpp
51088 ac_cpp='$CXXCPP $CPPFLAGS'
51089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51092
51093       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51094 /* end confdefs.h.  */
51095 #include <math.h>
51096                       #ifdef HAVE_IEEEFP_H
51097                       #include <ieeefp.h>
51098                       #endif
51099
51100 int
51101 main ()
51102 {
51103  _isnan(0);
51104   ;
51105   return 0;
51106 }
51107 _ACEOF
51108 if ac_fn_cxx_try_compile "$LINENO"; then :
51109   glibcxx_cv_func__isnan_use=yes
51110 else
51111   glibcxx_cv_func__isnan_use=no
51112 fi
51113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51114       ac_ext=c
51115 ac_cpp='$CPP $CPPFLAGS'
51116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51119
51120
51121 fi
51122
51123   fi
51124   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
51125 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
51126
51127     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
51128       for ac_func in _isnan
51129 do :
51130   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
51131 if test "x$ac_cv_func__isnan" = x""yes; then :
51132   cat >>confdefs.h <<_ACEOF
51133 #define HAVE__ISNAN 1
51134 _ACEOF
51135
51136 fi
51137 done
51138
51139     fi
51140   fi
51141
51142
51143
51144
51145
51146   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
51147 $as_echo_n "checking for finite declaration... " >&6; }
51148   if test x${glibcxx_cv_func_finite_use+set} != xset; then
51149     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
51150   $as_echo_n "(cached) " >&6
51151 else
51152
51153
51154       ac_ext=cpp
51155 ac_cpp='$CXXCPP $CPPFLAGS'
51156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51159
51160       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51161 /* end confdefs.h.  */
51162 #include <math.h>
51163                       #ifdef HAVE_IEEEFP_H
51164                       #include <ieeefp.h>
51165                       #endif
51166
51167 int
51168 main ()
51169 {
51170  finite(0);
51171   ;
51172   return 0;
51173 }
51174 _ACEOF
51175 if ac_fn_cxx_try_compile "$LINENO"; then :
51176   glibcxx_cv_func_finite_use=yes
51177 else
51178   glibcxx_cv_func_finite_use=no
51179 fi
51180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51181       ac_ext=c
51182 ac_cpp='$CPP $CPPFLAGS'
51183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51186
51187
51188 fi
51189
51190   fi
51191   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
51192 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
51193
51194   if test x$glibcxx_cv_func_finite_use = x"yes"; then
51195     for ac_func in finite
51196 do :
51197   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
51198 if test "x$ac_cv_func_finite" = x""yes; then :
51199   cat >>confdefs.h <<_ACEOF
51200 #define HAVE_FINITE 1
51201 _ACEOF
51202
51203 fi
51204 done
51205
51206   else
51207
51208   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
51209 $as_echo_n "checking for _finite declaration... " >&6; }
51210   if test x${glibcxx_cv_func__finite_use+set} != xset; then
51211     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
51212   $as_echo_n "(cached) " >&6
51213 else
51214
51215
51216       ac_ext=cpp
51217 ac_cpp='$CXXCPP $CPPFLAGS'
51218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51221
51222       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51223 /* end confdefs.h.  */
51224 #include <math.h>
51225                       #ifdef HAVE_IEEEFP_H
51226                       #include <ieeefp.h>
51227                       #endif
51228
51229 int
51230 main ()
51231 {
51232  _finite(0);
51233   ;
51234   return 0;
51235 }
51236 _ACEOF
51237 if ac_fn_cxx_try_compile "$LINENO"; then :
51238   glibcxx_cv_func__finite_use=yes
51239 else
51240   glibcxx_cv_func__finite_use=no
51241 fi
51242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51243       ac_ext=c
51244 ac_cpp='$CPP $CPPFLAGS'
51245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51248
51249
51250 fi
51251
51252   fi
51253   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
51254 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
51255
51256     if test x$glibcxx_cv_func__finite_use = x"yes"; then
51257       for ac_func in _finite
51258 do :
51259   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
51260 if test "x$ac_cv_func__finite" = x""yes; then :
51261   cat >>confdefs.h <<_ACEOF
51262 #define HAVE__FINITE 1
51263 _ACEOF
51264
51265 fi
51266 done
51267
51268     fi
51269   fi
51270
51271
51272
51273
51274
51275   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
51276 $as_echo_n "checking for sincos declaration... " >&6; }
51277   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
51278     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
51279   $as_echo_n "(cached) " >&6
51280 else
51281
51282
51283       ac_ext=cpp
51284 ac_cpp='$CXXCPP $CPPFLAGS'
51285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51288
51289       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51290 /* end confdefs.h.  */
51291 #include <math.h>
51292 int
51293 main ()
51294 {
51295  sincos(0, 0, 0);
51296   ;
51297   return 0;
51298 }
51299 _ACEOF
51300 if ac_fn_cxx_try_compile "$LINENO"; then :
51301   glibcxx_cv_func_sincos_use=yes
51302 else
51303   glibcxx_cv_func_sincos_use=no
51304 fi
51305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51306       ac_ext=c
51307 ac_cpp='$CPP $CPPFLAGS'
51308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51311
51312
51313 fi
51314
51315   fi
51316   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
51317 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
51318
51319   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
51320     for ac_func in sincos
51321 do :
51322   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
51323 if test "x$ac_cv_func_sincos" = x""yes; then :
51324   cat >>confdefs.h <<_ACEOF
51325 #define HAVE_SINCOS 1
51326 _ACEOF
51327
51328 fi
51329 done
51330
51331   else
51332
51333   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
51334 $as_echo_n "checking for _sincos declaration... " >&6; }
51335   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
51336     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
51337   $as_echo_n "(cached) " >&6
51338 else
51339
51340
51341       ac_ext=cpp
51342 ac_cpp='$CXXCPP $CPPFLAGS'
51343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51346
51347       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51348 /* end confdefs.h.  */
51349 #include <math.h>
51350 int
51351 main ()
51352 {
51353  _sincos(0, 0, 0);
51354   ;
51355   return 0;
51356 }
51357 _ACEOF
51358 if ac_fn_cxx_try_compile "$LINENO"; then :
51359   glibcxx_cv_func__sincos_use=yes
51360 else
51361   glibcxx_cv_func__sincos_use=no
51362 fi
51363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51364       ac_ext=c
51365 ac_cpp='$CPP $CPPFLAGS'
51366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51369
51370
51371 fi
51372
51373   fi
51374   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
51375 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
51376
51377     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
51378       for ac_func in _sincos
51379 do :
51380   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
51381 if test "x$ac_cv_func__sincos" = x""yes; then :
51382   cat >>confdefs.h <<_ACEOF
51383 #define HAVE__SINCOS 1
51384 _ACEOF
51385
51386 fi
51387 done
51388
51389     fi
51390   fi
51391
51392
51393
51394
51395
51396   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
51397 $as_echo_n "checking for fpclass declaration... " >&6; }
51398   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
51399     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
51400   $as_echo_n "(cached) " >&6
51401 else
51402
51403
51404       ac_ext=cpp
51405 ac_cpp='$CXXCPP $CPPFLAGS'
51406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51409
51410       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51411 /* end confdefs.h.  */
51412 #include <math.h>
51413                       #ifdef HAVE_IEEEFP_H
51414                       #include <ieeefp.h>
51415                       #endif
51416
51417 int
51418 main ()
51419 {
51420  fpclass(0);
51421   ;
51422   return 0;
51423 }
51424 _ACEOF
51425 if ac_fn_cxx_try_compile "$LINENO"; then :
51426   glibcxx_cv_func_fpclass_use=yes
51427 else
51428   glibcxx_cv_func_fpclass_use=no
51429 fi
51430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51431       ac_ext=c
51432 ac_cpp='$CPP $CPPFLAGS'
51433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51436
51437
51438 fi
51439
51440   fi
51441   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
51442 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
51443
51444   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
51445     for ac_func in fpclass
51446 do :
51447   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
51448 if test "x$ac_cv_func_fpclass" = x""yes; then :
51449   cat >>confdefs.h <<_ACEOF
51450 #define HAVE_FPCLASS 1
51451 _ACEOF
51452
51453 fi
51454 done
51455
51456   else
51457
51458   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
51459 $as_echo_n "checking for _fpclass declaration... " >&6; }
51460   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
51461     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
51462   $as_echo_n "(cached) " >&6
51463 else
51464
51465
51466       ac_ext=cpp
51467 ac_cpp='$CXXCPP $CPPFLAGS'
51468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51471
51472       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51473 /* end confdefs.h.  */
51474 #include <math.h>
51475                       #ifdef HAVE_IEEEFP_H
51476                       #include <ieeefp.h>
51477                       #endif
51478
51479 int
51480 main ()
51481 {
51482  _fpclass(0);
51483   ;
51484   return 0;
51485 }
51486 _ACEOF
51487 if ac_fn_cxx_try_compile "$LINENO"; then :
51488   glibcxx_cv_func__fpclass_use=yes
51489 else
51490   glibcxx_cv_func__fpclass_use=no
51491 fi
51492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51493       ac_ext=c
51494 ac_cpp='$CPP $CPPFLAGS'
51495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51498
51499
51500 fi
51501
51502   fi
51503   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
51504 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
51505
51506     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
51507       for ac_func in _fpclass
51508 do :
51509   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
51510 if test "x$ac_cv_func__fpclass" = x""yes; then :
51511   cat >>confdefs.h <<_ACEOF
51512 #define HAVE__FPCLASS 1
51513 _ACEOF
51514
51515 fi
51516 done
51517
51518     fi
51519   fi
51520
51521
51522
51523
51524
51525   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
51526 $as_echo_n "checking for qfpclass declaration... " >&6; }
51527   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
51528     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
51529   $as_echo_n "(cached) " >&6
51530 else
51531
51532
51533       ac_ext=cpp
51534 ac_cpp='$CXXCPP $CPPFLAGS'
51535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51538
51539       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51540 /* end confdefs.h.  */
51541 #include <math.h>
51542                       #ifdef HAVE_IEEEFP_H
51543                       #include <ieeefp.h>
51544                       #endif
51545
51546 int
51547 main ()
51548 {
51549  qfpclass(0);
51550   ;
51551   return 0;
51552 }
51553 _ACEOF
51554 if ac_fn_cxx_try_compile "$LINENO"; then :
51555   glibcxx_cv_func_qfpclass_use=yes
51556 else
51557   glibcxx_cv_func_qfpclass_use=no
51558 fi
51559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51560       ac_ext=c
51561 ac_cpp='$CPP $CPPFLAGS'
51562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51565
51566
51567 fi
51568
51569   fi
51570   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
51571 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
51572
51573   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
51574     for ac_func in qfpclass
51575 do :
51576   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
51577 if test "x$ac_cv_func_qfpclass" = x""yes; then :
51578   cat >>confdefs.h <<_ACEOF
51579 #define HAVE_QFPCLASS 1
51580 _ACEOF
51581
51582 fi
51583 done
51584
51585   else
51586
51587   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
51588 $as_echo_n "checking for _qfpclass declaration... " >&6; }
51589   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
51590     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
51591   $as_echo_n "(cached) " >&6
51592 else
51593
51594
51595       ac_ext=cpp
51596 ac_cpp='$CXXCPP $CPPFLAGS'
51597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51600
51601       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51602 /* end confdefs.h.  */
51603 #include <math.h>
51604                       #ifdef HAVE_IEEEFP_H
51605                       #include <ieeefp.h>
51606                       #endif
51607
51608 int
51609 main ()
51610 {
51611  _qfpclass(0);
51612   ;
51613   return 0;
51614 }
51615 _ACEOF
51616 if ac_fn_cxx_try_compile "$LINENO"; then :
51617   glibcxx_cv_func__qfpclass_use=yes
51618 else
51619   glibcxx_cv_func__qfpclass_use=no
51620 fi
51621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51622       ac_ext=c
51623 ac_cpp='$CPP $CPPFLAGS'
51624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51627
51628
51629 fi
51630
51631   fi
51632   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
51633 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
51634
51635     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
51636       for ac_func in _qfpclass
51637 do :
51638   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
51639 if test "x$ac_cv_func__qfpclass" = x""yes; then :
51640   cat >>confdefs.h <<_ACEOF
51641 #define HAVE__QFPCLASS 1
51642 _ACEOF
51643
51644 fi
51645 done
51646
51647     fi
51648   fi
51649
51650
51651
51652
51653
51654   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
51655 $as_echo_n "checking for hypot declaration... " >&6; }
51656   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
51657     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
51658   $as_echo_n "(cached) " >&6
51659 else
51660
51661
51662       ac_ext=cpp
51663 ac_cpp='$CXXCPP $CPPFLAGS'
51664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51667
51668       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51669 /* end confdefs.h.  */
51670 #include <math.h>
51671 int
51672 main ()
51673 {
51674  hypot(0, 0);
51675   ;
51676   return 0;
51677 }
51678 _ACEOF
51679 if ac_fn_cxx_try_compile "$LINENO"; then :
51680   glibcxx_cv_func_hypot_use=yes
51681 else
51682   glibcxx_cv_func_hypot_use=no
51683 fi
51684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51685       ac_ext=c
51686 ac_cpp='$CPP $CPPFLAGS'
51687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51690
51691
51692 fi
51693
51694   fi
51695   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
51696 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
51697
51698   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
51699     for ac_func in hypot
51700 do :
51701   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
51702 if test "x$ac_cv_func_hypot" = x""yes; then :
51703   cat >>confdefs.h <<_ACEOF
51704 #define HAVE_HYPOT 1
51705 _ACEOF
51706
51707 fi
51708 done
51709
51710   else
51711
51712   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
51713 $as_echo_n "checking for _hypot declaration... " >&6; }
51714   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
51715     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
51716   $as_echo_n "(cached) " >&6
51717 else
51718
51719
51720       ac_ext=cpp
51721 ac_cpp='$CXXCPP $CPPFLAGS'
51722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51725
51726       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51727 /* end confdefs.h.  */
51728 #include <math.h>
51729 int
51730 main ()
51731 {
51732  _hypot(0, 0);
51733   ;
51734   return 0;
51735 }
51736 _ACEOF
51737 if ac_fn_cxx_try_compile "$LINENO"; then :
51738   glibcxx_cv_func__hypot_use=yes
51739 else
51740   glibcxx_cv_func__hypot_use=no
51741 fi
51742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51743       ac_ext=c
51744 ac_cpp='$CPP $CPPFLAGS'
51745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51748
51749
51750 fi
51751
51752   fi
51753   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
51754 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
51755
51756     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
51757       for ac_func in _hypot
51758 do :
51759   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
51760 if test "x$ac_cv_func__hypot" = x""yes; then :
51761   cat >>confdefs.h <<_ACEOF
51762 #define HAVE__HYPOT 1
51763 _ACEOF
51764
51765 fi
51766 done
51767
51768     fi
51769   fi
51770
51771
51772
51773
51774
51775     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
51776 $as_echo_n "checking for float trig functions... " >&6; }
51777   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
51778   $as_echo_n "(cached) " >&6
51779 else
51780
51781
51782     ac_ext=cpp
51783 ac_cpp='$CXXCPP $CPPFLAGS'
51784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51787
51788     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51789 /* end confdefs.h.  */
51790 #include <math.h>
51791 int
51792 main ()
51793 {
51794 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
51795   ;
51796   return 0;
51797 }
51798 _ACEOF
51799 if ac_fn_cxx_try_compile "$LINENO"; then :
51800   glibcxx_cv_func_float_trig_use=yes
51801 else
51802   glibcxx_cv_func_float_trig_use=no
51803 fi
51804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51805     ac_ext=c
51806 ac_cpp='$CPP $CPPFLAGS'
51807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51810
51811 fi
51812
51813   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
51814 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
51815   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
51816     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
51817 do :
51818   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51819 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51820 eval as_val=\$$as_ac_var
51821    if test "x$as_val" = x""yes; then :
51822   cat >>confdefs.h <<_ACEOF
51823 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51824 _ACEOF
51825
51826 fi
51827 done
51828
51829   else
51830     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
51831 $as_echo_n "checking for _float trig functions... " >&6; }
51832     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
51833   $as_echo_n "(cached) " >&6
51834 else
51835
51836
51837       ac_ext=cpp
51838 ac_cpp='$CXXCPP $CPPFLAGS'
51839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51842
51843       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51844 /* end confdefs.h.  */
51845 #include <math.h>
51846 int
51847 main ()
51848 {
51849 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
51850   ;
51851   return 0;
51852 }
51853 _ACEOF
51854 if ac_fn_cxx_try_compile "$LINENO"; then :
51855   glibcxx_cv_func__float_trig_use=yes
51856 else
51857   glibcxx_cv_func__float_trig_use=no
51858 fi
51859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51860       ac_ext=c
51861 ac_cpp='$CPP $CPPFLAGS'
51862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51865
51866 fi
51867
51868     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
51869 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
51870     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
51871       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
51872 do :
51873   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51874 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51875 eval as_val=\$$as_ac_var
51876    if test "x$as_val" = x""yes; then :
51877   cat >>confdefs.h <<_ACEOF
51878 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51879 _ACEOF
51880
51881 fi
51882 done
51883
51884     fi
51885   fi
51886
51887
51888
51889
51890
51891     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
51892 $as_echo_n "checking for float round functions... " >&6; }
51893   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
51894   $as_echo_n "(cached) " >&6
51895 else
51896
51897
51898     ac_ext=cpp
51899 ac_cpp='$CXXCPP $CPPFLAGS'
51900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51903
51904     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51905 /* end confdefs.h.  */
51906 #include <math.h>
51907 int
51908 main ()
51909 {
51910 ceilf (0); floorf (0);
51911   ;
51912   return 0;
51913 }
51914 _ACEOF
51915 if ac_fn_cxx_try_compile "$LINENO"; then :
51916   glibcxx_cv_func_float_round_use=yes
51917 else
51918   glibcxx_cv_func_float_round_use=no
51919 fi
51920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51921     ac_ext=c
51922 ac_cpp='$CPP $CPPFLAGS'
51923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51926
51927 fi
51928
51929   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
51930 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
51931   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
51932     for ac_func in ceilf floorf
51933 do :
51934   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51935 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51936 eval as_val=\$$as_ac_var
51937    if test "x$as_val" = x""yes; then :
51938   cat >>confdefs.h <<_ACEOF
51939 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51940 _ACEOF
51941
51942 fi
51943 done
51944
51945   else
51946     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
51947 $as_echo_n "checking for _float round functions... " >&6; }
51948     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
51949   $as_echo_n "(cached) " >&6
51950 else
51951
51952
51953       ac_ext=cpp
51954 ac_cpp='$CXXCPP $CPPFLAGS'
51955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51958
51959       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51960 /* end confdefs.h.  */
51961 #include <math.h>
51962 int
51963 main ()
51964 {
51965 _ceilf (0); _floorf (0);
51966   ;
51967   return 0;
51968 }
51969 _ACEOF
51970 if ac_fn_cxx_try_compile "$LINENO"; then :
51971   glibcxx_cv_func__float_round_use=yes
51972 else
51973   glibcxx_cv_func__float_round_use=no
51974 fi
51975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51976       ac_ext=c
51977 ac_cpp='$CPP $CPPFLAGS'
51978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51981
51982 fi
51983
51984     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
51985 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
51986     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
51987       for ac_func in _ceilf _floorf
51988 do :
51989   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51990 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51991 eval as_val=\$$as_ac_var
51992    if test "x$as_val" = x""yes; then :
51993   cat >>confdefs.h <<_ACEOF
51994 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51995 _ACEOF
51996
51997 fi
51998 done
51999
52000     fi
52001   fi
52002
52003
52004
52005
52006
52007
52008   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
52009 $as_echo_n "checking for expf declaration... " >&6; }
52010   if test x${glibcxx_cv_func_expf_use+set} != xset; then
52011     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
52012   $as_echo_n "(cached) " >&6
52013 else
52014
52015
52016       ac_ext=cpp
52017 ac_cpp='$CXXCPP $CPPFLAGS'
52018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52021
52022       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52023 /* end confdefs.h.  */
52024 #include <math.h>
52025                       #ifdef HAVE_IEEEFP_H
52026                       #include <ieeefp.h>
52027                       #endif
52028
52029 int
52030 main ()
52031 {
52032  expf(0);
52033   ;
52034   return 0;
52035 }
52036 _ACEOF
52037 if ac_fn_cxx_try_compile "$LINENO"; then :
52038   glibcxx_cv_func_expf_use=yes
52039 else
52040   glibcxx_cv_func_expf_use=no
52041 fi
52042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52043       ac_ext=c
52044 ac_cpp='$CPP $CPPFLAGS'
52045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52048
52049
52050 fi
52051
52052   fi
52053   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
52054 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
52055
52056   if test x$glibcxx_cv_func_expf_use = x"yes"; then
52057     for ac_func in expf
52058 do :
52059   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
52060 if test "x$ac_cv_func_expf" = x""yes; then :
52061   cat >>confdefs.h <<_ACEOF
52062 #define HAVE_EXPF 1
52063 _ACEOF
52064
52065 fi
52066 done
52067
52068   else
52069
52070   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
52071 $as_echo_n "checking for _expf declaration... " >&6; }
52072   if test x${glibcxx_cv_func__expf_use+set} != xset; then
52073     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
52074   $as_echo_n "(cached) " >&6
52075 else
52076
52077
52078       ac_ext=cpp
52079 ac_cpp='$CXXCPP $CPPFLAGS'
52080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52083
52084       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52085 /* end confdefs.h.  */
52086 #include <math.h>
52087                       #ifdef HAVE_IEEEFP_H
52088                       #include <ieeefp.h>
52089                       #endif
52090
52091 int
52092 main ()
52093 {
52094  _expf(0);
52095   ;
52096   return 0;
52097 }
52098 _ACEOF
52099 if ac_fn_cxx_try_compile "$LINENO"; then :
52100   glibcxx_cv_func__expf_use=yes
52101 else
52102   glibcxx_cv_func__expf_use=no
52103 fi
52104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52105       ac_ext=c
52106 ac_cpp='$CPP $CPPFLAGS'
52107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52110
52111
52112 fi
52113
52114   fi
52115   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
52116 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
52117
52118     if test x$glibcxx_cv_func__expf_use = x"yes"; then
52119       for ac_func in _expf
52120 do :
52121   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
52122 if test "x$ac_cv_func__expf" = x""yes; then :
52123   cat >>confdefs.h <<_ACEOF
52124 #define HAVE__EXPF 1
52125 _ACEOF
52126
52127 fi
52128 done
52129
52130     fi
52131   fi
52132
52133
52134
52135
52136
52137   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
52138 $as_echo_n "checking for isnanf declaration... " >&6; }
52139   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
52140     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
52141   $as_echo_n "(cached) " >&6
52142 else
52143
52144
52145       ac_ext=cpp
52146 ac_cpp='$CXXCPP $CPPFLAGS'
52147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52150
52151       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52152 /* end confdefs.h.  */
52153 #include <math.h>
52154                       #ifdef HAVE_IEEEFP_H
52155                       #include <ieeefp.h>
52156                       #endif
52157
52158 int
52159 main ()
52160 {
52161  isnanf(0);
52162   ;
52163   return 0;
52164 }
52165 _ACEOF
52166 if ac_fn_cxx_try_compile "$LINENO"; then :
52167   glibcxx_cv_func_isnanf_use=yes
52168 else
52169   glibcxx_cv_func_isnanf_use=no
52170 fi
52171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52172       ac_ext=c
52173 ac_cpp='$CPP $CPPFLAGS'
52174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52177
52178
52179 fi
52180
52181   fi
52182   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
52183 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
52184
52185   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
52186     for ac_func in isnanf
52187 do :
52188   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
52189 if test "x$ac_cv_func_isnanf" = x""yes; then :
52190   cat >>confdefs.h <<_ACEOF
52191 #define HAVE_ISNANF 1
52192 _ACEOF
52193
52194 fi
52195 done
52196
52197   else
52198
52199   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
52200 $as_echo_n "checking for _isnanf declaration... " >&6; }
52201   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
52202     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
52203   $as_echo_n "(cached) " >&6
52204 else
52205
52206
52207       ac_ext=cpp
52208 ac_cpp='$CXXCPP $CPPFLAGS'
52209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52212
52213       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52214 /* end confdefs.h.  */
52215 #include <math.h>
52216                       #ifdef HAVE_IEEEFP_H
52217                       #include <ieeefp.h>
52218                       #endif
52219
52220 int
52221 main ()
52222 {
52223  _isnanf(0);
52224   ;
52225   return 0;
52226 }
52227 _ACEOF
52228 if ac_fn_cxx_try_compile "$LINENO"; then :
52229   glibcxx_cv_func__isnanf_use=yes
52230 else
52231   glibcxx_cv_func__isnanf_use=no
52232 fi
52233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52234       ac_ext=c
52235 ac_cpp='$CPP $CPPFLAGS'
52236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52239
52240
52241 fi
52242
52243   fi
52244   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
52245 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
52246
52247     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
52248       for ac_func in _isnanf
52249 do :
52250   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
52251 if test "x$ac_cv_func__isnanf" = x""yes; then :
52252   cat >>confdefs.h <<_ACEOF
52253 #define HAVE__ISNANF 1
52254 _ACEOF
52255
52256 fi
52257 done
52258
52259     fi
52260   fi
52261
52262
52263
52264
52265
52266   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
52267 $as_echo_n "checking for isinff declaration... " >&6; }
52268   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
52269     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
52270   $as_echo_n "(cached) " >&6
52271 else
52272
52273
52274       ac_ext=cpp
52275 ac_cpp='$CXXCPP $CPPFLAGS'
52276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52279
52280       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52281 /* end confdefs.h.  */
52282 #include <math.h>
52283                       #ifdef HAVE_IEEEFP_H
52284                       #include <ieeefp.h>
52285                       #endif
52286
52287 int
52288 main ()
52289 {
52290  isinff(0);
52291   ;
52292   return 0;
52293 }
52294 _ACEOF
52295 if ac_fn_cxx_try_compile "$LINENO"; then :
52296   glibcxx_cv_func_isinff_use=yes
52297 else
52298   glibcxx_cv_func_isinff_use=no
52299 fi
52300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52301       ac_ext=c
52302 ac_cpp='$CPP $CPPFLAGS'
52303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52306
52307
52308 fi
52309
52310   fi
52311   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
52312 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
52313
52314   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
52315     for ac_func in isinff
52316 do :
52317   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
52318 if test "x$ac_cv_func_isinff" = x""yes; then :
52319   cat >>confdefs.h <<_ACEOF
52320 #define HAVE_ISINFF 1
52321 _ACEOF
52322
52323 fi
52324 done
52325
52326   else
52327
52328   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
52329 $as_echo_n "checking for _isinff declaration... " >&6; }
52330   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
52331     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
52332   $as_echo_n "(cached) " >&6
52333 else
52334
52335
52336       ac_ext=cpp
52337 ac_cpp='$CXXCPP $CPPFLAGS'
52338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52341
52342       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52343 /* end confdefs.h.  */
52344 #include <math.h>
52345                       #ifdef HAVE_IEEEFP_H
52346                       #include <ieeefp.h>
52347                       #endif
52348
52349 int
52350 main ()
52351 {
52352  _isinff(0);
52353   ;
52354   return 0;
52355 }
52356 _ACEOF
52357 if ac_fn_cxx_try_compile "$LINENO"; then :
52358   glibcxx_cv_func__isinff_use=yes
52359 else
52360   glibcxx_cv_func__isinff_use=no
52361 fi
52362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52363       ac_ext=c
52364 ac_cpp='$CPP $CPPFLAGS'
52365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52368
52369
52370 fi
52371
52372   fi
52373   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
52374 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
52375
52376     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
52377       for ac_func in _isinff
52378 do :
52379   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
52380 if test "x$ac_cv_func__isinff" = x""yes; then :
52381   cat >>confdefs.h <<_ACEOF
52382 #define HAVE__ISINFF 1
52383 _ACEOF
52384
52385 fi
52386 done
52387
52388     fi
52389   fi
52390
52391
52392
52393
52394
52395   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
52396 $as_echo_n "checking for atan2f declaration... " >&6; }
52397   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
52398     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
52399   $as_echo_n "(cached) " >&6
52400 else
52401
52402
52403       ac_ext=cpp
52404 ac_cpp='$CXXCPP $CPPFLAGS'
52405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52408
52409       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52410 /* end confdefs.h.  */
52411 #include <math.h>
52412 int
52413 main ()
52414 {
52415  atan2f(0, 0);
52416   ;
52417   return 0;
52418 }
52419 _ACEOF
52420 if ac_fn_cxx_try_compile "$LINENO"; then :
52421   glibcxx_cv_func_atan2f_use=yes
52422 else
52423   glibcxx_cv_func_atan2f_use=no
52424 fi
52425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52426       ac_ext=c
52427 ac_cpp='$CPP $CPPFLAGS'
52428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52431
52432
52433 fi
52434
52435   fi
52436   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
52437 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
52438
52439   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
52440     for ac_func in atan2f
52441 do :
52442   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
52443 if test "x$ac_cv_func_atan2f" = x""yes; then :
52444   cat >>confdefs.h <<_ACEOF
52445 #define HAVE_ATAN2F 1
52446 _ACEOF
52447
52448 fi
52449 done
52450
52451   else
52452
52453   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
52454 $as_echo_n "checking for _atan2f declaration... " >&6; }
52455   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
52456     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
52457   $as_echo_n "(cached) " >&6
52458 else
52459
52460
52461       ac_ext=cpp
52462 ac_cpp='$CXXCPP $CPPFLAGS'
52463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52466
52467       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52468 /* end confdefs.h.  */
52469 #include <math.h>
52470 int
52471 main ()
52472 {
52473  _atan2f(0, 0);
52474   ;
52475   return 0;
52476 }
52477 _ACEOF
52478 if ac_fn_cxx_try_compile "$LINENO"; then :
52479   glibcxx_cv_func__atan2f_use=yes
52480 else
52481   glibcxx_cv_func__atan2f_use=no
52482 fi
52483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52484       ac_ext=c
52485 ac_cpp='$CPP $CPPFLAGS'
52486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52489
52490
52491 fi
52492
52493   fi
52494   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
52495 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
52496
52497     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
52498       for ac_func in _atan2f
52499 do :
52500   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
52501 if test "x$ac_cv_func__atan2f" = x""yes; then :
52502   cat >>confdefs.h <<_ACEOF
52503 #define HAVE__ATAN2F 1
52504 _ACEOF
52505
52506 fi
52507 done
52508
52509     fi
52510   fi
52511
52512
52513
52514
52515
52516   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
52517 $as_echo_n "checking for fabsf declaration... " >&6; }
52518   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
52519     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
52520   $as_echo_n "(cached) " >&6
52521 else
52522
52523
52524       ac_ext=cpp
52525 ac_cpp='$CXXCPP $CPPFLAGS'
52526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52529
52530       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52531 /* end confdefs.h.  */
52532 #include <math.h>
52533                       #ifdef HAVE_IEEEFP_H
52534                       #include <ieeefp.h>
52535                       #endif
52536
52537 int
52538 main ()
52539 {
52540  fabsf(0);
52541   ;
52542   return 0;
52543 }
52544 _ACEOF
52545 if ac_fn_cxx_try_compile "$LINENO"; then :
52546   glibcxx_cv_func_fabsf_use=yes
52547 else
52548   glibcxx_cv_func_fabsf_use=no
52549 fi
52550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52551       ac_ext=c
52552 ac_cpp='$CPP $CPPFLAGS'
52553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52556
52557
52558 fi
52559
52560   fi
52561   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
52562 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
52563
52564   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
52565     for ac_func in fabsf
52566 do :
52567   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
52568 if test "x$ac_cv_func_fabsf" = x""yes; then :
52569   cat >>confdefs.h <<_ACEOF
52570 #define HAVE_FABSF 1
52571 _ACEOF
52572
52573 fi
52574 done
52575
52576   else
52577
52578   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
52579 $as_echo_n "checking for _fabsf declaration... " >&6; }
52580   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
52581     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
52582   $as_echo_n "(cached) " >&6
52583 else
52584
52585
52586       ac_ext=cpp
52587 ac_cpp='$CXXCPP $CPPFLAGS'
52588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52591
52592       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52593 /* end confdefs.h.  */
52594 #include <math.h>
52595                       #ifdef HAVE_IEEEFP_H
52596                       #include <ieeefp.h>
52597                       #endif
52598
52599 int
52600 main ()
52601 {
52602  _fabsf(0);
52603   ;
52604   return 0;
52605 }
52606 _ACEOF
52607 if ac_fn_cxx_try_compile "$LINENO"; then :
52608   glibcxx_cv_func__fabsf_use=yes
52609 else
52610   glibcxx_cv_func__fabsf_use=no
52611 fi
52612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52613       ac_ext=c
52614 ac_cpp='$CPP $CPPFLAGS'
52615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52618
52619
52620 fi
52621
52622   fi
52623   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
52624 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
52625
52626     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
52627       for ac_func in _fabsf
52628 do :
52629   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
52630 if test "x$ac_cv_func__fabsf" = x""yes; then :
52631   cat >>confdefs.h <<_ACEOF
52632 #define HAVE__FABSF 1
52633 _ACEOF
52634
52635 fi
52636 done
52637
52638     fi
52639   fi
52640
52641
52642
52643
52644
52645   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
52646 $as_echo_n "checking for fmodf declaration... " >&6; }
52647   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
52648     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
52649   $as_echo_n "(cached) " >&6
52650 else
52651
52652
52653       ac_ext=cpp
52654 ac_cpp='$CXXCPP $CPPFLAGS'
52655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52658
52659       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52660 /* end confdefs.h.  */
52661 #include <math.h>
52662 int
52663 main ()
52664 {
52665  fmodf(0, 0);
52666   ;
52667   return 0;
52668 }
52669 _ACEOF
52670 if ac_fn_cxx_try_compile "$LINENO"; then :
52671   glibcxx_cv_func_fmodf_use=yes
52672 else
52673   glibcxx_cv_func_fmodf_use=no
52674 fi
52675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52676       ac_ext=c
52677 ac_cpp='$CPP $CPPFLAGS'
52678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52681
52682
52683 fi
52684
52685   fi
52686   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
52687 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
52688
52689   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
52690     for ac_func in fmodf
52691 do :
52692   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
52693 if test "x$ac_cv_func_fmodf" = x""yes; then :
52694   cat >>confdefs.h <<_ACEOF
52695 #define HAVE_FMODF 1
52696 _ACEOF
52697
52698 fi
52699 done
52700
52701   else
52702
52703   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
52704 $as_echo_n "checking for _fmodf declaration... " >&6; }
52705   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
52706     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
52707   $as_echo_n "(cached) " >&6
52708 else
52709
52710
52711       ac_ext=cpp
52712 ac_cpp='$CXXCPP $CPPFLAGS'
52713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52716
52717       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52718 /* end confdefs.h.  */
52719 #include <math.h>
52720 int
52721 main ()
52722 {
52723  _fmodf(0, 0);
52724   ;
52725   return 0;
52726 }
52727 _ACEOF
52728 if ac_fn_cxx_try_compile "$LINENO"; then :
52729   glibcxx_cv_func__fmodf_use=yes
52730 else
52731   glibcxx_cv_func__fmodf_use=no
52732 fi
52733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52734       ac_ext=c
52735 ac_cpp='$CPP $CPPFLAGS'
52736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52739
52740
52741 fi
52742
52743   fi
52744   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
52745 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
52746
52747     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
52748       for ac_func in _fmodf
52749 do :
52750   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
52751 if test "x$ac_cv_func__fmodf" = x""yes; then :
52752   cat >>confdefs.h <<_ACEOF
52753 #define HAVE__FMODF 1
52754 _ACEOF
52755
52756 fi
52757 done
52758
52759     fi
52760   fi
52761
52762
52763
52764
52765
52766   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
52767 $as_echo_n "checking for frexpf declaration... " >&6; }
52768   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
52769     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
52770   $as_echo_n "(cached) " >&6
52771 else
52772
52773
52774       ac_ext=cpp
52775 ac_cpp='$CXXCPP $CPPFLAGS'
52776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52779
52780       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52781 /* end confdefs.h.  */
52782 #include <math.h>
52783 int
52784 main ()
52785 {
52786  frexpf(0, 0);
52787   ;
52788   return 0;
52789 }
52790 _ACEOF
52791 if ac_fn_cxx_try_compile "$LINENO"; then :
52792   glibcxx_cv_func_frexpf_use=yes
52793 else
52794   glibcxx_cv_func_frexpf_use=no
52795 fi
52796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52797       ac_ext=c
52798 ac_cpp='$CPP $CPPFLAGS'
52799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52802
52803
52804 fi
52805
52806   fi
52807   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
52808 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
52809
52810   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
52811     for ac_func in frexpf
52812 do :
52813   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
52814 if test "x$ac_cv_func_frexpf" = x""yes; then :
52815   cat >>confdefs.h <<_ACEOF
52816 #define HAVE_FREXPF 1
52817 _ACEOF
52818
52819 fi
52820 done
52821
52822   else
52823
52824   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
52825 $as_echo_n "checking for _frexpf declaration... " >&6; }
52826   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
52827     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
52828   $as_echo_n "(cached) " >&6
52829 else
52830
52831
52832       ac_ext=cpp
52833 ac_cpp='$CXXCPP $CPPFLAGS'
52834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52837
52838       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52839 /* end confdefs.h.  */
52840 #include <math.h>
52841 int
52842 main ()
52843 {
52844  _frexpf(0, 0);
52845   ;
52846   return 0;
52847 }
52848 _ACEOF
52849 if ac_fn_cxx_try_compile "$LINENO"; then :
52850   glibcxx_cv_func__frexpf_use=yes
52851 else
52852   glibcxx_cv_func__frexpf_use=no
52853 fi
52854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52855       ac_ext=c
52856 ac_cpp='$CPP $CPPFLAGS'
52857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52860
52861
52862 fi
52863
52864   fi
52865   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
52866 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
52867
52868     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
52869       for ac_func in _frexpf
52870 do :
52871   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
52872 if test "x$ac_cv_func__frexpf" = x""yes; then :
52873   cat >>confdefs.h <<_ACEOF
52874 #define HAVE__FREXPF 1
52875 _ACEOF
52876
52877 fi
52878 done
52879
52880     fi
52881   fi
52882
52883
52884
52885
52886
52887   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
52888 $as_echo_n "checking for hypotf declaration... " >&6; }
52889   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
52890     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
52891   $as_echo_n "(cached) " >&6
52892 else
52893
52894
52895       ac_ext=cpp
52896 ac_cpp='$CXXCPP $CPPFLAGS'
52897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52900
52901       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52902 /* end confdefs.h.  */
52903 #include <math.h>
52904 int
52905 main ()
52906 {
52907  hypotf(0, 0);
52908   ;
52909   return 0;
52910 }
52911 _ACEOF
52912 if ac_fn_cxx_try_compile "$LINENO"; then :
52913   glibcxx_cv_func_hypotf_use=yes
52914 else
52915   glibcxx_cv_func_hypotf_use=no
52916 fi
52917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52918       ac_ext=c
52919 ac_cpp='$CPP $CPPFLAGS'
52920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52923
52924
52925 fi
52926
52927   fi
52928   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
52929 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
52930
52931   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
52932     for ac_func in hypotf
52933 do :
52934   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
52935 if test "x$ac_cv_func_hypotf" = x""yes; then :
52936   cat >>confdefs.h <<_ACEOF
52937 #define HAVE_HYPOTF 1
52938 _ACEOF
52939
52940 fi
52941 done
52942
52943   else
52944
52945   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
52946 $as_echo_n "checking for _hypotf declaration... " >&6; }
52947   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
52948     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
52949   $as_echo_n "(cached) " >&6
52950 else
52951
52952
52953       ac_ext=cpp
52954 ac_cpp='$CXXCPP $CPPFLAGS'
52955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52958
52959       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52960 /* end confdefs.h.  */
52961 #include <math.h>
52962 int
52963 main ()
52964 {
52965  _hypotf(0, 0);
52966   ;
52967   return 0;
52968 }
52969 _ACEOF
52970 if ac_fn_cxx_try_compile "$LINENO"; then :
52971   glibcxx_cv_func__hypotf_use=yes
52972 else
52973   glibcxx_cv_func__hypotf_use=no
52974 fi
52975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52976       ac_ext=c
52977 ac_cpp='$CPP $CPPFLAGS'
52978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52981
52982
52983 fi
52984
52985   fi
52986   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
52987 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
52988
52989     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
52990       for ac_func in _hypotf
52991 do :
52992   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
52993 if test "x$ac_cv_func__hypotf" = x""yes; then :
52994   cat >>confdefs.h <<_ACEOF
52995 #define HAVE__HYPOTF 1
52996 _ACEOF
52997
52998 fi
52999 done
53000
53001     fi
53002   fi
53003
53004
53005
53006
53007
53008   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
53009 $as_echo_n "checking for ldexpf declaration... " >&6; }
53010   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
53011     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
53012   $as_echo_n "(cached) " >&6
53013 else
53014
53015
53016       ac_ext=cpp
53017 ac_cpp='$CXXCPP $CPPFLAGS'
53018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53021
53022       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53023 /* end confdefs.h.  */
53024 #include <math.h>
53025 int
53026 main ()
53027 {
53028  ldexpf(0, 0);
53029   ;
53030   return 0;
53031 }
53032 _ACEOF
53033 if ac_fn_cxx_try_compile "$LINENO"; then :
53034   glibcxx_cv_func_ldexpf_use=yes
53035 else
53036   glibcxx_cv_func_ldexpf_use=no
53037 fi
53038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53039       ac_ext=c
53040 ac_cpp='$CPP $CPPFLAGS'
53041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53044
53045
53046 fi
53047
53048   fi
53049   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
53050 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
53051
53052   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
53053     for ac_func in ldexpf
53054 do :
53055   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
53056 if test "x$ac_cv_func_ldexpf" = x""yes; then :
53057   cat >>confdefs.h <<_ACEOF
53058 #define HAVE_LDEXPF 1
53059 _ACEOF
53060
53061 fi
53062 done
53063
53064   else
53065
53066   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
53067 $as_echo_n "checking for _ldexpf declaration... " >&6; }
53068   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
53069     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
53070   $as_echo_n "(cached) " >&6
53071 else
53072
53073
53074       ac_ext=cpp
53075 ac_cpp='$CXXCPP $CPPFLAGS'
53076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53079
53080       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53081 /* end confdefs.h.  */
53082 #include <math.h>
53083 int
53084 main ()
53085 {
53086  _ldexpf(0, 0);
53087   ;
53088   return 0;
53089 }
53090 _ACEOF
53091 if ac_fn_cxx_try_compile "$LINENO"; then :
53092   glibcxx_cv_func__ldexpf_use=yes
53093 else
53094   glibcxx_cv_func__ldexpf_use=no
53095 fi
53096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53097       ac_ext=c
53098 ac_cpp='$CPP $CPPFLAGS'
53099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53102
53103
53104 fi
53105
53106   fi
53107   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
53108 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
53109
53110     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
53111       for ac_func in _ldexpf
53112 do :
53113   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
53114 if test "x$ac_cv_func__ldexpf" = x""yes; then :
53115   cat >>confdefs.h <<_ACEOF
53116 #define HAVE__LDEXPF 1
53117 _ACEOF
53118
53119 fi
53120 done
53121
53122     fi
53123   fi
53124
53125
53126
53127
53128
53129   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
53130 $as_echo_n "checking for logf declaration... " >&6; }
53131   if test x${glibcxx_cv_func_logf_use+set} != xset; then
53132     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
53133   $as_echo_n "(cached) " >&6
53134 else
53135
53136
53137       ac_ext=cpp
53138 ac_cpp='$CXXCPP $CPPFLAGS'
53139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53142
53143       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53144 /* end confdefs.h.  */
53145 #include <math.h>
53146                       #ifdef HAVE_IEEEFP_H
53147                       #include <ieeefp.h>
53148                       #endif
53149
53150 int
53151 main ()
53152 {
53153  logf(0);
53154   ;
53155   return 0;
53156 }
53157 _ACEOF
53158 if ac_fn_cxx_try_compile "$LINENO"; then :
53159   glibcxx_cv_func_logf_use=yes
53160 else
53161   glibcxx_cv_func_logf_use=no
53162 fi
53163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53164       ac_ext=c
53165 ac_cpp='$CPP $CPPFLAGS'
53166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53169
53170
53171 fi
53172
53173   fi
53174   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
53175 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
53176
53177   if test x$glibcxx_cv_func_logf_use = x"yes"; then
53178     for ac_func in logf
53179 do :
53180   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
53181 if test "x$ac_cv_func_logf" = x""yes; then :
53182   cat >>confdefs.h <<_ACEOF
53183 #define HAVE_LOGF 1
53184 _ACEOF
53185
53186 fi
53187 done
53188
53189   else
53190
53191   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
53192 $as_echo_n "checking for _logf declaration... " >&6; }
53193   if test x${glibcxx_cv_func__logf_use+set} != xset; then
53194     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
53195   $as_echo_n "(cached) " >&6
53196 else
53197
53198
53199       ac_ext=cpp
53200 ac_cpp='$CXXCPP $CPPFLAGS'
53201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53204
53205       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53206 /* end confdefs.h.  */
53207 #include <math.h>
53208                       #ifdef HAVE_IEEEFP_H
53209                       #include <ieeefp.h>
53210                       #endif
53211
53212 int
53213 main ()
53214 {
53215  _logf(0);
53216   ;
53217   return 0;
53218 }
53219 _ACEOF
53220 if ac_fn_cxx_try_compile "$LINENO"; then :
53221   glibcxx_cv_func__logf_use=yes
53222 else
53223   glibcxx_cv_func__logf_use=no
53224 fi
53225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53226       ac_ext=c
53227 ac_cpp='$CPP $CPPFLAGS'
53228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53231
53232
53233 fi
53234
53235   fi
53236   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
53237 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
53238
53239     if test x$glibcxx_cv_func__logf_use = x"yes"; then
53240       for ac_func in _logf
53241 do :
53242   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
53243 if test "x$ac_cv_func__logf" = x""yes; then :
53244   cat >>confdefs.h <<_ACEOF
53245 #define HAVE__LOGF 1
53246 _ACEOF
53247
53248 fi
53249 done
53250
53251     fi
53252   fi
53253
53254
53255
53256
53257
53258   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
53259 $as_echo_n "checking for log10f declaration... " >&6; }
53260   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
53261     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
53262   $as_echo_n "(cached) " >&6
53263 else
53264
53265
53266       ac_ext=cpp
53267 ac_cpp='$CXXCPP $CPPFLAGS'
53268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53271
53272       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53273 /* end confdefs.h.  */
53274 #include <math.h>
53275                       #ifdef HAVE_IEEEFP_H
53276                       #include <ieeefp.h>
53277                       #endif
53278
53279 int
53280 main ()
53281 {
53282  log10f(0);
53283   ;
53284   return 0;
53285 }
53286 _ACEOF
53287 if ac_fn_cxx_try_compile "$LINENO"; then :
53288   glibcxx_cv_func_log10f_use=yes
53289 else
53290   glibcxx_cv_func_log10f_use=no
53291 fi
53292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53293       ac_ext=c
53294 ac_cpp='$CPP $CPPFLAGS'
53295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53298
53299
53300 fi
53301
53302   fi
53303   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
53304 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
53305
53306   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
53307     for ac_func in log10f
53308 do :
53309   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
53310 if test "x$ac_cv_func_log10f" = x""yes; then :
53311   cat >>confdefs.h <<_ACEOF
53312 #define HAVE_LOG10F 1
53313 _ACEOF
53314
53315 fi
53316 done
53317
53318   else
53319
53320   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
53321 $as_echo_n "checking for _log10f declaration... " >&6; }
53322   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
53323     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
53324   $as_echo_n "(cached) " >&6
53325 else
53326
53327
53328       ac_ext=cpp
53329 ac_cpp='$CXXCPP $CPPFLAGS'
53330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53333
53334       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53335 /* end confdefs.h.  */
53336 #include <math.h>
53337                       #ifdef HAVE_IEEEFP_H
53338                       #include <ieeefp.h>
53339                       #endif
53340
53341 int
53342 main ()
53343 {
53344  _log10f(0);
53345   ;
53346   return 0;
53347 }
53348 _ACEOF
53349 if ac_fn_cxx_try_compile "$LINENO"; then :
53350   glibcxx_cv_func__log10f_use=yes
53351 else
53352   glibcxx_cv_func__log10f_use=no
53353 fi
53354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53355       ac_ext=c
53356 ac_cpp='$CPP $CPPFLAGS'
53357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53360
53361
53362 fi
53363
53364   fi
53365   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
53366 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
53367
53368     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
53369       for ac_func in _log10f
53370 do :
53371   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
53372 if test "x$ac_cv_func__log10f" = x""yes; then :
53373   cat >>confdefs.h <<_ACEOF
53374 #define HAVE__LOG10F 1
53375 _ACEOF
53376
53377 fi
53378 done
53379
53380     fi
53381   fi
53382
53383
53384
53385
53386
53387   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
53388 $as_echo_n "checking for modff declaration... " >&6; }
53389   if test x${glibcxx_cv_func_modff_use+set} != xset; then
53390     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
53391   $as_echo_n "(cached) " >&6
53392 else
53393
53394
53395       ac_ext=cpp
53396 ac_cpp='$CXXCPP $CPPFLAGS'
53397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53400
53401       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53402 /* end confdefs.h.  */
53403 #include <math.h>
53404 int
53405 main ()
53406 {
53407  modff(0, 0);
53408   ;
53409   return 0;
53410 }
53411 _ACEOF
53412 if ac_fn_cxx_try_compile "$LINENO"; then :
53413   glibcxx_cv_func_modff_use=yes
53414 else
53415   glibcxx_cv_func_modff_use=no
53416 fi
53417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53418       ac_ext=c
53419 ac_cpp='$CPP $CPPFLAGS'
53420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53423
53424
53425 fi
53426
53427   fi
53428   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
53429 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
53430
53431   if test x$glibcxx_cv_func_modff_use = x"yes"; then
53432     for ac_func in modff
53433 do :
53434   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
53435 if test "x$ac_cv_func_modff" = x""yes; then :
53436   cat >>confdefs.h <<_ACEOF
53437 #define HAVE_MODFF 1
53438 _ACEOF
53439
53440 fi
53441 done
53442
53443   else
53444
53445   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
53446 $as_echo_n "checking for _modff declaration... " >&6; }
53447   if test x${glibcxx_cv_func__modff_use+set} != xset; then
53448     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
53449   $as_echo_n "(cached) " >&6
53450 else
53451
53452
53453       ac_ext=cpp
53454 ac_cpp='$CXXCPP $CPPFLAGS'
53455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53458
53459       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53460 /* end confdefs.h.  */
53461 #include <math.h>
53462 int
53463 main ()
53464 {
53465  _modff(0, 0);
53466   ;
53467   return 0;
53468 }
53469 _ACEOF
53470 if ac_fn_cxx_try_compile "$LINENO"; then :
53471   glibcxx_cv_func__modff_use=yes
53472 else
53473   glibcxx_cv_func__modff_use=no
53474 fi
53475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53476       ac_ext=c
53477 ac_cpp='$CPP $CPPFLAGS'
53478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53481
53482
53483 fi
53484
53485   fi
53486   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
53487 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
53488
53489     if test x$glibcxx_cv_func__modff_use = x"yes"; then
53490       for ac_func in _modff
53491 do :
53492   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
53493 if test "x$ac_cv_func__modff" = x""yes; then :
53494   cat >>confdefs.h <<_ACEOF
53495 #define HAVE__MODFF 1
53496 _ACEOF
53497
53498 fi
53499 done
53500
53501     fi
53502   fi
53503
53504
53505
53506
53507
53508   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
53509 $as_echo_n "checking for modf declaration... " >&6; }
53510   if test x${glibcxx_cv_func_modf_use+set} != xset; then
53511     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
53512   $as_echo_n "(cached) " >&6
53513 else
53514
53515
53516       ac_ext=cpp
53517 ac_cpp='$CXXCPP $CPPFLAGS'
53518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53521
53522       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53523 /* end confdefs.h.  */
53524 #include <math.h>
53525 int
53526 main ()
53527 {
53528  modf(0, 0);
53529   ;
53530   return 0;
53531 }
53532 _ACEOF
53533 if ac_fn_cxx_try_compile "$LINENO"; then :
53534   glibcxx_cv_func_modf_use=yes
53535 else
53536   glibcxx_cv_func_modf_use=no
53537 fi
53538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53539       ac_ext=c
53540 ac_cpp='$CPP $CPPFLAGS'
53541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53544
53545
53546 fi
53547
53548   fi
53549   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
53550 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
53551
53552   if test x$glibcxx_cv_func_modf_use = x"yes"; then
53553     for ac_func in modf
53554 do :
53555   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
53556 if test "x$ac_cv_func_modf" = x""yes; then :
53557   cat >>confdefs.h <<_ACEOF
53558 #define HAVE_MODF 1
53559 _ACEOF
53560
53561 fi
53562 done
53563
53564   else
53565
53566   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
53567 $as_echo_n "checking for _modf declaration... " >&6; }
53568   if test x${glibcxx_cv_func__modf_use+set} != xset; then
53569     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
53570   $as_echo_n "(cached) " >&6
53571 else
53572
53573
53574       ac_ext=cpp
53575 ac_cpp='$CXXCPP $CPPFLAGS'
53576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53579
53580       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53581 /* end confdefs.h.  */
53582 #include <math.h>
53583 int
53584 main ()
53585 {
53586  _modf(0, 0);
53587   ;
53588   return 0;
53589 }
53590 _ACEOF
53591 if ac_fn_cxx_try_compile "$LINENO"; then :
53592   glibcxx_cv_func__modf_use=yes
53593 else
53594   glibcxx_cv_func__modf_use=no
53595 fi
53596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53597       ac_ext=c
53598 ac_cpp='$CPP $CPPFLAGS'
53599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53602
53603
53604 fi
53605
53606   fi
53607   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
53608 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
53609
53610     if test x$glibcxx_cv_func__modf_use = x"yes"; then
53611       for ac_func in _modf
53612 do :
53613   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
53614 if test "x$ac_cv_func__modf" = x""yes; then :
53615   cat >>confdefs.h <<_ACEOF
53616 #define HAVE__MODF 1
53617 _ACEOF
53618
53619 fi
53620 done
53621
53622     fi
53623   fi
53624
53625
53626
53627
53628
53629   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
53630 $as_echo_n "checking for powf declaration... " >&6; }
53631   if test x${glibcxx_cv_func_powf_use+set} != xset; then
53632     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
53633   $as_echo_n "(cached) " >&6
53634 else
53635
53636
53637       ac_ext=cpp
53638 ac_cpp='$CXXCPP $CPPFLAGS'
53639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53642
53643       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53644 /* end confdefs.h.  */
53645 #include <math.h>
53646 int
53647 main ()
53648 {
53649  powf(0, 0);
53650   ;
53651   return 0;
53652 }
53653 _ACEOF
53654 if ac_fn_cxx_try_compile "$LINENO"; then :
53655   glibcxx_cv_func_powf_use=yes
53656 else
53657   glibcxx_cv_func_powf_use=no
53658 fi
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   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
53671 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
53672
53673   if test x$glibcxx_cv_func_powf_use = x"yes"; then
53674     for ac_func in powf
53675 do :
53676   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
53677 if test "x$ac_cv_func_powf" = x""yes; then :
53678   cat >>confdefs.h <<_ACEOF
53679 #define HAVE_POWF 1
53680 _ACEOF
53681
53682 fi
53683 done
53684
53685   else
53686
53687   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
53688 $as_echo_n "checking for _powf declaration... " >&6; }
53689   if test x${glibcxx_cv_func__powf_use+set} != xset; then
53690     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
53691   $as_echo_n "(cached) " >&6
53692 else
53693
53694
53695       ac_ext=cpp
53696 ac_cpp='$CXXCPP $CPPFLAGS'
53697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53700
53701       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53702 /* end confdefs.h.  */
53703 #include <math.h>
53704 int
53705 main ()
53706 {
53707  _powf(0, 0);
53708   ;
53709   return 0;
53710 }
53711 _ACEOF
53712 if ac_fn_cxx_try_compile "$LINENO"; then :
53713   glibcxx_cv_func__powf_use=yes
53714 else
53715   glibcxx_cv_func__powf_use=no
53716 fi
53717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53718       ac_ext=c
53719 ac_cpp='$CPP $CPPFLAGS'
53720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53723
53724
53725 fi
53726
53727   fi
53728   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
53729 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
53730
53731     if test x$glibcxx_cv_func__powf_use = x"yes"; then
53732       for ac_func in _powf
53733 do :
53734   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
53735 if test "x$ac_cv_func__powf" = x""yes; then :
53736   cat >>confdefs.h <<_ACEOF
53737 #define HAVE__POWF 1
53738 _ACEOF
53739
53740 fi
53741 done
53742
53743     fi
53744   fi
53745
53746
53747
53748
53749
53750   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
53751 $as_echo_n "checking for sqrtf declaration... " >&6; }
53752   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
53753     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
53754   $as_echo_n "(cached) " >&6
53755 else
53756
53757
53758       ac_ext=cpp
53759 ac_cpp='$CXXCPP $CPPFLAGS'
53760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53763
53764       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53765 /* end confdefs.h.  */
53766 #include <math.h>
53767                       #ifdef HAVE_IEEEFP_H
53768                       #include <ieeefp.h>
53769                       #endif
53770
53771 int
53772 main ()
53773 {
53774  sqrtf(0);
53775   ;
53776   return 0;
53777 }
53778 _ACEOF
53779 if ac_fn_cxx_try_compile "$LINENO"; then :
53780   glibcxx_cv_func_sqrtf_use=yes
53781 else
53782   glibcxx_cv_func_sqrtf_use=no
53783 fi
53784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53785       ac_ext=c
53786 ac_cpp='$CPP $CPPFLAGS'
53787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53790
53791
53792 fi
53793
53794   fi
53795   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
53796 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
53797
53798   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
53799     for ac_func in sqrtf
53800 do :
53801   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
53802 if test "x$ac_cv_func_sqrtf" = x""yes; then :
53803   cat >>confdefs.h <<_ACEOF
53804 #define HAVE_SQRTF 1
53805 _ACEOF
53806
53807 fi
53808 done
53809
53810   else
53811
53812   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
53813 $as_echo_n "checking for _sqrtf declaration... " >&6; }
53814   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
53815     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
53816   $as_echo_n "(cached) " >&6
53817 else
53818
53819
53820       ac_ext=cpp
53821 ac_cpp='$CXXCPP $CPPFLAGS'
53822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53825
53826       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53827 /* end confdefs.h.  */
53828 #include <math.h>
53829                       #ifdef HAVE_IEEEFP_H
53830                       #include <ieeefp.h>
53831                       #endif
53832
53833 int
53834 main ()
53835 {
53836  _sqrtf(0);
53837   ;
53838   return 0;
53839 }
53840 _ACEOF
53841 if ac_fn_cxx_try_compile "$LINENO"; then :
53842   glibcxx_cv_func__sqrtf_use=yes
53843 else
53844   glibcxx_cv_func__sqrtf_use=no
53845 fi
53846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53847       ac_ext=c
53848 ac_cpp='$CPP $CPPFLAGS'
53849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53852
53853
53854 fi
53855
53856   fi
53857   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
53858 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
53859
53860     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
53861       for ac_func in _sqrtf
53862 do :
53863   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
53864 if test "x$ac_cv_func__sqrtf" = x""yes; then :
53865   cat >>confdefs.h <<_ACEOF
53866 #define HAVE__SQRTF 1
53867 _ACEOF
53868
53869 fi
53870 done
53871
53872     fi
53873   fi
53874
53875
53876
53877
53878
53879   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
53880 $as_echo_n "checking for sincosf declaration... " >&6; }
53881   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
53882     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
53883   $as_echo_n "(cached) " >&6
53884 else
53885
53886
53887       ac_ext=cpp
53888 ac_cpp='$CXXCPP $CPPFLAGS'
53889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53892
53893       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53894 /* end confdefs.h.  */
53895 #include <math.h>
53896 int
53897 main ()
53898 {
53899  sincosf(0, 0, 0);
53900   ;
53901   return 0;
53902 }
53903 _ACEOF
53904 if ac_fn_cxx_try_compile "$LINENO"; then :
53905   glibcxx_cv_func_sincosf_use=yes
53906 else
53907   glibcxx_cv_func_sincosf_use=no
53908 fi
53909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53910       ac_ext=c
53911 ac_cpp='$CPP $CPPFLAGS'
53912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53915
53916
53917 fi
53918
53919   fi
53920   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
53921 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
53922
53923   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
53924     for ac_func in sincosf
53925 do :
53926   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
53927 if test "x$ac_cv_func_sincosf" = x""yes; then :
53928   cat >>confdefs.h <<_ACEOF
53929 #define HAVE_SINCOSF 1
53930 _ACEOF
53931
53932 fi
53933 done
53934
53935   else
53936
53937   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
53938 $as_echo_n "checking for _sincosf declaration... " >&6; }
53939   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
53940     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
53941   $as_echo_n "(cached) " >&6
53942 else
53943
53944
53945       ac_ext=cpp
53946 ac_cpp='$CXXCPP $CPPFLAGS'
53947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53950
53951       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53952 /* end confdefs.h.  */
53953 #include <math.h>
53954 int
53955 main ()
53956 {
53957  _sincosf(0, 0, 0);
53958   ;
53959   return 0;
53960 }
53961 _ACEOF
53962 if ac_fn_cxx_try_compile "$LINENO"; then :
53963   glibcxx_cv_func__sincosf_use=yes
53964 else
53965   glibcxx_cv_func__sincosf_use=no
53966 fi
53967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53968       ac_ext=c
53969 ac_cpp='$CPP $CPPFLAGS'
53970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53973
53974
53975 fi
53976
53977   fi
53978   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
53979 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
53980
53981     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
53982       for ac_func in _sincosf
53983 do :
53984   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
53985 if test "x$ac_cv_func__sincosf" = x""yes; then :
53986   cat >>confdefs.h <<_ACEOF
53987 #define HAVE__SINCOSF 1
53988 _ACEOF
53989
53990 fi
53991 done
53992
53993     fi
53994   fi
53995
53996
53997
53998
53999
54000   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
54001 $as_echo_n "checking for finitef declaration... " >&6; }
54002   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
54003     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
54004   $as_echo_n "(cached) " >&6
54005 else
54006
54007
54008       ac_ext=cpp
54009 ac_cpp='$CXXCPP $CPPFLAGS'
54010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54013
54014       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54015 /* end confdefs.h.  */
54016 #include <math.h>
54017                       #ifdef HAVE_IEEEFP_H
54018                       #include <ieeefp.h>
54019                       #endif
54020
54021 int
54022 main ()
54023 {
54024  finitef(0);
54025   ;
54026   return 0;
54027 }
54028 _ACEOF
54029 if ac_fn_cxx_try_compile "$LINENO"; then :
54030   glibcxx_cv_func_finitef_use=yes
54031 else
54032   glibcxx_cv_func_finitef_use=no
54033 fi
54034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54035       ac_ext=c
54036 ac_cpp='$CPP $CPPFLAGS'
54037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54040
54041
54042 fi
54043
54044   fi
54045   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
54046 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
54047
54048   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
54049     for ac_func in finitef
54050 do :
54051   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
54052 if test "x$ac_cv_func_finitef" = x""yes; then :
54053   cat >>confdefs.h <<_ACEOF
54054 #define HAVE_FINITEF 1
54055 _ACEOF
54056
54057 fi
54058 done
54059
54060   else
54061
54062   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
54063 $as_echo_n "checking for _finitef declaration... " >&6; }
54064   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
54065     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
54066   $as_echo_n "(cached) " >&6
54067 else
54068
54069
54070       ac_ext=cpp
54071 ac_cpp='$CXXCPP $CPPFLAGS'
54072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54075
54076       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54077 /* end confdefs.h.  */
54078 #include <math.h>
54079                       #ifdef HAVE_IEEEFP_H
54080                       #include <ieeefp.h>
54081                       #endif
54082
54083 int
54084 main ()
54085 {
54086  _finitef(0);
54087   ;
54088   return 0;
54089 }
54090 _ACEOF
54091 if ac_fn_cxx_try_compile "$LINENO"; then :
54092   glibcxx_cv_func__finitef_use=yes
54093 else
54094   glibcxx_cv_func__finitef_use=no
54095 fi
54096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54097       ac_ext=c
54098 ac_cpp='$CPP $CPPFLAGS'
54099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54102
54103
54104 fi
54105
54106   fi
54107   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
54108 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
54109
54110     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
54111       for ac_func in _finitef
54112 do :
54113   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
54114 if test "x$ac_cv_func__finitef" = x""yes; then :
54115   cat >>confdefs.h <<_ACEOF
54116 #define HAVE__FINITEF 1
54117 _ACEOF
54118
54119 fi
54120 done
54121
54122     fi
54123   fi
54124
54125
54126
54127
54128
54129     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
54130 $as_echo_n "checking for long double trig functions... " >&6; }
54131   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
54132   $as_echo_n "(cached) " >&6
54133 else
54134
54135
54136     ac_ext=cpp
54137 ac_cpp='$CXXCPP $CPPFLAGS'
54138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54141
54142     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54143 /* end confdefs.h.  */
54144 #include <math.h>
54145 int
54146 main ()
54147 {
54148 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
54149   ;
54150   return 0;
54151 }
54152 _ACEOF
54153 if ac_fn_cxx_try_compile "$LINENO"; then :
54154   glibcxx_cv_func_long_double_trig_use=yes
54155 else
54156   glibcxx_cv_func_long_double_trig_use=no
54157 fi
54158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54159     ac_ext=c
54160 ac_cpp='$CPP $CPPFLAGS'
54161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54164
54165 fi
54166
54167   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
54168 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
54169   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
54170     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
54171 do :
54172   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54173 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54174 eval as_val=\$$as_ac_var
54175    if test "x$as_val" = x""yes; then :
54176   cat >>confdefs.h <<_ACEOF
54177 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54178 _ACEOF
54179
54180 fi
54181 done
54182
54183   else
54184     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
54185 $as_echo_n "checking for _long double trig functions... " >&6; }
54186     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
54187   $as_echo_n "(cached) " >&6
54188 else
54189
54190
54191       ac_ext=cpp
54192 ac_cpp='$CXXCPP $CPPFLAGS'
54193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54196
54197       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54198 /* end confdefs.h.  */
54199 #include <math.h>
54200 int
54201 main ()
54202 {
54203 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
54204   ;
54205   return 0;
54206 }
54207 _ACEOF
54208 if ac_fn_cxx_try_compile "$LINENO"; then :
54209   glibcxx_cv_func__long_double_trig_use=yes
54210 else
54211   glibcxx_cv_func__long_double_trig_use=no
54212 fi
54213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54214       ac_ext=c
54215 ac_cpp='$CPP $CPPFLAGS'
54216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54219
54220 fi
54221
54222     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
54223 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
54224     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
54225       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
54226 do :
54227   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54228 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54229 eval as_val=\$$as_ac_var
54230    if test "x$as_val" = x""yes; then :
54231   cat >>confdefs.h <<_ACEOF
54232 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54233 _ACEOF
54234
54235 fi
54236 done
54237
54238     fi
54239   fi
54240
54241
54242
54243
54244
54245     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
54246 $as_echo_n "checking for long double round functions... " >&6; }
54247   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
54248   $as_echo_n "(cached) " >&6
54249 else
54250
54251
54252     ac_ext=cpp
54253 ac_cpp='$CXXCPP $CPPFLAGS'
54254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54257
54258     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54259 /* end confdefs.h.  */
54260 #include <math.h>
54261 int
54262 main ()
54263 {
54264 ceill (0); floorl (0);
54265   ;
54266   return 0;
54267 }
54268 _ACEOF
54269 if ac_fn_cxx_try_compile "$LINENO"; then :
54270   glibcxx_cv_func_long_double_round_use=yes
54271 else
54272   glibcxx_cv_func_long_double_round_use=no
54273 fi
54274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54275     ac_ext=c
54276 ac_cpp='$CPP $CPPFLAGS'
54277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54280
54281 fi
54282
54283   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
54284 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
54285   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
54286     for ac_func in ceill floorl
54287 do :
54288   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54289 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54290 eval as_val=\$$as_ac_var
54291    if test "x$as_val" = x""yes; then :
54292   cat >>confdefs.h <<_ACEOF
54293 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54294 _ACEOF
54295
54296 fi
54297 done
54298
54299   else
54300     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
54301 $as_echo_n "checking for _long double round functions... " >&6; }
54302     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
54303   $as_echo_n "(cached) " >&6
54304 else
54305
54306
54307       ac_ext=cpp
54308 ac_cpp='$CXXCPP $CPPFLAGS'
54309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54312
54313       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54314 /* end confdefs.h.  */
54315 #include <math.h>
54316 int
54317 main ()
54318 {
54319 _ceill (0); _floorl (0);
54320   ;
54321   return 0;
54322 }
54323 _ACEOF
54324 if ac_fn_cxx_try_compile "$LINENO"; then :
54325   glibcxx_cv_func__long_double_round_use=yes
54326 else
54327   glibcxx_cv_func__long_double_round_use=no
54328 fi
54329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54330       ac_ext=c
54331 ac_cpp='$CPP $CPPFLAGS'
54332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54335
54336 fi
54337
54338     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
54339 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
54340     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
54341       for ac_func in _ceill _floorl
54342 do :
54343   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54344 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54345 eval as_val=\$$as_ac_var
54346    if test "x$as_val" = x""yes; then :
54347   cat >>confdefs.h <<_ACEOF
54348 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54349 _ACEOF
54350
54351 fi
54352 done
54353
54354     fi
54355   fi
54356
54357
54358
54359
54360
54361
54362   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
54363 $as_echo_n "checking for isnanl declaration... " >&6; }
54364   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
54365     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
54366   $as_echo_n "(cached) " >&6
54367 else
54368
54369
54370       ac_ext=cpp
54371 ac_cpp='$CXXCPP $CPPFLAGS'
54372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54375
54376       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54377 /* end confdefs.h.  */
54378 #include <math.h>
54379                       #ifdef HAVE_IEEEFP_H
54380                       #include <ieeefp.h>
54381                       #endif
54382
54383 int
54384 main ()
54385 {
54386  isnanl(0);
54387   ;
54388   return 0;
54389 }
54390 _ACEOF
54391 if ac_fn_cxx_try_compile "$LINENO"; then :
54392   glibcxx_cv_func_isnanl_use=yes
54393 else
54394   glibcxx_cv_func_isnanl_use=no
54395 fi
54396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54397       ac_ext=c
54398 ac_cpp='$CPP $CPPFLAGS'
54399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54402
54403
54404 fi
54405
54406   fi
54407   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
54408 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
54409
54410   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
54411     for ac_func in isnanl
54412 do :
54413   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
54414 if test "x$ac_cv_func_isnanl" = x""yes; then :
54415   cat >>confdefs.h <<_ACEOF
54416 #define HAVE_ISNANL 1
54417 _ACEOF
54418
54419 fi
54420 done
54421
54422   else
54423
54424   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
54425 $as_echo_n "checking for _isnanl declaration... " >&6; }
54426   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
54427     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
54428   $as_echo_n "(cached) " >&6
54429 else
54430
54431
54432       ac_ext=cpp
54433 ac_cpp='$CXXCPP $CPPFLAGS'
54434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54437
54438       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54439 /* end confdefs.h.  */
54440 #include <math.h>
54441                       #ifdef HAVE_IEEEFP_H
54442                       #include <ieeefp.h>
54443                       #endif
54444
54445 int
54446 main ()
54447 {
54448  _isnanl(0);
54449   ;
54450   return 0;
54451 }
54452 _ACEOF
54453 if ac_fn_cxx_try_compile "$LINENO"; then :
54454   glibcxx_cv_func__isnanl_use=yes
54455 else
54456   glibcxx_cv_func__isnanl_use=no
54457 fi
54458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54459       ac_ext=c
54460 ac_cpp='$CPP $CPPFLAGS'
54461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54464
54465
54466 fi
54467
54468   fi
54469   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
54470 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
54471
54472     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
54473       for ac_func in _isnanl
54474 do :
54475   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
54476 if test "x$ac_cv_func__isnanl" = x""yes; then :
54477   cat >>confdefs.h <<_ACEOF
54478 #define HAVE__ISNANL 1
54479 _ACEOF
54480
54481 fi
54482 done
54483
54484     fi
54485   fi
54486
54487
54488
54489
54490
54491   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
54492 $as_echo_n "checking for isinfl declaration... " >&6; }
54493   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
54494     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
54495   $as_echo_n "(cached) " >&6
54496 else
54497
54498
54499       ac_ext=cpp
54500 ac_cpp='$CXXCPP $CPPFLAGS'
54501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54504
54505       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54506 /* end confdefs.h.  */
54507 #include <math.h>
54508                       #ifdef HAVE_IEEEFP_H
54509                       #include <ieeefp.h>
54510                       #endif
54511
54512 int
54513 main ()
54514 {
54515  isinfl(0);
54516   ;
54517   return 0;
54518 }
54519 _ACEOF
54520 if ac_fn_cxx_try_compile "$LINENO"; then :
54521   glibcxx_cv_func_isinfl_use=yes
54522 else
54523   glibcxx_cv_func_isinfl_use=no
54524 fi
54525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54526       ac_ext=c
54527 ac_cpp='$CPP $CPPFLAGS'
54528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54531
54532
54533 fi
54534
54535   fi
54536   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
54537 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
54538
54539   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
54540     for ac_func in isinfl
54541 do :
54542   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
54543 if test "x$ac_cv_func_isinfl" = x""yes; then :
54544   cat >>confdefs.h <<_ACEOF
54545 #define HAVE_ISINFL 1
54546 _ACEOF
54547
54548 fi
54549 done
54550
54551   else
54552
54553   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
54554 $as_echo_n "checking for _isinfl declaration... " >&6; }
54555   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
54556     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
54557   $as_echo_n "(cached) " >&6
54558 else
54559
54560
54561       ac_ext=cpp
54562 ac_cpp='$CXXCPP $CPPFLAGS'
54563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54566
54567       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54568 /* end confdefs.h.  */
54569 #include <math.h>
54570                       #ifdef HAVE_IEEEFP_H
54571                       #include <ieeefp.h>
54572                       #endif
54573
54574 int
54575 main ()
54576 {
54577  _isinfl(0);
54578   ;
54579   return 0;
54580 }
54581 _ACEOF
54582 if ac_fn_cxx_try_compile "$LINENO"; then :
54583   glibcxx_cv_func__isinfl_use=yes
54584 else
54585   glibcxx_cv_func__isinfl_use=no
54586 fi
54587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54588       ac_ext=c
54589 ac_cpp='$CPP $CPPFLAGS'
54590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54593
54594
54595 fi
54596
54597   fi
54598   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
54599 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
54600
54601     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
54602       for ac_func in _isinfl
54603 do :
54604   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
54605 if test "x$ac_cv_func__isinfl" = x""yes; then :
54606   cat >>confdefs.h <<_ACEOF
54607 #define HAVE__ISINFL 1
54608 _ACEOF
54609
54610 fi
54611 done
54612
54613     fi
54614   fi
54615
54616
54617
54618
54619
54620   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
54621 $as_echo_n "checking for atan2l declaration... " >&6; }
54622   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
54623     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
54624   $as_echo_n "(cached) " >&6
54625 else
54626
54627
54628       ac_ext=cpp
54629 ac_cpp='$CXXCPP $CPPFLAGS'
54630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54633
54634       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54635 /* end confdefs.h.  */
54636 #include <math.h>
54637 int
54638 main ()
54639 {
54640  atan2l(0, 0);
54641   ;
54642   return 0;
54643 }
54644 _ACEOF
54645 if ac_fn_cxx_try_compile "$LINENO"; then :
54646   glibcxx_cv_func_atan2l_use=yes
54647 else
54648   glibcxx_cv_func_atan2l_use=no
54649 fi
54650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54651       ac_ext=c
54652 ac_cpp='$CPP $CPPFLAGS'
54653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54656
54657
54658 fi
54659
54660   fi
54661   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
54662 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
54663
54664   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
54665     for ac_func in atan2l
54666 do :
54667   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
54668 if test "x$ac_cv_func_atan2l" = x""yes; then :
54669   cat >>confdefs.h <<_ACEOF
54670 #define HAVE_ATAN2L 1
54671 _ACEOF
54672
54673 fi
54674 done
54675
54676   else
54677
54678   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
54679 $as_echo_n "checking for _atan2l declaration... " >&6; }
54680   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
54681     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
54682   $as_echo_n "(cached) " >&6
54683 else
54684
54685
54686       ac_ext=cpp
54687 ac_cpp='$CXXCPP $CPPFLAGS'
54688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54691
54692       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54693 /* end confdefs.h.  */
54694 #include <math.h>
54695 int
54696 main ()
54697 {
54698  _atan2l(0, 0);
54699   ;
54700   return 0;
54701 }
54702 _ACEOF
54703 if ac_fn_cxx_try_compile "$LINENO"; then :
54704   glibcxx_cv_func__atan2l_use=yes
54705 else
54706   glibcxx_cv_func__atan2l_use=no
54707 fi
54708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54709       ac_ext=c
54710 ac_cpp='$CPP $CPPFLAGS'
54711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54714
54715
54716 fi
54717
54718   fi
54719   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
54720 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
54721
54722     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
54723       for ac_func in _atan2l
54724 do :
54725   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
54726 if test "x$ac_cv_func__atan2l" = x""yes; then :
54727   cat >>confdefs.h <<_ACEOF
54728 #define HAVE__ATAN2L 1
54729 _ACEOF
54730
54731 fi
54732 done
54733
54734     fi
54735   fi
54736
54737
54738
54739
54740
54741   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
54742 $as_echo_n "checking for expl declaration... " >&6; }
54743   if test x${glibcxx_cv_func_expl_use+set} != xset; then
54744     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
54745   $as_echo_n "(cached) " >&6
54746 else
54747
54748
54749       ac_ext=cpp
54750 ac_cpp='$CXXCPP $CPPFLAGS'
54751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54754
54755       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54756 /* end confdefs.h.  */
54757 #include <math.h>
54758                       #ifdef HAVE_IEEEFP_H
54759                       #include <ieeefp.h>
54760                       #endif
54761
54762 int
54763 main ()
54764 {
54765  expl(0);
54766   ;
54767   return 0;
54768 }
54769 _ACEOF
54770 if ac_fn_cxx_try_compile "$LINENO"; then :
54771   glibcxx_cv_func_expl_use=yes
54772 else
54773   glibcxx_cv_func_expl_use=no
54774 fi
54775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54776       ac_ext=c
54777 ac_cpp='$CPP $CPPFLAGS'
54778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54781
54782
54783 fi
54784
54785   fi
54786   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
54787 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
54788
54789   if test x$glibcxx_cv_func_expl_use = x"yes"; then
54790     for ac_func in expl
54791 do :
54792   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
54793 if test "x$ac_cv_func_expl" = x""yes; then :
54794   cat >>confdefs.h <<_ACEOF
54795 #define HAVE_EXPL 1
54796 _ACEOF
54797
54798 fi
54799 done
54800
54801   else
54802
54803   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
54804 $as_echo_n "checking for _expl declaration... " >&6; }
54805   if test x${glibcxx_cv_func__expl_use+set} != xset; then
54806     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
54807   $as_echo_n "(cached) " >&6
54808 else
54809
54810
54811       ac_ext=cpp
54812 ac_cpp='$CXXCPP $CPPFLAGS'
54813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54816
54817       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54818 /* end confdefs.h.  */
54819 #include <math.h>
54820                       #ifdef HAVE_IEEEFP_H
54821                       #include <ieeefp.h>
54822                       #endif
54823
54824 int
54825 main ()
54826 {
54827  _expl(0);
54828   ;
54829   return 0;
54830 }
54831 _ACEOF
54832 if ac_fn_cxx_try_compile "$LINENO"; then :
54833   glibcxx_cv_func__expl_use=yes
54834 else
54835   glibcxx_cv_func__expl_use=no
54836 fi
54837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54838       ac_ext=c
54839 ac_cpp='$CPP $CPPFLAGS'
54840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54843
54844
54845 fi
54846
54847   fi
54848   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
54849 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
54850
54851     if test x$glibcxx_cv_func__expl_use = x"yes"; then
54852       for ac_func in _expl
54853 do :
54854   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
54855 if test "x$ac_cv_func__expl" = x""yes; then :
54856   cat >>confdefs.h <<_ACEOF
54857 #define HAVE__EXPL 1
54858 _ACEOF
54859
54860 fi
54861 done
54862
54863     fi
54864   fi
54865
54866
54867
54868
54869
54870   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
54871 $as_echo_n "checking for fabsl declaration... " >&6; }
54872   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
54873     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
54874   $as_echo_n "(cached) " >&6
54875 else
54876
54877
54878       ac_ext=cpp
54879 ac_cpp='$CXXCPP $CPPFLAGS'
54880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54883
54884       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54885 /* end confdefs.h.  */
54886 #include <math.h>
54887                       #ifdef HAVE_IEEEFP_H
54888                       #include <ieeefp.h>
54889                       #endif
54890
54891 int
54892 main ()
54893 {
54894  fabsl(0);
54895   ;
54896   return 0;
54897 }
54898 _ACEOF
54899 if ac_fn_cxx_try_compile "$LINENO"; then :
54900   glibcxx_cv_func_fabsl_use=yes
54901 else
54902   glibcxx_cv_func_fabsl_use=no
54903 fi
54904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54905       ac_ext=c
54906 ac_cpp='$CPP $CPPFLAGS'
54907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54910
54911
54912 fi
54913
54914   fi
54915   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
54916 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
54917
54918   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
54919     for ac_func in fabsl
54920 do :
54921   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
54922 if test "x$ac_cv_func_fabsl" = x""yes; then :
54923   cat >>confdefs.h <<_ACEOF
54924 #define HAVE_FABSL 1
54925 _ACEOF
54926
54927 fi
54928 done
54929
54930   else
54931
54932   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
54933 $as_echo_n "checking for _fabsl declaration... " >&6; }
54934   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
54935     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
54936   $as_echo_n "(cached) " >&6
54937 else
54938
54939
54940       ac_ext=cpp
54941 ac_cpp='$CXXCPP $CPPFLAGS'
54942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54945
54946       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54947 /* end confdefs.h.  */
54948 #include <math.h>
54949                       #ifdef HAVE_IEEEFP_H
54950                       #include <ieeefp.h>
54951                       #endif
54952
54953 int
54954 main ()
54955 {
54956  _fabsl(0);
54957   ;
54958   return 0;
54959 }
54960 _ACEOF
54961 if ac_fn_cxx_try_compile "$LINENO"; then :
54962   glibcxx_cv_func__fabsl_use=yes
54963 else
54964   glibcxx_cv_func__fabsl_use=no
54965 fi
54966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54967       ac_ext=c
54968 ac_cpp='$CPP $CPPFLAGS'
54969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54972
54973
54974 fi
54975
54976   fi
54977   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
54978 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
54979
54980     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
54981       for ac_func in _fabsl
54982 do :
54983   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
54984 if test "x$ac_cv_func__fabsl" = x""yes; then :
54985   cat >>confdefs.h <<_ACEOF
54986 #define HAVE__FABSL 1
54987 _ACEOF
54988
54989 fi
54990 done
54991
54992     fi
54993   fi
54994
54995
54996
54997
54998
54999   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
55000 $as_echo_n "checking for fmodl declaration... " >&6; }
55001   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
55002     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
55003   $as_echo_n "(cached) " >&6
55004 else
55005
55006
55007       ac_ext=cpp
55008 ac_cpp='$CXXCPP $CPPFLAGS'
55009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55012
55013       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55014 /* end confdefs.h.  */
55015 #include <math.h>
55016 int
55017 main ()
55018 {
55019  fmodl(0, 0);
55020   ;
55021   return 0;
55022 }
55023 _ACEOF
55024 if ac_fn_cxx_try_compile "$LINENO"; then :
55025   glibcxx_cv_func_fmodl_use=yes
55026 else
55027   glibcxx_cv_func_fmodl_use=no
55028 fi
55029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55030       ac_ext=c
55031 ac_cpp='$CPP $CPPFLAGS'
55032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55035
55036
55037 fi
55038
55039   fi
55040   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
55041 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
55042
55043   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
55044     for ac_func in fmodl
55045 do :
55046   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
55047 if test "x$ac_cv_func_fmodl" = x""yes; then :
55048   cat >>confdefs.h <<_ACEOF
55049 #define HAVE_FMODL 1
55050 _ACEOF
55051
55052 fi
55053 done
55054
55055   else
55056
55057   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
55058 $as_echo_n "checking for _fmodl declaration... " >&6; }
55059   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
55060     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
55061   $as_echo_n "(cached) " >&6
55062 else
55063
55064
55065       ac_ext=cpp
55066 ac_cpp='$CXXCPP $CPPFLAGS'
55067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55070
55071       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55072 /* end confdefs.h.  */
55073 #include <math.h>
55074 int
55075 main ()
55076 {
55077  _fmodl(0, 0);
55078   ;
55079   return 0;
55080 }
55081 _ACEOF
55082 if ac_fn_cxx_try_compile "$LINENO"; then :
55083   glibcxx_cv_func__fmodl_use=yes
55084 else
55085   glibcxx_cv_func__fmodl_use=no
55086 fi
55087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55088       ac_ext=c
55089 ac_cpp='$CPP $CPPFLAGS'
55090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55093
55094
55095 fi
55096
55097   fi
55098   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
55099 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
55100
55101     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
55102       for ac_func in _fmodl
55103 do :
55104   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
55105 if test "x$ac_cv_func__fmodl" = x""yes; then :
55106   cat >>confdefs.h <<_ACEOF
55107 #define HAVE__FMODL 1
55108 _ACEOF
55109
55110 fi
55111 done
55112
55113     fi
55114   fi
55115
55116
55117
55118
55119
55120   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
55121 $as_echo_n "checking for frexpl declaration... " >&6; }
55122   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
55123     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
55124   $as_echo_n "(cached) " >&6
55125 else
55126
55127
55128       ac_ext=cpp
55129 ac_cpp='$CXXCPP $CPPFLAGS'
55130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55133
55134       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55135 /* end confdefs.h.  */
55136 #include <math.h>
55137 int
55138 main ()
55139 {
55140  frexpl(0, 0);
55141   ;
55142   return 0;
55143 }
55144 _ACEOF
55145 if ac_fn_cxx_try_compile "$LINENO"; then :
55146   glibcxx_cv_func_frexpl_use=yes
55147 else
55148   glibcxx_cv_func_frexpl_use=no
55149 fi
55150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55151       ac_ext=c
55152 ac_cpp='$CPP $CPPFLAGS'
55153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55156
55157
55158 fi
55159
55160   fi
55161   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
55162 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
55163
55164   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
55165     for ac_func in frexpl
55166 do :
55167   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
55168 if test "x$ac_cv_func_frexpl" = x""yes; then :
55169   cat >>confdefs.h <<_ACEOF
55170 #define HAVE_FREXPL 1
55171 _ACEOF
55172
55173 fi
55174 done
55175
55176   else
55177
55178   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
55179 $as_echo_n "checking for _frexpl declaration... " >&6; }
55180   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
55181     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
55182   $as_echo_n "(cached) " >&6
55183 else
55184
55185
55186       ac_ext=cpp
55187 ac_cpp='$CXXCPP $CPPFLAGS'
55188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55191
55192       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55193 /* end confdefs.h.  */
55194 #include <math.h>
55195 int
55196 main ()
55197 {
55198  _frexpl(0, 0);
55199   ;
55200   return 0;
55201 }
55202 _ACEOF
55203 if ac_fn_cxx_try_compile "$LINENO"; then :
55204   glibcxx_cv_func__frexpl_use=yes
55205 else
55206   glibcxx_cv_func__frexpl_use=no
55207 fi
55208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55209       ac_ext=c
55210 ac_cpp='$CPP $CPPFLAGS'
55211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55214
55215
55216 fi
55217
55218   fi
55219   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
55220 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
55221
55222     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
55223       for ac_func in _frexpl
55224 do :
55225   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
55226 if test "x$ac_cv_func__frexpl" = x""yes; then :
55227   cat >>confdefs.h <<_ACEOF
55228 #define HAVE__FREXPL 1
55229 _ACEOF
55230
55231 fi
55232 done
55233
55234     fi
55235   fi
55236
55237
55238
55239
55240
55241   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
55242 $as_echo_n "checking for hypotl declaration... " >&6; }
55243   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
55244     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
55245   $as_echo_n "(cached) " >&6
55246 else
55247
55248
55249       ac_ext=cpp
55250 ac_cpp='$CXXCPP $CPPFLAGS'
55251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55254
55255       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55256 /* end confdefs.h.  */
55257 #include <math.h>
55258 int
55259 main ()
55260 {
55261  hypotl(0, 0);
55262   ;
55263   return 0;
55264 }
55265 _ACEOF
55266 if ac_fn_cxx_try_compile "$LINENO"; then :
55267   glibcxx_cv_func_hypotl_use=yes
55268 else
55269   glibcxx_cv_func_hypotl_use=no
55270 fi
55271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55272       ac_ext=c
55273 ac_cpp='$CPP $CPPFLAGS'
55274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55277
55278
55279 fi
55280
55281   fi
55282   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
55283 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
55284
55285   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
55286     for ac_func in hypotl
55287 do :
55288   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
55289 if test "x$ac_cv_func_hypotl" = x""yes; then :
55290   cat >>confdefs.h <<_ACEOF
55291 #define HAVE_HYPOTL 1
55292 _ACEOF
55293
55294 fi
55295 done
55296
55297   else
55298
55299   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
55300 $as_echo_n "checking for _hypotl declaration... " >&6; }
55301   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
55302     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
55303   $as_echo_n "(cached) " >&6
55304 else
55305
55306
55307       ac_ext=cpp
55308 ac_cpp='$CXXCPP $CPPFLAGS'
55309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55312
55313       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55314 /* end confdefs.h.  */
55315 #include <math.h>
55316 int
55317 main ()
55318 {
55319  _hypotl(0, 0);
55320   ;
55321   return 0;
55322 }
55323 _ACEOF
55324 if ac_fn_cxx_try_compile "$LINENO"; then :
55325   glibcxx_cv_func__hypotl_use=yes
55326 else
55327   glibcxx_cv_func__hypotl_use=no
55328 fi
55329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55330       ac_ext=c
55331 ac_cpp='$CPP $CPPFLAGS'
55332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55335
55336
55337 fi
55338
55339   fi
55340   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
55341 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
55342
55343     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
55344       for ac_func in _hypotl
55345 do :
55346   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
55347 if test "x$ac_cv_func__hypotl" = x""yes; then :
55348   cat >>confdefs.h <<_ACEOF
55349 #define HAVE__HYPOTL 1
55350 _ACEOF
55351
55352 fi
55353 done
55354
55355     fi
55356   fi
55357
55358
55359
55360
55361
55362   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
55363 $as_echo_n "checking for ldexpl declaration... " >&6; }
55364   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
55365     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
55366   $as_echo_n "(cached) " >&6
55367 else
55368
55369
55370       ac_ext=cpp
55371 ac_cpp='$CXXCPP $CPPFLAGS'
55372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55375
55376       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55377 /* end confdefs.h.  */
55378 #include <math.h>
55379 int
55380 main ()
55381 {
55382  ldexpl(0, 0);
55383   ;
55384   return 0;
55385 }
55386 _ACEOF
55387 if ac_fn_cxx_try_compile "$LINENO"; then :
55388   glibcxx_cv_func_ldexpl_use=yes
55389 else
55390   glibcxx_cv_func_ldexpl_use=no
55391 fi
55392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55393       ac_ext=c
55394 ac_cpp='$CPP $CPPFLAGS'
55395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55398
55399
55400 fi
55401
55402   fi
55403   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
55404 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
55405
55406   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
55407     for ac_func in ldexpl
55408 do :
55409   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
55410 if test "x$ac_cv_func_ldexpl" = x""yes; then :
55411   cat >>confdefs.h <<_ACEOF
55412 #define HAVE_LDEXPL 1
55413 _ACEOF
55414
55415 fi
55416 done
55417
55418   else
55419
55420   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
55421 $as_echo_n "checking for _ldexpl declaration... " >&6; }
55422   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
55423     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
55424   $as_echo_n "(cached) " >&6
55425 else
55426
55427
55428       ac_ext=cpp
55429 ac_cpp='$CXXCPP $CPPFLAGS'
55430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55433
55434       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55435 /* end confdefs.h.  */
55436 #include <math.h>
55437 int
55438 main ()
55439 {
55440  _ldexpl(0, 0);
55441   ;
55442   return 0;
55443 }
55444 _ACEOF
55445 if ac_fn_cxx_try_compile "$LINENO"; then :
55446   glibcxx_cv_func__ldexpl_use=yes
55447 else
55448   glibcxx_cv_func__ldexpl_use=no
55449 fi
55450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55451       ac_ext=c
55452 ac_cpp='$CPP $CPPFLAGS'
55453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55456
55457
55458 fi
55459
55460   fi
55461   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
55462 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
55463
55464     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
55465       for ac_func in _ldexpl
55466 do :
55467   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
55468 if test "x$ac_cv_func__ldexpl" = x""yes; then :
55469   cat >>confdefs.h <<_ACEOF
55470 #define HAVE__LDEXPL 1
55471 _ACEOF
55472
55473 fi
55474 done
55475
55476     fi
55477   fi
55478
55479
55480
55481
55482
55483   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
55484 $as_echo_n "checking for logl declaration... " >&6; }
55485   if test x${glibcxx_cv_func_logl_use+set} != xset; then
55486     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
55487   $as_echo_n "(cached) " >&6
55488 else
55489
55490
55491       ac_ext=cpp
55492 ac_cpp='$CXXCPP $CPPFLAGS'
55493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55496
55497       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55498 /* end confdefs.h.  */
55499 #include <math.h>
55500                       #ifdef HAVE_IEEEFP_H
55501                       #include <ieeefp.h>
55502                       #endif
55503
55504 int
55505 main ()
55506 {
55507  logl(0);
55508   ;
55509   return 0;
55510 }
55511 _ACEOF
55512 if ac_fn_cxx_try_compile "$LINENO"; then :
55513   glibcxx_cv_func_logl_use=yes
55514 else
55515   glibcxx_cv_func_logl_use=no
55516 fi
55517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55518       ac_ext=c
55519 ac_cpp='$CPP $CPPFLAGS'
55520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55523
55524
55525 fi
55526
55527   fi
55528   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
55529 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
55530
55531   if test x$glibcxx_cv_func_logl_use = x"yes"; then
55532     for ac_func in logl
55533 do :
55534   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
55535 if test "x$ac_cv_func_logl" = x""yes; then :
55536   cat >>confdefs.h <<_ACEOF
55537 #define HAVE_LOGL 1
55538 _ACEOF
55539
55540 fi
55541 done
55542
55543   else
55544
55545   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
55546 $as_echo_n "checking for _logl declaration... " >&6; }
55547   if test x${glibcxx_cv_func__logl_use+set} != xset; then
55548     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
55549   $as_echo_n "(cached) " >&6
55550 else
55551
55552
55553       ac_ext=cpp
55554 ac_cpp='$CXXCPP $CPPFLAGS'
55555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55558
55559       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55560 /* end confdefs.h.  */
55561 #include <math.h>
55562                       #ifdef HAVE_IEEEFP_H
55563                       #include <ieeefp.h>
55564                       #endif
55565
55566 int
55567 main ()
55568 {
55569  _logl(0);
55570   ;
55571   return 0;
55572 }
55573 _ACEOF
55574 if ac_fn_cxx_try_compile "$LINENO"; then :
55575   glibcxx_cv_func__logl_use=yes
55576 else
55577   glibcxx_cv_func__logl_use=no
55578 fi
55579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55580       ac_ext=c
55581 ac_cpp='$CPP $CPPFLAGS'
55582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55585
55586
55587 fi
55588
55589   fi
55590   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
55591 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
55592
55593     if test x$glibcxx_cv_func__logl_use = x"yes"; then
55594       for ac_func in _logl
55595 do :
55596   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
55597 if test "x$ac_cv_func__logl" = x""yes; then :
55598   cat >>confdefs.h <<_ACEOF
55599 #define HAVE__LOGL 1
55600 _ACEOF
55601
55602 fi
55603 done
55604
55605     fi
55606   fi
55607
55608
55609
55610
55611
55612   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
55613 $as_echo_n "checking for log10l declaration... " >&6; }
55614   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
55615     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
55616   $as_echo_n "(cached) " >&6
55617 else
55618
55619
55620       ac_ext=cpp
55621 ac_cpp='$CXXCPP $CPPFLAGS'
55622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55625
55626       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55627 /* end confdefs.h.  */
55628 #include <math.h>
55629                       #ifdef HAVE_IEEEFP_H
55630                       #include <ieeefp.h>
55631                       #endif
55632
55633 int
55634 main ()
55635 {
55636  log10l(0);
55637   ;
55638   return 0;
55639 }
55640 _ACEOF
55641 if ac_fn_cxx_try_compile "$LINENO"; then :
55642   glibcxx_cv_func_log10l_use=yes
55643 else
55644   glibcxx_cv_func_log10l_use=no
55645 fi
55646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55647       ac_ext=c
55648 ac_cpp='$CPP $CPPFLAGS'
55649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55652
55653
55654 fi
55655
55656   fi
55657   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
55658 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
55659
55660   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
55661     for ac_func in log10l
55662 do :
55663   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
55664 if test "x$ac_cv_func_log10l" = x""yes; then :
55665   cat >>confdefs.h <<_ACEOF
55666 #define HAVE_LOG10L 1
55667 _ACEOF
55668
55669 fi
55670 done
55671
55672   else
55673
55674   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
55675 $as_echo_n "checking for _log10l declaration... " >&6; }
55676   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
55677     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
55678   $as_echo_n "(cached) " >&6
55679 else
55680
55681
55682       ac_ext=cpp
55683 ac_cpp='$CXXCPP $CPPFLAGS'
55684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55687
55688       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55689 /* end confdefs.h.  */
55690 #include <math.h>
55691                       #ifdef HAVE_IEEEFP_H
55692                       #include <ieeefp.h>
55693                       #endif
55694
55695 int
55696 main ()
55697 {
55698  _log10l(0);
55699   ;
55700   return 0;
55701 }
55702 _ACEOF
55703 if ac_fn_cxx_try_compile "$LINENO"; then :
55704   glibcxx_cv_func__log10l_use=yes
55705 else
55706   glibcxx_cv_func__log10l_use=no
55707 fi
55708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55709       ac_ext=c
55710 ac_cpp='$CPP $CPPFLAGS'
55711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55714
55715
55716 fi
55717
55718   fi
55719   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
55720 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
55721
55722     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
55723       for ac_func in _log10l
55724 do :
55725   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
55726 if test "x$ac_cv_func__log10l" = x""yes; then :
55727   cat >>confdefs.h <<_ACEOF
55728 #define HAVE__LOG10L 1
55729 _ACEOF
55730
55731 fi
55732 done
55733
55734     fi
55735   fi
55736
55737
55738
55739
55740
55741   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
55742 $as_echo_n "checking for modfl declaration... " >&6; }
55743   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
55744     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
55745   $as_echo_n "(cached) " >&6
55746 else
55747
55748
55749       ac_ext=cpp
55750 ac_cpp='$CXXCPP $CPPFLAGS'
55751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55754
55755       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55756 /* end confdefs.h.  */
55757 #include <math.h>
55758 int
55759 main ()
55760 {
55761  modfl(0, 0);
55762   ;
55763   return 0;
55764 }
55765 _ACEOF
55766 if ac_fn_cxx_try_compile "$LINENO"; then :
55767   glibcxx_cv_func_modfl_use=yes
55768 else
55769   glibcxx_cv_func_modfl_use=no
55770 fi
55771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55772       ac_ext=c
55773 ac_cpp='$CPP $CPPFLAGS'
55774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55777
55778
55779 fi
55780
55781   fi
55782   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
55783 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
55784
55785   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
55786     for ac_func in modfl
55787 do :
55788   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
55789 if test "x$ac_cv_func_modfl" = x""yes; then :
55790   cat >>confdefs.h <<_ACEOF
55791 #define HAVE_MODFL 1
55792 _ACEOF
55793
55794 fi
55795 done
55796
55797   else
55798
55799   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
55800 $as_echo_n "checking for _modfl declaration... " >&6; }
55801   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
55802     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
55803   $as_echo_n "(cached) " >&6
55804 else
55805
55806
55807       ac_ext=cpp
55808 ac_cpp='$CXXCPP $CPPFLAGS'
55809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55812
55813       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55814 /* end confdefs.h.  */
55815 #include <math.h>
55816 int
55817 main ()
55818 {
55819  _modfl(0, 0);
55820   ;
55821   return 0;
55822 }
55823 _ACEOF
55824 if ac_fn_cxx_try_compile "$LINENO"; then :
55825   glibcxx_cv_func__modfl_use=yes
55826 else
55827   glibcxx_cv_func__modfl_use=no
55828 fi
55829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55830       ac_ext=c
55831 ac_cpp='$CPP $CPPFLAGS'
55832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55835
55836
55837 fi
55838
55839   fi
55840   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
55841 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
55842
55843     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
55844       for ac_func in _modfl
55845 do :
55846   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
55847 if test "x$ac_cv_func__modfl" = x""yes; then :
55848   cat >>confdefs.h <<_ACEOF
55849 #define HAVE__MODFL 1
55850 _ACEOF
55851
55852 fi
55853 done
55854
55855     fi
55856   fi
55857
55858
55859
55860
55861
55862   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
55863 $as_echo_n "checking for powl declaration... " >&6; }
55864   if test x${glibcxx_cv_func_powl_use+set} != xset; then
55865     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
55866   $as_echo_n "(cached) " >&6
55867 else
55868
55869
55870       ac_ext=cpp
55871 ac_cpp='$CXXCPP $CPPFLAGS'
55872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55875
55876       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55877 /* end confdefs.h.  */
55878 #include <math.h>
55879 int
55880 main ()
55881 {
55882  powl(0, 0);
55883   ;
55884   return 0;
55885 }
55886 _ACEOF
55887 if ac_fn_cxx_try_compile "$LINENO"; then :
55888   glibcxx_cv_func_powl_use=yes
55889 else
55890   glibcxx_cv_func_powl_use=no
55891 fi
55892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55893       ac_ext=c
55894 ac_cpp='$CPP $CPPFLAGS'
55895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55898
55899
55900 fi
55901
55902   fi
55903   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
55904 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
55905
55906   if test x$glibcxx_cv_func_powl_use = x"yes"; then
55907     for ac_func in powl
55908 do :
55909   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
55910 if test "x$ac_cv_func_powl" = x""yes; then :
55911   cat >>confdefs.h <<_ACEOF
55912 #define HAVE_POWL 1
55913 _ACEOF
55914
55915 fi
55916 done
55917
55918   else
55919
55920   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
55921 $as_echo_n "checking for _powl declaration... " >&6; }
55922   if test x${glibcxx_cv_func__powl_use+set} != xset; then
55923     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
55924   $as_echo_n "(cached) " >&6
55925 else
55926
55927
55928       ac_ext=cpp
55929 ac_cpp='$CXXCPP $CPPFLAGS'
55930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55933
55934       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55935 /* end confdefs.h.  */
55936 #include <math.h>
55937 int
55938 main ()
55939 {
55940  _powl(0, 0);
55941   ;
55942   return 0;
55943 }
55944 _ACEOF
55945 if ac_fn_cxx_try_compile "$LINENO"; then :
55946   glibcxx_cv_func__powl_use=yes
55947 else
55948   glibcxx_cv_func__powl_use=no
55949 fi
55950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55951       ac_ext=c
55952 ac_cpp='$CPP $CPPFLAGS'
55953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55956
55957
55958 fi
55959
55960   fi
55961   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
55962 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
55963
55964     if test x$glibcxx_cv_func__powl_use = x"yes"; then
55965       for ac_func in _powl
55966 do :
55967   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
55968 if test "x$ac_cv_func__powl" = x""yes; then :
55969   cat >>confdefs.h <<_ACEOF
55970 #define HAVE__POWL 1
55971 _ACEOF
55972
55973 fi
55974 done
55975
55976     fi
55977   fi
55978
55979
55980
55981
55982
55983   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
55984 $as_echo_n "checking for sqrtl declaration... " >&6; }
55985   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
55986     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
55987   $as_echo_n "(cached) " >&6
55988 else
55989
55990
55991       ac_ext=cpp
55992 ac_cpp='$CXXCPP $CPPFLAGS'
55993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55996
55997       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55998 /* end confdefs.h.  */
55999 #include <math.h>
56000                       #ifdef HAVE_IEEEFP_H
56001                       #include <ieeefp.h>
56002                       #endif
56003
56004 int
56005 main ()
56006 {
56007  sqrtl(0);
56008   ;
56009   return 0;
56010 }
56011 _ACEOF
56012 if ac_fn_cxx_try_compile "$LINENO"; then :
56013   glibcxx_cv_func_sqrtl_use=yes
56014 else
56015   glibcxx_cv_func_sqrtl_use=no
56016 fi
56017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56018       ac_ext=c
56019 ac_cpp='$CPP $CPPFLAGS'
56020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56023
56024
56025 fi
56026
56027   fi
56028   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
56029 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
56030
56031   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
56032     for ac_func in sqrtl
56033 do :
56034   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
56035 if test "x$ac_cv_func_sqrtl" = x""yes; then :
56036   cat >>confdefs.h <<_ACEOF
56037 #define HAVE_SQRTL 1
56038 _ACEOF
56039
56040 fi
56041 done
56042
56043   else
56044
56045   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
56046 $as_echo_n "checking for _sqrtl declaration... " >&6; }
56047   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
56048     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
56049   $as_echo_n "(cached) " >&6
56050 else
56051
56052
56053       ac_ext=cpp
56054 ac_cpp='$CXXCPP $CPPFLAGS'
56055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56058
56059       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56060 /* end confdefs.h.  */
56061 #include <math.h>
56062                       #ifdef HAVE_IEEEFP_H
56063                       #include <ieeefp.h>
56064                       #endif
56065
56066 int
56067 main ()
56068 {
56069  _sqrtl(0);
56070   ;
56071   return 0;
56072 }
56073 _ACEOF
56074 if ac_fn_cxx_try_compile "$LINENO"; then :
56075   glibcxx_cv_func__sqrtl_use=yes
56076 else
56077   glibcxx_cv_func__sqrtl_use=no
56078 fi
56079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56080       ac_ext=c
56081 ac_cpp='$CPP $CPPFLAGS'
56082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56085
56086
56087 fi
56088
56089   fi
56090   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
56091 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
56092
56093     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
56094       for ac_func in _sqrtl
56095 do :
56096   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
56097 if test "x$ac_cv_func__sqrtl" = x""yes; then :
56098   cat >>confdefs.h <<_ACEOF
56099 #define HAVE__SQRTL 1
56100 _ACEOF
56101
56102 fi
56103 done
56104
56105     fi
56106   fi
56107
56108
56109
56110
56111
56112   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
56113 $as_echo_n "checking for sincosl declaration... " >&6; }
56114   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
56115     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
56116   $as_echo_n "(cached) " >&6
56117 else
56118
56119
56120       ac_ext=cpp
56121 ac_cpp='$CXXCPP $CPPFLAGS'
56122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56125
56126       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56127 /* end confdefs.h.  */
56128 #include <math.h>
56129 int
56130 main ()
56131 {
56132  sincosl(0, 0, 0);
56133   ;
56134   return 0;
56135 }
56136 _ACEOF
56137 if ac_fn_cxx_try_compile "$LINENO"; then :
56138   glibcxx_cv_func_sincosl_use=yes
56139 else
56140   glibcxx_cv_func_sincosl_use=no
56141 fi
56142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56143       ac_ext=c
56144 ac_cpp='$CPP $CPPFLAGS'
56145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56148
56149
56150 fi
56151
56152   fi
56153   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
56154 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
56155
56156   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
56157     for ac_func in sincosl
56158 do :
56159   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
56160 if test "x$ac_cv_func_sincosl" = x""yes; then :
56161   cat >>confdefs.h <<_ACEOF
56162 #define HAVE_SINCOSL 1
56163 _ACEOF
56164
56165 fi
56166 done
56167
56168   else
56169
56170   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
56171 $as_echo_n "checking for _sincosl declaration... " >&6; }
56172   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
56173     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
56174   $as_echo_n "(cached) " >&6
56175 else
56176
56177
56178       ac_ext=cpp
56179 ac_cpp='$CXXCPP $CPPFLAGS'
56180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56183
56184       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56185 /* end confdefs.h.  */
56186 #include <math.h>
56187 int
56188 main ()
56189 {
56190  _sincosl(0, 0, 0);
56191   ;
56192   return 0;
56193 }
56194 _ACEOF
56195 if ac_fn_cxx_try_compile "$LINENO"; then :
56196   glibcxx_cv_func__sincosl_use=yes
56197 else
56198   glibcxx_cv_func__sincosl_use=no
56199 fi
56200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56201       ac_ext=c
56202 ac_cpp='$CPP $CPPFLAGS'
56203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56206
56207
56208 fi
56209
56210   fi
56211   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
56212 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
56213
56214     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
56215       for ac_func in _sincosl
56216 do :
56217   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
56218 if test "x$ac_cv_func__sincosl" = x""yes; then :
56219   cat >>confdefs.h <<_ACEOF
56220 #define HAVE__SINCOSL 1
56221 _ACEOF
56222
56223 fi
56224 done
56225
56226     fi
56227   fi
56228
56229
56230
56231
56232
56233   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
56234 $as_echo_n "checking for finitel declaration... " >&6; }
56235   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
56236     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
56237   $as_echo_n "(cached) " >&6
56238 else
56239
56240
56241       ac_ext=cpp
56242 ac_cpp='$CXXCPP $CPPFLAGS'
56243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56246
56247       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56248 /* end confdefs.h.  */
56249 #include <math.h>
56250                       #ifdef HAVE_IEEEFP_H
56251                       #include <ieeefp.h>
56252                       #endif
56253
56254 int
56255 main ()
56256 {
56257  finitel(0);
56258   ;
56259   return 0;
56260 }
56261 _ACEOF
56262 if ac_fn_cxx_try_compile "$LINENO"; then :
56263   glibcxx_cv_func_finitel_use=yes
56264 else
56265   glibcxx_cv_func_finitel_use=no
56266 fi
56267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56268       ac_ext=c
56269 ac_cpp='$CPP $CPPFLAGS'
56270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56273
56274
56275 fi
56276
56277   fi
56278   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
56279 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
56280
56281   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
56282     for ac_func in finitel
56283 do :
56284   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
56285 if test "x$ac_cv_func_finitel" = x""yes; then :
56286   cat >>confdefs.h <<_ACEOF
56287 #define HAVE_FINITEL 1
56288 _ACEOF
56289
56290 fi
56291 done
56292
56293   else
56294
56295   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
56296 $as_echo_n "checking for _finitel declaration... " >&6; }
56297   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
56298     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
56299   $as_echo_n "(cached) " >&6
56300 else
56301
56302
56303       ac_ext=cpp
56304 ac_cpp='$CXXCPP $CPPFLAGS'
56305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56308
56309       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56310 /* end confdefs.h.  */
56311 #include <math.h>
56312                       #ifdef HAVE_IEEEFP_H
56313                       #include <ieeefp.h>
56314                       #endif
56315
56316 int
56317 main ()
56318 {
56319  _finitel(0);
56320   ;
56321   return 0;
56322 }
56323 _ACEOF
56324 if ac_fn_cxx_try_compile "$LINENO"; then :
56325   glibcxx_cv_func__finitel_use=yes
56326 else
56327   glibcxx_cv_func__finitel_use=no
56328 fi
56329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56330       ac_ext=c
56331 ac_cpp='$CPP $CPPFLAGS'
56332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56335
56336
56337 fi
56338
56339   fi
56340   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
56341 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
56342
56343     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
56344       for ac_func in _finitel
56345 do :
56346   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
56347 if test "x$ac_cv_func__finitel" = x""yes; then :
56348   cat >>confdefs.h <<_ACEOF
56349 #define HAVE__FINITEL 1
56350 _ACEOF
56351
56352 fi
56353 done
56354
56355     fi
56356   fi
56357
56358
56359
56360
56361   LIBS="$ac_save_LIBS"
56362   CXXFLAGS="$ac_save_CXXFLAGS"
56363
56364
56365   ac_test_CXXFLAGS="${CXXFLAGS+set}"
56366   ac_save_CXXFLAGS="$CXXFLAGS"
56367   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
56368
56369
56370   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
56371 $as_echo_n "checking for strtold declaration... " >&6; }
56372   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
56373     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
56374   $as_echo_n "(cached) " >&6
56375 else
56376
56377
56378       ac_ext=cpp
56379 ac_cpp='$CXXCPP $CPPFLAGS'
56380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56383
56384       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56385 /* end confdefs.h.  */
56386 #include <stdlib.h>
56387 int
56388 main ()
56389 {
56390  strtold(0, 0);
56391   ;
56392   return 0;
56393 }
56394 _ACEOF
56395 if ac_fn_cxx_try_compile "$LINENO"; then :
56396   glibcxx_cv_func_strtold_use=yes
56397 else
56398   glibcxx_cv_func_strtold_use=no
56399 fi
56400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56401       ac_ext=c
56402 ac_cpp='$CPP $CPPFLAGS'
56403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56406
56407
56408 fi
56409
56410   fi
56411   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
56412 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
56413   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
56414     for ac_func in strtold
56415 do :
56416   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
56417 if test "x$ac_cv_func_strtold" = x""yes; then :
56418   cat >>confdefs.h <<_ACEOF
56419 #define HAVE_STRTOLD 1
56420 _ACEOF
56421
56422 fi
56423 done
56424
56425   fi
56426
56427
56428
56429
56430   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
56431 $as_echo_n "checking for strtof declaration... " >&6; }
56432   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
56433     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
56434   $as_echo_n "(cached) " >&6
56435 else
56436
56437
56438       ac_ext=cpp
56439 ac_cpp='$CXXCPP $CPPFLAGS'
56440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56443
56444       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56445 /* end confdefs.h.  */
56446 #include <stdlib.h>
56447 int
56448 main ()
56449 {
56450  strtof(0, 0);
56451   ;
56452   return 0;
56453 }
56454 _ACEOF
56455 if ac_fn_cxx_try_compile "$LINENO"; then :
56456   glibcxx_cv_func_strtof_use=yes
56457 else
56458   glibcxx_cv_func_strtof_use=no
56459 fi
56460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56461       ac_ext=c
56462 ac_cpp='$CPP $CPPFLAGS'
56463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56466
56467
56468 fi
56469
56470   fi
56471   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
56472 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
56473   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
56474     for ac_func in strtof
56475 do :
56476   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
56477 if test "x$ac_cv_func_strtof" = x""yes; then :
56478   cat >>confdefs.h <<_ACEOF
56479 #define HAVE_STRTOF 1
56480 _ACEOF
56481
56482 fi
56483 done
56484
56485   fi
56486
56487
56488
56489
56490   CXXFLAGS="$ac_save_CXXFLAGS"
56491
56492     ;;
56493   *-netbsd*)
56494     SECTION_FLAGS='-ffunction-sections -fdata-sections'
56495
56496
56497   # If we're not using GNU ld, then there's no point in even trying these
56498   # tests.  Check for that first.  We should have already tested for gld
56499   # by now (in libtool), but require it now just to be safe...
56500   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
56501   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
56502
56503
56504
56505   # The name set by libtool depends on the version of libtool.  Shame on us
56506   # for depending on an impl detail, but c'est la vie.  Older versions used
56507   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
56508   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
56509   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
56510   # set (hence we're using an older libtool), then set it.
56511   if test x${with_gnu_ld+set} != xset; then
56512     if test x${ac_cv_prog_gnu_ld+set} != xset; then
56513       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
56514       with_gnu_ld=no
56515     else
56516       with_gnu_ld=$ac_cv_prog_gnu_ld
56517     fi
56518   fi
56519
56520   # Start by getting the version number.  I think the libtool test already
56521   # does some of this, but throws away the result.
56522   glibcxx_ld_is_gold=no
56523   if test x"$with_gnu_ld" = x"yes"; then
56524     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
56525 $as_echo_n "checking for ld version... " >&6; }
56526
56527     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
56528       glibcxx_ld_is_gold=yes
56529     fi
56530     ldver=`$LD --version 2>/dev/null | head -1 | \
56531            sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
56532
56533     glibcxx_gnu_ld_version=`echo $ldver | \
56534            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
56535     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
56536 $as_echo "$glibcxx_gnu_ld_version" >&6; }
56537   fi
56538
56539   # Set --gc-sections.
56540   glibcxx_have_gc_sections=no
56541   if test "$glibcxx_ld_is_gold" = "yes"; then
56542     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
56543       glibcxx_have_gc_sections=yes
56544     fi
56545   else
56546     glibcxx_gcsections_min_ld=21602
56547     if test x"$with_gnu_ld" = x"yes" &&
56548         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
56549       glibcxx_have_gc_sections=yes
56550     fi
56551   fi
56552   if test "$glibcxx_have_gc_sections" = "yes"; then
56553     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
56554     # NB: This flag only works reliably after 2.16.1. Configure tests
56555     # for this are difficult, so hard wire a value that should work.
56556
56557     ac_test_CFLAGS="${CFLAGS+set}"
56558     ac_save_CFLAGS="$CFLAGS"
56559     CFLAGS='-Wl,--gc-sections'
56560
56561     # Check for -Wl,--gc-sections
56562     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
56563 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
56564     if test x$gcc_no_link = xyes; then
56565   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
56566 fi
56567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56568 /* end confdefs.h.  */
56569  int one(void) { return 1; }
56570      int two(void) { return 2; }
56571
56572 int
56573 main ()
56574 {
56575  two();
56576   ;
56577   return 0;
56578 }
56579 _ACEOF
56580 if ac_fn_c_try_link "$LINENO"; then :
56581   ac_gcsections=yes
56582 else
56583   ac_gcsections=no
56584 fi
56585 rm -f core conftest.err conftest.$ac_objext \
56586     conftest$ac_exeext conftest.$ac_ext
56587     if test "$ac_gcsections" = "yes"; then
56588       rm -f conftest.c
56589       touch conftest.c
56590       if $CC -c conftest.c; then
56591         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
56592            grep "Warning: gc-sections option ignored" > /dev/null; then
56593           ac_gcsections=no
56594         fi
56595       fi
56596       rm -f conftest.c conftest.o conftest
56597     fi
56598     if test "$ac_gcsections" = "yes"; then
56599       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
56600     fi
56601     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
56602 $as_echo "$ac_gcsections" >&6; }
56603
56604     if test "$ac_test_CFLAGS" = set; then
56605       CFLAGS="$ac_save_CFLAGS"
56606     else
56607       # this is the suspicious part
56608       CFLAGS=''
56609     fi
56610   fi
56611
56612   # Set -z,relro.
56613   # Note this is only for shared objects.
56614   ac_ld_relro=no
56615   if test x"$with_gnu_ld" = x"yes"; then
56616     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
56617 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
56618     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
56619     if test -n "$cxx_z_relo"; then
56620       OPT_LDFLAGS="-Wl,-z,relro"
56621       ac_ld_relro=yes
56622     fi
56623     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
56624 $as_echo "$ac_ld_relro" >&6; }
56625   fi
56626
56627   # Set linker optimization flags.
56628   if test x"$with_gnu_ld" = x"yes"; then
56629     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
56630   fi
56631
56632
56633
56634
56635     $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
56636
56637     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
56638
56639     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
56640
56641     $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
56642
56643     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
56644
56645     $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
56646
56647     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
56648
56649     $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
56650
56651     if test x"long_double_math_on_this_cpu" = x"yes"; then
56652       $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
56653
56654       $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
56655
56656       $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
56657
56658     fi
56659     ;;
56660   *-netware)
56661     SECTION_FLAGS='-ffunction-sections -fdata-sections'
56662
56663
56664   # If we're not using GNU ld, then there's no point in even trying these
56665   # tests.  Check for that first.  We should have already tested for gld
56666   # by now (in libtool), but require it now just to be safe...
56667   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
56668   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
56669
56670
56671
56672   # The name set by libtool depends on the version of libtool.  Shame on us
56673   # for depending on an impl detail, but c'est la vie.  Older versions used
56674   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
56675   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
56676   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
56677   # set (hence we're using an older libtool), then set it.
56678   if test x${with_gnu_ld+set} != xset; then
56679     if test x${ac_cv_prog_gnu_ld+set} != xset; then
56680       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
56681       with_gnu_ld=no
56682     else
56683       with_gnu_ld=$ac_cv_prog_gnu_ld
56684     fi
56685   fi
56686
56687   # Start by getting the version number.  I think the libtool test already
56688   # does some of this, but throws away the result.
56689   glibcxx_ld_is_gold=no
56690   if test x"$with_gnu_ld" = x"yes"; then
56691     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
56692 $as_echo_n "checking for ld version... " >&6; }
56693
56694     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
56695       glibcxx_ld_is_gold=yes
56696     fi
56697     ldver=`$LD --version 2>/dev/null | head -1 | \
56698            sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
56699
56700     glibcxx_gnu_ld_version=`echo $ldver | \
56701            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
56702     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
56703 $as_echo "$glibcxx_gnu_ld_version" >&6; }
56704   fi
56705
56706   # Set --gc-sections.
56707   glibcxx_have_gc_sections=no
56708   if test "$glibcxx_ld_is_gold" = "yes"; then
56709     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
56710       glibcxx_have_gc_sections=yes
56711     fi
56712   else
56713     glibcxx_gcsections_min_ld=21602
56714     if test x"$with_gnu_ld" = x"yes" &&
56715         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
56716       glibcxx_have_gc_sections=yes
56717     fi
56718   fi
56719   if test "$glibcxx_have_gc_sections" = "yes"; then
56720     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
56721     # NB: This flag only works reliably after 2.16.1. Configure tests
56722     # for this are difficult, so hard wire a value that should work.
56723
56724     ac_test_CFLAGS="${CFLAGS+set}"
56725     ac_save_CFLAGS="$CFLAGS"
56726     CFLAGS='-Wl,--gc-sections'
56727
56728     # Check for -Wl,--gc-sections
56729     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
56730 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
56731     if test x$gcc_no_link = xyes; then
56732   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
56733 fi
56734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56735 /* end confdefs.h.  */
56736  int one(void) { return 1; }
56737      int two(void) { return 2; }
56738
56739 int
56740 main ()
56741 {
56742  two();
56743   ;
56744   return 0;
56745 }
56746 _ACEOF
56747 if ac_fn_c_try_link "$LINENO"; then :
56748   ac_gcsections=yes
56749 else
56750   ac_gcsections=no
56751 fi
56752 rm -f core conftest.err conftest.$ac_objext \
56753     conftest$ac_exeext conftest.$ac_ext
56754     if test "$ac_gcsections" = "yes"; then
56755       rm -f conftest.c
56756       touch conftest.c
56757       if $CC -c conftest.c; then
56758         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
56759            grep "Warning: gc-sections option ignored" > /dev/null; then
56760           ac_gcsections=no
56761         fi
56762       fi
56763       rm -f conftest.c conftest.o conftest
56764     fi
56765     if test "$ac_gcsections" = "yes"; then
56766       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
56767     fi
56768     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
56769 $as_echo "$ac_gcsections" >&6; }
56770
56771     if test "$ac_test_CFLAGS" = set; then
56772       CFLAGS="$ac_save_CFLAGS"
56773     else
56774       # this is the suspicious part
56775       CFLAGS=''
56776     fi
56777   fi
56778
56779   # Set -z,relro.
56780   # Note this is only for shared objects.
56781   ac_ld_relro=no
56782   if test x"$with_gnu_ld" = x"yes"; then
56783     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
56784 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
56785     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
56786     if test -n "$cxx_z_relo"; then
56787       OPT_LDFLAGS="-Wl,-z,relro"
56788       ac_ld_relro=yes
56789     fi
56790     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
56791 $as_echo "$ac_ld_relro" >&6; }
56792   fi
56793
56794   # Set linker optimization flags.
56795   if test x"$with_gnu_ld" = x"yes"; then
56796     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
56797   fi
56798
56799
56800
56801
56802     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
56803
56804     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
56805
56806     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
56807
56808     ;;
56809   *-qnx6.1* | *-qnx6.2*)
56810     SECTION_FLAGS='-ffunction-sections -fdata-sections'
56811
56812
56813   # If we're not using GNU ld, then there's no point in even trying these
56814   # tests.  Check for that first.  We should have already tested for gld
56815   # by now (in libtool), but require it now just to be safe...
56816   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
56817   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
56818
56819
56820
56821   # The name set by libtool depends on the version of libtool.  Shame on us
56822   # for depending on an impl detail, but c'est la vie.  Older versions used
56823   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
56824   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
56825   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
56826   # set (hence we're using an older libtool), then set it.
56827   if test x${with_gnu_ld+set} != xset; then
56828     if test x${ac_cv_prog_gnu_ld+set} != xset; then
56829       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
56830       with_gnu_ld=no
56831     else
56832       with_gnu_ld=$ac_cv_prog_gnu_ld
56833     fi
56834   fi
56835
56836   # Start by getting the version number.  I think the libtool test already
56837   # does some of this, but throws away the result.
56838   glibcxx_ld_is_gold=no
56839   if test x"$with_gnu_ld" = x"yes"; then
56840     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
56841 $as_echo_n "checking for ld version... " >&6; }
56842
56843     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
56844       glibcxx_ld_is_gold=yes
56845     fi
56846     ldver=`$LD --version 2>/dev/null | head -1 | \
56847            sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
56848
56849     glibcxx_gnu_ld_version=`echo $ldver | \
56850            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
56851     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
56852 $as_echo "$glibcxx_gnu_ld_version" >&6; }
56853   fi
56854
56855   # Set --gc-sections.
56856   glibcxx_have_gc_sections=no
56857   if test "$glibcxx_ld_is_gold" = "yes"; then
56858     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
56859       glibcxx_have_gc_sections=yes
56860     fi
56861   else
56862     glibcxx_gcsections_min_ld=21602
56863     if test x"$with_gnu_ld" = x"yes" &&
56864         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
56865       glibcxx_have_gc_sections=yes
56866     fi
56867   fi
56868   if test "$glibcxx_have_gc_sections" = "yes"; then
56869     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
56870     # NB: This flag only works reliably after 2.16.1. Configure tests
56871     # for this are difficult, so hard wire a value that should work.
56872
56873     ac_test_CFLAGS="${CFLAGS+set}"
56874     ac_save_CFLAGS="$CFLAGS"
56875     CFLAGS='-Wl,--gc-sections'
56876
56877     # Check for -Wl,--gc-sections
56878     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
56879 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
56880     if test x$gcc_no_link = xyes; then
56881   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
56882 fi
56883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56884 /* end confdefs.h.  */
56885  int one(void) { return 1; }
56886      int two(void) { return 2; }
56887
56888 int
56889 main ()
56890 {
56891  two();
56892   ;
56893   return 0;
56894 }
56895 _ACEOF
56896 if ac_fn_c_try_link "$LINENO"; then :
56897   ac_gcsections=yes
56898 else
56899   ac_gcsections=no
56900 fi
56901 rm -f core conftest.err conftest.$ac_objext \
56902     conftest$ac_exeext conftest.$ac_ext
56903     if test "$ac_gcsections" = "yes"; then
56904       rm -f conftest.c
56905       touch conftest.c
56906       if $CC -c conftest.c; then
56907         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
56908            grep "Warning: gc-sections option ignored" > /dev/null; then
56909           ac_gcsections=no
56910         fi
56911       fi
56912       rm -f conftest.c conftest.o conftest
56913     fi
56914     if test "$ac_gcsections" = "yes"; then
56915       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
56916     fi
56917     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
56918 $as_echo "$ac_gcsections" >&6; }
56919
56920     if test "$ac_test_CFLAGS" = set; then
56921       CFLAGS="$ac_save_CFLAGS"
56922     else
56923       # this is the suspicious part
56924       CFLAGS=''
56925     fi
56926   fi
56927
56928   # Set -z,relro.
56929   # Note this is only for shared objects.
56930   ac_ld_relro=no
56931   if test x"$with_gnu_ld" = x"yes"; then
56932     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
56933 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
56934     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
56935     if test -n "$cxx_z_relo"; then
56936       OPT_LDFLAGS="-Wl,-z,relro"
56937       ac_ld_relro=yes
56938     fi
56939     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
56940 $as_echo "$ac_ld_relro" >&6; }
56941   fi
56942
56943   # Set linker optimization flags.
56944   if test x"$with_gnu_ld" = x"yes"; then
56945     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
56946   fi
56947
56948
56949
56950
56951     $as_echo "#define HAVE_COSF 1" >>confdefs.h
56952
56953     $as_echo "#define HAVE_COSL 1" >>confdefs.h
56954
56955     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
56956
56957     $as_echo "#define HAVE_COSHL 1" >>confdefs.h
56958
56959     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
56960
56961     $as_echo "#define HAVE_LOGL 1" >>confdefs.h
56962
56963     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
56964
56965     $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
56966
56967     $as_echo "#define HAVE_SINF 1" >>confdefs.h
56968
56969     $as_echo "#define HAVE_SINL 1" >>confdefs.h
56970
56971     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
56972
56973     $as_echo "#define HAVE_SINHL 1" >>confdefs.h
56974
56975     ;;
56976   *-solaris*)
56977     case "$target" in
56978       *-solaris2.7 | *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
56979
56980   # If we're not using GNU ld, then there's no point in even trying these
56981   # tests.  Check for that first.  We should have already tested for gld
56982   # by now (in libtool), but require it now just to be safe...
56983   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
56984   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
56985
56986
56987
56988   # The name set by libtool depends on the version of libtool.  Shame on us
56989   # for depending on an impl detail, but c'est la vie.  Older versions used
56990   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
56991   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
56992   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
56993   # set (hence we're using an older libtool), then set it.
56994   if test x${with_gnu_ld+set} != xset; then
56995     if test x${ac_cv_prog_gnu_ld+set} != xset; then
56996       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
56997       with_gnu_ld=no
56998     else
56999       with_gnu_ld=$ac_cv_prog_gnu_ld
57000     fi
57001   fi
57002
57003   # Start by getting the version number.  I think the libtool test already
57004   # does some of this, but throws away the result.
57005   glibcxx_ld_is_gold=no
57006   if test x"$with_gnu_ld" = x"yes"; then
57007     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57008 $as_echo_n "checking for ld version... " >&6; }
57009
57010     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57011       glibcxx_ld_is_gold=yes
57012     fi
57013     ldver=`$LD --version 2>/dev/null | head -1 | \
57014            sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
57015
57016     glibcxx_gnu_ld_version=`echo $ldver | \
57017            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57018     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57019 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57020   fi
57021
57022   # Set --gc-sections.
57023   glibcxx_have_gc_sections=no
57024   if test "$glibcxx_ld_is_gold" = "yes"; then
57025     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57026       glibcxx_have_gc_sections=yes
57027     fi
57028   else
57029     glibcxx_gcsections_min_ld=21602
57030     if test x"$with_gnu_ld" = x"yes" &&
57031         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57032       glibcxx_have_gc_sections=yes
57033     fi
57034   fi
57035   if test "$glibcxx_have_gc_sections" = "yes"; then
57036     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
57037     # NB: This flag only works reliably after 2.16.1. Configure tests
57038     # for this are difficult, so hard wire a value that should work.
57039
57040     ac_test_CFLAGS="${CFLAGS+set}"
57041     ac_save_CFLAGS="$CFLAGS"
57042     CFLAGS='-Wl,--gc-sections'
57043
57044     # Check for -Wl,--gc-sections
57045     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57046 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57047     if test x$gcc_no_link = xyes; then
57048   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57049 fi
57050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57051 /* end confdefs.h.  */
57052  int one(void) { return 1; }
57053      int two(void) { return 2; }
57054
57055 int
57056 main ()
57057 {
57058  two();
57059   ;
57060   return 0;
57061 }
57062 _ACEOF
57063 if ac_fn_c_try_link "$LINENO"; then :
57064   ac_gcsections=yes
57065 else
57066   ac_gcsections=no
57067 fi
57068 rm -f core conftest.err conftest.$ac_objext \
57069     conftest$ac_exeext conftest.$ac_ext
57070     if test "$ac_gcsections" = "yes"; then
57071       rm -f conftest.c
57072       touch conftest.c
57073       if $CC -c conftest.c; then
57074         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57075            grep "Warning: gc-sections option ignored" > /dev/null; then
57076           ac_gcsections=no
57077         fi
57078       fi
57079       rm -f conftest.c conftest.o conftest
57080     fi
57081     if test "$ac_gcsections" = "yes"; then
57082       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57083     fi
57084     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57085 $as_echo "$ac_gcsections" >&6; }
57086
57087     if test "$ac_test_CFLAGS" = set; then
57088       CFLAGS="$ac_save_CFLAGS"
57089     else
57090       # this is the suspicious part
57091       CFLAGS=''
57092     fi
57093   fi
57094
57095   # Set -z,relro.
57096   # Note this is only for shared objects.
57097   ac_ld_relro=no
57098   if test x"$with_gnu_ld" = x"yes"; then
57099     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57100 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57101     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57102     if test -n "$cxx_z_relo"; then
57103       OPT_LDFLAGS="-Wl,-z,relro"
57104       ac_ld_relro=yes
57105     fi
57106     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57107 $as_echo "$ac_ld_relro" >&6; }
57108   fi
57109
57110   # Set linker optimization flags.
57111   if test x"$with_gnu_ld" = x"yes"; then
57112     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57113   fi
57114
57115
57116
57117
57118          $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
57119
57120          $as_echo "#define HAVE_FINITE 1" >>confdefs.h
57121
57122          $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
57123
57124          # All of the dependencies for wide character support are here, so
57125          # turn it on.
57126          $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
57127
57128         ;;
57129     esac
57130     case "$target" in
57131       *-*-solaris2.10)
57132       # These two C99 functions are present only in Solaris >= 10
57133       $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
57134
57135       $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
57136
57137      ;;
57138     esac
57139     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
57140
57141     $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
57142
57143     $as_echo "#define HAVE_MODFF 1" >>confdefs.h
57144
57145     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
57146
57147     ;;
57148   *-tpf)
57149     SECTION_FLAGS='-ffunction-sections -fdata-sections'
57150
57151
57152   # If we're not using GNU ld, then there's no point in even trying these
57153   # tests.  Check for that first.  We should have already tested for gld
57154   # by now (in libtool), but require it now just to be safe...
57155   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57156   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57157
57158
57159
57160   # The name set by libtool depends on the version of libtool.  Shame on us
57161   # for depending on an impl detail, but c'est la vie.  Older versions used
57162   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57163   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57164   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
57165   # set (hence we're using an older libtool), then set it.
57166   if test x${with_gnu_ld+set} != xset; then
57167     if test x${ac_cv_prog_gnu_ld+set} != xset; then
57168       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
57169       with_gnu_ld=no
57170     else
57171       with_gnu_ld=$ac_cv_prog_gnu_ld
57172     fi
57173   fi
57174
57175   # Start by getting the version number.  I think the libtool test already
57176   # does some of this, but throws away the result.
57177   glibcxx_ld_is_gold=no
57178   if test x"$with_gnu_ld" = x"yes"; then
57179     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57180 $as_echo_n "checking for ld version... " >&6; }
57181
57182     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57183       glibcxx_ld_is_gold=yes
57184     fi
57185     ldver=`$LD --version 2>/dev/null | head -1 | \
57186            sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
57187
57188     glibcxx_gnu_ld_version=`echo $ldver | \
57189            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57190     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57191 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57192   fi
57193
57194   # Set --gc-sections.
57195   glibcxx_have_gc_sections=no
57196   if test "$glibcxx_ld_is_gold" = "yes"; then
57197     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57198       glibcxx_have_gc_sections=yes
57199     fi
57200   else
57201     glibcxx_gcsections_min_ld=21602
57202     if test x"$with_gnu_ld" = x"yes" &&
57203         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57204       glibcxx_have_gc_sections=yes
57205     fi
57206   fi
57207   if test "$glibcxx_have_gc_sections" = "yes"; then
57208     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
57209     # NB: This flag only works reliably after 2.16.1. Configure tests
57210     # for this are difficult, so hard wire a value that should work.
57211
57212     ac_test_CFLAGS="${CFLAGS+set}"
57213     ac_save_CFLAGS="$CFLAGS"
57214     CFLAGS='-Wl,--gc-sections'
57215
57216     # Check for -Wl,--gc-sections
57217     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57218 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57219     if test x$gcc_no_link = xyes; then
57220   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57221 fi
57222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57223 /* end confdefs.h.  */
57224  int one(void) { return 1; }
57225      int two(void) { return 2; }
57226
57227 int
57228 main ()
57229 {
57230  two();
57231   ;
57232   return 0;
57233 }
57234 _ACEOF
57235 if ac_fn_c_try_link "$LINENO"; then :
57236   ac_gcsections=yes
57237 else
57238   ac_gcsections=no
57239 fi
57240 rm -f core conftest.err conftest.$ac_objext \
57241     conftest$ac_exeext conftest.$ac_ext
57242     if test "$ac_gcsections" = "yes"; then
57243       rm -f conftest.c
57244       touch conftest.c
57245       if $CC -c conftest.c; then
57246         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57247            grep "Warning: gc-sections option ignored" > /dev/null; then
57248           ac_gcsections=no
57249         fi
57250       fi
57251       rm -f conftest.c conftest.o conftest
57252     fi
57253     if test "$ac_gcsections" = "yes"; then
57254       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57255     fi
57256     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57257 $as_echo "$ac_gcsections" >&6; }
57258
57259     if test "$ac_test_CFLAGS" = set; then
57260       CFLAGS="$ac_save_CFLAGS"
57261     else
57262       # this is the suspicious part
57263       CFLAGS=''
57264     fi
57265   fi
57266
57267   # Set -z,relro.
57268   # Note this is only for shared objects.
57269   ac_ld_relro=no
57270   if test x"$with_gnu_ld" = x"yes"; then
57271     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57272 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57273     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57274     if test -n "$cxx_z_relo"; then
57275       OPT_LDFLAGS="-Wl,-z,relro"
57276       ac_ld_relro=yes
57277     fi
57278     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57279 $as_echo "$ac_ld_relro" >&6; }
57280   fi
57281
57282   # Set linker optimization flags.
57283   if test x"$with_gnu_ld" = x"yes"; then
57284     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57285   fi
57286
57287
57288
57289
57290     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
57291
57292     $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
57293
57294     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
57295
57296     $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
57297
57298     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
57299
57300     $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
57301
57302     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
57303
57304     $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
57305
57306     $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
57307
57308     $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
57309
57310     if test x"long_double_math_on_this_cpu" = x"yes"; then
57311       $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
57312
57313       $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
57314
57315       $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
57316
57317       $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
57318
57319     fi
57320     ;;
57321   *-vxworks)
57322     $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
57323
57324     $as_echo "#define HAVE_ASINF 1" >>confdefs.h
57325
57326     $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
57327
57328     $as_echo "#define HAVE_ATANF 1" >>confdefs.h
57329
57330     $as_echo "#define HAVE_CEILF 1" >>confdefs.h
57331
57332     $as_echo "#define HAVE_COSF 1" >>confdefs.h
57333
57334     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
57335
57336     $as_echo "#define HAVE_EXPF 1" >>confdefs.h
57337
57338     $as_echo "#define HAVE_FABSF 1" >>confdefs.h
57339
57340     $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
57341
57342     $as_echo "#define HAVE_FMODF 1" >>confdefs.h
57343
57344     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
57345
57346     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
57347
57348     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
57349
57350     $as_echo "#define HAVE_POWF 1" >>confdefs.h
57351
57352     $as_echo "#define HAVE_SINF 1" >>confdefs.h
57353
57354     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
57355
57356     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
57357
57358     $as_echo "#define HAVE_TANF 1" >>confdefs.h
57359
57360     $as_echo "#define HAVE_TANHF 1" >>confdefs.h
57361
57362     ;;
57363   *)
57364     as_fn_error "No support for this host/target combination." "$LINENO" 5
57365    ;;
57366 esac
57367
57368   fi
57369
57370   # At some point, we should differentiate between architectures
57371   # like x86, which have long double versions, and alpha/powerpc/etc.,
57372   # which don't. For the time being, punt.
57373   if test x"long_double_math_on_this_cpu" = x"yes"; then
57374     $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
57375
57376     $as_echo "#define HAVE_ASINL 1" >>confdefs.h
57377
57378     $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
57379
57380     $as_echo "#define HAVE_ATANL 1" >>confdefs.h
57381
57382     $as_echo "#define HAVE_CEILL 1" >>confdefs.h
57383
57384     $as_echo "#define HAVE_COSL 1" >>confdefs.h
57385
57386     $as_echo "#define HAVE_COSHL 1" >>confdefs.h
57387
57388     $as_echo "#define HAVE_EXPL 1" >>confdefs.h
57389
57390     $as_echo "#define HAVE_FABSL 1" >>confdefs.h
57391
57392     $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
57393
57394     $as_echo "#define HAVE_FMODL 1" >>confdefs.h
57395
57396     $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
57397
57398     $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
57399
57400     $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
57401
57402     $as_echo "#define HAVE_LOGL 1" >>confdefs.h
57403
57404     $as_echo "#define HAVE_MODFL 1" >>confdefs.h
57405
57406     $as_echo "#define HAVE_POWL 1" >>confdefs.h
57407
57408     $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
57409
57410     $as_echo "#define HAVE_SINL 1" >>confdefs.h
57411
57412     $as_echo "#define HAVE_SINHL 1" >>confdefs.h
57413
57414     $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
57415
57416     $as_echo "#define HAVE_TANL 1" >>confdefs.h
57417
57418     $as_echo "#define HAVE_TANHL 1" >>confdefs.h
57419
57420   fi
57421 fi
57422
57423 # Check for _Unwind_GetIPInfo.
57424
57425
57426 # Check whether --with-system-libunwind was given.
57427 if test "${with_system_libunwind+set}" = set; then :
57428   withval=$with_system_libunwind;
57429 fi
57430
57431   # If system-libunwind was not specifically set, pick a default setting.
57432   if test x$with_system_libunwind = x; then
57433     case ${target} in
57434       ia64-*-hpux*) with_system_libunwind=yes ;;
57435       *) with_system_libunwind=no ;;
57436     esac
57437   fi
57438   # Based on system-libunwind and target, do we have ipinfo?
57439   if  test x$with_system_libunwind = xyes; then
57440     case ${target} in
57441       ia64-*-*) have_unwind_getipinfo=no ;;
57442       *) have_unwind_getipinfo=yes ;;
57443     esac
57444   else
57445     # Darwin before version 9 does not have _Unwind_GetIPInfo.
57446
57447     case ${target} in
57448       *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
57449       *) have_unwind_getipinfo=yes ;;
57450     esac
57451
57452   fi
57453
57454   if test x$have_unwind_getipinfo = xyes; then
57455
57456 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
57457
57458   fi
57459
57460
57461
57462  # Check whether --enable-linux-futex was given.
57463 if test "${enable_linux_futex+set}" = set; then :
57464   enableval=$enable_linux_futex;
57465       case "$enableval" in
57466        yes|no|default) ;;
57467        *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
57468                           esac
57469
57470 else
57471   enable_linux_futex=default
57472 fi
57473
57474
57475 case "$target" in
57476   *-linux*)
57477     case "$enable_linux_futex" in
57478       default)
57479         # If headers don't have gettid/futex syscalls definition, then
57480         # default to no, otherwise there will be compile time failures.
57481         # Otherwise, default to yes.  If we don't detect we are
57482         # compiled/linked against NPTL and not cross-compiling, check
57483         # if programs are run by default against NPTL and if not, issue
57484         # a warning.
57485         enable_linux_futex=no
57486         if test x$gcc_no_link = xyes; then
57487   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57488 fi
57489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57490 /* end confdefs.h.  */
57491 #include <sys/syscall.h>
57492            int lk;
57493 int
57494 main ()
57495 {
57496 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
57497   ;
57498   return 0;
57499 }
57500 _ACEOF
57501 if ac_fn_c_try_link "$LINENO"; then :
57502   save_LIBS="$LIBS"
57503            LIBS="-lpthread $LIBS"
57504            if test x$gcc_no_link = xyes; then
57505   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57506 fi
57507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57508 /* end confdefs.h.  */
57509 #ifndef _GNU_SOURCE
57510              #define _GNU_SOURCE 1
57511              #endif
57512              #include <pthread.h>
57513              pthread_t th; void *status;
57514 int
57515 main ()
57516 {
57517 pthread_tryjoin_np (th, &status);
57518   ;
57519   return 0;
57520 }
57521 _ACEOF
57522 if ac_fn_c_try_link "$LINENO"; then :
57523   enable_linux_futex=yes
57524 else
57525   if test x$cross_compiling = xno; then
57526                if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
57527                   | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
57528                  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
57529 If so, please configure with --disable-linux-futex" >&5
57530 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
57531 If so, please configure with --disable-linux-futex" >&2;}
57532                fi
57533              fi
57534              enable_linux_futex=yes
57535 fi
57536 rm -f core conftest.err conftest.$ac_objext \
57537     conftest$ac_exeext conftest.$ac_ext
57538            LIBS="$save_LIBS"
57539 fi
57540 rm -f core conftest.err conftest.$ac_objext \
57541     conftest$ac_exeext conftest.$ac_ext
57542         ;;
57543       yes)
57544         if test x$gcc_no_link = xyes; then
57545   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57546 fi
57547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57548 /* end confdefs.h.  */
57549 #include <sys/syscall.h>
57550            int lk;
57551 int
57552 main ()
57553 {
57554 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
57555   ;
57556   return 0;
57557 }
57558 _ACEOF
57559 if ac_fn_c_try_link "$LINENO"; then :
57560
57561 else
57562   as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
57563 fi
57564 rm -f core conftest.err conftest.$ac_objext \
57565     conftest$ac_exeext conftest.$ac_ext
57566         ;;
57567     esac
57568     ;;
57569   *)
57570     enable_linux_futex=no
57571     ;;
57572 esac
57573 if test x$enable_linux_futex = xyes; then
57574
57575 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
57576
57577 fi
57578
57579
57580
57581
57582 inttype_headers=`echo inttypes.h sys/inttypes.h  | sed -e 's/,/ /g'`
57583
57584 acx_cv_header_stdint=stddef.h
57585 acx_cv_header_stdint_kind="(already complete)"
57586 for i in stdint.h $inttype_headers; do
57587   unset ac_cv_type_uintptr_t
57588   unset ac_cv_type_uintmax_t
57589   unset ac_cv_type_int_least32_t
57590   unset ac_cv_type_int_fast32_t
57591   unset ac_cv_type_uint64_t
57592   $as_echo_n "looking for a compliant stdint.h in $i, " >&6
57593   ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
57594 #include <$i>
57595 "
57596 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
57597   acx_cv_header_stdint=$i
57598 else
57599   continue
57600 fi
57601
57602   ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
57603 #include <$i>
57604 "
57605 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
57606
57607 else
57608   acx_cv_header_stdint_kind="(mostly complete)"
57609 fi
57610
57611   ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
57612 #include <$i>
57613 "
57614 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
57615
57616 else
57617   acx_cv_header_stdint_kind="(mostly complete)"
57618 fi
57619
57620   ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
57621 #include <$i>
57622 "
57623 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
57624
57625 else
57626   acx_cv_header_stdint_kind="(mostly complete)"
57627 fi
57628
57629   ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
57630 #include <$i>
57631 "
57632 if test "x$ac_cv_type_uint64_t" = x""yes; then :
57633
57634 else
57635   acx_cv_header_stdint_kind="(lacks uint64_t)"
57636 fi
57637
57638   break
57639 done
57640 if test "$acx_cv_header_stdint" = stddef.h; then
57641   acx_cv_header_stdint_kind="(lacks uintmax_t)"
57642   for i in stdint.h $inttype_headers; do
57643     unset ac_cv_type_uintptr_t
57644     unset ac_cv_type_uint32_t
57645     unset ac_cv_type_uint64_t
57646     $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
57647     ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
57648 #include <$i>
57649 "
57650 if test "x$ac_cv_type_uint32_t" = x""yes; then :
57651   acx_cv_header_stdint=$i
57652 else
57653   continue
57654 fi
57655
57656     ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
57657 #include <$i>
57658 "
57659 if test "x$ac_cv_type_uint64_t" = x""yes; then :
57660
57661 fi
57662
57663     ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
57664 #include <$i>
57665 "
57666 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
57667
57668 fi
57669
57670     break
57671   done
57672 fi
57673 if test "$acx_cv_header_stdint" = stddef.h; then
57674   acx_cv_header_stdint_kind="(u_intXX_t style)"
57675   for i in sys/types.h $inttype_headers; do
57676     unset ac_cv_type_u_int32_t
57677     unset ac_cv_type_u_int64_t
57678     $as_echo_n "looking for u_intXX_t types in $i, " >&6
57679     ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
57680 #include <$i>
57681 "
57682 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
57683   acx_cv_header_stdint=$i
57684 else
57685   continue
57686 fi
57687
57688     ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
57689 #include <$i>
57690 "
57691 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
57692
57693 fi
57694
57695     break
57696   done
57697 fi
57698 if test "$acx_cv_header_stdint" = stddef.h; then
57699   acx_cv_header_stdint_kind="(using manual detection)"
57700 fi
57701
57702 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
57703 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
57704 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
57705 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
57706 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
57707
57708 # ----------------- Summarize what we found so far
57709
57710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
57711 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
57712
57713 case `$as_basename -- include/gstdint.h ||
57714 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
57715          Xinclude/gstdint.h : 'X\(//\)$' \| \
57716          Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
57717 $as_echo X/include/gstdint.h |
57718     sed '/^.*\/\([^/][^/]*\)\/*$/{
57719             s//\1/
57720             q
57721           }
57722           /^X\/\(\/\/\)$/{
57723             s//\1/
57724             q
57725           }
57726           /^X\/\(\/\).*/{
57727             s//\1/
57728             q
57729           }
57730           s/.*/./; q'` in
57731   stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
57732 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
57733   inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
57734 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
57735   *) ;;
57736 esac
57737
57738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
57739 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
57740
57741 # ----------------- done included file, check C basic types --------
57742
57743 # Lacking an uintptr_t?  Test size of void *
57744 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
57745   stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
57746 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
57747 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
57748 # This bug is HP SR number 8606223364.
57749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
57750 $as_echo_n "checking size of void *... " >&6; }
57751 if test "${ac_cv_sizeof_void_p+set}" = set; then :
57752   $as_echo_n "(cached) " >&6
57753 else
57754   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
57755
57756 else
57757   if test "$ac_cv_type_void_p" = yes; then
57758      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
57759 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
57760 { as_fn_set_status 77
57761 as_fn_error "cannot compute sizeof (void *)
57762 See \`config.log' for more details." "$LINENO" 5; }; }
57763    else
57764      ac_cv_sizeof_void_p=0
57765    fi
57766 fi
57767
57768 fi
57769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
57770 $as_echo "$ac_cv_sizeof_void_p" >&6; }
57771
57772
57773
57774 cat >>confdefs.h <<_ACEOF
57775 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
57776 _ACEOF
57777
57778  ;;
57779 esac
57780
57781 # Lacking an uint64_t?  Test size of long
57782 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
57783   stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
57784 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
57785 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
57786 # This bug is HP SR number 8606223364.
57787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
57788 $as_echo_n "checking size of long... " >&6; }
57789 if test "${ac_cv_sizeof_long+set}" = set; then :
57790   $as_echo_n "(cached) " >&6
57791 else
57792   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
57793
57794 else
57795   if test "$ac_cv_type_long" = yes; then
57796      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
57797 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
57798 { as_fn_set_status 77
57799 as_fn_error "cannot compute sizeof (long)
57800 See \`config.log' for more details." "$LINENO" 5; }; }
57801    else
57802      ac_cv_sizeof_long=0
57803    fi
57804 fi
57805
57806 fi
57807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
57808 $as_echo "$ac_cv_sizeof_long" >&6; }
57809
57810
57811
57812 cat >>confdefs.h <<_ACEOF
57813 #define SIZEOF_LONG $ac_cv_sizeof_long
57814 _ACEOF
57815
57816  ;;
57817 esac
57818
57819 if test $acx_cv_header_stdint = stddef.h; then
57820   # Lacking a good header?  Test size of everything and deduce all types.
57821   # The cast to long int works around a bug in the HP C Compiler
57822 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
57823 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
57824 # This bug is HP SR number 8606223364.
57825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
57826 $as_echo_n "checking size of int... " >&6; }
57827 if test "${ac_cv_sizeof_int+set}" = set; then :
57828   $as_echo_n "(cached) " >&6
57829 else
57830   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
57831
57832 else
57833   if test "$ac_cv_type_int" = yes; then
57834      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
57835 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
57836 { as_fn_set_status 77
57837 as_fn_error "cannot compute sizeof (int)
57838 See \`config.log' for more details." "$LINENO" 5; }; }
57839    else
57840      ac_cv_sizeof_int=0
57841    fi
57842 fi
57843
57844 fi
57845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
57846 $as_echo "$ac_cv_sizeof_int" >&6; }
57847
57848
57849
57850 cat >>confdefs.h <<_ACEOF
57851 #define SIZEOF_INT $ac_cv_sizeof_int
57852 _ACEOF
57853
57854
57855   # The cast to long int works around a bug in the HP C Compiler
57856 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
57857 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
57858 # This bug is HP SR number 8606223364.
57859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
57860 $as_echo_n "checking size of short... " >&6; }
57861 if test "${ac_cv_sizeof_short+set}" = set; then :
57862   $as_echo_n "(cached) " >&6
57863 else
57864   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short"        "$ac_includes_default"; then :
57865
57866 else
57867   if test "$ac_cv_type_short" = yes; then
57868      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
57869 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
57870 { as_fn_set_status 77
57871 as_fn_error "cannot compute sizeof (short)
57872 See \`config.log' for more details." "$LINENO" 5; }; }
57873    else
57874      ac_cv_sizeof_short=0
57875    fi
57876 fi
57877
57878 fi
57879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
57880 $as_echo "$ac_cv_sizeof_short" >&6; }
57881
57882
57883
57884 cat >>confdefs.h <<_ACEOF
57885 #define SIZEOF_SHORT $ac_cv_sizeof_short
57886 _ACEOF
57887
57888
57889   # The cast to long int works around a bug in the HP C Compiler
57890 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
57891 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
57892 # This bug is HP SR number 8606223364.
57893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
57894 $as_echo_n "checking size of char... " >&6; }
57895 if test "${ac_cv_sizeof_char+set}" = set; then :
57896   $as_echo_n "(cached) " >&6
57897 else
57898   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char"        "$ac_includes_default"; then :
57899
57900 else
57901   if test "$ac_cv_type_char" = yes; then
57902      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
57903 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
57904 { as_fn_set_status 77
57905 as_fn_error "cannot compute sizeof (char)
57906 See \`config.log' for more details." "$LINENO" 5; }; }
57907    else
57908      ac_cv_sizeof_char=0
57909    fi
57910 fi
57911
57912 fi
57913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
57914 $as_echo "$ac_cv_sizeof_char" >&6; }
57915
57916
57917
57918 cat >>confdefs.h <<_ACEOF
57919 #define SIZEOF_CHAR $ac_cv_sizeof_char
57920 _ACEOF
57921
57922
57923
57924   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
57925 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
57926   case "$ac_cv_sizeof_char" in
57927     1) acx_cv_type_int8_t=char ;;
57928     *) { as_fn_set_status please report a bug
57929 as_fn_error "no 8-bit type" "$LINENO" 5; }
57930   esac
57931   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
57932 $as_echo "$acx_cv_type_int8_t" >&6; }
57933
57934   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
57935 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
57936   case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
57937     2:*) acx_cv_type_int16_t=int ;;
57938     *:2) acx_cv_type_int16_t=short ;;
57939     *) { as_fn_set_status please report a bug
57940 as_fn_error "no 16-bit type" "$LINENO" 5; }
57941   esac
57942   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
57943 $as_echo "$acx_cv_type_int16_t" >&6; }
57944
57945   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
57946 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
57947   case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
57948     4:*) acx_cv_type_int32_t=int ;;
57949     *:4) acx_cv_type_int32_t=long ;;
57950     *) { as_fn_set_status please report a bug
57951 as_fn_error "no 32-bit type" "$LINENO" 5; }
57952   esac
57953   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
57954 $as_echo "$acx_cv_type_int32_t" >&6; }
57955 fi
57956
57957 # These tests are here to make the output prettier
57958
57959 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
57960   case "$ac_cv_sizeof_long" in
57961     8) acx_cv_type_int64_t=long ;;
57962   esac
57963   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
57964 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
57965   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
57966 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
57967 fi
57968
57969 # Now we can use the above types
57970
57971 if test "$ac_cv_type_uintptr_t" != yes; then
57972   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
57973 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
57974   case $ac_cv_sizeof_void_p in
57975     2) acx_cv_type_intptr_t=int16_t ;;
57976     4) acx_cv_type_intptr_t=int32_t ;;
57977     8) acx_cv_type_intptr_t=int64_t ;;
57978     *) { as_fn_set_status please report a bug
57979 as_fn_error "no equivalent for intptr_t" "$LINENO" 5; }
57980   esac
57981   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
57982 $as_echo "$acx_cv_type_intptr_t" >&6; }
57983 fi
57984
57985 # ----------------- done all checks, emit header -------------
57986 ac_config_commands="$ac_config_commands include/gstdint.h"
57987
57988
57989
57990
57991 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
57992
57993
57994  # Check whether --enable-symvers was given.
57995 if test "${enable_symvers+set}" = set; then :
57996   enableval=$enable_symvers;
57997       case "$enableval" in
57998        yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export) ;;
57999        *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
58000                           esac
58001
58002 else
58003   enable_symvers=yes
58004 fi
58005
58006
58007
58008 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
58009 # don't know enough about $LD to do tricks...
58010
58011
58012 # Turn a 'yes' into a suitable default.
58013 if test x$enable_symvers = xyes ; then
58014   if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
58015     enable_symvers=no
58016   else
58017     if test $with_gnu_ld = yes ; then
58018       case ${target_os} in
58019         cygwin* | pe | mingw32* | hpux*)
58020           enable_symvers=no ;;
58021         *)
58022           enable_symvers=gnu ;;
58023       esac
58024     else
58025       case ${target_os} in
58026         darwin*)
58027           enable_symvers=darwin ;;
58028         *)
58029           enable_symvers=no ;;
58030       esac
58031     fi
58032   fi
58033 fi
58034
58035 # Check to see if 'darwin' or 'darwin-export' can win.
58036 if test x$enable_symvers = xdarwin-export ; then
58037     enable_symvers=darwin
58038 fi
58039
58040 # Check to see if 'gnu' can win.
58041 if test $enable_symvers = gnu || test $enable_symvers = gnu-versioned-namespace; then
58042   # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
58043   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
58044 $as_echo_n "checking for shared libgcc... " >&6; }
58045   ac_save_CFLAGS="$CFLAGS"
58046   CFLAGS=' -lgcc_s'
58047   if test x$gcc_no_link = xyes; then
58048   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58049 fi
58050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58051 /* end confdefs.h.  */
58052
58053 int
58054 main ()
58055 {
58056 return 0;
58057   ;
58058   return 0;
58059 }
58060 _ACEOF
58061 if ac_fn_c_try_link "$LINENO"; then :
58062   glibcxx_shared_libgcc=yes
58063 else
58064   glibcxx_shared_libgcc=no
58065 fi
58066 rm -f core conftest.err conftest.$ac_objext \
58067     conftest$ac_exeext conftest.$ac_ext
58068   CFLAGS="$ac_save_CFLAGS"
58069   if test $glibcxx_shared_libgcc = no; then
58070     cat > conftest.c <<EOF
58071 int main (void) { return 0; }
58072 EOF
58073     glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
58074                              -shared -shared-libgcc -o conftest.so \
58075                              conftest.c -v 2>&1 >/dev/null \
58076                              | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
58077     rm -f conftest.c conftest.so
58078     if test x${glibcxx_libgcc_s_suffix+set} = xset; then
58079       CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
58080       if test x$gcc_no_link = xyes; then
58081   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58082 fi
58083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58084 /* end confdefs.h.  */
58085
58086 int
58087 main ()
58088 {
58089 return 0;
58090   ;
58091   return 0;
58092 }
58093 _ACEOF
58094 if ac_fn_c_try_link "$LINENO"; then :
58095   glibcxx_shared_libgcc=yes
58096 fi
58097 rm -f core conftest.err conftest.$ac_objext \
58098     conftest$ac_exeext conftest.$ac_ext
58099       CFLAGS="$ac_save_CFLAGS"
58100     fi
58101   fi
58102   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
58103 $as_echo "$glibcxx_shared_libgcc" >&6; }
58104
58105   # For GNU ld, we need at least this version.  The format is described in
58106   # GLIBCXX_CHECK_LINKER_FEATURES above.
58107   glibcxx_min_gnu_ld_version=21400
58108
58109   # If no shared libgcc, can't win.
58110   if test $glibcxx_shared_libgcc != yes; then
58111       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
58112 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
58113       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
58114 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
58115       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
58116 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
58117       enable_symvers=no
58118   elif test $with_gnu_ld != yes ; then
58119     # just fail for now
58120     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
58121 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
58122     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
58123 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
58124     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
58125 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
58126     enable_symvers=no
58127   elif test $glibcxx_ld_is_gold = yes ; then
58128     : All versions of gold support symbol versioning.
58129   elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
58130     # The right tools, the right setup, but too old.  Fallbacks?
58131     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
58132 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
58133     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
58134 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
58135     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
58136 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
58137     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
58138 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
58139     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
58140 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
58141     enable_symvers=no
58142   fi
58143 fi
58144
58145 # Everything parsed; figure out what file to use.
58146 case $enable_symvers in
58147   no)
58148     SYMVER_FILE=config/abi/pre/none.ver
58149     ;;
58150   gnu)
58151     SYMVER_FILE=config/abi/pre/gnu.ver
58152
58153 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
58154
58155     ;;
58156   gnu-versioned-namespace)
58157     SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
58158
58159 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
58160
58161     ;;
58162   darwin)
58163     SYMVER_FILE=config/abi/pre/gnu.ver
58164
58165 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
58166
58167     ;;
58168 esac
58169
58170 if test x$enable_symvers != xno ; then
58171
58172 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
58173
58174 fi
58175
58176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
58177 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
58178 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
58179   $as_echo_n "(cached) " >&6
58180 else
58181
58182   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58183 /* end confdefs.h.  */
58184 void foo (void); __asm (".symver foo, bar@SYMVER");
58185 int
58186 main ()
58187 {
58188
58189   ;
58190   return 0;
58191 }
58192 _ACEOF
58193 if ac_fn_c_try_compile "$LINENO"; then :
58194   glibcxx_cv_have_as_symver_directive=yes
58195 else
58196   glibcxx_cv_have_as_symver_directive=no
58197 fi
58198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58199 fi
58200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
58201 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
58202 if test $glibcxx_cv_have_as_symver_directive = yes; then
58203
58204 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
58205
58206 fi
58207
58208
58209
58210
58211
58212
58213
58214 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
58215 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
58216
58217 # Now, set up compatibility support, if any.
58218 # In addition, need this to deal with std::size_t mangling in
58219 # src/compatibility.cc.  In a perfect world, could use
58220 # typeid(std::size_t).name()[0] to do direct substitution.
58221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
58222 $as_echo_n "checking for size_t as unsigned int... " >&6; }
58223 ac_save_CFLAGS="$CFLAGS"
58224 CFLAGS="-Werror"
58225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58226 /* end confdefs.h.  */
58227
58228 int
58229 main ()
58230 {
58231 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
58232   ;
58233   return 0;
58234 }
58235 _ACEOF
58236 if ac_fn_c_try_compile "$LINENO"; then :
58237   glibcxx_size_t_is_i=yes
58238 else
58239   glibcxx_size_t_is_i=no
58240 fi
58241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58242 CFLAGS=$ac_save_CFLAGS
58243 if test "$glibcxx_size_t_is_i" = yes; then
58244
58245 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
58246
58247 fi
58248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
58249 $as_echo "$glibcxx_size_t_is_i" >&6; }
58250
58251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
58252 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
58253 ac_save_CFLAGS="$CFLAGS"
58254 CFLAGS="-Werror"
58255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58256 /* end confdefs.h.  */
58257
58258 int
58259 main ()
58260 {
58261 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
58262   ;
58263   return 0;
58264 }
58265 _ACEOF
58266 if ac_fn_c_try_compile "$LINENO"; then :
58267   glibcxx_ptrdiff_t_is_i=yes
58268 else
58269   glibcxx_ptrdiff_t_is_i=no
58270 fi
58271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58272 CFLAGS=$ac_save_CFLAGS
58273 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
58274
58275 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
58276
58277 fi
58278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
58279 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
58280
58281
58282  # Check whether --enable-visibility was given.
58283 if test "${enable_visibility+set}" = set; then :
58284   enableval=$enable_visibility;
58285       case "$enableval" in
58286        yes|no) ;;
58287        *) as_fn_error "Argument to enable/disable visibility must be yes or no" "$LINENO" 5 ;;
58288       esac
58289
58290 else
58291   enable_visibility=yes
58292 fi
58293
58294
58295
58296 if test x$enable_visibility = xyes ; then
58297       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
58298 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
58299 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
58300   $as_echo_n "(cached) " >&6
58301 else
58302
58303   save_CFLAGS="$CFLAGS"
58304   CFLAGS="$CFLAGS -Werror"
58305   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58306 /* end confdefs.h.  */
58307 void __attribute__((visibility("hidden"))) foo(void) { }
58308 int
58309 main ()
58310 {
58311
58312   ;
58313   return 0;
58314 }
58315 _ACEOF
58316 if ac_fn_c_try_compile "$LINENO"; then :
58317   glibcxx_cv_have_attribute_visibility=yes
58318 else
58319   glibcxx_cv_have_attribute_visibility=no
58320 fi
58321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58322   CFLAGS="$save_CFLAGS"
58323 fi
58324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
58325 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
58326   if test $glibcxx_cv_have_attribute_visibility = no; then
58327     enable_visibility=no
58328   fi
58329 fi
58330
58331
58332 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_visibility" >&5
58333 $as_echo "$as_me: visibility supported: $enable_visibility" >&6;}
58334
58335
58336 ac_ldbl_compat=no
58337 case "$target" in
58338   powerpc*-*-linux* | \
58339   powerpc*-*-gnu* | \
58340   sparc*-*-linux* | \
58341   s390*-*-linux* | \
58342   alpha*-*-linux*)
58343   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58344 /* end confdefs.h.  */
58345
58346 int
58347 main ()
58348 {
58349
58350 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
58351 #error no need for long double compatibility
58352 #endif
58353
58354   ;
58355   return 0;
58356 }
58357 _ACEOF
58358 if ac_fn_c_try_compile "$LINENO"; then :
58359   ac_ldbl_compat=yes
58360 else
58361   ac_ldbl_compat=no
58362 fi
58363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58364   if test "$ac_ldbl_compat" = yes; then
58365
58366 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
58367
58368     port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
58369   fi
58370 esac
58371
58372
58373 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
58374
58375   if $GLIBCXX_IS_NATIVE ; then
58376     # Do checks for resource limit functions.
58377
58378   setrlimit_have_headers=yes
58379   for ac_header in unistd.h sys/time.h sys/resource.h
58380 do :
58381   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
58382 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
58383 eval as_val=\$$as_ac_Header
58384    if test "x$as_val" = x""yes; then :
58385   cat >>confdefs.h <<_ACEOF
58386 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
58387 _ACEOF
58388
58389 else
58390   setrlimit_have_headers=no
58391 fi
58392
58393 done
58394
58395   # If don't have the headers, then we can't run the tests now, and we
58396   # won't be seeing any of these during testsuite compilation.
58397   if test $setrlimit_have_headers = yes; then
58398     # Can't do these in a loop, else the resulting syntax is wrong.
58399
58400   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
58401 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
58402   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58403 /* end confdefs.h.  */
58404 #include <unistd.h>
58405      #include <sys/time.h>
58406      #include <sys/resource.h>
58407
58408 int
58409 main ()
58410 {
58411  int f = RLIMIT_DATA ;
58412   ;
58413   return 0;
58414 }
58415 _ACEOF
58416 if ac_fn_c_try_compile "$LINENO"; then :
58417   glibcxx_mresult=1
58418 else
58419   glibcxx_mresult=0
58420 fi
58421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58422
58423 cat >>confdefs.h <<_ACEOF
58424 #define HAVE_LIMIT_DATA $glibcxx_mresult
58425 _ACEOF
58426
58427   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
58428   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
58429 $as_echo "$res" >&6; }
58430
58431
58432   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
58433 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
58434   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58435 /* end confdefs.h.  */
58436 #include <unistd.h>
58437      #include <sys/time.h>
58438      #include <sys/resource.h>
58439
58440 int
58441 main ()
58442 {
58443  int f = RLIMIT_RSS ;
58444   ;
58445   return 0;
58446 }
58447 _ACEOF
58448 if ac_fn_c_try_compile "$LINENO"; then :
58449   glibcxx_mresult=1
58450 else
58451   glibcxx_mresult=0
58452 fi
58453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58454
58455 cat >>confdefs.h <<_ACEOF
58456 #define HAVE_LIMIT_RSS $glibcxx_mresult
58457 _ACEOF
58458
58459   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
58460   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
58461 $as_echo "$res" >&6; }
58462
58463
58464   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
58465 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
58466   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58467 /* end confdefs.h.  */
58468 #include <unistd.h>
58469      #include <sys/time.h>
58470      #include <sys/resource.h>
58471
58472 int
58473 main ()
58474 {
58475  int f = RLIMIT_VMEM ;
58476   ;
58477   return 0;
58478 }
58479 _ACEOF
58480 if ac_fn_c_try_compile "$LINENO"; then :
58481   glibcxx_mresult=1
58482 else
58483   glibcxx_mresult=0
58484 fi
58485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58486
58487 cat >>confdefs.h <<_ACEOF
58488 #define HAVE_LIMIT_VMEM $glibcxx_mresult
58489 _ACEOF
58490
58491   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
58492   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
58493 $as_echo "$res" >&6; }
58494
58495
58496   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
58497 $as_echo_n "checking for RLIMIT_AS... " >&6; }
58498   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58499 /* end confdefs.h.  */
58500 #include <unistd.h>
58501      #include <sys/time.h>
58502      #include <sys/resource.h>
58503
58504 int
58505 main ()
58506 {
58507  int f = RLIMIT_AS ;
58508   ;
58509   return 0;
58510 }
58511 _ACEOF
58512 if ac_fn_c_try_compile "$LINENO"; then :
58513   glibcxx_mresult=1
58514 else
58515   glibcxx_mresult=0
58516 fi
58517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58518
58519 cat >>confdefs.h <<_ACEOF
58520 #define HAVE_LIMIT_AS $glibcxx_mresult
58521 _ACEOF
58522
58523   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
58524   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
58525 $as_echo "$res" >&6; }
58526
58527
58528   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
58529 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
58530   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58531 /* end confdefs.h.  */
58532 #include <unistd.h>
58533      #include <sys/time.h>
58534      #include <sys/resource.h>
58535
58536 int
58537 main ()
58538 {
58539  int f = RLIMIT_FSIZE ;
58540   ;
58541   return 0;
58542 }
58543 _ACEOF
58544 if ac_fn_c_try_compile "$LINENO"; then :
58545   glibcxx_mresult=1
58546 else
58547   glibcxx_mresult=0
58548 fi
58549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58550
58551 cat >>confdefs.h <<_ACEOF
58552 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
58553 _ACEOF
58554
58555   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
58556   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
58557 $as_echo "$res" >&6; }
58558
58559
58560     # Check for rlimit, setrlimit.
58561     if test "${glibcxx_cv_setrlimit+set}" = set; then :
58562   $as_echo_n "(cached) " >&6
58563 else
58564
58565       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58566 /* end confdefs.h.  */
58567 #include <unistd.h>
58568          #include <sys/time.h>
58569          #include <sys/resource.h>
58570
58571 int
58572 main ()
58573 {
58574 struct rlimit r;
58575          setrlimit(0, &r);
58576   ;
58577   return 0;
58578 }
58579 _ACEOF
58580 if ac_fn_c_try_compile "$LINENO"; then :
58581   glibcxx_cv_setrlimit=yes
58582 else
58583   glibcxx_cv_setrlimit=no
58584 fi
58585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58586
58587 fi
58588
58589   fi
58590
58591   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
58592 $as_echo_n "checking for testsuite resource limits support... " >&6; }
58593   if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
58594     ac_res_limits=yes
58595
58596 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
58597
58598   else
58599     ac_res_limits=no
58600   fi
58601   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
58602 $as_echo "$ac_res_limits" >&6; }
58603
58604
58605     # Look for setenv, so that extended locale tests can be performed.
58606
58607   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
58608 $as_echo_n "checking for setenv declaration... " >&6; }
58609   if test x${glibcxx_cv_func_setenv_use+set} != xset; then
58610     if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
58611   $as_echo_n "(cached) " >&6
58612 else
58613
58614
58615       ac_ext=cpp
58616 ac_cpp='$CXXCPP $CPPFLAGS'
58617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58620
58621       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58622 /* end confdefs.h.  */
58623 #include <stdlib.h>
58624 int
58625 main ()
58626 {
58627  setenv(0, 0, 0);
58628   ;
58629   return 0;
58630 }
58631 _ACEOF
58632 if ac_fn_cxx_try_compile "$LINENO"; then :
58633   glibcxx_cv_func_setenv_use=yes
58634 else
58635   glibcxx_cv_func_setenv_use=no
58636 fi
58637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58638       ac_ext=c
58639 ac_cpp='$CPP $CPPFLAGS'
58640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58643
58644
58645 fi
58646
58647   fi
58648   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
58649 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
58650   if test x$glibcxx_cv_func_setenv_use = x"yes"; then
58651     for ac_func in setenv
58652 do :
58653   ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
58654 if test "x$ac_cv_func_setenv" = x""yes; then :
58655   cat >>confdefs.h <<_ACEOF
58656 #define HAVE_SETENV 1
58657 _ACEOF
58658
58659 fi
58660 done
58661
58662   fi
58663
58664   fi
58665
58666   if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
58667      test $enable_symvers != no; then
58668     case "$host" in
58669       *-*-cygwin*)
58670         enable_abi_check=no ;;
58671       *)
58672         enable_abi_check=yes ;;
58673     esac
58674   else
58675     # Only build this as native, since automake does not understand
58676     # CXX_FOR_BUILD.
58677     enable_abi_check=no
58678   fi
58679
58680   # Export file names for ABI checking.
58681   baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
58682
58683
58684
58685 # Propagate the target-specific source directories through the build chain.
58686 ATOMICITY_SRCDIR=config/${atomicity_dir}
58687 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
58688 ATOMIC_FLAGS=${atomic_flags}
58689 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
58690 OS_INC_SRCDIR=config/${os_include_dir}
58691 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
58692 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
58693
58694
58695
58696
58697
58698
58699
58700
58701
58702 # Determine cross-compile flags and AM_CONDITIONALs.
58703 #AC_SUBST(GLIBCXX_IS_NATIVE)
58704 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
58705     if test $is_hosted = yes; then
58706   GLIBCXX_HOSTED_TRUE=
58707   GLIBCXX_HOSTED_FALSE='#'
58708 else
58709   GLIBCXX_HOSTED_TRUE='#'
58710   GLIBCXX_HOSTED_FALSE=
58711 fi
58712
58713
58714     if test $enable_libstdcxx_pch = yes; then
58715   GLIBCXX_BUILD_PCH_TRUE=
58716   GLIBCXX_BUILD_PCH_FALSE='#'
58717 else
58718   GLIBCXX_BUILD_PCH_TRUE='#'
58719   GLIBCXX_BUILD_PCH_FALSE=
58720 fi
58721
58722
58723     if test $enable_cheaders = c; then
58724   GLIBCXX_C_HEADERS_C_TRUE=
58725   GLIBCXX_C_HEADERS_C_FALSE='#'
58726 else
58727   GLIBCXX_C_HEADERS_C_TRUE='#'
58728   GLIBCXX_C_HEADERS_C_FALSE=
58729 fi
58730
58731
58732     if test $enable_cheaders = c_std; then
58733   GLIBCXX_C_HEADERS_C_STD_TRUE=
58734   GLIBCXX_C_HEADERS_C_STD_FALSE='#'
58735 else
58736   GLIBCXX_C_HEADERS_C_STD_TRUE='#'
58737   GLIBCXX_C_HEADERS_C_STD_FALSE=
58738 fi
58739
58740
58741     if test $enable_cheaders = c_global; then
58742   GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
58743   GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
58744 else
58745   GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
58746   GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
58747 fi
58748
58749
58750     if test $c_compatibility = yes; then
58751   GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
58752   GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
58753 else
58754   GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
58755   GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
58756 fi
58757
58758
58759     if test $c_extra = yes; then
58760   GLIBCXX_C_HEADERS_EXTRA_TRUE=
58761   GLIBCXX_C_HEADERS_EXTRA_FALSE='#'
58762 else
58763   GLIBCXX_C_HEADERS_EXTRA_TRUE='#'
58764   GLIBCXX_C_HEADERS_EXTRA_FALSE=
58765 fi
58766
58767
58768     if test $enable_libstdcxx_debug = yes; then
58769   GLIBCXX_BUILD_DEBUG_TRUE=
58770   GLIBCXX_BUILD_DEBUG_FALSE='#'
58771 else
58772   GLIBCXX_BUILD_DEBUG_TRUE='#'
58773   GLIBCXX_BUILD_DEBUG_FALSE=
58774 fi
58775
58776
58777     if test $enable_parallel = yes; then
58778   ENABLE_PARALLEL_TRUE=
58779   ENABLE_PARALLEL_FALSE='#'
58780 else
58781   ENABLE_PARALLEL_TRUE='#'
58782   ENABLE_PARALLEL_FALSE=
58783 fi
58784
58785
58786     if test $enable_symvers != no; then
58787   ENABLE_SYMVERS_TRUE=
58788   ENABLE_SYMVERS_FALSE='#'
58789 else
58790   ENABLE_SYMVERS_TRUE='#'
58791   ENABLE_SYMVERS_FALSE=
58792 fi
58793
58794
58795     if test $enable_symvers = gnu; then
58796   ENABLE_SYMVERS_GNU_TRUE=
58797   ENABLE_SYMVERS_GNU_FALSE='#'
58798 else
58799   ENABLE_SYMVERS_GNU_TRUE='#'
58800   ENABLE_SYMVERS_GNU_FALSE=
58801 fi
58802
58803
58804     if test $enable_symvers = gnu-versioned-namespace; then
58805   ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
58806   ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
58807 else
58808   ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
58809   ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
58810 fi
58811
58812
58813     if test $enable_symvers = darwin; then
58814   ENABLE_SYMVERS_DARWIN_TRUE=
58815   ENABLE_SYMVERS_DARWIN_FALSE='#'
58816 else
58817   ENABLE_SYMVERS_DARWIN_TRUE='#'
58818   ENABLE_SYMVERS_DARWIN_FALSE=
58819 fi
58820
58821
58822     if test $enable_visibility = yes; then
58823   ENABLE_VISIBILITY_TRUE=
58824   ENABLE_VISIBILITY_FALSE='#'
58825 else
58826   ENABLE_VISIBILITY_TRUE='#'
58827   ENABLE_VISIBILITY_FALSE=
58828 fi
58829
58830
58831     if test $ac_ldbl_compat = yes; then
58832   GLIBCXX_LDBL_COMPAT_TRUE=
58833   GLIBCXX_LDBL_COMPAT_FALSE='#'
58834 else
58835   GLIBCXX_LDBL_COMPAT_TRUE='#'
58836   GLIBCXX_LDBL_COMPAT_FALSE=
58837 fi
58838
58839
58840
58841
58842 cat >confcache <<\_ACEOF
58843 # This file is a shell script that caches the results of configure
58844 # tests run on this system so they can be shared between configure
58845 # scripts and configure runs, see configure's option --config-cache.
58846 # It is not useful on other systems.  If it contains results you don't
58847 # want to keep, you may remove or edit it.
58848 #
58849 # config.status only pays attention to the cache file if you give it
58850 # the --recheck option to rerun configure.
58851 #
58852 # `ac_cv_env_foo' variables (set or unset) will be overridden when
58853 # loading this file, other *unset* `ac_cv_foo' will be assigned the
58854 # following values.
58855
58856 _ACEOF
58857
58858 # The following way of writing the cache mishandles newlines in values,
58859 # but we know of no workaround that is simple, portable, and efficient.
58860 # So, we kill variables containing newlines.
58861 # Ultrix sh set writes to stderr and can't be redirected directly,
58862 # and sets the high bit in the cache file unless we assign to the vars.
58863 (
58864   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
58865     eval ac_val=\$$ac_var
58866     case $ac_val in #(
58867     *${as_nl}*)
58868       case $ac_var in #(
58869       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
58870 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
58871       esac
58872       case $ac_var in #(
58873       _ | IFS | as_nl) ;; #(
58874       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
58875       *) { eval $ac_var=; unset $ac_var;} ;;
58876       esac ;;
58877     esac
58878   done
58879
58880   (set) 2>&1 |
58881     case $as_nl`(ac_space=' '; set) 2>&1` in #(
58882     *${as_nl}ac_space=\ *)
58883       # `set' does not quote correctly, so add quotes: double-quote
58884       # substitution turns \\\\ into \\, and sed turns \\ into \.
58885       sed -n \
58886         "s/'/'\\\\''/g;
58887           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
58888       ;; #(
58889     *)
58890       # `set' quotes correctly as required by POSIX, so do not add quotes.
58891       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
58892       ;;
58893     esac |
58894     sort
58895 ) |
58896   sed '
58897      /^ac_cv_env_/b end
58898      t clear
58899      :clear
58900      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
58901      t end
58902      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
58903      :end' >>confcache
58904 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
58905   if test -w "$cache_file"; then
58906     test "x$cache_file" != "x/dev/null" &&
58907       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
58908 $as_echo "$as_me: updating cache $cache_file" >&6;}
58909     cat confcache >$cache_file
58910   else
58911     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
58912 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
58913   fi
58914 fi
58915 rm -f confcache
58916
58917 if test ${multilib} = yes; then
58918   multilib_arg="--enable-multilib"
58919 else
58920   multilib_arg=
58921 fi
58922
58923 # Export all the install information.
58924
58925   glibcxx_toolexecdir=no
58926   glibcxx_toolexeclibdir=no
58927   glibcxx_prefixdir=$prefix
58928
58929   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
58930 $as_echo_n "checking for gxx-include-dir... " >&6; }
58931
58932 # Check whether --with-gxx-include-dir was given.
58933 if test "${with_gxx_include_dir+set}" = set; then :
58934   withval=$with_gxx_include_dir; case "$withval" in
58935       yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
58936       no)  gxx_include_dir=no ;;
58937       *)   gxx_include_dir=$withval ;;
58938      esac
58939 else
58940   gxx_include_dir=no
58941 fi
58942
58943   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
58944 $as_echo "$gxx_include_dir" >&6; }
58945
58946   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
58947 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
58948   # Check whether --enable-version-specific-runtime-libs was given.
58949 if test "${enable_version_specific_runtime_libs+set}" = set; then :
58950   enableval=$enable_version_specific_runtime_libs; case "$enableval" in
58951       yes) version_specific_libs=yes ;;
58952       no)  version_specific_libs=no ;;
58953       *)   as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
58954      esac
58955 else
58956   version_specific_libs=no
58957 fi
58958
58959   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
58960 $as_echo "$version_specific_libs" >&6; }
58961
58962   # Default case for install directory for include files.
58963   if test $version_specific_libs = no && test $gxx_include_dir = no; then
58964     gxx_include_dir='include/c++/${gcc_version}'
58965     if test -n "$with_cross_host" &&
58966        test x"$with_cross_host" != x"no"; then
58967       gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
58968     else
58969       gxx_include_dir='${prefix}/'"$gxx_include_dir"
58970     fi
58971   fi
58972
58973   # Version-specific runtime libs processing.
58974   if test $version_specific_libs = yes; then
58975     # Need the gcc compiler version to know where to install libraries
58976     # and header files if --enable-version-specific-runtime-libs option
58977     # is selected.  FIXME: these variables are misnamed, there are
58978     # no executables installed in _toolexecdir or _toolexeclibdir.
58979     if test x"$gxx_include_dir" = x"no"; then
58980       gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
58981     fi
58982     glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
58983     glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
58984   fi
58985
58986   # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
58987   # Install a library built with a cross compiler in tooldir, not libdir.
58988   if test x"$glibcxx_toolexecdir" = x"no"; then
58989     if test -n "$with_cross_host" &&
58990        test x"$with_cross_host" != x"no"; then
58991       glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
58992       glibcxx_toolexeclibdir='${toolexecdir}/lib'
58993     else
58994       glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
58995       glibcxx_toolexeclibdir='${libdir}'
58996     fi
58997     multi_os_directory=`$CXX -print-multi-os-directory`
58998     case $multi_os_directory in
58999       .) ;; # Avoid trailing /.
59000       *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
59001     esac
59002   fi
59003
59004   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
59005 $as_echo_n "checking for install location... " >&6; }
59006   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
59007 $as_echo "$gxx_include_dir" >&6; }
59008
59009
59010
59011
59012
59013
59014
59015 # Export all the include and flag information to Makefiles.
59016
59017   # Used for every C++ compile we perform.
59018   GLIBCXX_INCLUDES="\
59019 -I$glibcxx_builddir/include/$host_alias \
59020 -I$glibcxx_builddir/include \
59021 -I$glibcxx_srcdir/libsupc++"
59022
59023   # For Canadian crosses, pick this up too.
59024   if test $CANADIAN = yes; then
59025     GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
59026   fi
59027
59028   # Stuff in the actual top level.  Currently only used by libsupc++ to
59029   # get unwind* headers from the gcc dir.
59030   #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
59031   TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
59032
59033   # Now, export this to all the little Makefiles....
59034
59035
59036
59037
59038   # Optimization flags that are probably a good idea for thrill-seekers. Just
59039   # uncomment the lines below and make, everything else is ready to go...
59040   # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
59041   # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
59042
59043
59044   WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
59045
59046
59047
59048 if test "$enable_shared" = yes; then
59049   LIBSUPCXX_PICFLAGS="-prefer-pic"
59050 else
59051   LIBSUPCXX_PICFLAGS=
59052 fi
59053
59054
59055 ac_config_files="$ac_config_files Makefile"
59056
59057 ac_config_files="$ac_config_files scripts/testsuite_flags"
59058
59059
59060 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
59061 # that multilib installs will end up installed in the correct place.
59062 # The testsuite needs it for multilib-aware ABI baseline files.
59063 # To work around this not being passed down from config-ml.in ->
59064 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
59065 # append it here.  Only modify Makefiles that have just been created.
59066 #
59067 # Also, get rid of this simulated-VPATH thing that automake does.
59068 ac_config_files="$ac_config_files include/Makefile libsupc++/Makefile python/Makefile src/Makefile doc/Makefile po/Makefile testsuite/Makefile"
59069
59070
59071 ac_config_commands="$ac_config_commands generate-headers"
59072
59073
59074 cat >confcache <<\_ACEOF
59075 # This file is a shell script that caches the results of configure
59076 # tests run on this system so they can be shared between configure
59077 # scripts and configure runs, see configure's option --config-cache.
59078 # It is not useful on other systems.  If it contains results you don't
59079 # want to keep, you may remove or edit it.
59080 #
59081 # config.status only pays attention to the cache file if you give it
59082 # the --recheck option to rerun configure.
59083 #
59084 # `ac_cv_env_foo' variables (set or unset) will be overridden when
59085 # loading this file, other *unset* `ac_cv_foo' will be assigned the
59086 # following values.
59087
59088 _ACEOF
59089
59090 # The following way of writing the cache mishandles newlines in values,
59091 # but we know of no workaround that is simple, portable, and efficient.
59092 # So, we kill variables containing newlines.
59093 # Ultrix sh set writes to stderr and can't be redirected directly,
59094 # and sets the high bit in the cache file unless we assign to the vars.
59095 (
59096   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
59097     eval ac_val=\$$ac_var
59098     case $ac_val in #(
59099     *${as_nl}*)
59100       case $ac_var in #(
59101       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
59102 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
59103       esac
59104       case $ac_var in #(
59105       _ | IFS | as_nl) ;; #(
59106       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
59107       *) { eval $ac_var=; unset $ac_var;} ;;
59108       esac ;;
59109     esac
59110   done
59111
59112   (set) 2>&1 |
59113     case $as_nl`(ac_space=' '; set) 2>&1` in #(
59114     *${as_nl}ac_space=\ *)
59115       # `set' does not quote correctly, so add quotes: double-quote
59116       # substitution turns \\\\ into \\, and sed turns \\ into \.
59117       sed -n \
59118         "s/'/'\\\\''/g;
59119           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
59120       ;; #(
59121     *)
59122       # `set' quotes correctly as required by POSIX, so do not add quotes.
59123       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
59124       ;;
59125     esac |
59126     sort
59127 ) |
59128   sed '
59129      /^ac_cv_env_/b end
59130      t clear
59131      :clear
59132      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
59133      t end
59134      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
59135      :end' >>confcache
59136 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
59137   if test -w "$cache_file"; then
59138     test "x$cache_file" != "x/dev/null" &&
59139       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
59140 $as_echo "$as_me: updating cache $cache_file" >&6;}
59141     cat confcache >$cache_file
59142   else
59143     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
59144 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
59145   fi
59146 fi
59147 rm -f confcache
59148
59149 test "x$prefix" = xNONE && prefix=$ac_default_prefix
59150 # Let make expand exec_prefix.
59151 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
59152
59153 DEFS=-DHAVE_CONFIG_H
59154
59155 ac_libobjs=
59156 ac_ltlibobjs=
59157 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
59158   # 1. Remove the extension, and $U if already installed.
59159   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
59160   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
59161   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
59162   #    will be set to the directory where LIBOBJS objects are built.
59163   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
59164   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
59165 done
59166 LIBOBJS=$ac_libobjs
59167
59168 LTLIBOBJS=$ac_ltlibobjs
59169
59170
59171  if test -n "$EXEEXT"; then
59172   am__EXEEXT_TRUE=
59173   am__EXEEXT_FALSE='#'
59174 else
59175   am__EXEEXT_TRUE='#'
59176   am__EXEEXT_FALSE=
59177 fi
59178
59179 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
59180   as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
59181 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59182 fi
59183 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
59184   as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
59185 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59186 fi
59187 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
59188   as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
59189 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59190 fi
59191 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
59192   as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
59193 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59194 fi
59195 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
59196   as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
59197 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59198 fi
59199 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
59200   as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
59201 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59202 fi
59203 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
59204   as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
59205 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59206 fi
59207 if test -z "${GLIBCXX_C_HEADERS_EXTRA_TRUE}" && test -z "${GLIBCXX_C_HEADERS_EXTRA_FALSE}"; then
59208   as_fn_error "conditional \"GLIBCXX_C_HEADERS_EXTRA\" was never defined.
59209 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59210 fi
59211 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
59212   as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
59213 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59214 fi
59215 if test -z "${ENABLE_PARALLEL_TRUE}" && test -z "${ENABLE_PARALLEL_FALSE}"; then
59216   as_fn_error "conditional \"ENABLE_PARALLEL\" was never defined.
59217 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59218 fi
59219 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
59220   as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
59221 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59222 fi
59223 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
59224   as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
59225 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59226 fi
59227 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
59228   as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
59229 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59230 fi
59231 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
59232   as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
59233 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59234 fi
59235 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
59236   as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
59237 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59238 fi
59239 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
59240   as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
59241 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59242 fi
59243
59244 : ${CONFIG_STATUS=./config.status}
59245 ac_write_fail=0
59246 ac_clean_files_save=$ac_clean_files
59247 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
59248 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
59249 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
59250 as_write_fail=0
59251 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
59252 #! $SHELL
59253 # Generated by $as_me.
59254 # Run this file to recreate the current configuration.
59255 # Compiler output produced by configure, useful for debugging
59256 # configure, is in config.log if it exists.
59257
59258 debug=false
59259 ac_cs_recheck=false
59260 ac_cs_silent=false
59261
59262 SHELL=\${CONFIG_SHELL-$SHELL}
59263 export SHELL
59264 _ASEOF
59265 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
59266 ## -------------------- ##
59267 ## M4sh Initialization. ##
59268 ## -------------------- ##
59269
59270 # Be more Bourne compatible
59271 DUALCASE=1; export DUALCASE # for MKS sh
59272 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
59273   emulate sh
59274   NULLCMD=:
59275   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
59276   # is contrary to our usage.  Disable this feature.
59277   alias -g '${1+"$@"}'='"$@"'
59278   setopt NO_GLOB_SUBST
59279 else
59280   case `(set -o) 2>/dev/null` in #(
59281   *posix*) :
59282     set -o posix ;; #(
59283   *) :
59284      ;;
59285 esac
59286 fi
59287
59288
59289 as_nl='
59290 '
59291 export as_nl
59292 # Printing a long string crashes Solaris 7 /usr/bin/printf.
59293 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
59294 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
59295 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
59296 # Prefer a ksh shell builtin over an external printf program on Solaris,
59297 # but without wasting forks for bash or zsh.
59298 if test -z "$BASH_VERSION$ZSH_VERSION" \
59299     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
59300   as_echo='print -r --'
59301   as_echo_n='print -rn --'
59302 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
59303   as_echo='printf %s\n'
59304   as_echo_n='printf %s'
59305 else
59306   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
59307     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
59308     as_echo_n='/usr/ucb/echo -n'
59309   else
59310     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
59311     as_echo_n_body='eval
59312       arg=$1;
59313       case $arg in #(
59314       *"$as_nl"*)
59315         expr "X$arg" : "X\\(.*\\)$as_nl";
59316         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
59317       esac;
59318       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
59319     '
59320     export as_echo_n_body
59321     as_echo_n='sh -c $as_echo_n_body as_echo'
59322   fi
59323   export as_echo_body
59324   as_echo='sh -c $as_echo_body as_echo'
59325 fi
59326
59327 # The user is always right.
59328 if test "${PATH_SEPARATOR+set}" != set; then
59329   PATH_SEPARATOR=:
59330   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
59331     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
59332       PATH_SEPARATOR=';'
59333   }
59334 fi
59335
59336
59337 # IFS
59338 # We need space, tab and new line, in precisely that order.  Quoting is
59339 # there to prevent editors from complaining about space-tab.
59340 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
59341 # splitting by setting IFS to empty value.)
59342 IFS=" ""        $as_nl"
59343
59344 # Find who we are.  Look in the path if we contain no directory separator.
59345 case $0 in #((
59346   *[\\/]* ) as_myself=$0 ;;
59347   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
59348 for as_dir in $PATH
59349 do
59350   IFS=$as_save_IFS
59351   test -z "$as_dir" && as_dir=.
59352     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
59353   done
59354 IFS=$as_save_IFS
59355
59356      ;;
59357 esac
59358 # We did not find ourselves, most probably we were run as `sh COMMAND'
59359 # in which case we are not to be found in the path.
59360 if test "x$as_myself" = x; then
59361   as_myself=$0
59362 fi
59363 if test ! -f "$as_myself"; then
59364   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
59365   exit 1
59366 fi
59367
59368 # Unset variables that we do not need and which cause bugs (e.g. in
59369 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
59370 # suppresses any "Segmentation fault" message there.  '((' could
59371 # trigger a bug in pdksh 5.2.14.
59372 for as_var in BASH_ENV ENV MAIL MAILPATH
59373 do eval test x\${$as_var+set} = xset \
59374   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
59375 done
59376 PS1='$ '
59377 PS2='> '
59378 PS4='+ '
59379
59380 # NLS nuisances.
59381 LC_ALL=C
59382 export LC_ALL
59383 LANGUAGE=C
59384 export LANGUAGE
59385
59386 # CDPATH.
59387 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
59388
59389
59390 # as_fn_error ERROR [LINENO LOG_FD]
59391 # ---------------------------------
59392 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
59393 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
59394 # script with status $?, using 1 if that was 0.
59395 as_fn_error ()
59396 {
59397   as_status=$?; test $as_status -eq 0 && as_status=1
59398   if test "$3"; then
59399     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
59400     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
59401   fi
59402   $as_echo "$as_me: error: $1" >&2
59403   as_fn_exit $as_status
59404 } # as_fn_error
59405
59406
59407 # as_fn_set_status STATUS
59408 # -----------------------
59409 # Set $? to STATUS, without forking.
59410 as_fn_set_status ()
59411 {
59412   return $1
59413 } # as_fn_set_status
59414
59415 # as_fn_exit STATUS
59416 # -----------------
59417 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
59418 as_fn_exit ()
59419 {
59420   set +e
59421   as_fn_set_status $1
59422   exit $1
59423 } # as_fn_exit
59424
59425 # as_fn_unset VAR
59426 # ---------------
59427 # Portably unset VAR.
59428 as_fn_unset ()
59429 {
59430   { eval $1=; unset $1;}
59431 }
59432 as_unset=as_fn_unset
59433 # as_fn_append VAR VALUE
59434 # ----------------------
59435 # Append the text in VALUE to the end of the definition contained in VAR. Take
59436 # advantage of any shell optimizations that allow amortized linear growth over
59437 # repeated appends, instead of the typical quadratic growth present in naive
59438 # implementations.
59439 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
59440   eval 'as_fn_append ()
59441   {
59442     eval $1+=\$2
59443   }'
59444 else
59445   as_fn_append ()
59446   {
59447     eval $1=\$$1\$2
59448   }
59449 fi # as_fn_append
59450
59451 # as_fn_arith ARG...
59452 # ------------------
59453 # Perform arithmetic evaluation on the ARGs, and store the result in the
59454 # global $as_val. Take advantage of shells that can avoid forks. The arguments
59455 # must be portable across $(()) and expr.
59456 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
59457   eval 'as_fn_arith ()
59458   {
59459     as_val=$(( $* ))
59460   }'
59461 else
59462   as_fn_arith ()
59463   {
59464     as_val=`expr "$@" || test $? -eq 1`
59465   }
59466 fi # as_fn_arith
59467
59468
59469 if expr a : '\(a\)' >/dev/null 2>&1 &&
59470    test "X`expr 00001 : '.*\(...\)'`" = X001; then
59471   as_expr=expr
59472 else
59473   as_expr=false
59474 fi
59475
59476 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
59477   as_basename=basename
59478 else
59479   as_basename=false
59480 fi
59481
59482 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
59483   as_dirname=dirname
59484 else
59485   as_dirname=false
59486 fi
59487
59488 as_me=`$as_basename -- "$0" ||
59489 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
59490          X"$0" : 'X\(//\)$' \| \
59491          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
59492 $as_echo X/"$0" |
59493     sed '/^.*\/\([^/][^/]*\)\/*$/{
59494             s//\1/
59495             q
59496           }
59497           /^X\/\(\/\/\)$/{
59498             s//\1/
59499             q
59500           }
59501           /^X\/\(\/\).*/{
59502             s//\1/
59503             q
59504           }
59505           s/.*/./; q'`
59506
59507 # Avoid depending upon Character Ranges.
59508 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
59509 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
59510 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
59511 as_cr_digits='0123456789'
59512 as_cr_alnum=$as_cr_Letters$as_cr_digits
59513
59514 ECHO_C= ECHO_N= ECHO_T=
59515 case `echo -n x` in #(((((
59516 -n*)
59517   case `echo 'xy\c'` in
59518   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
59519   xy)  ECHO_C='\c';;
59520   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
59521        ECHO_T=' ';;
59522   esac;;
59523 *)
59524   ECHO_N='-n';;
59525 esac
59526
59527 rm -f conf$$ conf$$.exe conf$$.file
59528 if test -d conf$$.dir; then
59529   rm -f conf$$.dir/conf$$.file
59530 else
59531   rm -f conf$$.dir
59532   mkdir conf$$.dir 2>/dev/null
59533 fi
59534 if (echo >conf$$.file) 2>/dev/null; then
59535   if ln -s conf$$.file conf$$ 2>/dev/null; then
59536     as_ln_s='ln -s'
59537     # ... but there are two gotchas:
59538     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
59539     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
59540     # In both cases, we have to default to `cp -p'.
59541     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
59542       as_ln_s='cp -p'
59543   elif ln conf$$.file conf$$ 2>/dev/null; then
59544     as_ln_s=ln
59545   else
59546     as_ln_s='cp -p'
59547   fi
59548 else
59549   as_ln_s='cp -p'
59550 fi
59551 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
59552 rmdir conf$$.dir 2>/dev/null
59553
59554
59555 # as_fn_mkdir_p
59556 # -------------
59557 # Create "$as_dir" as a directory, including parents if necessary.
59558 as_fn_mkdir_p ()
59559 {
59560
59561   case $as_dir in #(
59562   -*) as_dir=./$as_dir;;
59563   esac
59564   test -d "$as_dir" || eval $as_mkdir_p || {
59565     as_dirs=
59566     while :; do
59567       case $as_dir in #(
59568       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
59569       *) as_qdir=$as_dir;;
59570       esac
59571       as_dirs="'$as_qdir' $as_dirs"
59572       as_dir=`$as_dirname -- "$as_dir" ||
59573 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
59574          X"$as_dir" : 'X\(//\)[^/]' \| \
59575          X"$as_dir" : 'X\(//\)$' \| \
59576          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
59577 $as_echo X"$as_dir" |
59578     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
59579             s//\1/
59580             q
59581           }
59582           /^X\(\/\/\)[^/].*/{
59583             s//\1/
59584             q
59585           }
59586           /^X\(\/\/\)$/{
59587             s//\1/
59588             q
59589           }
59590           /^X\(\/\).*/{
59591             s//\1/
59592             q
59593           }
59594           s/.*/./; q'`
59595       test -d "$as_dir" && break
59596     done
59597     test -z "$as_dirs" || eval "mkdir $as_dirs"
59598   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
59599
59600
59601 } # as_fn_mkdir_p
59602 if mkdir -p . 2>/dev/null; then
59603   as_mkdir_p='mkdir -p "$as_dir"'
59604 else
59605   test -d ./-p && rmdir ./-p
59606   as_mkdir_p=false
59607 fi
59608
59609 if test -x / >/dev/null 2>&1; then
59610   as_test_x='test -x'
59611 else
59612   if ls -dL / >/dev/null 2>&1; then
59613     as_ls_L_option=L
59614   else
59615     as_ls_L_option=
59616   fi
59617   as_test_x='
59618     eval sh -c '\''
59619       if test -d "$1"; then
59620         test -d "$1/.";
59621       else
59622         case $1 in #(
59623         -*)set "./$1";;
59624         esac;
59625         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
59626         ???[sx]*):;;*)false;;esac;fi
59627     '\'' sh
59628   '
59629 fi
59630 as_executable_p=$as_test_x
59631
59632 # Sed expression to map a string onto a valid CPP name.
59633 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
59634
59635 # Sed expression to map a string onto a valid variable name.
59636 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
59637
59638
59639 exec 6>&1
59640 ## ----------------------------------- ##
59641 ## Main body of $CONFIG_STATUS script. ##
59642 ## ----------------------------------- ##
59643 _ASEOF
59644 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
59645
59646 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
59647 # Save the log message, to keep $0 and so on meaningful, and to
59648 # report actual input values of CONFIG_FILES etc. instead of their
59649 # values after options handling.
59650 ac_log="
59651 This file was extended by package-unused $as_me version-unused, which was
59652 generated by GNU Autoconf 2.64.  Invocation command line was
59653
59654   CONFIG_FILES    = $CONFIG_FILES
59655   CONFIG_HEADERS  = $CONFIG_HEADERS
59656   CONFIG_LINKS    = $CONFIG_LINKS
59657   CONFIG_COMMANDS = $CONFIG_COMMANDS
59658   $ $0 $@
59659
59660 on `(hostname || uname -n) 2>/dev/null | sed 1q`
59661 "
59662
59663 _ACEOF
59664
59665 case $ac_config_files in *"
59666 "*) set x $ac_config_files; shift; ac_config_files=$*;;
59667 esac
59668
59669 case $ac_config_headers in *"
59670 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
59671 esac
59672
59673
59674 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
59675 # Files that config.status was made for.
59676 config_files="$ac_config_files"
59677 config_headers="$ac_config_headers"
59678 config_commands="$ac_config_commands"
59679
59680 _ACEOF
59681
59682 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
59683 ac_cs_usage="\
59684 \`$as_me' instantiates files and other configuration actions
59685 from templates according to the current configuration.  Unless the files
59686 and actions are specified as TAGs, all are instantiated by default.
59687
59688 Usage: $0 [OPTION]... [TAG]...
59689
59690   -h, --help       print this help, then exit
59691   -V, --version    print version number and configuration settings, then exit
59692   -q, --quiet, --silent
59693                    do not print progress messages
59694   -d, --debug      don't remove temporary files
59695       --recheck    update $as_me by reconfiguring in the same conditions
59696       --file=FILE[:TEMPLATE]
59697                    instantiate the configuration file FILE
59698       --header=FILE[:TEMPLATE]
59699                    instantiate the configuration header FILE
59700
59701 Configuration files:
59702 $config_files
59703
59704 Configuration headers:
59705 $config_headers
59706
59707 Configuration commands:
59708 $config_commands
59709
59710 Report bugs to the package provider."
59711
59712 _ACEOF
59713 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
59714 ac_cs_version="\\
59715 package-unused config.status version-unused
59716 configured by $0, generated by GNU Autoconf 2.64,
59717   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
59718
59719 Copyright (C) 2009 Free Software Foundation, Inc.
59720 This config.status script is free software; the Free Software Foundation
59721 gives unlimited permission to copy, distribute and modify it."
59722
59723 ac_pwd='$ac_pwd'
59724 srcdir='$srcdir'
59725 INSTALL='$INSTALL'
59726 MKDIR_P='$MKDIR_P'
59727 AWK='$AWK'
59728 test -n "\$AWK" || AWK=awk
59729 _ACEOF
59730
59731 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
59732 # The default lists apply if the user does not specify any file.
59733 ac_need_defaults=:
59734 while test $# != 0
59735 do
59736   case $1 in
59737   --*=*)
59738     ac_option=`expr "X$1" : 'X\([^=]*\)='`
59739     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
59740     ac_shift=:
59741     ;;
59742   *)
59743     ac_option=$1
59744     ac_optarg=$2
59745     ac_shift=shift
59746     ;;
59747   esac
59748
59749   case $ac_option in
59750   # Handling of the options.
59751   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
59752     ac_cs_recheck=: ;;
59753   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
59754     $as_echo "$ac_cs_version"; exit ;;
59755   --debug | --debu | --deb | --de | --d | -d )
59756     debug=: ;;
59757   --file | --fil | --fi | --f )
59758     $ac_shift
59759     case $ac_optarg in
59760     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
59761     esac
59762     as_fn_append CONFIG_FILES " '$ac_optarg'"
59763     ac_need_defaults=false;;
59764   --header | --heade | --head | --hea )
59765     $ac_shift
59766     case $ac_optarg in
59767     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
59768     esac
59769     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
59770     ac_need_defaults=false;;
59771   --he | --h)
59772     # Conflict between --help and --header
59773     as_fn_error "ambiguous option: \`$1'
59774 Try \`$0 --help' for more information.";;
59775   --help | --hel | -h )
59776     $as_echo "$ac_cs_usage"; exit ;;
59777   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
59778   | -silent | --silent | --silen | --sile | --sil | --si | --s)
59779     ac_cs_silent=: ;;
59780
59781   # This is an error.
59782   -*) as_fn_error "unrecognized option: \`$1'
59783 Try \`$0 --help' for more information." ;;
59784
59785   *) as_fn_append ac_config_targets " $1"
59786      ac_need_defaults=false ;;
59787
59788   esac
59789   shift
59790 done
59791
59792 ac_configure_extra_args=
59793
59794 if $ac_cs_silent; then
59795   exec 6>/dev/null
59796   ac_configure_extra_args="$ac_configure_extra_args --silent"
59797 fi
59798
59799 _ACEOF
59800 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
59801 if \$ac_cs_recheck; then
59802   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
59803   shift
59804   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
59805   CONFIG_SHELL='$SHELL'
59806   export CONFIG_SHELL
59807   exec "\$@"
59808 fi
59809
59810 _ACEOF
59811 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
59812 exec 5>>config.log
59813 {
59814   echo
59815   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
59816 ## Running $as_me. ##
59817 _ASBOX
59818   $as_echo "$ac_log"
59819 } >&5
59820
59821 _ACEOF
59822 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
59823 #
59824 # INIT-COMMANDS
59825 #
59826
59827 srcdir="$srcdir"
59828 host="$host"
59829 target="$target"
59830 with_multisubdir="$with_multisubdir"
59831 with_multisrctop="$with_multisrctop"
59832 with_target_subdir="$with_target_subdir"
59833 ac_configure_args="${multilib_arg} ${ac_configure_args}"
59834 multi_basedir="$multi_basedir"
59835 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
59836 CC="$CC"
59837 CXX="$CXX"
59838 GFORTRAN="$GFORTRAN"
59839 GCJ="$GCJ"
59840
59841
59842 # The HP-UX ksh and POSIX shell print the target directory to stdout
59843 # if CDPATH is set.
59844 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
59845
59846 sed_quote_subst='$sed_quote_subst'
59847 double_quote_subst='$double_quote_subst'
59848 delay_variable_subst='$delay_variable_subst'
59849 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
59850 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
59851 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
59852 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
59853 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
59854 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
59855 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
59856 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
59857 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
59858 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
59859 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
59860 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
59861 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
59862 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
59863 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
59864 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
59865 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
59866 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
59867 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
59868 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
59869 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
59870 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
59871 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
59872 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
59873 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
59874 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
59875 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
59876 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
59877 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
59878 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
59879 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
59880 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
59881 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
59882 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
59883 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
59884 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
59885 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
59886 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
59887 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
59888 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
59889 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
59890 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
59891 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
59892 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
59893 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"`'
59894 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
59895 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
59896 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
59897 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
59898 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
59899 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
59900 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
59901 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
59902 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
59903 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
59904 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
59905 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
59906 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
59907 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
59908 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
59909 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
59910 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
59911 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
59912 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
59913 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
59914 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
59915 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
59916 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
59917 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
59918 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
59919 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
59920 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
59921 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
59922 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
59923 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
59924 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
59925 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
59926 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
59927 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
59928 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
59929 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
59930 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
59931 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
59932 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
59933 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
59934 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
59935 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
59936 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
59937 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
59938 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
59939 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
59940 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
59941 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
59942 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
59943 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
59944 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
59945 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
59946 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
59947 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
59948 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
59949 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
59950 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
59951 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
59952 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
59953 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
59954 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
59955 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
59956 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
59957 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
59958 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
59959 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
59960 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
59961 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
59962 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
59963 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
59964 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
59965 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
59966 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
59967 compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
59968 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
59969 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
59970 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
59971 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
59972 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
59973 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
59974 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
59975 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
59976 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
59977 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
59978 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
59979 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
59980 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
59981 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
59982 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
59983 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
59984 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
59985 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
59986 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
59987 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
59988 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
59989 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
59990 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
59991 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
59992 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
59993 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
59994 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
59995 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
59996 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
59997 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
59998 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
59999 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60000 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60001 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60002 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60003 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60004 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60005 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60006 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60007 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60008 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60009 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60010 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60011 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60012 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60013 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60014 compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60015 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60016 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60017 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60018 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60019 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60020
60021 LTCC='$LTCC'
60022 LTCFLAGS='$LTCFLAGS'
60023 compiler='$compiler_DEFAULT'
60024
60025 # Quote evaled strings.
60026 for var in SED \
60027 GREP \
60028 EGREP \
60029 FGREP \
60030 LD \
60031 NM \
60032 LN_S \
60033 lt_SP2NL \
60034 lt_NL2SP \
60035 reload_flag \
60036 OBJDUMP \
60037 deplibs_check_method \
60038 file_magic_cmd \
60039 AR \
60040 AR_FLAGS \
60041 STRIP \
60042 RANLIB \
60043 CC \
60044 CFLAGS \
60045 compiler \
60046 lt_cv_sys_global_symbol_pipe \
60047 lt_cv_sys_global_symbol_to_cdecl \
60048 lt_cv_sys_global_symbol_to_c_name_address \
60049 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
60050 SHELL \
60051 ECHO \
60052 lt_prog_compiler_no_builtin_flag \
60053 lt_prog_compiler_wl \
60054 lt_prog_compiler_pic \
60055 lt_prog_compiler_static \
60056 lt_cv_prog_compiler_c_o \
60057 need_locks \
60058 DSYMUTIL \
60059 NMEDIT \
60060 LIPO \
60061 OTOOL \
60062 OTOOL64 \
60063 shrext_cmds \
60064 export_dynamic_flag_spec \
60065 whole_archive_flag_spec \
60066 compiler_needs_object \
60067 with_gnu_ld \
60068 allow_undefined_flag \
60069 no_undefined_flag \
60070 hardcode_libdir_flag_spec \
60071 hardcode_libdir_flag_spec_ld \
60072 hardcode_libdir_separator \
60073 fix_srcfile_path \
60074 exclude_expsyms \
60075 include_expsyms \
60076 file_list_spec \
60077 variables_saved_for_relink \
60078 libname_spec \
60079 library_names_spec \
60080 soname_spec \
60081 finish_eval \
60082 old_striplib \
60083 striplib \
60084 compiler_lib_search_dirs \
60085 predep_objects \
60086 postdep_objects \
60087 predeps \
60088 postdeps \
60089 compiler_lib_search_path \
60090 LD_CXX \
60091 compiler_CXX \
60092 lt_prog_compiler_no_builtin_flag_CXX \
60093 lt_prog_compiler_wl_CXX \
60094 lt_prog_compiler_pic_CXX \
60095 lt_prog_compiler_static_CXX \
60096 lt_cv_prog_compiler_c_o_CXX \
60097 export_dynamic_flag_spec_CXX \
60098 whole_archive_flag_spec_CXX \
60099 compiler_needs_object_CXX \
60100 with_gnu_ld_CXX \
60101 allow_undefined_flag_CXX \
60102 no_undefined_flag_CXX \
60103 hardcode_libdir_flag_spec_CXX \
60104 hardcode_libdir_flag_spec_ld_CXX \
60105 hardcode_libdir_separator_CXX \
60106 fix_srcfile_path_CXX \
60107 exclude_expsyms_CXX \
60108 include_expsyms_CXX \
60109 file_list_spec_CXX \
60110 compiler_lib_search_dirs_CXX \
60111 predep_objects_CXX \
60112 postdep_objects_CXX \
60113 predeps_CXX \
60114 postdeps_CXX \
60115 compiler_lib_search_path_CXX; do
60116     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
60117     *[\\\\\\\`\\"\\\$]*)
60118       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
60119       ;;
60120     *)
60121       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
60122       ;;
60123     esac
60124 done
60125
60126 # Double-quote double-evaled strings.
60127 for var in reload_cmds \
60128 old_postinstall_cmds \
60129 old_postuninstall_cmds \
60130 old_archive_cmds \
60131 extract_expsyms_cmds \
60132 old_archive_from_new_cmds \
60133 old_archive_from_expsyms_cmds \
60134 archive_cmds \
60135 archive_expsym_cmds \
60136 module_cmds \
60137 module_expsym_cmds \
60138 export_symbols_cmds \
60139 prelink_cmds \
60140 postinstall_cmds \
60141 postuninstall_cmds \
60142 finish_cmds \
60143 sys_lib_search_path_spec \
60144 sys_lib_dlsearch_path_spec \
60145 old_archive_cmds_CXX \
60146 old_archive_from_new_cmds_CXX \
60147 old_archive_from_expsyms_cmds_CXX \
60148 archive_cmds_CXX \
60149 archive_expsym_cmds_CXX \
60150 module_cmds_CXX \
60151 module_expsym_cmds_CXX \
60152 export_symbols_cmds_CXX \
60153 prelink_cmds_CXX; do
60154     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
60155     *[\\\\\\\`\\"\\\$]*)
60156       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
60157       ;;
60158     *)
60159       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
60160       ;;
60161     esac
60162 done
60163
60164 # Fix-up fallback echo if it was mangled by the above quoting rules.
60165 case \$lt_ECHO in
60166 *'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
60167   ;;
60168 esac
60169
60170 ac_aux_dir='$ac_aux_dir'
60171 xsi_shell='$xsi_shell'
60172 lt_shell_append='$lt_shell_append'
60173
60174 # See if we are running on zsh, and set the options which allow our
60175 # commands through without removal of \ escapes INIT.
60176 if test -n "\${ZSH_VERSION+set}" ; then
60177    setopt NO_GLOB_SUBST
60178 fi
60179
60180
60181     PACKAGE='$PACKAGE'
60182     VERSION='$VERSION'
60183     TIMESTAMP='$TIMESTAMP'
60184     RM='$RM'
60185     ofile='$ofile'
60186
60187
60188
60189
60190
60191
60192 GCC="$GCC"
60193 CC="$CC"
60194 acx_cv_header_stdint="$acx_cv_header_stdint"
60195 acx_cv_type_int8_t="$acx_cv_type_int8_t"
60196 acx_cv_type_int16_t="$acx_cv_type_int16_t"
60197 acx_cv_type_int32_t="$acx_cv_type_int32_t"
60198 acx_cv_type_int64_t="$acx_cv_type_int64_t"
60199 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
60200 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
60201 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
60202 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
60203 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
60204 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
60205 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
60206 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
60207 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
60208
60209
60210 _ACEOF
60211
60212 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60213
60214 # Handling of arguments.
60215 for ac_config_target in $ac_config_targets
60216 do
60217   case $ac_config_target in
60218     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
60219     "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
60220     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
60221     "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
60222     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
60223     "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
60224     "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
60225     "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
60226     "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
60227     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
60228     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
60229     "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
60230     "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
60231     "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
60232
60233   *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
60234   esac
60235 done
60236
60237
60238 # If the user did not use the arguments to specify the items to instantiate,
60239 # then the envvar interface is used.  Set only those that are not.
60240 # We use the long form for the default assignment because of an extremely
60241 # bizarre bug on SunOS 4.1.3.
60242 if $ac_need_defaults; then
60243   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
60244   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
60245   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
60246 fi
60247
60248 # Have a temporary directory for convenience.  Make it in the build tree
60249 # simply because there is no reason against having it here, and in addition,
60250 # creating and moving files from /tmp can sometimes cause problems.
60251 # Hook for its removal unless debugging.
60252 # Note that there is a small window in which the directory will not be cleaned:
60253 # after its creation but before its name has been assigned to `$tmp'.
60254 $debug ||
60255 {
60256   tmp=
60257   trap 'exit_status=$?
60258   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
60259 ' 0
60260   trap 'as_fn_exit 1' 1 2 13 15
60261 }
60262 # Create a (secure) tmp directory for tmp files.
60263
60264 {
60265   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
60266   test -n "$tmp" && test -d "$tmp"
60267 }  ||
60268 {
60269   tmp=./conf$$-$RANDOM
60270   (umask 077 && mkdir "$tmp")
60271 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
60272
60273 # Set up the scripts for CONFIG_FILES section.
60274 # No need to generate them if there are no CONFIG_FILES.
60275 # This happens for instance with `./config.status config.h'.
60276 if test -n "$CONFIG_FILES"; then
60277
60278
60279 ac_cr=`echo X | tr X '\015'`
60280 # On cygwin, bash can eat \r inside `` if the user requested igncr.
60281 # But we know of no other shell where ac_cr would be empty at this
60282 # point, so we can use a bashism as a fallback.
60283 if test "x$ac_cr" = x; then
60284   eval ac_cr=\$\'\\r\'
60285 fi
60286 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
60287 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
60288   ac_cs_awk_cr='\r'
60289 else
60290   ac_cs_awk_cr=$ac_cr
60291 fi
60292
60293 echo 'BEGIN {' >"$tmp/subs1.awk" &&
60294 _ACEOF
60295
60296
60297 {
60298   echo "cat >conf$$subs.awk <<_ACEOF" &&
60299   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
60300   echo "_ACEOF"
60301 } >conf$$subs.sh ||
60302   as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
60303 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
60304 ac_delim='%!_!# '
60305 for ac_last_try in false false false false false :; do
60306   . ./conf$$subs.sh ||
60307     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
60308
60309   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
60310   if test $ac_delim_n = $ac_delim_num; then
60311     break
60312   elif $ac_last_try; then
60313     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
60314   else
60315     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
60316   fi
60317 done
60318 rm -f conf$$subs.sh
60319
60320 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60321 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
60322 _ACEOF
60323 sed -n '
60324 h
60325 s/^/S["/; s/!.*/"]=/
60326 p
60327 g
60328 s/^[^!]*!//
60329 :repl
60330 t repl
60331 s/'"$ac_delim"'$//
60332 t delim
60333 :nl
60334 h
60335 s/\(.\{148\}\).*/\1/
60336 t more1
60337 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
60338 p
60339 n
60340 b repl
60341 :more1
60342 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
60343 p
60344 g
60345 s/.\{148\}//
60346 t nl
60347 :delim
60348 h
60349 s/\(.\{148\}\).*/\1/
60350 t more2
60351 s/["\\]/\\&/g; s/^/"/; s/$/"/
60352 p
60353 b
60354 :more2
60355 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
60356 p
60357 g
60358 s/.\{148\}//
60359 t delim
60360 ' <conf$$subs.awk | sed '
60361 /^[^""]/{
60362   N
60363   s/\n//
60364 }
60365 ' >>$CONFIG_STATUS || ac_write_fail=1
60366 rm -f conf$$subs.awk
60367 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60368 _ACAWK
60369 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
60370   for (key in S) S_is_set[key] = 1
60371   FS = "\a"
60372
60373 }
60374 {
60375   line = $ 0
60376   nfields = split(line, field, "@")
60377   substed = 0
60378   len = length(field[1])
60379   for (i = 2; i < nfields; i++) {
60380     key = field[i]
60381     keylen = length(key)
60382     if (S_is_set[key]) {
60383       value = S[key]
60384       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
60385       len += length(value) + length(field[++i])
60386       substed = 1
60387     } else
60388       len += 1 + keylen
60389   }
60390
60391   print line
60392 }
60393
60394 _ACAWK
60395 _ACEOF
60396 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60397 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
60398   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
60399 else
60400   cat
60401 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
60402   || as_fn_error "could not setup config files machinery" "$LINENO" 5
60403 _ACEOF
60404
60405 # VPATH may cause trouble with some makes, so we remove $(srcdir),
60406 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
60407 # trailing colons and then remove the whole line if VPATH becomes empty
60408 # (actually we leave an empty line to preserve line numbers).
60409 if test "x$srcdir" = x.; then
60410   ac_vpsub='/^[  ]*VPATH[        ]*=/{
60411 s/:*\$(srcdir):*/:/
60412 s/:*\${srcdir}:*/:/
60413 s/:*@srcdir@:*/:/
60414 s/^\([^=]*=[     ]*\):*/\1/
60415 s/:*$//
60416 s/^[^=]*=[       ]*$//
60417 }'
60418 fi
60419
60420 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60421 fi # test -n "$CONFIG_FILES"
60422
60423 # Set up the scripts for CONFIG_HEADERS section.
60424 # No need to generate them if there are no CONFIG_HEADERS.
60425 # This happens for instance with `./config.status Makefile'.
60426 if test -n "$CONFIG_HEADERS"; then
60427 cat >"$tmp/defines.awk" <<\_ACAWK ||
60428 BEGIN {
60429 _ACEOF
60430
60431 # Transform confdefs.h into an awk script `defines.awk', embedded as
60432 # here-document in config.status, that substitutes the proper values into
60433 # config.h.in to produce config.h.
60434
60435 # Create a delimiter string that does not exist in confdefs.h, to ease
60436 # handling of long lines.
60437 ac_delim='%!_!# '
60438 for ac_last_try in false false :; do
60439   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
60440   if test -z "$ac_t"; then
60441     break
60442   elif $ac_last_try; then
60443     as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
60444   else
60445     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
60446   fi
60447 done
60448
60449 # For the awk script, D is an array of macro values keyed by name,
60450 # likewise P contains macro parameters if any.  Preserve backslash
60451 # newline sequences.
60452
60453 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
60454 sed -n '
60455 s/.\{148\}/&'"$ac_delim"'/g
60456 t rset
60457 :rset
60458 s/^[     ]*#[    ]*define[       ][      ]*/ /
60459 t def
60460 d
60461 :def
60462 s/\\$//
60463 t bsnl
60464 s/["\\]/\\&/g
60465 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
60466 D["\1"]=" \3"/p
60467 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
60468 d
60469 :bsnl
60470 s/["\\]/\\&/g
60471 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
60472 D["\1"]=" \3\\\\\\n"\\/p
60473 t cont
60474 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
60475 t cont
60476 d
60477 :cont
60478 n
60479 s/.\{148\}/&'"$ac_delim"'/g
60480 t clear
60481 :clear
60482 s/\\$//
60483 t bsnlc
60484 s/["\\]/\\&/g; s/^/"/; s/$/"/p
60485 d
60486 :bsnlc
60487 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
60488 b cont
60489 ' <confdefs.h | sed '
60490 s/'"$ac_delim"'/"\\\
60491 "/g' >>$CONFIG_STATUS || ac_write_fail=1
60492
60493 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60494   for (key in D) D_is_set[key] = 1
60495   FS = "\a"
60496 }
60497 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
60498   line = \$ 0
60499   split(line, arg, " ")
60500   if (arg[1] == "#") {
60501     defundef = arg[2]
60502     mac1 = arg[3]
60503   } else {
60504     defundef = substr(arg[1], 2)
60505     mac1 = arg[2]
60506   }
60507   split(mac1, mac2, "(") #)
60508   macro = mac2[1]
60509   prefix = substr(line, 1, index(line, defundef) - 1)
60510   if (D_is_set[macro]) {
60511     # Preserve the white space surrounding the "#".
60512     print prefix "define", macro P[macro] D[macro]
60513     next
60514   } else {
60515     # Replace #undef with comments.  This is necessary, for example,
60516     # in the case of _POSIX_SOURCE, which is predefined and required
60517     # on some systems where configure will not decide to define it.
60518     if (defundef == "undef") {
60519       print "/*", prefix defundef, macro, "*/"
60520       next
60521     }
60522   }
60523 }
60524 { print }
60525 _ACAWK
60526 _ACEOF
60527 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60528   as_fn_error "could not setup config headers machinery" "$LINENO" 5
60529 fi # test -n "$CONFIG_HEADERS"
60530
60531
60532 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
60533 shift
60534 for ac_tag
60535 do
60536   case $ac_tag in
60537   :[FHLC]) ac_mode=$ac_tag; continue;;
60538   esac
60539   case $ac_mode$ac_tag in
60540   :[FHL]*:*);;
60541   :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
60542   :[FH]-) ac_tag=-:-;;
60543   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
60544   esac
60545   ac_save_IFS=$IFS
60546   IFS=:
60547   set x $ac_tag
60548   IFS=$ac_save_IFS
60549   shift
60550   ac_file=$1
60551   shift
60552
60553   case $ac_mode in
60554   :L) ac_source=$1;;
60555   :[FH])
60556     ac_file_inputs=
60557     for ac_f
60558     do
60559       case $ac_f in
60560       -) ac_f="$tmp/stdin";;
60561       *) # Look for the file first in the build tree, then in the source tree
60562          # (if the path is not absolute).  The absolute path cannot be DOS-style,
60563          # because $ac_f cannot contain `:'.
60564          test -f "$ac_f" ||
60565            case $ac_f in
60566            [\\/$]*) false;;
60567            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
60568            esac ||
60569            as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
60570       esac
60571       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
60572       as_fn_append ac_file_inputs " '$ac_f'"
60573     done
60574
60575     # Let's still pretend it is `configure' which instantiates (i.e., don't
60576     # use $as_me), people would be surprised to read:
60577     #    /* config.h.  Generated by config.status.  */
60578     configure_input='Generated from '`
60579           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
60580         `' by configure.'
60581     if test x"$ac_file" != x-; then
60582       configure_input="$ac_file.  $configure_input"
60583       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
60584 $as_echo "$as_me: creating $ac_file" >&6;}
60585     fi
60586     # Neutralize special characters interpreted by sed in replacement strings.
60587     case $configure_input in #(
60588     *\&* | *\|* | *\\* )
60589        ac_sed_conf_input=`$as_echo "$configure_input" |
60590        sed 's/[\\\\&|]/\\\\&/g'`;; #(
60591     *) ac_sed_conf_input=$configure_input;;
60592     esac
60593
60594     case $ac_tag in
60595     *:-:* | *:-) cat >"$tmp/stdin" \
60596       || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
60597     esac
60598     ;;
60599   esac
60600
60601   ac_dir=`$as_dirname -- "$ac_file" ||
60602 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
60603          X"$ac_file" : 'X\(//\)[^/]' \| \
60604          X"$ac_file" : 'X\(//\)$' \| \
60605          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
60606 $as_echo X"$ac_file" |
60607     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
60608             s//\1/
60609             q
60610           }
60611           /^X\(\/\/\)[^/].*/{
60612             s//\1/
60613             q
60614           }
60615           /^X\(\/\/\)$/{
60616             s//\1/
60617             q
60618           }
60619           /^X\(\/\).*/{
60620             s//\1/
60621             q
60622           }
60623           s/.*/./; q'`
60624   as_dir="$ac_dir"; as_fn_mkdir_p
60625   ac_builddir=.
60626
60627 case "$ac_dir" in
60628 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
60629 *)
60630   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
60631   # A ".." for each directory in $ac_dir_suffix.
60632   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
60633   case $ac_top_builddir_sub in
60634   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
60635   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
60636   esac ;;
60637 esac
60638 ac_abs_top_builddir=$ac_pwd
60639 ac_abs_builddir=$ac_pwd$ac_dir_suffix
60640 # for backward compatibility:
60641 ac_top_builddir=$ac_top_build_prefix
60642
60643 case $srcdir in
60644   .)  # We are building in place.
60645     ac_srcdir=.
60646     ac_top_srcdir=$ac_top_builddir_sub
60647     ac_abs_top_srcdir=$ac_pwd ;;
60648   [\\/]* | ?:[\\/]* )  # Absolute name.
60649     ac_srcdir=$srcdir$ac_dir_suffix;
60650     ac_top_srcdir=$srcdir
60651     ac_abs_top_srcdir=$srcdir ;;
60652   *) # Relative name.
60653     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
60654     ac_top_srcdir=$ac_top_build_prefix$srcdir
60655     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
60656 esac
60657 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
60658
60659
60660   case $ac_mode in
60661   :F)
60662   #
60663   # CONFIG_FILE
60664   #
60665
60666   case $INSTALL in
60667   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
60668   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
60669   esac
60670   ac_MKDIR_P=$MKDIR_P
60671   case $MKDIR_P in
60672   [\\/$]* | ?:[\\/]* ) ;;
60673   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
60674   esac
60675 _ACEOF
60676
60677 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60678 # If the template does not know about datarootdir, expand it.
60679 # FIXME: This hack should be removed a few years after 2.60.
60680 ac_datarootdir_hack=; ac_datarootdir_seen=
60681 ac_sed_dataroot='
60682 /datarootdir/ {
60683   p
60684   q
60685 }
60686 /@datadir@/p
60687 /@docdir@/p
60688 /@infodir@/p
60689 /@localedir@/p
60690 /@mandir@/p'
60691 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
60692 *datarootdir*) ac_datarootdir_seen=yes;;
60693 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
60694   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
60695 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
60696 _ACEOF
60697 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60698   ac_datarootdir_hack='
60699   s&@datadir@&$datadir&g
60700   s&@docdir@&$docdir&g
60701   s&@infodir@&$infodir&g
60702   s&@localedir@&$localedir&g
60703   s&@mandir@&$mandir&g
60704   s&\\\${datarootdir}&$datarootdir&g' ;;
60705 esac
60706 _ACEOF
60707
60708 # Neutralize VPATH when `$srcdir' = `.'.
60709 # Shell code in configure.ac might set extrasub.
60710 # FIXME: do we really want to maintain this feature?
60711 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60712 ac_sed_extra="$ac_vpsub
60713 $extrasub
60714 _ACEOF
60715 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60716 :t
60717 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
60718 s|@configure_input@|$ac_sed_conf_input|;t t
60719 s&@top_builddir@&$ac_top_builddir_sub&;t t
60720 s&@top_build_prefix@&$ac_top_build_prefix&;t t
60721 s&@srcdir@&$ac_srcdir&;t t
60722 s&@abs_srcdir@&$ac_abs_srcdir&;t t
60723 s&@top_srcdir@&$ac_top_srcdir&;t t
60724 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
60725 s&@builddir@&$ac_builddir&;t t
60726 s&@abs_builddir@&$ac_abs_builddir&;t t
60727 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
60728 s&@INSTALL@&$ac_INSTALL&;t t
60729 s&@MKDIR_P@&$ac_MKDIR_P&;t t
60730 $ac_datarootdir_hack
60731 "
60732 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
60733   || as_fn_error "could not create $ac_file" "$LINENO" 5
60734
60735 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
60736   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
60737   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
60738   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
60739 which seems to be undefined.  Please make sure it is defined." >&5
60740 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
60741 which seems to be undefined.  Please make sure it is defined." >&2;}
60742
60743   rm -f "$tmp/stdin"
60744   case $ac_file in
60745   -) cat "$tmp/out" && rm -f "$tmp/out";;
60746   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
60747   esac \
60748   || as_fn_error "could not create $ac_file" "$LINENO" 5
60749  ;;
60750   :H)
60751   #
60752   # CONFIG_HEADER
60753   #
60754   if test x"$ac_file" != x-; then
60755     {
60756       $as_echo "/* $configure_input  */" \
60757       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
60758     } >"$tmp/config.h" \
60759       || as_fn_error "could not create $ac_file" "$LINENO" 5
60760     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
60761       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
60762 $as_echo "$as_me: $ac_file is unchanged" >&6;}
60763     else
60764       rm -f "$ac_file"
60765       mv "$tmp/config.h" "$ac_file" \
60766         || as_fn_error "could not create $ac_file" "$LINENO" 5
60767     fi
60768   else
60769     $as_echo "/* $configure_input  */" \
60770       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
60771       || as_fn_error "could not create -" "$LINENO" 5
60772   fi
60773 # Compute "$ac_file"'s index in $config_headers.
60774 _am_arg="$ac_file"
60775 _am_stamp_count=1
60776 for _am_header in $config_headers :; do
60777   case $_am_header in
60778     $_am_arg | $_am_arg:* )
60779       break ;;
60780     * )
60781       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
60782   esac
60783 done
60784 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
60785 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
60786          X"$_am_arg" : 'X\(//\)[^/]' \| \
60787          X"$_am_arg" : 'X\(//\)$' \| \
60788          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
60789 $as_echo X"$_am_arg" |
60790     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
60791             s//\1/
60792             q
60793           }
60794           /^X\(\/\/\)[^/].*/{
60795             s//\1/
60796             q
60797           }
60798           /^X\(\/\/\)$/{
60799             s//\1/
60800             q
60801           }
60802           /^X\(\/\).*/{
60803             s//\1/
60804             q
60805           }
60806           s/.*/./; q'`/stamp-h$_am_stamp_count
60807  ;;
60808
60809   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
60810 $as_echo "$as_me: executing $ac_file commands" >&6;}
60811  ;;
60812   esac
60813
60814
60815   case $ac_file$ac_mode in
60816     "default-1":C)
60817 # Only add multilib support code if we just rebuilt the top-level
60818 # Makefile.
60819 case " $CONFIG_FILES " in
60820  *" Makefile "*)
60821    ac_file=Makefile . ${multi_basedir}/config-ml.in
60822    ;;
60823 esac ;;
60824     "libtool":C)
60825
60826     # See if we are running on zsh, and set the options which allow our
60827     # commands through without removal of \ escapes.
60828     if test -n "${ZSH_VERSION+set}" ; then
60829       setopt NO_GLOB_SUBST
60830     fi
60831
60832     cfgfile="${ofile}T"
60833     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
60834     $RM "$cfgfile"
60835
60836     cat <<_LT_EOF >> "$cfgfile"
60837 #! $SHELL
60838
60839 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
60840 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
60841 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
60842 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
60843 #
60844 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
60845 #                 2006, 2007, 2008 Free Software Foundation, Inc.
60846 #   Written by Gordon Matzigkeit, 1996
60847 #
60848 #   This file is part of GNU Libtool.
60849 #
60850 # GNU Libtool is free software; you can redistribute it and/or
60851 # modify it under the terms of the GNU General Public License as
60852 # published by the Free Software Foundation; either version 2 of
60853 # the License, or (at your option) any later version.
60854 #
60855 # As a special exception to the GNU General Public License,
60856 # if you distribute this file as part of a program or library that
60857 # is built using GNU Libtool, you may include this file under the
60858 # same distribution terms that you use for the rest of that program.
60859 #
60860 # GNU Libtool is distributed in the hope that it will be useful,
60861 # but WITHOUT ANY WARRANTY; without even the implied warranty of
60862 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
60863 # GNU General Public License for more details.
60864 #
60865 # You should have received a copy of the GNU General Public License
60866 # along with GNU Libtool; see the file COPYING.  If not, a copy
60867 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
60868 # obtained by writing to the Free Software Foundation, Inc.,
60869 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
60870
60871
60872 # The names of the tagged configurations supported by this script.
60873 available_tags="CXX "
60874
60875 # ### BEGIN LIBTOOL CONFIG
60876
60877 # Which release of libtool.m4 was used?
60878 macro_version=$macro_version
60879 macro_revision=$macro_revision
60880
60881 # Whether or not to build shared libraries.
60882 build_libtool_libs=$enable_shared
60883
60884 # Whether or not to build static libraries.
60885 build_old_libs=$enable_static
60886
60887 # What type of objects to build.
60888 pic_mode=$pic_mode
60889
60890 # Whether or not to optimize for fast installation.
60891 fast_install=$enable_fast_install
60892
60893 # The host system.
60894 host_alias=$host_alias
60895 host=$host
60896 host_os=$host_os
60897
60898 # The build system.
60899 build_alias=$build_alias
60900 build=$build
60901 build_os=$build_os
60902
60903 # A sed program that does not truncate output.
60904 SED=$lt_SED
60905
60906 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
60907 Xsed="\$SED -e 1s/^X//"
60908
60909 # A grep program that handles long lines.
60910 GREP=$lt_GREP
60911
60912 # An ERE matcher.
60913 EGREP=$lt_EGREP
60914
60915 # A literal string matcher.
60916 FGREP=$lt_FGREP
60917
60918 # A BSD- or MS-compatible name lister.
60919 NM=$lt_NM
60920
60921 # Whether we need soft or hard links.
60922 LN_S=$lt_LN_S
60923
60924 # What is the maximum length of a command?
60925 max_cmd_len=$max_cmd_len
60926
60927 # Object file suffix (normally "o").
60928 objext=$ac_objext
60929
60930 # Executable file suffix (normally "").
60931 exeext=$exeext
60932
60933 # whether the shell understands "unset".
60934 lt_unset=$lt_unset
60935
60936 # turn spaces into newlines.
60937 SP2NL=$lt_lt_SP2NL
60938
60939 # turn newlines into spaces.
60940 NL2SP=$lt_lt_NL2SP
60941
60942 # How to create reloadable object files.
60943 reload_flag=$lt_reload_flag
60944 reload_cmds=$lt_reload_cmds
60945
60946 # An object symbol dumper.
60947 OBJDUMP=$lt_OBJDUMP
60948
60949 # Method to check whether dependent libraries are shared objects.
60950 deplibs_check_method=$lt_deplibs_check_method
60951
60952 # Command to use when deplibs_check_method == "file_magic".
60953 file_magic_cmd=$lt_file_magic_cmd
60954
60955 # The archiver.
60956 AR=$lt_AR
60957 AR_FLAGS=$lt_AR_FLAGS
60958
60959 # A symbol stripping program.
60960 STRIP=$lt_STRIP
60961
60962 # Commands used to install an old-style archive.
60963 RANLIB=$lt_RANLIB
60964 old_postinstall_cmds=$lt_old_postinstall_cmds
60965 old_postuninstall_cmds=$lt_old_postuninstall_cmds
60966
60967 # A C compiler.
60968 LTCC=$lt_CC
60969
60970 # LTCC compiler flags.
60971 LTCFLAGS=$lt_CFLAGS
60972
60973 # Take the output of nm and produce a listing of raw symbols and C names.
60974 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
60975
60976 # Transform the output of nm in a proper C declaration.
60977 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
60978
60979 # Transform the output of nm in a C name address pair.
60980 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
60981
60982 # Transform the output of nm in a C name address pair when lib prefix is needed.
60983 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
60984
60985 # The name of the directory that contains temporary libtool files.
60986 objdir=$objdir
60987
60988 # Shell to use when invoking shell scripts.
60989 SHELL=$lt_SHELL
60990
60991 # An echo program that does not interpret backslashes.
60992 ECHO=$lt_ECHO
60993
60994 # Used to examine libraries when file_magic_cmd begins with "file".
60995 MAGIC_CMD=$MAGIC_CMD
60996
60997 # Must we lock files when doing compilation?
60998 need_locks=$lt_need_locks
60999
61000 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
61001 DSYMUTIL=$lt_DSYMUTIL
61002
61003 # Tool to change global to local symbols on Mac OS X.
61004 NMEDIT=$lt_NMEDIT
61005
61006 # Tool to manipulate fat objects and archives on Mac OS X.
61007 LIPO=$lt_LIPO
61008
61009 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
61010 OTOOL=$lt_OTOOL
61011
61012 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
61013 OTOOL64=$lt_OTOOL64
61014
61015 # Old archive suffix (normally "a").
61016 libext=$libext
61017
61018 # Shared library suffix (normally ".so").
61019 shrext_cmds=$lt_shrext_cmds
61020
61021 # The commands to extract the exported symbol list from a shared archive.
61022 extract_expsyms_cmds=$lt_extract_expsyms_cmds
61023
61024 # Variables whose values should be saved in libtool wrapper scripts and
61025 # restored at link time.
61026 variables_saved_for_relink=$lt_variables_saved_for_relink
61027
61028 # Do we need the "lib" prefix for modules?
61029 need_lib_prefix=$need_lib_prefix
61030
61031 # Do we need a version for libraries?
61032 need_version=$need_version
61033
61034 # Library versioning type.
61035 version_type=$version_type
61036
61037 # Shared library runtime path variable.
61038 runpath_var=$runpath_var
61039
61040 # Shared library path variable.
61041 shlibpath_var=$shlibpath_var
61042
61043 # Is shlibpath searched before the hard-coded library search path?
61044 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
61045
61046 # Format of library name prefix.
61047 libname_spec=$lt_libname_spec
61048
61049 # List of archive names.  First name is the real one, the rest are links.
61050 # The last name is the one that the linker finds with -lNAME
61051 library_names_spec=$lt_library_names_spec
61052
61053 # The coded name of the library, if different from the real name.
61054 soname_spec=$lt_soname_spec
61055
61056 # Command to use after installation of a shared archive.
61057 postinstall_cmds=$lt_postinstall_cmds
61058
61059 # Command to use after uninstallation of a shared archive.
61060 postuninstall_cmds=$lt_postuninstall_cmds
61061
61062 # Commands used to finish a libtool library installation in a directory.
61063 finish_cmds=$lt_finish_cmds
61064
61065 # As "finish_cmds", except a single script fragment to be evaled but
61066 # not shown.
61067 finish_eval=$lt_finish_eval
61068
61069 # Whether we should hardcode library paths into libraries.
61070 hardcode_into_libs=$hardcode_into_libs
61071
61072 # Compile-time system search path for libraries.
61073 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
61074
61075 # Run-time system search path for libraries.
61076 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
61077
61078 # Whether dlopen is supported.
61079 dlopen_support=$enable_dlopen
61080
61081 # Whether dlopen of programs is supported.
61082 dlopen_self=$enable_dlopen_self
61083
61084 # Whether dlopen of statically linked programs is supported.
61085 dlopen_self_static=$enable_dlopen_self_static
61086
61087 # Commands to strip libraries.
61088 old_striplib=$lt_old_striplib
61089 striplib=$lt_striplib
61090
61091
61092 # The linker used to build libraries.
61093 LD=$lt_LD
61094
61095 # Commands used to build an old-style archive.
61096 old_archive_cmds=$lt_old_archive_cmds
61097
61098 # A language specific compiler.
61099 CC=$lt_compiler
61100
61101 # Is the compiler the GNU compiler?
61102 with_gcc=$GCC
61103
61104 # Compiler flag to turn off builtin functions.
61105 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
61106
61107 # How to pass a linker flag through the compiler.
61108 wl=$lt_lt_prog_compiler_wl
61109
61110 # Additional compiler flags for building library objects.
61111 pic_flag=$lt_lt_prog_compiler_pic
61112
61113 # Compiler flag to prevent dynamic linking.
61114 link_static_flag=$lt_lt_prog_compiler_static
61115
61116 # Does compiler simultaneously support -c and -o options?
61117 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
61118
61119 # Whether or not to add -lc for building shared libraries.
61120 build_libtool_need_lc=$archive_cmds_need_lc
61121
61122 # Whether or not to disallow shared libs when runtime libs are static.
61123 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
61124
61125 # Compiler flag to allow reflexive dlopens.
61126 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
61127
61128 # Compiler flag to generate shared objects directly from archives.
61129 whole_archive_flag_spec=$lt_whole_archive_flag_spec
61130
61131 # Whether the compiler copes with passing no objects directly.
61132 compiler_needs_object=$lt_compiler_needs_object
61133
61134 # Create an old-style archive from a shared archive.
61135 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
61136
61137 # Create a temporary old-style archive to link instead of a shared archive.
61138 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
61139
61140 # Commands used to build a shared archive.
61141 archive_cmds=$lt_archive_cmds
61142 archive_expsym_cmds=$lt_archive_expsym_cmds
61143
61144 # Commands used to build a loadable module if different from building
61145 # a shared archive.
61146 module_cmds=$lt_module_cmds
61147 module_expsym_cmds=$lt_module_expsym_cmds
61148
61149 # Whether we are building with GNU ld or not.
61150 with_gnu_ld=$lt_with_gnu_ld
61151
61152 # Flag that allows shared libraries with undefined symbols to be built.
61153 allow_undefined_flag=$lt_allow_undefined_flag
61154
61155 # Flag that enforces no undefined symbols.
61156 no_undefined_flag=$lt_no_undefined_flag
61157
61158 # Flag to hardcode \$libdir into a binary during linking.
61159 # This must work even if \$libdir does not exist
61160 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
61161
61162 # If ld is used when linking, flag to hardcode \$libdir into a binary
61163 # during linking.  This must work even if \$libdir does not exist.
61164 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
61165
61166 # Whether we need a single "-rpath" flag with a separated argument.
61167 hardcode_libdir_separator=$lt_hardcode_libdir_separator
61168
61169 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
61170 # DIR into the resulting binary.
61171 hardcode_direct=$hardcode_direct
61172
61173 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
61174 # DIR into the resulting binary and the resulting library dependency is
61175 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
61176 # library is relocated.
61177 hardcode_direct_absolute=$hardcode_direct_absolute
61178
61179 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
61180 # into the resulting binary.
61181 hardcode_minus_L=$hardcode_minus_L
61182
61183 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
61184 # into the resulting binary.
61185 hardcode_shlibpath_var=$hardcode_shlibpath_var
61186
61187 # Set to "yes" if building a shared library automatically hardcodes DIR
61188 # into the library and all subsequent libraries and executables linked
61189 # against it.
61190 hardcode_automatic=$hardcode_automatic
61191
61192 # Set to yes if linker adds runtime paths of dependent libraries
61193 # to runtime path list.
61194 inherit_rpath=$inherit_rpath
61195
61196 # Whether libtool must link a program against all its dependency libraries.
61197 link_all_deplibs=$link_all_deplibs
61198
61199 # Fix the shell variable \$srcfile for the compiler.
61200 fix_srcfile_path=$lt_fix_srcfile_path
61201
61202 # Set to "yes" if exported symbols are required.
61203 always_export_symbols=$always_export_symbols
61204
61205 # The commands to list exported symbols.
61206 export_symbols_cmds=$lt_export_symbols_cmds
61207
61208 # Symbols that should not be listed in the preloaded symbols.
61209 exclude_expsyms=$lt_exclude_expsyms
61210
61211 # Symbols that must always be exported.
61212 include_expsyms=$lt_include_expsyms
61213
61214 # Commands necessary for linking programs (against libraries) with templates.
61215 prelink_cmds=$lt_prelink_cmds
61216
61217 # Specify filename containing input files.
61218 file_list_spec=$lt_file_list_spec
61219
61220 # How to hardcode a shared library path into an executable.
61221 hardcode_action=$hardcode_action
61222
61223 # The directories searched by this compiler when creating a shared library.
61224 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
61225
61226 # Dependencies to place before and after the objects being linked to
61227 # create a shared library.
61228 predep_objects=$lt_predep_objects
61229 postdep_objects=$lt_postdep_objects
61230 predeps=$lt_predeps
61231 postdeps=$lt_postdeps
61232
61233 # The library search path used internally by the compiler when linking
61234 # a shared library.
61235 compiler_lib_search_path=$lt_compiler_lib_search_path
61236
61237 # ### END LIBTOOL CONFIG
61238
61239 _LT_EOF
61240
61241   case $host_os in
61242   aix3*)
61243     cat <<\_LT_EOF >> "$cfgfile"
61244 # AIX sometimes has problems with the GCC collect2 program.  For some
61245 # reason, if we set the COLLECT_NAMES environment variable, the problems
61246 # vanish in a puff of smoke.
61247 if test "X${COLLECT_NAMES+set}" != Xset; then
61248   COLLECT_NAMES=
61249   export COLLECT_NAMES
61250 fi
61251 _LT_EOF
61252     ;;
61253   esac
61254
61255
61256 ltmain="$ac_aux_dir/ltmain.sh"
61257
61258
61259   # We use sed instead of cat because bash on DJGPP gets confused if
61260   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
61261   # text mode, it properly converts lines to CR/LF.  This bash problem
61262   # is reportedly fixed, but why not run on old versions too?
61263   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
61264     || (rm -f "$cfgfile"; exit 1)
61265
61266   case $xsi_shell in
61267   yes)
61268     cat << \_LT_EOF >> "$cfgfile"
61269
61270 # func_dirname file append nondir_replacement
61271 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
61272 # otherwise set result to NONDIR_REPLACEMENT.
61273 func_dirname ()
61274 {
61275   case ${1} in
61276     */*) func_dirname_result="${1%/*}${2}" ;;
61277     *  ) func_dirname_result="${3}" ;;
61278   esac
61279 }
61280
61281 # func_basename file
61282 func_basename ()
61283 {
61284   func_basename_result="${1##*/}"
61285 }
61286
61287 # func_dirname_and_basename file append nondir_replacement
61288 # perform func_basename and func_dirname in a single function
61289 # call:
61290 #   dirname:  Compute the dirname of FILE.  If nonempty,
61291 #             add APPEND to the result, otherwise set result
61292 #             to NONDIR_REPLACEMENT.
61293 #             value returned in "$func_dirname_result"
61294 #   basename: Compute filename of FILE.
61295 #             value retuned in "$func_basename_result"
61296 # Implementation must be kept synchronized with func_dirname
61297 # and func_basename. For efficiency, we do not delegate to
61298 # those functions but instead duplicate the functionality here.
61299 func_dirname_and_basename ()
61300 {
61301   case ${1} in
61302     */*) func_dirname_result="${1%/*}${2}" ;;
61303     *  ) func_dirname_result="${3}" ;;
61304   esac
61305   func_basename_result="${1##*/}"
61306 }
61307
61308 # func_stripname prefix suffix name
61309 # strip PREFIX and SUFFIX off of NAME.
61310 # PREFIX and SUFFIX must not contain globbing or regex special
61311 # characters, hashes, percent signs, but SUFFIX may contain a leading
61312 # dot (in which case that matches only a dot).
61313 func_stripname ()
61314 {
61315   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
61316   # positional parameters, so assign one to ordinary parameter first.
61317   func_stripname_result=${3}
61318   func_stripname_result=${func_stripname_result#"${1}"}
61319   func_stripname_result=${func_stripname_result%"${2}"}
61320 }
61321
61322 # func_opt_split
61323 func_opt_split ()
61324 {
61325   func_opt_split_opt=${1%%=*}
61326   func_opt_split_arg=${1#*=}
61327 }
61328
61329 # func_lo2o object
61330 func_lo2o ()
61331 {
61332   case ${1} in
61333     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
61334     *)    func_lo2o_result=${1} ;;
61335   esac
61336 }
61337
61338 # func_xform libobj-or-source
61339 func_xform ()
61340 {
61341   func_xform_result=${1%.*}.lo
61342 }
61343
61344 # func_arith arithmetic-term...
61345 func_arith ()
61346 {
61347   func_arith_result=$(( $* ))
61348 }
61349
61350 # func_len string
61351 # STRING may not start with a hyphen.
61352 func_len ()
61353 {
61354   func_len_result=${#1}
61355 }
61356
61357 _LT_EOF
61358     ;;
61359   *) # Bourne compatible functions.
61360     cat << \_LT_EOF >> "$cfgfile"
61361
61362 # func_dirname file append nondir_replacement
61363 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
61364 # otherwise set result to NONDIR_REPLACEMENT.
61365 func_dirname ()
61366 {
61367   # Extract subdirectory from the argument.
61368   func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
61369   if test "X$func_dirname_result" = "X${1}"; then
61370     func_dirname_result="${3}"
61371   else
61372     func_dirname_result="$func_dirname_result${2}"
61373   fi
61374 }
61375
61376 # func_basename file
61377 func_basename ()
61378 {
61379   func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
61380 }
61381
61382
61383 # func_stripname prefix suffix name
61384 # strip PREFIX and SUFFIX off of NAME.
61385 # PREFIX and SUFFIX must not contain globbing or regex special
61386 # characters, hashes, percent signs, but SUFFIX may contain a leading
61387 # dot (in which case that matches only a dot).
61388 # func_strip_suffix prefix name
61389 func_stripname ()
61390 {
61391   case ${2} in
61392     .*) func_stripname_result=`$ECHO "X${3}" \
61393            | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
61394     *)  func_stripname_result=`$ECHO "X${3}" \
61395            | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
61396   esac
61397 }
61398
61399 # sed scripts:
61400 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
61401 my_sed_long_arg='1s/^-[^=]*=//'
61402
61403 # func_opt_split
61404 func_opt_split ()
61405 {
61406   func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
61407   func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
61408 }
61409
61410 # func_lo2o object
61411 func_lo2o ()
61412 {
61413   func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
61414 }
61415
61416 # func_xform libobj-or-source
61417 func_xform ()
61418 {
61419   func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
61420 }
61421
61422 # func_arith arithmetic-term...
61423 func_arith ()
61424 {
61425   func_arith_result=`expr "$@"`
61426 }
61427
61428 # func_len string
61429 # STRING may not start with a hyphen.
61430 func_len ()
61431 {
61432   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
61433 }
61434
61435 _LT_EOF
61436 esac
61437
61438 case $lt_shell_append in
61439   yes)
61440     cat << \_LT_EOF >> "$cfgfile"
61441
61442 # func_append var value
61443 # Append VALUE to the end of shell variable VAR.
61444 func_append ()
61445 {
61446   eval "$1+=\$2"
61447 }
61448 _LT_EOF
61449     ;;
61450   *)
61451     cat << \_LT_EOF >> "$cfgfile"
61452
61453 # func_append var value
61454 # Append VALUE to the end of shell variable VAR.
61455 func_append ()
61456 {
61457   eval "$1=\$$1\$2"
61458 }
61459
61460 _LT_EOF
61461     ;;
61462   esac
61463
61464
61465   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
61466     || (rm -f "$cfgfile"; exit 1)
61467
61468   mv -f "$cfgfile" "$ofile" ||
61469     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
61470   chmod +x "$ofile"
61471
61472
61473     cat <<_LT_EOF >> "$ofile"
61474
61475 # ### BEGIN LIBTOOL TAG CONFIG: CXX
61476
61477 # The linker used to build libraries.
61478 LD=$lt_LD_CXX
61479
61480 # Commands used to build an old-style archive.
61481 old_archive_cmds=$lt_old_archive_cmds_CXX
61482
61483 # A language specific compiler.
61484 CC=$lt_compiler_CXX
61485
61486 # Is the compiler the GNU compiler?
61487 with_gcc=$GCC_CXX
61488
61489 # Compiler flag to turn off builtin functions.
61490 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
61491
61492 # How to pass a linker flag through the compiler.
61493 wl=$lt_lt_prog_compiler_wl_CXX
61494
61495 # Additional compiler flags for building library objects.
61496 pic_flag=$lt_lt_prog_compiler_pic_CXX
61497
61498 # Compiler flag to prevent dynamic linking.
61499 link_static_flag=$lt_lt_prog_compiler_static_CXX
61500
61501 # Does compiler simultaneously support -c and -o options?
61502 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
61503
61504 # Whether or not to add -lc for building shared libraries.
61505 build_libtool_need_lc=$archive_cmds_need_lc_CXX
61506
61507 # Whether or not to disallow shared libs when runtime libs are static.
61508 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
61509
61510 # Compiler flag to allow reflexive dlopens.
61511 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
61512
61513 # Compiler flag to generate shared objects directly from archives.
61514 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
61515
61516 # Whether the compiler copes with passing no objects directly.
61517 compiler_needs_object=$lt_compiler_needs_object_CXX
61518
61519 # Create an old-style archive from a shared archive.
61520 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
61521
61522 # Create a temporary old-style archive to link instead of a shared archive.
61523 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
61524
61525 # Commands used to build a shared archive.
61526 archive_cmds=$lt_archive_cmds_CXX
61527 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
61528
61529 # Commands used to build a loadable module if different from building
61530 # a shared archive.
61531 module_cmds=$lt_module_cmds_CXX
61532 module_expsym_cmds=$lt_module_expsym_cmds_CXX
61533
61534 # Whether we are building with GNU ld or not.
61535 with_gnu_ld=$lt_with_gnu_ld_CXX
61536
61537 # Flag that allows shared libraries with undefined symbols to be built.
61538 allow_undefined_flag=$lt_allow_undefined_flag_CXX
61539
61540 # Flag that enforces no undefined symbols.
61541 no_undefined_flag=$lt_no_undefined_flag_CXX
61542
61543 # Flag to hardcode \$libdir into a binary during linking.
61544 # This must work even if \$libdir does not exist
61545 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
61546
61547 # If ld is used when linking, flag to hardcode \$libdir into a binary
61548 # during linking.  This must work even if \$libdir does not exist.
61549 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
61550
61551 # Whether we need a single "-rpath" flag with a separated argument.
61552 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
61553
61554 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
61555 # DIR into the resulting binary.
61556 hardcode_direct=$hardcode_direct_CXX
61557
61558 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
61559 # DIR into the resulting binary and the resulting library dependency is
61560 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
61561 # library is relocated.
61562 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
61563
61564 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
61565 # into the resulting binary.
61566 hardcode_minus_L=$hardcode_minus_L_CXX
61567
61568 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
61569 # into the resulting binary.
61570 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
61571
61572 # Set to "yes" if building a shared library automatically hardcodes DIR
61573 # into the library and all subsequent libraries and executables linked
61574 # against it.
61575 hardcode_automatic=$hardcode_automatic_CXX
61576
61577 # Set to yes if linker adds runtime paths of dependent libraries
61578 # to runtime path list.
61579 inherit_rpath=$inherit_rpath_CXX
61580
61581 # Whether libtool must link a program against all its dependency libraries.
61582 link_all_deplibs=$link_all_deplibs_CXX
61583
61584 # Fix the shell variable \$srcfile for the compiler.
61585 fix_srcfile_path=$lt_fix_srcfile_path_CXX
61586
61587 # Set to "yes" if exported symbols are required.
61588 always_export_symbols=$always_export_symbols_CXX
61589
61590 # The commands to list exported symbols.
61591 export_symbols_cmds=$lt_export_symbols_cmds_CXX
61592
61593 # Symbols that should not be listed in the preloaded symbols.
61594 exclude_expsyms=$lt_exclude_expsyms_CXX
61595
61596 # Symbols that must always be exported.
61597 include_expsyms=$lt_include_expsyms_CXX
61598
61599 # Commands necessary for linking programs (against libraries) with templates.
61600 prelink_cmds=$lt_prelink_cmds_CXX
61601
61602 # Specify filename containing input files.
61603 file_list_spec=$lt_file_list_spec_CXX
61604
61605 # How to hardcode a shared library path into an executable.
61606 hardcode_action=$hardcode_action_CXX
61607
61608 # The directories searched by this compiler when creating a shared library.
61609 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
61610
61611 # Dependencies to place before and after the objects being linked to
61612 # create a shared library.
61613 predep_objects=$lt_predep_objects_CXX
61614 postdep_objects=$lt_postdep_objects_CXX
61615 predeps=$lt_predeps_CXX
61616 postdeps=$lt_postdeps_CXX
61617
61618 # The library search path used internally by the compiler when linking
61619 # a shared library.
61620 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
61621
61622 # ### END LIBTOOL TAG CONFIG: CXX
61623 _LT_EOF
61624
61625  ;;
61626     "include/gstdint.h":C)
61627 if test "$GCC" = yes; then
61628   echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
61629 else
61630   echo "/* generated for $CC */" > tmp-stdint.h
61631 fi
61632
61633 sed 's/^ *//' >> tmp-stdint.h <<EOF
61634
61635   #ifndef GCC_GENERATED_STDINT_H
61636   #define GCC_GENERATED_STDINT_H 1
61637
61638   #include <sys/types.h>
61639 EOF
61640
61641 if test "$acx_cv_header_stdint" != stdint.h; then
61642   echo "#include <stddef.h>" >> tmp-stdint.h
61643 fi
61644 if test "$acx_cv_header_stdint" != stddef.h; then
61645   echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
61646 fi
61647
61648 sed 's/^ *//' >> tmp-stdint.h <<EOF
61649   /* glibc uses these symbols as guards to prevent redefinitions.  */
61650   #ifdef __int8_t_defined
61651   #define _INT8_T
61652   #define _INT16_T
61653   #define _INT32_T
61654   #endif
61655   #ifdef __uint32_t_defined
61656   #define _UINT32_T
61657   #endif
61658
61659 EOF
61660
61661 # ----------------- done header, emit basic int types -------------
61662 if test "$acx_cv_header_stdint" = stddef.h; then
61663   sed 's/^ *//' >> tmp-stdint.h <<EOF
61664
61665     #ifndef _UINT8_T
61666     #define _UINT8_T
61667     #ifndef __uint8_t_defined
61668     #define __uint8_t_defined
61669     typedef unsigned $acx_cv_type_int8_t uint8_t;
61670     #endif
61671     #endif
61672
61673     #ifndef _UINT16_T
61674     #define _UINT16_T
61675     #ifndef __uint16_t_defined
61676     #define __uint16_t_defined
61677     typedef unsigned $acx_cv_type_int16_t uint16_t;
61678     #endif
61679     #endif
61680
61681     #ifndef _UINT32_T
61682     #define _UINT32_T
61683     #ifndef __uint32_t_defined
61684     #define __uint32_t_defined
61685     typedef unsigned $acx_cv_type_int32_t uint32_t;
61686     #endif
61687     #endif
61688
61689     #ifndef _INT8_T
61690     #define _INT8_T
61691     #ifndef __int8_t_defined
61692     #define __int8_t_defined
61693     typedef $acx_cv_type_int8_t int8_t;
61694     #endif
61695     #endif
61696
61697     #ifndef _INT16_T
61698     #define _INT16_T
61699     #ifndef __int16_t_defined
61700     #define __int16_t_defined
61701     typedef $acx_cv_type_int16_t int16_t;
61702     #endif
61703     #endif
61704
61705     #ifndef _INT32_T
61706     #define _INT32_T
61707     #ifndef __int32_t_defined
61708     #define __int32_t_defined
61709     typedef $acx_cv_type_int32_t int32_t;
61710     #endif
61711     #endif
61712 EOF
61713 elif test "$ac_cv_type_u_int32_t" = yes; then
61714   sed 's/^ *//' >> tmp-stdint.h <<EOF
61715
61716     /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
61717     #ifndef _INT8_T
61718     #define _INT8_T
61719     #endif
61720     #ifndef _INT16_T
61721     #define _INT16_T
61722     #endif
61723     #ifndef _INT32_T
61724     #define _INT32_T
61725     #endif
61726
61727     #ifndef _UINT8_T
61728     #define _UINT8_T
61729     #ifndef __uint8_t_defined
61730     #define __uint8_t_defined
61731     typedef u_int8_t uint8_t;
61732     #endif
61733     #endif
61734
61735     #ifndef _UINT16_T
61736     #define _UINT16_T
61737     #ifndef __uint16_t_defined
61738     #define __uint16_t_defined
61739     typedef u_int16_t uint16_t;
61740     #endif
61741     #endif
61742
61743     #ifndef _UINT32_T
61744     #define _UINT32_T
61745     #ifndef __uint32_t_defined
61746     #define __uint32_t_defined
61747     typedef u_int32_t uint32_t;
61748     #endif
61749     #endif
61750 EOF
61751 else
61752   sed 's/^ *//' >> tmp-stdint.h <<EOF
61753
61754     /* Some systems have guard macros to prevent redefinitions, define them.  */
61755     #ifndef _INT8_T
61756     #define _INT8_T
61757     #endif
61758     #ifndef _INT16_T
61759     #define _INT16_T
61760     #endif
61761     #ifndef _INT32_T
61762     #define _INT32_T
61763     #endif
61764     #ifndef _UINT8_T
61765     #define _UINT8_T
61766     #endif
61767     #ifndef _UINT16_T
61768     #define _UINT16_T
61769     #endif
61770     #ifndef _UINT32_T
61771     #define _UINT32_T
61772     #endif
61773 EOF
61774 fi
61775
61776 # ------------- done basic int types, emit int64_t types ------------
61777 if test "$ac_cv_type_uint64_t" = yes; then
61778   sed 's/^ *//' >> tmp-stdint.h <<EOF
61779
61780     /* system headers have good uint64_t and int64_t */
61781     #ifndef _INT64_T
61782     #define _INT64_T
61783     #endif
61784     #ifndef _UINT64_T
61785     #define _UINT64_T
61786     #endif
61787 EOF
61788 elif test "$ac_cv_type_u_int64_t" = yes; then
61789   sed 's/^ *//' >> tmp-stdint.h <<EOF
61790
61791     /* system headers have an u_int64_t (and int64_t) */
61792     #ifndef _INT64_T
61793     #define _INT64_T
61794     #endif
61795     #ifndef _UINT64_T
61796     #define _UINT64_T
61797     #ifndef __uint64_t_defined
61798     #define __uint64_t_defined
61799     typedef u_int64_t uint64_t;
61800     #endif
61801     #endif
61802 EOF
61803 elif test -n "$acx_cv_type_int64_t"; then
61804   sed 's/^ *//' >> tmp-stdint.h <<EOF
61805
61806     /* architecture has a 64-bit type, $acx_cv_type_int64_t */
61807     #ifndef _INT64_T
61808     #define _INT64_T
61809     typedef $acx_cv_type_int64_t int64_t;
61810     #endif
61811     #ifndef _UINT64_T
61812     #define _UINT64_T
61813     #ifndef __uint64_t_defined
61814     #define __uint64_t_defined
61815     typedef unsigned $acx_cv_type_int64_t uint64_t;
61816     #endif
61817     #endif
61818 EOF
61819 else
61820   sed 's/^ *//' >> tmp-stdint.h <<EOF
61821
61822     /* some common heuristics for int64_t, using compiler-specific tests */
61823     #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
61824     #ifndef _INT64_T
61825     #define _INT64_T
61826     #ifndef __int64_t_defined
61827     typedef long long int64_t;
61828     #endif
61829     #endif
61830     #ifndef _UINT64_T
61831     #define _UINT64_T
61832     typedef unsigned long long uint64_t;
61833     #endif
61834
61835     #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
61836     /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
61837        does not implement __extension__.  But that compiler doesn't define
61838        __GNUC_MINOR__.  */
61839     # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
61840     # define __extension__
61841     # endif
61842
61843     # ifndef _INT64_T
61844     # define _INT64_T
61845     __extension__ typedef long long int64_t;
61846     # endif
61847     # ifndef _UINT64_T
61848     # define _UINT64_T
61849     __extension__ typedef unsigned long long uint64_t;
61850     # endif
61851
61852     #elif !defined __STRICT_ANSI__
61853     # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
61854
61855     #  ifndef _INT64_T
61856     #  define _INT64_T
61857     typedef __int64 int64_t;
61858     #  endif
61859     #  ifndef _UINT64_T
61860     #  define _UINT64_T
61861     typedef unsigned __int64 uint64_t;
61862     #  endif
61863     # endif /* compiler */
61864
61865     #endif /* ANSI version */
61866 EOF
61867 fi
61868
61869 # ------------- done int64_t types, emit intptr types ------------
61870 if test "$ac_cv_type_uintptr_t" != yes; then
61871   sed 's/^ *//' >> tmp-stdint.h <<EOF
61872
61873     /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
61874     #ifndef __uintptr_t_defined
61875     typedef u$acx_cv_type_intptr_t uintptr_t;
61876     #endif
61877     #ifndef __intptr_t_defined
61878     typedef $acx_cv_type_intptr_t  intptr_t;
61879     #endif
61880 EOF
61881 fi
61882
61883 # ------------- done intptr types, emit int_least types ------------
61884 if test "$ac_cv_type_int_least32_t" != yes; then
61885   sed 's/^ *//' >> tmp-stdint.h <<EOF
61886
61887     /* Define int_least types */
61888     typedef int8_t     int_least8_t;
61889     typedef int16_t    int_least16_t;
61890     typedef int32_t    int_least32_t;
61891     #ifdef _INT64_T
61892     typedef int64_t    int_least64_t;
61893     #endif
61894
61895     typedef uint8_t    uint_least8_t;
61896     typedef uint16_t   uint_least16_t;
61897     typedef uint32_t   uint_least32_t;
61898     #ifdef _UINT64_T
61899     typedef uint64_t   uint_least64_t;
61900     #endif
61901 EOF
61902 fi
61903
61904 # ------------- done intptr types, emit int_fast types ------------
61905 if test "$ac_cv_type_int_fast32_t" != yes; then
61906       sed 's/^ *//' >> tmp-stdint.h <<EOF
61907
61908     /* Define int_fast types.  short is often slow */
61909     typedef int8_t       int_fast8_t;
61910     typedef int          int_fast16_t;
61911     typedef int32_t      int_fast32_t;
61912     #ifdef _INT64_T
61913     typedef int64_t      int_fast64_t;
61914     #endif
61915
61916     typedef uint8_t      uint_fast8_t;
61917     typedef unsigned int uint_fast16_t;
61918     typedef uint32_t     uint_fast32_t;
61919     #ifdef _UINT64_T
61920     typedef uint64_t     uint_fast64_t;
61921     #endif
61922 EOF
61923 fi
61924
61925 if test "$ac_cv_type_uintmax_t" != yes; then
61926   sed 's/^ *//' >> tmp-stdint.h <<EOF
61927
61928     /* Define intmax based on what we found */
61929     #ifdef _INT64_T
61930     typedef int64_t       intmax_t;
61931     #else
61932     typedef long          intmax_t;
61933     #endif
61934     #ifdef _UINT64_T
61935     typedef uint64_t      uintmax_t;
61936     #else
61937     typedef unsigned long uintmax_t;
61938     #endif
61939 EOF
61940 fi
61941
61942 sed 's/^ *//' >> tmp-stdint.h <<EOF
61943
61944   #endif /* GCC_GENERATED_STDINT_H */
61945 EOF
61946
61947 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
61948   rm -f tmp-stdint.h
61949 else
61950   mv -f tmp-stdint.h include/gstdint.h
61951 fi
61952
61953  ;;
61954     "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
61955     "include/Makefile":F) cat > vpsed$$ << \_EOF
61956 s!`test -f '$<' || echo '$(srcdir)/'`!!
61957 _EOF
61958    sed -f vpsed$$ $ac_file > tmp$$
61959    mv tmp$$ $ac_file
61960    rm vpsed$$
61961    echo 'MULTISUBDIR =' >> $ac_file
61962    ml_norecursion=yes
61963    . ${multi_basedir}/config-ml.in
61964    { ml_norecursion=; unset ml_norecursion;}
61965  ;;
61966     "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
61967 s!`test -f '$<' || echo '$(srcdir)/'`!!
61968 _EOF
61969    sed -f vpsed$$ $ac_file > tmp$$
61970    mv tmp$$ $ac_file
61971    rm vpsed$$
61972    echo 'MULTISUBDIR =' >> $ac_file
61973    ml_norecursion=yes
61974    . ${multi_basedir}/config-ml.in
61975    { ml_norecursion=; unset ml_norecursion;}
61976  ;;
61977     "python/Makefile":F) cat > vpsed$$ << \_EOF
61978 s!`test -f '$<' || echo '$(srcdir)/'`!!
61979 _EOF
61980    sed -f vpsed$$ $ac_file > tmp$$
61981    mv tmp$$ $ac_file
61982    rm vpsed$$
61983    echo 'MULTISUBDIR =' >> $ac_file
61984    ml_norecursion=yes
61985    . ${multi_basedir}/config-ml.in
61986    { ml_norecursion=; unset ml_norecursion;}
61987  ;;
61988     "src/Makefile":F) cat > vpsed$$ << \_EOF
61989 s!`test -f '$<' || echo '$(srcdir)/'`!!
61990 _EOF
61991    sed -f vpsed$$ $ac_file > tmp$$
61992    mv tmp$$ $ac_file
61993    rm vpsed$$
61994    echo 'MULTISUBDIR =' >> $ac_file
61995    ml_norecursion=yes
61996    . ${multi_basedir}/config-ml.in
61997    { ml_norecursion=; unset ml_norecursion;}
61998  ;;
61999     "doc/Makefile":F) cat > vpsed$$ << \_EOF
62000 s!`test -f '$<' || echo '$(srcdir)/'`!!
62001 _EOF
62002    sed -f vpsed$$ $ac_file > tmp$$
62003    mv tmp$$ $ac_file
62004    rm vpsed$$
62005    echo 'MULTISUBDIR =' >> $ac_file
62006    ml_norecursion=yes
62007    . ${multi_basedir}/config-ml.in
62008    { ml_norecursion=; unset ml_norecursion;}
62009  ;;
62010     "po/Makefile":F) cat > vpsed$$ << \_EOF
62011 s!`test -f '$<' || echo '$(srcdir)/'`!!
62012 _EOF
62013    sed -f vpsed$$ $ac_file > tmp$$
62014    mv tmp$$ $ac_file
62015    rm vpsed$$
62016    echo 'MULTISUBDIR =' >> $ac_file
62017    ml_norecursion=yes
62018    . ${multi_basedir}/config-ml.in
62019    { ml_norecursion=; unset ml_norecursion;}
62020  ;;
62021     "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
62022 s!`test -f '$<' || echo '$(srcdir)/'`!!
62023 _EOF
62024    sed -f vpsed$$ $ac_file > tmp$$
62025    mv tmp$$ $ac_file
62026    rm vpsed$$
62027    echo 'MULTISUBDIR =' >> $ac_file
62028    ml_norecursion=yes
62029    . ${multi_basedir}/config-ml.in
62030    { ml_norecursion=; unset ml_norecursion;}
62031  ;;
62032     "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
62033
62034   esac
62035 done # for ac_tag
62036
62037
62038 as_fn_exit 0
62039 _ACEOF
62040 ac_clean_files=$ac_clean_files_save
62041
62042 test $ac_write_fail = 0 ||
62043   as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
62044
62045
62046 # configure is writing to config.log, and then calls config.status.
62047 # config.status does its own redirection, appending to config.log.
62048 # Unfortunately, on DOS this fails, as config.log is still kept open
62049 # by configure, so config.status won't be able to write to it; its
62050 # output is simply discarded.  So we exec the FD to /dev/null,
62051 # effectively closing config.log, so it can be properly (re)opened and
62052 # appended to by config.status.  When coming back to configure, we
62053 # need to make the FD available again.
62054 if test "$no_create" != yes; then
62055   ac_cs_success=:
62056   ac_config_status_args=
62057   test "$silent" = yes &&
62058     ac_config_status_args="$ac_config_status_args --quiet"
62059   exec 5>/dev/null
62060   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
62061   exec 5>>config.log
62062   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
62063   # would make configure fail if this is the last instruction.
62064   $ac_cs_success || as_fn_exit $?
62065 fi
62066 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
62067   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
62068 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
62069 fi
62070